[Question] How to combine two LUIS Recognisers?

System Information

SDK Language: Node.js
SDK Version: <3.9.0
Development Environment: localhost

Issue Description
I am planning to build bot framework integrated with LUIS. I have about 100 intents and because of the intent limit I will need to build two LUIS apps.  Can I check what is the right way to integrate 2 LUIS apps?
Based on my code snippet below, I assume that passing two recognisers into my bot will pick the intent that has the highest score. However, I am receptive to this idea, as the score from the two LUIS apps are trained on different sets of intents and utterances, I don't think it is a good idea to compare two set of scores from different training model. Are there any suggested method to solve this issue?
Code Example
var bot = new builder.UniversalBot(connector, {
        persistConversationData: false
    });

var luisRecognizer = new builder.LuisRecognizer(model);
var tier2LuisRecognizer = new builder.LuisRecognizer(model2);

bot.recognizer(luisRecognizer).recognizer(tier2LuisRecognizer);

You're correct in that it isn't a good idea to compare two sets of scores from different models. To my knowledge, there unfortunately isn't a straight-forward way of handling this issue.
If you've already implemented your code above and could provide information on what happened (e.g. step-by-step details or even a console.log) when you interacted with your bot that would be helpful.

I haven't done this yet, but I would set the recognizeOrder of bot.recognizers to 'series' or add the two LuisRecognizers to an IntentRecognizerSet and then add that to the bot. After ordering my recognizers the way I want them to fire, I would probably add custom logic to the LuisRecognizers via LuisRecognizer.onFilter() to temporarily store the results from the first LuisRecognizer in the session object before proceeding onto the next LuisRecognizer.

Note: You might not actually have to do this, as I said I haven't done this yet.
The reason I'm storing the results is coming up...

Then I would add another .onFilter() to the second LuisRecognizer and inside of that method's handler I would compare the stored results from the first LuisRecognizer. The way you proceed next would be through experimentation and taste (obviously...) but I would combine the top scoring intents into single result and return that.
The reason I would combine the two top scoring intents is that if neither score passes a certain threshold (say perhaps 0.7) I would have my bot disambiguate with the user and present the two top scoring intents as potential options. Similarly if both intents have scores are above 0.7, the bot should again disambiguate for the user.
var bot = new builder.UniversalBot(connector, {
  persistConversationData: false
});

var luisRecognizer = new builder.LuisRecognizer(model);
var tier2LuisRecognizer = new builder.LuisRecognizer(model2);

