alternative currencies were previously supported... weren't they?

I had the configuration working fine, upgraded to latest and now I can't view my sensors in CAD currency. This suggests to me that the only thing preventing alternative currencies is a check in the python of this plugin? Can you add support for additional currencies?
https://github.com/brianberg/ha-nicehash/blob/master/custom_components/nicehash/sensor.py#L124
Am I crazy to think it worked before? I checked the history on the code and didn't see any recent changes to it...
Version of the custom_component
72543f6
Configuration

nicehash:
  organization_id: !secret nicehash_id
  api_key: !secret nicehash_key
  api_secret: !secret nicehash_secret
  currency: CAD # (default = USD)
  balances: true # (default = false) - Enable balance sensors
  rigs: true # (default = false) - Enable rig sensors
  devices: false # (default = false) - Enable device sensors
  payouts: false # (default = false) - Enable payout sensors

Describe the bug
Should be able to support any currency that nicehash also supports.
Debug log

Logger: custom_components.nicehash.sensor
Source: custom_components/nicehash/sensor.py:151
Integration: NiceHash (documentation, issues)
First occurred: 10:48:29 (1 occurrences)
Last logged: 10:48:29

Invalid currency: must be EUR or USD

Nicehash does not have a BTC-CAD exchange rate in the list of rates from the API route I am using. I don't know if it was there previously, but currently it is not.
Without a direct exchange rate, I'm not sure how best to convert BTC to CAD.

Understood. Thanks anyway.

Hmm... They do have a usd to cad. Would it be possible as an extra step to do the conversion from BTC to usd to cad?

Converting BTC -> USD -> CAD would be possible and makes sense to me. I'd imagine there will be a trivial amount lost during the conversion but should be sufficient for now

Does NiceHash display funds in CAD on the website?

They have a setting in your account to select the currency displayed everywhere. Apps/web included.

I also using IDR and it's supported by nicehash web/program, when i tried to use IDR i think it give me back BTC

Converting BTC -> USD -> CAD would be possible and makes sense to me. I'd imagine there will be a trivial amount lost during the conversion but should be sufficient for now

I submitted pull request #24 that does exactly this.


Add benchmarks to tests

Included benchmarks in test runs.
CI/CD expected to fail due to benchmark issue to be fixed in another PR

One of the benchmarking tests is failing.

Still getting failed benchmarking test.
failing benchmark tests: revive_task: "NoPermissionToRevive"
@f-gate Can you take a look?

Not sure if you want to merge this to catch the benchmark issues via tests as intended, or fix issues via separate PRs, rebasing this branch until this PR passes and then merge.

I merged universal-develop in and found the error. The state setup was incorrect in the revive benchmark.


Add support for Get() function.

This is maybe too intrusive, let me know what you think.

Add support for Get function which allows you to get just a given show by id
Expanded the Show struct to support the extra information that comes back.
Switch to the full_search.php end point.
Add handling of the super crappy TvRage way of dealing with some dates.

Sorry for not getting to this sooner.
My biggest complaint here is that you have introduced tvrageYear. Looking at what you're doing there it would be better to merge that behaviour into tvrageTime and rename it to something sensible like tvrageDate. The point being it should try to extract as much data as possible from whatever tvrage spit out as a 'datetime-like string'.
Secondly I'd keep your detailed Show struct, but make full search an option to Search(), so that the user can decide if she wants all the details or just the gist.
Rest is very much OK.
If you were to address the above points I'd be more than happy to merge the updated PR. Feel free to comment or argue, discussion is the key to making software that sucks less.
(Also it seems the goveralls are borked when testing a PR... another thing to add to to-do.)


Dependencies problem with qtbase5-dev package

I followed the detailed instructions in https://google-cartographer-ros.readthedocs.io/en/latest in order to install cartographer_ros.
When the system tries to install all the needed dependencies with:
rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
an error arrises:
The following packages have unmet dependencies:
 qtbase5-dev : Depends: libgles2-mesa-dev or
                        libgles2-dev but it is not installable

I tried different ways to install libgles2-mesa-dev without exits.
I checked cartographer instalation in several computers and it seems to be a problem about the kernel version. In an Ubuntu 14.04 LTE with 4.2.0-30-generic there is no problem and all the dependencies are installed without any error (included libgles2-mesa-dev), but with 3.19.0-68-generic kernel version the dependencies problem arrises.
Without all the dependencies it is not possible to compile cartographer_ros package.
Do you have any issue similar to this ?
Thanks in advance.

Please check our Dockerfiles to see how we compile Cartographer. Our CI is not reporting any errors, so it works on the ubuntu versions we support.

Thank you for your quick reply.
I followed the compilation instructions of your Dockerfiles.
The versions that you support is ubuntu 14.04 and 16.04 but, is there any known restriction about the kernel version?
Best regards,

