no images yet for 12.4.0?

https://github.com/cypress-io/cypress-docker-images/tree/master/included
the latest release is missing there a reason for this or mistake?

It often takes a few days for the image to be available; I stumbled across this issue today as well.
I created a MR for this to maybe speed it up a bit - let's see. https://github.com/cypress-io/cypress-docker-images/pull/823

@pascalvos , @jki1
our tags for the cypress/included images have changed to include more information (such that we can update browser versions without also having to update the cypress version)
https://hub.docker.com/layers/cypress/included/cypress-12.4.0-node-16.18.1-chrome-109.0.5414.74-1-ff-109.0-edge-109.0.1518.52-1/images/sha256-9eedece1f10679d39ee3bdd1353308f5d33b9dbe48f681601e94f4a0f9bb229f?context=explore

@pascalvos, @jki1, Sorry, in my previous comment i forgot to say that we have already released a cypress/included version with 12.4.0, the tags changed and our release process has changed since we have started leveraging cypress/factory to build our images.
You can see the new image here with the new tag: https://hub.docker.com/layers/cypress/included/cypress-12.4.0-node-16.18.1-chrome-109.0.5414.74-1-ff-109.0-edge-109.0.1518.52-1/images/sha256-9eedece1f10679d39ee3bdd1353308f5d33b9dbe48f681601e94f4a0f9bb229f?context=explore
we should have a 12.4.1 patch coming out today too which will also produce a new docker image.

Hi @mjhenkes, thank you for the explanation and the link to the docker hub; I did not realize before that the tags have changed.

12.4.0 tag has been released: https://hub.docker.com/layers/cypress/included/12.4.0/images/sha256-4a524664b952612876b1c79261a10ed37aa585f5accc290aa642c50a8f752fb5?context=repo

@mjhenkes will the new content be added to the https://github.com/cypress-io/cypress-docker-images/tree/master/included directory? Source files stopped being added after 12.3.0 it seems :thinking:


Possible issue with jqwrapper.js?

We just tried the model with this widget in the Mendix cloud but it seems that the jqwrapper.js can not be found and hence the start page of the model will not load. Could it be that the Mendix cloud is blocking this Javascript library?
Did you already try your widget in the Mendix cloud?
Regards,
Ronald

