MRG: Fix plot_projs_topomap

Closes #4612.
Also fixes a bug with SSP interaction introduced in the scalings deprecation PR.
Ready for review/merge from my end.
@kambysese feel free to give it a try.

https://5955-1301584-gh.circle-artifacts.com/0/tmp/circle-artifacts.1dNvWpW/html/auto_tutorials/plot_artifacts_correction_ssp.html

Looks like same error...

RuntimeError                              Traceback (most recent call last)
/home/ktavabi/Projects/mne-python/mne/viz/topomap.pyc in plot_projs_topomap(projs, layout, cmap, sensors, colorbar, res, size, show, outlines, contours, image_interp, axes)
270                                    'projection %s, consider explicitly '
271                                    'passing a Layout or Info as the layout '
--> 272                                    'parameter.' % proj['desc'])
273
274         im = plot_topomap(data, pos[:, :2], vmax=None, cmap=cmap[0],
RuntimeError: Cannot find a proper layout for projection Average EEG reference, consider explicitly > passing a Layout or Info as the layout parameter.

You need to do plot_projs_topomap(projs, info) (or soon (projs, info=info))

Okay. Well that works for funloc dataset! but mne.viz.plot_projs_topomap(projs, raw.info) with snippet from #4612 still throws an error.

Traceback (most recent call last):
File "/home/ktavabi/miniconda3/envs/py2.7/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2881, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 15, in
mne.viz.plot_projs_topomap(projs, raw.info)
File "/home/ktavabi/Projects/mne-python/mne/viz/topomap.py", line 243, in plot_projs_topomap
use_info = pick_info(layout, pick_channels(info_names, ch_names))
File "/home/ktavabi/Projects/mne-python/mne/io/pick.py", line 392, in pick_info
raise ValueError('No channels match the selection.')
ValueError: No channels match the selection.

snippet from #4612 still throws an error.

That snippet has a flaw in that it does raw.pick_types(eeg=False) (implicitly) so I wouldn't really expect it to work for plotting an EEG projector. Maybe we could improve the error message at some point but that can probably be done separately. I guess we should probably remove the projectors that aren't relevant when doing pick_types (and I'm a bit surprised it doesn't).

Comments addressed @agramfort. I snuck in a fix for Py3k test_docstring_parameters.py, too.

Codecov Report

Merging #4619 into master will increase coverage by <.01%.
The diff coverage is 84.92%.

@@            Coverage Diff             @@
##           master    #4619      +/-   ##
==========================================
+ Coverage   87.77%   87.78%   +<.01%
==========================================
  Files         351      351
  Lines       66244    66306      +62
  Branches    10272    10289      +17
==========================================
+ Hits        58148    58206      +58
- Misses       5159     5162       +3
- Partials     2937     2938       +1

works great
thx @larsoner


Problem getting Circuit Image

It just me or it is some redirection on getting images that is not handled?
Below is the log:
Removing existing image
Parsing file URL: https://i.imgur.com/H2C6G2Q.png
host: i.imgur.com
len:host:11
path: /H2C6G2Q.png
len:path: 12
Status: HTTP/1.1 302 Moved Temporarily
HTTP Version: HTTP/1.1
Status Code: 302
statusCode: 302
file length: -1
Closing client
Please let me know the best way to fix it.
Thank you.

Additionally when I open same url with browser on same network I can get image.
ESP32 can get .json file but not image page
Parsing file URL: https://raw.githubusercontent.com/sportstimes/f1/main/_db/f1/2024.json
host: raw.githubusercontent.com
len:host:25
path: /sportstimes/f1/main/_db/f1/2024.json
len:path: 37
Status: HTTP/1.1 200 OK
Status Code: 200
statusCode: 200
Content-Length: 10943
file length: 10943
Finished getting file
Fetched races.json File


parity: 2.4.9 -> 2.5.5,  parity-beta: 2.5.4 -> 2.6.0

Motivation for this change
Update parity and parity-beta to the latest releases.

https://github.com/paritytech/parity-ethereum/releases/tag/v2.5.5
https://github.com/paritytech/parity-ethereum/releases/tag/v2.6.0

Note: This PR depends on #65385.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @akru

@xrelkd  Looks good, thank you for your work!

@akru You're welcome!
Hi, @worldofpeace @marsam could you review this PR? Thank you very much!
@GrahamcOfBorg build parity parity-beta
(build it again on x86_64-linux)

Thanks!


fixed looking for tables when oid is not unique

:+1:

:+1:

Frontend tests were OK :+1: (details)

LGTM


Chat - File types MP4, PDF, DOC etc other than images can not be attached to a report

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4498814
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Launch new Expensify
Navigate to any chat
Tap on the plus icon > Add attachment > Choose Document
Select any file other than an image (e.g, PDF, Word, Zip, MP4)

Expected Result:
Supported file types can be attached to the chat and sent without issues
Actual Result:
Only image file types can be sent. PDF, Word, Zip, MP4 files throw an error message
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/3678df2e-d5db-41c2-b623-371148e21a66
View all open jobs on GitHub

Production:
https://github.com/Expensify/App/assets/78819774/d246a945-a08b-447c-bcfa-7aa16bc9ac18

@AndrewGable  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #vip-vsp

Not 100% but this PR looks like it could be suspect: https://github.com/Expensify/App/pull/39334

Confirm revert fixes, going to CP the revert


Initialize logs so logging statements work

Initializes logging to turn on this functionality in kpt.
Currently, this functionality only works in cli-utils.

/lgtm


Fix security vulnerabilities

He have several dependencies with known security vulnerabilities.
Would require the dependencies upgrade process modifications on our end due to public API changes? Or would it be something painless? 👼

He have several dependencies with known security vulnerabilities.

The link is broken or I'm not allowed to see its content. 😬

Sorry, I didn't noticed that security settings had its own privileges section. Now you should be able to see them 🤟

I've fixed security vulnerabilities.


Static files are not served when running from dist

$ node dist/server.js

151104/072958.243, [response], http://<IP_ADDRESS>:3000: get /bin/ {} 404 (21ms)
151104/073009.351, [response], http://<IP_ADDRESS>:3000: get /bin/index.html {} 404 (7ms)

Is this through nginx? There isn't a /bin/ path in the server so it should 404 there.

Yes, it's through nginx doing a reverse proxy. That's the same problem I had before you redid the project.

My nginx config must be different from yours:
:
location /bin/ {
   proxy_pass http://localhost:3000/;
}
:

https://github.com/mmarcon/jhere-devops/blob/playground/ansible/nginx/jhere.playground.conf


Cannot use a sub query alias in an order by statement in NyQL script

There is no way to order by a column which comes from a sub query in my select statement.
e.g.
TARGET() ...
FETCH(
QUERY({}...).alias("myCol")
)
ORDER_BY(
DESC(myCol)
)
Above example gives me an error saying DESC not supported. I could not even work around with DESC(NUM(1)).
Both should be supported IMO

was this rolled out?

Fixed in v1.1.1 @cjayawickrema

patch worked. Thanks for the quick fix!


create free-podcasts-screencasts-pl (polish) list

With recent additions to free-programming-books-pl, there may be enough videos to start a free-podcasts-screencasts-pl list and move them. If any polish-speaking readers agree, it would be a great help to put together a PR.

Suggestion: add Hacktoberfest label to this


How to pass additional argument to custom objective function?

I want to write a custom objective function which can accept prediction of the other models as arguments. To be more precise, I want something like the following as header:
def customObjective(preds, dtrain, otherArgs):
Or is it possible to pass those predictions in dtrain and extract them inside?
Thank you in advance.

See https://github.com/Microsoft/LightGBM/issues/1292


i18n(es): update deploy/cloudflare & integrations-guide/cloudflare

Description (required)
Updates cloudflare docs based on this commit 7210e311e043128bc8cc02a9b1d612ff89398673
Related issues & labels (optional)

Closes # N/A
Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note
Locale

src/content/docs/es/guides/deploy/cloudflare.mdx
Localization changed, will be marked as complete.
es

src/content/docs/es/guides/integrations-guide/cloudflare.mdx
Localization changed, will be marked as complete. 🔄
es

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Muchas gracias por la revisión @Waxer59 🫡


[HOTFIX] Invalid method signature in GroovyInterpreter

What is this PR for?

https://github.com/apache/zeppelin/pull/2203 was merged
but https://github.com/apache/zeppelin/pull/2203 was not rebased recently
as a result, GroovyInterperter has invalid method signature.

[ERROR] COMPILATION ERROR :
[ERROR] /home/travis/build/1ambda/zeppelin/groovy/src/main/java/org/apache/zeppelin/groovy/GroovyInterpreter.java:[123,3] method does not override or implement a method from a supertype
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project zeppelin-groovy: Compilation failure
[ERROR] /home/travis/build/1ambda/zeppelin/groovy/src/main/java/org/apache/zeppelin/groovy/GroovyInterpreter.java:[123,3] method does not override or implement a method from a supertype

You can see CI failures in

https://travis-ci.org/1ambda/zeppelin/jobs/222709988
https://travis-ci.org/1ambda/zeppelin/jobs/222709989

What type of PR is it?
[Hot Fix]
Todos
NONE
What is the Jira issue?
Hotfix
How should this be tested?

CI should be green.
Build this PR locally, mvn clean package -DskipTests;

Screenshots (if appropriate)
NONE
Questions:

Does the licenses files need update? - NO
Is there breaking changes for older versions? - NO
Does this needs documentation? - NO

LGTM

Merge into master as a hotfix


Adding support for patch guest drive

Introduces a new method on Machine called UpdateGuestDrive, which will allow patching a given guest drive's path. If firecracker ever adds additional fields that can be patched, the PatchGuestDriveByIDOpt can be used to set the newly introduced fields.
Fixes #39
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

=== RUN   TestNewUnixSocketTransport
--- PASS: TestNewUnixSocketTransport (0.00s)
=== RUN   TestVMCommandBuilder
=== RUN   TestVMCommandBuilder/immutability
=== RUN   TestVMCommandBuilder/chaining
=== RUN   TestVMCommandBuilder/build
--- PASS: TestVMCommandBuilder (0.00s)
--- PASS: TestVMCommandBuilder/immutability (0.00s)
--- PASS: TestVMCommandBuilder/chaining (0.00s)
--- PASS: TestVMCommandBuilder/build (0.00s)
=== RUN   TestDrivesBuilder
--- PASS: TestDrivesBuilder (0.00s)
=== RUN   TestDrivesBuilderWithRootDrive
--- PASS: TestDrivesBuilderWithRootDrive (0.00s)
=== RUN   TestDrivesBuilderAddDrive
--- PASS: TestDrivesBuilderAddDrive (0.00s)
=== RUN   TestClient
--- PASS: TestClient (0.01s)
=== RUN   TestHandlerListAppend
--- PASS: TestHandlerListAppend (0.00s)
=== RUN   TestHandlerListRemove
--- PASS: TestHandlerListRemove (0.00s)
=== RUN   TestHandlerListClear
--- PASS: TestHandlerListClear (0.00s)
=== RUN   TestHandlerListRun
--- PASS: TestHandlerListRun (0.00s)
=== RUN   TestHandlerListHas
=== RUN   TestHandlerListHas/contains
=== RUN   TestHandlerListHas/does_not_contain
=== RUN   TestHandlerListHas/similar_names
--- PASS: TestHandlerListHas (0.00s)
--- PASS: TestHandlerListHas/contains (0.00s)
--- PASS: TestHandlerListHas/does_not_contain (0.00s)
--- PASS: TestHandlerListHas/similar_names (0.00s)
=== RUN   TestHandlerListSwappend
=== RUN   TestHandlerListSwappend/append_one
=== RUN   TestHandlerListSwappend/swap_single
=== RUN   TestHandlerListSwappend/swap_multiple
--- PASS: TestHandlerListSwappend (0.00s)
--- PASS: TestHandlerListSwappend/append_one (0.00s)
--- PASS: TestHandlerListSwappend/swap_single (0.00s)
--- PASS: TestHandlerListSwappend/swap_multiple (0.00s)
=== RUN   TestHandlerListReplace
=== RUN   TestHandlerListReplace/swap_none
=== RUN   TestHandlerListReplace/swap_single
=== RUN   TestHandlerListReplace/swap_multiple
--- PASS: TestHandlerListReplace (0.00s)
--- PASS: TestHandlerListReplace/swap_none (0.00s)
--- PASS: TestHandlerListReplace/swap_single (0.00s)
--- PASS: TestHandlerListReplace/swap_multiple (0.00s)
=== RUN   TestNewMachine
time="2019-02-11T18:29:44-08:00" level=debug msg="Called NewMachine()"
--- PASS: TestNewMachine (0.00s)
=== RUN   TestMicroVMExecution
time="2019-02-11T18:29:44-08:00" level=debug msg="Called NewMachine()"
time="2019-02-11T18:29:44-08:00" level=info msg="Called startVMM(), setting up a VMM on testdata/firecracker.sock"
time="2019-02-11T18:29:44-08:00" level=debug msg="VMM started socket path is testdata/firecracker.sock"
time="2019-02-11T18:29:44-08:00" level=debug msg="Setting up signal handler"
time="2019-02-11T18:29:44-08:00" level=debug msg="GET /machine-config HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nAccept: application/json\r\nAccept-Encoding: gzip\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="GET /machine-config HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nAccept: application/json\r\nAccept-Encoding: gzip\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\nContent-Type: application/json\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n60\r\n{ "vcpu_count": 1, "mem_size_mib": 128,  "ht_enabled": false,  "cpu_template": "Uninitialized" }\r\n0\r\n\r\n\n"
=== RUN   TestMicroVMExecution/TestCreateMachine
time="2019-02-11T18:29:44-08:00" level=debug msg="PUT /machine-config HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 56\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"cpu_template":"T2","mem_size_mib":256,"vcpu_count":2}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\nContent-Type: application/json\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n60\r\n{ "vcpu_count": 1, "mem_size_mib": 128,  "ht_enabled": false,  "cpu_template": "Uninitialized" }\r\n0\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="returning from startVMM()"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="PutMachineConfiguration returned"
time="2019-02-11T18:29:44-08:00" level=debug msg="GET /machine-config HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nAccept: application/json\r\nAccept-Encoding: gzip\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\nContent-Type: application/json\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n55\r\n{ "vcpu_count": 2, "mem_size_mib": 256,  "ht_enabled": false,  "cpu_template": "T2" }\r\n0\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=info msg="refreshMachineConfig: [GET /machine-config][200] getMachineConfigOK  &{CPUTemplate:T2 HtEnabled:false MemSizeMib:256 VcpuCount:2}"
time="2019-02-11T18:29:44-08:00" level=debug msg="createMachine returning"
=== RUN   TestMicroVMExecution/TestMachineConfigApplication
=== RUN   TestMicroVMExecution/TestCreateBootSource
time="2019-02-11T18:29:44-08:00" level=debug msg="PUT /boot-source HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 114\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"boot_args":"ro console=ttyS0 noapic reboot=k panic=0 pci=off nomodules","kernel_image_path":"testdata/vmlinux"}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=info msg="PutGuestBootSource: [PUT /boot-source][204] putGuestBootSourceNoContent "
=== RUN   TestMicroVMExecution/TestCreateNetworkInterface
time="2019-02-11T18:29:44-08:00" level=info msg="Attaching NIC fc-test-tap0 (hwaddr 02:00:00:01:02:03) at index 1"
time="2019-02-11T18:29:44-08:00" level=debug msg="PUT /network-interfaces/1 HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 80\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"guest_mac":"02:00:00:01:02:03","host_dev_name":"fc-test-tap0","iface_id":"1"}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=info msg="PutGuestNetworkInterfaceByID: [PUT /network-interfaces/{iface_id}][204] putGuestNetworkInterfaceByIdNoContent "
=== RUN   TestMicroVMExecution/TestAttachRootDrive
time="2019-02-11T18:29:44-08:00" level=info msg="Attaching drive testdata/root-drive.img, slot 0, root true."
time="2019-02-11T18:29:44-08:00" level=debug msg="PUT /drives/0 HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 100\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"drive_id":"0","is_read_only":true,"is_root_device":true,"path_on_host":"testdata/root-drive.img"}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=info msg="Attached drive testdata/root-drive.img: [PUT /drives/{drive_id}][204] putGuestDriveByIdNoContent "
time="2019-02-11T18:29:44-08:00" level=debug msg="attachDrive returned for testdata/root-drive.img"
=== RUN   TestMicroVMExecution/TestAttachSecondaryDrive
time="2019-02-11T18:29:44-08:00" level=info msg="Attaching drive testdata/drive-2.img, slot 2, root false."
time="2019-02-11T18:29:44-08:00" level=debug msg="PUT /drives/2 HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 98\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"drive_id":"2","is_read_only":true,"is_root_device":false,"path_on_host":"testdata/drive-2.img"}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=info msg="Attached drive testdata/drive-2.img: [PUT /drives/{drive_id}][204] putGuestDriveByIdNoContent "
=== RUN   TestMicroVMExecution/TestAttachVsock
time="2019-02-11T18:29:44-08:00" level=debug msg="PUT /vsocks/foo HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 27\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"guest_cid":3,"id":"foo"}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="Attach vsock foo successful: [PUT /vsocks/{id}][201] putGuestVsockByIdCreated "
=== RUN   TestMicroVMExecution/SetMetadata
time="2019-02-11T18:29:44-08:00" level=debug msg="PUT /mmds HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 16\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"key":"value"}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=info msg="SetMetadata successful"
=== RUN   TestMicroVMExecution/TestUpdateGuestDrive
time="2019-02-11T18:29:44-08:00" level=debug msg="PATCH /drives/2 HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 55\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"drive_id":"2","path_on_host":"testdata/drive-3.img"}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=info msg="PatchGuestDrive successful"
=== RUN   TestMicroVMExecution/TestStartInstance
time="2019-02-11T18:29:44-08:00" level=debug msg="PUT /actions HTTP/1.1\r\nHost: localhost\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 32\r\nAccept: application/json\r\nContent-Type: application/json\r\nAccept-Encoding: gzip\r\n\r\n{"action_type":"InstanceStart"}\n\n"
time="2019-02-11T18:29:44-08:00" level=debug msg="HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nDate: Tue, 12 Feb 2019 02:29:44 GMT\r\n\r\n\n"
time="2019-02-11T18:29:44-08:00" level=info msg="startInstance successful: [PUT /actions][204] createSyncActionNoContent "
=== RUN   TestMicroVMExecution/TestStopVMM
time="2019-02-11T18:29:49-08:00" level=warning msg="firecracker exited: signal: terminated"
--- PASS: TestMicroVMExecution (5.09s)
--- PASS: TestMicroVMExecution/TestCreateMachine (0.00s)
machine_test.go:268: firecracker created a machine
--- PASS: TestMicroVMExecution/TestMachineConfigApplication (0.00s)
--- PASS: TestMicroVMExecution/TestCreateBootSource (0.00s)
--- PASS: TestMicroVMExecution/TestCreateNetworkInterface (0.00s)
--- PASS: TestMicroVMExecution/TestAttachRootDrive (0.00s)
--- PASS: TestMicroVMExecution/TestAttachSecondaryDrive (0.00s)
--- PASS: TestMicroVMExecution/TestAttachVsock (0.00s)
--- PASS: TestMicroVMExecution/SetMetadata (0.00s)
--- PASS: TestMicroVMExecution/TestUpdateGuestDrive (0.00s)
--- PASS: TestMicroVMExecution/TestStartInstance (0.01s)
--- PASS: TestMicroVMExecution/TestStopVMM (0.00s)
=== RUN   TestStartVMM
time="2019-02-11T18:29:49-08:00" level=info msg="Called startVMM(), setting up a VMM on testdata/fc-start-vmm-test.sock"
--- PASS: TestStartVMM (0.25s)
machine_test.go:191: firecracker ran for 250ms
=== RUN   TestStartVMMOnce
time="2019-02-11T18:29:49-08:00" level=info msg="Called startVMM(), setting up a VMM on testdata/fc-start-vmm-test.sock"
time="2019-02-11T18:29:49-08:00" level=warning msg="firecracker exited: signal: terminated"
time="2019-02-11T18:29:49-08:00" level=info msg="VMM logging and metrics disabled."
time="2019-02-11T18:29:49-08:00" level=info msg="refreshMachineConfig: [GET /machine-config][200] getMachineConfigOK  &{CPUTemplate:Uninitialized HtEnabled:false MemSizeMib:128 VcpuCount:1}"
time="2019-02-11T18:29:49-08:00" level=info msg="PutGuestBootSource: [PUT /boot-source][204] putGuestBootSourceNoContent "
time="2019-02-11T18:29:49-08:00" level=info msg="startInstance successful: [PUT /actions][204] createSyncActionNoContent "
--- PASS: TestStartVMMOnce (0.25s)
machine_test.go:236: firecracker ran for 250ms
=== RUN   TestWaitForSocket
time="2019-02-11T18:29:50-08:00" level=warning msg="firecracker exited: signal: terminated"
--- PASS: TestWaitForSocket (0.71s)
=== RUN   TestLogFiles
time="2019-02-11T18:29:50-08:00" level=debug msg="Called NewMachine()"
time="2019-02-11T18:29:50-08:00" level=debug msg="Running handler fcinit.StartVMM"
time="2019-02-11T18:29:50-08:00" level=info msg="Called startVMM(), setting up a VMM on testdata/socket-path"
time="2019-02-11T18:29:50-08:00" level=debug msg="VMM started socket path is testdata/socket-path"
time="2019-02-11T18:29:50-08:00" level=debug msg="Setting up signal handler"
time="2019-02-11T18:29:50-08:00" level=info msg="firecracker exited: status=0"
time="2019-02-11T18:29:50-08:00" level=debug msg="returning from startVMM()"
time="2019-02-11T18:29:50-08:00" level=debug msg="Running handler fcinit.BootstrapLogging"
time="2019-02-11T18:29:50-08:00" level=info msg="VMM logging and metrics disabled."
time="2019-02-11T18:29:50-08:00" level=debug msg="setup logging: success"
time="2019-02-11T18:29:50-08:00" level=debug msg="Running handler fcinit.CreateMachine"
time="2019-02-11T18:29:50-08:00" level=debug msg="PutMachineConfiguration returned"
time="2019-02-11T18:29:50-08:00" level=info msg="refreshMachineConfig: [GET /machine-config][200] getMachineConfigOK  &{CPUTemplate: HtEnabled:false MemSizeMib:0 VcpuCount:0}"
time="2019-02-11T18:29:50-08:00" level=debug msg="createMachine returning"
time="2019-02-11T18:29:50-08:00" level=debug msg="Running handler fcinit.CreateBootSource"
time="2019-02-11T18:29:50-08:00" level=info msg="PutGuestBootSource: [PUT /boot-source][204] putGuestBootSourceNoContent "
time="2019-02-11T18:29:50-08:00" level=debug msg="Running handler fcinit.AttachDrives"
time="2019-02-11T18:29:50-08:00" level=info msg="Attaching drive testdata/root-drive.img, slot 0, root true."
time="2019-02-11T18:29:50-08:00" level=info msg="Attached drive testdata/root-drive.img: [PUT /drives/{drive_id}][204] putGuestDriveByIdNoContent "
time="2019-02-11T18:29:50-08:00" level=debug msg="attachDrive returned for testdata/root-drive.img"
time="2019-02-11T18:29:50-08:00" level=debug msg="Running handler fcinit.CreateNetworkInterfaces"
time="2019-02-11T18:29:50-08:00" level=debug msg="Running handler fcinit.AddVsocks"
--- PASS: TestLogFiles (0.00s)
=== RUN   TestCaptureFifoToFile
--- PASS: TestCaptureFifoToFile (0.00s)
=== RUN   TestRateLimiter
--- PASS: TestRateLimiter (0.00s)
=== RUN   TestRateLimiter_RefillTime
=== RUN   TestRateLimiter_RefillTime/one_hour
=== RUN   TestRateLimiter_RefillTime/zero
--- PASS: TestRateLimiter_RefillTime (0.00s)
--- PASS: TestRateLimiter_RefillTime/one_hour (0.00s)
--- PASS: TestRateLimiter_RefillTime/zero (0.00s)
PASS
ok  	github.com/firecracker-microvm/firecracker-go-sdk	6.338s
?   	github.com/firecracker-microvm/firecracker-go-sdk/client	[no test files]
?   	github.com/firecracker-microvm/firecracker-go-sdk/client/models	[no test files]
?   	github.com/firecracker-microvm/firecracker-go-sdk/client/operations	[no test files]
?   	github.com/firecracker-microvm/firecracker-go-sdk/fctesting	[no test files]


Fix Tests

User Story: As a developer who is new to this project and looking to work on modernizing the distribution, I want to have a stable test harness to check what things break and how they break along the way towards modernization.

To run the tests, I ran make install and make test.
The first broken test is this one:
    order
      ✗ insert-simple
      Invalid list, indices not sorted

That test is defined here in the code, if anyone has capacity to investigate: https://github.com/jdfekete/reorder.js/blob/master/test/order-test.js#L151

Sure, let me check what's wrong. I have forgotten everything about that code so I need to find out what it is supposed to do.

Hooray! Thank you for jumping in.

Fixed.


New

I don't see any details on this issue so I'm going to close this. Please file a new issue with enough information to understand what problem you're experiencing.


Add check on Auteur start-up to ensure all GStreamer plugins are available on system. Fail gracefully if not.

Borrowed from https://github.com/centricular/gstwebrtc-demos/blob/master/sendrecv/gst-rust/src/main.rs
// Check if all GStreamer plugins we require are available
fn check_plugins() -> Result<(), anyhow::Error> {
    let needed = [
        "videotestsrc",
        "audiotestsrc",
        "videoconvert",
        "audioconvert",
        "wpesrc",
        "fallbackswitch",
    ];

    let registry = gst::Registry::get();
    let missing = needed
        .iter()
        .filter(|n| registry.find_plugin(n).is_none())
        .cloned()
        .collect::<Vec<_>>();

    if !missing.is_empty() {
        bail!("Missing plugins: {:?}", missing);
    } else {
        Ok(())
    }
}

This is incorrect I'm afraid, wpesrc is not a hard dependency of auteur, neither are videotestsrc or audiotestsrc, arguably fallbacksrc we could check for as it is a hard dependency for all input nodes to the system, but the rest isn't (I guess maybe audioconvert and videoconvert, but those are extremely standard and if you don't have those you have bigger problems :))

Sorry Mathieu,
I should have taken those from the list in the example.
The intention was to check what hard dependencies  needed by Auteur. Was an
example and not the concrete list.
I see a few developers now adding plugin checks to assist with clean exit
rather than crash out on setting pipelines.
Regards
On Tue, 15 Mar 2022 at 1:26 pm, Mathieu Duponchelle <
@.***> wrote:

This is incorrect I'm afraid, wpesrc is not a hard dependency of auteur,
neither are videotestsrc or audiotestsrc, arguably fallbacksrc we could
check for as it is a hard dependency for all input nodes to the system, but
the rest isn't (I guess maybe audioconvert and videoconvert, but those are
extremely standard and if you don't have those you have bigger problems :))
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/auteur/issues/12#issuecomment-1067495004,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM4O2S3E47EF6QGLZVGJYG3U77YNVANCNFSM5QXCLBEA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sent from Gmail Mobile iPhone 11

In addition,
I can raise another request.
For the RTMP destination, is it possible to add auto or timed reconnect of
the RTMP sink when the connection is disconnected? I have been testing some
RTMP and found after running for hours , Auteur bombs out from the RTMP
endpoint dropping. Internet dropouts?
An auto reconnect, (set pipeline pipeline back to playing) is possible. Im
sure there have to be a decoupled pipeline to be able to do this at the
backend of rsmp2sink to allow such using proxysrc / proxysink elements.
On Tue, 15 Mar 2022 at 1:26 pm, Mathieu Duponchelle <
@.***> wrote:

This is incorrect I'm afraid, wpesrc is not a hard dependency of auteur,
neither are videotestsrc or audiotestsrc, arguably fallbacksrc we could
check for as it is a hard dependency for all input nodes to the system, but
the rest isn't (I guess maybe audioconvert and videoconvert, but those are
extremely standard and if you don't have those you have bigger problems :))
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/auteur/issues/12#issuecomment-1067495004,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM4O2S3E47EF6QGLZVGJYG3U77YNVANCNFSM5QXCLBEA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sent from Gmail Mobile iPhone 11

auteur nodes are already decoupled, not through the use of proxy elements but of appsrc / appsink, each node runs its own pipeline and communicates with the others through the StreamProducer interface. Can you please provide more specific information than "auteur bombs"? Also please open a new issue with such information :)

No worries, I'll get you the reported error.
On Thu, 17 Mar 2022 at 05:22, Mathieu Duponchelle @.***>
wrote:

auteur nodes are already decoupled, not through the use of proxy elements
but of appsrc / appsink, each node runs its own pipeline and communicates
with the others through the StreamProducer interface. Can you please
provide more specific information than "auteur bombs"? Also please open a
new issue with such information :)
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/auteur/issues/12#issuecomment-1069415121,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM4O2S76XSZBXCVNBZ6VHR3VAIRH3ANCNFSM5QXCLBEA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Closing, please reopen if you have more info :)


