feature(manager-agent): function to execute download-files command

Added agent_download_files function.
The function receives a node object, bucket location list and a snapshot tag
and afterwards uses the agent's download-files command to download the snapshot
files to the node's upload directory.
optional -  keyspace_filter_list: list of glob strings. only the files of keyspaces
that match the glob filters will be downloaded.

Please fix commit message - length of title and missing description

I still don't see a meaningful commit message that explain something

@ShlomiBalalis I didn't ask you to copy the function descritption to the commit message.
The commit message should include things like:
The reason we need to add this code, why we need it now and not previously, which feature it's going to test and since what release, which code is using it in the dtest, etc....

@ShlomiBalalis please ping here for backport once it passes on master.


BUG: Hover effect not visible on active link in navigation bar

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The hover effect on the active link in the navigation bar is not visible. Specifically, when the "Home" link is active, the hover effect does not apply, making it difficult for users to identify the active link visually.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@thevijayshankersharma assigned. After making the changes raise a PR with a video or screenshot demonstrating your changes.

@Suchitra-Sahoo I have updated the code in new branch, should I merge it with main of mine repo ?


Add automatic tx creation in testnet deployments

Overview / Motivation
Add automatic tx creation in testnet deployments

[ ] think about tx benchmark per layer
[ ] implement automated script that creates txs according to spec
[ ] monitor db sizes

The Task
TODO: Clearly describe the issue requirements here...
Implementation Notes
TODO: Add links to relevant resources, specs, related issues, etc...
Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who haven't introduced themselves on our Gitter dev channel

Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
Fork branch develop to your own repo and work in your repo
You must document all methods, enums and types with godoc comments
You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
When ready for code review, submit a PR from your repo back to branch develop
Attach relevant issue to PR

Part of #1804


Typescript compilation issues on master

yarn run compile:ext is failing for me: -
(base) jim@BIGDROP:~/projects/vscode-wardley-maps$ yarn run compile:ext
yarn run v1.22.5
$ tsc -b
node_modules/vscode-languageserver/lib/callHierarchy.proposed.d.ts:5:58 - error TS2694: Namespace '"/home/jim/projects/vscode-wardley-maps/node_modules/vscode-languageserver/node_modules/vscode-languageserver-protocol/lib/common/api".Proposed' has no exported member 'CallHierarchyPrepareParams'.

5         onPrepare(handler: ServerRequestHandler<Proposed.CallHierarchyPrepareParams, Proposed.CallHierarchyItem[] | null, never, void>): void;
                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~

yarn.log

This seems to fix it:
(base) jim@BIGDROP:~/projects/vscode-wardley-maps$ git diff .eslintrc.json
diff --git a/.eslintrc.json b/.eslintrc.json
index aed420c..ea08462 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -22,8 +22,13 @@
                "prettier/react"
        ],
        "rules": {
-               "prettier/prettier": "error",
-               "linebreak-style": ["error", "unix"],
+               "prettier/prettier": [
+                       "error",
+                       {
+                               "endOfLine": "auto"
+                       }
+               ],
+               "linebreak-style": 0,
                "react/prop-types": 0
        }
 }
(base) jim@BIGDROP:~/projects/vscode-wardley-maps$


Docker container support multiple language codes.

The Amazon Transcribe Streaming container add support for multiple languages.

Hi,
May I ask why this solution has been removed from AWS solution implementation?
https://docs.aws.amazon.com/solutions/latest/live-streaming-with-automated-multi-language-subtitling/welcome.html


ENH: JSON description files for area opening/closing

Wrapping for the grayscale attribute morphology classes including very basic testing.

I have a draft of the ITK modifications at: richardbeare/ITK/pull#1. Something is wrong with my setup and I can't currently send the PR to the main ITK repo. Working on that now.

@richardbeare I have rebased and updated the PR with the ITK XML doc strings. Please check all looks good.
Thank you for your patience with getting the PR merged.


Run an error in the K8s container