If think it has to do with
define(['./jquery-1.11.2'], function(jQuery) {

that should be
define(['ClockPickerForMendix/lib/jquery-1.11.2'], function(jQuery) {

(That's my best quess right now)

Been scratching my head over this for a while but have finally got to the bottom of the problem... turned out to be a case sensitivity issue... my paths in the packages array were referencing a widget named 'ClockPickerForMendix' but the correct case for the widget is 'ClockPickerforMendix' (note the lower case f).
I've just committed a fix for this (17cdf94).
I'll create a new release and submit an update to the app store (the dist folder contains the updated mpk if you want to take a copy sooner)

I just checked it and new version is working correctly now.


Make System.CommandLine not depend on generic virtual methods

Generic virtual methods are pretty expensive for native compilation
scenarios (such as .NET Native). System.CommandLine should be a low
level component and not depend on expensive features so that it can be
used for small command line apps.
Generic virtual methods were used indirectly through LINQ Where and
Select operators.

Hi @MichalStrehovsky, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@piotrpMSFT PTAL
Cc @jkotas

@KrzysztofCwalina @terrajobst Could you please take look?

looks good.
I just added one small comment about a comment.

@dotnet-bot Test this, please


Why does toaster service inside Global Error Handler wont work in Angular4/5/6?

My requirement is to load some data by calling Two Rest Api's before app component loads [First step].If API gives any error display the message in Toaster (angular2-toaster) from Global Error Handler

Reference: https://stackoverflow.com/questions/51444006/why-does-toaster-service-inside-global-error-handler-wont-work-in-angular4-5-6

This is an interesting problem and not typically a recommended approach. Is it possible for you to create a repo that demonstrates the problem? It would be very helpful.

I will try to create a Repo, but what would be the recommended approach ? Can you pls suggest me.

If you could create a sample barebones app (and even host it on GitHub) that demonstrates the behavior that would make it much easier to reproduce. While I appreciate the screenshots, it will be difficult for me to exactly reproduce your scenario and actual code would be very helpful.

If you can provide a reproduction I’ll be happy to reopen the issue.


Add function to toggle automated website opening

Hello, I've added a function to add a Tick which lets the user decide to open the website on initialization of the Plugin.
The metadata.json file still needs to be edited for the Repository

Feature implemented (resolves previous feature request by myself) https://github.com/nzbasic/Hand-Speed/issues/5
Built and tested. Working in OTDv<IP_ADDRESS> as expected.
Tested on Win 11 Pro 21H2 Build 22000.1219.
Thanks!

Didn't read the Requests before but glad I could help :)
Also Built and tested. Working in OTD v<IP_ADDRESS> with a Wacom CTL-4100.
Tested on Windows 11 Home 22H2 Build 22621.525.

Thanks for the contribution @Luffy404


RAINCATCH-580 added support for {rand} placeholder for random number generation for the test scripts

This allows to pass a random number to the test script. It could be used then to determine behavior of test script.
--seed  parameter can be used to initialize LCG to have scripts deterministic behavior
@grdryn @paolobueno please look at this

fixed the issues, replaced optimist with yargs

I decided to go in a direction of environment variables instead poluting CLI with arguments and placeholders.


fix: change the help page url

Hello again!
Noticed that help link was not working for a while. Changed it to the working page on current website. Let me know if there should be something different.
P.S.: There is some issue with intl config on getoutline.org because it redirects me to /intl/[lang] and show me this error

Thanks for the update, @andreevgy . Please sync the branch with the latest master branch before merge. Or we can do this for you if you prefer.

@jyyi1 just rebased it, should be good to go.


Does not recognize page-level DocBlock on "empty" files

I am running a basic model-view-controller approach. My project contains lots of template files that have a page-level DocBlock, but then continue in plain HTML without any PHP functionality.
Here is an example:
<?php

/**
 * 404.php
 * Copyright 2012 Jan Nikolas Jansen <email removed>
 *
 * This file is part of Projectname
 *
 * Projectname is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Projectname is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Projectname. If not, see <http://www.gnu.org/licenses/>.
 */

?>

Oops

The document you are looking for could not be found.

@mvriel since the nikic/php-parser fix was put in its v2.1.0, will our fix be possible in the 2.x line?  Or will the dependency requirements of Reflection to gain php-parser 2.x or 3.x end up forcing phpDocumentor to 3.x or higher?

I think we can't fix this in v2. If an upgrade of php parser is required. It will remove the option to run on php 5.3. Which we marked as a bc break.
Needs to be scheduled for v3

Ah, so it is php-parser's own PHP minimum that changed between its 1.x and 2.x that is constraining us... ouch.

Yes, and we decided to skip php parser v2 and move to v3 directly. Since v2 does not have any additional features we need right now.


Labeling certain Dependabot groups with pass2ship

Current dependencies on/for this PR:

main

PR #811   👈

This stack of pull requests is managed by Graphite.


[quick-actions] help with refactor for iOS

So, after taking a look at this PR https://github.com/flutter/plugins/pull/1800, I figured that I could help to simplify the quick actions plugin in the android side of things. I coded the change here https://github.com/BugsBunnyBR/plugins/tree/plugin/quick-actions
but it is a breaking change and I am not an iOS developer, so I would like to check if there is anyone that can help with it.
The idea is that a shortcut should take the user to a route inside the app using the method onGenerateRoute in MaterialApp and CupertinoApp.
So I forward the shortcut type as a route in the Android side of things and force the recreation of the Activity.
How to implement it on iOS is what I need help. Anyone?

Hi @BugsBunnyBR
This issue doesn't seem to describe a bug or a feature request. but help for creating PR?   Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Install timing out, regarless of "auto" fallbacks

Hi, we are seeing frequent timeouts again, which should have been handled by the auto-mirror feature?
$ python3 -m aqt install 5.12.10 mac desktop -O ~Qt
2021-02-12 01:48:33,267 - aqt - INFO - aqtinstall(aqt) v0.11.1 on Python 3.9.1 [CPython Clang 11.0.0 (clang-1<IP_ADDRESS>)]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 428, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File<EMAIL_ADDRESS>line 500, in wrap_socket
    return self.sslsocket_class._create(
  File<EMAIL_ADDRESS>line 1040, in _create
    self.do_handshake()
  File<EMAIL_ADDRESS>line 1309, in do_handshake
    self._sslobj.do_handshake()
socket.timeout: _ssl.c:1106: The handshake operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 531, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.9/site-packages/urllib3/packages/six.py", line 735, in reraise
    raise value
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 385, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='download.qt.io', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File<EMAIL_ADDRESS>line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/site-packages/aqt/__main__.py", line 28, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/aqt/__init__.py", line 38, in main
    return cli.run()
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 433, in run
    return args.func(args)
  File "/usr/local/lib/python3.9/site-packages/aqt/installer.py", line 196, in run_install
    qt_archives = QtArchives(os_name, target, qt_version, arch, base, subarchives=archives, modules=modules,
  File "/usr/local/lib/python3.9/site-packages/aqt/archives.py", line 144, in __init__
    self._get_archives(qt_ver_num)
  File "/usr/local/lib/python3.9/site-packages/aqt/archives.py", line 160, in _get_archives
    self._download_update_xml(update_xml_url)
  File "/usr/local/lib/python3.9/site-packages/aqt/archives.py", line 165, in _download_update_xml
    r = requests.get(update_xml_url, timeout=self.timeout)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='download.qt.io', port=443): Read timed out. (read timeout=5)
Error: The process 'python3' failed with exit code 1

We notice this also, I think (without any clue) it can arrive because of that the website responded (to ping for instance) but become available when download starts

You can use aqtinstall v1.1.0

Noticed this happening when using aqinstall v1.1.0 as well
$ python3 -m aqt install 5.12.10 linux desktop -O /home/runner/work/chatterino2/Qt --external 7z
2021-02-12 16:26:23,042 - aqt - INFO - aqtinstall(aqt) v1.1.0 on Python 3.9.1 [CPython GCC 7.5.0]
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 428, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
socket.timeout: _ssl.c:1106: The handshake operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/util/retry.py", line 531, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/packages/six.py", line 735, in reraise
    raise value
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 385, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='download.qt.io', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/aqt/__main__.py", line 27, in <module>
    sys.exit(main())
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/aqt/__init__.py", line 38, in main
    return cli.run()
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/aqt/installer.py", line 473, in run
    return args.func(args)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/aqt/installer.py", line 222, in run_install
    qt_archives = QtArchives(os_name, target, qt_version, arch, base, subarchives=archives, modules=modules,
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/aqt/archives.py", line 159, in __init__
    self._get_archives(qt_ver_num)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/aqt/archives.py", line 181, in _get_archives
    self._download_update_xml(update_xml_url)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/aqt/archives.py", line 186, in _download_update_xml
    r = requests.get(update_xml_url, timeout=self.timeout)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.1/x64/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='download.qt.io', port=443): Read timed out. (read timeout=5)

Thanks for checking reproduce.
except (ConnectionResetError, requests.exceptions.ConnectionError):

Now catching errors above, but we got requests.exceptions.ReadTimeout so it crashes.

v1.1.1 is out with patch to catch ReadTimeout error.
@Saviq @pajlada @dlyr does it sove your case?

v1.1.1 is out with patch to catch ReadTimeout error.
@Saviq @pajlada @dlyr does it sove your case?

Unfortunately unable to reproduce (as the network connectivity is stable now), and I'm unable to force the same network conditions. We will be using v1.1.1 going forward and will be sure to make an issue/re-open this issue if I notice the same instability.
Thank you for the quick fix and release!

For the moment everything works fine on our side, I'll comment if I can see any problems arise.


Linking errors, when using --no-undefined linking flag or setting default symbol visibility to hidden

Description
I'm currently trying to use doctest with the shared library. I am using CMake with the KDEComilerSettings ECM (source code), and it sets a couple of options, that makes me unable to create tests inside my library sources.
In particular, it sets the linker flags for GNU and Clang:
    set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
    set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_MODULE_LINKER_FLAGS}")

Those flags when building the minimal example produce the error:
[1/2] Linking CXX shared library src/libtesto.so
FAILED: src/libtesto.so
: && /usr/bin/c++ -fPIC -g  -Wl,--no-undefined -shared -Wl,-soname,libtesto.so -o src/libtesto.so src/CMakeFiles/testo.dir/library.cpp.o   && :
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `_DOCTEST_ANON_FUNC_2()':
/lagann/dev/doctest-test/src/library.cpp:10: undefined reference to `doctest::detail::ResultBuilder::ResultBuilder(doctest::assertType::Enum, char const*, int, char const*, char const*, char
const*)'
/usr/bin/ld: /lagann/dev/doctest-test/src/library.cpp:10: undefined reference to `doctest::detail::ExpressionDecomposer::ExpressionDecomposer(doctest::assertType::Enum)'
/usr/bin/ld: /lagann/dev/doctest-test/src/library.cpp:10: undefined reference to `doctest::detail::ResultBuilder::setResult(doctest::detail::Result const&)'
/usr/bin/ld: /lagann/dev/doctest-test/src/library.cpp:10: undefined reference to `doctest::detail::ResultBuilder::log()'
/usr/bin/ld: /lagann/dev/doctest-test/src/library.cpp:10: undefined reference to `doctest::detail::ResultBuilder::react() const'
/usr/bin/ld: /lagann/dev/doctest-test/src/library.cpp:10: undefined reference to `doctest::detail::ResultBuilder::translateException()'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `__static_initialization_and_destruction_0(int, int)':
/usr/include/doctest/doctest.h:2679: undefined reference to `doctest::detail::TestSuite::operator*(char const*)'
/usr/bin/ld: /usr/include/doctest/doctest.h:2679: undefined reference to `doctest::detail::setTestSuite(doctest::detail::TestSuite const&)'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `__static_initialization_and_destruction_0(int, int)':
/lagann/dev/doctest-test/src/library.cpp:9: undefined reference to `doctest_detail_test_suite_ns::getCurrentTestSuite()'
/usr/bin/ld: /lagann/dev/doctest-test/src/library.cpp:9: undefined reference to `doctest::detail::TestCase::TestCase(void (*)(), char const*, unsigned int, doctest::detail::TestSuite const&,
char const*, int)'
/usr/bin/ld: /lagann/dev/doctest-test/src/library.cpp:9: undefined reference to `doctest::detail::TestCase::operator*(char const*)'
/usr/bin/ld: /lagann/dev/doctest-test/src/library.cpp:9: undefined reference to `doctest::detail::regTest(doctest::detail::TestCase const&)'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `doctest::TestCaseData::~TestCaseData()':
/usr/include/doctest/doctest.h:657: undefined reference to `doctest::String::~String()'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `doctest::detail::TestCase::~TestCase()':
/usr/include/doctest/doctest.h:1320: undefined reference to `doctest::String::~String()'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `doctest::AssertData::~AssertData()':
/usr/include/doctest/doctest.h:673: undefined reference to `doctest::String::~String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:673: undefined reference to `doctest::String::~String()'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `doctest::detail::Result::~Result()':
/usr/include/doctest/doctest.h:1106: undefined reference to `doctest::String::~String()'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `decltype ((((declval<int>)())==((declval<int>)())),(static_cast<doctest::detail::Result>(0))) doctest::detail::Expression_lhs
<int>::operator==<int>(int&&)':
/usr/include/doctest/doctest.h:1238: undefined reference to `doctest::getContextOptions()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1238: undefined reference to `doctest::detail::Result::Result(bool, doctest::String const&)'
/usr/bin/ld: /usr/include/doctest/doctest.h:1238: undefined reference to `doctest::String::~String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1238: undefined reference to `doctest::String::String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1238: undefined reference to `doctest::detail::Result::Result(bool, doctest::String const&)'
/usr/bin/ld: /usr/include/doctest/doctest.h:1238: undefined reference to `doctest::String::~String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1238: undefined reference to `doctest::String::~String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1238: undefined reference to `doctest::String::~String()'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o: in function `doctest::String doctest::detail::stringifyBinaryExpr<int, int>(int const&, char const*, int const&)':
/usr/include/doctest/doctest.h:1071: undefined reference to `doctest::toString(int)'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::String::String(char const*)'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::toString(int)'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::String::operator+(doctest::String const&) const'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::String::operator+(doctest::String const&) const'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::String::~String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::String::~String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::String::~String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::String::~String()'
/usr/bin/ld: /usr/include/doctest/doctest.h:1071: undefined reference to `doctest::String::~String()'
/usr/bin/ld: src/CMakeFiles/testo.dir/library.cpp.o:/usr/include/doctest/doctest.h:1071: more undefined references to `doctest::String::~String()' follow
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Also, it sets the default symbol visibility to hidden:
set(CMAKE_C_VISIBILITY_PRESET hidden)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)

The error number two:
[4/4] Linking CXX executable tests/test_runner
FAILED: tests/test_runner
: && /usr/bin/c++ -g  tests/CMakeFiles/test_runner.dir/main.cpp.o -o tests/test_runner  -Wl,-rpath,/lagann/dev/doctest-test/build/src  src/libtesto.so && :
/usr/bin/ld: tests/test_runner: hidden symbol `_ZNK7doctest6StringplERKS0_' in tests/CMakeFiles/test_runner.dir/main.cpp.o is referenced by DSO
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

I want to understand what's happening and why the build fails in both cases. I never encountered the above errors in my projects, when using KDECompilerOptions and the only case is the doctest, which I recently wanted to try out.
Steps to reproduce

Open minimal example: https://github.com/gikari/doctest-test/blob/master/CMakeLists.txt
Uncomment lines after # Uncomment to break (1) or (exclusive)  after # Uncomment to break (2) in the root CMakeLists.txt file
Try to build the project with:cmake -B build
cmake --build build

The tests are successfully built if both options are commented out, but fail when either of them is not.

Extra information

doctest version: v2.4.8
Operating System: Linux
Compiler+version: GCC v11.1

I can't repro the issue when fiddling with the visibility flags, but I can for the second with the linker flags.
What is happening here is that when you compile your shared library, it includes the doctest header which declares a bunch of stuff. These are not defined unless DOCTEST_CONFIG_IMPLEMENT is defined (which gets defined if DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN is defined, as in your test executable).
This is just how the doctest library works. It would require a huge refactor to make everything inline if you don't want undefined references.
I think the -Wl,--no-undefined linker flag is incompatible with doctest.
Note that this is part of the design goals of doctest and what makes it so fast to compile.


New columns in Study

New columns in Study:
(meta tables)
Purpose_Endangered:

F
NA
NATS
T
Purpose_Weed:
F
NA
NATS
T

@simonrolph @DannyLBuss please could you provide a descriptive sentence for each? I can add these as a meta table.

Purpose endangered:
F: The study was carried out because a species was under threat
NA:
NATS: No access to source
T: The species was studied because the species was under threat
Purpose weed:
F: The study was not carried out because a species posed a threat
NA:
NATS: No access to source
T: The study was carried out because a species posed a threat

@simonrolph for purpose endangered should F say "The study was carried out but the species were NOT under threat"? Also, do T and F stand for True and False. If so, should we change them to True and False so we keep all boolean variables consistent?

Please could I get confirmation of the values for the meta tables? I can put them in without a description for now, but will need it soon. The values I'll enter are as follows:
True
False
NA
NATS

yep @DannyLBuss you are right
Purpose endangered:
F: The study was not carried out because a species was under threat
sloppy copy pasting from me


Provisioning halts on "Waiting for WinRM to become available..."

Hi - thank you for this awesome compilation of Packer templates!
When building a Vagrant box via make virtualbox/eval-win2008r2-standard the process keeps waiting at the following step even after the Windows installation has already finished:
==> virtualbox-iso: Creating floppy disk...
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Attaching floppy disk...
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 3971)
==> virtualbox-iso: Executing custom VBoxManage commands...
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 10s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for WinRM to become available...

I have validated that WinRM is running inside the Windows guest. This does not happen when I create a virtual machine for VMware (which is not an option for me in the long run). Any clues how VirtualBox could play into this? Thanks!
Environment

Mac OS X 10.10.4 (Yosemite)
Vagrant 1.7.4
VirtualBox 4.3.28r100309
Packer 0.8.2

Vagrant Plugins

vagrant-share (1.1.4, system)
vagrant-winrm (0.7.0)

Try updating Packer to 0.8.3. I think it's fixed in there based on [1] but I've not been able to validate for myself.
[1] https://github.com/mitchellh/packer/pull/2505

Seems like this release is still not available by now, but I'll keep watching. Will keep you posted if that fixed it for me. Thanks @jboeshart!

Yup, see that now too, I thought it had already been released. In the meantime to get around it you can adjust the port mappings on the VirtualBox image once it's been created. If you map 5985 to 5985 it will continue with the build.

Packer 0.8.3 has been released over the weekend. That fixed the issue. Many thanks @jboeshart for the pointer!


[Bug]: PHP Fatal error:  Uncaught Error: Call to undefined method Psy\Configuration::setRawOutput() in Command line code:21

Short bug description
Run tinker on vagrant with Homestead
Extended bug description
PHP Fatal error:  Uncaught Error: Call to undefined method Psy\Configuration::setRawOutput() in Command line code:21
Stack trace:
#0 {main}
thrown in Command line code on line 21
Symfony\Component\Debug\Exception\FatalErrorException  : Uncaught Error: Call to undefined method Psy\Configuration::setRawOutput() in Command line code:21
Stack trace:
#0 {main}
thrown
at Command line code:21
Whoops\Exception\ErrorException  : Uncaught Error: Call to undefined method Psy\Configuration::setRawOutput() in Command line code:21
Stack trace:
#0 {main}
thrown
at Command line code:21
Whoops\Exception\ErrorException  : file_get_contents(Command line code): failed to open stream: No such file or directory
at /home/vagrant/code/project/vendor/filp/whoops/src/Whoops/Exception/Frame.php:120
116|                 return null;
117|             }
118|
119|             try {

120|                 $this->fileContentsCache = file_get_contents($filePath);
121|             } catch (ErrorException $exception) {
122|                 // Internal file paths of PHP extensions cannot be opened
123|             }
124|         }

Exception trace:
1   file_get_contents()
/home/vagrant/code/project/vendor/filp/whoops/src/Whoops/Exception/Frame.php:120
2   Whoops\Exception\Frame::getFileContents()
/home/vagrant/code/project/vendor/nunomaduro/collision/src/Writer.php:217
Please use the argument -v to see more details.
Exception trace:
1   Whoops\Run::handleError()
/home/vagrant/code/project/vendor/filp/whoops/src/Whoops/Run.php:514
2   Whoops\Run::handleShutdown()
[internal]:0
*** Execution finished ***
Your project is not the problem

[X] I tried using a fresh laravel install - I'm fairly certain it has nothing to do with my project.

How to reproduce?
Press Run
Expected behavior
Dump model
Screenshots
No response
IDE & Version
PhpStorm 2023.1.1
PHP Version
7.4
OS and version
Arch
Laravel Tinker plugin version
2.6.1
Interpreter type
Local
Laravel Version
6.20.44
Tinker version
1.0.10
Psysh version
0.9.12
Additional Context
No response

Applies magic freshness

Asking the creator of Psysh iof they did something :)

There have been 30-40 releases of PsySH since the version cited in this ticket. We've almost certainly done something ¯\_(ツ)_/¯

@mmehdizadeh Could you try and update tinker? Sorry, i fully missed this.


update_epochs_to_2

/azp run microsoft.ComponentGovernance (seismic-deeplearning)

No longer needed to pass #264


Bug - Breadcrumbs hidden by logo on partners

Describe the bug
The large doorway logo on the partners site covers up the breadcrumbs.

To Reproduce
Steps to reproduce the behavior:

Go to partner site and click into a listing
The breadcrumbs are just barely showing under the logo

Expected behavior:

if logo is too big, logo should be made smaller
if logo is the right size, breadcrumbs need to be pushed down

Change the logo, Jesse will provide alternate image
Emily would guess that this caused by siteheader overrides, could also remove that customization

@slowbot to add in image


Update 2.0 links to 2.1

.NET Core 2.0 is out of support as of 2018/10/1

@mairaw you assigned it to me. Do you expect anything else from me?

Nope. We like to see who did the work on our sprint board 😄
https://github.com/dotnet/docs/projects/51


Input Image Size Change Ignored by AnnotationOverlayCalculator

Hi,
I have a use case where an input stream accepts frames with different sizes. This could be as simple as connecting different camera resolutions at different times during the same run of the graph.
However, I have noticed a visual bug that i traced to the calculator AnnotationOverlayCalculator, where GlSetup is called only once during the first call to Process. This leads to the assumption that all incoming images have the same width_ and height_. Is this the expected behaviour?
To workaround this, I have added a few lines of code to reinitialise the gpu if the input image size changes. However, I think
that calculators should be implemented to be as stateless as possible. What are your thoughts regarding state for nodes/calculators?
 if (use_gpu_) {
#if !MEDIAPIPE_DISABLE_GPU
   // Reinitialize if input image size has changed.
   if (gpu_initialized_) {
     const float alignment = ImageFrame::kGlDefaultAlignmentBoundary;
     if (image_frame_available_) {
       const auto& input_frame = cc->Inputs().Tag(kGpuBufferTag).Get<mediapipe::GpuBuffer>();
       gpu_initialized_ = (width_ == RoundUp(input_frame.width(), alignment)) &&
               (height_ == RoundUp(input_frame.height(), alignment));
     } else {
       gpu_initialized_ = (width_ == RoundUp(options_.canvas_width_px(), alignment)) &&
               (height_ == RoundUp(options_.canvas_height_px(), alignment));
     }
   }

   if (!gpu_initialized_) {
     MP_RETURN_IF_ERROR(
         gpu_helper_.RunInGlContext([this, cc]() -> absl::Status {
           return GlSetup<mediapipe::GpuBuffer, kGpuBufferTag>(cc);
         }));
     gpu_initialized_ = true;
   }
   if (cc->Inputs().HasTag(kGpuBufferTag)) {
     MP_RETURN_IF_ERROR(
         (CreateRenderTargetGpu<mediapipe::GpuBuffer, kGpuBufferTag>(
             cc, image_mat)));
   }
#endif  // !MEDIAPIPE_DISABLE_GPU

Hi @serrabii,
Could you elaborate your query with complete details, error logs and steps followed to reproduce the issue from our end. Thank you!

Hi @kuaashish
The simplest way to reproduce this error would be to modify mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic/MainActivity.java in order to change the camera   without restarting the graph.

First, change the function startCamera to accept two more arguments.

  public void startCamera(CameraHelper.CameraFacing cameraFacing, Size targetResolution) {
    cameraHelper = new CameraXPreviewHelper();
    previewFrameTexture = converter.getSurfaceTexture();
    cameraHelper.setOnCameraStartedListener(
        surfaceTexture -> {
          onCameraStarted(surfaceTexture);
        });
    cameraHelper.startCamera(
        this, cameraFacing, previewFrameTexture, targetResolution);
  }

Second, change the onResume to change the camera after a certain delay. In this example, I start the BACK camera with a target resolution of 1440x1080 for 5 seconds then change to the FRONT camera with the default target resolution which is 1280x720. I am not sure if all devices with back camera can capture with 1440x1080 but the bug can be reproduced as long as the capture resolution changes.

  @Override
  protected void onResume() {
    super.onResume();
    converter =
        new ExternalTextureConverter(
            eglManager.getContext(),
            applicationInfo.metaData.getInt("converterNumBuffers", NUM_BUFFERS));
    converter.setFlipY(
        applicationInfo.metaData.getBoolean("flipFramesVertically", FLIP_FRAMES_VERTICALLY));
    converter.setConsumer(processor);
    if (PermissionHelper.cameraPermissionsGranted(this)) {
      // First start BACK camera for few secs
      startCamera(CameraHelper.CameraFacing.BACK, new  Size(1440, 1080));

      // After 5secs, start FRONT camera with different Resolution
      new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {
        @Override
        public void run() {
          converter.close();
          previewDisplayView.setVisibility(View.GONE);
          converter =
                  new ExternalTextureConverter(
                          eglManager.getContext(),
                          applicationInfo.metaData.getInt("converterNumBuffers", NUM_BUFFERS));
          converter.setFlipY(
                  applicationInfo.metaData.getBoolean("flipFramesVertically", FLIP_FRAMES_VERTICALLY));
          converter.setConsumer(processor);
          startCamera(CameraHelper.CameraFacing.FRONT, null);
        }
      }, 5000);
    }
  }

Install facedetectiongpu and check that after 5 secs, when the app swaps to the FRONT camera with default target resolution, the  preview would still be using the first target resolution adapted to the display size using Fill and Crop of GlSurfaceSinkCalculator. You can also simply compare the resulting preview with the one obtained before applying these changes.


[Event Hubs Client] Track Two: First Preview (Producer Live Tests)

Producer Live Tests for Track Two. More tests will be added for the First Preview.
Related: #6353

We'll need to rebase on the latest set of changes that got merged this morning.


Zoom animation not resetting the Grid/TileLayer correctly.

When the zoom is animated, the grid/tile layer does not get reset correctly when the animation is done.
The tile origins return the incorrect values.
I have created a jsfiddle to demo the issue https://jsfiddle.net/rickj33/eqLdnfm7/14/
In the GridLayer code, the _reset function, gets called when the animation ends, but this statement
if (!noUpdate && (hard || tileZoomChanged)) {
stops it from calling _updateLevels and _resetGrid,
I found this by trying to make the Leaflet-image work with the latest 0.8 version.
The console output looks like this
Origins with out animation
(index):76 tile position = {"x":-150,"y":-136}
(index):76 tile position = {"x":106,"y":-136}
(index):76 tile position = {"x":362,"y":-136}
(index):76 tile position = {"x":618,"y":-136}
(index):76 tile position = {"x":-150,"y":120}
(index):76 tile position = {"x":106,"y":120}
(index):76 tile position = {"x":362,"y":120}
(index):76 tile position = {"x":618,"y":120}
(index):76 tile position = {"x":-150,"y":376}
(index):76 tile position = {"x":106,"y":376}
(index):76 tile position = {"x":362,"y":376}
(index):76 tile position = {"x":618,"y":376}
(index):57 Origins with animation
(index):76 tile position = {"x":-31,"y":-224}
(index):76 tile position = {"x":225,"y":-224}
(index):76 tile position = {"x":481,"y":-224}
(index):76 tile position = {"x":-31,"y":32}
(index):76 tile position = {"x":225,"y":32}
(index):76 tile position = {"x":481,"y":32}
(index):76 tile position = {"x":-31,"y":288}
(index):76 tile position = {"x":225,"y":288}
(index):76 tile position = {"x":481,"y":288}

I don't see any strange behaviour when performing animated zooms and flyTo()s. Perhaps this was fixed already in https://github.com/Leaflet/Leaflet/commit/9274ee2b5f691c6f90a3615901a7fc355c884cba#diff-f1e6be67599c594731fff6191c710420R355 ?
Otherwise, it's very possible that Leaflet-image is only compatible with Leaflet 0.7.x.

Yes, the Leaflet-image is only compatible with Leaflet 0.7.x. But in trying to update the code to work with Leaflet 0.8x I found the issue. If you got to http://jsfiddle.net/rickj33/eqLdnfm7/14/ then open developer tools and the console, you will see the difference in the tile positions when using animation and no animation. I would think that the coordinates would be the same after zooming.
The fiddle is using the leaflet code from http://leaflet-cdn.s3.amazonaws.com/build/master/leaflet.js
if there is a newer one let me know an i will update and see if the issue still occurs.
Note:
The original js fiddle i linked too, included the https which would not run the fiddle.
Thanks for investigating this.
Rick

Not sure what i did that it closed the issue, but that was not my intent
Yes, the Leaflet-image is only compatible with Leaflet 0.7.x. But in trying to update the code to work with Leaflet 0.8x I found the issue. If you got to http://jsfiddle.net/rickj33/eqLdnfm7/14/ then open developer tools and the console, you will see the difference in the tile positions when using animation and no animation. I would think that the coordinates would be the same after zooming.
The fiddle is using the leaflet code from http://leaflet-cdn.s3.amazonaws.com/build/master/leaflet.js
if there is a newer one let me know an i will update and see if the issue still occurs.
Note:
The original js fiddle i linked too, included the https which would not run the fiddle.
Thanks for investigating this.
Rick

Thanks for the clarification! That should help us track down the issue.

@rickj33 The code controlling zoom animations and tile loading have gone through a lot of changes lately. I've checked your fiddle, and I think everything looks fine.
(I've also updated the fiddle to use the latest Leaflet build, see http://jsfiddle.net/eqLdnfm7/19/ )
Can you please check it, and tell us if the bug is gone or still there?

Closing, will reopen if it turns out to still be an issue.


yarn test fails out of the box

Describe the bug
Running the included tests using yarn test doesn't work. The tests as configured use an ESM-based theme, which jest/yarn isn't configured to use. If you change it to use a CJS-based theme, the tests fail.
To Reproduce

Create a new clone, and install using yarn
Run npx jest
Observe the failure message (included as an attachment)

If you then change src/utils/SyntaxHiglight.js to import react-syntax-highlighter/dist/cjs/styles/hljs (to get a CommonJS version), the tests now run, but do not pass. Again, see included failure message as an attachment
Expected behavior
The tests should pass on a clean checkout, or should not be included.
Screenshots
See attachments.
Desktop (please complete the following information):
OS: Windows 11
Browser: N/A
Version: Current checkout (1.2.0)

esm_failure.txt
cjs_failure.txt
Failures, as mentioned

Hi,
theme does not provide test cases as in at this moment.
Regards.


METRON-1833: Management UI incorrectly displaying sensor topology latency units as seconds instead of millis

Contributor Comments
https://issues.apache.org/jira/browse/METRON-1833
Management UI is displaying units for topology latency as seconds instead of milliseconds. This value should be identical to that reported in the Storm UI. The change is straightforward - spin up full dev and the UI should show "ms" instead of "s"
Pull Request Checklist
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[ ] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

N/A Have you written or updated unit tests and or integration tests to verify your changes?

N/A If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[ ] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

N/A Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

+1


USer Management

Does the application support user management? User accounts set-up, authorization, role based access, sharing of charts created etc?

No, the application has no user management.


Fix issue with unreliable test

This PR is to address #541
This test was computing date ranges for daily notification, but then asserting EmailRateLimit behavior based on a weekly preference.  Whenever the random value for clicked_ago was divisible by 7, the last assertion would fail, but in all other cases it passed.
I rewrote the assertion to pass a daily preference (to match the logic of how clicked_ago was generated), then added similar assertion to other intervals.
I ran this one-liner to confirm before and after behavior.
for ((i=1;i<=100;i++)); do rake test TEST=test/unit/email_rate_limit_test.rb ; done;

Yay! Thanks!

Awesome, thanks!


update_ec2_cluster.sh : error when updating ClusterSize in deis.template.json

This is the section in deis.template.json:
    "ClusterSize": {
      "Default": "3",
      "MinValue": "3",
      "MaxValue": "12",
      "Description": "Number of nodes in cluster (3-12).",
      "Type": "Number"
    },

When I update Default to 5, and MinValue to 5
or
Default to 5 and MinValue to 3:
./update-aws-cluster.sh
A client error (ValidationError) occurred when calling the UpdateStack operation: No updates are to be performed.

This is not something we'll be able to get to for the LTS release (#4776) and the architecture in deis v2 has dramatically changed such that this is no longer relevant so I'm closing this.


Set sampled based on sampling.priority OT tag

I did not find a way how to change sampled on an existing span. An intermediate fix could be to propagate sampled to its descendants.

This tag implies something that isn't implemented in any zipkin tracer I've seen, which is after the fact sampling decisions. The only place this could make sense is a pre-build() step (ex look for the tag before you attempt to create an underlying brave span)
cc @devinsba @basvanbeek

the biggest problem with the assumptions you can late set sampling priority is the lifecycle of the span. before-the-fact is easy because you can assure the decision whether an rpc has started or already propagated on the way back.
mid-stream is not easy because you may have already propagated a decision to sample the trace!! there's no coordination route to fix this. You might teach a collection tier to honor a late-arriving tag that says toss any parts of the trace that did arrive.
if we wanted to support something like this in tracers, we'd need a feature like flush called abandon(). This could speculatively drop our in-flight span data, and hope a propagation decision race didn't happen. Regardless, it is a bit dodgy and should be considered by a larger audience than pay attention to pull requests on this repo.

Some places from go-to:

I see your concern about abandon however this would ensure that "some"
descendants would by sampled.. but it is ambiguous.

Those writing instrumentation should do their best to make portable code.

We shouldn't pretend to support something that hasn't been well thought
through in zipkin or answer the historical problems people had which
resulted in us being
very clear about up-front sampling. Rather than add dodgy code to the
project, sometimes a better choice is to not.

Do we want to support it at span creation time?

Do we want to support it at span creation time?

The only place this makes sense is at the OT abstraction of
pre-create/start, as OT has otherwise no api to influence sampling.

if you want, you can make a link to here or brave.Sampler when noting
that brave/zipkin is before-the-fact
https://github.com/openzipkin/brave/tree/master/brave#sampling
It might help others from having to fish around and/or guess why we
don't honor updates after span is created (most specifically after
propagated, but simpler to say after created)

also maybe link here, which directly relates to the use case that resulted in it. luckily this was also before-the-fact (whew!)
https://github.com/opentracing/opentracing.io/blob/f0e1a1418637e525110e25f1aa676926c38e353f/_docs/pages/instrumentation/common-use-cases.md#setting-sampling-priority-before-the-trace-starts

PR updated, sampling is adjusted only for a new trace.


fix: Retrieve containerEl attribute value from HTML tag when provided.

Changes
constructRoutes.js (Updated)
Retrieve the value of the containerEl-attribute using the method "getAttribute".
Changing the nodeJS path within "getAttribute" to use "toLowerCase" on "attrName" property to ensure it matches how parse5 parses HTML documents.
constructRoutes.test.js (Updated)
Added 3 unit tests, for each attribute one, to test if the properties are handled when passed over HTML
router-config.html (Added)
Test fixture to test arguments passed over HTML
Remarks / Considerations
I couldn't spot any tests related to the "containerEl" attribute within the browser-only section. Every tests seems to use the default 'body'. I as well couldn't figure out on the fast how and where to add some related tests. If requested I would figure it out and add some tests.

Released in https://github.com/single-spa/single-spa-layout/releases/tag/v1.0.0-beta.7


issues with MNE study template

Yesterday, with @larsoner we asked some workshop participants to try out the code here. Some of the limitations I observed:

the config file is a bit hard to parse. If you want to try just one script, it's not clear which params in the config file must be touched or changed. Perhaps a more explicit import at the top of each file would solve this issue:

from config import blah

It assumes a certain structure to the data but it's not BIDS. This means there are many paths that need to be defined in the config. I think for people using the study template, we should make it as simple as possible -- they should just have to point to the root and then it should throw informative errors if certain files were expected, e.g., a list of participants, an events file etc. cc @sappelhoff

the code assumes fif file format. If we use, mne_bids.io.read_raw_bids, it should be able to triage over different files without making this assumption

+1000
you put your finger on what the BIDS integration should fix. The config
should be become much
smaller.
by supporting more use cases while not breaking the old ones we will build
something solid.

from config import blah

+1 that'd be much more transparent. I could give that a shot.

It assumes a certain structure to the data but it's not BIDS.

is the idea to make the mne-study-template rely on BIDS completely?

is the idea to make the mne-study-template rely on BIDS completely?

I would say yes because all MEG data will hopefully be in BIDS format soon thanks to your GSoC :-)
I would start a WIP PR to see how far we can go with mne-bids

+1 that'd be much more transparent. I could give that a shot.

go for it!

+1 for make the study template work on BIDS formated data

closing:

mne-study-template is now BIDS compatible (at least, the first steps are done)
there was substantial disagreement between several parties about how to deal with the imports - leaving this untouched until we have a solution that makes everybody happy (or everybody slightly less unhappy)


Request: one line to explain what s and ib stand for in the API docs

To better honor the spirit of PEP 20's Explicit is better than implicit and the library's No surprises philosophy, consider adding something like this in or immediately after the first line of the API docs for {attr.s, attr.ib}: "Note: {.s, .ib} is not an abbreviation; {attr.s, attr.ib} is meant to look like {attrs, attrib}. See the On the attr.s and attr.ib Names section in the Overview for more information."
I'm probably not the only one to see the Note included in those API doc entries (way beneath the changelog) and wonder why the library authors chose to leave abbreviation expansion as an exercise left to potential library adopters, having not seen the Overview note.

I agree, the first time I looked at attrs it was quite uncomfortable -- I kept wondering "what's an s and an ib ?" :D

Well, there's https://www.attrs.org/en/stable/overview.html#on-the-attr-s-and-attr-ib-names and
 on the homepage mentions that it's in there?
I could elaborate a bit more, that the original reason for those short terms is basically, that before type annotation, you had to write it out every, single, time. Since that's not the case anymore, we're moving away from them as the main API.

hah, I had missed that bullet point 😅. I shall read docs more in-depth before starting to use something.
Well, since they are superseded in the new API, I guess it's OK to leave as it is for now, there's enough explanation for newcomers.

The request above is to make a hyperlink to that explanation in the API docs.

I hope all concerns have been adequately fixed by #871.


ComplexObject to support conversion to Pandas Series

ComplexObject behaves as a dict-like so Pandas can convert it to a Series

Invalid attribute will raise AttributeError instead of KeyError
items, keys, and values methods added - all of which act on fragments property

Good idea Sam, thanks for your contribution!


Stop including a slug with the area API responses

The slugs are made by parameterizing the names we get from mapit and
these aren't stable identifiers.  We could use the govuk_slug that we've
recently added, but we only have those for councils and this API also
returns european parliament areas for which we don't have govuk_slugs.
For: https://trello.com/c/PKAohBzb/468-stop-adding-slugs-to-areas-returned-from-mapit-by-imminence-2
There are follow up PRs on other apps to tidy up the fallout from this change.

Looks good to me 👍

This all looks good to me too.


Preact wrapper for Flatpickr

I thought developers using Preact might find this useful :smile: :
https://www.npmjs.com/package/preact-flatpickr
https://github.com/molnarmark/preact-flatpickr
Would be appreciated if you'd add it to the README. :tada:

Hi @molnarmark,
How's this project going. I'd like to update the README with a link to it, but I'd just like to confirm if it's stable and maintained beforehand

Hello @viorelsfetea
I havent had any issues reported so I'm guessing there are no bugs, I'd call it stable.
Development wise, if there are any new features of flatpickr to be added, I definitely will.


Fix alsa build on latest alsa-lib

Latest alsa-lib has specific implementations for non-ump and ump events for snd_seq_ump_ev_clear / snd_seq_ev_clear ; this fixes the build on this case.

Thanks!


Start the Notebook implementation

Description
We're going to start building the plots in a Notebook. Depending on complexity, some stuff might be factored out to TulipaPlots that the Notebook would call. Otherwise, we don't need TulipaPlots.
Hold off working on TulipaPlots for now - we're going to work on the Notebook.
Related Issues
No response

Waiting on data format changes.

Started here:
https://github.com/TulipaEnergy/Tulipa-OBZ-CaseStudy
and here:
https://github.com/TulipaEnergy/pipeline-example


Add quorum threshold to consensus params & improve ensureConsistency()

Split off from #1100

I could make it a fixed integer range from 1 to 100 I suppose.


Create CONTRIBUTION.md

Add CONTRIBUTION.md

Don't like it, this sort of thing should:

Be discussed first, probably via an RFC
Not be done before we see what sort of fallout the exact same thing will have on the Linux project.

There is alread a .github/CONTRIBUTING.md file:
https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md

Be discussed first, probably via an RFC

:+1:. Although this means a lot more work for the author I think that altering contribution guidelines is a fundemental change where an RFC is appropriate.
I think that the contributing guidelines you're adding/modifying here should mention that as well.

As pointed out by @matthewbauer the file already exists. If you can think of improvements, please go ahead and open a PR, issue, or RFC depending on the scope of the changes.


Confirm load_sway_contract is not needed

https://github.com/FuelLabs/fuels-rs/blob/3d7623127edf1838068daa1154fe31bb9e6544c9/packages/fuels-contract/src/contract.rs#L402-L412
Now that deploy directly accepts the path to a contract binary, there may be no need to expose load_sway_contract.
We need to confirm that there is no scenario where the user wants to interact with the raw binary data.

There are cases when the bytecode is needed without deploying it. One case is examining that the bytecode matches some template (e.g. contract factories). Another would be manipulation of the bytecode prior to deployment, e.g. to change the value of immutable fields.


v1.9 does not work on Linux, getting "X Error of failed request:  BadValue"

Trying to use scrcpy 1.9 on Ubuntu 19.04, I get this error:
logix@logix-desktop:~$ scrcpy -p 12341
/usr/local/bin/scrcpy-server.jar: 1 file pushed. 5.5 MB/s (22470 bytes in 0.004s)
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  105
  Current serial number in output stream:  106
[server] ERROR: Exception on thread Thread[main,5,main]
android.media.MediaCodec$CodecException: Error 0xffffec77
	at android.media.MediaCodec.native_configure(Native Method)
	at android.media.MediaCodec.configure(MediaCodec.java:1882)
	at com.genymobile.scrcpy.ScreenEncoder.configure(ScreenEncoder.java:157)
	at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:67)
	at com.genymobile.scrcpy.Server.scrcpy(Server.java:32)
	at com.genymobile.scrcpy.Server.main(Server.java:133)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:316)