luisRecognizer.onFilter(function (context, result, callback) {
  // Could also do a threshold check here, if the score is > 0.7 then just return this result and
  // set the score to 1.0 to hotwire the default recognition 1.0 threshold (if a score is >=1.0 then
  // this will be returned as the "winning" intent and further recognizers aren't called)
  bot.loadSession(context.message.address, function (err, session) {
    session.conversationData.intentsFirstResults = {
      intent = result.intent,
      score = result.score
    };
    callback(null, { score: 0.1, intent: 'None' })
  }
}

tier2LuisRecognizer.onFilter(function (context, result, callback) {

  bot.loadSession(context.message.address, function (err, session) {
    var firstIntent = session.conversationData.intentsFirstResults;
    if (result.score > firstIntent.score) {
      result.intents = [firstIntent];
      callback(null, result);
    } else {
      firstIntent.intents = [{ score: result.score, intent: result.intent }];
      callback(null, firstIntent);
    }
  }
}

var recognizersInSeries = new builder.IntentRecognizerSet({
    recognizeOrder: builder.RecognizeOrder.series
});

recognizersInSeries.recognizer(luisRecognizer).recognizer(tier2LuisRecognizer);

bot.recognizer(recognizersInSeries);

If you need an example for onFilter(), here's a link to /feature-onFilter/app.js. If you want to try something else, I would say to start here.
Let us know what you end up implementing. I'm sure others would be happy to have an example. :)
Extra:
Modify the bot's IntentRecognizerSet in the bot with the following code:
bot.recognizers.options.recognizeOrder = builder.RecognizeOrder.series;

Closing due to inactivity.


create a pull_request_template.md for the project

When someone creates a pull request template to the modus-web-components repository, project contributors will automatically see the template's contents in the pull request body.
Please review and let me know if anything needs to be changed / added / removed.

Can you also squash your commits down to one commit when the changes are all together?


Fix the ci/publish script

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4a54751fff5571a6253a527c49997c20d0407132/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/bd88e09231cea020e9624f630df21cf9cffe3cc4/


Include DEA's new offshore territories tag

... and add a test case of a modern wagl output.
The extra test data found a bug unrelated to the offshore territories: when the first measurement has no explicit CRS (bands don't all need to declare the CRS explicitly, because they should all be the same CRS. But this failed when the first band was missing)
I've also unwisely included a few housekeeping commits here.

Enabled DTDs again fro the Modis packager. This was tightened some time ago for our securtiy linter, but the production datasets from the US require them. The processor was only recently upgraded to a (much) newer version of eodatasets so this was never picked up.
-Pre-commit bump

(The Docker Push action is failing for an unrelated reason — missing dockerhub credentials. I'm not an repo admin so can't view/setup credentials https://github.com/opendatacube/eo-datasets/issues/336)


UI SDK upgrade to 1018.497.8

E2E status: Success https://github.com/SoftwareAG/cumulocity-asset-properties-widget/actions/runs/7089141226


Possible to use custom dataset

Hi! May I know if it's possible to utilize your repo code to test for other datasets except hockey, movies, surv, rwf2000? Big thanks!

Yes it's possible. But, I think you have to modify a lot of the dataset handling codes such as preprocessing, dataloader etc.


Bug: 403 access denied for Telemetry assets

https://cdn.gamelockerapp.com/semc-vainglory/eu/2017/06/12/11/34/1ca98b01-4f63-11e7-afb3-0242ac11000d-telemetry.json
https://cdn.gamelockerapp.com/semc-vainglory/sg/2017/06/14/14/45/0ea2352a-5110-11e7-a199-0242ac110005-telemetry.json

Is this because data retention is 4 months? 2017/06/12/

These matches are outside the 120 days retention period

API Docs:

403 	Forbidden -- The object requested is hidden for administrators only
410 	Gone -- The object requested has been removed from our servers

If the error code is "access denied", the data can't be deleted as being out of the retention period. This is either an oversight and the error is wrong or a misconfiguration and the data should be accessible. Additionally, there hasn't been any announcement about how assets are handled if they are older than 120 days.
Should I open another issue or do you reopen this one?

https://github.com/gamelocker/vainglory-assets/blob/master/CHANGELOG.md#gamelocker-api-version-730
Assets are included in data.
I will reopen the issue and wait for @bguilder

We have a retention period set on the S3 bucket that expires anything older than 120 days so the error message is coming from the CDN looking for an object in S3 that has been expired.


win10 install curl failed

ENV：

vcpkg version eb0591597e4cb93ddc94f5b738dd5f519bffc529
Windows 10 professional, simplified Chinese locale, 10.0.14393
cmake: 3.9.2 c:/Program Files/CMake/
git version 2.14.1.windows.1
Microsoft Visual Studio Community 2017 15.3.4 VisualStudio.15.Release/15.3.4+26730.15

I have successfully installed :
D:\git\vcpkg>vcpkg.exe list
gflags[core]:x86-windows       2.2.0-5          A C++ library that implements commandline flags processing
glog[core]:x86-windows         0.3.5-1          C++ implementation of the Google logging module
libevent[core]:x86-windows     2.1.8-3          An event notification library
libssh2[core]:x86-windows      1.8.0-2          The SSH library
openssl[core]:x86-windows      1.0.2l-2         OpenSSL is an open source project that provides a robust, commercial...
zlib[core]:x86-windows         1.2.11-1         A compression library

But I try to install curl failed:
D:\git\vcpkg>vcpkg.exe install curl
The following packages will be built and installed:
    curl:x86-windows
Starting package 1/1: curl:x86-windows
Building package curl:x86-windows...
-- CURRENT_INSTALLED_DIR=D:/git/vcpkg/installed/x86-windows
-- DOWNLOADS=D:/git/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=D:/git/vcpkg/packages/curl_x86-windows
-- CURRENT_BUILDTREES_DIR=D:/git/vcpkg/buildtrees/curl
-- CURRENT_PORT_DIR=D:/git/vcpkg/ports/curl/.
-- Using cached D:/git/vcpkg/downloads/curl-curl-curl-7_55_1.tar.gz
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting done
-- Applying patch D:/git/vcpkg/ports/curl/0001_cmake.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch D:/git/vcpkg/ports/curl/0001_cmake.patch done
-- Applying patch D:/git/vcpkg/ports/curl/0002_fix_uwp.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch D:/git/vcpkg/ports/curl/0002_fix_uwp.patch done
-- Configuring x86-windows-rel
-- Configuring x86-windows-rel done
-- Configuring x86-windows-dbg
-- Configuring x86-windows-dbg done
-- Package x86-windows-rel
CMake Error at D:/git/vcpkg/scripts/cmake/vcpkg_execute_required_process.cmake:43 (message):
    Command failed: C:/Program Files/CMake/bin/cmake.exe;--build;.;--config;Release;--target;install;--;-v
    Working Directory: D:/git/vcpkg/buildtrees/curl/x86-windows-rel
    See logs for more information:
      D:\git\vcpkg\buildtrees\curl\package-x86-windows-rel-out.log
      D:\git\vcpkg\buildtrees\curl\package-x86-windows-rel-err.log

Call Stack (most recent call first):
  D:/git/vcpkg/scripts/cmake/vcpkg_install_cmake.cmake:49 (vcpkg_execute_required_process)
  D:/git/vcpkg/ports/curl/portfile.cmake:51 (vcpkg_install_cmake)
  D:/git/vcpkg/scripts/ports.cmake:72 (include)

Error: Building package curl:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: curl:x86-windows
  Vcpkg version: 0.0.89-2017-09-14-eb0591597e4cb93ddc94f5b738dd5f519bffc529

Additionally, attach any relevant sections from the log files above.

The content of the log file D:\git\vcpkg\buildtrees\curl\config-x86-windows-rel-err.log is :
CMake Warning at CMakeLists.txt:49 (message):
  the curl cmake build system is poorly maintained.  Be aware

CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_FLAGS
    CMAKE_CXX_FLAGS_RELEASE

Thanks.

[34/38] "D:/Program Files/CMake/bin/cmcldeps.exe" RC D:\vcpkg-master\buildtrees\zlib\src\zlib-1.2.11\win32\zlib1.rc "CMakeFiles\zlib.dir\win32\zlib1.res.d" CMakeFiles\zlib.dir\win32\zlib1.res "עӢ: Ѽڬτݾ:  " "D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64_x86/cl.exe" C:\PROGRA~2\WI3CF2~1\8.1\bin\x64\rc.exe -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -ID:\vcpkg-master\buildtrees\zlib\src\zlib-1.2.11 -ID:\vcpkg-master\buildtrees\zlib\x86-windows-static-rel /DWIN32 /foCMakeFiles\zlib.dir\win32\zlib1.res D:\vcpkg-master\buildtrees\zlib\src\zlib-1.2.11\win32\zlib1.rc FAILED: CMakeFiles/zlib.dir/win32/zlib1.res  "D:/Program Files/CMake/bin/cmcldeps.exe" RC D:\vcpkg-master\buildtrees\zlib\src\zlib-1.2.11\win32\zlib1.rc "CMakeFiles\zlib.dir\win32\zlib1.res.d" CMakeFiles\zlib.dir\win32\zlib1.res "עӢ: Ѽڬτݾ:  " "D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64_x86/cl.exe" C:\PROGRA~2\WI3CF2~1\8.1\bin\x64\rc.exe -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -ID:\vcpkg-master\buildtrees\zlib\src\zlib-1.2.11 -ID:\vcpkg-master\buildtrees\zlib\x86-windows-static-rel /DWIN32 /foCMakeFiles\zlib.dir\win32\zlib1.res D:\vcpkg-master\buildtrees\zlib\src\zlib-1.2.11\win32\zlib1.rc cl: 命令行 warning D9035 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :cl: 命令行 error D8000 :D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\cl.exe 中有内部编译器错误。系统将会提示你稍后向 Microsoft 发送错误报告。
"עӢ: Ѽڬτݾ:  " = ANSI"注意: 包含文件: " = en"Note: include files: "
zlib curl ... "similar issue"

@zieckey You've uploaded the wrong output file:
See logs for more information:
      D:\git\vcpkg\buildtrees\curl\package-x86-windows-rel-out.log
      D:\git\vcpkg\buildtrees\curl\package-x86-windows-rel-err.log

The content of the log file D:\git\vcpkg\buildtrees\curl\config-x86-windows-rel-err.log is :

@wfeii1980 I have a similar error log file when intalled zlib or curl ,my solution is modify the vs language from Chinese to English. Maybe it would help you.

@prudens 'my solution is modify the vs language from Chinese to English' it works. Thanks.

Hi @zieckey , thanks for reporting this issue!
The latest version of curl was built successfully on my machine. Plz update vcpkg and try again.
Please open a new issue if this is still a problem for you.
Thx.

same error.. also with boost
I guess it's chinese system problem?

@whidbey noop, I've test boost with win10_zh-CN, built success. Could you open a new issue?


fix(detail-panel): Reduce the font size of the work item type name.

@nimishamukherjee snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1983-fabric8-planner.int.rdu2c.fabric8.io


rivet: 2.6.0 -> 2.6.0

upstream just replaced the tarball with a new version without bumping anything
Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Failure on aarch64-linux (full log)
Attempted: rivet
Partial log (click to expand)
   Compiling backtrace v0.3.4
   Compiling rustc_const_math v0.0.0 (file:///build/rustc-1.24.0-src/src/librustc_const_math)
   Compiling proc_macro v0.0.0 (file:///build/rustc-1.24.0-src/src/libproc_macro)
   Compiling syntax_ext v0.0.0 (file:///build/rustc-1.24.0-src/src/libsyntax_ext)
building of '/nix/store/whsyh46wr0zfkw420xcc8ffgahszsd80-rustc-1.24.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/nfjkyviyyy9ly6hq1pj5wzy6qxmd491n-cargo-0.24.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bbqaq71xj30lggbbbf6calm3g7g56c02-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/2wv8f7z40qblqrn0id8xay3yj9v7cka1-imagemagick-6.9.9-34.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wam1dd5pq1fk2k65pvsjlbk7hjpm1ymj-rivet-2.6.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/wam1dd5pq1fk2k65pvsjlbk7hjpm1ymj-rivet-2.6.0.drv' failed

Success on x86_64-linux (full log)
Attempted: rivet
Partial log (click to expand)
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-buildplugin-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-which-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-mkhtml-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-config-wrapped: interpreter directive changed from " /usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-mkanalysis-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-cmphistos-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-findid-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
checking for references to /tmp/nix-build-rivet-2.6.0.drv-0 in /nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0...
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0

Failure on x86_64-darwin (full log)
Attempted: rivet
Partial log (click to expand)
  return TargetIRAnalysis([this](const Function &F) {
                           ^
[ 41%] Building X86GenAsmMatcher.inc...
[ 41%] Building X86GenDAGISel.inc...
building of '/nix/store/xf4jw7a54gn7dxry8qqgb8vp0llqc8pv-rustc-1.24.0.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/3ga07ndrczi8v8chj01hp74n8jfavs83-cargo-0.24.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sgn57njzs6p5cxilqsmrh0fy7pgijbwl-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/8fqs49lbhxs80hqirazca1inizdh02qw-imagemagick-6.9.9-34.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5sfvwsc4id3610fxn2siq1nqwqn09waf-rivet-2.6.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/5sfvwsc4id3610fxn2siq1nqwqn09waf-rivet-2.6.0.drv' failed

Duplicate of #38085

Missed that this wasn't going to the same branch.

Success on x86_64-linux (full log)
Attempted: rivet
Partial log (click to expand)
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-buildplugin-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-cmphistos-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-config-wrapped: interpreter directive changed from " /usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-findid-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-mkanalysis-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-mkhtml-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0/bin/.rivet-which-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/sz9x7gpmlpk05q952b9vq87hbgn26hkc-python-2.7.14/bin/python"
checking for references to /build in /nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0...
/nix/store/srhxhhv6hfhazqj1nsxw1b9xzwxg8ay4-rivet-2.6.0

Success on x86_64-darwin (full log)
Attempted: rivet
Partial log (click to expand)
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.make-plots-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/fqsrb5whxc3w7cvvk4yw6z8pralx2q5l-python-2.7.14/bin/python"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.rivet-buildplugin-wrapped: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/bash"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.rivet-cmphistos-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/fqsrb5whxc3w7cvvk4yw6z8pralx2q5l-python-2.7.14/bin/python"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.rivet-config-wrapped: interpreter directive changed from " /usr/bin/env bash" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/bash"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.rivet-findid-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/fqsrb5whxc3w7cvvk4yw6z8pralx2q5l-python-2.7.14/bin/python"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.rivet-mkanalysis-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/fqsrb5whxc3w7cvvk4yw6z8pralx2q5l-python-2.7.14/bin/python"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.rivet-mkhtml-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/fqsrb5whxc3w7cvvk4yw6z8pralx2q5l-python-2.7.14/bin/python"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.rivet-which-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/fqsrb5whxc3w7cvvk4yw6z8pralx2q5l-python-2.7.14/bin/python"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0/bin/.rivet-wrapped: interpreter directive changed from " /usr/bin/env python" to "/nix/store/fqsrb5whxc3w7cvvk4yw6z8pralx2q5l-python-2.7.14/bin/python"
/nix/store/h9hrzkswwn6v0zjf2dzbwhl2szbg4328-rivet-2.6.0

Failure on aarch64-linux (full log)
Attempted: rivet
Partial log (click to expand)
   Compiling rustc_passes v0.0.0 (file:///build/rustc-1.24.0-src/src/librustc_passes)
   Compiling rustc_lint v0.0.0 (file:///build/rustc-1.24.0-src/src/librustc_lint)
   Compiling rustc_save_analysis v0.0.0 (file:///build/rustc-1.24.0-src/src/librustc_save_analysis)
   Compiling rustc_privacy v0.0.0 (file:///build/rustc-1.24.0-src/src/librustc_privacy)
building of '/nix/store/whsyh46wr0zfkw420xcc8ffgahszsd80-rustc-1.24.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/nfjkyviyyy9ly6hq1pj5wzy6qxmd491n-cargo-0.24.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bbqaq71xj30lggbbbf6calm3g7g56c02-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/2wv8f7z40qblqrn0id8xay3yj9v7cka1-imagemagick-6.9.9-34.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wa0xpqiffn897xmi3s50bbakg90fzqfr-rivet-2.6.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/wa0xpqiffn897xmi3s50bbakg90fzqfr-rivet-2.6.0.drv' failed


"User matching query does not exist" when viewing user as anonymous

I'm having a 500 error "User matching query does not exist" when trying to view the profile of an existing user without being logged-in.
Here is the trace:
Traceback:
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  114.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/userena/views.py" in profile_detail
  745.     if not profile.can_view_profile(request.user):
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/userena/models.py" in can_view_profile
  395.         elif 'view_profile' in get_perms(user, self):
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/guardian/shortcuts.py" in get_perms
  145.     check = ObjectPermissionChecker(user_or_group)
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/guardian/core.py" in __init__
  37.         self.user, self.group = get_identity(user_or_group)
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/guardian/utils.py" in get_identity
  72.         identity = get_anonymous_user()
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/guardian/utils.py" in get_anonymous_user
  37.     return get_user_model().objects.get(id=guardian_settings.ANONYMOUS_USER_ID)
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/django/db/models/manager.py" in get
  151.         return self.get_queryset().get(*args, **kwargs)
File "/home/ubuntu/Lab/PERSONAL_myproject/env/local/lib/python2.7/site-packages/django/db/models/query.py" in get
  307.                 self.model._meta.object_name)

Exception Type: DoesNotExist at /accounts/arnaudtlse/
Exception Value: User matching query does not exist

My idea is that it is caused because I am not currently logged-in, so the "user" object is resolved as AnonymousUser.
That's why the query get_user_model().objects.get(id=guardian_settings.ANONYMOUS_USER_ID) fails, because -1 or None is not a valid (existing) user id.
I don't think that querying the permissions on closed profiles of the AnonymousUser is required to deny access if its ID is invalid in the first place, am I right?
So I've replaced this line: https://github.com/bread-and-pepper/django-userena/blob/master/userena/models.py#L389
by:
elif not (isinstance(user, AnonymousUser) and settings.ANONYMOUS_USER_ID < 1) and 'view_profile' in get_perms(user, self):

with:
from django.contrib.auth.models import AnonymousUser

And so far it's working. Any feedback?
Thanks!

the same question,waiting for answers,thanks!


Incorrect syntax in example

@dariomws306 @get-itips
Peer review needed for this PR. Thanks.

Looks ok.

Looks good.

@AndreaBarr The community contributed PR that has passed peer review can be merged. Thanks.


"All Mythic Paths" option does in fact break something. Who would have guessed?

 Not sure why.

This is something that needs investigation.  I find I can unlock everything by both clicking the button and then turning on Ignore Class And Feat Restrictions.  Sometimes you need to do the unlock more than once.  I will make this better and I welcome help from others.

I found that a full game client restart fixed this for me.


Not working with wdio v8

Can someone please fix for v8 ?

@bhanuagarwal73 use this https://www.npmjs.com/package/wdio-mochajson-reporter
This has same configuration as previous mochawesome reporter

Since it seems that this reporter also does not been supported anymore from @fijijavis. @christian-bromann Is there any chance to follow the same approach as for this reporter? https://github.com/fijijavis/wdio-json-reporter/issues/73. I can take over this.

@gromanas I think it would be awesome if WebdriverIO would have a great html reporter option, unfortunately it seems like the mochaawesome project doesn't seem to be maintained much anymore. If we could find a great alternative that is build upon an existing html reporting framework I would be happy to add it to the core as e.g. @wdio/html-reporter. Can you make any recommendations?

@christian-bromann Thank you very much for the quick reply. I was thinking about this and you are right. We were using wdio-mochawesome-reporter because it could export in json file where we were using it on a test results monitoring tool. A great alternative candidate could be wdio-html-nice-reporter, although we should check if this reporter has also the ability to export on json file (I think currently it doesn't, have to check), if not we can implement such a feature.

@gromanas @christian-bromann @bhanuagarwal73 We published<EMAIL_ADDRESS>for wdio v8 👍


Crash looking down Defection elevator shaft

Got an unknown GBI opcode on the elevator after it started moving down towards the lobby. I was fooling around with some cheats at the same time, and have reliably replicated and narrowed it to looking down the shaft while holding the Phoenix. I wish I could provide more information of what command value it was trying to process but I'm unsure of how to read the stderr buffer or how to run this through a debugger.

This seems to be the same crash that sometimes happens on Villa when looking at the sky on one of the balconies. Still investigating that one.

Might be heap corruption. Seems to happen after doing things like opening and closing the menu a few times (modified free heap block). Can recreate on Defection w/o cheats.

Will try to recreate this under asan later. It's entirely possible I fucked something up in the C++ part of things and didn't notice.

This might be fixed as of latest few commits.


Firebase Phone Auth

Thanks you for your good job!
Do you know  Firebase Phone Auth
if yes, Do you plan to add it?

Hi,
I just read about it. There's one thing that might be a problem, the recaptcha process.
A workaround would be to host the html and JavaScript in Firebase Hosting and load it using StageWebView.
If there's a pure REST API I will try to add it.

good new. recaptcha can be invisible.
Here the demo
https://fir-ui-demo-84a6c.firebaseapp.com/
Le 28 mai 2017 21:43, "Mr. Phantom"<EMAIL_ADDRESS>a écrit :
Hi,
I just read about it. There's one thing that might be a problem, the
recaptcha process.
A workaround would be to host the html and JavaScript in Firebase Hosting
and load it using StageWebView.
If there's a pure REST API I will try to add it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PhantomAppDevelopment/firebase-as3/issues/15#issuecomment-304535741,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMYpy7WpOqTHgPstg7Wzyd-wAFcANzeMks5r-c5mgaJpZM4NnZH4
.

Thanks!
In the last hours I have been studying how it works and I almost got it working.
I will explain what I got and what failed:
When you start a Phone Auth, Firebase connects to the Google Identity Toolkit and retrieves a recaptchaToken and a recaptchaSiteKey.
Then Firebase exchanges those with the Google Recaptcha Server for another recaptchaToken. This is where I failed, I wasn't able to find a way to get this new token.
Then you need to send to Google Identity Toolkit the new recaptchaToken and the Phone Number with the country code. You will receive a session id.
Finally you send to another Google Identity Toolkit the verification code and the session id from the previous request and the user gets registered.


Cloud search should weight fields differently

After #405 and we have all the fields populated, we should weight the search fields by something like
https://github.com/sillsdev/webonary/blob/4bde946f8d67935025e259ad1a3be96f193b2907/wordpress/wp-content/plugins/sil-dictionary-webonary/webonary/Webonary_Pathway_Xhtml_Import.php#L480

The Search results should be returned in a relevant order by fields.
Here is the order for searching for something in the vernacular language; headword in main entry, headword in subentry, headword in minor entry, any cross references, including lexical relations, example sentences, then everything else.
Here is the order for searching for something in the analysis languages. Definition, translation of example sentences, notes, then everything else.

See Issue #397

Duplicate of #397

There is still a difference in the search order results depending on whether the match whole words is checked or not. The correct order occurs when you Match whole words.

Reference prior example.


Start the tool communication script if the flag is set

As discussed in #256 it would be nice to actually start the tool communication if the flag use_tool_communication is set.
A quick side note: I decided against adding this to all launch files, as the use_tool_communication argument also only exists inside the ur_control.launch file.
I'll mark this ready once I've actually tested on real hardware.

Tested with real hardware.
I found an issue with the tool_comm script which I also fixed in this PR.


feat: allow bitshifts to be represented in SSA for brillig

Description
Problem*
Resolves #4276
Summary*
Quick and dirty implementation of replacing bitshifts in SSA once function inlining has occurred. Not a fan of how we are juggling the instructions but will need to think about how to do this cleanly.
cc @sirasistant
Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Ah looks like I need to move the pass to be after flatten_cfg

I think it failed after inlining because the pass only works on one block! Would it be better for it to support multiple blocks and do it after inlining? I'm not sure if any of the passes in between would help at all so maybe not.

But yeah in general this would be precisely the idea :D ! Do we want to regenerate the whole instructions array and replace it or insert surgically the new instructions by managing an index to where we want to insert them?

Let's get this in to unblock syncing with aztec-packages. We can refactor this later.


Victoria-aware Lookup File Naming should be detected

After reviewing the implementation of check_detection_metadata() on the inspect action- we can extend this concept to include warning/errors on lookups changing without the filenames changing between two versions. This causes a big issue with Victoria Experience SplunkCloud deployments where lookup updates are handled differently. Implementing this in the inspect workflow allows us to better catch these, and allows customers utilizing contentctl to also benefit from this.

Jotting down thoughts here as this is a bit more involved than at first glance- we already validate that lookup yml files point to files that exist- so we can likely avoid parsing the the .conf entirely, which saves a ton of work. We need to collect two pieces of information from each package- the filename of the CSV lookup on disk, and a hash of that file. Creating a set of tuples for these could represent each package, and then we simply need to compare based on the filename key- we specifically want to throw errors when the filename has not changed, but the file hash has. Things that are only in the new package are new lookups- whether we want to go back and add validation to enforce datestamping them is separate. Things that are only in the old package set are two things- "Lookups we don't ship anymore" or "old versions of lookups that have had their filename changed" - both of those are fine.

After discussion w/ @pyth0n1c , documenting an alternative to the above:

Managed Workflow for Lookups

lookups get named like lookup_file.csv
the accompanying yml gets some standard metadata fields added, including a date
on build, lookup_file.csv gets written out to the app as lookup_file-20241219.csv based on the date in the yaml
validation is built around the yaml to ensure dates get modified if the file changes
the above mentioned check (comparing filenames + hashes of lookups between two packages) can still be added to inspect


flutter_dispose_scope: remove windows, linux, macos, and web example apps

They're annoying and only clutter the repo. It's very easy to recreate them if one needs to.

cc: @RobertOdrowaz
I hope you're not very angry at me for messing with your repo 🥲


No module named 'antlr4' when using az vm list

No module named 'antlr4' when using az vm list
Command Name
az vm list
Errors:
No module named 'antlr4'
Traceback (most recent call last):
lib/python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 528, in execute
    self.commands_loader.load_arguments(command)
dist-packages/azure/cli/core/__init__.py, ln 300, in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
azure/cli/command_modules/vm/__init__.py, ln 31, in load_arguments
    from azure.cli.command_modules.vm._params import load_arguments
azure/cli/command_modules/vm/_params.py, ln 31, in <module>
    from azure.cli.command_modules.monitor.actions import get_period_type
azure/cli/command_modules/monitor/actions.py, ln 7, in <module>
    import antlr4
ModuleNotFoundError: No module named 'antlr4'

To Reproduce:

az vm list

Expected Behavior
Environment Summary
Linux-5.4.0-7642-generic-x86_64-with-glibc2.29
Python 3.8.2
Shell: zsh

azure-cli 2.0.81 *

Extensions:
azure-devops 0.17.0

Additional Context

#14011

hi @edernucci could you pls try uninstall 2.0.81 and install latest Azure CLI version? This is a known issue in Focal CLI package in #14011 .

@yungezz you're incredibly right. After updating to latest version, commands like az vm list and az vmss list worked fine.
Thank you very much for your support.


Title: Need to add security headers and CORS policies

Title: Need to add security headers and CORS policies
As a service provider
I need my service to use security headers and CORS policies
So that my web site is not vulnerable to CORS attacks
#### Assumptions
* Flask-Talisman will be used for security headers
* Flask-Cors will be used to establish cross-origin resource sharing (CORS) policies
#### Acceptance Criteria
gherkin     Given the site is secured     When a REST API request is made     Then secure headers and a CORS policy should be returned

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


Adding Sign Up page

I would like to work on this issue.
I just have to implement the UI right? and not the backend?

I would like to work on this issue.
I will implement both UI and backend.

I would like to work on this issue. I will implement both UI and backend.

@anugoyal998 Go ahead.

I would like to work on this issue. I will implement both UI and backend.

@anugoyal998 Go ahead.

can you briefly describe the UI part and the type of signup page you want like passwordless signup or password signup
and, do I also need to send email (if using email authentication) to users for verifying the email?

I would like to work on this issue. I will implement both UI and backend.

@anugoyal998 Go ahead.

can you briefly describe the UI part and the type of signup page you want like passwordless signup or password signup and, do I also need to send email (if using email authentication) to users for verifying the email?

Password signup, If you use email authentication that will be great, it's upto you.

@madihamallick I have made the PR for the signup page


Reduces a bunch of locks and unlocks hopefully on all trims.

🚫 CI failed with log

🚫 CI failed with log

🚫 CI failed with log


Incorrect algorithm specification doesn't throw an error.

This algorithm specification should throw an error but not
Turing.NUTS(10,5,0.2,3,0.8)

Found by @jonasmac16

So I guess we just need to constraint the type of space to be `Union{Tuple{},Tuple{Symbol}}?

Will need to see how to proceed it in https://github.com/TuringLang/Turing.jl/pull/826 or after that be merged.

Yes this is simple. I fixed it on 826. Running tests, then pushing.


Issue while installing the module on Centos 6 linux system.

I am facing an issue while installing sharp on my linux system using npm.
Here is a screen shot of the issue:

Is there any work around for this?
How do I fix this issue if not?

The salient part of this error message is:

Use with glibc version 2.12 requires manual installation of libvips >= 8.6.1

It looks like you're using RHEL/Centos 6.

For 32-bit Intel CPUs and older Linux-based operating systems such as Centos 6, it is recommended to install a system-wide installation of libvips from source http://sharp.pixelplumbing.com/en/stable/install/#linux

Right... I am using CentOS 6 here.
I have to have a sharp directory to install the additional dependency right?
Or how does it work?
I am trying to install sharp individually and I get a new warning here:

I installed libvips using this link https://gist.github.com/h2non/89bb2f87c6499d0b25f1. Doesn't seem to work either. I suppose it has installed 7.42 version. Can you please help?
I still get these errors:

http://sharp.pixelplumbing.com/en/stable/install/#building-from-source

Building from source requires:
C++11 compatible compiler such as gcc 4.8+, clang 3.0+ or MSVC 2013+

I highly recommend upgrading to Centos 7 if possible as pre-compiled binaries are provided for this newer version.

Isn't there any work around for the older versions @lovell apart from upgrading entire OS?

https://edwards.sdsu.edu/research/c11-on-centos-6/ might help. Good luck!


Copy sample preserving history and repo here

#159 sqlexpress sample

Closing issue due to lack of activity.


Steps:

Put on a utility belt
Enter a crate (Lockers are currently too small to fit humans)
Exit the crate
4a) Try to open the utility belt (rendering freeze)
4b) Try to grab the belt (nothing happens)
4c) Rejoin the server (the utility belt is gone)

Without rejoining, the utility belt is still shown to be in the belt slot. Any items in the utility belt are dumped along with the human.

that's exactly what happens with clothing too


Different fonts?

This isn't an issue but I didn't know where else to put it. Is there any way to use another font other than lucida grande or san fransico? (feel free to point me the correct place for this kind of request)

@jorduino The problem has a solution. It has taken so much of my mind.
Many people don't know how to reach the network that designs products. Yet they know it's possible with the web. It's unbelievable that the human race hasn't made a center for this yet.
I call it the #IDEAsPlatform, a viable version of it it #UserStoryHub. If the name is not explanatory enough, I'll be happy to tell more.
Thank you for your time.


Question on Digiten G1 - Probably FS400A

Hi,
First of all, thanks for the great work on this library!  I had a question on sensor calibration in general, and I was hoping you could help since you have a lot of knowledge on this subject.
I'm trying to measure flow/consumption in my garden which uses drip irrigation.  I'm using the following sensor on Amazon.  I think the sensor has the same specs as the FS400A; however, the constant value is 4.8 on Amazon which I think is too high anyways (4.5 seems more reasonable).
I've hooked up a few flow meters on the supply line to try and verify the results of the sensor from Amazon.  I also hooked in a digital flow meter as well in earlier tests.
Onto my question :)  In 10 minutes, I see around 4.5 gallons consumed at the water flow meters; however, my Digiten sensor is only showing 1.2 gallons or so.  I debugged the output, and I do see around 2 pulses per second which indeed equates to around 4.6L ~ 1.2gal.
If the Flow Meters are measuring flow accurately, it equates to 1.7 L/m which is within spec of 1-60; however, the error is so high!  Is there something that I'm doing wrong?  Is there a better sensor that yields more accurate results at low flow rates?  Thanks so much!!
***EDIT
It's also possible that the sensor is reading a correct value while the other 2 flow meters are incorrect.  I saw the Flows.com meter has a min of 6.6 GPH which is still within spec of the 1.2 GPM (7.2 GPH).  If the Digiten is correct, then it's out of spec since that ends up being around 0.5L/m.  Ahhh!

Hi @czuvich,
thanks for your feedback (and for using the library). :)
Drip irrigation in a garden can be tough on sensor linearity, since low flow comes with its own problems.

I'm trying to measure flow/consumption in my garden which uses drip irrigation.

What's your water supply? Line pressure, local pump, gravity? Drinking water, well water, rain water?
The reason why I'm asking is that a flow sensor will always be a restriction to flow, thus measuring the flow rate will inevitably influence it. This is especially true for low pressure and/or low flow systems.

In 10 minutes, I see around 4.5 gallons consumed at the water flow meters

Okay, so – as you say – around 1.7 l/min (sorry, metric brain here).

my Digiten sensor is only showing 1.2 gallons or so

This could very well be sensor nonlinearity, which it will show at both ends of the scale (i.e. for comparatively very low and very high flow rates).
And we don't yet know if any ot the sensors is correct at all...
The WM-PD has an optional pulse output. Does yours provide one?
The P3 meter isn't a low flow device, so it will have the same linearity problems as the FL-808.
Do the WM-PD and the P3 agree at low flow?

If the Flow Meters are measuring flow accurately, it equates to 1.7 L/m which is within spec of 1-60; however, the error is so high!

First of all, the Q&A/review sections on Amazon contain hints about the sensor data (Q = 4.8) being inaccurate and the small bore adding considerable restraint. So I wouldn't expect too much accuracy from the uncalibrated sensor.
Second of all, the safest method to check would of course be to unhook the drip tubing and take some measurements at different flow rates.
I recommend the bucket method as described in the wiki (also at higher flow rates in order to verify manufacturer's data).
And at 1.2/1.7 = 0.706 the error is "only" 30%, which is not too bad as long as it's reproducible and stays that way (since a simple correction factor of 1.416 could then take care of it).
I've seen worse in inexpensive sensors. ;)

Is there a better sensor that yields more accurate results at low flow rates?

That's a tough question for low flow drip irrigation.
There are sensors specifically designed for smaller flow rates, e.g. for vending machines.
But they have even smaller bores and usually aren't very dirt or weather proof.
If I were in your shoes, I'd try to find the cause for the discrepancy before trying out even more flow sensors (especially since most other sensors also come uncalibrated).
Also, in my personal experience low flow drip irrigation needs greater care than high flow irrigation  due to dirt, algae, roots, clogging, etc. (so flow rates might vary over time anyway)...
Maybe the WM-PD with sensor output could turn out to be a good contender provided it gets enough pressure (since it operates on pressure differential).

Hi @sekdiy,
Thank you so much for the quick response and great feedback!  Let me try to answer some of these questions.

What's your water supply? Line pressure, local pump, gravity? Drinking water, well water, rain water?

The supply line is a residential water spigot that is showing 41 PSI.  I have a pressure reader on the line.  The WM-PD is hooked up to the supply line spigot.  I then run 3/4" PVC to my garden.  The raised beds use 1/4" drip irrigation emitters which has a 30 PSI regulator sitting in front of them.  I insert the Digiten G1" flow sensor between the pressure regulator and the 1/4" drip (via some adapters and a poly mainline).  I also have a DC latching valve at each bed to zone irrigation to each bed (I control them via Arduino and LoRaWAN in case you're curious heh).

Do the WM-PD and the P3 agree at low flow?

No.  The P3 measures a little lower (1 gallon less) in the 10 minute span.  That seems to be in-line with low readings from the Digiten sensors since neither are designed for low flow.

If I were in your shoes, I'd try to find the cause for the discrepancy before trying out even more flow sensors (especially since most other sensors also come uncalibrated).

That's solid advice.  Based on what I'm reading and your comments, I guess the Digiten sensors (and other variants) are not exactly the most "reliable" sensors.  It's difficult to replicate the exact flow I'm seeing without being hooked up to the drip irrigation system.  I've calibrated via the bucket method with various flow rates by squeezing the line which I know isn't the best method, but the results were within spec of the datasheet.  It's when I saw low flow rates is when the values were consistently skewed.
I have a handful of 3/4" meters from flows.com with pulse output capability laying around that are calibrated for 1 pulse per gallon.  I haven't tried the pulse output with my uC, but I figure these meters have better reliability and are definitely rated for lower flow (less than 1 L/m it looks like).  I honestly had no idea it would be this difficult to measure water flow!
Side note, this is a hobby project I've been working for over a year, and the water flow is the final (and most cumbersome) piece. Thank you so much for your time and feedback!  It has been extremely useful!

The supply line is a residential water spigot that is showing 41 PSI.

Okay, that should definitely be enough for any of these sensors to operate.

The raised beds use 1/4" drip irrigation emitters which has a 30 PSI regulator sitting in front of them.

Okay.

I insert the Digiten G1" flow sensor between the pressure regulator and the 1/4" drip

That shouldn't affect the flow sensor, although I would put the sensor before the pressure regulator in order to maintain 30 PSI (and unrestricted flow) in the drip line.

Arduino and LoRaWAN

Cool! :)

Based on what I'm reading and your comments, I guess the Digiten sensors (and other variants) are not exactly the most "reliable" sensors.

No, in my experience they aren't. But with regular maintenance (opening them up and cleaning the impeller, shaft and bores) they are good enough for irrigation purposes.
To be fair, non-commercial garden irrigation with municipal water is probably one of the the least demanding applications for a flow sensor.

the results were within spec of the datasheet. It's when I saw low flow rates is when the values were consistently skewed.

Well, as long as they are skewed in the same direction, the FlowMeter library allows to compensate for it via it's calibration option.
If you limit your system capacity to a relatively low (maximum) flow rate, your can provide correction factors for low or even very low flow rates.

the water flow is the final (and most cumbersome) piece

Wait until you try to reliably sense soil moisture and PH in multiple locations – wirelessly. :D

That shouldn't affect the flow sensor, although I would put the sensor before the pressure regulator in order to maintain 30 PSI (and unrestricted flow) in the drip line.

That is a really good point!  Thank you!

To be fair, non-commercial garden irrigation with municipal water is probably one of the the least demanding applications for a flow sensor.

True.  I plan on demonstrating my product for small growers/nurseries, but for now it's in my 1 acre plot :)  I could see why it's not as demanding in this industry simply due to infrastructure cost (not just the sensor.. but everything else).

If you limit your system capacity to a relatively low (maximum) flow rate, your can provide correction factors for low or even very low flow rates.

The only caveat to that I think is leak detection.  I've had instances where the irrigation lines pop off since they aren't glued together.  It'd be nice to maintain the proper accuracy at the higher flow rates, too.

Wait until you try to reliably sense soil moisture and PH in multiple locations – wirelessly. :D

Already done ;)  I sense soil moisture and soil temperature.  I attached a picture of one of the pages on my mobile app that shows the water consumption per zone  as well as how it affected the soil moisture and temperature.  I use this as data to help automate opening/closing the valve for more efficient watering and overall healthier plants (roots are stronger if the soil is dried out between watering).
Anyways, thank you so much for the tips and comments. I really do appreciate it.

The only caveat to that I think is leak detection.

If a popped line always means maximum flow (i.e. predetermined upper limit), wouldn't that be easy to detect?

I sense soil moisture and soil temperature.

Can you reveal your sensor type(s)?

If a popped line always means maximum flow (i.e. predetermined upper limit), wouldn't that be easy to detect?

Good point.

Can you reveal your sensor type(s)?

I use the Vegetronix VH400; however, temperature has an effect on the readings which is why I also measure temperature.  I've also noticed installation is critical.  I've tried half a dozen different sensors, but there are still a few more I'd like to try that are not available in the US yet.


README and Pip Improvements

This PR adds usage instructions to RadClass's README. This includes several diagrams for understand how data is processed and some information about inputs to RadClass. I am hosting these images on Google Drive, and I have noticed that sometimes the image do not load properly. That is probably a limitation of Google Drive being slow to share, so maybe an alternative is needed.
This also adds a basic setup.py file for installing RadClass with pip. Instructions are also included in the README. I am hoping someone can verify on their end that the installation with pip and usage of RadClass as a module is working.

Per S/W Design & Review, pip module installation is working and I have updated the install instructions.

This looks like a good start, we'll probably need to review/revise as things move forward.


Unsupported operand leading to benchmark failure

Noticed with latest Rally version:
$ esrally --version
esrally 2.11.0.dev0 (git revision: f72ea624c7539f2f6672a97c3646423817aa45ed)

When running nyc_taxis track with update challenge the following stack trace was observed:
2024-06-26 06:37:26,439 ActorAddr-(T|:33319)/PID:3235 esrally.driver.driver ERROR Could not execute schedule
Traceback (most recent call last):

  File "/home/esbench/rally/esrally/driver/driver.py", line 1942, in __call__
    service_time = request_end - request_start
                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~

TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'

2024-06-26 06:37:26,440 ActorAddr-(T|:33319)/PID:3235 esrally.driver.driver INFO Worker[1] finished executing tasks ['update'] in 870.963661 seconds
2024-06-26 06:37:30,440 ActorAddr-(T|:46501)/PID:3234 elastic_transport.node_pool WARNING Node <RallyAiohttpHttpNode([https://REDACTED.elastic.cloud:443](https://REDACTED.elastic.cloud/))> has failed for 1 times in a row, putting on 1 second timeout
2024-06-26 06:37:31,410 ActorAddr-(T|:33319)/PID:3235 esrally.actor ERROR Worker[1] has detected a benchmark failure. Notifying master...
Traceback (most recent call last):

  File "/home/esbench/.pyenv/versions/3.11.7/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/esbench/rally/esrally/driver/driver.py", line 1782, in __call__
    loop.run_until_complete(self.run())

  File "/home/esbench/.pyenv/versions/3.11.7/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^

  File "/home/esbench/rally/esrally/driver/driver.py", line 1834, in run
    _ = await asyncio.gather(*awaitables)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/esbench/rally/esrally/driver/driver.py", line 1999, in __call__
    raise exceptions.RallyError(f"Cannot run task [{self.task}]: {e}") from None

esrally.exceptions.RallyError: Cannot run task [update]: unsupported operand type(s) for -: 'NoneType' and 'float'

2024-06-26 06:37:31,412 ActorAddr-(T|:38959)/PID:3091 esrally.actor ERROR Main driver received a fatal exception from a load generator. Shutting down.

After adding the following ad-hoc logs:
$ git diff
diff --git a/esrally/client/factory.py b/esrally/client/factory.py
index 2b5b99e3..950718b0 100644
--- a/esrally/client/factory.py
+++ b/esrally/client/factory.py
@@ -219,9 +219,18 @@ class EsClientFactory:
                     return super().loads(data)

         async def on_request_start(session, trace_config_ctx, params):
+            self.logger.debug("on_request_start")
             RallyAsyncElasticsearch.on_request_start()

         async def on_request_end(session, trace_config_ctx, params):
+            self.logger.debug("on_request_end")
+
+        async def on_response_chunk_received(session, trace_config_ctx, params):
+            self.logger.debug("on_response_chunk_received")
+            RallyAsyncElasticsearch.on_request_end()
+
+        async def on_request_exception(session, trace_config_ctx, params):
+            self.logger.debug("on_request_exception")
             RallyAsyncElasticsearch.on_request_end()

         trace_config = aiohttp.TraceConfig()
@@ -235,9 +244,11 @@ class EsClientFactory:
         # Rally's implementation of the `on_request_end` callback handler updates the timestamp on every call, Rally
         # will ultimately record the time when it received the *last* chunk. This is what we want because any code
         # that is using the Elasticsearch client library can only act on the response once it is fully received.
-        trace_config.on_response_chunk_received.append(on_request_end)
+        trace_config.on_response_chunk_received.append(on_response_chunk_received)
+        # for logging purposes
+        trace_config.on_request_end.append(on_request_end)
         # ensure that we also stop the timer when a request "ends" with an exception (e.g. a timeout)
-        trace_config.on_request_exception.append(on_request_end)
+        trace_config.on_request_exception.append(on_request_exception)

         # override the builtin JSON serializer
         self.client_options["serializer"] = LazyJSONSerializer()

And configuring logging.json as follows:
  "loggers": {
    "elasticsearch": {
      "handlers": [
        "rally_log_handler"
      ],
      "level": "DEBUG",
      "propagate": false
    },
    "rally.profile": {
      "handlers": [
        "rally_profile_handler"
      ],
      "level": "INFO",
      "propagate": false
    },
    "elastic_transport": {
      "handlers": [
        "rally_log_handler"
      ],
      "level": "DEBUG",
      "propagate": false
    },
    "esrally.client.factory": {
      "handlers": [
        "rally_log_handler"
      ],
      "level": "DEBUG",
      "propagate": false
    }
  }

The following sequences were captured:
# healthy request
2024-06-26 12:54:19,209 ActorAddr-(T|:38747)/PID:26852 esrally.client.factory DEBUG on_request_start
2024-06-26 12:54:26,457 ActorAddr-(T|:38747)/PID:26852 esrally.client.factory DEBUG on_request_end
2024-06-26 12:54:26,473 ActorAddr-(T|:38747)/PID:26852 esrally.client.factory DEBUG on_response_chunk_received
2024-06-26 12:54:26,474 -not-actor-/PID:26852 elastic_transport.node DEBUG > PUT /_bulk HTTP/1.1
[.. request / response ..]
2024-06-26 12:54:26,485 -not-actor-/PID:26852 elastic_transport.transport INFO PUT [https://REDACTED.elastic.cloud:443/_bulk](https://REDACTED.elastic.cloud/_bulk) [status:200 duration:7.276s]

# with timeout and on_request_exception
2024-06-26 12:54:26,517 ActorAddr-(T|:38747)/PID:26852 esrally.client.factory DEBUG on_request_start
2024-06-26 12:54:37,440 ActorAddr-(T|:38747)/PID:26852 esrally.client.factory DEBUG on_request_exception
2024-06-26 12:54:37,441 -not-actor-/PID:26852 elastic_transport.node DEBUG > PUT /_bulk HTTP/?.?
[.. request ..]
elastic_transport.ConnectionTimeout: Connection timeout caused by: TimeoutError()
2024-06-26 12:54:37,447 -not-actor-/PID:26852 elastic_transport.transport INFO PUT [https://REDACTED.elastic.cloud:443/_bulk](https://REDACTED.elastic.cloud/_bulk) [status:N/A duration:10.930s]

# with timeout but without on_request_exception
2024-06-26 12:54:48,479 ActorAddr-(T|:38747)/PID:26852 esrally.client.factory DEBUG on_request_start
2024-06-26 12:54:59,438 ActorAddr-(T|:38747)/PID:26852 esrally.client.factory DEBUG on_request_end
2024-06-26 12:54:59,440 -not-actor-/PID:26852 elastic_transport.node DEBUG > PUT /_bulk HTTP/?.?
[.. request ..]
elastic_transport.ConnectionTimeout: Connection timeout caused by: TimeoutError()
2024-06-26 12:54:59,445 -not-actor-/PID:26852 elastic_transport.transport INFO PUT [https://REDACTED.elastic.cloud:443/_bulk](https://REDACTED.elastic.cloud/_bulk) [status:N/A duration:10.966s]

This suggests that some timeouts lead to end state instead of exception state in aiohttp (see here). After https://github.com/elastic/rally/pull/1823 end state is no longer handled by Rally as callback for on_request_end was removed in favor of on_response_chunk_received callback.

I'm checking whether on_request_end callback restoration while keeping on_response_chunk_received is enough to eliminate the bug.

Test results looked fine, so I've raised a fix in https://github.com/elastic/rally/pull/1861.


chore: set next version

This seems it should be the responsibility of CD right?

@JoanFM No, CD bumps the patch version - to increase minor you need to do it yourself. Currently CD creates the tags, so this is the source of truth


content/configuration: --show-origin for config --list to show insides

Add -show-origin so that people can see where things are defined
(makes it clear where one can change it and this isn't magic)

Thanks! That's good.


write_parsed_to_file permissions

Hey there,
I noticed every time write_parsed_to_file happens the indexer displays "Could not write to file" and just continues. The speed of my inserts is down to an average of 41/s after half an hour running. Just in case, I tried to chmod all 4 folders it uses (which I created manually) to 777, then chowning them to the mysql user and group, but of course this doesn't look to be the right solution. What permissions exactly do I have to use or, if this is caused by something else, what do I have to change? All other tables are being populated correctly. (Also, my data dir is set do /var/lib/mysql which is the default for Linux - as far as I can see this is only used for these 4 tables, can I safely change it to something like the home directory or will that screw up the periodic database inserts?)
Thanks in advance.
By the way, really useful tool. Love it :)

Hi Paul,
Thank you for using this tool ! :) The indexer should be writing files in the mysql data dir. From the MySQL command line, you can check the data dir location using the following command SHOW VARIABLES WHERE Variable_Name LIKE '%dir'" (lookup for the value of the datadir entry). To this output you should add "/POE" or the name of the database used to store the data if modified in the config.cfg file. Could you compare this output to the DB_DATA_DIR entry in the config.cfg file ? For example, on my side it is set to /home/mysql/POE. I will update the documentation, since this is not clear.

Hi! Just checked MySQL datadir variable, which on my Linux system is in fact /var/lib/mysql. Should DB_DATA_DIR be equal to /var/lib/mysql/POE then? As far as I know the program cannot write to this directory!

Should DB_DATA_DIR be equal to /var/lib/mysql/POE then?

Yeah, exactly, the DB_DATA_DIR should be /var/lib/mysql/POE in your case.

As far as I know the program cannot write to this directory!

The program permissions are bound by the permissions of the user running the program. If you give writing rights to the mysql group on the /var/lib/mysql/POE folder and then add the user running the program to the mysql group, you should be fine. This can be done this way:
chmod 730 /var/lib/mysql/POE
usermod -a -G mysql userName

Just tried those two commands. Still geting the same message: could not write to file - do you think running program as root or chmodding to 777 will help?

You may have to to logout the user and login again to have modifications applied. Root will work, you may try with 777 as well.

Right just tried as root user and it worked. Getting message "[mod_loop] Inserting x batch (1 to go)" the 4 times (I'm assuming this is the intended behaviour). Thank you so much for your help!

I'm really glad you got it working! :) It would be safer to use a less privileged user than root for security reasons though.


HDDS-2327. Provide new Freon test to test Ratis pipeline with pure XceiverClientRatis

What changes were proposed in this pull request?
Xiaoyu Yao suggested during an offline talk to implement one additional Freon test to test the ratis part only.
It can use XceiverClientManager which creates a pure XceiverClientRatis. The client can be used to generate chunks as the datanode accepts any container id / block id.
With this approach we can stress-test one selected ratis pipeline without having full end2end overhead of the key creation (OM, SCM, etc.)
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2327
How was this patch tested?
cd hadoop-ozone/dist/target/ozone-*/compose/ozone
docker-compose up -d --scale datanode=3
#wait
docker-compose exec scm ozone freon dcg -n1000

Execution should be fine. Eg:
10/18/19, 12:50:28 PM ==========================================================

-- Timers ----------------------------------------------------------------------
file-create
             count = 1000
         mean rate = 142.16 calls/second
     1-minute rate = 140.00 calls/second
     5-minute rate = 140.00 calls/second
    15-minute rate = 140.00 calls/second
               min = 0.09 milliseconds
               max = 689.10 milliseconds
              mean = 63.18 milliseconds
            stddev = 63.59 milliseconds
            median = 58.54 milliseconds
              75% <= 77.92 milliseconds
              95% <= 110.45 milliseconds
              98% <= 133.97 milliseconds
              99% <= 175.51 milliseconds
            99.9% <= 675.39 milliseconds

Total execution time (sec): 7
Failures: 0
Successful executions: 1000

Check the number of chunk files on the system:
 for i in `seq 1 3`; do docker exec ozone_datanode_1 find  /data/ -type f; done | grep chunk | wc
3000

oh ..and Rat failed :)

Thanks @elek  for the PR. That LGTM. Just few minor comments in addition to @anuengineer 's comments.

After addressing the checkstyles issues, I will be a +1 on this.

Checkstyle issues are resolved. Will merge it to the master thanks @xiaoyuyao @anuengineer @dineshchitlangia and @adoroszlai the review.


Variable preview when debugging shows extra characters in the middle of a string

Environment data

VS Code version: 1.52.1 (user setup)
Extension version (available under the Extensions sidebar): 2021.1.502429796
OS and version: Windows 10 Pro and Ubuntu 20.04 (using WSL 2)
Python version (& distribution if applicable, e.g. Anaconda): 3.9.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Poetry
Relevant/affected Python packages and their versions: n/a
Relevant/affected Python-related VS Code extensions and their versions: n/a
Value of the python.languageServer setting: Pylance

Expected behaviour
When debugging a Python file, the "Variables" panel shows the correct value of all variables.
Actual behaviour
For a particular variable in my program, the incorrect string value is displayed. The correct string value is displayed when I expand the variable (it is a list) and all lists inside it:

The problematic part is the "saffron bathing suit... for women" string. The string in question has no "..." in it. This only shows up in some parts of the variable preview for the debugger.
Here's an animated version that attempts to show all situations where the extra characters appear and don't appear. Note that they appear in both Variables and Watch, and appear for the mouse hover over in each:

Steps to reproduce:
Unknown right now. This is a proprietary codebase that I can't share that generates random strings from a static corpus. I don't know of a minimal reproduction right now.
Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'LocalZMQKernel - experiment'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'RunByLine - experiment'
User belongs to experiment group 'CustomEditorSupport - control'
User belongs to experiment group 'pythonaacf'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonInstallPylintButtonFirst'
> pyenv root
> conda --version
> python3.7 ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
Error 2021-01-25 09:35:40: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://wsl+ubuntu/home/matt/.config/Code/User/settings.json' (EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '/home/matt/.config/Code/User/settings.json')
	at _handleError (/home/matt/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/out/vs/server/remoteExtensionHostProcess.js:769:473)
	at processTicksAndRejections (internal/process/task_queues.js:94:5)
	at async y.readText (/home/matt/.vscode-server/extensions/ms-python.python-2021.1.502429796/out/client/extension.js:9:344778)
	at async p.doesFileNeedToBeFixed (/home/matt/.vscode-server/extensions/ms-python.python-2021.1.502429796/out/client/extension.js:59:500280)
	at async /home/matt/.vscode-server/extensions/ms-python.python-2021.1.502429796/out/client/extension.js:59:499407
	at async Promise.all (index 0)
	at async p.getFilesToBeFixed (/home/matt/.vscode-server/extensions/ms-python.python-2021.1.502429796/out/client/extension.js:59:499353)
	at async p.updateTestSettings (/home/matt/.vscode-server/extensions/ms-python.python-2021.1.502429796/out/client/extension.js:59:498980)] {
  code: 'FileNotFound',
  name: 'EntryNotFound (FileSystemError)'
}
Starting Pylance language server.
Python interpreter path: ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python
> pyenv root
> pyenv root
> pyenv root
> conda --version
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/search_performer.py.ffc92f0251418e92d04fd21e19876cde.tmp
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/search_performer.py.ffc92f0251418e92d04fd21e19876cde.tmp
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/search_performer.py
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/search_performer.py
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/app.py
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/app.py
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/search_corpus.py
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/search_corpus.py
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/app.py
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator
> ~/.cache/pypoetry/virtualenvs/wisdom-demo-beacon-generator-Z4YO5UZC-py3.9/bin/python ~/.vscode-server/extensions/ms-python.python-2021.1.502429796/pythonFiles/pyvsc-run-isolated.py autopep8 --diff ~/code/github.com/groupby/wisdom-demo-beacon-generator/wisdom_demo_beacon_generator/app.py
cwd: ~/code/github.com/groupby/wisdom-demo-beacon-generator

Re-reading this issue, I just noticed that it's not that there are extra characters in the middle of the string. It's that the character s is displayed as . . ., for only one of the string in one of the lists inside the main list. Not sure what that means, just noticed it.

Re-reading this issue, I just noticed that it's not that there are extra characters in the middle of the string. It's that the character s is displayed as . . ., for only one of the string in one of the lists inside the main list. Not sure what that means, just noticed it.


updated create sar endpoint with entity class

Updated POST subject access request endpoint to use Kotlin object instead of parsing a String to JsonObject + tests.

Sorry, just spotted that it's already been merged before I submitted my review


actions: new cfg for pr labeler

Applied mkpr on .github/pr_labeler.yml
cat .github/pr_labeler.yml

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 22.976%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
102

Relevant Lines:
453

💛  - Coveralls


ENH #8991 - set_eeg_reference to multiple channel types

Reference issue
ENH #8991 - set_eeg_reference to multiple channel types.
What does this implement/fix?
The function _get_ch_type(inst, ch_type) now accepts both a string or a list (or tuple) of channel types. Previously, the checked channel type would be returned as a string. Now, it returns a list of channel types, e.g.
    _get_ch_type(inst, 'auto')               -> ['eeg']
    _get_ch_type(inst, 'eeg')                -> ['eeg']
    _get_ch_type(inst, ['eeg'])              -> ['eeg']
    _get_ch_type(inst, ['eeg', 'seeg'])      -> ['eeg',  'seeg']

I have checked that the function _get_ch_type was not used outside mne.io.reference.py since I changed the output type.
Syntax is compatible with python 3.5+.
Sample test code:
from pathlib import Path

import mne

sample_data_dir = Path(mne.datasets.sample.data_path())
fname = sample_data_dir / 'MEG' / 'sample' / 'sample_audvis_raw.fif'
raw = mne.io.read_raw_fif(fname, preload=True)
raw.pick('eeg')

mapping={ch: 'seeg' for ch in raw.ch_names[-20:]}
raw.set_channel_types(mapping)

raw.set_eeg_reference(ref_channels='average', projection=False, ch_type=['eeg', 'seeg'])

thanks @mscheltienne!


how to config my customize game & user

Hi deeppaz,
please help me how to config this project to use customize game & user
waitnig for your response
finest regards

hello,
its still manuel to customize config settings.
so https://github.com/deeppaz/TwitchtoYoutube/blob/ef0df108216cf63d437cb4c24f53236ef6542f5a/twitch/helpers/getGameId.js#L18 set your fav game from this file. and run
after response game id
https://github.com/deeppaz/TwitchtoYoutube/blob/ef0df108216cf63d437cb4c24f53236ef6542f5a/twitch/getClips.js#L28 write to this line your game id
what do you want to do for user?

nothing , but i think this project can bot fetch from specific user or game id .

yes, you can get specific user clips.
https://github.com/deeppaz/TwitchtoYoutube/blob/main/twitch/helpers/getUserId.js get user id from this file and after you got id https://github.com/deeppaz/TwitchtoYoutube/blob/ef0df108216cf63d437cb4c24f53236ef6542f5a/twitch/getClips.js#L28 in this file on this line. change your game_id to broadcaster_id thats it.
more information: check this doc. https://plazide.github.io/node-twitch/interfaces/clip.html#broadcaster_id or you can read official twitch doc
if you want to get more info about for specific user check official twitch doc or https://plazide.github.io/node-twitch/globals.html.
thanks for your insteresting


RM - Pop Up - New Message [4h]

Issue
Whenever a HCW has a new message or is being reminded about a message, a pop-up will appear on the home screen. This pop-up will only appear when a user navigates to the home screen and will NOT appear in the middle of modules.

The pop up will feature the HCW's name and how many unread messages they have waiting in the messaging center.
To Do:

Style per design
Ensure pop up pulls in HCW name
Ensure pop-up updates with the number of unread messages

@anvmn @adamhstewart

nutrition env
tablet

Question (not checked requirement):

@anvmn Is it possible to check the next requirement without performing encounters within the one hour?

...and will NOT appear in the middle of modules.

Checked and Approved:

The pop up is styled per design
The pop up shows the HCW name:

Nurse
CHW

The pop-up updates with the number of unread messages

4 unread messages
one was read
3 unread messages


As a user, I want to be able to "Like/Dislike" the event's owner so it'll impact on his rate

Date
12.22.2020 12:33
Priority
Medium
Pre-requisites

The user is authorized and login into https://eventsexpress-test.azurewebsites.net/home/events?page=1&status=active

Description
Any authorized user who is a participant in the event must be able to "Like/Dislike" the event owner during the event active time and during the 5 days after the event end.
The "Like/Dislike" functionality:

Must be implemented like on the mockup and placed under the owner avatar
Must be enabled for the user during the event active time and during the 5 days after the event end.
After clicking on the Like or Dislike appears the notification "Do you want to leave a comment?" like on the mockup. After clicking on the "No" button the notification is closed. After clicking on the "Yes" button is opened the "Communa" page with the opened chat with the owner of the event.
The notification "You must be a participant of the event" appears after the user clicking on the disabled "Like/Dislike" icon. The notification must be implemented and located like on the mockup.
The icon of the counter like and dislike must be implemented and placed like on the mockup. The icon displayed how much the vote of the like and dislike have the user.
The user can cancel exposed the "Like/Dislike" by clicking on the icon Like or Dislike during the open session. The cancel Like or Dislike is disabled next session.

Acceptance criteria

The "Like/Dislike" buttons are  implemented like on the mockup and placed under the owner avatar
The "Like/Dislike" buttons are enabled for the user during the event active time and during the 5 days after the event end.
The notification "Do you want to leave a comment?" is implemented like on the mockup and appears after clicking on the Like or Dislike.
The notification "You must be a participant of the event" is implemented like on the mockup and appears after the user clicking on the disabled "Like/Dislike" icon.
The icon of the counter like and dislike is implemented like on the mockup and displayed how much the vote of the like and dislike have the user.
The user can cancel exposed the "Like/Dislike" during the open session and cancel Like or Dislike is disabled next session.

Mockup

Environment:
windows 10 corporate (64 bit)
Google Chrome
87.0.4280.66 (64 bit)

The "Like/Dislike" functionality is not related to the "Rate" logic.
So, as far as I can see, rates work as designed for now.
And "Like/Dislike" related requirements are not fully described, and we can't start any improvements.

The "Like/Dislike" functionality is not related to the "Rate" logic.
So, as far as I can see, rates work as designed for now.
And "Like/Dislike" related requirements are not fully described, and we can't start any improvements.


unable to build ros2_android_examples

Hallo,
First i want to thank you for what you have done and apologize for my english. im not a native speaker...
im trying to develop an android app which communicate with ros2 for my master thesis. and im facing some issues... a lot ! im struggling with them since 3 days now :(
i followed your instructions more than 12 times. but i am always blocked anyhow.
the ament part works fine by me. so i can build it without problems. but when building the android part (ament build .....) i get many warnings like this:
[  4%] Building CXX object src/cpp/CMakeFiles/fastrtps.dir/utils/IPFinder.cpp.o
-- Looking for pthread_setaffinity_np in pthread
-- Looking for pthread_setaffinity_np in pthread - not found
-- Platform has not PTHREAD_SETAFFINITY_NP
In file included from /home/avikenz/Masterarbeit/Workspace/ros2_android/src/eProsima/Fast-RTPS/src/cpp/utils/IPFinder.cpp:20:
In file included from /home/avikenz/Masterarbeit/Workspace/ros2_android/src/eProsima/Fast-RTPS/include/fastrtps/utils/IPFinder.h:28:
/home/avikenz/Masterarbeit/Workspace/ros2_android/src/eProsima/Fast-RTPS/include/fastrtps/utils/../rtps/common/Locator.h:346:13: warning:
ignoring return value of function declared with 'warn_unused_result'
attribute [-Wunused-result]
std::remove(m_locators.begin(), m_locators.end(), loc);
^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
but the build process continue continues despite the warning BUT at the end i have following message: Failed packages: rcljava_common
I had to downgrade to java 8 and i took exactly the same NDK version like you (16b).
i tried to continue despite the "unsuccesfull" build by opening an android_example (in android studio) but....

i get some gradle related issues which i resolve by changing distributionUrl located in local.properties (i enter an url with a lower version 3.3). after that the gradle proceed fine

i also have a "cannot resolve symbol" error on every org.ros2.xx.xxx.xx classes. I resolved them by adding the classes manually to the project (its normal like this ? i thought the ros2 classes would be recognised automatically... maybe im wrong)

i also have an "cannot resolve std_msgs" error in TalkerNode.java. i dont know how i can resolve that

when i try to build the project despite the unresolved error about std_msgs, i get the following:Missing Ament Gradle property: ament.build_space. im not getting any gradle.properties file as you mentioned HERE and i have no idea how to fix or workaround this error.
I need your help PLEASE !!!!!
ubuntu: 18.04 Bionic
NDK: 16b
SDK: 29
gradle: 4.4.1
jdk: 8
Android Sutio: lastest
my email<EMAIL_ADDRESS>THANK IN ADVANCE

@AviKenz first of all, do not send me emails to my personal email address just to notify me to have a look at this issue, which you had just opened, it's bad etiquette. You sent me TWO emails 10 minutes after opening this issue, that's not how opensource works at all.
Anyway, could you paste the entire log output? It seems Fast-RTPS for Android can't be built on your system for some reason.
Additionally, could you type the following and paste the output?
cd /home/avikenz/Masterarbeit/Workspace/ros2_android/src/
vcs export

Thanks.

Hello @esteve,
oooh sorry ! i just wanted to wake your attention.  its the first time i deal with git issues.
im glad you answer SOOO FAST ! :) :) :)
the requested logs:
build_log_full.txt
vcs_log.txt
the build script (almost same as in your instructions. i just change the worspace paths):
build.txt
i also set JAVA_HOME, ANDROID_HOME and ANDROID_NDK in /etc/environment:
etc_env.txt
THANK IN ADVANCE ! :)

@AviKenz

" Could NOT find OpenSSL, try to set the path to OpenSSL root folder ".
maybe you need build openssl on arm64, and add the environment OPENSSL_ROOT_DIR and OPENSSL_CRYPTO_LIBRARY in build.sh，i think this can solve your problem

"i also have a "cannot resolve symbol" error on every org.ros2.xx.xxx.xx classes."
this problem  maybe you don`t install rcljava.jar to the install folder, command like this:

 gradle assembleRelease
 gradle deployArtifacts

holp can help you.

Hello!
I am in the same situation. I followed the instructions but i have problems with the Ament and with the "cannot resolve symbol".
I need to connect to ros2 from my app in android for my thesis, do you finally solve the problems? Have you got an updated project of android examples?
Thanks in advanced.
Best Regards

@AviKenz @esteve


URGENT! xbindkeys / E: Package 'xbindkeys' has no installation candidate

name: kali-rolling
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
crouton: version 1-20220111101058~master:a9eafaee
release: kali-rolling
architecture: amd64
xmethod: xorg
targets: xfce,audio,core
host: version 14909.100.0 (Official Build) stable-channel octopus
kernel: Linux localhost 4.14.254-19192-g19e8c55302db #1 SMP PREEMPT Sat Jul 30 19:53:26 PDT 2022 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
After successfully installing kali-rolling, I am unable to launch it because of this error...
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

crosh> shell
chronos@localhost / $ sudo crouton -r kali-rolling -t xfce -u

Package xbindkeys is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'xbindkeys' has no installation candidate
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
chronos@localhost / $

Please describe your issue:
This error is inevitable because http://http.us.debian.org/debian/pool/main/x/xbindkeys/xbindkeys_1.8.6-1_amd64.deb no longer supports version 1.8.6-1. It would seem that debian dropped version 1.8.6-1 and instead updated it to 1.8.7-1. Only now, this updated xbindkeys file is under a completely different path / web address.
Here's the link I found that contains the updated version.
https://packages.debian.org/bullseye/xbindkeys
# Don't know why debian changed the location of the file instead of just keeping the newer one under the same url
Unfortunately, I'm not all that well versed on this sort of thing to know the exact code required to install this package [xbindkeys_1.8.7-1.dsc] directly from the crosh terminal.
# If someone could respond with the correct code for me to copy and paste, that would be much appreciated. I'm sure this would also help hundreds of other people having the same issue dating all the way back to 2019
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
AND IF AT ALL POSSIBLE, PLEASE MAKE AN UPDATED kali-rolling INSTALLATION GUIDE TO REFLECT THESE CHANGES
PLEASE HELP! THANKS!
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
If known, describe the steps to reproduce the issue:
Kali needs xbindkeys to run, but since the specific file outlined by the installation instructions is no longer available, I have no idea what to do from here after getting the error...
E: Package 'xbindkeys' has no installation candidate
SOURCES USED:
Followed install guide from https://github.com/dnschneid/crouton/issues/4153#issuecomment-560190450
https://github.com/dnschneid/crouton/issues/4153#issuecomment-555853522 posted this as a possible solution however, this does not work either.
https://github.com/dnschneid/crouton/issues/4153#issuecomment-560190450 Although this was posted in 2019, maybe things have changed since and that's why I'm running into issues.
https://github.com/dnschneid/crouton/issues/4153#issuecomment-546689856 xbindkeys pkg seems like got removed from a repo
Unsure if Chromium OS updated security has anything to do with this issue https://github.com/dnschneid/crouton/issues/4026#issue-429041530

I am also having this exact issue.

Solution (tested):
Hey, i forked the repo and made some changes, last steps not pushed yet, but you can use this solution if you want. it is tested and working so far.
If you have problems during the setup, try to use my dev branch from repo and install with installer/crouton again. In this case, it will use the native bootstrap package from kali.

Install kali-rolling via:
crouton -r kali-rolling -t cli-extra

after that, enter your new chroot and edit the /etc/apt/sources.list with an editor of your choice. Add the following lines:
deb-src http://ftp.halifax.rwth-aachen.de/debian bullseye main non-free contrib
deb-src http://ftp.halifax.rwth-aachen.de/debian bullseye-backports main non-free contrib

Because of an bug, you need to change the locales settings on your kali installation.
sudo dpgk-reconfigure locales

Now you can leave (exit) the chroot and update the chroot with new targets via:
(example)
crouton  -n kali-rolling -u -t core,xfce,xiwi,keyboard

All steps done, now you can use Kali linux.

@iptoux Thanks for the help. I'm getting this error when reconfiguring locales:
~$ sudo dpkg-reconfigure locales
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
/usr/sbin/dpkg-reconfigure: locales is not installed

Okay, thank you for your response. I will recheck on my side if the locales bug will happen again, if no then I remove the step.
Tonight or a night later, i will push all (final) to dev repo and create an pull&merge request to crouton repository.
Can I ask if you had only followed the local solution or you cloned my repo and installed with that?
Just interested, if install from repo is also working.
Thanks 👍 for testing.

@iptoux I just followed the solution you posted.

@grenius @experiencedUser
This release contains an fix of the error during the installation of kali linux, where xbindkeys, can't be installed. This fix is created as target, so an easy install is given.
KaliFix v1.0.1

@grenius @experiencedUser

Fixed an major concept bug, now all running fine and as expected.

This release contains an fix of the error during the installation of kali linux, where xbindkeys, can't be installed. This fix is created as target, so an easy install is given.
Kalifix v1.0.2

@iptoux thanks for your quick solution. Sorry for being this unexperienced, but I can't manage to follow your instructions on Kalifix.v1.0.2 (once extracted,
am I supposed to cd into which folder... ? then doing which step? Could you explain a little bit further?
Is it about extracting into  /home/chronos user folder?  Thank you!

@iptoux thanks for your quick solution. Sorry for being this unexperienced, but I can't manage to follow your instructions on Kalifix.v1.0.2 (once extracted,
am I supposed to cd into which folder... ? then doing which step? Could you explain a little bit further?
Is it about extracting into  /home/chronos user folder?  Thank you!

About
This is an target file and contains an fix, for the error during the installation of kali linux, where xbindkeys, can't be installed.
Issue: #4792
What does the fix do?
The fix will add debian bullseye repository to the apt sources.list, and than install xbindkeys, xbindkeys-config. After installation the script is removing the debian bullseye repository from the sources.list file.
sudo crouton -r kali-rolling -t kalifix,xfce,...

This is only an target file, you have to follow the install steps of crouton after you have copying the target file into target directory.
Alternatively you can "compile" crouton self, for this:

download original crouton
download kalifix and copy it to target directory (crouton)
open terminal and enter downloaded crouton directory
enter make
copy crouton to /usr/local/bin
follow steps from quote above.

@iptoux thanks for your quick solution. Sorry for being this unexperienced, but I can't manage to follow your instructions on Kalifix.v1.0.2 (once extracted,
am I supposed to cd into which folder... ? then doing which step? Could you explain a little bit further?
Is it about extracting into  /home/chronos user folder?  Thank you!

About
This is an target file and contains an fix, for the error during the installation of kali linux, where xbindkeys, can't be installed. Issue: #4792
What does the fix do?
The fix will add debian bullseye repository to the apt sources.list, and than install xbindkeys, xbindkeys-config. After installation the script is removing the debian bullseye repository from the sources.list file.
sudo crouton -r kali-rolling -t kalifix,xfce,...
This is only an target file, you have to follow the install steps of crouton after you have copying the target file into target directory.
Alternatively you can "compile" crouton self, for this:

download original crouton
download kalifix and copy it to target directory (download crouton)
open terminal and cd into downloaded crouton directory
enter make
copy crouton to /usr/local/bin
follow steps from quote above.

IT'S WORKING !!!!!!!!!!!!!!!!!!!!!! God bless you, I've been struggling for MANY HOURS trying to find a solution to this error. Have a great week!!! <3 and thanks again for doing what you do.

@iptoux @dnschneid Hi there, by any chance could you post a full installation guide of all the steps from start to finish? Unfortunately, I still could not get it to work. I think I might even need to re-flash chromeOS before I restart the process since it would seem there's leftover packages from the previous installation attempt which is contributing to the conflict.