[PARTNER-70] Documentation update for 2.1

Preview is available here:http://developers-pr165.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr165.previews.kube001.services.stellar-ops.com


add option to statically disable decimal mode

So I've never looked at conditional compilation before in Rust. Maybe I got something wrong here. But the tests still pass.

the cfg! macro checks for the condition at runtime. Did you intend to do that? There's also a config attribute for compile-time checks (https://doc.rust-lang.org/rust-by-example/attribute/cfg.html). On a more general note, how about we put the setting behind a feature flag? This way, library users can decide to enable it if they like. The syntax is quite similar.

I did not intend to check that flag at runtime! Thanks for the catch. I'm learning about conditional compilation in Rust as I go here so bear with.

So what I believe we've got here is #[cfg(feature="disable_decimal_mode")] essentially checks if the host has stuck in features = "disable_decimal_mode" in the Cargo.toml. This way, the flag gets passed to rustc when mos6502, its dependency, gets compiled. This will chop & change what gets compiled in. I wonder if there's anything more we need to do here.

Okay, CI is failing but it's nothing to do with this code I've just changed. I'll take a look in the morning.

Here, the tests pass again. I pushed a commit to master and then rebased this branch; hope that's okay

Here, I think this branch is ready. What do you think?

From my experience, features are usually phrased "permissively", so I'd change the feature name to just decimal_mode.
Then
#[cfg(not(feature = "disable_decimal_mode"))]