The phone is a Samsung Galaxy S6 running Android 7.0 (also encountered the same error on a Samsung Galaxy S8).
Version 1.8 was working fine.

If you git checkout v1.8 now and rebuild, does it work?
Before further investigations, could you git pull (to get fix for https://github.com/Genymobile/scrcpy/pull/583).
Do you use the prebuilt_server? (if yes, you need to use the v1.9 of the prebuilt_server now).

It looks like I had some X updates (I probably had some upgraded, but not all). After upgrading all packages on my system, and a system restart, it works now. Sorry for the inconvenience!

Try to run glxgears. Do you have the same error?


Add intelligent vendor pruning (via "go list")

This moves helper functions from hack/vendor.sh into the separate hack/.vendor-helpers.sh so that hack/vendor.sh becomes even more simple and readable, and adds a new clean function that prunes anything from vendor/ that isn't imported within docker/, dockerinit/, or test-integration-cli/.
One caveat is that it uses go list's native .Deps for this, which doesn't capture test-only dependencies.  I think we've got those imported outside the tests right now, but if that becomes a problem in the future, it'll be really easy to expand this to check .TestImports too (which I only don't do here because it's not recursive like .Deps is, so I want to stick to just the simple one for now until/unless we actually have a need to go beyond that).
cc @jfrazelle @icecrime (as my proposed fix for #13756 without any new tools beyond Bash and Go :smile:)

(first commit is the script changes, second is the vendor/ update)

Bahahahaha it fails because we need html from go.net in the Dockerfile, but not anywhere in Docker itself.  Adorbs.

53a6327550a4410d63b3d7e11940d2436b347aca to fix the build failure :+1:

whoa +110 −39,863

:bomb: . com

That build fix also has the nice side effect of making /go in our container only contain github.com/docker/docker and golang.org/x/tools, so there's less chance of potential pollution from our Dockerfile dependencies (where we really only needed the tools built from those libraries, not their code).

Seriously though why not asking me to change instead of doing something entirely separate... :cry:

I wasn't sure it'd even work, but by the time I figured out it would it was
basically done since there's not a lot to it -- sorry :disappointed:.

It just seemed so different from adding two separate tools that I
thought it'd be more mean to make you go implement my crazy ideas to
see if they work.

Hey! No fights in this repo! :angry:

Lol, I couldn't even imagine that go list can do this.

Right, who would have thought (https://github.com/docker/docker/pull/13756#issuecomment-109332170).

I really am sorry and didn't mean to offend :disappointed:.
I'll close this so we can continue with proper review on your PR instead.

Reopened per https://github.com/docker/docker/pull/13756#issuecomment-111170010

LGTM

LGTM

I felt a great disturbance in the Force, as if thounsands of lines of unused code suddenly cried out in terror, and were suddenly silenced


Demo app

This is an interactive documentation/demo page which will be used for our NGI Pointer application.
It's should:

showcase p2panda elements (p2panda-js, p2panda-rs, aquadoggo) and functionality
demonstrate how they are used to build a real app
give some context about how data is fetched and stored on the bamboo log

It might also:

become an "under the hood" demo sitting alongside a more real world chat app which beep-boop is intended to be

We need to still:

connect to aquadoggo
update code examples
bring the performance measurements back into the app somehow, maybe as a seperate page
refactor everything so these different elements sit sensibly together
make typescript

This is great, thanks for the refactor :+1:

Shall we merge this and deal with the next changes (make it work with new wasm methods, final style changes etc..) in new PRs?


feat:support set config from system.envs.

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[ ] New feature provided

[x] Improve performance

Related issues

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.

Coverage increased (+0.1%) to 12.878% when pulling 658a9c6db5b5433394935a46cdcb00f47496d7e2 on JaredTan95:feat-env-config into a4b2cd4df2594acba97e8fbef53ea582ef6da5df on apache:master.

This is right doc refer, https://github.com/apache/incubator-skywalking/blob/master/docs/en/setup/backend/backend-setting-override.md
Also, the command has a typo.
-core.default.restHost=<IP_ADDRESS> -> -Dcore.default.restHost=<IP_ADDRESS>. Should fix this in your PR too.

@wu-sheng I finished the test and doc about how to use it.

For convenience, this is the document.

System environment variables

Example
Override restHost in this setting segment through environment variables

core:
  default:
    restHost: ${REST_HOST:<IP_ADDRESS>}
    restPort: 12800
    restContextPath: /
    gRPCHost: 0.0.0.
    gRPCPort: 11800

If the REST_HOST  environment variable exists in your operating system and its value is <IP_ADDRESS>,
then the value of restHost here will be overwritten to <IP_ADDRESS>, otherwise, it will be set to <IP_ADDRESS>

Codes look good for me, @peng-yongsheng What do you think of this? And should we put this style setting yml as our default style in startup module and in assembly?

Placeholder nesting is also supported，like ,${REST_HOST:${REST_URL:<IP_ADDRESS>}} :)

Placeholder nesting is also supported，like ,${REST_HOST:${REST_URL:<IP_ADDRESS>}} :)

You should put this in the document.

System environment variables

Example
Override restHost in this setting segment through environment variables

core:
  default:
    restHost: ${REST_HOST:<IP_ADDRESS>}
    restPort: 12800
    restContextPath: /
    gRPCHost: 0.0.0.
    gRPCPort: 11800

If the REST_HOST  environment variable exists in your operating system and its value is <IP_ADDRESS>,
then the value of restHost here will be overwritten to <IP_ADDRESS>, otherwise, it will be set to <IP_ADDRESS>.
By the way, Placeholder nesting is also supported, like ${REST_HOST:${ANOTHER_REST_HOST:<IP_ADDRESS>}}.
In this case, if the REST_HOST  environment variable not exists, but the REST_ANOTHER_REST_HOSTHOST
environment variable exists and its value is <IP_ADDRESS>, then the value of restHost here will be overwritten to <IP_ADDRESS>, otherwise, it will be set to <IP_ADDRESS>.

It's a good feature, I like it so much. Users can known which variables could be config clearly. And they could cover them by System.env.

Is the environment variable name format OK? :)