No, we do not know about restrictions in kernel versions. However, what makes you believe that the OpenGL packages depend on the used kernel version? I would rather expect this to be only dependent on the OS version you are using.

We have tried to install cartographer_ros in several computers and the only difference among then is the kernel version, always with the same dependency error about libgles2-mesa-dev package.
With kernel versions 4.2.0-30-generic and 4.2.0-27-generic there is no problem but with 3.13.0-101-generic and 3.19.0-68-generic the problem persists.
For this reason I think that the kernel version has to do with the problem.

Interesting and thanks for clarifying.
Unfortunately, there is nothing Cartographer can do to fix this issue since we have no control over the kernel.

This sounds similar to the issues described in the Indigo installation instructions: http://wiki.ros.org/indigo/Installation/Ubuntu
Perhaps the workarounds suggested there can help.

Thank you very much for your suggestion, but I tried the suggestions about the dependencies issue and it does not work. The complete information about the version of my ubuntu system is:
Linux ita866x 3.19.0-68-generic #76~14.04.1-Ubuntu SMP Fri Aug 12 11:46:25 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
I would like not to upgrade the kernel version because I am afraid that some code would stop working.
Any other suggestion would be grateful.

Run Cartographer in a docker container? Not sure if that works though, since docker probably shares the kernel version. You can also disable the qt RVIZ plugin (by commenting it out of the cMake file) and live without visualization.

@tsecoITA , maybe this link can help you https://github.com/googlecartographer/cartographer_ros/issues/1105


Add Address#==

This addition is extracted from https://github.com/rails/actionmailbox/blob/749e923539075eef407e5d9b8c7c151a3b3171d4/lib/action_mailbox/mail_ext/address_equality.rb
after seeing this issue rails/actionmailbox#6 about the desire to move the monkey patches to the mail gem.

Rebased this against the latest master in case this is still relevant and wanted. Otherwise feel free to close :v:

Closing due to inactivity.


Use enums for keepAlive and chunking configuration

Description:
Since we have enums in Ballerina we can use enums for keepAlive and chunking configuration of the server connector.

Fixed with: https://github.com/ballerina-platform/ballerina-lang/pull/7135, https://github.com/wso2/transport-http/pull/110


Feat: Data Space governance – Datasets Management Tabs

Feature: Data Space governance – Datasets Management Tabs

As a user of the Data Space,
I want to explore the different Datasets Management tabs
So that I read the terms and conditions of this section

Acceptance criteria
Scenario 1: default display (desktop)
Given that I am a user of the web portal (unauthenticated or authenticated) on the Data Space governance page,
And I am using a desktop device,
When I am on the Datasets Management section
Then I should see a proper description of the different tabs that appear as presented in the mockup below
Scenario 2: Mobile Display
Given that I am a user of the web portal (authenticated or unauthenticated),
And I use a mobile device
When I am on the Datasets Management section
Then I should see a mobile friendly display (See mock up)
Scenario 3: Change tab
Given that I am a user of the web portal (authenticated or unauthenticated),
When the selected tab is Reference, Modify, Dereference or Download
Then the adequate selected tab should be displayed (See mock up)
Scenario 4: Internationalization
Given that I am a user of the web portal (authenticated or unauthenticated),
When the selected language is English, French, or German
Then tab title should be displayed in the adequate selected language (See config)
En

Reference
Modify
Dereference
Download

Fr

Référencer
Modifier
Déréférencer
Télécharger

De

Referenzieren
Bearbeiten
Auslisten
Herunterladen

Requirements

Default landing tab is Reference

Resources
Mockups
Desktop

Mobile

Environment

staging URL: https://app.staging.okp4.network/

Additional informations
None.

@MdechampG should we consider implementing some subroutes when clicking on a section (like: datasets management)?


Add @golfiti profile

@golfiti   thanks for making your first contribution, I will be merging your Pull Request, also look at the issues so that you can get a chance to win a limited community Swag from me.
If you like the project and Repo please give it a star and Follow me on Github (would be appreciated)


Calliope list of strings comparison compiler error

The following program cannot be compiled:

the complete error message :-). Note, that other types (bool, number) work fine. Strings (instead of list) work, too. The ++ operator is defined for ManagedString
1/3] Building the NEPOprog. In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattClient.h:22, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:23, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h: In member function 'virtual ble_error_t
ServiceDiscovery::reset()': /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h:148:77: warning: implicitly-declared 'UUID& UUID::operator=(const UUID&)' is deprecated
[-Wdeprecated-copy] 148 | matchingServiceUUID = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN); | ^ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattService.h:20,
from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattServer.h:21, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:22, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/UUID.h:164:5: note: because 'UUID' has user-provided 'UUID::UUID(const
UUID&)' 164 | UUID(const UUID &source) { | ^~~~ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattClient.h:22, from
/opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:23, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/ServiceDiscovery.h:150:77: warning: implicitly-declared 'UUID& UUID::operator=(const UUID&)' is deprecated [-Wdeprecated-copy] 150 |
matchingCharacteristicUUID = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN); | ^ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattService.h:20, from
/opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/GattServer.h:21, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:22, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/UUID.h:164:5: note: because 'UUID' has user-provided 'UUID::UUID(const
UUID&)' 164 | UUID(const UUID &source) { | ^~~~ In file included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h: In instantiation of 'bool std::operator==(const std::__cxx11::list<_Tp, _Alloc>&,
const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = ManagedString; _Alloc = std::allocator]': /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:20:19: required from
here /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: error: no match for 'operator==' (operand types are 'const
ManagedString' and 'const ManagedString') 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file included from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:43, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/types/ManagedString.h:264:10: note: candidate: 'bool ManagedString::operator==(const ManagedString&)' 264 | bool operator==
(const ManagedString& s); | ^~~~~~~~ /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/types/ManagedString.h:264:10: note: passing 'const ManagedString*' as 'this' argument
discards qualifiers In file included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/utility:70, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:38, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_pair.h:448:5: note: candidate: 'template constexpr bool std::operator==(const
std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)' 448 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed: In file included from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::pair<_T1, _T2>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file included from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_algobase.h:67, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/char_traits.h:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:40, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_iterator.h:325:5: note: candidate: 'template bool std::operator==(const
std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)' 325 | operator==(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_iterator.h:325:5: note: template argument deduction/substitution failed: In file included
from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::reverse_iterator<_Iterator>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file
included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_algobase.h:67, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/char_traits.h:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:40, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_iterator.h:363:5: note: candidate: 'template bool std::operator==(const
std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)' 363 | operator==(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_iterator.h:363:5: note: template argument deduction/substitution failed: In file included
from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::reverse_iterator<_Iterator>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file
included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_algobase.h:67, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/char_traits.h:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:40, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_iterator.h:1139:5: note: candidate: 'template bool std::operator==(const
std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)' 1139 | operator==(const move_iterator<_IteratorL>& __x, | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_iterator.h:1139:5: note: template argument deduction/substitution failed: In file included
from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::move_iterator<_IteratorL>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file
included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_algobase.h:67, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/char_traits.h:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:40, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_iterator.h:1145:5: note: candidate: 'template bool std::operator==(const
std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)' 1145 | operator==(const move_iterator<_Iterator>& __x, | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_iterator.h:1145:5: note: template argument deduction/substitution failed: In file included
from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::move_iterator<_IteratorL>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file
included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/char_traits.h:40, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:40, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/postypes.h:222:5: note: candidate: 'template bool std::operator==(const std::fpos<_StateT>&,
const std::fpos<_StateT>&)' 222 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/postypes.h:222:5: note: template argument deduction/substitution failed: In file included from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::fpos<_StateT>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file included from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:41, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/allocator.h:168:5: note: candidate: 'template bool std::operator==(const
std::allocator<_CharT>&, const std::allocator<_T2>&)' 168 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/allocator.h:168:5: note: template argument deduction/substitution failed: In file included
from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::allocator<_CharT>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file included from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:55, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/basic_string.h:6141:5: note: candidate: 'template bool std::operator==(const
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 6141 | operator==(const basic_string<_CharT, _Traits, _Alloc>&
__lhs, | ^~~~~~~~ /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/basic_string.h:6141:5: note: template argument deduction/substitution
failed: In file included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note: 'const ManagedString' is not derived from 'const
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file included from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:55, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/basic_string.h:6149:5: note: candidate: 'template typename __gnu_cxx::__enable_if::__value,
bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)' 6149 | operator==(const basic_string<_CharT>& __lhs, |
^~~~~~~~ /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/basic_string.h:6149:5: note: template argument deduction/substitution failed: In file
included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::__cxx11::basic_string<_CharT>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file
included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:55, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/basic_string.h:6163:5: note: candidate: 'template bool std::operator==(const _CharT*, const
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 6163 | operator==(const _CharT* __lhs, | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/basic_string.h:6163:5: note: template argument deduction/substitution failed: In file included
from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
mismatched types 'const _CharT*' and 'ManagedString' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file included from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/string:55, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/stdexcept:39, from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:39, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/basic_string.h:6175:5: note: candidate: 'template bool std::operator==(const
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)' 6175 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/basic_string.h:6175:5: note: template argument deduction/substitution failed: In file included
from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) |
~~~~~~^~~~~~~~ In file included from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/core/MicroBitCompat.h:36, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:40, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:252:5: note: candidate: 'template bool std::operator==(const std::array<_Tp, _Nm>&, const
std::array<_Tp, _Nm>&)' 252 | operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/array:252:5: note: template argument deduction/substitution failed: In file included from
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4: /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note:
'const ManagedString' is not derived from 'const std::array<_Tp, _Nm>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:1991:5: note: candidate: 'template bool std::operator==(const
std::__cxx11::list<_Tp, _Alloc>&, const std::__cxx11::list<_Tp, _Alloc>&)' 1991 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) | ^~~~~~~~
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:1991:5: note: template argument deduction/substitution failed:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note: 'const ManagedString' is not derived from 'const
std::__cxx11::list<_Tp, _Alloc>' 2004 | while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ In file included from
/opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/FunctionPointerWithContext.h:21, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/CallChainOfFunctionPointersWithContext.h:20, from
/opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/Gap.h:25, from /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/BLE.h:21, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit-dal/inc/bluetooth/MicroBitBLEManager.h:42, from /opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/MicroBit.h:69, from
/tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:3: /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/SafeBool.h:102:6: note: candidate: 'template void operator==(const
SafeBool&, const SafeBool&)' 102 | void operator==(const SafeBool& lhs,const SafeBool& rhs) { | ^~~~~~~~ /opt/ora-cc-rsc/RobotMbed/libs2017//ble/ble/SafeBool.h:102:6: note:
template argument deduction/substitution failed: In file included from /opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/list:63, from
/opt/ora-cc-rsc/RobotMbed/libs2017//microbit/inc/NEPODefs.h:70, from /tmp/openrobertaTmp/-Ao08-WSr-o1/NEPOprog/source/NEPOprog.cpp:4:
/opt/compiler/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/bits/stl_list.h:2004:56: note: 'const ManagedString' is not derived from 'const SafeBool' 2004 |
while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2) | ~~~~~~^~~~~~~~ Error in building !!!