becomes
#[cfg(feature = "decimal_mode")]

At a later point in time we could consider grouping those features into more generic "emulation modes" — one for NMOS and one for CMOS for example. We could add the missing instructions for CMOS then as well. Let's keep it simple for now, though. 😉

Oh and if we want to enable decimal mode by default, we can add it to the list of default features:
default = ["decimal_mode"]

Oh I see, that's better yes I agree.
But how do we put in cargo test -F something to disable it then? Or in a host project's Cargo.toml?

To disable default features, you can pass
cargo test --no-default-features

As described in https://doc.rust-lang.org/cargo/commands/cargo-test.html#feature-selection.
So in our case we'd run cargo test for the default version with decimal support and cargo test --no-default-features for the vanilla version without decimal support.
Does that answer your question? 🤔

I suppose so, but in the future we'd want something like default = ["illegal-opcodes" "decimal-mode"]. And then we'd want to test all default features except decimal mode.

Ah, the common way is to first disable all default features and then re-enabling the ones under test, e.g.
cargo test --no-default-features -F illegal-opcodes

The same is done in the Cargo.toml of some popular projects like ripgrep here.
Granted, it gets a little tedious with many features, but it's mostly a CI thing as normal users would probably just enable one feature in the end — we can combine features into more general features to make that easier if we like. 😉
If we get to a point where testing all combinations gets awkward, we can list them in a Makefile target, but let's wait until we get there.