cluster:
  standalone:
   # Please check your ZooKeeper is 3.5+, However, it is also compatible with ZooKeeper 3.4.x. Replace the ZooKeeper 3.5+
   # library the oap-libs folder with your ZooKeeper 3.4.x library.
#  zookeeper:
#    hostPort: ${SW_CLUSTER_ZK_HOST_PORT:localhost:2181}
#    #Retry Policy
#    baseSleepTimeMs: ${SW_CLUSTER_ZK_SLEEP_TIME:1000} # initial amount of time to wait between retries
#    maxRetries: ${SW_CLUSTER_ZK_MAX_RETRIES:3} # max number of times to retry
#  kubernetes:
#    watchTimeoutSeconds: ${SW_CLUSTER_K8S_WATCH_TIMEOUT:60}
#    namespace: ${SW_CLUSTER_K8S_NAMESPACE:default}
#    labelSelector: ${SW_CLUSTER_K8S_LABEL:app=collector,release=skywalking}
#    uidEnvName: ${SW_CLUSTER_K8S_UID:SKYWALKING_COLLECTOR_UID}
core:
  default:
    restHost: ${SW_CORE_REST_HOST:<IP_ADDRESS>}
    restPort: ${SW_CORE_REST_PORT:12800}
    restContextPath: ${SW_CORE_REST_CONTEXT_PATH:/}
    gRPCHost: ${SW_CORE_GRPC_HOST:<IP_ADDRESS>}
    gRPCPort: ${SW_CORE_GRPC_PORT:11800}
    downsampling:
    - Hour
    - Day
    - Month
    # Set a timeout on metric data. After the timeout has expired, the metric data will automatically be deleted.
    recordDataTTL: ${SW_CORE_RECORD_DATA_TTL:90} # Unit is minute
    minuteMetricsDataTTL: ${SW_CORE_MINUTE_METRIC_DATA_TTL:90} # Unit is minute
    hourMetricsDataTTL: ${SW_CORE_HOUR_METRIC_DATA_TTL:36} # Unit is hour
    dayMetricsDataTTL: ${SW_CORE_DAY_METRIC_DATA_TTL:45} # Unit is day
    monthMetricsDataTTL: ${SW_CORE_MONTH_METRIC_DATA_TTL:18} # Unit is month