Tested on dev server:

Calliope Mini: Successful
Calliope Mini Blue: Successful
Calliope Mini 2016: Unsuccessful

Program: Calliope_Issue966.xml.txt
Error Message: Error_Msg_Calliope_Mini_2016_Issue966.txt

Ah it seems I missed updating the NEPODefs header file for Calliope Mini 2016 version. A pull request has been raised for the same in ora-cc-rsc repository.

Tested the pull request locally and works as intended now!

Tested successfully on test server with Calliope Mini 2016.


feat(budget): Implement Variable Avg. Quick Budget for single categories

Closes #2690.
GitHub Issue (if applicable): #2690
Trello Link (if applicable): N/A

Implement options for variable average quick budget (3, 6, or 12 mths)
Add a button to auto-assign options for quick budget.

Feature currently only works when ONE category is selected.

The internal version of moment YNAB is currently using does not have the isBetween function. This led to having to revert to using two checks, one for isBefore and one for isAfter.


stream data

Does this package support streaming data in anomaly detection?

Hi @ali-Eskandarian – thank you for using Orion!
Can you elaborate more on your requirements?
At the moment, to call detect method, the number of data points needs to be at least equal to the window size setting.

Sure, Do you mean the window can roll with stream data? Do you know if the package is suitable for batch data?
I have a data stream and want to find an anomaly as soon as it appears.

Yeah exactly, running inference should not be a problem. Orion is suitable for batch data as well.

Thanks for ur help.


How to get "out of the box" lograge style logging.

I'm struggling to lograge style logging when using grape.
A standard log when using lograge should look like something like this
method=GET path=/jobs/833552.json format=json controller=JobsController  action=show status=200 duration=58.33 view=40.43 db=15.26
In the README the example output looks like
Started GET "/v1/reports/101" at 2015-12-11 15:40:51 -0800
Processing by ReportsAPI#reports/:id
  Parameters: {"id"=>"101"}
Completed 200 in 6.29ms

I'm going to RTFM a bit more, but maybe someone can point me in the right direction? Wouldn't it make sense to use the same formatter lograge uses out of the box?

I think smart default would be to use this formatter https://github.com/roidrage/lograge/blob/master/lib/lograge/formatters/key_value.rb


Fix bug in gunpowder train node

Replace '.'. with '.',
Bug was introduced in a46e3635021938156476273ff363b04ad289625b

Oops, not caught be the CI. Thanks a lot!


Update to k8s 1.12.6 and pkg @ HEAD

I had to pin a ton of packages to get things working.  In every case I basically just pinned the version in knative/serving.

/lgtm

Ran ./hack/update-codegen.sh with the new code-generator

/hold
I may have screwed up the Status inlining.

Nevermind, it was the Status field in spec that I was seeing.
/hold cancel

/lgtm

/retest