How's this?

Great, looks good to me. Thanks a lot @omarandlorraine.


Update Changelog for Azure.Monitor.OpenTelemetry.AspNetCore

API change check
API changes are not detected in this pull request.


how to display a default message if outside intents ?

I used the fallback method to handle this but still getting no success.

You're going to to need to provide more information on what exactly you mean by I used the fallback method to handle this but still getting no success. What problem is it that you are facing?

Here is my training file
train_init.py
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

import logging

from rasa_core.agent import Agent
from rasa_core.policies.keras_policy import KerasPolicy
from rasa_core.policies.memoization import MemoizationPolicy
from rasa_core.policies.fallback import FallbackPolicy

if __name__ == '__main__':
	logging.basicConfig(level='INFO')

	training_data_file = './data/stories.md'
	model_path = './models/dialogue'
	fallback = FallbackPolicy(fallback_action_name="utter_default",core_threshold=0.7,nlu_threshold=0.7)
	agent = Agent('domain.yml', policies = [MemoizationPolicy(), KerasPolicy(),fallback])

	agent.train(
			training_data_file,
			epochs = 300,
			batch_size = 10,
			validation_split = 0.2)

	agent.persist(model_path)

Here is my app file
run_app.py
from rasa_core.channels import HttpInputChannel
from rasa_core.agent import Agent
from rasa_core.interpreter import RasaNLUInterpreter
from rasa_slack_connector import SlackInput