storage:
  elasticsearch:
    clusterNodes: ${SW_STORAGE_ES_CLUSTER_NODES:localhost:9200}
    indexShardsNumber: ${SW_STORAGE_ES_INDEX_SHARDS_NUMBER:2}
    indexReplicasNumber: ${SW_STORAGE_ES_INDEX_REPLICAS_NUMBER:0}
    # Batch process setting, refer to https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.5/java-docs-bulk-processor.html
    bulkActions: ${SW_STORAGE_ES_BULK_ACTIONS:2000} # Execute the bulk every 2000 requests
    bulkSize: ${SW_STORAGE_ES_BULK_SIZE:20} # flush the bulk every 20mb
    flushInterval: ${SW_STORAGE_ES_FLUSH_INTERVAL:10} # flush the bulk every 10 seconds whatever the number of requests
    concurrentRequests: ${SW_STORAGE_ES_CONCURRENT_REQUESTS:2} # the number of concurrent requests
#  h2:
#    driver: org.h2.jdbcx.JdbcDataSource
#    url: jdbc:h2:mem:skywalking-oap-db
#    user: sa
receiver-register:
  default:
receiver-trace:
  default:
    bufferPath: ${SW_RECEIVER_BUFFER_PATH:../trace-buffer/}  # Path to trace buffer files, suggest to use absolute path
    bufferOffsetMaxFileSize: ${SW_RECEIVER_BUFFER_OFFSET_MAX_FILE_SIZE:100} # Unit is MB
    bufferDataMaxFileSize: ${SW_RECEIVER_BUFFER_DATA_MAX_FILE_SIZE:500} # Unit is MB
    bufferFileCleanWhenRestart: ${SW_RECEIVER_BUFFER_FILE_CLEAN_WHEN_RESTART:false}