My k8s docker environment is as follows: Use up to 1 cores of cpu,1g memory，The following error occurred in the run：
2019-06-02T12:31:51.410400083Z display_data: [{"source":"","data":{"text/plain":"Unable to restore packages from '/tmp/scripts/root/.dotnet/tools/.store/icsharpcore/0.2.2/icsharpcore/0.2.2/tools/netcoreapp2.2/any/REPL/interactive/interactive/script.csproj'. Make sure that all script files contains valid NuGet references\n   at Dotnet.Script.DependencyModel.Context.DotnetRestorer.Restore(String pathToProjectFile, String[] packageSources)\n   at Dotnet.Script.DependencyModel.Context.CachedRestorer.g__RestoreAndCacheProjectFile|5_0(<>c__DisplayClass5_0& )\n   at Dotnet.Script.DependencyModel.Context.CachedRestorer.Restore(String pathToProjectFile, String[] packageSources)\n   at Dotnet.Script.DependencyModel.Context.ProfiledRestorer.Restore(String pathToProjectFile, String[] packageSources)\n   at Dotnet.Script.DependencyModel.Runtime.RuntimeDependencyResolver.GetDependenciesForCode(String targetDirectory, ScriptMode scriptMode, String[] packageSources, String code)\n   at ICSharpCore.Script.InteractiveScriptEngine.TryLoadReferenceFromScript(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 172\n   at ICSharpCore.Script.InteractiveScriptEngine.ExecuteAsync(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 108\n   at ICSharpCore.RequestHandlers.ExecuteHandler1.Process(Message1 message) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/RequestHandlers/ExecuteHandler.cs:line 49","text/html":"<p style="color:red;">Unable to restore packages from '/tmp/scripts/root/.dotnet/tools/.store/icsharpcore/0.2.2/icsharpcore/0.2.2/tools/netcoreapp2.2/any/REPL/interactive/interactive/script.csproj'. Make sure that all script files contains valid NuGet references\n   at Dotnet.Script.DependencyModel.Context.DotnetRestorer.Restore(String pathToProjectFile, String[] packageSources)\n   at Dotnet.Script.DependencyModel.Context.CachedRestorer.g__RestoreAndCacheProjectFile|5_0(<>c__DisplayClass5_0& )\n   at Dotnet.Script.DependencyModel.Context.CachedRestorer.Restore(String pathToProjectFile, String[] packageSources)\n   at Dotnet.Script.DependencyModel.Context.ProfiledRestorer.Restore(String pathToProjectFile, String[] packageSources)\n   at Dotnet.Script.DependencyModel.Runtime.RuntimeDependencyResolver.GetDependenciesForCode(String targetDirectory, ScriptMode scriptMode, String[] packageSources, String code)\n   at ICSharpCore.Script.InteractiveScriptEngine.TryLoadReferenceFromScript(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 172\n   at ICSharpCore.Script.InteractiveScriptEngine.ExecuteAsync(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 108\n   at ICSharpCore.RequestHandlers.ExecuteHandler1.Process(Message1 message) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/RequestHandlers/ExecuteHandler.cs:line 49"},"metadata":{},"transient":{}}]
2019-06-02T12:31:51.410444224Z execute_request: [NetMQMessage[e1001bd436af4fdc8d1a85ba781f11c4,<IDS|MSG>,ea21fe6e2b26602df5b3fb4ba3a1e4ed6399853e067b13b62fa24aa28c9a3a88,{"msg_type":"execute_request","msg_id":"4072fa3832cd493d8ca1589fdee3137e","version":"5.2","username":"username","session":"e1001bd436af4fdc8d1a85ba781f11c4"},{},{},{"user_expressions":{},"code":"var str = "Hello, TensorFlow.NET!";\nvar hello = tf.constant(str);\n\n// Start tf session\nusing(var sess = tf.Session())\n{\n    // Run the op\n    return sess.run(hello);\n}","allow_stdin":true,"store_history":true,"stop_on_error":true,"silent":false}]]
2019-06-02T12:31:51.410452581Z status: [{"execution_state":"busy"}]
2019-06-02T12:31:51.410603242Z fail: ExecuteHandler[0]
2019-06-02T12:31:51.410615665Z       Failed to run the code: using Tensorflow;
2019-06-02T12:31:51.410619855Z System.Exception: Unable to restore packages from '/tmp/scripts/root/.dotnet/tools/.store/icsharpcore/0.2.2/icsharpcore/0.2.2/tools/netcoreapp2.2/any/REPL/interactive/interactive/script.csproj'. Make sure that all script files contains valid NuGet references
2019-06-02T12:31:51.41062427Z    at Dotnet.Script.DependencyModel.Context.DotnetRestorer.Restore(String pathToProjectFile, String[] packageSources)
2019-06-02T12:31:51.410628387Z    at Dotnet.Script.DependencyModel.Context.CachedRestorer.g__RestoreAndCacheProjectFile|5_0(<>c__DisplayClass5_0& )
2019-06-02T12:31:51.410632651Z    at Dotnet.Script.DependencyModel.Context.CachedRestorer.Restore(String pathToProjectFile, String[] packageSources)
2019-06-02T12:31:51.410636674Z    at Dotnet.Script.DependencyModel.Context.ProfiledRestorer.Restore(String pathToProjectFile, String[] packageSources)
2019-06-02T12:31:51.410640624Z    at Dotnet.Script.DependencyModel.Runtime.RuntimeDependencyResolver.GetDependenciesForCode(String targetDirectory, ScriptMode scriptMode, String[] packageSources, String code)
2019-06-02T12:31:51.410644679Z    at ICSharpCore.Script.InteractiveScriptEngine.TryLoadReferenceFromScript(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 172
2019-06-02T12:31:51.410648802Z    at ICSharpCore.Script.InteractiveScriptEngine.ExecuteAsync(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 108
2019-06-02T12:31:51.410661877Z    at ICSharpCore.RequestHandlers.ExecuteHandler1.Process(Message1 message) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/RequestHandlers/ExecuteHandler.cs:line 49

It seems like a nuget package downloading failure.

From Microsoft/dotnet, this should be change.
https://devblogs.microsoft.com/dotnet/net-core-container-images-now-published-to-microsoft-container-registry/

新版本的镜像运行正常了

Unable to restore packages from '/tmp/scripts/root/.dotnet/tools/.store/icsharpcore/0.2.2/icsharpcore/0.2.2/tools/netcoreapp2.2/any/REPL/interactive/interactive/script.csproj'. Make sure that all script files contains valid NuGet references at Dotnet.Script.DependencyModel.Context.DotnetRestorer.Restore(String pathToProjectFile, String[] packageSources) at Dotnet.Script.DependencyModel.Context.CachedRestorer.g__RestoreAndCacheProjectFile|5_0(<>c__DisplayClass5_0& ) at Dotnet.Script.DependencyModel.Context.CachedRestorer.Restore(String pathToProjectFile, String[] packageSources) at Dotnet.Script.DependencyModel.Context.ProfiledRestorer.Restore(String pathToProjectFile, String[] packageSources) at Dotnet.Script.DependencyModel.Runtime.RuntimeDependencyResolver.GetDependenciesForCode(String targetDirectory, ScriptMode scriptMode, String[] packageSources, String code) at ICSharpCore.Script.InteractiveScriptEngine.TryLoadReferenceFromScript(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 172 at ICSharpCore.Script.InteractiveScriptEngine.ExecuteAsync(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 108 at ICSharpCore.RequestHandlers.ExecuteHandler1.Process(Message1 message) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/RequestHandlers/ExecuteHandler.cs:line 49

Still the problem about restore packages.

It's okay to manually go inside the docker and run the command line.
/tmp/scripts/root/.dotnet/tools/.store/icsharpcore/0.2.2/icsharpcore/0.2.2/tools/netcoreapp2.2/any/REPL/interactive/interactive# ls
NuGet.Config  obj  script.csproj
/tmp/scripts/root/.dotnet/tools/.store/icsharpcore/0.2.2/icsharpcore/0.2.2/tools/netcoreapp2.2/any/REPL/interactive/interactive# dotnet restore
Restore completed in 622.5 ms for /tmp/scripts/root/.dotnet/tools/.store/icsharpcore/0.2.2/icsharpcore/0.2.2/tools/netcoreapp2.2/any/REPL/interactive/interactive/script.csproj.

@geffzhang I tried running via commandline inside the container.... "using Tensorflow" completed
however, whenever i start using tensorflow (e.g. tf.constant("test");), the kernel just dies... any workaround for this?

@whatevergeek which docker image version do you use?
Did you get same error with Geff Zhang?
I used scisharpstack/scisharpcube:0.4

Initially the container fails when loading (using Tensorflow;)
After i've done @geffzhang commandline restore, it got completed.
However,  the container dies again when i do: tf.constant("test");

Linux

Which kind host do you use? Windows, Linux or Mac OSX?

Windows. Using Docker Toolbox for hosting the image.

Btw, i'm also trying to use binder to help reproduce it online. However, the environment doesn't seem to launch. Anyway, placing my repo here in case anyone got suggestion on the dockerfile setup:
https://github.com/whatevergeek/SciSharpCubeBinder

@whatevergeek  Using the Try.NET repository as a starting base, I have made a working dockerfile for Binder:
https://github.com/javiercp/BinderTF.NET
I haven't tested it fully but it seems to work. The helloworld sample returns null but otherwise the objects seem right, and the linear regression test works just fine.
@kerryjiang I have the same problem with the dockerfile from this repo, but I'm running it from behind my corporate firewall. This maybe a problem to get the Nuget packages. I'll try it from home later.

Do you use container in Kubernetes or independent docker container?

I'm using an independent docker container.. Also on Windows 10.

@javiercp under Windows Linux Subsystem?

No, just standard Windows 10, but unfortunately with corporate proxy/antivirus/...
At home I'll have a simpler connection. I'll check it when I get back.

@javiercp i tried the binderhub... it kinda works... thanks for sharing... i tried the following:
var str = "Hello, TensorFlow.NET!";
var hello = tf.constant(str);
`
var str = "Hello, TensorFlow.NET!";
var hello = tf.constant(str);
// Start tf session
using(var sess = tf.Session())
{
var result = sess.run(hello);
Console.WriteLine(result.GetType());
Console.WriteLine(result.ToString());
// Run the op
return result;
}`
-- result --
NumSharp.NDArray Hello, TensorFlow.NET! <null>

Yup, that's what I see too. The return result shows null, although the result object seems fine.
If you try it with a int constant it works without problem:
var foo = tf.constant(1);
var bar = tf.constant(2);
// Start tf session
using(var sess = tf.Session())
{
// Run the op
var result = sess.run(foo + bar);
Console.WriteLine(result.GetType());
Console.WriteLine(result.ToString());

return result;

}
-- result --
NumSharp.NDArray
3

index
value

0
3

So I guess it works, it's just something when it tries to show the result.

@kerryjiang A bit more info. This is the log from the docker container:
[...]
6bcea139de54: Pull complete
Digest: sha256:6b518f79038b4eaf385f32a2ad823764ea94d116ac94f4d4c93b68a44366d44f
Status: Downloaded newer image for scisharpstack/scisharpcube:latest
[I 09:58:37.832 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[I 09:58:38.018 NotebookApp] Serving notebooks from local directory: /scisharp/home
[I 09:58:38.018 NotebookApp] The Jupyter Notebook is running at:
[I 09:58:38.018 NotebookApp] http://87e79186a562:8888/?token=c1a49993cbbf76792a7a2bc52658f6365bb7edabcefb6250
[I 09:58:38.018 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=c1a49993cbbf76792a7a2bc52658f6365bb7edabcefb6250
[I 09:58:38.018 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 09:58:38.023 NotebookApp]
To access the notebook, open this file in a browser:
    file:///root/.local/share/jupyter/runtime/nbserver-1-open.html
Or copy and paste one of these URLs:
    http://87e79186a562:8888/?token=c1a49993cbbf76792a7a2bc52658f6365bb7edabcefb6250
 or http://<IP_ADDRESS>:8888/?token=c1a49993cbbf76792a7a2bc52658f6365bb7edabcefb6250

[I 12:34:56.180 NotebookApp] 302 GET /?token=c1a49993cbbf76792a7a2bc52658f6365bb7edabcefb6250 (<IP_ADDRESS>) 0.82ms
[I 12:35:00.604 NotebookApp] Writing notebook-signing key to /root/.local/share/jupyter/notebook_secret
[W 12:35:00.604 NotebookApp] Notebook samples/HelloWorld.ipynb is not trusted
[I 12:35:00.723 NotebookApp] Kernel started: 2c31cc70-8aae-4b39-8790-cc33c3eac300
[W 12:35:00.759 NotebookApp] 404 GET /static/components/codemirror/mode/.netstandard/.netstandard.js?v=20191115095837 (<IP_ADDRESS>) 31.31ms referer=http://<IP_ADDRESS>:8888/notebooks/samples/HelloWorld.ipynb
Kernel connecting...
arg 0: /root/.local/share/jupyter/runtime/kernel-2c31cc70-8aae-4b39-8790-cc33c3eac300.json
arg 1: /scisharp/refs.txt
{"shell_port":33909,"iopub_port":59745,"stdin_port":54997,"control_port":35107,"hb_port":45979,"IP":"<IP_ADDRESS>","Key":"ef8cdb3b-c5d50a30318711a08f4c3346","Transport":"tcp","signature_scheme":"hmac-sha256","kernel_name":"csharpcore"}
Listening Shell @tcp://<IP_ADDRESS>:33909
Listening IOPub @tcp://<IP_ADDRESS>:59745
kernel_info_request: [NetMQMessage[ ?~qO,<IDS|MSG>,6d6688c88562e04933708634a15aa3a73587155c1e6ee13fbda8ebc138ed2fcc,{"date":"2019-11-15T12:35:00.764013Z","username":"username","msg_type":"kernel_info_request","session":"bf825497633848628df4be9a602a2a2f","version":"5.3","msg_id":"d71ebcf5-78b257e2cdcf146180cb8a55"},{},{},{}]]
kernel_info_request: [NetMQMessage[bf825497633848628df4be9a602a2a2f,<IDS|MSG>,07c43a7d1ddae3a9445a289345df1844c22000d4c32bdfc82d38d80f6a3e3255,{"username":"username","msg_type":"kernel_info_request","msg_id":"5a5b6ae49d9546ef88aebd906f906059","session":"bf825497633848628df4be9a602a2a2f","version":"5.2"},{},{},{}]]
comm_info_request: [NetMQMessage[bf825497633848628df4be9a602a2a2f,<IDS|MSG>,147639e491b474a863f349364c76351544d1b3d3ccb63735c220a0ecd53c6d13,{"username":"username","msg_type":"comm_info_request","msg_id":"50c9484b17664c338208be8c415f3992","session":"bf825497633848628df4be9a602a2a2f","version":"5.2"},{},{},{"target_name":"jupyter.widget"}]]
execute_request: [NetMQMessage[bf825497633848628df4be9a602a2a2f,<IDS|MSG>,3a5e7482f53a5dde679a5b74a9088dc0a3206a8694fa18c9d059b8c158abb00c,{"username":"username","msg_type":"execute_request","msg_id":"9213303500f14e13af545a2337127bbb","session":"bf825497633848628df4be9a602a2a2f","version":"5.2"},{},{},{"code":"using Tensorflow;","user_expressions":{},"store_history":true,"stop_on_error":true,"allow_stdin":true,"silent":false}]]
fail: ExecuteHandler[0]
Failed to run the code: using Tensorflow;
System.Exception: Unable to restore packages from '/tmp/scripts/root/.dotnet/tools/.store/icsharpcore/0.2.4/icsharpcore/0.2.4/tools/netcoreapp2.2/any/REPL/interactive/interactive/script.csproj'. Make sure that all script files contains valid NuGet references
at Dotnet.Script.DependencyModel.Context.DotnetRestorer.Restore(String pathToProjectFile, String[] packageSources)
at Dotnet.Script.DependencyModel.Context.CachedRestorer.g__RestoreAndCacheProjectFile|5_0(<>c__DisplayClass5_0& )
at Dotnet.Script.DependencyModel.Context.CachedRestorer.Restore(String pathToProjectFile, String[] packageSources)
at Dotnet.Script.DependencyModel.Context.ProfiledRestorer.Restore(String pathToProjectFile, String[] packageSources)
at Dotnet.Script.DependencyModel.Runtime.RuntimeDependencyResolver.GetDependenciesForCode(String targetDirectory, ScriptMode scriptMode, String[] packageSources, String code)
at ICSharpCore.Script.InteractiveScriptEngine.TryLoadReferenceFromScript(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 170
at ICSharpCore.Script.InteractiveScriptEngine.ExecuteAsync(String statement) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/Script/InteractiveScriptEngine.cs:line 106
at ICSharpCore.RequestHandlers.ExecuteHandler1.Process(Message1 message) in /Users/kerryjiang/WorkShop/ICSharpCore/src/ICSharpCore/RequestHandlers/ExecuteHandler.cs:line 70
And this is what I see in the browser:

It seems the restore isn't working, that's why suppose there is a problem with my container reaching nuget.

@javiercp I can run it:

@javiercp Do you mind if we put your link on our SciSharpCube Readme? I thought it's so convenient to experience SciSharp stack for new developers.

@Oceania2018 Sure, no problem. I'll also update the repo readme to point that it's using SciSharp's Tensorflow.NET.


Extra white spaces between words

Attach (recommended) or Link to PDF file here:
page.pdf
Configuration:

Web browser and its version: Any browser (but try e.g. Chrome), latest version.
Operating system and its version: Windows 10, the latest version
PDF.js version: I believe it is the latest: 2.2.228
Is a browser extension: no

Steps to reproduce the problem:

Open the attached pdf page in the default demo pdf viewer: https://mozilla.github.io/pdf.js/web/viewer.html
Search for "Private" or "Equity"
The words: "Private" and "Equity" at the top don't get correctly highlighted.
This seems to be because extra white spaces are inserted between the words but also on the left and the right of them.
Is there anything that can be done about this?

What went wrong? (add screenshot)
Words not correctly highlighted.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Attach (recommended) or Link to PDF file here:
page.pdf
Configuration:

Web browser and its version: Any browser (but try e.g. Chrome), latest version.
Operating system and its version: Windows 10, the latest version
PDF.js version: I believe it is the latest: 2.2.228
Is a browser extension: no

Steps to reproduce the problem:

Open the attached pdf page in the default demo pdf viewer: https://mozilla.github.io/pdf.js/web/viewer.html
Search for "Private" or "Equity"
The words: "Private" and "Equity" at the top don't get correctly highlighted.
This seems to be because extra white spaces are inserted between the words but also on the left and the right of them.
Is there anything that can be done about this?

What went wrong? (add screenshot)
Words not correctly highlighted.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Hi,
do you have solution for this issue? I have similar problem, my search query has one space between each word, but the pdf have two spaces, so it can not search my query. if you have a solution to this problem, could you post it? thank you.

@luomancs No, unfortunately still no solution.


Need help with drawing on Chart

Hi, I'm working with CandleStick series and everything has been good. Now I need to draw triangle on the chart at some exact positions like in the picture below (harmonic pattern). Can anyone point me in the correct direction to achieve this easily ? Thanks

Hi
Sadly this is currently not supported, it is a nice request though.

If it lvcharts support ready to use for financial charts features like drawing, croshairs etc, like any other library, that will be really nice.


Show query planner

The blog shows the playground containing the query planner, however running this demo, I can't get the query planner to show up in the playground.

Query Planner doesn't work in chrome / brave browser I noticed.  Opened in safari and it works.


Update cip_mubi_cov_if to be usable with other values of True and False

cip_mubi_cov_if can only be used with the default values of True and False, for four bits 'b1010 and 'b0101.
lc_ctrl instead uses 'b1001 and 'b0110.
It seems that parameters could be passed from the interface to the various classes to enable other values to be used.

not sure if I understand this correctly. I have created cip_lc_tx_cov_if. Is it what you need?
https://github.com/lowRISC/opentitan/blob/master/hw/dv/sv/cip_lib/cip_lc_tx_cov_if.sv

The documents didn't describe that correctly. Fixed it at #11688

not sure if I understand this correctly. I have created cip_lc_tx_cov_if. Is it what you need? https://github.com/lowRISC/opentitan/blob/master/hw/dv/sv/cip_lib/cip_lc_tx_cov_if.sv

Ah ok there is a different one for the LC ports.
The other option was to pass the ValueTrue and ValueFalse parameters down the hierarchy to make  cip_mubi_cov_if generic.
They are currently missing from cip_mubi_cov_if and dv_base_mubi_cov.

Ah ok there is a different one for the LC ports.
The other option was to pass the ValueTrue and ValueFalse parameters down the hierarchy to make cip_mubi_cov_if generic.
They are currently missing from cip_mubi_cov_if and dv_base_mubi_cov.

I thought about that too, but users have to always pass 3 parameters (Width, ValueTrue and ValueFalse). I ended up making 2 interfaces. so that users just need pass one parameter (Width) for cip_mubi_cov_if and no parameter for cip_lc_tx_cov_if, which may be easier.


moves scheduler to internal and adds tests

moves scheduler pkg under internals as it references models
adds tests

Codecov Report

Merging #198 (2a32433) into master (6ebde7f) will decrease coverage by 2.48%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #198      +/-   ##
==========================================
- Coverage   34.95%   32.46%   -2.49%
==========================================
  Files          93       93
  Lines        3896     3896
==========================================
- Hits         1362     1265      -97
- Misses       2422     2532     +110
+ Partials      112       99      -13

Flag
Coverage Δ

integration
?

unittests
32.46% <100.00%> (+0.74%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

internal/scheduler/loadbalancealgoimpl.go
81.25% <ø> (ø)

internal/scheduler/ramdomalgoimpl.go
50.00% <ø> (ø)

internal/scheduler/scheduler.go
71.42% <ø> (ø)

service/worker/service.go
0.00% <ø> (ø)

internal/scheduler/algorithm.go
100.00% <100.00%> (ø)

pkg/messagebroker/factory.go
33.33% <0.00%> (-33.34%)
:arrow_down:

pkg/messagebroker/kafka.go
10.18% <0.00%> (-31.34%)
:arrow_down:

Continue to review full report at Codecov.

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


Pushover different sound for up/down

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
Other
🔖 Feature description
I use Pushover to get push notifications on my phone. At the moment uptime-kuma lets to select a one of the built in pushover notification sound which is used for both up and down alerts. I’d like to be able to set a sound for down (eg. siren) and another for up (eg. bugle).
✔ Solution
I’d like to see two options in the Pushover notification sound settings. One for monitor down and another for monitor up.
In my example I’d set the siren notification sound for a down monitor. I’d know something has gone wrong when the siren sounds. But when the monitor is back up I’d get the bugle sound so I’d know the service the monitor is checking is back up.
❓ Alternatives
No response
📝 Additional Context
No response

I would also like to add onto this, Pushover added custom sounds in 2021 (source)and I would love to see the ability to use them here.

Yes, this would be hugely useful.

@SimplyAdam here is our contribution guide: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md

Came here looking for the same. Sometimes I get jolted awake by a notification when in reality it's just a host coming back online. Would be so nice to be able to set a calm sound for this "good" event vs. the "bad" ones.

I support this idea. However, if #508 is implemented we can make 2 Pushover alerts, one for up one for down, and use the existing features to set different sounds.

Ran into this issue as well for hosting coming back online with a "negative" sound rather than a resolving sound.
Adding #5426 for the option to select and up/down sound for consideration!


[ECO-5013][CHA-RL4] Flow based Event Emitter

Superseded by https://github.com/ably-labs/ably-chat-kotlin/pull/38

Closing, since this will be superseded by https://github.com/ably-labs/ably-chat-kotlin/pull/38


[WIP] fix plot_evaluation when skipping dimension, add test

Fix #1056 :

Fixed wrong indexing when a constant dimension is ignored
Added test for that case

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

In the file skopt/tests/test_plots.py:

Line 132:1: E302 expected 2 blank lines, found 1

Hello, for some reason this doesn't work with HistGradientBoostingClassifier, here is the code that raises a ValueError: too many values to unpack (expected 2):
from skopt import BayesSearchCV
from skopt.plots import plot_evaluations, plot_histogram, plot_objective, plot_convergence, plot_regret
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import StandardScaler
from sklearn.dummy import DummyClassifier
from sklearn.experimental import enable_hist_gradient_boosting
from sklearn.ensemble import HistGradientBoostingClassifier
from sklearn.datasets import load_iris

X, y = load_iris(return_X_y=True)

search_spaces = [
    {'clf': [HistGradientBoostingClassifier(random_state=42)],
     'clf__max_iter': [700, 1300, 2000],
     'clf__learning_rate': (1e-2, 0.3, 'uniform'),
     'clf__max_depth' : [15, 50, 90, None]
    }
]
pipe = Pipeline(
    steps=[('scaler', StandardScaler()),
           ('clf', DummyClassifier())])
searchcv = BayesSearchCV(
    pipe,
    search_spaces=search_spaces,
    n_iter=10,
    cv=5,
    scoring='f1_macro'
)

searchcv.fit(X, y)
plot_evaluations(searchcv.optimizer_results_[0])

Here is a collab notebook that produce the error.

@Abdelgha-4 generally speaking, when your classifier doesn't vary, you should define it in the pipeline instead of using DummyClassifierand leave it out of the hyper-parameter space.
I'll look into the second error.

I found the problem, it was the same as before: a wrong indexing causing problems when some dimensions are skipped (iscat[j] instead of iscat[index])

generally speaking, when your classifier doesn't vary, you should define it in the pipeline instead of using DummyClassifierand leave it out of the hyper-parameter space.

Yes I'm sorry this was only because I copied from my code where I use multiple classifiers.
Thank you for the fix and the test branch.


Doc: Fix an incorrect reference formating

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/assign @PBundyra


New package: SpinGlassExhaustive v0.1.52

Registering package: SpinGlassExhaustive
Repository: https://github.com/euro-hpc-pl/SpinGlassExhaustive.jl
Created by: @dkurzyk
Version: v0.1.52
Commit: d136fb02c5a3ab5731a865f2fc09cbb58e357e1c
Git reference: master

Duplicate of https://github.com/JuliaRegistries/General/pull/70582


certificate could not be verified during msix installation

This app package’s publisher certificate could not be verified.
Contact your system administrator or the app developer to obtain a new app package with verified certificates.
The root certificate and all immediate certificates of the signature in the app package must be verified (0x800B010A)

msix_config:
msix_config:
  display_name: appname
  publisher_display_name: sweet apps
  identity_name: xxxxxxxx (given valid identity name obtained from ms dev account)
  publisher: xxxxxxxxxx (given valid publisher obtained from ms dev account)
  store: true
  enable_at_startup: true
  capabilities: internetClient, musicLibrary
  certificate_path: C:\Users\xxx\Desktop\xxx\resources\win_certificates\certificate.pfx
  certificate_password: xxxxxxxxxxxxxxxx

certificate generated using openssl

@xenSlayer I have the same problem currently. How did you solve it?

so in my case, I was trying to sign the msix myself (which is not required) as microsoft store will sign the msix when you submit it. And the reason it showed that error was because I had to manually install the certificate that I used to sign the msix. ie. in my above code i install the C:\Users\xxx\Desktop\xxx\resources\win_certificates\certificate.pfx and it worked.


Add _parse_component for supply() and facilities()

A refactor to simply the logic in supply(), facilities(), moon_facilities(), research(), defense(), ships() to a single place.
If you accept this I'll convert research(), defense(), ships() in a follow up.
I tested this works

i didnt know you could dynamicly add variables to a class by simply calling self.dict its super cool
as per screenshot the class keeps its Supply.metal_mine calling afterwards what would make it possible to ditch the inheritance Model.
Yes its hard to parse Ships to ships because they dont share the same exact class. :(. As a Miner myself its my fingerprint. but its tricky because you need to know ships who can fly and those who dont like satellite and transporters.
can you give parce_component a bedder name. it souns so generic. Maby Parse Strucktures.
count could be levels levelsList

Done.

Just want to say i dont really like ToDo Comments because the normaly communicate to me a "dont do".
Now a Problem arosed when trying to work with your code. Because everything is dynamic now Pycharm fails to offer autocomplete. Is there a way to solve this. Most people using this lib are python beginners and will get frustrating by triying to write programms and the IDE fails to tell them if they made an spelling error.
print(empire.supply(empire.planet_ids()[0]).deuterium_storage.in_constructions)

this code start up fine until it gets to it.


python27: stop publishing wheel

We want to be able to use python3 features.
For users on DC/OS 1.8+: They should be using the binary CLI- so this should not affect them
For legacy users (DC/OS < 1.8): With this change, they will download the latest supported 2.7 version when following the UI instructions from their cluster.
For developers: python3 wheels for dcos and dcoscli packages will be published. If they want to use python2.7 they can still use the older 2.7 published wheels for this package.

LGTM. One minor comment.


Errors in code of PlotLayoutGraph

Running the toolbox in lower versions of MATLAB, e.g. R2018, there are two errors:
"Error using matlab.graphics.chart.primitive.GraphPlot/highlight>checkEdgesNodePair
s and t must both be numeric indices or both be cell arrays of character vectors."
"Error in matlab.graphics.chart.primitive.GraphPlot/highlight"
These errors relate to PlotLayoutGraph.m, lines 18 and 19. The code is available in Simplus-Grid-Tool-master+SimplusGT+Toolbox.
line 18: highlight(Figure,Data,'NodeFontSize',9);
line 19: highlight(Figure,Data,'NodeFontWeight','bold');
The causes for these errors are that in lower MATLAB versions, NodeFontSize and NodeFontWeigth are not available for the highlight() function.
So, by removing those options in lines 18 and 19, the errors disappear.

Thanks for observing these.


unclear about the OAuth option configuration

Hi, I am new to Parse-server, and I am just starting to develop a simple app and want my user can log in through Github.
The Thirty Party OAuth Configuration here is unclear; I do not know what keys I should put into the oauth config JSON:
{
    "oauth":
    {
        "github": {
        /* not clear */
        }
    }
}

In my Github registered application, I have a client id, client secret and I also configured a callback URL. I have experience in implementing an OAuth2, so I know these three are essential to an OAuth process, the problem for me now is how to give this information to parse-server correctly.
Let me know if I miss anything.

Setting { github: true } should do the trick.

Looks like @flovilmart answered the question, closing.
You may use Server Fault for questions about managing Parse Server.
For code-level and/or implementation-related questions or technical support, please refer to Stack Overflow.


1.1

Use the speed and memory optimized FftSharp (and remove NAudio dependency)
Improve performance by frequency-limiting FFT scaling and image translation
Simpler, more intuitive API

#11 instead


Add index arg to Index component view

Before:
Indexed {
    iterable: count,
    view: |ctx, x| view! { ctx,
        li { (x) }
    },
}

After:
Indexed {
    iterable: count,
    view: |ctx, x, idx| {
        let last = count.len() - 1;
        view! { ctx,
            li(class=if last == idx {"active"} else {""}) { (x) }
        }
    },
}

Motivation
It would be nice if index could be directly accessed in view function.
This way it would be easier to e.g. render last component differently or to add extra class to odd components, etc.

I believe that for Keyed, idx should be a Signal instead of just a raw usize because this would account for element inserting that would change the indexes.
It would also be nice to have a way to make this optional, so that first of all we don't create unnecessary allocations for the signal, and second of all so that it remains ergonomic for use cases where this is not required. Unfortunately, I don't think this is possible with type trickery, so we'll probably have to create separate components for this.
Perhaps one good reference would be the solidjs implementation (mentioned in the doc comment): https://github.com/solidjs/solid/blob/e7671349791bd239fbe20c54c266ae085a7f09f2/packages/solid/src/reactive/array.ts#L16
Since this increases the scope of this PR, don't feel pressured to work on it if you don't want to. If you do, just continue on this PR. If not, feel free to just close it and somebody else can work on it.


Optimize the error message of the thansaction output

Expected Behavior
BP and full nodes can fully understand what the transaction is, and they can know whether this transaction will succeed in the future if the transaction satus is "NOT_EXIST", and the lag of the refblock is bigger that 512
Development Tasks:

[ ] Set a the Error message to the output

For issue #3623

“bigger that 512”


Chartjs 1 - NEVER MERGE, keep opened

This is placeholder for https://github.com/jenkinsci/report-generic-chart-column-plugin/commit/42858e2b9629d639515ff9ce2e08d4904d820efc
Never merge to master, keep synced from master, and see redme: https://github.com/jenkinsci/report-generic-chart-column-plugin/blob/chartjs-1/README.md

LTS jenkins is now prototype-less. Closing


Do not override existing project files on init.

Example output of files already existing:
Critical Changes
Changes

Check is the project files already exist when running cci project init. If the files already exist, then display a message telling the user, and output the rendered file template.

Issues Closed

Issue #1325

Example output of files already existing:


First public release

/prepare-release major

/prepare-release major

/prepare-release major

/prepare-release major

/prepare-release major

/prepare-release major

/prepare-release major

/prepare-release major

/prepare-release major


code coverage button links to a 404

https://sonarcloud.io/component_measures/metric/coverage/list?id=gdcc_xoai is a 404.

Fixed!


[Feature] Show component health status in graph view

Is your feature request related to a problem? Please describe.
Need component health status in Graph view
Describe the solution you'd like
Display Healthy status in graph view of the components in addition to the Overview tab (Green dots)
Describe alternatives you've considered
Use Overview tab
Additional context

Oops may be duplicate of https://github.com/kubevela/velaux/issues/536

Closing, it's dup with https://github.com/kubevela/velaux/issues/536, and please refer to https://github.com/kubevela/velaux/pull/615


Trying to edit /etc/nginx/nginx.conf

I am running nginx-proxy with static react web-app but can't get the router working. I get 404.
So I figured I need to redirect every route to the index.html in the nginx configuration.
this is what I added to try to make it work with html5 router (to redirect to index.html)
but still can't work it..
server {        location / {                     try_files $uri $uri/ /index.html; }
Am I missing something? the way of configuring nginx-proxy, etc?

I have the same case with you,please help me how to solve this problem,thank you very much!

@GodLikeZeal that was so long ago, took me a minute but there ya go.
https://romaincauquil.fr/code/2017/06/02/react-router-nginx-docker/
you can find out more in #836

@GodLikeZeal that was so long ago, took me a minute but there ya go.
https://romaincauquil.fr/code/2017/06/02/react-router-nginx-docker/
you can find out more in #836

wow!thank you very much


securitymonkeyworkers is not running

Hello Team,
I have configured security monkey and started supervisor for all UI, scheduler, and worker, Scheduler and UI is started running but worker went to FATAL state and its not starting if i try to start.
security_monkey]# supervisorctl
securitymonkeyscheduler          RUNNING   pid 19966, uptime 0:52:24
securitymonkeyui                 RUNNING   pid 14588, uptime 2:34:14
securitymonkeyworkers            FATAL     Exited too quickly (process log may have details)
supervisor>

Can you please help out how can i fix this problem.

i wants to know the supervisor configuration for watcher. Why exactly we are using "startsecs=60", if we reduced it to somewhere around 3 will it be ok?.
Is it worker needs 60sec to stay on running state?
and what it dose in the 60sec?
can you please give me the brief explanation about worker and what it dose.
Thanks in advance, and your answers are highly appreciated.

Hello:
You will need to review the logs for error output for context as to the error being experienced.
The 60 second wait is to ensure that all the dependent services are running. Please review Quickstart guide and troubleshooting docs for more details.

For me this was due to the ownership of the logs directory.
Executing the following worked:
(venv) root@securitymonkey:/usr/local/src/security_monkey# supervisorctl status
securitymonkeyui                 STARTING
securitymonkeyworkers            FATAL     Exited too quickly (process log may have details)

chown -R www-data:www-data /var/log/security_monkey/
supervisorctl restart all
(venv) root@securitymonkey:/usr/local/src/security_monkey# supervisorctl restart all
securitymonkeyui: stopped
securitymonkeyui: started
securitymonkeyworkers: started

UI and worker shouldn't be on the same server.
I had the same problem. it is either UI or worker on each server.


Update to SwiftLint 0.50.3

Hello Danger-Swiftlint Team :)
If you had time to update to SwiftLint 0.50.3 (released this Dec 9, 2022) it would be great !
I see the 0.50.0 update here #188
Is it easier if I propose a PR, or you can do it yourself ?

A PR would be welcome, thank you. I honestly haven’t had the time / energy to invest in this project lately.

Thanks for the quick reply Ash. Will do !

Done #192


Return errors in CSV responses

Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated
[x] Sign CLA (if not already signed)

Previously, errors that happen when asking for CSV responses would be eaten; a 400 response would be sent back, but the body would be blank without any details returned to the caller. This modifies the writer to return an error if one occurred. For example:
$ curl -s localhost:8086/query --data-urlencode db=influx_test_db --data-urlencode "q=select * from h2o_quality limit wut" -H Accept:'text/csv'
error
"error parsing query: found wut, expected integer at line 1, char 33"

Can you rebase this and put this as a bugfix for 1.3? Thanks.

Also feel free to give yourself some credit in the changelog. Something like "Thanks ." You can see other examples in the changelog.

Ping.

@connor4312 I'm going to rebase your change for you so this can be merged. I hope that's OK. Thank you for your contribution.

Sure. Sorry for the lack of followup. Let me know if you'd like me to do anything further here.

No problem! All merged now. Whenever we do a 1.4, it will be included.

Awesome, thanks!


does not work in Firefox

The recording works fine in Chrome / Edge Chromium, but not in Firefox.
In Firefox only a second or two are recorded. then the recording ends suddenly.
Recording for longer will create a larger blob size, but the audio will still be short.
~This might be related to the audio codec, which is specified as 'audio/ogg; codecs=opus'; ?~
maybe it's an issue with the way Filereader works?

could not reproduce it after restarting my computer. Maybe there were other tabs / browsers using the WebAudio API. Closing this issue.


pull request for e2e test at 12/16/2016 22:26:19

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Introduce a GitHub workflow to build and test ORT

Please ensure that your pull request adheres to our contribution guidelines. Thank you!

@oss-review-toolkit/core-devs I propose to merge this to again get some CI-confidence, even if all funTests still fail due to tools not being installed yet. This can be improved later.


Update the docs: 'Distributed tracing'

related issue: #170

with the updates, new docs are added.
url: https://azure.github.io/azure-sdk/distributed_tracing_conventions.html

Thank you and I agree that you will work with translating additional docs you added through another PR.


Generating report ignores selected filters for findings

Bug description
Trying to produce product type report using filters in HTML format. Filters woks, vulnerabilities showed are correct in the table below. When you try to print HTML report, all vulnerabilities are inserted into without using setted filters. ASCII doc works well.
Steps to reproduce
Steps to reproduce the behavior:

Insert Product Type
Insert Product
Insert Engagement and vulnerabilities.
Open all products type.
Click on product report.
Apply filters (Active:yes , Duplicate: no)

Expected behavior
PDF should contains same vulnerabilities filtered in table list
Deployment method (select with an X)

[X] Docker Compose
[ ] Kubernetes
[ ] GoDojo

Environment information

DefectDojo version 2.6.2

Logs
No logs

Can you explain the exact steps taken? When I try your steps, it already goes wrong when generating the report. Both HTML and ASCIIDOC do not apply the filters and show all findings.

Open all products type.
Select 1 product type and click on 3 dot
Click on product type report.
Apply filters (Active:yes , Duplicate: no)
Table below is filled correctly
Click on "Generate Report"
Report contains all vulnerabilities for these type of product

Thank you @EdoardoLunghi, good find.
merged for release 2.7.0


Apply multifilter to multiple containerEl's

Is there a way to pass multiple container elements to the same multifilter mixer? I need to sort two kinds of data, but the exact same way. Something like the following?
var mixer = mixitup([containerEl1, containerEl2], {
    multifilter: {
        enable: true // enable the multifilter extension for the mixer
    }
});

I'm trying to get all the "Profiled Projects", or colored ones, to show up first in the list of projects here: humanitiesforall.org. But I need to randomize the projects on page load, hence the need for two container elements.
Thank you!

Hi Luke,
You can create multiple mixers in a document by instantiating them one at a time.
If you wanted to control all instances with a single set of controls, you can use the default "global" control scoping:
https://demos.kunkalabs.com/mixitup/multiple-instances-global-control-scoping/
If you want each instance to be controlled individually, you would need to set the control scoping to "local", as seen in this demo.
https://demos.kunkalabs.com/mixitup/multiple-instances-local-control-scoping/
In order to share configuration between instances, you can first create a single configuration object, with your multifilter setup, and then pass it to the mixitup factory function each time you call it.
I hope that helps.


chore(graphql): lint fix for default value transformer

Fix lint issues on default value transformer.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@9422605). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #668   +/-   ##
=======================================
  Coverage        ?   63.14%
=======================================
  Files           ?      278
  Lines           ?    18122
  Branches        ?     4376
=======================================
  Hits            ?    11444
  Misses          ?     6091
  Partials        ?      587

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


use go list so make test works on OSX

go list doesn't seem to find platform/kubernetes/testdata, which has tests to run.

It is .. quite strange .. there's nothing about that package that makes it special, except that it's only imported by other test files. I thought the build flag -tags 'test' might help, but doesn't appear to.

https://github.com/golang/go/issues/14715#issuecomment-193924969

Directory and file names that begin with "." or "_" are ignored
by the go tool, as are directories named "testdata".


Added parameters for "fr"

Thanks for adding this! Let's merge and we'll update for optimal parameters :)


Adds home screen search widget

Plaid already supports shortcuts for search
and for creating a designer story  but it is
only available on Android 7.1
Adding a Widget on the home screen is a good
enough backport for older Android versions

@nickbutcher I added a search widget. Let me know what do you think. Thanks!

@nickbutcher also, Do you know how to force the widget title to show up on the home screen? Right now I have a TextView showing the textSearch and the drawable but I feel that there should be an API to make the system pick the receiver label or the appwidget-provider property `label. It seems the receiver title shows up fine on the widget list but not on the home screen.

Maybe I am missing something but I can clearly

see that the TextView style is completely different.


Fuzzer integration

This PR integrates a standalone fuzzing environment as well as a preparation for Google's OSS-FUZZ project.

Great work! Thanks for this change Felix.


[Feature Request] Auto capitalize sentences

Hi,
Thank you for the great plugin!
I would like Various Complements to capitalize the first letter of the sentences as I'm writing. Thank you in advance for your consideration.

Hi, @Drakemoor :)
I see. But let me set the status of this issue as "gathering interest". This is because the function always assumes that it will complete the first word of the sentence.

Thank you!

Would be great if this feature can be toggled on and off. Understand this is disruptive for code snippets, but is very useful for notetaking.

This would be a fantastic feature. It would make typing streams of consciousness easier. Many other phone app versions like Notes, Word, OneNote, etcetera, have it. Never knew I needed it before I lost it in a new note taking app.

Thank you for all the reactions and comments. I now understand that this feature is needed by English-writing users, so I will consider implementing it 👍


Meshoptimizer Update: Restrict edge collapses to avoid triangle flipping

@reduz

[x] Feel free to change my pr to put it in the proper patch format.
[x] Marked as draft because it has not finished the proper thirdparty work.
[x] Missing proper attribution in the commit message.

https://github.com/zeux/meshoptimizer/commit/e4e43fe36e7a8705e602e7ca2f9fb795ded1d0b9
Fixes only one out of the two of: https://github.com/godotengine/godot/issues/44551

AUTOLOD+Project.zip
Test project.

Needs an update since https://github.com/zeux/meshoptimizer/pull/211 is merged.

So what's the actual provenance of this code? Does it still have Godot specific modifications? Are those still needed after upstream changes?

It still has mods. I don’t know how to to generate a patch.
On Dec 30, 2020, at 12:36 AM, Rémi Verschelde<EMAIL_ADDRESS>wrote:

So what's the actual provenance of this code? Does it still have Godot specific modifications? Are those still needed after upstream changes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Backup the file.
Copy upstream code in place of our version, git add it.
Copy backed up modified file in place of upstream version, git diff > patch.

@akien-mga The upstream updated and all mods were removed.

Well let's merge I'll do documentation fixes at some point in the future.

Thanks!


use bibtex in plot_simulated_raw_data_using_subject_anatomy.py

convert references in examples/simulation/plot_simulated_raw_data_using_subject_anatomy.py to use footcite / footbibliography

@matteanelli and I will work on this

closed in https://github.com/mne-tools/mne-python/pull/9053


Vision filter using MHT with IMM KF

Halfway following this paper about doing an MHT with tracks being able to have multiple models representing different dynamics "states". The idea is that at the very least the ball will have rolling or sliding friction which we can swap between. Hopefully, we can have multiple other models representing kicks at different speeds to more quickly react to that. I was also thinking of having a model represent just a simple bounce off a robot. With the IMM, we need some probability transition matrix representing how likely it is to move from one mode to another. This can be a function in time such that we can increase probability of kick modes when the ball is near robots.
Each camera will have a MHT for each object (ball + 32 robots). The best of each will get merged using something from this paper describing how good the tracks are for each camera for that object. The merged best tracks will then be output at some interval.
Closing #16

Gotta do some end to end testing at when I get back home, but other than that and some code cleanup, this should be good to go

I'm out of town so I can't do the final test to make sure the refactor didn't break anything, but this should be good to review. I've been telling a robot to move around the field using the sim robot control piece, and viewing the output state info from the pub sub topic.
For now this should be good enough to make some progress. The params haven't been tuned much at all so there is quite a bit there as possible improvements. Additionally, new tracks only use the track position, but not the current best estimate velocity + accel. Should be a straight forward change in the future if it causes issue.

Test looks pretty solid. I removed the some of the extra models since trying to tune everything was a little difficult just using topic echos and stuff. Each IMM is just essentially a kalman filter now.
All good to merge

Gonna merge this in so main is basically fully featured out of the box. Very much open to fixing things up if there are any comments later.


<!-- Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots!
Happy contributing!
-->

What da heck was this, hub pull-request did some weird things there

Yeah and somehow a comment from me showed up. 🤔

🤷♂


Consider using fs2-io for laika-io

Just a suggestion :)
The fs2-io module provides Files[F] for dealing with file I/O: https://github.com/typelevel/fs2/blob/main/io/shared/src/main/scala/fs2/io/file/Files.scala
IMHO it's worth considering for two reasons:

I took a quick look through your sources and I think there's a few places where you should be using Sync.blocking instead of Sync.delay b/c otherwise you are running blocking I/O on the CE3 primary threadpool which can lead to starvation etc. and other sorts of problems. If it's helpful I can try and find a reference about this. If you use fs2, this is all handled correctly for you.
fs2-io actually lets you cross-compile your code to Scala.js and run on Node.js. This is interesting, if you want to make a command-line version of Laika because Node.js has much faster startup time (essentially instant) than JVM.

Closing this now as superseded by #281 which is the new umbrella ticket for tracking all PRs of this migration.
Thanks for the initial nudge! It looks like this is going to be a significant improvement.


ScalaGen emitControlObject Mistake

See SingleLayerConv_RCIO for an example.  The ifThenElse node thinks that things defined inside of its scope are inputs to the kernel.  I think it has something to do with binds not looking beyond the first layer?
    val ins    = func.flatMap(_.nestedInputs)
    val binds  = lhs.op.map{d => d.binds ++ d.blocks.map(_.result) }.getOrElse(Set.empty).toSeq
    val inputs = (lhs.op.map{_.inputs}.getOrElse(Nil) ++ ins).filterNot(_.isMem).distinct diff binds

The culprit here was the SeriesForeach and Array[Map,Reduce,etc.] methods, none of which had the op binds fields properly defined.

Fixed in e3d38a38ac9b7885f4c3e40026119acb3672753a


Digit styles inner content

Hey! I'm trying to reduce the space between the Separator and the Digit Style, but the space is measured by the font size as the following code:
renderDigit = (d) => {
const {digitStyle, digitTxtStyle, size} = this.props;
return (
<View style={[
styles.digitCont,
digitStyle,
{width: size * 2.3, height: size * 2.6},
]}>
<Text style={[
styles.digitTxt,
{fontSize: size},
digitTxtStyle,
]}>
{d}

);
};
Is there someway to change this to have more control over the component size by padding or something like this?

I think this is enough property {size={SCREEN_HEIGHT / 40}}
,If more than that,copy the library js file and edit it.

@lucasfalcaojump upgrade the component to the latest version, and you will be able to override the digit cont style

Not able to override the width and height.


[Bug]: No module named 'testbed_utils' (GAIA MultiAgent v0.1)

Describe the bug
Hello, I'm trying to get the recently published MultiAgent workflow to run, but the readme is sparse, and I'm having issues importing some module named 'testbed_utils', which I presume to be some custom module.
When running scenario.py, iI get this error back:
ModuleNotFoundError: No module named 'testbed_utils'
I have installed the requirements included but this module is not listed.
Steps to reproduce

clone Multi Agent workflow (see link in desc)
create venv with python==3.10 (i'm using conda)
install requirements.txt
run python scenario.py

Model Used
No response
Expected Behavior
Agents workflow should be run (based on prompt.txt)
Screenshots and logs
No response
Additional Information
Windows 11
pyautogen==0.2.17
Python 3.10.13

Thanks,
So that's our GAIA entry, and it expects to run in the AutoGenBench environment. From memory, I think the fastest way to get up and running is:
git clone git@github.com:microsoft/autogen.git
git checkout gaia_multiagent_v01_march_1st
cd autogen/samples/tools/autogenbench
install -e .
cd scenarios/GAIA
python Scripts/init_tasks.py
autogenbench run Tasks/gaia_validation_level_1__Orchestrator.jsonl

Line 1-2 clone the repo and select the right branch
Line 3-4 navigates to autogenbench and installs it
lines 5-6 navigate to the GAIA scenario and initialize the tasks (download them from Huggingface and convert to our format)
Line 7 runs the benchmark.
AutoeGenBench requires Docker to be running.
Now, if you are just trying to use this agent configuration for some other problem, and have no interest in running GAIA,  I advise you to still do steps 1-2 (because the template depends on a version of autogen that diverges from main), and install it. Then you can find the testbed_utils file here: https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/template/testbed_utils.py
Or, just delete reference to it -- testbed utils isn't needed for anything except logging.
Finally, you will need to run this in an appropriate environment. The Dockerfile we use is:
https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/res/Dockerfile
If you don't use Docker, then install the following requirements:
pip install python-docx pdfminer.six requests pillow easyocr python-pptx SpeechRecognition pandas openpyxl pydub mammoth puremagic youtube_transcript_api==0.6.0 mammoth puremagic

And install the following command line tools
sudo apt-get install ffmpeg exiftool

I should probably add all this to the readme :)
Our plan is to do some ablation studies, and once we know which components are truly necessary for this entry, we can simplify all this and ship a more turnkey solution.

Let me just echo this point again:  Once we've had a chance to do some ablation studies, we will simplify the installation process, and likely merge some components into main for general use. At present, this is all still very experimental.

Thank you for the thorough walkthrough!
It's not a problem that it's experimental, I'm just looking into this for research purposes, not production. Still looking forward to your refined version, once that's ready!
I'm going to try the steps you provided for general use and come back to you with any further issues.

As i run install -e . in the specified directory, I'm prompted to specifiy the location of a zip file named nvm-windows:
(gaiaagent) C:\Users\sbene\Projects\AutoGen-tests\gaia_multiagent_v1\autogen\samples\tools\autogenbench>install -e .
Enter the absolute path where the nvm-windows zip file is extracted/copied to:

Does this refer to a version nvm-windows found here?

I'm facing an issue where the web_surfer agent seems unable to perform queries to bing web search. It claims "I'm going to search for X now ...", but when the orchestrator asks for a summary, it says it didn't perform a query yet, and this happens in a loop.
I'm sure my API key isn't the problem, I've verified that.
Any ideas on what could be problem here?
...
{
    "content": "Start by researching hallucination detection methods for Large Language Models. Look for academic papers, articles, and books about artificial intelligence and machine learning that discuss this topic. Summarize the findings and provide the sources for reference.",
    "name": "orchestrator",
    "role": "assistant"
},
{
    "content": "Sure, I will start by searching for academic papers and articles on \"hallucination detection methods for Large Language Models\".",
    "name": "web_surfer",
    "role": "assistant"
},
{
    "content": "Please provide a summary of your findings on hallucination detection methods for Large Language Models, along with the sources you used for your research.",
    "name": "orchestrator",
    "role": "assistant"
},
{
    "content": "I apologize for the confusion, but I need to perform the search first. Let's start by searching for \"hallucination detection methods for Large Language Models\" in academic databases and scholarly articles.",
    "name": "web_surfer",
    "role": "assistant"
},
{
    "content": "Please provide a summary of your findings on hallucination detection methods for Large Language Models, along with the sources you used for your research.",
    "name": "orchestrator",
    "role": "assistant"
},
{
    "content": "I apologize for the confusion earlier. Let's start by searching for \"hallucination detection methods for Large Language Models\" in academic databases and scholarly articles.",
    "name": "web_surfer",
    "role": "assistant"
},
...

That is weird. Can you share the console_log. It has more info.

I am stuck:
ModuleNotFoundError: No module named 'autogen.mdconvert'

I am stuck: ModuleNotFoundError: No module named 'autogen.mdconvert'

mdconvert is a file that only exists in the gaia branch. Can you please provide more details about how you've set things up?

I just duplicate the file into scope. Now it all works.
I can see that the code is very oriented to run the tasks in that jsonl format. I am going to get rid of the "FILE_NAME" thingy. Is there any considerations to auto-select witch template (BasicTwoAgents,BasicTwoAgentsFunctionCalling,Orchestrator,SocietyOfMind) is most appropriate for what task? When running the GAIA benchmark, did you pick the best result out of each template? how was this handled? How much did it cost to run the whole thing 😵💫 ?
so many questions haha perhaps I can catch you in the next Discord Autogen call :P

Let me just echo this point again: Once we've had a chance to do some ablation studies, we will simplify the installation process, and likely merge some components into main for general use. At present, this is all still very experimental.
Waiting eagerly

Thanks,
So that's our GAIA entry, and it expects to run in the AutoGenBench environment. From memory, I think the fastest way to get up and running is:
git clone git@github.com:microsoft/autogen.git
git checkout gaia_multiagent_v01_march_1st
cd autogen/samples/tools/autogenbench
install -e .
cd scenarios/GAIA
python Scripts/init_tasks.py
autogenbench run Tasks/gaia_validation_level_1__Orchestrator.jsonl

Line 1-2 clone the repo and select the right branch Line 3-4 navigates to autogenbench and installs it lines 5-6 navigate to the GAIA scenario and initialize the tasks (download them from Huggingface and convert to our format) Line 7 runs the benchmark.
AutoGenBench requires Docker to be running.
Now, if you are just trying to use this agent configuration for some other problem, and have no interest in running GAIA, I advise you to still do steps 1-2 (because the template depends on a version of autogen that diverges from main), and install it. Then you can find the testbed_utils file here: https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/template/testbed_utils.py
Or, just delete reference to it -- testbed utils isn't needed for anything except logging.
Finally, you will need to run this in an appropriate environment. The Dockerfile we use is: https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/res/Dockerfile
If you don't use Docker, then install the following requirements:
pip install python-docx pdfminer.six requests pillow easyocr python-pptx SpeechRecognition pandas openpyxl pydub mammoth puremagic youtube_transcript_api==0.6.0 mammoth puremagic

And install the following command line tools
sudo apt-get install ffmpeg exiftool

I should probably add all this to the readme :)
Our plan is to do some ablation studies, and once we know which components are truly necessary for this entry, we can simplify all this and ship a more turnkey solution.
Oh, and I nearly forgot! Your OAI_CONFIG_LIST should look like this:
[
    {
        "model": "gpt-4-turbo-preview",
        "api_key": "REDACTED",
        "tags": ["llm"],
        "organization": "REDACTED",
        "max_retries": 65535
    },
    {
        "model": "gpt-4-vision-preview",
        "api_key": "REDACTED",
        "tags": ["mlm"],
        "max_tokens": 1000,
        "organization": "REDACTED",
        "max_retries": 65535
    }
]

Note the vision model has tag "mlm", and the language model has tag "llm".
You will also need a Bing API key for web surfer. It reads this key from the OS environment variable "BING_API_KEY"

@afourney What should I do next? I was guessing running the collate_results.py under Scripts, but it couldn't capture the answers:
(base) zhanwen@mini:~/.../scenarios/GAIA$ python Scripts/collate_results.py Results
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "27d5d136-8563-469e-92bf-fd103c28b57c",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "ec09fa32-d03f-4bf8-84b0-1f16922c3ae4",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "2d83110e-a098-4ebb-9987-066c06fa42d0",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "cffe0e32-c9a6-4c52-9877-78ceb4aaa9fb",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "42576abe-0deb-4869-8c63-225c2d75a95a",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "cca530fc-4052-43b2-b130-b30968d8aa44",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "72e110e7-464c-453c-a309-90a95aed6538",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "8e867cd7-cff9-4e6c-867a-ff5ddc2550be",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "46719c30-f4c3-4cad-be07-d5cb21eee6bb",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "4b6bb5f7-f634-410e-815d-e673ab7f8632",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "dc28cf18-6431-458b-83ef-64b3ce566c10",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "5d0080cb-90d7-4712-bc33-848150e917d3",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "b415aba4-4b68-4fc6-9b89-2c812e55a3e1",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "e1fc63a2-da7a-432f-be78-7c4a95598703",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "a1e91b78-d3d8-4675-bb8d-62741b4b68a6",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "5cfb274c-0207-4aa7-9575-6ac0bd95d9b2",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}
{
    "task_id": "gaia_validation_level_1__Orchestrator",
    "trial": "b816bfce-3d80-4913-a07d-69b752ce6377",
    "question": null,
    "is_correct": false,
    "model_answer": "",
    "expected_answer": "NOT PROVIDED !#!#",
    "reasoning_trace": []
}

Thanks,
So that's our GAIA entry, and it expects to run in the AutoGenBench environment. From memory, I think the fastest way to get up and running is:
git clone git@github.com:microsoft/autogen.git
git checkout gaia_multiagent_v01_march_1st
cd autogen/samples/tools/autogenbench
install -e .
cd scenarios/GAIA
python Scripts/init_tasks.py
autogenbench run Tasks/gaia_validation_level_1__Orchestrator.jsonl

Line 1-2 clone the repo and select the right branch Line 3-4 navigates to autogenbench and installs it lines 5-6 navigate to the GAIA scenario and initialize the tasks (download them from Huggingface and convert to our format) Line 7 runs the benchmark.
AutoGenBench requires Docker to be running.
Now, if you are just trying to use this agent configuration for some other problem, and have no interest in running GAIA, I advise you to still do steps 1-2 (because the template depends on a version of autogen that diverges from main), and install it. Then you can find the testbed_utils file here: https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/template/testbed_utils.py
Or, just delete reference to it -- testbed utils isn't needed for anything except logging.
Finally, you will need to run this in an appropriate environment. The Dockerfile we use is: https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/res/Dockerfile
If you don't use Docker, then install the following requirements:
pip install python-docx pdfminer.six requests pillow easyocr python-pptx SpeechRecognition pandas openpyxl pydub mammoth puremagic youtube_transcript_api==0.6.0 mammoth puremagic

And install the following command line tools
sudo apt-get install ffmpeg exiftool

I should probably add all this to the readme :)
Our plan is to do some ablation studies, and once we know which components are truly necessary for this entry, we can simplify all this and ship a more turnkey solution.
Oh, and I nearly forgot! Your OAI_CONFIG_LIST should look like this:
[
    {
        "model": "gpt-4-turbo-preview",
        "api_key": "REDACTED",
        "tags": ["llm"],
        "organization": "REDACTED",
        "max_retries": 65535
    },
    {
        "model": "gpt-4-vision-preview",
        "api_key": "REDACTED",
        "tags": ["mlm"],
        "max_tokens": 1000,
        "organization": "REDACTED",
        "max_retries": 65535
    }
]

Note the vision model has tag "mlm", and the language model has tag "llm".
You will also need a Bing API key for web surfer. It reads this key from the OS environment variable "BING_API_KEY"

Hi @afourney ! I followed these steps and created a docker image from the docker file, but stuck at this line: https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/run_cmd.py#L487 with the following issues:
`===================================================================
sh: 0: cannot open run.sh: No such file
Running scenario Results/gaia_validation_level_1__Orchestrator/5a0c1adf-205e-4841-a666-7c3ef95def9d/0
Mounting:
[RW]	'Results/gaia_validation_level_1__Orchestrator/5a0c1adf-205e-4841-a666-7c3ef95def9d/0' => '/workspace'
[RW]	'/data/xliu127/projects/security/vulnerability/nday/autogen' => '/autogen'
`
Any chance you know how to solve this? Could you possibly upload your docker image? Thanks in advance 🙏


Rows Per Page All option

Is there a way to add the All rows option the Rows Per Page dropdown?
Expected Behavior
In the Rows per Page dropdown, have an All option that will display all rows in the table
Current Behavior
Rows per Page only allows numbers in the array and, even thought you can add a very big number, the All option is more understandable on what is going to be displayed
Your Environment

Tech
Version

Material-UI
4.11.1

MUI-datatables
3.7.7

React
17.0.5

browser
Firefox, Chrome, Chromium Edge

etc

If it's okay with @gregnb, I can try to work on this


v0.25.1 // Cannot log in with standard or LDAP auth, debug not showing up...

Describe the bug
A user reported that they could not log in, I was logged in and was able to view the site fine. I logged out and am now unable to log back in; I'm simply given a message stating, An unknown error occurred, return to home.
I set AUTH_METHOD=standard in my .env and attempted to log in using the local account but was presented with the same message.
I then ran php artisan bookstack:create-admin to create a new account, which reportedly succeeded, but I'm getting the same message with this new account as well.
I set APP_DEBUG=true in my .env and refreshed the page, but the debug bar did not show.
Screenshots

Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): v0.25.1
PHP Version: PHP 7.2.10-0ubuntu<IP_ADDRESS>
Hosting Method (Nginx/Apache/Docker): Apache/2.4.29 (Ubuntu)

Additional context
This is one of two servers in the environment, the other seems to be working fine on the same version.

@ssddanbrown - interesting, seems my .env file is being ignored because changing the AUTH_METHOD doesn't reflect a change to the login screen. Any ideas?
There are a few .env files in my bookstack dir;
docs@docs:~$ ll /var/www/docs/synergy/.env*
-rw-r--r-- 1 root root 2.8K Feb  4 13:19 /var/www/docs/synergy/.env
-rw-r--r-- 1 root root 2.2K Aug 18 01:50 /var/www/docs/synergy/.env.bak
-rw-r--r-- 1 root root  832 Jan 27 16:26 /var/www/docs/synergy/.env.example
-rw-r--r-- 1 root root 5.9K Jan 27 16:26 /var/www/docs/synergy/.env.example.complete
-rw-r--r-- 1 root root 2.3K Aug 18 02:18 /var/www/docs/synergy/.env.orig
-rw-r--r-- 1 root root 2.9K Aug 21 07:49 /var/www/docs/synergy/.env.save

@derek-shnosh Hmm, Could possibly be the application cache.
You could try running:
php artisan config:clear
php artisan cache:clear

in the BookStack dir, See if that clears things

I was previously running through a reverse proxy (even internally) but I've disabled that to troubleshoot/validate; also because I kept getting redirected back to its https URL (https://docs.domain.com) when accessing the local host name (http://docs.domain.local)... even after changing the APP_URL to the local host name.
Now, whether the .env files exist in the root directory or not, I get nothing when I try to go to http://docs.domain.local. I ran NMAP against the host and found this interesting;
80/tcp open  http    Apache httpd 2.4.29 ((Ubuntu))
|_http-favicon: Unknown favicon MD5: 6BAC7072BF030919907A5EF054363469
| http-methods:
|_  Supported Methods: GET HEAD OPTIONS
| http-robots.txt: 1 disallowed entry
|_/
|_http-server-header: Apache/2.4.29 (Ubuntu)
|_http-title: Did not follow redirect to https://docs.domain.com/login

That last line Did not follow redirect to https://docs.domain.com/login (actual TLD ommitted) is weird. I checked my apache2 config (/etc/apache2/sites-enabled/docs-synergy.conf) file and there is no redirect configured there.
<VirtualHost *:80>
        ServerName docs.synergy.local

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/docs/synergy/public/

    <Directory /var/www/docs/synergy/public/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
        <IfModule mod_rewrite.c>
            <IfModule mod_negotiation.c>
                Options -MultiViews -Indexes
            </IfModule>

            RewriteEngine On

            # Handle Authorization Header
            RewriteCond %{HTTP:Authorization} .
            RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

            # Redirect Trailing Slashes If Not A Folder...
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{REQUEST_URI} (.+)/$
            RewriteRule ^ %1 [L,R=301]

            # Handle Front Controller...
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^ index.php [L]
        </IfModule>
    </Directory>

        ErrorLog /error.log
        CustomLog /access.log combined

</VirtualHost>

I was previously running through a reverse proxy (even internally) but I've disabled that to troubleshoot/validate; also because I kept getting redirected back to its https URL (https://docs.domain.com) when accessing the local host name (http://docs.domain.local)... even after changing the APP_URL to the local host name.
Now, whether the .env files exist in the root directory or not, I get nothing when I try to go to http://docs.domain.local. I ran NMAP against the host (before and after moving .env files) and found this interesting;
80/tcp open  http    Apache httpd 2.4.29 ((Ubuntu))
|_http-favicon: Unknown favicon MD5: <omitted>
| http-methods:
|_  Supported Methods: GET HEAD OPTIONS
| http-robots.txt: 1 disallowed entry
|_/
|_http-server-header: Apache/2.4.29 (Ubuntu)
|_http-title: Did not follow redirect to https://docs.domain.com/login

That last line Did not follow redirect to https://docs.domain.com/login (actual TLD omitted) is weird. I checked my apache2 config (/etc/apache2/sites-enabled/docs-synergy.conf) file and there is no redirect configured there.
<VirtualHost *:80>
        ServerName docs.synergy.local

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/docs/synergy/public/

    <Directory /var/www/docs/synergy/public/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
        <IfModule mod_rewrite.c>
            <IfModule mod_negotiation.c>
                Options -MultiViews -Indexes
            </IfModule>

            RewriteEngine On

            # Handle Authorization Header
            RewriteCond %{HTTP:Authorization} .
            RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

            # Redirect Trailing Slashes If Not A Folder...
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{REQUEST_URI} (.+)/$
            RewriteRule ^ %1 [L,R=301]

            # Handle Front Controller...
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^ index.php [L]
        </IfModule>
    </Directory>

        ErrorLog /error.log
        CustomLog /access.log combined

</VirtualHost>

@ssddanbrown I was previously running through a reverse proxy (even internally) but I've disabled that to troubleshoot/validate; also because I kept getting redirected back to its https URL (https://docs.domain.com) when accessing the local host name (http://docs.domain.local)... even after changing the APP_URL to the local host name.
Now, whether the .env files exist in the root directory or not, I get nothing when I try to go to http://docs.domain.local. I ran NMAP against the host (before and after moving .env files) and found this interesting;
80/tcp open  http    Apache httpd 2.4.29 ((Ubuntu))
|_http-favicon: Unknown favicon MD5: <omitted>
| http-methods:
|_  Supported Methods: GET HEAD OPTIONS
| http-robots.txt: 1 disallowed entry
|_/
|_http-server-header: Apache/2.4.29 (Ubuntu)
|_http-title: Did not follow redirect to https://docs.domain.com/login

That last line Did not follow redirect to https://docs.domain.com/login (actual TLD omitted) is weird. I checked my apache2 config (/etc/apache2/sites-enabled/docs-synergy.conf) file and there is no redirect configured there.
<VirtualHost *:80>
        ServerName docs.synergy.local

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/docs/synergy/public/

    <Directory /var/www/docs/synergy/public/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
        <IfModule mod_rewrite.c>
            <IfModule mod_negotiation.c>
                Options -MultiViews -Indexes
            </IfModule>

            RewriteEngine On

            # Handle Authorization Header
            RewriteCond %{HTTP:Authorization} .
            RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

            # Redirect Trailing Slashes If Not A Folder...
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{REQUEST_URI} (.+)/$
            RewriteRule ^ %1 [L,R=301]

            # Handle Front Controller...
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^ index.php [L]
        </IfModule>
    </Directory>

        ErrorLog /error.log
        CustomLog /access.log combined

</VirtualHost>

@derek-shnosh Pretty sure that redirect is performed by BookStack since it's to the /login page. I get the same on my local dev instance (Requesting bookstack.local, but bookstack currently configured for bookstackdev.com, both domains point to same place, BookStack redirecting based on APP_URL):
dan@desktop:~|⇒  nmap --script http-title bookstack.local

Starting Nmap 7.60 ( https://nmap.org ) at 2019-02-04 22:01 GMT
Nmap scan report for bookstack.local (<IP_ADDRESS>)
Host is up (0.000063s latency).
rDNS record for <IP_ADDRESS>: localhost
Not shown: 996 closed ports
PORT     STATE SERVICE
80/tcp   open  http
|_http-title: Did not follow redirect to http://bookstackdev.com/login
631/tcp  open  ipp
|_http-title: Bad Request - CUPS v2.2.8
3306/tcp open  mysql
8080/tcp open  http-proxy
|_http-title: Welcome to nginx!

Is the redirect URL, that nmap does not follow, the one you expect bookstack to be on?

It seems that bookstack is completely ignoring my .env file as you previously suspected.
My APP_URL is currently configured to http://docs.synergy.local, which is the server the site is hosted on. So if anything it should just redirect to http://docs.synergy.local/login.
I manually entered that http URL and am presented with a broken site; i.e. huge fonts/symbols.

@ssddanbrown It seems that bookstack is completely ignoring my .env file as you previously suspected.
My APP_URL is currently configured to http://docs.synergy.local, which is the server the site is hosted on. So if anything it should just redirect to http://docs.synergy.local/login.
I manually entered that http URL and am presented with a broken site; i.e. huge fonts/symbols.
If I scroll down to the login fields (which ask for a username and password) and enter my credentials, it tries to log in via redirect to https://docs.domain.com.

@ssddanbrown unsure if this helps, but of the three bookstack deployments (different servers) that I've done, this is the only one that doesn't use the default DocumentRoot for apache; i.e. instead of /var/www/bookstack, I'm hosting from /var/www/docs/synergy/.

@ssddanbrown things are working, here's what I did.

Copied folder structure from /var/www/docs/synergy/ to /var/www/bookstack/, set permissions on bootstrap/cache, public/uploads and storage (as the install script does), edited apache config to point to this directory instead and restarted the apache service.

Accessing http://docs.synergy.local still tries to redirect to https://docs.domain.com.

Ran php artistan cache:clear, php artistan view:clear, and php artistan config:clear.

Everything works!

Edited apache config to point to /var/www/docs/synergy/ again and restarted services, ran the php artisan x commands.

Broken again; i.e. trying to redirect to https://docs.domain.com.

In all honesty, I don't know what the php artisan commands do, but I found the view:clear in the update guide and figured I'd give it a shot. Being that I ran those commands against both directories, It seems that maybe something gets hosed up when using a non-standard working directory.
I'm back working though, now that I've changed apache to point to /var/www/bookstack.

@derek-shnosh Awesome, Glade to hear things are working now and thanks for providing the info.
Sounds like just some extra-sticky caching at play, possibly could be affected by file permissions (Since they can effect ability to clear the cache).
Will now close this since it sounds like things are good now.


Merge StatusBar view into main view and combine presenters

Do Not Merge Yet
@rprouse @iCodeIT I'd like your comments, primarily on the overall direction I'm taking, exemplified by this change. Design info follows.
The new gui is written as an MVP (Model-View-Presenter) application, adapted to my personal style.
That personal style of gui-creation has always been based on independent controls, each doing their own thing. Usually, I would create a layer of derived controls, where necessary, in order to add basic capabilities to the control, and then top it off with a further layer that understood the domain.
For example, I might have a MultiColorProgressBar, derived from ProgressBar, and then derive a TestProgressBar on top of that.
I find this a nice way to work but it's very difficult to test in an automated way.
I got interested in MVP a few years ago. I used it to write the ProjectEditor and also back-ported some ideas into the V2 gui. And I'm using it for the 3.0 gui, of course.
That gets us to this change...
I originally decided that the main NUnit display form was too complex to have a single view and presenter. So I created multiple, independent views and presenters, as you can see in the setup in Program.cs. Currently (before this change) we have six different views and presenters for the main form. I liked the idea of this separation, but it has several problems:

You have to look in several places to understand what happens as a result of an event.

Since the presenters don't communicate with one another, any action initiated in one of the sub-views but which needs to be reflected in a different sub-view, has to go through the model. As an example, that's why the model maintains a value for the currently selected test in the tree.

What I'm thinking of doing now is to merge all the views for the main form. Since they already exist separately, I'll just give the main view a property for each sub-view. In the case of the current change, that's the StatusBar property. For the presenter, I will physically merge code from each sub-presenter into the main presenter. As a side benefit, this puts all the updates caused by one event into a single block of code. Note that views and presenters for other windows than the main form are not being changed.
The current commit does this for the StatusBar view and presenter. StatusBarView becomes a child of the Main view and StatusBarPresenter and StatusBarPresenterTests are eliminated, with their code now included in MainPresenter and its tests.
I'd like your review to especially focus on this overall design direction, of course noting any details that strike you as well.
If I go ahead with this, I'll do essentially the same thing for ProgressBar, TestTree, TestProperties and XmlView.

From a pure coding point of view I am sure your changes will work.
From a more architectural standpoint I like the small independent building blocks. They are easy to test independently and remove / change / insert very cleanly.
Some of the MVVM frameworks for WPF solves the communication problem between VM's by providing a message service. Basically you can send a message, and anyone interested can receive the message and act on it - it is a kind of advanced observer pattern. Maybe something similar could be used in the MVP pattern for communication between the P's?
Other than the above comments I am sure your proposed change can work as long as the number of GUI elements doesn't grow too large.

@iCodeIT It seems to be generally accepted that MVVM works poorly with Windows Forms, which is what led me away from it. MVP is usually described as having two major variants - one in which the views know about the model and one in which everything is run through the presenter. I chose the second because it's the model behind the Presenter-First development approach, which I was using a the time.
I've developed systems like what you describe in the past, usually calling the message service an EventManager. It works well as a global message bus. But it seems like we would be making the app more complex rather than simpler - unless I misread you, that is.

I didn't mean to use MVVM - I just refered to it as I have more experience with that, than with MVP.
Still, I like the smaller building blocks. I agree that a message bus might make a small app like this more complicated instead of less complicated.
Another option is to inject an interface from one presenter into another presenter in order to either subscribe to events from the injected presenter. That way no other presenter needs to know about the statusbar or if the statusbar one day is replaced by a more elaborate status window. Also I like that I can dive right into a component and fix something without having to understand everything else, because everything else i placed elsewhere.
So by now it should be clear that my preference is for small building blocks, but either way will work as long as the gui doesn't get too complex. Your call.

Keeping things small and localized is definitely a worthwhile objective and it's what I was after. I was afraid that the complete independence of presenters might make it harder to understand the app, but you don't appear to have had any problem getting into it.
Perhaps I can find another way to keep the separate views and presenters while still allowing a very few messages to be shared.

Keeping things independent has made it very easy to dive into the right spot and do stuff. During that process it was easy to understand how that particular component works, and I assume the others have similar patterns. It is true that if you try to understand the whole thing at once it might be more difficult, but starting out making small changes as I did, you actually quite quickly see how things are connected.

Actually, this PR was helpful in that it led to the following solution, which I'll implement on another branch...

Change the fields in IMainView that refer to the sub-views to use the appropriate interfaces. This willl allow NSubstitute to work with them for testing.

Simply let the main presenter handle those view actions that are triggered by one sub-view and reflected in another one!

I'm closing this PR.


Added remote submission of ranks within the friendschat or clanchannel

Hey i appreciate the PR and it seems something reasonable, it might take me a while to go through as i'm kinda trying to stay away from code on my free time.


presence: Fix some unlikely cases; add another test; draw state machine.

I reread this code closely today when thinking about this bug report.
I didn't find anything that seemed like it could have caused it... a good outcome, because it turned out that came from the previous release, when this code looked quite different. :slightly_smiling_face: I did think for a while that I'd found something that possibly could have, because the way we avoid a certain problem is kind of subtle. Add a comment explaining the subtlety (complete with a state-machine diagram!), and a test for that case.
Also make a couple of changes that are mostly NFC in practice, but would improve the behavior in edge cases (or a hypothetical implementation change in RN), and that make the code a bit simpler to reason about.

Thanks @ray-kraesig for the audio review yesterday! I've just pushed a revision to adjust the state diagram so the arrows pointing into "on" are less crowded, as you requested. LMK if there are any other revisions you'd like to see.

Thanks; looks good! Merged.


Moa Eggs crash the game when placed

Moa eggs, when placed on the ground, crash the game instead of placing the egg.

Could you provide a crash report?

I just placed a Moa egg, and then the game crashed. The error code was -1. I'll get the crash report soon.

Here's the crash report.
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at com.aether.items.MoaEgg.method_7884(MoaEgg.java:30)
at net.minecraft.class_1799.method_7981(class_1799.java:244)
at net.minecraft.class_636.method_2896(class_636.java:338)
at net.minecraft.class_310.method_1583(class_310.java:1648)
at net.minecraft.class_310.method_1508(class_310.java:1902)
-- Affected level --
Details:
All players: 1 total; [class_746['UnusedCactus'/94, l='ClientLevel', x=-826.17, y=56.00, z=465.18]]
Chunk stats: 841, 576
Level dimension: the_aether:the_aether
Level spawn location: World: (-144,77,-79), Section: (at 0,13,1 in -9,4,-5; chunk contains blocks -144,0,-80 to -129,383,-65), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,383,-1)
Level time: 182566 game time, 1 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:370)
at net.minecraft.class_310.method_1587(class_310.java:2399)
at net.minecraft.class_310.method_1514(class_310.java:754)
at net.minecraft.client.main.Main.main(Main.java:217)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: Default, Fabric Mods