nlu_interpreter = RasaNLUInterpreter('./models/nlu/default/test')
agent = Agent.load('./models/dialogue', interpreter = nlu_interpreter)

input_channel = SlackInput('xoxb-5148175159-385053278679-bQ74', 'xoxb-5148175159-385053278679-bQ74zXfnZRyz3FAHL',
							True)

agent.handle_channel(HttpInputChannel(5004, '/', input_channel))

Here is my domain file
domain.yml
slots:
  device:
    type: text
  account:
    type: text

intents:
 - greet
 - goodbye
 - question
 - appreciate
 - interest
 - default

entities:
 - device
 - account

templates:
  utter_greet:
  - text: "Welcome"
  utter_goodbye:
    - 'Bye bye :('
  utter_select_device:
  - text: "Banking"
    buttons:
    - title: "Mobile Banking"
      payload: "Mobile Banking"
    - title: "Phone Banking"
      payload: "Phone Banking"
    - title: "Internet Banking"
      payload: "Internet Banking"
    - title: "ATM"
      payload: "ATM"
    - title: "Branch"
      payload: "Branch"
  utter_que:
  - text: "Anything else I can help you?"
  utter_appreciate:
  - text: "Welcome"
  utter_account:
  - text: "Account Type"
    buttons:
    - title: "Savings Account"
      payload: "Savings Account"
    - title: "Current Account"
      payload: "Current Account"
  utter_default:
  - text: "Sorry was unable to solve"