receiver-jvm:
  default:
service-mesh:
  default:
    bufferPath: ${SW_SERVICE_MESH_BUFFER_PATH:../mesh-buffer/}  # Path to trace buffer files, suggest to use absolute path
    bufferOffsetMaxFileSize: ${SW_SERVICE_MESH_OFFSET_MAX_FILE_SIZE:100} # Unit is MB
    bufferDataMaxFileSize: ${SW_SERVICE_MESH_BUFFER_DATA_MAX_FILE_SIZE:500} # Unit is MB
    bufferFileCleanWhenRestart: ${SW_SERVICE_MESH_BUFFER_FILE_CLEAN_WHEN_RESTART:false}
istio-telemetry:
  default:
receiver_zipkin:
  default:
    host: ${SW_RECEIVER_ZIPKIN_HOST:<IP_ADDRESS>}
    port: ${SW_RECEIVER_ZIPKIN_PORT:9411}
    contextPath: ${SW_RECEIVER_ZIPKIN_CONTEXT_PATH:/}
query:
  graphql:
    path: ${SW_QUERY_GRAPHQL_PATH:/graphql}
alarm:
  default:

@JaredTan95 I am going to merge this.
Also, consider this setting style looks good. How about moving this to agent config initial? I think this doesn't require any other dependency, right? If so, how about moving these codes into apm-util mdoule, and active this in both collector and agent.config? Of course this is another proposal, we should use another PR to do this, if you want.

@JaredTan95 I am going to merge this.
Also, consider this setting style looks good. How about moving this to agent config initial? I think this doesn't require any other dependency, right? If so, how about moving these codes into apm-util mdoule, and active this in both collector and agent.config? Of course this is another proposal, we should use another PR to do this, if you want.

yep, It will be considered for apply to the agent configuration.

yep, It will be considered for apply to the agent configuration.

I think this is more cloud native and container friendly. Thanks for bringing this good idea to the project.


buffer under run

I am able to play 'high quality audio" (aac) from my phone. The Pi is a Pi3, I am running Arch Linux. I am using the hciattach command and can get paired and can stream audio. I paired a tablet to the same Pi3. It pairs and does not show the 'high quality audio' feature of the sink. When I try to play from this device, the music gets out of sync. It starts playing OK then after a few seconds it gets really fast then starts skipping. I see this behavior with streaming sources (youtube) or music (mp3 or flac) on the tablet. The log on the pi shows:
bluealsa-aplay[1519]: /usr/bin/bluealsa-aplay: aplay.c:469: An underrun has occurred
It is strange that aac works, but regular audio does not.

Sorry for the "me too" post, but when I saw this I re-built bluealsa without aac support and now I am getting exactly the same behaviour from bluealsa-aplay as @gearhead on both RPi Zero W and RPi 3B+ - after a few seconds of playback there is a pause, then a brief burst of speeded-up playback, then another pause ..., etc.
Rebuild with --enable-aac and the problems all go away.
I'm using latest master branch of bluez-alsa on latest Raspbian Stretch Lite with alsa 1.1.3 and bluetoothd 5.43

mine is built with aac support enabled:
 	./configure --prefix=/usr \
	            --sysconfdir=/etc \
                    --enable-ofono \
	            --enable-aac \
                    --enable-debug

My version lists as: 1.4.0.r9.g1557602

# bluealsa --help
Usage:
  bluealsa [OPTION]...

