Order class inheritance is crashing schema converter

Describe the Bug
Consider code below
@dataclasses.dataclass
class FilterBase:
    name: strawberry.auto

@strawberry_django.filter(SomeModel, lookups=True)
class Filter(FilterBase):
    pass

@dataclasses.dataclass
class OrderBase:
    name: strawberry.auto

@strawberry_django.order(SomeModel)
class Order(OrderBase):
    pass

@strawberry_django.type(SomeModel, order=Order, filters=Filter)
class SomeModel(strawberry.relay.Node):
    name: strawberry.auto

The filter will work just fine but the order will crash the schema converter. If I remove OrderBase and inline the name annotation in Order then everything works as inteded.
Stacktrace:
Traceback (most recent call last):
  File "/workspace/backend/.venv/lib/python3.11/site-packages/graphql/type/definition.py", line 1456, in fields
    fields = resolve_thunk(self._fields)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/graphql/type/definition.py", line 300, in resolve_thunk
    return thunk() if callable(thunk) else thunk
           ^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 403, in <lambda>
    fields=lambda: self.get_graphql_input_fields(type_definition),
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 382, in get_graphql_input_fields
    return _get_thunk_mapping(
           ^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 133, in _get_thunk_mapping
    thunk_mapping[name_converter(field)] = field_converter(
                                           ^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 349, in from_input_field
    self.from_maybe_optional(
  File "/workspace/backend/.venv/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 769, in from_maybe_optional
    return GraphQLNonNull(self.from_type(type_))
                          ^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 802, in from_type
    raise TypeError(f"Unexpected type '{type_}'")
TypeError: Unexpected type 'typing.Any'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/core/management/commands/runserver.py", line 118, in inner_run
    self.check(display_num_errors=True)
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/core/management/base.py", line 419, in check
    all_issues = checks.run_checks(
                 ^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/core/checks/registry.py", line 76, in run_checks
    new_errors = check(app_configs=app_configs, databases=databases)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/core/checks/urls.py", line 40, in check_url_namespaces_unique
    all_namespaces = _load_all_namespaces(resolver)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/core/checks/urls.py", line 57, in _load_all_namespaces
    url_patterns = getattr(resolver, 'url_patterns', [])
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/utils/functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/urls/resolvers.py", line 602, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
                       ^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/utils/functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/django/urls/resolvers.py", line 595, in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/workspace/backend/foo/urls.py", line 13, in <module>
    from .app.graphql.schema import schema
  File "/workspace/backend/foo/app/graphql/schema.py", line 60, in <module>
    schema = Schema(
             ^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/strawberry/schema/schema.py", line 141, in __init__
    self._schema = GraphQLSchema(
                   ^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/graphql/type/schema.py", line 224, in __init__
    collect_referenced_types(query)
  File "/workspace/backend/.venv/lib/python3.11/site-packages/graphql/type/schema.py", line 435, in collect_referenced_types
    collect_referenced_types(arg.type)
  File "/workspace/backend/.venv/lib/python3.11/site-packages/graphql/type/schema.py", line 438, in collect_referenced_types
    for field in named_type.fields.values():
                 ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/functools.py", line 1001, in __get__
    val = self.func(instance)
          ^^^^^^^^^^^^^^^^^^^
  File "/workspace/backend/.venv/lib/python3.11/site-packages/graphql/type/definition.py", line 1459, in fields
    raise cls(f"{self.name} fields cannot be resolved. {error}") from error
TypeError: Order fields cannot be resolved. Unexpected type 'typing.Any'

System Information

Strawberry version (if applicable): 0.16.0

Hi @Mapiarz ,
The issue here is that you are using auto inside a dataclass. It would also have the same issue when using @strawberry.type
When using auto, you want to do that inside a @strawberry_django.type class, just like I mentioned in this comment

@bellini666 Hey! Fair point about the dataclass. Nonetheless:

It works with dataclass for the filter
A strawberry_django.type has to be related to a specific django model. What if I want to reuse the base strawberry_django.type for multiple types associated with different django models? (this is not shown in my initial example above but that's my real world use case). Can I associate a strawberry_django.type with an abstract base django model?
Even if I try to use strawberry_django.type I still get the same issue. Could it have something to do with inheritance? In my example, SomeModel get's the name field from a base abstract model.


Can't get Program to Run

Hey, so I followed the instructions exactly for the Windows install, but I can't get the program to run. I click on play.py and a CMD window opens for a split-second, then closes again.
Any ideas on troubleshooting?
My PC is a Ryzen 3800X, 2080TI, 32GB RAM.

Which Branch are you using? Master or the Experimental Branch?
It could be a wide variety of things. Are you running play.py outside of the folder, or are you keeping it inside the source code folder?

Mainline release 1.2
I've kept it within the source folder. All my other Python programs run properly, this one just refuses to open for some odd reason.
I've tried full uninstalls and reinstalls three times now. I'll try a fourth and update accordingly.

Well, this is somewhat embarassing, on the fifth reinstall, everything started functioning perfectly. I guess I'll chalk it up to Windows 10 being Windows 10.
Good job on the program so far! I'm excited to see where it goes!


Cannot compile nimble 9.1 on R 4.0.2 using Mac OS X 10.15.6, Xcode 11.6

After installing R6 and igraph successfully, I failed to compile the nimble 9.1 from the nimble.org.
I am using R installed via Macports.
Xcode was updated on July 17th.
I re-installed the X-code command line tools after this upgrade.
I was able to install the rstan and McElreath's rethinking package in R without trouble.
install.packages("nimble", repos = "http://r-nimble.org", type = "source")

Installing package into ‘/Users/blaine/Library/R/4.0/library’
(as ‘lib’ is unspecified)
trying URL 'http://r-nimble.org/src/contrib/nimble_0.9.1.tar.gz'
Content type 'application/x-gzip' length 1902835 bytes (1.8 MB)
==================================================
downloaded 1.8 MB

* installing *source* package ‘nimble’ ...
** using staged installation
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ -std=gnu++11 accepts -g... yes
working on eigen
checking how to run the C++ preprocessor... /usr/bin/clang++ -std=gnu++11 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Eigen/Dense usability... no
checking Eigen/Dense presence... no
checking for Eigen/Dense... no
Using the version of Eigen provided with NIMBLE
ENABLE_LIB=false
configure: creating ./config.status
config.status: creating inst/make/Makevars
config.status: creating inst/make/Makevars_lib
config.status: creating R/config.R
config.status: creating src/Makevars
removing debugging flags
/opt/local/Library/Frameworks/R.framework/Resources/bin/Rscript --vanilla ./customizeMakeconf.R
Building libnimble.a
/usr/bin/clang++ -std=gnu++11 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DR_NO_REMAP -I"../include"  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -include /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp -I '/Users/blaine/Library/R/4.0/library/StanHeaders/include' -I '/Users/blaine/Library/R/4.0/library/RcppEigen/include' -fPIC  -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64  -c RcppUtils.cpp -o RcppUtils.o
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:22:30: error:
      no template named 'conditional_t' in namespace 'std'; did you mean
      'conditional'?
using double_return_t = std::conditional_t<std::is_const<std::remove_ref...
                        ~~~~~^~~~~~~~~~~~~
                             conditional
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:440:33: note:
      'conditional' declared here
    struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
                                ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:22:63: error:
      no template named 'remove_reference_t' in namespace 'std'; did you mean
      'remove_reference'?
  ...= std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
                                        ~~~~~^~~~~~~~~~~~~~~~~~
                                             remove_reference
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1131:50: note:
      'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_referenc...
                                                 ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:26:31: error:
      no template named 'conditional_t' in namespace 'std'; did you mean
      'conditional'?
using reverse_return_t = std::conditional_t<std::is_const<std::remove_re...
                         ~~~~~^~~~~~~~~~~~~
                              conditional
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:440:33: note:
      'conditional' declared here
    struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
                                ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:26:64: error:
      no template named 'remove_reference_t' in namespace 'std'; did you mean
      'remove_reference'?
  ...= std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
                                        ~~~~~^~~~~~~~~~~~~~~~~~
                                             remove_reference
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1131:50: note:
      'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_referenc...
                                                 ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:31:28: error:
      no template named 'conditional_t' in namespace 'std'; did you mean
      'conditional'?
using vari_return_t = std::conditional_t<std::is_const<std::remove_refer...
                      ~~~~~^~~~~~~~~~~~~
                           conditional
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:440:33: note:
      'conditional' declared here
    struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
                                ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:31:61: error:
      no template named 'remove_reference_t' in namespace 'std'; did you mean
      'remove_reference'?
  ...= std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
                                        ~~~~~^~~~~~~~~~~~~~~~~~
                                             remove_reference
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1131:50: note:
      'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_referenc...
                                                 ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:36:31: error:
      no template named 'conditional_t' in namespace 'std'; did you mean
      'conditional'?
using forward_return_t = std::conditional_t<std::is_const<std::remove_re...
                         ~~~~~^~~~~~~~~~~~~
                              conditional
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:440:33: note:
      'conditional' declared here
    struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
                                ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:36:64: error:
      no template named 'remove_reference_t' in namespace 'std'; did you mean
      'remove_reference'?
  ...= std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
                                        ~~~~~^~~~~~~~~~~~~~~~~~
                                             remove_reference
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1131:50: note:
      'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_referenc...
                                                 ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:60:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<std::is_pointer<T>::value, reverse_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:66:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<(!std::is_pointer<T>::value && !is_fvar<T>::value
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:73:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<is_fvar<T>::value, forward_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:79:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<std::is_arithmetic<T>::value, double_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:148:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<std::is_pointer<T>::value, reverse_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../include/Eigen/Dense:1:
In file included from ../include/Eigen/Core:415:
In file included from ../include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:154:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<!std::is_pointer<T>::value, reverse_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
14 errors generated.
make: *** [RcppUtils.o] Error 1
rm -f Makeconf
** libs
/usr/bin/clang++ -std=gnu++11 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DR_NO_REMAP -I../inst/include    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include   -include /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp -I '/Users/blaine/Library/R/4.0/library/StanHeaders/include' -I '/Users/blaine/Library/R/4.0/library/RcppEigen/include' -fPIC  -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64  -c RcppUtils.cpp -o RcppUtils.o
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:22:30: error:
      no template named 'conditional_t' in namespace 'std'; did you mean
      'conditional'?
using double_return_t = std::conditional_t<std::is_const<std::remove_ref...
                        ~~~~~^~~~~~~~~~~~~
                             conditional
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:440:33: note:
      'conditional' declared here
    struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
                                ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:22:63: error:
      no template named 'remove_reference_t' in namespace 'std'; did you mean
      'remove_reference'?
  ...= std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
                                        ~~~~~^~~~~~~~~~~~~~~~~~
                                             remove_reference
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1131:50: note:
      'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_referenc...
                                                 ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:26:31: error:
      no template named 'conditional_t' in namespace 'std'; did you mean
      'conditional'?
using reverse_return_t = std::conditional_t<std::is_const<std::remove_re...
                         ~~~~~^~~~~~~~~~~~~
                              conditional
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:440:33: note:
      'conditional' declared here
    struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
                                ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:26:64: error:
      no template named 'remove_reference_t' in namespace 'std'; did you mean
      'remove_reference'?
  ...= std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
                                        ~~~~~^~~~~~~~~~~~~~~~~~
                                             remove_reference
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1131:50: note:
      'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_referenc...
                                                 ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:31:28: error:
      no template named 'conditional_t' in namespace 'std'; did you mean
      'conditional'?
using vari_return_t = std::conditional_t<std::is_const<std::remove_refer...
                      ~~~~~^~~~~~~~~~~~~
                           conditional
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:440:33: note:
      'conditional' declared here
    struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
                                ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:31:61: error:
      no template named 'remove_reference_t' in namespace 'std'; did you mean
      'remove_reference'?
  ...= std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
                                        ~~~~~^~~~~~~~~~~~~~~~~~
                                             remove_reference
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1131:50: note:
      'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_referenc...
                                                 ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:36:31: error:
      no template named 'conditional_t' in namespace 'std'; did you mean
      'conditional'?
using forward_return_t = std::conditional_t<std::is_const<std::remove_re...
                         ~~~~~^~~~~~~~~~~~~
                              conditional
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:440:33: note:
      'conditional' declared here
    struct _LIBCPP_TEMPLATE_VIS conditional {typedef _If type;};
                                ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:36:64: error:
      no template named 'remove_reference_t' in namespace 'std'; did you mean
      'remove_reference'?
  ...= std::conditional_t<std::is_const<std::remove_reference_t<T>>::value,
                                        ~~~~~^~~~~~~~~~~~~~~~~~
                                             remove_reference
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1131:50: note:
      'remove_reference' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_referenc...
                                                 ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:60:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<std::is_pointer<T>::value, reverse_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:66:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<(!std::is_pointer<T>::value && !is_fvar<T>::value
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:73:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<is_fvar<T>::value, forward_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:79:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<std::is_arithmetic<T>::value, double_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:148:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<std::is_pointer<T>::value, reverse_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
In file included from <built-in>:1:
In file included from /Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:415:
In file included from ../inst/include/Eigen/src/Core/MatrixBase.h:130:
/Users/blaine/Library/R/4.0/library/StanHeaders/include/stan/math/prim/mat/eigen_plugins.h:154:10: error:
      no template named 'enable_if_t' in namespace 'std'; did you mean
      'enable_if'?
    std::enable_if_t<!std::is_pointer<T>::value, reverse_return_t<T>>
    ~~~~~^~~~~~~~~~~
         enable_if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:451:63: note:
      'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
                                                              ^
14 errors generated.
make: *** [RcppUtils.o] Error 1
ERROR: compilation failed for package ‘nimble’
* removing ‘/Users/blaine/Library/R/4.0/library/nimble’

The downloaded source packages are in
	‘/private/var/folders/mv/1w6nby494g5b3vjf661ktyfr0000gn/T/RtmpBiIj1q/downloaded_packages’
Warning message:
In install.packages("nimble", repos = "http://r-nimble.org", type = "source") :
  installation of package ‘nimble’ had non-zero exit status

The error message suggested an issue with the StanHeaders pacakge.
I went to the rstan github site.
I found on this stan page the suggestion to run the r-macos-rtools
I downloaded and ran the installer which does several things including moving old configuration files to backup status.
I had R open; I closed it.
I started R again.
I reran the above install code without errors.
I was able to load the nimble library and run the first example correctly.
Other Mac OS users with Catalina may need the above helpful.

I have been out of the R world for a few months.
I missed the memo about  r-macos-rtools.

Hi @MooersLab Thanks for this report and the solution.  We'll point others to the solution you provided.


[BUG]: FastAPI Server Pydantic 1.x compatibility

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

Support for pydantic 1.x in FastAPI server. Closes #2137

Test plan
How are these changes tested?

[x] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
N/A

#2229  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tazarov and the rest of your teammates on  Graphite


Add tar verbose option

Hi, thank you for nice tool!
I added tar_verbose option to hide tar command output.

Thanks


Allow additional optional and rest arguments in classes that implement interfaces

Hi, I noticed that method signature need to match exactly when using interfaces.
I found it quite annoying since some libraries define getter methods with additional unused rest arguments eg. ActiveRecord::Attributes. This means that I would have to define the interface with additional rest arguments and also add those rest arguments to regular manual getters in other classes.
This PR allows classes that implements interfaces to define additional optional or rest arguments.
module InterfaceOne
  def foo(a, b); end
  def bar(a); end
end

class KlassOne
  extend Interfaceable
  implements InterfaceOne

  # this will be accepted
  def foo(a, b, c = 4); end

  # this will be accepted as well
  def bar(a, *args, **kwargs); end
end

module InterfaceTwo
  def foo(a, b, c = 5); end
  def bar(a, *args); end
end

class KlassTwo
  extend Interfaceable
  implements InterfaceTwo

  # this will not be accepted
  def foo(a, b); end

  # this is invalid
  def bar(a); end
end

This looks good to me. The only thing, I would add new tests (where applicable) rather than adding to the existing ones.

Oh, and please also update the readme.

Sure, I've just added new test cases and updated the readme

Thank you for your pr. I pushed an updated version of the gem.


The keras model in examples can not compile successfully

Pls add some description and environment information.

Duplicate with #258.


App no longer uses JSoup and Rssparser

Editing the readme file to update the libraries used.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1897   +/-   ##
======================================
  Coverage    3.69%   3.69%
======================================
  Files         192     192
  Lines        9912    9912
  Branches      886     886
======================================
  Hits          366     366
  Misses       9519    9519
  Partials       27      27

Continue to review full report at Codecov.

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

Thanks @maskaravivek !


Fix compilation error when _CLK_BREAKDOWN is defined in cagra.

Port from https://github.com/rapidsai/raft/pull/2350

/ok to test

/merge


remove defer to simplify waitgroup usage

https://github.com/webrtc-rs/ice/commit/31d4fcb61011cac8f8da4f691c3afce45c191c0f#r52256521

thanks for this optimization.


Correcting a typo

@mlykotom can you please help unblock this issue :)? I can see that the emulator failed to be created in the CI/CD pipeline.


Almost 100% partial call path when profiling sweep3d on gpu.cs (x86_64)

Application: sweep3d
Compiler: mpif90 from OpenMPI 3.1.0 built with GCC 4.8.5
Compiled with: -g -O2 -fopenmp
Platform: gpu.cs (x86-64)
HPCToolkit branch: master

Summary of samples in the measurement directory:
sweep3d.mpi-000000-000-2a805680-166708-0.log:SUMMARY: samples: 3176 (recorded: 3164, blocked: 12, errant: 3148, trolled: 0, yielded: 0),
sweep3d.mpi-000001-000-2a805680-166709-0.log:SUMMARY: samples: 3185 (recorded: 3172, blocked: 13, errant: 3157, trolled: 0, yielded: 0),
sweep3d.mpi-000002-000-2a805680-166711-0.log:SUMMARY: samples: 3192 (recorded: 3178, blocked: 14, errant: 3161, trolled: 0, yielded: 0),
sweep3d.mpi-000003-000-2a805680-166713-0.log:SUMMARY: samples: 3159 (recorded: 3145, blocked: 14, errant: 3129, trolled: 0, yielded: 0),
sweep3d.mpi-000004-000-2a805680-166717-0.log:SUMMARY: samples: 3175 (recorded: 3163, blocked: 12, errant: 3145, trolled: 0, yielded: 0),
sweep3d.mpi-000005-000-2a805680-166720-0.log:SUMMARY: samples: 3176 (recorded: 3162, blocked: 14, errant: 3144, trolled: 0, yielded: 0),

Snippet of the log file:
[166708, 0]: -- begin new backtrace (innermost first) [PARTIAL] ----------
[166708, 0]: NULL (0): ip = 0x405c40 (0x405c40), load module = /home/la5/git/sweep3d/sweep3d.mpi | lip
[166708, 0]: NULL (0): ip = 0x406029 (0x406029), load module = /home/la5/git/sweep3d/sweep3d.mpi | lip
[166708, 0]: NULL (0): ip = 0x404131 (0x404131), load module = /home/la5/git/sweep3d/sweep3d.mpi | lip
[166708, 0]: NULL (0): ip = 0x403c59 (0x403c59), load module = /home/la5/git/sweep3d/sweep3d.mpi | lip
[166708, 0]: NULL (0): ip = 0x40176a (0x40176a), load module = /home/la5/git/sweep3d/sweep3d.mpi | lip
[166708, 0]: NULL (0): ip = 0x4010ed (0x4010ed), load module = /home/la5/git/sweep3d/sweep3d.mpi | lip
[166708, 0]: NULL (0): ip = 0x0 (0x0), load module = (null) | lip
[166708, 0]: -- end backtrace ------------------------------------

Result from gdb:
(gdb) x/i 0x4010ed
   0x4010ed <_start>:   xor    %ebp,%ebp
(gdb) x/i 0x40176a
   0x40176a <driver+1418>:      cmpl   $0x1,0x1f4(%rsp)

A possible reason of the bad unwinding is because sweep3d uses stop function to end the program:
1             program driver
...
198           call task_end()
199
200           stop
201           end

@jmellorcrummey : you can find the executable binary on gpu.cs at my home directory:
/home/la5/git/sweep3d

The executable is sweep3d.mpi:
-rwxr-xr-x. 1 la5 cs 199752 Apr  9 17:11 sweep3d.mpi

This repository has moved to GitLab, please continue this issue there.


Bugfix: Prevent 'unserializable' error for unknown SAN types

When parsing SAN's, ignore unknown san_types, because in some cases they can contain unparsable/serializable values, resulting in a TypeError(repr(o) + " is not JSON serializable")

Coverage remained the same at 60.906% when pulling dcf5ce0eecfe0bb1b71b4b36887234fccfdcc0df on rmoesbergen:master into afc7512914c2cedb987fa1219536c838f6a5aded on Netflix:master.


[Bug]: Sticky Roll cannot used if installing on nextjs framework

Contact Details
<EMAIL_ADDRESS>What happened?
trying install in nextjs framework , after install ,  trying using in page.js
got error like image below,
any idea for fix this issue ?

Version
2.x (Default)
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

this happens due to the new server components in next.js.
Since stickyroll uses user-interaction (client component) useEffect is required, therefore the file with your stickyroll should use 'use client'
See: https://nextjs.org/docs/getting-started/react-essentials#client-components

oh i see, i also didn't realize that it's an issue from the latest nextjs need to add use client

it should only have that issue if you aue the new app folder (instead of pages)


When there is any unpublished content, umbNav breaks: Failed to convert Meganav {ex}

Which exact Umbraco version are you using? For example: 8.7.0 - don't just write v8 or v9
8.16
Bug summary
When the global nav contains unpublished items, the navigation disappears
Failed to convert Meganav "System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedContentExtensions.GetCultureFromDomains(IPublishedContent content, Uri current) in D:\a\1\s\src\Umbraco.Web\PublishedContentExtensions.cs:line 202
at AaronSadler.MegaNavV8.Core.ValueConverters.MeganavV8ValueConverter.BuildMenu(IEnumerable1 items, Int32 level)    at AaronSadler.MegaNavV8.Core.ValueConverters.MeganavV8ValueConverter.BuildMenu(IEnumerable1 items, Int32 level)
at AaronSadler.MegaNavV8.Core.ValueConverters.MeganavV8ValueConverter.BuildMenu(IEnumerable`1 items, Int32 level)
at AaronSadler.MegaNavV8.Core.ValueConverters.MeganavV8ValueConverter.ConvertIntermediateToObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, Object inter, Boolean preview)"
Specifics
Tested in Chrome and Firefox
Steps to reproduce
Create a navigation map where a page is unpublished
Expected result / actual result
Expected: When there is an unpublished page in the navigation, it just musn´t be showed in the menu, not break the navigation menu
Actual: Instead of returning {System.Linq.Enumerable.WhereListIterator<AaronSadler.MegaNavV8.Core.Models.MeganavV8Item>} it returns {AaronSadler.MegaNavV8.Core.Models.MeganavV8Item[0]} despite many others published pages in the navigation
Actual:

Sorry for the delay, I will look into this today 🙂

@mrrm Can you confirm you are using the latest version of UmbNav and not MegaNavV8
UmbNav superseeded MegaNavV8 early last year

Hi @AaronSadlerUK . I've tried with the latest version of UmbNav as well. Same issue with unpublished pages in the menu.

@mrrm I haven't been able to replicate this, I have added an additional check in 1.1.1 (which i released within the last half hour) try that.
Otherwise I'll need more info / examples to debug further

@AaronSadlerUK thanks. this issue got away when I updated the package


Conflicting metadata name Tactics, need distinguishing prefix

Hi there,
I am getting this error currently.
Traceback (most recent call last):
File "EnterpriseAPT29Eval.py", line 302, in
obj = EnterpriseAPT29Eval(infile)
File "EnterpriseAPT29Eval.py", line 17, in init
self._df = pd.json_normalize(self._obj,'Steps', ['TechniqueId','TechniqueName', 'Tactics'])
File "/home/galenhare/.local/lib/python3.8/site-packages/pandas/io/json/_normalize.py", line 354, in _json_normalize
raise ValueError(
ValueError: Conflicting metadata name Tactics, need distinguishing prefix
Not sure what its about. I am also using linux subsystem for windows if that is any help. Any help would be much appreciated.
Thank you

Thanks, there was a change in the json_normalize call that created this and the fix is having a waterfall effect in the code due to the change in the dataframe, I'm working to fix.
On Oct 21 2020, at 8:13 am, GalenHare<EMAIL_ADDRESS>wrote:

Hi there,
I am getting this error currently.
Traceback (most recent call last):
File "EnterpriseAPT29Eval.py", line 302, in
obj = EnterpriseAPT29Eval(infile)
File "EnterpriseAPT29Eval.py", line 17, in init
self._df = pd.json_normalize(self._obj,'Steps', ['TechniqueId','TechniqueName', 'Tactics'])
File "/home/galenhare/.local/lib/python3.8/site-packages/pandas/io/json/_normalize.py", line 354, in _json_normalize
raise ValueError(
ValueError: Conflicting metadata name Tactics, need distinguishing prefix
Not sure what its about. I am also using linux subsystem for windows if that is any help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/47AE948B-490C-4BFC-99C5-7CD8DBE60AE6@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2Fjoshzelonis%2FEnterpriseAPT29Eval%2Fissues%2F4&recipient=cmVwbHkrQUM2WEo2TjNYWjdBSVBUWklTU0dBN0Y1VFFZVERFVkJOSEhDV1RXVlRRQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/47AE948B-490C-4BFC-99C5-7CD8DBE60AE6@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAC6XJ6MQRSJL7IDXKBSM24TSL33DDANCNFSM4SZ5PKUA&recipient=cmVwbHkrQUM2WEo2TjNYWjdBSVBUWklTU0dBN0Y1VFFZVERFVkJOSEhDV1RXVlRRQHJlcGx5LmdpdGh1Yi5jb20%3D).

I've just pushed an update, sorry for the delay on this.


Try to detect error string in body

The AVR-1912 returns 200 OK on POST to /goform/AppCommand.xml, but with
a error in the body.
Before this patch, that error was missed and a empty mapping for
renamed_sources and deleted_sources was returned, togeather with a
status of True, so _get_renamed_deleted_sources was never run.

This is great! I have a Marantz SR5006 and debugged the No mapping for audio source X error I had and this was the source of the bug. Looking forward to get this merged.

hey @glance- ,
thank you for the fix. I'll include that to my next version :)
Could you please send me an example of your AppCommand.xml for my local tests? You can use the small script attached, which will store the result to AppCommand_saved.xml in the same directory:
python denon_appcommand_output.py --host <IP_ADDRESS>
denon_appcommand_output.zip

$ python3 denon_appcommand_output.py --host <IP_ADDRESS>
HTTP Status Code: 200
$ cat AppCommand_saved.xml
<title>Document Error: Data follows</title>

Access Error: Data follows

Form AppCommand.xml is not defined

$

AppCommand_saved.zip

thanks :)
added the new version to homeassistant
https://github.com/home-assistant/home-assistant/pull/7779


I ~hate~ love Github 😂


AddKeyValueString is not adding quote

AddKeyValueString is not adding quote to integer-convertable-string.
example:
var err error
b := jin.MakeEmptyJson()
b, err = jin.AddKeyValueString(b, "age", "3123")
if err != nil {
	fmt.Println(err)
	return
}
fmt.Println(string(b))

outpput:
{"age":3123}

expecting:
{"age":"3123"}

Because I am adding value as "String".

strangely it seems like the branch which is the solution is actually the problem...


vulkaninfo/cube: added support for OpenBSD

Author brad0 not on autobuild list. Waiting for curator authorization before starting CI build.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

CI Vulkan-Tools build queued with queue ID 23531.

CI Vulkan-Tools build # 781 running.

CI Vulkan-Tools build # 781 passed.


add color legend for quantitative data

User story
Users want to see what the colors represent.
Preferred solution
Legend on a additional layer in spatial views?

Related to #125


Use Zalando's fork of aws-maven

Zalando' fork:

Updates the amazonaws.version from 1.7.1 to 1.11.39
Does not depend on the whole amazon-aws-sdk package, only on the s3 component
Does not have a transitive range dependency on joda-time, which was
problematic when packaging K with Nix

/cc @ehildenb @ttuegel

Can one of the admins verify this patch?

Jenkins: test this please

Jenkins: test this please


Document MicrosoftGraphOrgReaderProcessor integration

Now that we have a good documentation for GithubOrgReaderProcessor and LdapOrgReaderProcessor thanks to #4561 we should also provide one for MicrosoftGraphOrgReaderProcessor.

How to setup?
How to configure? (Secrets, filters, ...)

Would this be in an Azure section or a Microsoft Graph section? It's for more than just Azure right

I'm not an expert of Microsoft products, but I think it's not related to Azure.

Are we sure about the good first issue label here? As a newbie, I'm not entirely sure where to get started if I decide to pick this up. Which – I'd like to pick this up if possible. 😬

It would be a kinda good learning exercise for understanding the catalog, I think! You have the two other "Org Data" sections in the docs (e.g. here) to base it off of, and it's mostly about documenting the config options etc which requires you to learn a bit about how config propagates in backstage. Little things like that. I can help out if you want.

Hi folks, if @TejasQ hasn't been assigned to this and isn't already working on it, I'd appreciate if I could take a stab at it

@TejasQ, do you want this one or should we pass it on to @Amir-Abushanab?

Seems like @TejasQ is busy with other things :) it's all yours @Amir-Abushanab

My PR for splitting this out into a separate package (#5854) also contains the documentation in the README. Do we just want to include a small page in the microsite that links to the README?


Make fuzzing functionality generic

For fuzzing, we currently have the following custom code:

Current/max number of iterations of the event loop
Custom pressure path.

Both of these could be consolidated to non-fuzzer specific code. For example, the custom pressure path can just be searched for either resource.pressure or resource instead of /proc and the logind seat cgroup.
Both can then be attached to a getopt_long loop. A help should be added as well.

These mostly got isolated pretty well now, and with the avoidance of having to worry about get_pressure_file shenanigans.
For now let's leave it as is made with the change to check_fuzzers().


Added error if chaining update with limit()

Update with limit is valid syntax in MySQL https://dev.mysql.com/doc/refman/5.7/en/update.html

@tgriesser Perhaps #2506 was premature in that case, depending on your view of .first() vs .limit(). Should I revert that PR?

@tgriesser could we throw the error only when the client is !== Mysql? That could resolve the situation with #2506 as well. Or do you want to stay away from putting exceptions for certain clients inside query builder?

Yeah I was thinking of staying away from putting exceptions for certain clients, though I guess since you really shouldn't be using it if you're not able to, I'd be okay with at least warning... but since it's valid in mysql, mssql as well as sqlite3 if compiled with the SQLITE_ENABLE_UPDATE_DELETE_LIMIT flag, so I'm not sure what the best option here is, other than to trust users know what they're during when using the limit feature.
@wubzz I'm fine with the change in .first because that's explicitly meant to be used in a select, and not with returning, which is accomplished just as easily with .then(result => result[0])


GH-3996 Reduce locking in AbstractSailConnection

GitHub issue resolved: #
Briefly describe the changes proposed in this PR:

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] I've squashed my commits where necessary
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

Before

After
Benchmark                              Mode  Cnt  Score   Error  Units
ConcurrentQueryBenchmark.hasStatement  avgt    5  8.025 ± 0.237  ms/op

Before
Benchmark                                               Mode  Cnt  Score   Error  Units
ConcurrentQueryBenchmark.getNamespaces                  avgt    5  0.935 ± 0.095  ms/op
ConcurrentQueryBenchmark.getNamespacesSharedConnection  avgt    5  4.269 ± 0.097  ms/op
ConcurrentQueryBenchmark.hasStatement                   avgt    5  0.990 ± 0.045  ms/op
ConcurrentQueryBenchmark.hasStatementSharedConnection   avgt    5  2.988 ± 0.233  ms/op

After
Benchmark                                               Mode  Cnt  Score   Error  Units
ConcurrentQueryBenchmark.getNamespaces                  avgt    5  0.908 ± 0.042  ms/op
ConcurrentQueryBenchmark.getNamespacesSharedConnection  avgt    5  1.473 ± 0.057  ms/op
ConcurrentQueryBenchmark.hasStatement                   avgt    5  0.914 ± 0.115  ms/op
ConcurrentQueryBenchmark.hasStatementSharedConnection   avgt    5  1.010 ± 0.052  ms/op


[AssemblyProcessor] Fixed packing path.

PR Details

Description

Directory specified went a level up too far so nothing gets packed/copied to the deps folder.
Related Issue

Issue caused by #1894
Motivation and Context

AssemblyProcessor project does not complete its build properly due to incorrect path for dll copying and IL packing.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[X] I have built and run the editor to try this change out.

The build in TeamCity is green again, thanks!


Update README to include Twitter and email groups of Harbor.

Update README to add Twitter account and email groups that user can join for better communication.

Coverage decreased (-0.008%) to 56.204% when pulling 05d8b1194e84a0a38b56a35f5ddebf6c1e431432 on hainingzhang:readme into b654a55e8528b61ceb36a0416db75a82757b4fe4 on vmware:master.


(bug) elementum crashes after selecting episode from trakt

I am on kodi Leia and I have latest elementum video addon.
When I select an episode from a widget on my homescreen (the widget shows trakt progression of TV shows ) elementum starts search, but soon video elementum addon crashes and restarts.
the same happens if try to play an episode from elementum menu - shows - my progress and I think that problem there is for all episodes from trakt (I confirm for episodes for my history)
If I try again, then whole kodi crashes.
This is debug log:
http://paste.kodi.tv/lagujaxezu

I note that I have the same problem when searching for all TV shows in my library, too. this is weird.
I tried to clear kodi and elementum cache hut

I note that I have the same problem when searching for all TV shows in my library, too. this is weird.
I tried to clear kodi and elementum cache hut

*I closed accidentally

*I closed accidentally

I noticed constant crashes while I try playing some videos lately. It was mostly old series so I thought it had something to do with old encode or something.
Anyway I revert elementum to 0.1.65 and so far no crashes

I noticed constant crashes while I try playing some videos lately. It was mostly old series so I thought it had something to do with old encode or something.
Anyway I revert elementum to 0.1.65 and so far no crashes

I tried with various older versions (both elementum and burst), but unfortunately no fix.

I tried with various older versions (both elementum and burst), but unfortunately no fix.

@elgatito i tried in burst with older settings and the problem is resolved. the changes that i have done recently were about the filter section, i had disable all filters (resolution, keywords etc).
for some reason disabling all filters have as result the crashing.

@elgatito i tried in burst with older settings and the problem is resolved. the changes that i have done recently were about the filter section, i had disable all filters (resolution, keywords etc).
for some reason disabling all filters have as result the crashing.

Please, try with v0.1.67.

I disabled all filters on burst settings and now works nice without crashing (in previous versions the disabling was causing the crash).
Thank you!
From: Denis<EMAIL_ADDRESS>Sent: Wednesday, February 3, 2021 10:49 AM
To: elgatito/plugin.video.elementum<EMAIL_ADDRESS>Cc: georgew21<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [elgatito/plugin.video.elementum] (bug) elementum crashes after selecting episode from trakt (#678)
Please, try with v0.1.67.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/elgatito/plugin.video.elementum/issues/678#issuecomment-772340578 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2NW54BZUWP66E6DZUM42DS5EEWNANCNFSM4WE2YF6A .  https://github.com/notifications/beacon/AN2NW54SOQKWXYSNJL2YWBDS5EEWNA5CNFSM4WE2YF6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFYEPWYQ.gif


Service does not autostart

After the machine start, service does not starts. I can't tell whether it is a separate issue from #139 or not. Need to test that.

It's a separate issue from #139.

So, well, merged to #139.


[Enhancement] SegmentsView control

Summary

Note: Migrating from Xamarin.Forms Issue 6904

Have a segmented control for Xamarin.Forms. iOS has UISegmentedControl, but Android does not. This control will provide native looking segments for Android platform.

iOS
Android

API
The SegmentsView implements IList<string> with DisplayMode of Text or Image.
SegmentsView:
class SegmentsView : View {}

Properties
SegmentsView

Name
Type
Description

Display Mode
Enum
Display mode is SegmentMode.Text by default and can be set to SegmentMode.Image as an alternative.

Color
Xamarin.Forms.Color
Main color for the control

Items
IList<string>
List of string values for title or image source

ItemsSource
IList
Items source for the values

SelectedItem
object
Selected item

SelectedIndexChanged
Event
Event handler for when a segment is selected. Raises SelectedItemChangedEventArgs with segment and selected index

SelectedIndex
System.Int32
Index of selected segment

Platform Specific - Android

Name
Type
Description

CornerRadius
double
Corner radius on Android ONLY

Usage
XAML
<SegmentsView SelectedIndexChanged="OnSegmentSelected">
    <SegmentsView.Items>
        <x:String>View A</x:String>
        <x:String>View B</x:String>
    </SegmentsView.Items>
</SegmentsView>

<!-- Using ItemsSource -->

<SegmentsView
    SelectedIndexChanged="OnSegmentSelected"
    ItemsSource="{Binding values}">
</SegmentsView>

C#
var segments = new SegmentView
    {
        Children = new List<string>
        {
            "View A",
            "View B",
            "View C"
        }
    };
segments.SelectedIndexChanged += OnSegmentSelected;

// handler
void OnSegmentSelected(object sender, SelectedItemChangedEventArgs e){ }

Platforms
iOS
On iOS, this is simply a UISegmentedControl.
Android
On Android, this is be a RadioGroup with a custom RadioButton that renders a simple text or bitmap drawable in image mode.
class FormsSegmentsView : Android.Widget.RadioGroup

UWP
👀 TBD
Who Will Do The Work?

[x] I have already worked on this and migrating from Xamarin.Forms core per Xamarin team's request
[ ] Just putting this out there for someone to pick up

Enjoy! 👍

This would be a great addition to the XCT! @hnabbasi , could you also add something like a DisplayValueConverter? So we could potentially provide any kind of object in the ItemsSource and let this converter define the text value or image source value for each segment? If I could be of any assistance, please let me know 😊👌

This would be a great addition to the XCT! @hnabbasi , could you also add something like a DisplayValueConverter? So we could potentially provide any kind of object in the ItemsSource and let this converter define the text value or image source value for each segment? If I could be of any assistance, please let me know 😊👌

Good one. I have a private Display property that I can expose and use for that purpose. Just like the Picker does.

Exactly! That would be awesome! Thanks

Hey @jfversluis @PureWeen,
So, in Xamarin.Forms we had GetNativeImageAsync() extension to ImageSource. And GetNativeImageAsync() calls up the IImageSourceHandler's LoadImageAsync() on all possible sources.
https://github.com/xamarin/Xamarin.Forms/blob/f35ae07a0a8471d255f7a1ebdd51499e10e0a4cb/Xamarin.Forms.Platform.iOS/Renderers/ImageElementManager.cs#L264
I have a need for that handy extension for this control and I am wondering if I should recreate that whole suite of classes so future controls can also use the GetNativeImageAsync() or is there a way we can expose that in Xamarin.Forms.Internals so I can just reuse that? Thoughts

This would be awesome! 👌

This would be awesome! 👌Only thing I don't like with the android version is that it misses animations when you change items :(

Good point 🤔. Maybe I can work on it after I am done migrating over the Android version.

@pictos  This issue needs the Label "in-progress".

Hello world! I finally got back to this. I am making some changes to the API and will close the PR currently open in favor of a new one, when ready. I have added Normal Text Color and Selected Text Color to both iOS and Android. Currently running in to Background Color issue on Android that I am working on.
Stay tuned.

@hnabbasi very nice! I cannot wait to use it in my next project.

Thanks! However, we are no longer adding new features to Xamarin Community Toolkit, focusing on the .NET MAUI Community Toolkit.
Please open a New Feature Discussion to implement this feature in the .NET MAUI Community Toolkit.
I've posted more information about the Future Of Xamarin Community Toolkit here: https://devblogs.microsoft.com/xamarin/the-future-of-xamarin-community-toolkit/?WT.mc_id=mobile-0000-bramin

Reopening because it looks like this was approved and a PR was opened before the new feature deadline

Closing this one. If anyone wants this feature please open a proposal in MCT

Reopening because it looks like this was approved and a PR was opened before the new feature deadline

Hi @brminnick , @pictos closed this PR again, it would be great to have it in XCT 🙏

I will resume working on this for MAUI. Please leave it open if possible 🙏
Get Outlook for Androidhttps://aka.ms/ghei36

From: Gustavo Oliveira @.>
Sent: Wednesday, November 10, 2021 8:38:14 PM
To: xamarin/XamarinCommunityToolkit @.>
Cc: Hussain N. Abbasi @.>; Mention @.>
Subject: Re: [xamarin/XamarinCommunityToolkit] [Enhancement] SegmentsView control (#385)
Reopening because it looks like this was approved and a PR was opened before the new feature deadline
Hi @brminnickhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbrminnick&data=04|01||e9f716a0f6074a8b099f08d9a4bc5003|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637721950976221121|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=8Z4gNJC6kFky5PJRdz0tuz6pb1BYFXXWmjyHn5o1TxA%3D&reserved=0 , @pictoshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpictos&data=04|01||e9f716a0f6074a8b099f08d9a4bc5003|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637721950976231076|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Kqs5YEq2PL3K93an8UYUjOFwP255txMhBiR9nrrRjjc%3D&reserved=0 closed this PR again, it would be great to have it in XCT 🙏
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fxamarin%2FXamarinCommunityToolkit%2Fissues%2F385%23issuecomment-965937862&data=04|01||e9f716a0f6074a8b099f08d9a4bc5003|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637721950976231076|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=YPflpE8ChsgvmRJxQj5Ugp8%2Br1nTluZu%2F%2FcKSe7oOhY%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAC436ZHCNFFYC53O7P2Y7HDULMUBNANCNFSM4SG3B3BA&data=04|01||e9f716a0f6074a8b099f08d9a4bc5003|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637721950976241037|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=zFojdl8Nb2kCKJkj03sIKBrVPULevJ%2B2k8vm%2FiH1TFk%3D&reserved=0.

@hnabbasi it would be great if this made it to the MAUI toolkit but if you are planning on implementing this for the MAUI toolkit that will need to be done in another repo as mentioned by @brminnick here:

Thanks! However, we are no longer adding new features to Xamarin Community Toolkit, focusing on the .NET MAUI Community Toolkit.
Please open a New Feature Discussion to implement this feature in the .NET MAUI Community Toolkit.
I've posted more information about the Future Of Xamarin Community Toolkit here: https://devblogs.microsoft.com/xamarin/the-future-of-xamarin-community-toolkit/?WT.mc_id=mobile-0000-bramin


Created a PR Template

fixes #3

@Tlazypanda Made changes to the previous template.

@all-contributors add @Shreesh90 for docs


Destructure

Just a couple notes, but otherwise merge it

thanks! added the output as comments. merging.


The type of unixtime

Hi ,
I am new to programming. and i need your help. I use this plugins to add crawl time.
so, i add function:
def _unixtime():
return int(time.time()*1000)
Change the _ENTITY_FUNCTION_MAP to:
'$unixtime': _unixtime,
Add in settings.py:
"crawl_time": "$unixtime",
I get the result i want, the value of crawl_time is str .but i need int to compare time .how can i program to achieve.
thank you for your time and plugins.

Ok，I read the code .and it is simple .I add int() in return out.
anyway. Thank you for your  plugins.


LESS + CSS Presets

We should provide users with presets e.g. “novel”, “essay”, “report”, “cookbook”, etc. in addition to the customizable blitz.less. It would probably help people who’d like to use the framework but feel uncomfortable customizing it.
Moreover, we could provide preset stylesheets – instead of a default in which you must get rid of things you don’t use – for people not willing to use a preprocessor at all.

We have something similar to presets in the form of blitz-lite and blitz-reset. I’m not necessarily willing to put extra effort into creating genre-specific presets since we’re already providing the (metalanguage) API, 3 stylesheets, the template, etc.
Any external PR adding presets would be greatly appreciated, obviously, but I’d prefer not to create and maintain N presets in the Framework.


What is the current version of MediaPipe supported by Jetson Nano?

In 2023, which version of MediaPipe is supported by Jetson Nano? I currently use version 0.8.9, but I would like to know if there is any newer version that can be utilized.

@VieiraJardel,
We are yet to support officially Jeston Nano, For now, Only supported edge device is Raspberry Pi 64bit as noted here.

Some people assist the Jetson community with the installation of MediaPipe. Are there any of these unofficial channels that you are aware of and can recommend for more up-to-date installations on the Jetson Nano?
The last tutorial I followed was this one, but it only recommends version 0.8.9:
[Link] - https://github.com/anion0278/mediapipe-jetson

@VieiraJardel,
Presently, our knowledge is limited to the https://github.com/anion0278/mediapipe-jetson plugin, which is currently up-to-date. As we don't have an official plugin, we encourage the community to utilise this well-maintained alternative. It's worth noting that Jeston support is already in our roadmap, and our team is actively working on its implementation.
However, we cannot provide a specific timeline for its availability at this moment. Thank you


#2169 remove unnecessary commons codec/logging dependency

PR to remove unnecessary dependency
Please refer to #2169
Signed-off-by: Nigel Jones<EMAIL_ADDRESS>

This change looks as if it's ok. I'm planning to merge later on Monday awaiting any last review comments.


HealthCheck failed: Request failed with status code 400

Hi, I am in need of help with txAdmin, when it tries to refresh the Status Info pane in the Dashboard, it spams out a code 'HealthCheck failed: Request failed with status code 400' in the console and after some time it has a partial crash, I have tried reinstalling txAdmin and tried updating it to the latest version. Still no luck.

For support, please use our discord server.
You are probably putting txAdmin on the fxserver port, or something else in the port you specified in the endpoint_add_tcp command in your server.cfg.


Out of date process for authentication

[Enter feedback here]
Hello all,
The process described to authenticated the function appears to no longer be available in the portal. Indeed, the authentication panel does no longer offer the AAD as a providers. Here are the documentation from Azure function on hthe authenciation panel and the providers available and the update stating that we changed the portal experience.
https://docs.microsoft.com/en-us/azure/app-service/overview-authentication-authorization#identity-providers
https://azure.microsoft.com/fr-fr/updates/updated-app-service-authentication-portal-experience-is-now-generally-available/

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

ID: 075de149-4c52-f187-200a-21d973be545a
Version Independent ID: 93f7bf02-d90a-0e2c-7289-d612f278902a
Content: Tutorial: Managed identity to invoke Azure Functions
Content Source: articles/spring-cloud/tutorial-managed-identities-functions.md
Service: spring-cloud
GitHub Login: @KarlErickson
Microsoft Alias: margard

#reassign:karlerickson

Internal work item has been filed to get this updated.
#please-close


Add portmap plugin to CNI conf

Description
The portmap plugin is needed for hostPorts to work
The CNI portmap capability was added in k8s 1.7. I was able to get past the issue by using the updated kube-flannel.yml on a 1.8.3 cluster.
Closes: https://github.com/coreos/flannel/issues/887
Release Note

None required

Looks good

10-flannel.conf sorts before 10-flannel.conflist, so if you update you configuration with this change, this change will not be picked up since 10-flannel.conf still exists.

I ended up with both 10-flannel.conf & 10-flannel.conflist with the exactly same contents, and lots of kubelet[29256]: W1227 18:53:27.409233   29256 cni.go:125] Error loading CNI config file /etc/cni/net.d/10-flannel.conf: no 'type'; perhaps this is a .conflist? log spam in journal. Every few seconds... :(
Admittedly, this was applied to 0.9.1 image so maybe some bits & pieces are still missing, possibly will be available in 0.9.2?
For now, I deleted 10-flannel.conf, it fixes the extreme log spam issue. Hopefully everything continues working ok...


Adds learn link to the website

slight glitch as https://deploy-preview-421--func-e.netlify.app/learn/ doesn't show up..

A little stumped as locally it works, but the netlify one is 404

ps netlify == https://app.netlify.com/sites/func-e wrt config and build status anyway

note this is still busted and still waiting for help

@pmerrison @codefromthecrypt - The Envoy Fundamentals launch is happening tomorrow(Feb4). Do we have a solutions to this yet?
CC: @AswinBehera - Can you help debug?

@codefromthecrypt I am getting 404 on clicking the "Start Learning" on the Navigation bar on my local server.
All the other links on the navigation bar point to other domains, and in the "Start Learning" case, it's within the func-e domain. Maybe the inter-page navigation on func-e has not been configured properly.

Right, this is what's needed to be figured out. make site should ensure you are using the right Hugo version also.
good luck and thanks for helping on this @AswinBehera

alright, founded the culprit. the theme seems to be confused when generating pages because it doesn't recognize the default index page. This works on my local, so hopefully it'll work on netlify

Yeap. it works now https://deploy-preview-421--func-e.netlify.app/learn/ cc: @AswinBehera @codefromthecrypt. It's yours to merge now :)

looks great @lunchboxav! 🙇


Test for index with decimal col

@alex-cash You have merge conflicts

@purplefox I merged in your changes in #416 and it fixed this, so I'm going to close this PR


FPGA implementation and test of sub_bytes

[x] - Netlist #496
[ ] - Coq tests
[X] - Test in tree OpenTitan simulation with Verilator (working)

[x] - Netlist #496
[ ] - Coq tests
[X] - Test in tree OpenTitan simulation with Verilator (working)

Aggregating in #601


Add cmdlet to query the metadata server from a VM instance.

Adds Get-GceMetadata, which retrieves metadata for the VM instance it is being called on.

PTAL

A few minor nits, e.g. renaming the parameter -Recurse to be consistent. But I think this looks good. I look forward to using this cmdlet one day.

LGTM


Update login.css

Issue #651
Related Issue
#651
Description
enhanced blur, fade in animations added, slide in animation added, hover and transition effects added.
Type of PR

[ ] Bug fix
[ yes] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[X] I have performed a self-review of my code
[ X] I have read and followed the Contribution Guidelines.
[ X] I have tested the changes thoroughly before submitting this pull request.
[ X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ X] I have commented my code, particularly in hard-to-understand areas.

Additional context:

Please attach a video to demonstrate your changes

Please attach a video to demonstrate your changes

As you can see the login page isnt static now, there is a animation as soon as a page loads and even the login button has hover and there is fade in fade out in the input fields.
Uploading Welcome to AgriLearnNetwork - Brave 2024-06-05 20-16-58.mp4…

https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/135994674/c398e969-d9cd-47f9-9f67-99221bb6cdb3


fix: make help formatting

Overview
Meanwhile waiting for the plasma contract fixes.... more readable make help output.
Changes
Before:
$ make help
Dont Fear the Makefile
*DOCKER DEVELOPMENT*:
make docker-start-cluster - will start everything for you, but if there are no local images
for Watcher and Child chain tagged with latest they will get pulled from our repository.
If you want to use your own image containers for Watcher and Child Chain
use make docker-watcher && make docker-child_chain.
For rapid development that replaces containers with your code changes
one can use make docker-update-watcher or make docker-update-child_chain.
BARE METAL DEVELOPMENT:
ATTENTION ATTENTION ATTENTION
-----------------------------
This presumes you want to run geth, plasma-deployer and postgres as containers
but Watcher and Child Chain bare metal.
You will need four terminal windows.
In the first one run:
make start-services
This will start geth, postgres and plasma-deployer. In case on of the containers is faulty, restart it by running the command again. Usually it's plasma-deployer.
In the second terminal window, run:
make start-child_chain
In the third terminal window, run:
make start-watcher
Wait until they all boot. And run in the fourth terminal window
make get-alarms
If you want to attach yourself to running services, use
make remote-child_chain
or make remote-watcher
Discover other rules with
make list

After:
$ make help
Dont Fear the Makefile

DOCKER DEVELOPMENT:

- `make docker-start-cluster` - start everything for you, but if there are no local images for Watcher and Child chain tagged with latest they will get pulled from our repository.
- `make docker-start-cluster-with-infura` - start everything but connect to Infura instead of your own local geth network.
- `make docker-watcher && make docker-child_chain` - use your own image containers for Watcher and Child Chain
- `make docker-update-watcher` or `make docker-update-child_chain` - replaces containers with your code changes for rapid development.

BARE METAL DEVELOPMENT:
-----------------------------
ATTENTION ATTENTION ATTENTION
This presumes you want to run geth, plasma-deployer and postgres as containers
but Watcher and Child Chain bare metal.
-----------------------------

You will need four terminal windows.

1. In the first one, start geth, postgres and plasma-deployer:

    make start-services

In case one of the containers is faulty, restart it by running the command again. Usually it's plasma-deployer.

2. In the second terminal window, run:

    make start-child_chain

3. In the third terminal window, run:

    make start-watcher

4. Wait until they all boot. And run in the fourth terminal window

    make get-alarms

If you want to attach yourself to running services, use

    make remote-child_chain

or

    make remote-watcher

Discover other rules with

    make list

Testing
make help

Coverage remained the same at ?% when pulling c254befa89695833a7e4bef83edb061ecee44036 on feat-make-help into 3d040d45569f5df70abe527d5d377670f417cbbc on master.

Coming with another upcoming PR instead


Add relevant content to slideshow

Add/update relevant content to slideshow at homepage https://oda-components.github.io

Good material.


Expose min_size in configurable schema

Exposes the Feature::setMinPixelSize function in the configurable schema as min_size.
This follows the implementation of min_zoom.
Related to https://github.com/onthegomap/planetiler/issues/349

@wipfli want to dust this PR off and get it merged? We'll need it for linestring merging to work in #626.  Or did you want me to take it over? From my perspective the only things left to do before merging are:

also add json schema definition to planetiler.schema.json
add a line to SchemaValidator to check the minSize field
update tests to verify this new field is parsed

Hi @msbarry!

Or did you want me to take it over?

If you can take it over it would be ideal. Thank you so much!


Rust and WebAssembly Working Group Meeting #40

Our next meeting will be Thursday, April 11th at 17:00 UTC.
Add agenda items here: https://paper.dropbox.com/doc/RustWebAssembly-WG-dcXi5F7Bqlvg10zd7dKve
As usual, we'll be holding open office hours, so if you have any questions about Rust and WebAssembly, feel free to add a bullet point to the agenda!
We use Zoom for video meetings, so make sure you've downloaded the client! (It's free, but you have to sign up.) Here is our meeting room: https://zoom.us/j/715879536
Anyone interested in Rust and WebAssembly is invited to join! Yes, that includes you!

Thanks for the meeting everyone!


How to use that for non-vtl user ?

How can I just follow myself on a map ?

Yes but you must build your own API then, that must follow the JSON structure described in the README.md file.


.size > 0 checks in collections

Fixes #333

Codecov Report

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

@@           Coverage Diff           @@
##           master     #364   +/-   ##
=======================================
  Coverage   86.59%   86.59%
=======================================
  Files         135      135
  Lines        1485     1485
  Branches       36       36
=======================================
  Hits         1286     1286
  Misses        199      199

Impacted Files
Coverage Δ

...spections/collections/AvoidSizeNotEqualsZero.scala
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


filter query in anomaly detector object for preview

The issue https://github.com/opendistro-for-elasticsearch/anomaly-detection/issues/192 was initially reported to anomaly detection backend.
The issue can be reproduced. Using metricbeat as example,
The filterQuery field in the anomaly detector for preview looks like this.
"filterQuery": {
	"bool": {
		"filter": [{
			"term": {
				"host.name": {
					"value": "uuid",
					"boost": 1
				}
			}
		}],
		"adjust_pure_negative": true,
		"boost": 1
	}
}

On the backend, notice the field name changes from host.name to host_name on the backend.
"filter_query": {
	"bool": {
		"filter": [{
			"term": {
				"host_name": {
					"value": "uuid",
					"boost": 1
				}
			}
		}],
		"adjust_pure_negative": true,
		"boost": 1
	}
}

Although browser console may show that the correct field host.name is sent, the server side log shows host_name is received. I checked the original tcp data and os network shows the host_name is sent. So the conclusion is this is more likely a kibana issue.
It is also unknown whether this issue is limited to a specific field or how widespread it is. A code auditing might be necessary.

Thanks for reporting this problem @wnbts . Will check related code.

Can you share the test index mapping and some test data? So I can reproduce the issue and debug.

The easiest way to get the data is to generate using metricbeat. An example configuration is in the initial issue.

@wnbts , I can't reproduce this problem locally

"filter_query" : {
"bool" : {
"filter" : [
{
"term" : {
"host.name" : {
"value" : "myserver",
"boost" : 1.0
}
}
}
],
"adjust_pure_negative" : true,
"boost" : 1.0
}
},

Is preview verified? The described issue occurs with preview.

Can't get data for preview. I start the detector, it can get feature data correctly. Maybe preview function has some problem, will deep dive.
My detector config (hide my host name with XXX)
{
  "name": "test1",
  "description": "test",
  "time_field": "@timestamp",
  "indices": [
    "metricbeat-7.8.1"
  ],
  "filter_query": {
    "bool": {
      "filter": [
        {
          "term": {
            "host.name": {
              "value": "XXX",
              "boost": 1
            }
          }
        }
      ],
      "adjust_pure_negative": true,
      "boost": 1
    }
  },
  "detection_interval": {
    "period": {
      "interval": 1,
      "unit": "Minutes"
    }
  },
  "window_delay": {
    "period": {
      "interval": 1,
      "unit": "Minutes"
    }
  },
  "schema_version": 0,
  "feature_attributes": [
    {
      "feature_id": "f5YEynMBq8uxmKRJv0uv",
      "feature_name": "F1",
      "feature_enabled": true,
      "aggregation_query": {
        "f_1": {
          "sum": {
            "field": "system.cpu.cores"
          }
        }
      }
    }
  ],
  "ui_metadata": {
    "features": {
      "F1": {
        "aggregationBy": "sum",
        "aggregationOf": "system.cpu.cores",
        "featureType": "simple_aggs"
      }
    },
    "filters": [
      {
        "fieldInfo": [
          {
            "label": "host.name",
            "type": "keyword"
          }
        ],
        "fieldValue": "XXX",
        "operator": "is"
      }
    ],
    "filterType": "simple_filter"
  },
  "last_update_time":<PHONE_NUMBER>301
}

In my testing, I only have about 1 hour's data in metricbeat index. So FeatureManager uses sample ranges and found no data. Refer to code https://github.com/opendistro-for-elasticsearch/anomaly-detection/blob/master/src/main/java/com/amazon/opendistroforelasticsearch/ad/feature/FeatureManager.java#L542-L544, and https://github.com/opendistro-for-elasticsearch/anomaly-detection/blob/master/src/main/java/com/amazon/opendistroforelasticsearch/ad/feature/FeatureManager.java#L491

The issue is, as pointed out in the description, with the preview requests sent from web ui to the backend. Please read the description again.
The issue occurs regardless of the amount of data. Checking the received request or query results is sufficient to show.


Add InMemorySink.Clear()

When testing, it can be convenient to clear messages.

Hi @sungam3r,
it can definitely be handy to clear log messages when you are testing. Currently this is possible through the Dispose method on the sink: https://github.com/sandermvanvliet/SerilogSinksInMemory#clearing-log-events-between-tests
The main reason that the sink does not have a Clear method is to encourage the right usage of the sink which is to have only one instance of it per test so that clearing it wouldn't be necessary.
Unfortunately we've seen that with MS Test this doesn't always work and that's why the Dispose pattern was introduced to solve that particular problem.
However, I can't claim to know all use cases so I'm curious to how you would use this. Do you have an example of a test where you would use Clear?

OK. I just did not notice Dispose method, it happens.

No worries!


[Input][Joy]: Safari shows today's date if value is null

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
Steps:

Use Chrome and go to the official documentation. Look how the input shows mm/dd/yyyy
Use safari and go to the same page. The input shows 05/10/2023

Current behavior 😯
Misbehavior between Chrome and Safari.
Expected behavior 🤔
Safari should show mm/dd/yyyy. Right now the user can be confused that a date has already been input.
Context 🔦
I did a simple form with a birthday field. A user told me that all users had the same birthday, and was today... I realized later on that it only happens on Safari.
Your environment 🌎

npx @mui/envinfo
  System:
    OS: macOS 13.3
  Binaries:
    Node: 18.10.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 8.19.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 112.0.5615.137
    Edge: Not Found
    Firefox: 90.0.2
    Safari: 16.4
  npmPackages:
    @emotion/react: ^11.10.0 => 11.10.6
    @emotion/styled: ^11.10.0 => 11.10.6
    @mui/base:  5.0.0-alpha.119
    @mui/core-downloads-tracker:  5.13.0
    @mui/icons-material: ^5.10.2 => 5.11.11
    @mui/joy: ^5.0.0-alpha.79 => 5.0.0-alpha.79
    @mui/lab: ^5.0.0-alpha.96 => 5.0.0-alpha.121
    @mui/material: ^5.13.0 => 5.13.0
    @mui/private-theming:  5.12.3
    @mui/styled-engine:  5.12.3
    @mui/system:  5.12.3
    @mui/types:  7.2.4
    @mui/utils:  5.12.3
    @mui/x-data-grid:  5.17.25
    @mui/x-data-grid-pro: ^5.17.23 => 5.17.25
    @mui/x-date-pickers: ^6.0.0 => 6.0.3
    @mui/x-date-pickers-pro: ^6.0.0 => 6.0.3
    @mui/x-license-pro:  5.17.12
    @types/react:  18.2.0
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    styled-components: ^5.3.5 => 5.3.6
    typescript:  4.9.5

@gzrae @siriwatknp I would like to pick this up

@gzrae @siriwatknp I would like to pick this up

Sure! can you propose the solution here first?

@siriwatknp here's my proposed solution

@siriwatknp here's my proposed solution

Thanks! I think we should first provide your solution in the docs because I don't think overriding the native behavior is what everyone wants.

Any idea if this has been addressed?

Hi, is there any solution for this issue?


MSVC uses wrong field type for strings

MSVC seems to use bool variant instead of std::string for const char*.

This is a bug, eventually fixed in C++20 (VS 2019 16.10):

https://stackoverflow.com/questions/60681710/prefer-stdstring-in-stdvariantbool-stdstring-for-const-char
https://www.cppstories.com/2018/06/variant/#c20--c23-improvements

Workaround implemented. It's no longer necessary once C++20 is used.


Please archive this repo

It's really confusing to python engineers getting into this space looking to use this repo since it's deprecated.
Can you please point all users who reach here to get re-routed to py-solc-x that is maintained? As someone who cares deeply about the ETH community, it really frustrating for new people to show up, expect to be able to use something, and then nothing works correctly.
https://github.com/iamdefinitelyahuman/py-solc-x

Frustrating indeed


Show snackbar when user join or leave the room

Showing snackbar is a good option, rather than going to person and checking if someone has joined / left the room

For Example on join show message a new user has joined  or it would be even better if you can display the name of the person who have joined with the message, similar type of message when some body leave the room

you can either do some changes on server side so that it will pass additional information with the person array , or you can check it on client side without changing server


Add /library/ endpoint and configuration modules

Use omp-config.yml as the storage for configs.
This uses the js-yaml npm package, and is
interfaced by config.js.

Implement full REST /library/ endpoint.
Uses JSON request body for POST/PUT/PATCH.
Changes to the LIBRARY configuration should trigger reboots
of the docker-compose containers, as new volumes will
need to be mounted. Additionally, the master OpenMediaPortal
configure script will need to read omp-config.yml to determine
these volumes. omp-config.yml will be located in the OpenMediaPortal
repo, and will be mounted into the BACKEND root directory.

Update naming scheme for other endpoints, and adds location
header to /music/ post.

Implements unit tests for /library/ and tweaks the order of
tests for /music/ and /stream/ to check for status codes
before anything else.

This code is semi useless until the OMP configure script is updated to read the (new and also needed) omp-config.yml file, which will also be stored in OMP and correctly set up the mounts for omp-data.
Additionally, changes to LIBRARY via /library/ should trigger:

docker-compose stop
./configure
docker-compose up

This is rather hard to do, as omp-express-mongo-api is running inside a container and doesn't have a lot of power to force changes on the host. It may be possible to do something with the autorestart feature of docker-compose paired with mounting docker-compose.yml and allowing a docker container to dynamical change how it will come back up after a suicide.
So omp-express-mongo-api could call ./configure to rewrite the docker-compose.yml file, then kill itself, taking omp-data with it. Then paired with an autorestart flag, both omp-express-mongo-api and omp-data would then come back up?
From a security point of view - it seems like a very bad idea to let these docker containers write their own docker-compose.yml file, especial as we rely on user data. Library paths would need to be parsed and whatnot to prevent yml injection. Scary.

This code will be merged for now to allow for pushing through on /library/sync/.
OMP will need to implement omp-config.yml and the various parsers for that. For now, however, omp-express-mongo-api can assume that library paths are mounted.


Fenix A320 Passengers

When the passengers board the aircraft at any given airport, the passenger display on the EFB keep moving from front to back all the time and the aircraft bounces back and forth - has this issue been rectified yet by any chance ?
I do have a video showing the issue but can't upload it here
Thanks

Also, that is not a proper Issue Report:


Suggestion: function nodes

node list
*absolute - return absolute value
*acos - inverse of cos
*asin - inverse of sin
*atan - inverse of tan
*angle - angle between two nodes
*ceil - return the smallest integer value that is not less than the argument
*floor - return the largest integer value that is not greater than the argument
*trunc - return the largest whole value that is not greater than the argument
*clamp - clamps to the min-max range, If number is outside the range, the return value is clamped to          min or max, otherwise.
*sqrt - square root

Clamp will be available in next release


fix(ForumChannel): check against null values

Newly-created forum channels without a default_reaction_emoji would error with a TypeError: Cannot read properties of null (reading 'emoji_id'). This makes sure other properties are null-checked before assigning.

This issue is already fixed on the housekeeping branch (#26): ddcaae326b586d38cceb90506de877f1630f31e3
Thanks for the effort though!

The mentioned fix has also been backported to the dev branch for the time being: https://github.com/projectdysnomia/dysnomia/commit/e50d99c2635cf3535e958d1e9b33cf106f325aea