actions:
 - utter_greet
 - utter_goodbye
 - utter_select_device
 - actions.ActionMobile
 - utter_que
 - utter_appreciate
 - actions.ActionAccount
 - utter_account
 - utter_default

just removed the slack details for safety.
although inserting fallback policy to the code i still get the reply beside the utter_default.

@tushar1328 did you solve your problem?

@wrathagom I have not yet solved the problem. Need to tweak the code please help, have a look to image.

the image shows the fallback not been called, after some of the iterations the you can see that the bot replies that "didn't get what your are saying." this also a line in the action which is not the fallback answer. the fallback answer is " Sorry,I did not understand what you mean, Please elaborate again !!!! :) ". the fallback answer should appear if the connect rather than the intents is being asked.
I have used spacy model. I have attached all the required files to the comment. Please help
domain.yml
slots:
  device:
    type: text
  account:
    type: text
  card:
    type: text
  move:
    type: text
  time:
    type: text
  query:
    type: text

intents:
 - greet
 - goodbye
 - question
 - appreciate
 - default

entities:
 - device
 - account
 - card
 - time
 - query

templates:
  utter_greet:
  - text: "Welcome, How may I help you ?"
  utter_goodbye:
    - 'Bye bye :('
  utter_select_device:
  - text: "Addhar Card can be linked in many ways how would you like to?"
    buttons:
    - title: "Mobile Banking"
      payload: "Mobile Banking"
    - title: "Phone Banking"
      payload: "Phone Banking"
    - title: "Internet Banking"
      payload: "Internet Banking"
    - title: "ATM"
      payload: "ATM"
    - title: "Branch"
      payload: "Branch"
  utter_que:
  - text: "Anything else I can help you?"
  utter_appreciate:
  - text: "Welcome"
  utter_account:
  - text: "For what type of account do you need information"
    buttons:
    - title: "Savings Account"
      payload: "Savings Account"
    - title: "Current Account"
      payload: "Current Account"
  utter_default:
  - text: "Sorry,I did not understand what you mean, Please elaborate again !!!! :) "

actions:
 - utter_greet
 - utter_goodbye
 - utter_select_device
 - utter_account
 - utter_default
 - utter_que
 - utter_appreciate
 - actions.ActionMobile
 - actions.ActionAccount
 - actions.ActionFallback

Action.py
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