Options:
  -h, --help		print this help and exit
  -V, --version		print version and exit
  -B, --dbus=NAME	D-Bus service name suffix
  -S, --syslog		send output to syslog
  -i, --device=hciX	HCI device to use
  -p, --profile=NAME	enable BT profile
  --a2dp-force-mono	force monophonic sound
  --a2dp-force-audio-cd	force 44.1 kHz sampling
  --a2dp-keep-alive=SEC	keep A2DP transport alive
  --a2dp-volume		control volume natively
  --aac-afterburner	enable afterburner
  --aac-vbr-mode=NB	set VBR mode to NB

Available BT profiles:
  - a2dp-source	Advanced Audio Source (AAC, SBC)
  - a2dp-sink	Advanced Audio Sink (AAC, SBC)
  - hfp-ofono	Hands-Free handled by oFono (hf & ag)
  - hfp-hf	Hands-Free (v1.7)
  - hfp-ag	Hands-Free Audio Gateway (v1.7)
  - hsp-hs	Headset (v1.2)
  - hsp-ag	Headset Audio Gateway (v1.2)

This seems to be caused by the Pi onboard bluetooth and the hciattach settings. I now have smooth playback with the B3+ and some devices on the B3, but so far nothing on the Zero. Still working on it. I am running Arch Linux on my Pis and am using a pi-bluetooth user compiled package to get these going. Bluealsa works fine on all my Pis without onboard BT and a BT dongle.

@gearhead - any more progress? I've found that results depend greatly on the audio source used. With a linux box running pulseaudio or bluealsa as the source (I tried both rpi and intel laptop) I get good results on a pi3B+ using bluealsa-aplay as the sink. But using an android phone as the source I get the underruns and speed changes that you see.
For comparison, I removed bluealsa from the pi3B+ sink and installed pulseaudio with pulseaudio-module-bluetooth. Guess what - the results are exactly the same as with bluealsa.
So for me that proves that bluealsa is not to blame, and I suspect that there is little or nothing that bluealsa can do about it. This issue needs to be taken to a rpi forum (or possibly a bluez forum) where more specialist knowledge may be found.

I have not had a lot of time recently. I find the same thing, though. I have 2 phones which play fine on the RPi with this. I tried an older Samsung tablet and get choppy playback on the B3, but works fine on the B3+ (with onboard BT). I have had no problems getting a BTUSB device working. The biggest challenge is getting the onboard BT working with this. I find that the deprecated hciattach is needed to get proper polayback and that btattach leads to choppy playback as does the alarm-bluetooth-raspberrypi package. I feel that BT on Linux has been given a back seat and it is a crime that the onboard BT is such a challenge. On the bluealsa side, I would like to see Hardware volume control of the alsa device and aptx playback, but so far so good. I have seen a bluealsa coredump on occasion, but think it has to do with the onboard BT and not bluealsa. If I run into anything more, I'll let you know.

On further reading, I found that the raspberry pi has 2 UART serial devices, and /dev/ttyAMA0 is the "most capable" one which must be used for bluetooth audio. Raspbian configures this out of the box, for other systems you would need to check.
My problem with the android phone was caused by my /boot/cmdline.txt where I had console=/dev/ttyAMA0
I changed this to console=serial0,115200, rebooted, and now my pi3b+ works fine as as a2dp sink with either bluealsa or pulseaudio.
Note that on the pi3b+ the hciattach command is:
/usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow - xx:xx:xx:xx:xx:xx
and that /dev/serial1 is a symlink to /dev/ttyAMA0
For the pi0w, the same change has greatly improved the result, but I am still getting occasional underruns (every 10 - 15 seconds or so); the speed fluctuation has gone. The hciattach command on the pi0w is the same as above.

I think RPi firmware improvements have largely resolved these issues now, and as it is clearly not an issue specifically with bluez-alsa I am closing now.


Requirements.txt & documentation

Hi
would be great to have a requirements.txt in the repo and some troubleshoot info: under a clean Ubuntu 20 instead "make pip install PyBluez" I've installed from the APT repo the packages "bluetooth python-bluez llibbluetooth-dev" (idk why, but only the pip package I've obtained an import bluetooth error )
Good work!
Cheers!

I've added a requirements.txt file (although the only pip dependency is PyBluez anyway).
The packages are only necessary if your distro has no Bluetooth support preinstalled. I've added a note in the readme about this.


Missing several dependencies for conda-store-server

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
Comparing https://github.com/conda-forge/conda-store-feedstock/blob/7e2769ccb0d85a2572bae83dfd04fd5db224229e/recipe/meta.yaml#L56
with
https://github.com/conda-incubator/conda-store/blob/b40b7e3ee910668d54fb29bf75eca8ddd36eb877/conda-store-server/pyproject.toml#L34
I see that several dependencies are missing (conda-lock, conda-pack, etc.).  This causes https://github.com/conda-incubator/conda-store/issues/818.
Installed packages
-

Environment info
-

Known issue, originally planned to be fixed through https://github.com/conda-incubator/conda-store/pull/801/files#diff-2798205d73e8179f7cd9fbc9da2c6446c88c25f80180a50971c37ea9c345c8f5
ended up being fixed in https://github.com/conda-incubator/conda-store/pull/827 so this should be in the upcoming release

Completed so will go ahead and close


z-index not working for opacity?

Hello there,
I Can't give a z-index value with opacity giving to div's, Am still noobie with JS but i debugged with the js file when i remove thous line's it work's fine with z-index's
Line 420: initial += '; opacity: ' + elem.config.opacity + '; '
Line 421: target  += '; opacity: 1; ';
Need help i can't popup any drop menu's outside the div's !
ScreenShot

Hey @Mustapha-Os read this! http://philipwalton.com/articles/what-no-one-told-you-about-z-index/
It looks like this isn’t a bug, but actually a part of the z-index specification. If you can put together a JSBin, I can help troubleshoot but there may not be much we can do.


no way to get audio?

Hi, just trying out to record audio from my Chinese IP cam. In the v380 Android app it works great (2-way).
I´m using the following to get a .mp4 file
./v380 -u admin -p MYPWD -addr X.X.X.X | ffmpeg -i - -r 25  -vcodec copy -acodec copy -map 0 -t 10 ./test.mp4

@makejoint The nodejs version will have audio muxed together https://github.com/prsyahmi/v380/tree/master/v380-nodejs
If you want to record the audio, you can just modify the code to output it to a file https://github.com/prsyahmi/v380/blob/master/v380/v380.cpp#L441


[Mono] Using DateTime.Now causes crash on MacOS Monterey in exported project

Godot version
3.4.stable.mono.official.206ba70f4
System information
MacOS 12.0.1 Monterey, 2.6 GHz 6-Core Intel Core i7
Issue description
Using DateTime.Now, for exampleGD.Print(DateTime.Now), causes a crash, but only when exported.
Steps to reproduce

Create a new Godot Mono project.
Create a scene with a script that calls DateTime.Now in _Ready(). Set this scene as the main scene for the project. Example:using Godot;
using System;

public class Main : Node
{
    public override void _Ready()
    {
        GD.Print(DateTime.Now);
    }
}

Run the project in the editor, notice that it works fine. The current date is printed.
Build and export the project for MacOSX using the default export template.
Run the exported .dmg or .pck file.

Current Behavior
The exported project crashes with the following error:
Current path: /Volumes/Test/Test.app
Godot Engine v3.4.stable.mono.official.206ba70f4 - https://godotengine.org
OpenGL ES 3.0 Renderer: AMD Radeon Pro 5300M OpenGL Engine
OpenGL ES Batching: ON

Registered camera FaceTime HD Camera (Built-in) with id 1 position 0 at index 0
ERROR: Mono: Core API hash mismatch.
   at: _init_godot_api_hashes (modules/mono/mono_gd/gd_mono.cpp:490)