from rasa_core.actions.action import Action
from rasa_core.events import SlotSet
from rasa_core.events import AllSlotsReset
import json
import requests
import urllib.parse
url=('http://<IP_ADDRESS>:1111/rasa/faq/')
class ActionMobile(Action):
	def name(self):
		return 'action_mobile'

	def run(self, dispatcher, tracker, domain):
		d = str(tracker.get_slot('device'))
		d = d.lower()
		c = str(tracker.get_slot('card'))
		c = c.lower()
		m = str(tracker.get_slot('move'))
		m = m.lower()
		if m == "link" and ( c == "addhar card" or c == "aadhaar card") and (d == "mobile banking" or d == "mobile"):

			url_append=urllib.parse.urljoin(url,"2")
			print(url_append)
			req = requests.get(url_append)
			l=req.json()
			main=l["data"]['faq_ans']
			repo="""Here is what you need\n {} """.format (main)
			dispatcher.utter_message(repo)
		elif m == "link" and ( c == "addhar card" or c == "aadhaar card") and d == "internet banking":

			url_append=urllib.parse.urljoin(url,"3")
			print(url_append)
			req = requests.get(url_append)
			l=req.json()
			main=l["data"]['faq_ans']
			repo="""Here is what you need\n {} """.format (main)
			dispatcher.utter_message(repo)
		elif m == "link" and ( c == "addhar card" or c == "aadhaar card") and d == "phone banking":

			url_append=urllib.parse.urljoin(url,"4")
			print(url_append)
			req = requests.get(url_append)
			l=req.json()
			main=l["data"]['faq_ans']
			repo="""Here is what you need\n {} """.format (main)
			dispatcher.utter_message(repo)
		elif m == "link" and ( c == "addhar card" or c == "aadhaar card") and d == "atm":

			url_append=urllib.parse.urljoin(url,"5")
			print(url_append)
			req = requests.get(url_append)
			l=req.json()
			main=l["data"]['faq_ans']
			repo="""Here is what you need\n {} """.format (main)
			dispatcher.utter_message(repo)
		elif m == "link" and (c == "addhar card" or c == "aadhaar card") and d == "branch":
			url_append=urllib.parse.urljoin(url,"6")
			print(url_append)
			req = requests.get(url_append)
			l=req.json()
			main=l["data"]['faq_ans']
			repo="""Here is what you need\n {} """.format (main)
			dispatcher.utter_message(repo)
		else:
			dispatcher.utter_message("I don't get what are you saying")
		#return [SlotSet("move" and "card",m and p if m =="link" and (p == "addhar card" or p == "aadhaar card") else AllSlotsReset()]
		return [AllSlotsReset()

class ActionAccount(Action):

		def name(self):
			return 'action_account'

		def run(self, dispatcher, tracker, domain):
			a = str(tracker.get_slot('account'))
			a = a.lower()
			c = str(tracker.get_slot('card'))
			c = c.lower()
			m = str(tracker.get_slot('move'))
			m = m.lower()
			t = str(tracker.get_slot('time'))
			t = t.lower()
			q = str(tracker.get_slot('query'))
			q = q.lower()
			if c == "debit card" and m == "customise" and a == "savings account":
				url_append=urllib.parse.urljoin(url,"14")
				print(url_append)
				req = requests.get(url_append)
				l=req.json()
				main=l["data"]['faq_ans']
				repo="""Here is what you need\n {} """.format (main)
				dispatcher.utter_message(repo)
			elif c == "debit card" and m == "customise" and a == "current account":
				url_append=urllib.parse.urljoin(url,"14")
				print(url_append)
				req = requests.get(url_append)
				l=req.json()
				main=l["data"]['faq_ans']
				repo="""Here is what you need\n {} """.format (main)
				dispatcher.utter_message(repo)
			elif c == "credit card" and m == "customise":
				url_append=urllib.parse.urljoin(url,"15")
				print(url_append)
				req = requests.get(url_append)
				l=req.json()
				main=l["data"]['faq_ans']
				repo="""Here is what you need\n {} """.format (main)
				dispatcher.utter_message(repo)
			elif a == "current account" and m == "type":
				url_append=urllib.parse.urljoin(url,"7")
				print(url_append)
				req = requests.get(url_append)
				l=req.json()
				main=l["data"]['faq_ans']
				repo="""Here is what you need\n {} """.format (main)
				dispatcher.utter_message(repo)
			elif (q == "free transactions" or q == "free transaction") and t == "month" and (m == "none" or m == "decide"):
				url_append=urllib.parse.urljoin(url,"8")
				print(url_append)
				req = requests.get(url_append)
				l=req.json()
				main=l["data"]['faq_ans']
				repo="""Here is what you need\n {} """.format (main)
				dispatcher.utter_message(repo)
			elif (a == "savings account") and (t == "month") and (m == "get") and (q == "free cheque"):
				url_append=urllib.parse.urljoin(url,"16")
				print(url_append)
				req = requests.get(url_append)
				l=req.json()
				main=l["data"]['faq_ans']
				repo="""Here is what you need\n {} """.format (main)
				dispatcher.utter_message(repo)
			elif (a == "current account") and (t == "month") and (m == "get") and (q == "free cheque"):
				url_append=urllib.parse.urljoin(url,"17")
				print(url_append)
				req = requests.get(url_append)
				l=req.json()
				main=l["data"]['faq_ans']
				repo="""Here is what you need\n {} """.format (main)
				dispatcher.utter_message(repo)
			elif (a == "none") and (t == "month") and (m == "get") and (q == "free cheque"):
				url_append=urllib.parse.urljoin(url,"9")
				print(url_append)
				req = requests.get(url_append)
				l=req.json()
				main=l["data"]['faq_ans']
				repo="""Here is what you need\n {} """.format (main)
				dispatcher.utter_message(repo)
			else:
				dispatcher.utter_message("Didn't get what were you saying")
			return [AllSlotsReset()]

class ActionFallback(Action):

    def name(self):
        return 'fallback'

    def run(self, dispatcher, tracker, domain):
        from rasa_core.events import UserUtteranceReverted

        dispatcher.utter_message("Sorry, didn't get that. Try again.")
        return [UserUtteranceReverted()]

@tushar1328 can you please try the latest master of Core and see if that works for you? use the name "action_default_fallback" as the fallback action for the fallback policy instead of your custom defined one.

@akelad it worked with great with "action_default" It just needed proper training to be done with more bunch of stories. Thank for the help


Static Resources In Razor Class Libraries

I'm trying to include static resources to a razor class library following this tutorial: https://www.mikesdotnetting.com/article/330/including-static-resources-in-razor-class-libraries-in-asp-net-core
But it's throwing the error:
Could not load the embedded file manifest 'Microsoft.Extensions.FileProviders.Embedded.Manifest.xml' for assembly 'MyAssembly'
The class library already does reference to the package Microsoft.Extensions.FileProviders.Embedded
Does Blazor support it?

Please provide a repro project if you want us to be able to help.
Did you set <GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>?

Thanks for contacting us, @alexandrereyes.
This is now supported through the Static assets support feature: https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0-preview-6/


Super new Auditor

Based on: https://github.com/molnard/WalletWasabi/pull/47
https://github.com/zkSNACKs/CoinVerifier/issues/7
CSV file, from left to right

DateTime of creating the audit
AuditEventType (can be: VerificationResult, Round, Exception)
Outpoint
Address
Did we ban it or not (boolean)
Did we remove it or not (boolean)
Amount
Reason (Remix, Whitelisted, OneHop, RemoteApiChecked, Inmature, Exception, NotChecked)
Details (if API request was made: report_id, report_type, risk_ids, risk_categories)

Right now this is how it looks like:

3 types of audit:

VerificationResult
Round(Event) (DateTime, EventType, Outpoint + message, roundID)
Exception (DateTime, EventType, Exception message, roundID)

What is the difference?

Did we ban it or not (boolean)
Did we remove it or not (boolean)

Reason is for ban or remove?

Reason (Remix, Whitelisted, OneHop, RemoteApiChecked, Inmature, Exception, NotChecked)

Amount is in BTC only, right? No USD equivalent?

Amount

Audit type VerificationResult is for coins that were banned, right? In other words, this is the audit type that will be useful for CoinVerifier stats?

What is the difference?

Did we ban it or not (boolean)
Did we remove it or not (boolean)

There is a case when we only remove a coin from the round but we don't ban it. For example: if the coin got less than 3 confirmations. In that case we didn't ban the coin, but we removed it.
If a coin gets banned both of the values will be true.

Reason is for ban or remove?

Reason (Remix, Whitelisted, OneHop, RemoteApiChecked, Inmature, Exception, NotChecked)

More than that. Reason why we let that coin in or did not let that coin in. Like Reason.Remix means we let the coin in bc it comes from a previous CJ.

Amount is in BTC only, right? No USD equivalent?

Yes, BTC only. With the time you can calculate its past USD equivalent.

Audit type VerificationResult is for coins that were banned, right? In other words, this is the audit type that will be useful for CoinVerifier stats?

No, they are for every check, like Whitelist, remix or API request check.
For example if you want to get the banned coins, you can search for them like: RemoteApiCheck + true (banned) + true (removed).

i'm not sure if we want to have logs like this:
2023-01-26 12:22:23,Round,3e47a52c05d7df87b7ad272da63c4bf5d37a49f3a86be1913d790474939ed206-0 got removed from Round.,Round ID: 24cd2310b911dd7e3a301ab4ca135001be8f6ec5c1ec21531a6a7d224ad13ba7

It tells us so little information.

Makes total sense. Thanks!

cACK. If it is ready we can do a last review tomorrow and merge it into the master.

mergen on master


Running on Raspi 4 (headless raspberry pi os (debian)) tries to build core midi

I'm so excited to find this library. Hoping to possibly add some contributions to documentation while testing. First thing I noticed was that you need to have the rust tools installed before you can run Mix.install(), once that dependency is handled, and a few other system packages have been installed it seems to work as prescribed. The errors are really nice from rustler.
In addition to running on a mac, I also want to run on a headless pi 4 but am hitting some issues when compiling.
iex -S mix
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit]

==> midiex
Compiling 10 files (.ex)
Compiling crate midiex in release mode (native/midiex)
   Compiling memchr v2.5.0
   Compiling proc-macro2 v1.0.63
   Compiling libc v0.2.138
   Compiling quote v1.0.28
   Compiling regex-syntax v0.6.28
   Compiling unicode-ident v1.0.5
   Compiling pkg-config v0.3.26
   Compiling aho-corasick v0.7.20
   Compiling alsa-sys v0.3.1
Compiling lib/midiex/backend.ex (it's taking more than 10s)
   Compiling bitflags v1.3.2
   Compiling void v1.0.2
   Compiling cfg-if v1.0.0
   Compiling syn v2.0.22
   Compiling unreachable v1.0.0
   Compiling heck v0.4.0
   Compiling rustler v0.29.0
   Compiling lazy_static v1.4.0
   Compiling regex v1.7.0
   Compiling nix v0.24.3
   Compiling alsa v0.7.0
   Compiling rustler_sys v2.3.0
   Compiling midir v0.9.1
   Compiling rustler_codegen v0.29.0
   Compiling midiex v0.1.0 (/home/pi/test/deps/midiex/native/midiex)
error[E0433]: failed to resolve: use of undeclared crate or module `coremidi`
  --> src/lib.rs:11:5
   |
11 | use coremidi::Notification::{ObjectAdded, ObjectRemoved};
   |     ^^^^^^^^ use of undeclared crate or module `coremidi`

error[E0432]: unresolved import `coremidi`
  --> src/lib.rs:10:5
   |
10 | use coremidi::{Client, Notification, AddedRemovedInfo, ObjectType};
   |     ^^^^^^^^ use of undeclared crate or module `coremidi`

Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `midiex` (lib) due to 2 previous errors

== Compilation error in file lib/midiex/backend.ex ==
** (RuntimeError) Rust NIF compile error (rustc exit code 101)
    (rustler 0.26.0) lib/rustler/compiler.ex:41: Rustler.Compiler.compile_crate/2
    lib/midiex/backend.ex:6: (module)
could not compile dependency :midiex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile midiex", update it with "mix deps.update midiex" or clean it with "mix deps.clean midiex"

I believe that I should be able to not compile coremidi on a non mac platform and compile some other resource, but am unsure how to make the change.
Thanks again! 🎹 ❤

Thanks @thejohncotton,
You are correct in that coremidi shouldn't pull in if its not being compiled on MacOS.
I've taken a look and it looks like I missed a couple of lines where I should have tagged coreaudio as a MacOS-only dependency.
I've made that change now and I've just pushed v0.5.0 to hex with the changes and hopefully that resolves it for you. Let me know how you go.
I'm currently starting the migration to Rustler precompiled, so I'm hoping some of the rust toolchain issues will disappear and it will turn into a simple download for most people.

Another little update @thejohncotton,
I've pushed another release v0.5.3 to fix a couple of other errors I noticed being thrown on the rust build side on Ubuntu. Just letting you know incase you run into the same problems on raspberry pi os.
One thing I noticed that even though I had ALSA installed, I needed to have a couple of extra packages for the compilation to complete: sudo apt install libasound2-dev pkg-config.
The following threads from another project helped me: https://github.com/Spotifyd/spotifyd/issues/659


French localization issue

Hello,
I would like to report that the French translation of "model serving" as "service de modèle" used on the French version of this page is not accurate. It's a "word-for-word" translation, which does not convey the meaning of "model serving" (the fact that it exposes machine learning models as scalable REST API endpoints and provides a highly available and low-latency service for deploying models): this is something that we rather call "mise en service de modèle".
Could it be possible to fix that?
Replace "Service de modèle avec Azure Databricks" by "Mise en service de modèle avec Azure Databricks"
Replace "Qu’est-ce que le service de modèles ?" by "Qu’est-ce que la mise en service de modèles ?"
Replace "Pourquoi utiliser le Service de modèles ?" by "Pourquoi utiliser la mise en service de modèles ?"
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 8fcf0992-0483-b17c-457a-71e2c75e02c1
Version Independent ID: 8fcf0992-0483-b17c-457a-71e2c75e02c1
Content: Model serving with Azure Databricks - Azure Databricks
Content Source: databricks/machine-learning/model-serving/index.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@FRFR-LO
Glad to know you have self-resolved the issue.


Load space pages without relying on explore

Changes proposed in this pull request:

Add space header lazy loading
Fix lazy loading for all space pages
Fix create proposal layout and preview feature
Added todo's that can be done when the backend is ready https://github.com/snapshot-labs/snapshot/issues/1458

@mktcode Please approve when done with review :)