Mono: Log file is: '/Users/<omitted>/Library/Application Support/Godot/app_userdata/Test/mono/mono_logs/2021-12-31_17.33.42_72504.log'
00:00:00.2000000

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: /Volumes/Test/Test.app/Contents/MacOS/../Resources/GodotSharp/Mono/lib/../lib/libmono-native.dylib assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
  at Interop+Sys..cctor () [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
   --- End of inner exception stack trace ---
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.TryLoadTzFile (System.String tzFilePath, System.Byte[]& rawData, System.String& id) [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.TryGetLocalTzFile (System.Byte[]& rawData, System.String& id) [0x0000f] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile () [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.GetLocalTimeZone (System.TimeZoneInfo+CachedData cachedData) [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo+CachedData.CreateLocal () [0x00018] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo+CachedData.get_Local () [0x0000c] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.get_Local () [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.DateTime.get_Now () [0x00008] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at Main._Ready () [0x00023] in <01334bbfb89e468a879c498a248e874e>:0

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: /Volumes/Test/Test.app/Contents/MacOS/../Resources/GodotSharp/Mono/lib/../lib/libmono-native.dylib assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
  at Interop+Sys..cctor () [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
   --- End of inner exception stack trace ---
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.TryLoadTzFile (System.String tzFilePath, System.Byte[]& rawData, System.String& id) [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.TryGetLocalTzFile (System.Byte[]& rawData, System.String& id) [0x0000f] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile () [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.GetLocalTimeZone (System.TimeZoneInfo+CachedData cachedData) [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo+CachedData.CreateLocal () [0x00018] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo+CachedData.get_Local () [0x0000c] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.get_Local () [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at System.DateTime.get_Now () [0x00008] in <6a7c203f6f7a4f07b7fa766077730d49>:0
  at Main._Ready () [0x00023] in <01334bbfb89e468a879c498a248e874e>:0
libc++abi: terminating with uncaught exception of type std::__1::system_error: recursive_mutex lock failed: Invalid argument

=================================================================
	Native Crash Reporting
=================================================================
Got a abrt while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x10074b815 - /Volumes/Test/Test.app/Contents/MacOS/Test :
	0x10073f3de - /Volumes/Test/Test.app/Contents/MacOS/Test :
	0x10074ae0f - /Volumes/Test/Test.app/Contents/MacOS/Test :
	0x7ff8144ade2d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
	0x7ff814457f4c - /usr/lib/libc++abi.dylib :
	0x7ff8143e4d10 - /usr/lib/system/libsystem_c.dylib : abort
	0x7ff8144550b2 - /usr/lib/libc++abi.dylib : abort_message
	0x7ff8144461e5 - /usr/lib/libc++abi.dylib : _ZL28demangling_terminate_handlerv
	0x7ff814343511 - /usr/lib/libobjc.A.dylib : _ZL15_objc_terminatev
	0x7ff8144544d7 - /usr/lib/libc++abi.dylib : _ZSt11__terminatePFvvE
	0x7ff814454488 - /usr/lib/libc++abi.dylib : _ZSt9terminatev
	0x1023d2768 - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN18VisualServerWrapMT29canvas_occluder_polygonallocnEv
	0x7ff814391cdd - /usr/lib/system/libsystem_c.dylib : __cxa_finalize_ranges
	0x7ff814391af7 - /usr/lib/system/libsystem_c.dylib : exit
	0x100d868ba - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN7ClassDB7creatorI11_GodotSharpEEP6Objectv
	0x100d9f09f - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN7ClassDB7creatorI11_GodotSharpEEP6Objectv
	0x100da6854 - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN7ClassDB7creatorI11_GodotSharpEEP6Objectv
	0x100d0bea5 - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN7ClassDB7creatorI17MobileVRInterfaceEEP6Objectv
	0x1012faa2a - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN7ClassDB7creatorI9SceneTreeEEP6Objectv
	0x10182de66 - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN19AudioStreamPlayer2D11_mix_audiosEPv
	0x102442283 - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZNK6Object15get_instance_idEv
	0x1012fc67b - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZNK4Node8get_treeEv
	0x1012fc62f - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZNK4Node8get_treeEv
	0x10130181f - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZNK4Node14is_inside_treeEv
	0x101330014 - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZNK4Node14is_inside_treeEv
	0x100986600 - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN16DefaultAllocator5allocEm
	0x10098cdab - /Volumes/Test/Test.app/Contents/MacOS/Test : _ZN9DirAccess15_create_builtinI12DirAccessOSXEEPS_v
	0x1070e34fe - Unknown
	0x0 - Unknown
	0x100671000 - /Volumes/Test/Test.app/Contents/MacOS/Test : __dso_handle

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145343090688x from 0x4413810176x
Could not exec mono-hang-watchdog, expected on path '/Volumes/Test/Test.app/Contents/MacOS/../Resources/GodotSharp/Mono/etc/../bin/mono-hang-watchdog' (errno 2)
Entering thread summarizer pause from 0x4413810176x
Finished thread summarizer pause from 0x4413810176x.
Failed to create breadcrumb file (null)/crash_hash_0x0
libc++abi: terminating with uncaught exception of type std::__1::system_error: recursive_mutex lock failed: Invalid argument

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff814462112):0x7ff814462102  ff ff c3 90 90 90 b8 48 01 00 02 49 89 ca 0f 05  .......H...I....
0x7ff814462112  73 08 48 89 c7 e9 d5 a1 ff ff c3 90 90 90 b8 53  s.H............S
0x7ff814462122  00 00 02 49 89 ca 0f 05 73 08 48 89 c7 e9 bd a1  ...I....s.H.....
0x7ff814462132  ff ff c3 90 90 90 b8 83 01 00 02 49 89 ca 0f 05  ...........I....

=================================================================
	Managed Stacktrace:
=================================================================
=================================================================
fish: Job 1, './Contents/MacOS/Test' terminated by signal SIGABRT (Abort)

Relevant Software Versions:
MacOS Version: 12.0.1 (Monterey)
Godot Version: 3.4.stable.mono.official.206ba70f4
Mono Version: <IP_ADDRESS>
Minimal reproduction project
Test.zip

From the mono log:
code signature in <91F445A5-77C5-307D-8273-05EFB1598136> '.../libmono-native.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?))

Seems like Mono do not like ad-hoc signature.
Use a proper signature, or disable Hardened runtime in the export setting if you want ad-hoc signing.

Thanks for finding that. Disabling "Hardened Runtime" in the export template and re-exporting fixed the problem. The exported project runs correctly now.

From the mono log:
code signature in <91F445A5-77C5-307D-8273-05EFB1598136> '.../libmono-native.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?))

Seems like Mono (or macOS dyld) do not like ad-hoc signature. Use a proper signature, or disable Hardened runtime in the export setting if you want ad-hoc signing.

This worked! Thank you. Feel free to close this issue.

Use a proper signature, or disable Hardened runtime in the export setting if you want ad-hoc signing.

Should we disable Hardened runtime by default, or maybe better can we validate that there's proper signing credentials provided when Hardened runtime is enabled, and otherwise raise an error?

I think having an error/warning message when no credentials/invalid credentials are provided would be a good route. As long as the message also tells me I can uncheck "hardened runtime" to avoid dealing with notarization for now during development.


netboot: docs: building netboot should specify an arch

Motivation for this change
The command currently listed in the documentation does not work. It tries to build all architectures and fails on aarch64-linux.
Things done

Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[X] Fits CONTRIBUTING.md.

Any reason this isn't merged yet?


Theano Lasagne Inference

Hi,
Apart using HLS to do inference, I would like to have sample on theano lasagne to perform inference and cross-check with HLS.
Any example can be given?
Thanks

you can take a look at this inference script

Good. Thanks


Experiment: http.ResponseController.EnableFullDuplex()

Experiments with http.ResponseController.EnableFullDuplex().

EnableFullDuplex is currently failing on the ResponseController since ResponseWriter that is received in ServeHTTP is Negroni.ResponseWriter which does not provide EnableFullDuplex. There is an issue opened about Negroni being outdated.

Yes, I've opened that issue after attempting with this branch. The PR was to share progress with @geofffranks and can be closed now. I will do that latest next week when I'm back at work.

Closing this PR. It was an experiment with EnableFullDuplex that didn't work and resulted in https://github.com/cloudfoundry/routing-release/issues/373.

@peanball I am looking into this right now. I think I would make PR to negroni to add this.

Negroni looks like a dead project through.
Before making a PR there we might consider a locally patched version, try if it gives us the gains that @geofffranks was hoping for and only then consider resurrecting this project.
That said, there might be other features we might like from newer Go versions now or later that would have to be added by us to Negroni instead of a framework's maintainers.

@peanball so I looked into this more and negroni provides an Unwrap method to the ResponseWriter - https://github.com/urfave/negroni/commit/59d32aab419da1606c459c848c7586ef52b07a4b which will satisfy the latest ResponseController and eventually EnableFullDuplex will be called on the underlying http.ResponseWriter.
Negroni actually has v2 and v3 versions, that are not visible on their releases page, but can be imported as github.com/urfave/negroni/v3. The problem is that Unwrap was not released on v3 yet. And looking at Issue the last comment from December 2023 stated that author is temporarily unavailable. So I would give it couple more months to see if he will be back and cut a new release. For now I pinned the negroni to latest v3.
Here is the proposed change for the Gorouter: https://github.com/cloudfoundry/gorouter/pull/395
Related change in routing-release: https://github.com/cloudfoundry/routing-release/pull/389


interaction fast mouse identification [suggest]

On my side I do this to manage the identifications click of my mouse and possibly an xbox controller.
var interaction = $app.renderer.plugins.interaction;
    Object.defineProperty(interaction.eventData, 'isLeft'  , { get: function() { return this.data.button === 0 } }); // <==
    Object.defineProperty(interaction.eventData, 'isRight' , { get: function() { return this.data.button === 2 } }); // ==>
    Object.defineProperty(interaction.eventData, 'isMiddle', { get: function() { return this.data.button === 1 } }); // =|=

It just a idea, but i think the InteractionEvent  should have some native method or getter to fast check what kind of click is used ?
My laziness made me think it would be pretty good.
this allow shortcut and less code.. it not impact performance.
example:
Instead to scope variable like this for each listener.
    pointerup_pinSlot(e) {
        const ee = e.currentTarget;
        const isLeft   = e.data.button === 0;
        const isRight  = e.data.button === 2;
        const isMiddle = e.data.button === 1;
        if (isLeft) {
            //do stuff
        }else
        if (isRight) {

        }
    };

use getter from the event
    pointerup_pinSlot(e) {
        const ee = e.currentTarget;
        if (e.isLeft) {
            //do stuff
        }else
        if (e.isRight) {

        }
    };

good or bad idea ?

I personally feel that we shouldn't bloat the api where it isn't required. The entire web world is used to distinguishing between which button is pressed via the button property.
I also feel it's something that if you wanted, that it might be best served as a function on the event callback rather than adding properties into the event data itself.
const buttonName = getButtonName( e.data.button );
if ( buttonName === 'left' ) {
 // blah blah
}


How can I training with original datasets?

How can I training with original datasets with PVCNN?

Hi, @crea397. In general, to train a model, you can run,
python train.py [config-file] --devices [gpu-ids]

For example, to train PVCNN on S3DIS holding out Area 5, you can run
python train.py configs/s3dis/pvcnn/area5/c1.py --devices 0,1


Implement series.apply()

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

In the file sdc/datatypes/hpat_pandas_series_functions.py:

Line 4135:1: E402 module level import not at top of file

In the file sdc/tests/test_series.py:

Line 230:1: E402 module level import not at top of file

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

In the file sdc/datatypes/hpat_pandas_series_functions.py:

Line 4135:1: E402 module level import not at top of file

In the file sdc/tests/test_series.py:

Line 230:1: E402 module level import not at top of file

Please fix these code style issues.


While android app is in background or dead remote notifications are doubled.

While android app is in background(or dead) remote notifications are doubled, I tested with local notifications before and everything worked..
This issue happens only on android, ios works fine.

SOLVED!
Avoid using fcm and gcm in the same project. Use just one of them, either fcm or gcm.
Consult your gradle files for this.

Hi, I get the same error but I'm using only FCM. Could you share your gradle files?

Hello @mtumiati ,
Meanwhile I switched to react-native-push-notification-ce.
I find it much stable!

Thank you very much @rcristianonescu!
I will try it for sure!