gadgets/top: Use the column library

gadgets/top: Use the column library
Use the columns library in the top gadgets:

block-io
ebpf
file
tcp

The first commit was made so that every commit itself can be compiled and ran without any issues
Modifications on the columns library

The columns library now can sort on columns with a custom extractor. But it can't be a virtual column
Template and UseTemplate are now exported to use templates on virtual columns

@flyth are these modifications ok?

@flyth do you want to take another look at the columns library modifications?

The changes to the lib regarding the virtual columns / columns with extractors look good to me!
As far as I see, the CanSortBy() isn't used yet. Instead, checks are still done using VerifyColumns(), which will not catch invalid columns to sort by. An improvement could be to let CanSortBy() have the same function signature as VerifyColumns() so it could be used as a drop-in replacement (returning valid and invalid sortBy parameters). Then, to actually get a list of possible columns to sort by, just feed the GetColumnNames() to the CanSortBy() and return the array with the valid values. If that's too big for this PR, we can add it in another one, though.


Inconsistencies in documentation

Hi
Some columns in the 'define features' are missing. For eg: Horsepower.
This is because in 'Step 2: Prepare the data', following the instruction of remove entire column ,in sub step 4, removes this column.
This doco/data needs to be updated accordingly.

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

ID: fdd7dec4-a353-0ad5-2de3-1300ade6ad87
Version Independent ID: 3f024fa1-7c94-a0a1-f72b-df98b33540a5
Content: Simple experiment - Azure Machine Learning Studio
Content Source: articles/machine-learning/studio/create-experiment.md
Service: machine-learning
GitHub Login: @garyericson
Microsoft Alias: garye

@nithinab1 Thanks for your feedback, I have assigned to the author to update the document properly.
@garyericson Hi Gary, can you please check this issue and update the document as necessary? Thanks a lot.

@nithinab1 - Thanks for sending feedback when you notice something incorrect. It definitely helps us keep the documentation accurate and useable.
In this case, however, I believe the documentation is correct. In Step 2, sub-step 4, the instructions are to select the "Remove entire row" cleaning option (rather than "Remove entire column"). The "Remove entire row" option will leave the column intact.
#please-close

Closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


unknown error - report bug

Hello,
Ive tried reinstalling several times. Every time I execute a normal save with ctrl+s, I get a popup saying "gist: unknown error please report a bug". Although, the file succesfully saves and when I use ctrl+s+ctrl+k the gist is updated. How can I proceed?

any update?

I had the same problem and it turns out you need to put in an API code


Error during parsing when using imports with files that share the same name

1. What version of Caddy are you using (caddy -version)?
0.10.9
2. What are you trying to do?
Use imports with common directives in them to set up mulitple similar sites.
3. What is your entire Caddyfile?
In my main Caddyfile I have this:
import "a/foo.caddyfile"

a/foo.caddyfile contains this:
https://local.foo.co.uk {
    import "../b/bar.caddyfile"
}

and finally b/foo.caddyfile contains this:
tls self_signed

proxy / localhost:3000 {
    transparent
}

4.
I'm running Caddy locally on a Windows 10 machine, so I opened the standard Windows cmd prompt and changed directory to the location of the caddy.exe file. I then just ran the .exe file with caddy.exe; my Caddyfile is in the same directory.
5. Please paste any relevant HTTP request(s) here.
N/A
6. What did you expect to see?
Caddy starting up normally.
7. What did you see instead (give full error messages and/or log)?
This is the error that Caddy displayed:

foo.caddyfile:3 - Error during parsing: Unexpected '}' because no matching opening brace

8. How can someone who is starting from scratch reproduce the bug as minimally as possible?

Unzip caddy into a new directory
Create a new Caddyfile in the same directory as caddy.exe
Create a new folder named a in the same directory as caddy.exe
Create a new folder named b in the same directory as caddy.exe
Inside of folder a create a new file named foo.caddyfile
Inside of folder b create a new file named foo.caddyfile
Inside of Caddyfile type this:

import "a/foo.caddyfile"

Inside of a/foo.caddyfile type this:

https://local.foo.co.uk {
    import "../b/foo.caddyfile"
}

Inside of b/foo.caddyfile type this:

tls self_signed

proxy / localhost:3000 {
    transparent
}

Open a command prompt and cd to the caddy.exe directory
Run Caddy with caddy.exe
You should see the following:

foo.caddyfile:3 - Error during parsing: Unexpected '}' because no matching opening brace

This seems to be caused by having two files that have the same name being used in import.
If you rename b/foo.caddyfile to b/bar.caddyfile and update the import directive in a/foo.caddyfile, then run caddy.exe again, the problem should be resolved.

Thanks, your instructions made this super easy to reproduce. Looking into this.

Your detective work made this go very quickly. Thanks!


Adding support for Heiman smart power metering plug.

This adds code suggested by Koenkk to support smart plug sold under "Heiman" label

thanks!


Getting Started with pip install python-binance (installed c++, --upgrade tools)

I just want to read data from binance.
I made an account in Binance, got my api_key and api_secret. Then from senttings, project interpreter, installed the python-binance package (already installed visual c++).
but during the installation of pip install python-binance, it appears the above.
Can anyone help about this? thanks

same error. can't install.

The version of Twister being used in python-binance was built for Python 3.6
See https://www.twistedmatrix.com/trac/ticket/9501

Where can I find Microsoft Visual C++ 14.0? How big is the file?
Any direct url to download it please


⚠ Bofrost.at has degraded performance

In 3471527, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2345 ms

Resolved: Bofrost.at performance has improved in 14c8b0a.


How can I use context.log in Azure functions?

I don't know how to use context.log with serverless-express and Azure functions. Please tell me how to use context.log.

Can you use getCurrentInvoke().context? See https://github.com/vendia/serverless-express/blob/mainline/examples/azure-http-function-v4/HttpExample/app.js#L23

Thank you for your reply. But getCurrentInvoke().context doesn't work.

@Jingasan Because the azure way to pass the arguments to the handler ([see here](https://github.com/vendia/serverless-express/blob/mainline/examples/azure-http-function-v4/HttpExample/index .js#L5-L7)), context inside getCurrentInvoke() represents the event and event represents the context.
So to make this work, call getCurrentInvoke().event.log.
@brettstack Also the azure examples are broken because they don't reflect current behavior, should I create an issue to track the fixes?

@H4ad Thank you for telling me about it. It works !


Develop 1171, fix qc flag bug

Purpose:

Make it possible to fetch artifacts without the state argument in uri.
Facilitate a xml comparison between two artifacts, to assert that stateless and stateful artifact representation doesn't contain surprises.

I push this PR to develop, is that right?

This looks good! I would consider two using that library if possible though, less code and they might have thought about things that are not clear yet.
I would also consider if it's better to keep all of the assertion stuff and tests only in clarity-ext, because when we want to merge things into the upstream repository, I think it will be difficult to explain why this is required for other users of genologics.
Let me know what you think!


Dask and Skimage/ Pickling scipy fft objects not possible?

I wanted to map the  phase correlation sci-kit image onto a dask array, but the module prefers to use the scipy fft module.
This leads to a pickling error
TypeError: can't pickle _FFTModule objects

, because, as I believe, the API doesn't switch to dask.
I am not sure, whether this is something that is within the scope of the dask project.

Thanks for raising an issue @MaximilianHoffmann! Are you able to post a minimal, reproducible example?
FWIW functions and their arguments need to be serializable with cloudpickle for Dask to be able to use them with the distributed or multiprocessing scheduler

Closing due to lack of a reproducible example. @MaximilianHoffmann feel free to re-open if you're able to provide a code snippet we can run to reproduce the TypeError


Broken link to API documentation

The link to the API reference returns 404 in https://github.com/prismicio/prismic-reactjs/blob/master/README.md
links to
https://prismicio.github.io/prismic-reactjs/globals.html

Thanks for pointing this out! I've just updated the link.


Suggested configuration for training NN models on highly imbalanced datasets

Hi!
I have a binary classification dataset with highly imbalanced label distributions (pos : neg == 1 : 200)
I was trying to apply the BERT code in Neural Network Quick Start Tutorial
directly on this dataset, with val metric set to "Macro-F1", but the trained model would mostly produce all negatives in this case.
I am wondering if there are parameters or configurations I could tune in LibMultiLabel for such an imbalanced dataset to improve the model's performance?
For your reference:
I also tried the linear method, where I saw using train_cost_sensitive instead of train_1vsrest improved noticeably on this issue. (with train_cost_sensitive, the model predicts 4 times more positive samples than with train_1vsrest. Although both methods have 'Micro-F1 and 'P@1' close to 0.99 (due to dominating negative samples) and Macro-F1 around 0.5)
Thanks!

Can you provide more details of your exp settings?
For example, configuration and exp log.
Thanks
On 2022-11-30 15:58, henrykang7177 wrote:

Hi I have a binary classification dataset with highly imbalanced label
distributions (pos : neg == 1 : 200)
I was trying to apply the BERT code in Neural Network Quick Start
Tutorial [1]
directly on this dataset, with val metric set to "Macro-F1", but the
trained model would mostly produce all negatives in this case.
I am wondering if there are parameters or configurations I could tune
in LibMultiLabel for such an imbalanced dataset to improve the model's
performance?
For your reference:
I also tried the linear method, where I saw using train_cost_sensitive
instead of train_1vsrest improved noticeably on this issue. (with
train_cost_sensitive, the model predicts 4 times more positive samples
than with train_1vsrest. Although both methods have 'Micro-F1 and
@.***' close to 0.99 (due to dominating negative samples) and Macro-F1
around 0.5)
Thanks!
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
You are receiving this because you are subscribed to this
thread.Message ID: @.> [ {
@.": "http://schema.org", @.": "EmailMessage",
"potentialAction": { @.": "ViewAction", "target":
"https://github.com/ASUS-AICS/LibMultiLabel/issues/229", "url":
"https://github.com/ASUS-AICS/LibMultiLabel/issues/229", "name": "View
Issue" }, "description": "View this Issue on GitHub", "publisher": {
@.***": "Organization", "name": "GitHub", "url": "https://github.com"
} } ]
Links:
[1]
https://www.csie.ntu.edu.tw/~cjlin/libmultilabel/api/nn_tutorial.html#neural-network-quickstart-tutorial
[2] https://github.com/ASUS-AICS/LibMultiLabel/issues/229
[3]
https://github.com/notifications/unsubscribe-auth/ABI3BHVOXY2O3TOLNKTSS53WK4CLZANCNFSM6AAAAAASPKRENM


userdata creation (for k8s cluster startup)

/kind feature
need provide a set of configuration scripts for the new deployed guest to run this
in order to boot cluster and join cluster for master/node
cloud-init will be primary focus for this PR
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Sub tasks:

[ ] Investigate how user-data works in SL
[ ] Hard-code user-date for master and work
[ ] Update user-data to be more generic

The user-data actually need to be delivered into at least ubuntu and rhel based ...

@xunpan do you want to take this one? this might take some time ... or you may select your prefer by assign your self to other issues...

I will start from Ubuntu with a Kubernetes deployment scripts

Finished scripts.
I will try to understand IBM Cloud bootstrap script execution and try to Create machine from code.

update script based on runtime information
https://github.com/multicloudlab/cluster-api-provider-ibmcloud/pull/39
To make script run in softlay, we need a script file hosting place. Currently, I'd like to implement a github one.

Try to understand how to use userData to execute a script in softlayer.
A ticket is logged to trace the related information. https://github.com/softlayer/softlayer-go/issues/133

The related part should be done.
After we have related yaml files generated, we can test it. Just close it.


The default gw didn't work

route add <IP_ADDRESS>/0 gw <IP_ADDRESS> dev fp0
The default gw didn't work, I have to use route below instead.
route add <IP_ADDRESS>/16 gw <IP_ADDRESS> dev fp0

Fix me!


Typescript IntelliSense stuck loading: Initializing JS/TS language features after auto updating to 1.36.1

VSCode Version: 1.36.1
OS Version: macOS 10.14.5

Steps to Reproduce:

Update VScode from 1.36 to 1.36.1
Try completing any Typescript code with Intellisense as usual.

Does this issue occur when all extensions are disabled?: No

In the logs I've noticed that Auto Rename Tag extension was halting. I've disabled Auto Rename Tag, Auto Close Tag, Auto Complete tag trio, restarted, and the problem went away.
Don't know if it's Vscode to blame or the extension though.

Please file an issue against that extension to start.
If you still see any issues with all extensions disabled, let me know


MSBuild commands do not work if no code file is opened in the editor

Steps to reproduce:

open an FSharp project in Visual Studio Code (I had one based on .NET Core)
close all of the editor windows with code in them (best to close all windows)
invoke MSBuild: Build Current Project

This will produce a series of errors like the one in the attached screenshot:

Current workaround: open a .fs file in the editor and try the commands again, this time they will work.

I think that the problem is bit more complex than expected. There are couple of problems here (and all those points applies also to Expecto commands since there are fairly similar in the design).

MsBuild commands are not added to "activation" events, what means that Code returns this "command XYZ not found" error message when user tries to use them before plugin is activated.
Even if they were added they still won't work well - they depend on plugin being in "fully initialized" state, which takes a while (it requires full parsing of all projects in workspace)

Probably the right solution will be:

Add them to activation events (or maybe use "workspace contains" activation event)
Print out nice information messages that the plugin needs to be fully initialized when user tries to  use those commands before the plugin is fully initialized.

2.28.0 changed startup strategy, so now it should work.


[1.x.x] java.lang.ClassNotFoundException: "rx.AsyncEmitter$BackpressureMode"

RxBroadcast 1.x depends on 1.2.0 version of RxJava which includes @Experimental class rx.AsyncEmitter. Later in 1.2.1 it was deprecated in favour of rx.Emitter. Finally 1.2.2 AsyncEmitter was removed.
So the issue will repro on most modern configurations of libraries that still support RxJava 1.x + RxBroadcast 1.x. Gradle will bump RxJava version to the most recent one by default. In the end the app will crash with java.lang.ClassNotFoundException because it will try to load AsyncEmitter and will fail.
I suggest that the support for 1.x should be extended (as per RxJava doc it will live until 2018) and rx.AsyncEmitter should become rx.Emitter.

Sounds reasonable. I'll take a look at your PR.

Could you create 1.x branch forked from 1.1.0 tag please? Unfortunately I can't see any way to make PR to  a new branch on Github. It is reasonable base for ongoing 1.x development, isn't it?

created 1.x

Just released, it will take a bit to populate.

RxJava version 1.2.7
com.cantrowitz:rxbroadcast:1.1.1
I still have this error!
 Caused by: java.lang.ClassNotFoundException: Didn't find class "rx.AsyncEmitter$BackpressureMode" on path: DexPathList[[zip file "/data/app/su.byblos.audiobooks-1/base.apk"],nativeLibraryDirectories=[/data/app/su.byblos.audiobooks-1/lib/arm64, /vendor/lib64, /system/lib64]]
                                         at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
                                         at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
                                         at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
                                         at com.cantrowitz.rxbroadcast.RxBroadcast.createBroadcastObservable(RxBroadcast.java:145)
                                         at com.cantrowitz.rxbroadcast.RxBroadcast.fromBroadcast(RxBroadcast.java:61)
                                         at com.cantrowitz.rxbroadcast.RxBroadcast.fromBroadcast(RxBroadcast.java:41)

try doing a clean rebuild or clear our your cache, something is wrong with your local setup since that class was completely removed in 1.1.1

@cantrowitz don't forget change version signature in README.md :)


Add CLI for Microsoft 365 to Report of Private Teams channels to Excel

🎯 PR aim
The aim of this PR is to add CLI for Microsoft 365 equivalent -
https://pnp.github.io/script-samples/report-private-teams-excel/README.html?tabs=pnpps
✔ What was done

[X] updated readme with script
[X] updated sample.json

🔗 Related
#120
📸 Result
running the script

excel result

file added to SP

Hi Adam, thank you!! 👏😊 This should be live shortly 😊 thank you for these CLI samples, very nice to see both options in each.


Support  BLPOP BRPOP with single Key

BLPOP command is  defined as  "BLPOP key [key ...] timeout"
This comand is very useful, and most time we only need to popup one key
Can Dynomite support "BLPOP key timeout" ?

It does not seem somebody has worked on it recently, so we will close it. @springside if you still need let us know and we can reopen it.


Infusion doesn't work on damaged tools

Basically what the title says. I'm on beta 13.
I tried to make myself an axe of the stream. The Thaumonomicon entry is suggesting that you can use damaged items for the infusion, but it only starts with a fresh one.

So I can’t afk fish the leather boots?


Please create a JIRA ticket first.

Please create a JIRA ticket first.

@shopee-jin At least you need to register on our jira server https://issues.apache.org/jira
We could help creating a jira issue but if you do not register, we can not assign the issue to you...

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 36s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m 18s
master passed

+1 :green_heart:
compile
0m 29s
master passed

+1 :green_heart:
shadedjars
8m 22s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 25s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m  8s
the patch passed

+1 :green_heart:
compile
0m 29s
the patch passed

+1 :green_heart:
javac
0m 29s
the patch passed

+1 :green_heart:
shadedjars
9m 20s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 23s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 43s
hbase-examples in the patch passed.

31m 16s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2968/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2968

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 299563e453b6 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 351caa5bcc

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2968/1/testReport/

Max. process+thread count
1963 (vs. ulimit of 30000)

modules
C: hbase-examples U: hbase-examples

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2968/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m 14s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 39s
master passed

+1 :green_heart:
compile
0m 31s
master passed

+1 :green_heart:
shadedjars
9m 27s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 26s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 16s
the patch passed

+1 :green_heart:
compile
0m 30s
the patch passed

+1 :green_heart:
javac
0m 30s
the patch passed

+1 :green_heart:
shadedjars
9m 14s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 23s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 47s
hbase-examples in the patch passed.

37m 32s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2968/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2968

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux ca7ff1ae9708 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 351caa5bcc

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2968/1/testReport/

Max. process+thread count
1267 (vs. ulimit of 30000)

modules
C: hbase-examples U: hbase-examples

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2968/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  3s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m 35s
master passed

+1 :green_heart:
compile
0m 38s
master passed

+1 :green_heart:
checkstyle
0m 16s
master passed

+1 :green_heart:
spotbugs
0m 47s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 13s
the patch passed

+1 :green_heart:
compile
0m 35s
the patch passed

+1 :green_heart:
javac
0m 35s
the patch passed

+1 :green_heart:
checkstyle
0m 13s
the patch passed

+1 :green_heart:
whitespace
0m  1s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
22m  7s
Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.

+1 :green_heart:
spotbugs
0m 58s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

44m 20s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2968/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2968

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux 155bdb630446 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 351caa5bcc

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
86 (vs. ulimit of 30000)

modules
C: hbase-examples U: hbase-examples

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2968/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Parameter with payload

I'm submitting a ...  (check one with "x")
Problem

( ) bug report => please search github for a similar issue or PR before submitting
( ) unexpected behavior => please visit the Wiki before
simplify the programming

Current behavior

the parameter Zone and Duration are fixed in each flow
Expected behavior

easy automation with a variable duration time and Zone number via payload input
Minimal reproduction of the problem with instructions

Feature

( x ) feature request

What is the motivation / use case for changing the behavior?
manage the parameter duration time and zone number with a payload input to steer it via Lovelace with button-cards and a input_select slider
Support

support request => Please do not submit support requests here
( ) simple question => please visit the Wiki and Info tab by clicking on the node inside Node-RED before

Your Environment
Please tell us about your environment:

( ) I am using just the Node-RED package

controller :

( ) macOS: v
( x ) Linux: v
( ) Windows: v
( ) Raspbian: v
( ) Other:

Name:
Version:

Description of the connecting hydrawise system:

Name   : Hunter 12 Pro HC
Version:
Vendor :
Link   : https://

node-red-contrib-hydrawise version: ``

Node: (min. 6.10.x)
node --version =

Hi,
I do not use Home assistant but this should not be a problem. Configure the Lovalace button that is sends a payload with the command, the zonenumber and the duration. I dont know on the HA side but maybe it is something like this?
type: button tap_action:   action: call-service   service: nodered.trigger   service_data:     entity_id: switch.zone_3     payload:         command: run        duration: 18000        zone: 3 name: Run zone 3 for 30 minutes  entity: switch.lovelace_button
Let me know if it doesn't work, otherwise please send me your flow and the name of the nodered homeassistant package you use. I will try to reproduce and adjust your flow.
Regards, Ronald

Hi Ronald,
starting and stopping a valve with a manual duration time works great. THX
I've one Slider for the duration time and for each valve an own input_select button.
With a join flow I send this 2 informations to  start the correct zone with the right duration time.
This join flow works also for stopping the right zone.
But a second input_select button with Start/Stop to Stop Alle zones doesn't work.
Failure:
msg : error
"TypeError: Cannot read properties of undefined (reading 'stopAllZones')"
Home-assistant: node-red-contrib-home-assistant-websocket
Flow:
[{"id":"10ba0f4e1fc10011","type":"tab","label":"Flow 3","disabled":false,"info":"","env":[]},{"id":"a1e88b59830d036f","type":"hydrawise-command","z":"10ba0f4e1fc10011","name":"","controller":"01a770885c419e","zone":"1","command":"stopAllZones","duration":1800,"x":1620,"y":240,"wires":[["f31cc3d2467d4446"]]},{"id":"216d0baadd7b623b","type":"debug","z":"10ba0f4e1fc10011","name":"debug 15","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":900,"y":340,"wires":[]},{"id":"5889aa997f7cfcb9","type":"change","z":"10ba0f4e1fc10011","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":850,"y":240,"wires":[["1eb2436eab012580","a1e88b59830d036f"]]},{"id":"f8e25d5774306f3d","type":"change","z":"10ba0f4e1fc10011","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":850,"y":280,"wires":[["076b5545aec505a2","216d0baadd7b623b"]]},{"id":"1eb2436eab012580","type":"debug","z":"10ba0f4e1fc10011","name":"debug 16","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1220,"y":180,"wires":[]},{"id":"076b5545aec505a2","type":"api-call-service","z":"10ba0f4e1fc10011","name":"","server":"bffecd85.30ce3","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.beregnung_zone1","input_boolean.beregnung_zone2","input_boolean.beregnung_zone3","input_boolean.beregnung_zone4","input_boolean.beregnung_zone5","input_boolean.beregnung_zone6","input_boolean.beregnung_zone7","input_boolean.beregnung_zone8","input_boolean.beregnung_zone9"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"Aus","valueType":"str"}],"queue":"all","x":1100,"y":280,"wires":[["5aa4fd25ed12ac34"]]},{"id":"2f4d0587c3c411ee","type":"server-state-changed","z":"10ba0f4e1fc10011","name":"Manueller Stop","server":"bffecd85.30ce3","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.irrigation_program","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"Stop","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":540,"y":240,"wires":[["f8e25d5774306f3d","5889aa997f7cfcb9","2f358f9ed06d808a"],[]]},{"id":"5aa4fd25ed12ac34","type":"debug","z":"10ba0f4e1fc10011","name":"debug 17","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1360,"y":280,"wires":[]},{"id":"2f358f9ed06d808a","type":"change","z":"10ba0f4e1fc10011","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":850,"y":380,"wires":[["2990bb6f5454b211"]]},{"id":"20a4d6efa9b7f213","type":"api-call-service","z":"10ba0f4e1fc10011","name":"","server":"bffecd85.30ce3","version":5,"debugenabled":false,"domain":"input_select","service":"select_first","areaId":[],"deviceId":[],"entityId":["input_select.irrigation_program"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"Start","valueType":"str"}],"queue":"all","x":1110,"y":440,"wires":[["ed1da33977f784f6"]]},{"id":"ed1da33977f784f6","type":"debug","z":"10ba0f4e1fc10011","name":"debug 18","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1360,"y":440,"wires":[]},{"id":"2990bb6f5454b211","type":"delay","z":"10ba0f4e1fc10011","name":"sec.","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":910,"y":440,"wires":[["20a4d6efa9b7f213"]]},{"id":"f31cc3d2467d4446","type":"debug","z":"10ba0f4e1fc10011","name":"debug 19","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1640,"y":180,"wires":[]},{"id":"01a770885c419ebf","type":"hydrawise-controller","name":"XXX","key":"XXXX-XXXX-XXXX-XXXX"},{"id":"bffecd85.30c2","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30"}]

It was a bug in this release. Problem is solved in 0.0.7.beta.0
Please update the package in your palette.  It might take a while before the release is visible in node-red.
If this doesn't work please let me know and i will reopen the issue.
Good luck,
Ronald


ARROW-3733: [GLib] Add to_string() to GArrowTable and GArrowColumn

This changes have many test code change. It's caused by changing table check way from dumped text comparison to direct table comparison. If we use direct table comparison, dump text format change doesn't effect test code. We'll get more stable test suite by this change.

@shiro615 Can you review this?

Codecov Report

Merging #2925 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2925      +/-   ##
==========================================
- Coverage   86.23%   86.22%   -0.02%
==========================================
  Files         490      490
  Lines       68599    68599
==========================================
- Hits        59157    59147      -10
- Misses       9352     9358       +6
- Partials       90       94       +4

Impacted Files
Coverage Δ

go/arrow/math/int64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/float64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/uint64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_amd64.go
28.57% <0%> (-14.29%)
:arrow_down:

go/arrow/math/math_amd64.go
31.57% <0%> (-5.27%)
:arrow_down:

go/arrow/math/float64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/int64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/uint64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/uint64_sse4_amd64.go
100% <0%> (+100%)
:arrow_up:

... and 3 more

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 a7df9c6...ffdf3c5. Read the comment docs.


optimize:add some server's jvm parameters

Signed-off-by: slievrly<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
optimize:add some server's jvm parameters
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Codecov Report

Merging #1738 into develop will increase coverage by 0.14%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #1738      +/-   ##
=============================================
+ Coverage      48.59%   48.73%   +0.14%
  Complexity      1858     1858
=============================================
  Files            365      365
  Lines          13229    13229
  Branches        1608     1635      +27
=============================================
+ Hits            6428     6447      +19
+ Misses          6117     6115       -2
+ Partials         684      667      -17

Impacted Files
Coverage Δ
Complexity Δ

...server/store/file/FileTransactionStoreManager.java
53.94% <0%> (+1.31%)
27% <0%> (ø)
:arrow_down:

...rotobuf/convertor/RegisterTMResponseConvertor.java
84.84% <0%> (+3.03%)
3% <0%> (ø)
:arrow_down:

...rotobuf/convertor/RegisterRMResponseConvertor.java
84.84% <0%> (+3.03%)
3% <0%> (ø)
:arrow_down:

...otobuf/convertor/GlobalBeginResponseConvertor.java
96.96% <0%> (+3.03%)
3% <0%> (ø)
:arrow_down:

...obuf/convertor/BranchRollbackRequestConvertor.java
96.42% <0%> (+3.57%)
3% <0%> (ø)
:arrow_down:

...otobuf/convertor/BranchCommitRequestConvertor.java
100% <0%> (+3.57%)
3% <0%> (ø)
:arrow_down:

...otobuf/convertor/BranchReportRequestConvertor.java
96.29% <0%> (+3.7%)
3% <0%> (ø)
:arrow_down:

...protobuf/convertor/RegisterRMRequestConvertor.java
95.83% <0%> (+4.16%)
3% <0%> (ø)
:arrow_down:

...protobuf/convertor/RegisterTMRequestConvertor.java
100% <0%> (+4.54%)
3% <0%> (ø)
:arrow_down:

...obuf/convertor/GlobalRollbackRequestConvertor.java
100% <0%> (+5.26%)
3% <0%> (ø)
:arrow_down:

... and 4 more

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 b2d695f...578f807. Read the comment docs.


undefined method `token_authentication_key=' for Devise:Module (NoMethodError)

I have updated to 3.5.1 from 3.4.1 and now I get this error:
.../config/initializers/devise.rb:199:in `block in <top (required)>': undefined method `token_authentication_key=' for Devise:Module (NoMethodError)
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/devise-3.5.1/lib/devise.rb:281:in `setup'
	from .../config/initializers/devise.rb:3:in `<top (required)>'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `block in load'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in `instrument'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/engine.rb:651:in `load_config_initializer'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/engine.rb:615:in `each'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `each'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `tsort_each_child'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:411:in `call'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:345:in `each'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:345:in `call'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
	from /home/cezar/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/railtie.rb:194:in `public_send'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/railtie.rb:194:in `method_missing'
	from .../config/environment.rb:5:in `<top (required)>'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
	from .../config.ru:3:in `block in <main>'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/rack-1.6.1/lib/rack/builder.rb:55:in `instance_eval'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/rack-1.6.1/lib/rack/builder.rb:55:in `initialize'
	from .../config.ru:in `new'
	from .../config.ru:in `<main>'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/rack-1.6.1/lib/rack/builder.rb:49:in `eval'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/rack-1.6.1/lib/rack/builder.rb:49:in `new_from_string'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/rack-1.6.1/lib/rack/builder.rb:40:in `parse_file'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/rack-1.6.1/lib/rack/server.rb:299:in `build_app_and_options_from_config'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/rack-1.6.1/lib/rack/server.rb:208:in `app'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/commands/server.rb:61:in `app'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/rack-1.6.1/lib/rack/server.rb:336:in `wrapped_app'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/commands/server.rb:139:in `log_to_stdout'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/commands/server.rb:78:in `start'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:80:in `block in server'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `tap'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `server'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /home/cezar/.rvm/gems/ruby-2.1.2/gems/railties-4.2.1/lib/rails/commands.rb:17:in `<top (required)>'
	from script/rails:6:in `require'
	from script/rails:6:in `<main>'

These methods have been deprecated for a long time, and were removed in d1d5996b6b107e59baa486f11209ca25d4f4a998. You can just get rid of them from your initializer. Thanks!


Optional target 'notebook' lacks notebook dependency

When installing mesonic as described in the Readme.rst with optional requirements for notebook Jupyter and notebook are not installed as mesonic does not depend on them. Maybe notebook should be added as a requirement in setup.cfg.

Furthermore, ipywidgets which is used in mesonic-pmson should probably also be a dependency.

Thank you for reporting the missing dependencies.
ipywidgets will definitely be added to the notebook extra of mesonic.
Regarding the notebook package I was hesitant to add it as I like to use JupyterLab from the base conda environment with nb_conda_kernels and adding the single kernels by installing ipykernel
But I agree that the notebook extra should be functioning without further setups and it would be good to add notebook to the extra.
Maybe an extra named ipykernel should be added were the notebook dependency is replaced by the ipykernel and both depend using interpolation on a example extra which defines the basic dependencies like ipywidgets and so on

Splitting targets sounds like a good plan. A target called "notebook" should actually work with notebooks.


[Request] Bluesky & bookwyrm social icons

Lot of people joining bluesky lately, would be good to have that icon. https://github.com/bluesky-social/social-app/blob/main/bskyembed/assets/logo.svg
Also, Bookwyrm https://joinbookwyrm.com/ https://github.com/bookwyrm-social/bookwyrm https://github.com/bookwyrm-social/bookwyrm/blob/main/bookwyrm/static/images/logo.png
It would be cool to have an option to use emoji. Also maybe consider these icon libraries:
https://pictogrammers.com/library/mdi/
https://simpleicons.org/

Thank you for suggesting that website, I just added the full 3227 icons collection to the theme :)
About emojis, yes that could be nice, it could be done with a parameter on the icon to render the icon name instead of looking it up in the SVG definition. I'll update as soon as I have some time/

Awesome, how would you reference one of the Simple Icons for a params.social icon?

Yes, but how would it differ form the current implementation? Aside from renaming "name" to "icon"? Perhaps I'm missing something

That's true. I'm also having trouble referencing some SimpleIcons by name, specifically ones with spaces. For example
[[params.social]]
name = "Nintendo"

works
[[params.social]]
name = "Nintendo DS"

does not

Well, if you look at the svg partial you see the name associated with each icon.
The name is the name of the SVG downloaded from this website https://simpleicons.org.
In your case, the Nintendo DS icon is simply named "nintendods".


upgrade pg for compatibility with node v14

This project is such a cool idea! I'm planning to use it to run tests in my project, and to spin up a clean database for TypeORM to use as a point of reference for automatically generating migrations.
There is a problem that when running with Node v14 older versions of pg hang while connecting. To work with Node v14 pg must be updated to v8.0.3 or later.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   92.45%   92.45%
=======================================
  Files           1        1
  Lines          53       53
  Branches        6        6
=======================================
  Hits           49       49
  Misses          4        4

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 5963ff2...f836e11. Read the comment docs.


[4.1.x] Fixed #33764 deprecate make_random_password

Deprecated make_random_password method. Updated the the 4.1.txt, deprecation.txt and the auth/customizing.txt to reflect this deprecation.

Grrr. @ciaranmccormick Can I ask you to re-open this against main please? (We backport to the release branch if necessary when merging.)

Apologies @carltongibson first day on the job 😅
I've opened a new PR against main.


support multi-resolution conversion

Describe the feature
Description
many stream server has supported multi-resolution conversion
convert media data in servers.
and generate multi-variant m3u8
and support llhls.

it is possible with ffmpeg but I wish there was a way to enable ffmpeg transcoding to all streams with the config file.
if we can get something like
paths:
all:
..... ffmpeg with $STREAMNAME ---> $STREAMNAME_720p
when we publish stream to mediamtx, it'll transcode with ffmpeg and re-publish as stream_720p or whatever ffmpeg configuration is set to.
Another idea is to transcode AAC audio to OPUS whenever webrtc client connects on demand, so audio will work.

I got these errors when I try to add transcoding to streams :)
my config is
runOnReady: ffmpeg -loglevel error -i rtsp://localhost:$RTSP_PORT/$RTSP_PATH -c:v libx264 -tune zerolatency -preset faster -b:v 2500k -bsf:v h264_mp4toannexb -g 30 -keyint_min 30 -profile:v baseline -level 3.0 -max_muxing_queue_size 1024 -f rtsp rtsp://localhost:$RTSP_PORT/ffmpeg/$RTSP_PATH
runOnReadyRestart: yes

2023/06/18 11:35:29 INF [RTSP] [session 78d59090] created by <IP_ADDRESS>:39004
2023/06/18 11:35:29 INF [path ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/murat] runOnReady command started
2023/06/18 11:35:29 INF [RTSP] [session 78d59090] is publishing to path 'ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/murat', with UDP, 2 tracks (H264, MPEG4-audio-gen)
2023/06/18 11:35:29 INF [path ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/murat] runOnReady command stopped
2023/06/18 11:35:29 INF [RTSP] [session 78d59090] destroyed (torn down by <IP_ADDRESS>:39004)
2023/06/18 11:35:29 INF [RTSP] [conn <IP_ADDRESS>:39004] closed (EOF)
2023/06/18 11:35:29 INF [RTSP] [conn <IP_ADDRESS>:34124] closed (terminated)
2023/06/18 11:35:29 INF [path ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/murat] runOnReady command stopped
2023/06/18 11:35:29 INF [RTSP] [session ab0587cd] destroyed (session timed out)
2023/06/18 11:35:29 INF [RTSP] [conn <IP_ADDRESS>:34128] closed (terminated)
2023/06/18 11:35:29 INF [RTSP] [session 105bcffe] destroyed (terminated)
av_interleaved_write_frame(): Broken pipe
Error writing trailer of rtsp://localhost:8554/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/murat: Broken pipe
2023/06/18 11:35:29 INF [RTSP] [conn <IP_ADDRESS>:34112] closed (terminated)
2023/06/18 11:35:29 INF [path ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/murat] runOnReady command stopped
2023/06/18 11:35:29 INF [RTSP] [session c79a5ec5] destroyed (session timed out)
2023/06/18 11:35:29 INF [RTSP] [conn <IP_ADDRESS>:34114] closed (terminated)
2023/06/18 11:35:29 INF [RTSP] [session 7645cd5f] destroyed (terminated)
av_interleaved_write_frame(): Broken pipe
Error writing trailer of rtsp://localhost:8554/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/ffmpeg/murat: Broken pipe
av_interleaved_write_frame(): Broken pipe

I have read the readme of transcoding.
but multi-resolution llhls needs more than that
like multi-variant m3u8
synced multi-resolution fmp4 or ts .

@mpisat   how to do transcoding with  1 rtmp input, and  transcode it to 360p hls output

I solved that problem by using another application like
runOnDemand: node pull.js $RTSP_PATH $RTSP_PORT
where my pull.js code launches ffmpeg, and receives $RTSP_PATH $RTSP_PORT arguments
Here is the full code if you want to play with it. You should modify it to pull video from mediamtx, and transcode, and then push to mediamtx via rtsp with stream_720p or whatever you want. Having said that, now I realized my mistake, as runonready runs in a loop and it generates these errors. I should check incoming stream or separate paths to not transcode every incoming stream again (infinite loop)
const axios = require('axios');
const { exec } = require('child_process');

const pullStream = async (RTSP_PATH, RTSP_PORT) => {
    const lowerRTSP_PATH = RTSP_PATH.toLowerCase();

    // Check if the stream already exists
    const pathsResponse = await axios.get('http://<IP_ADDRESS>:9997/v2/paths/list');
    const streams = pathsResponse.data.items;
    const streamExists = streams.some(item => item.name === lowerRTSP_PATH && item.source && item.sourceReady === true && item.bytesReceived > 0);

    if (streamExists) {
        console.log('Stream already exists');
        return;
    }

    console.log(`RTSP_PATH: ${RTSP_PATH}`);
    console.log(`RTSP_PORT: ${RTSP_PORT}`);

    // Make a connection to the API
    const response = await axios.get(`https://my-remote-url${RTSP_PATH}`);
    const data = response.data;

    console.log(data);

    // Check if the stream is online
    if (data.online !== '1' && data.online !== '6') {
        console.log('Stream is offline');
        return;
    }

    const url = `rtmp://--this-is-for-my-custom-business-logic`;

    console.log(`RTMP URL: ${url}`);

    const ffmpegCommand = `/usr/bin/nohup /usr/local/bin/ffmpeg -hide_banner -loglevel info -fflags nobuffer -flags low_delay -i "${url}" -c:v copy -c:a libopus -b:a 96000 -ar 48000 -f rtsp rtsp://localhost:${RTSP_PORT}/${RTSP_PATH}`;

    exec(ffmpegCommand, (err, stdout, stderr) => {
        if (err) {
            console.log(`error: ${err.message}`);
            return;
        }
        if (stderr) {
            console.log(`stderr: ${stderr}`);
            return;
        }
        console.log(`stdout: ${stdout}`);
    });
}

const RTSP_PATH = process.argv[2];
const RTSP_PORT = process.argv[3];
pullStream(RTSP_PATH, RTSP_PORT);

@mpisat
thank you very much ,
but I did not get this example work
https://github.com/bluenviron/mediamtx#remuxing-re-encoding-compression
this session did not explain how to use ffmpeg scale 1 rtmp stream  into another hls
here is my paths configuration
paths:
  all:
  original:
    runOnReady: ffmpeg -loglevel error -i rtsp://localhost:$RTSP_PORT/$RTSP_PATH -tune zerolatency -g 150 -vf scale=640:360 -f rtsp rtsp://localhost:$RTSP_PORT/360/$RTSP_PATH
    runOnReadyRestart: yes

what is the rtmp url should be ?      rtmp://x.x.x.x:1935/original/abc  ?
and what should the playback url be ?   http://x.x.x.x:8888/compressed/abc    ?
I have trouble to make it work

if you use runonready it may cause another loop I think? I have to test it again and I will let you know.

after checking everything, runondemand works for me, but my use case is different.
I make a request to non existent stream
under
paths:
all:
runOnDemand: node pull.js $RTSP_PATH $RTSP_PORT
this pulls the video, and pushes to the same stream name that I'm connected as a viewer localhost:8889/streamname
I believe this one caused the issues for me
#runOnReady: ffmpeg -loglevel error -i rtsp://localhost:$RTSP_PORT/$RTSP_PATH -c:v libx264 -tune zerolatency -preset faster -b:v 2500k -bsf:v h264_mp4toannexb -g 30 -keyint_min 30 -profile:v baseline -level 3.0 -max_muxing_queue_size 1024 -f rtsp rtsp://localhost:$RTSP_PORT/ffmpeg/$RTSP_PATH
it was causing the infinite loop.
if you want to use runondemand method like me, use ffmpeg command similar to one above
and pull video from origin/streamname perhaps, assuming you push them to mediamtx/origin/streamname
and add runondemand for another path, where it can pull raw video, transcode, push to the non-existent stream you are trying to pull.
this should work with pre-defined streamnames, I'm not sure if we can catch all all streams under /origin or /live and apply different rules at this point.

ok so I used this config:
paths:
"~^live/":
runOnReady:
ffmpeg -loglevel error -i rtsp://localhost:$RTSP_PORT/$RTSP_PATH -c:v libx264 -tune zerolatency -preset faster -b:v 2500k -bsf:v h264_mp4toannexb -g 30 -keyint_min 30 -profile:v baseline -level 3.0 -max_muxing_queue_size 1024 -f rtsp rtsp://localhost:$RTSP_PORT/ffmpeg/$RTSP_PATH
all:
and then I pushed a video
ffmpeg -re -i rtmp://localhost:19350/stream -c copy -f flv rtmp://localhost:19350/live/stream
mediamtx logs:

2023/06/29 06:05:58 INF [RTMP] [conn <IP_ADDRESS>:57542] opened
2023/06/29 06:05:59 INF [RTSP] [conn <IP_ADDRESS>:37580] opened
2023/06/29 06:05:59 INF [RTSP] [session 75d04b3d] created by <IP_ADDRESS>:37580
2023/06/29 06:05:59 INF [RTSP] [session 75d04b3d] is publishing to path 'stream', with UDP, 2 tracks (H264, Opus)
2023/06/29 06:05:59 INF [RTMP] [conn <IP_ADDRESS>:57542] is reading from path 'stream', 1 track (H264)
2023/06/29 06:06:00 INF [WebRTC] [session 5ea150a5] peer connection established, local candidate: host/udp/<IP_ADDRESS>/43488, remote candidate: prflx/udp/x.x.x.x/52542
2023/06/29 06:06:00 INF [WebRTC] [session 5ea150a5] is reading from path 'stream', 2 tracks (H264, Opus)
2023/06/29 06:06:03 INF [RTMP] [conn <IP_ADDRESS>:57550] opened
2023/06/29 06:06:03 INF [path live/isabellaeva] runOnReady command started
2023/06/29 06:06:03 INF [RTMP] [conn <IP_ADDRESS>:57550] is publishing to path 'live/stream', 1 track (H264)
2023/06/29 06:06:03 INF [RTSP] [conn <IP_ADDRESS>:37584] opened
2023/06/29 06:06:03 INF [RTSP] [session 53469bef] created by <IP_ADDRESS>:37584
2023/06/29 06:06:03 INF [RTSP] [session 53469bef] is reading from path 'live/stream', with UDP, 1 track (H264)
2023/06/29 06:06:05 INF [RTSP] [conn <IP_ADDRESS>:32880] opened
2023/06/29 06:06:05 INF [RTSP] [session 730c181f] created by <IP_ADDRESS>:32880
2023/06/29 06:06:05 INF [RTSP] [session 730c181f] is publishing to path 'ffmpeg/live/stream', with UDP, 1 track (H264)
2023/06/29 06:06:15 INF [RTSP] [conn <IP_ADDRESS>:32880] closed (terminated)
2023/06/29 06:06:15 INF [RTSP] [session 730c181f] destroyed (terminated)
av_interleaved_write_frame(): Broken pipe
2023/06/29 06:06:15 INF [RTSP] [session 53469bef] destroyed (torn down by <IP_ADDRESS>:37584)
2023/06/29 06:06:15 INF [RTSP] [conn <IP_ADDRESS>:37584] closed (EOF)
2023/06/29 06:06:15 INF [path live/isabellaeva] runOnReady command exited with code 1

I tested with rtsp and rtmp, both same.
ffmpeg version 4.4-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers

paths:
"~^live/":
runOnReady:
ffmpeg -loglevel error -i rtmp://localhost:19350/$RTSP_PATH -c:v libx264 -tune zerolatency -preset faster -b:v 2500k -bsf:v h264_mp4toannexb -g 30 -keyint_min 30 -profile:v baseline -level 3.0 -max_muxing_queue_size 1024 -f flv rtmp://localhost:19350/ffmpeg/$RTSP_PATH
also produces same error

Do you have an example with HLS, not RSTP??


Layout

Hi Rob, I'm not sure why the top right hotspot toggle doesn't align properly on my laptop. Could you please check if this only happens on my side? Thanks : )

Hi Rob, I'm not sure why the top right hotspot toggle doesn't align properly on my laptop. Could you please check if this only happens on my side? Thanks : )

Yeah I can tell for a first that you have left the default #app styling from the Vue CLI template, so you will need to remove that for sure (why the top edge is offset). I am not sure if the fix that me and @dtorrenp came up with yesterday has made it in to this PR?

Try this commit @FreyaXH

(ofc you will need to rollup build after fetching this PR)


filter by process

It will be nice to filter by process either in the UI or like vtop --pid $PID

Yes! f4 or \ keys start a filtering search in htop, / starts a plain search.

I would love a search feature as well!
/ to search would be a nice addition, since you already use vim keys for other tasks

3 year later bump why is this not already a feature? i thought vtop was made to be more user friendly compared to the others...

3 year later bump why is this not already a feature? i thought vtop was made to be more user friendly compared to the others...

See my comment in #161.
tldr: https://github.com/tuh8888/vtop/tree/search


Expose woodpecker version in environment

be able to detect version of woodpecker.
This way we can add some warning messages via our e.g. clone plugins - so if there is an insecure version warn it and if critical let pipeline fail instead - so potential attacks (if they relay on pipeline engine) can be candled  ...

Isn't that was this is?
https://github.com/woodpecker-ci/woodpecker/blob/03638b29349d010bb777ad5cd565529a0ea9f8b6/pipeline/frontend/metadata.go#L186

@jolheiser - missed that thanks


OSX Installation Without Xcode?

Ideally we would install nothing to get running, but alas we usually have to install Xcode.
Xcode from the app store is the easiest way to get going.
The latest command line tools command_line_tools_for_osx_mountain_lion_april_2014.dmg for 10.8 do not contain any SDK bundles so it is required to fully install Xcode.  They do actually -- it's just the system Root /
To Do:

[ ] Is it possible to install with only command line tools on 10.9? command_line_tools_for_osx_10.9_september_2014.dmg

Just in case: there is no absolute necessity to install xcode toolkit to compile C++. You may, instead, use brew (for instance). Just like in Windows you can use mingw-w64. And if you are going to make user code really cross-platform, I'd recommend you to consider using a single toolchain (gcc) everywhere. Or even provide your own version of it (in advance).


De-dupe and delete record types.

Record types not connected/associated to any data or used for testing purposes:
Affidavit
House of Representatives Vote
Instrument of sale
bug test
Test

Record types duplicates:
Abstract (term appears 2 times)
Memoir (term appears 5 times)
Runaway (tem appears 2 times)

https://github.com/Brown-University-Library/disa_dj_project/blob/1dee7756548a00cdac123db0a141c1a0b6a5f021/disa_app/static/js/entry_form_settings.js#L244 has a couple of duplicates, but is not the source-of-truth for this dropdown. Possibly related to https://github.com/Brown-University-Library/disa_dj_project/blob/65560792bf2a8011e0a71d558458184c9b956bfa/disa_app/static/js/entry_form_data_in.js#L98?

The values to remove in entry_form_settings.js are:
'21':'bug test',
'36':'Instrument of sale',
'46':'House of Representatives Vote',
'49':'Test',
'53':'Runaway',
'55':'Affidavit',
78':'Abstract',
See the attached spreadsheet for the values which derive from the server (and are currently available on prod) and do not appear in entry_form_settings.js — we should confirm with DMC if these values should be included.
SR_record_types_comparison.xlsx


Stream Stops after 1 Minute ...

Hello everyone, I installed Camera UI. The latest version of the plugin and HomeBridge were installed on a new Mac.
I added a Eufy Floodlight Camera 2 Pro.
After restarting Homebridge, the stream works for a minute or two. But then the camera shows "No answer". Even in the Camera UI, it can no longer stream.
Hof: FFmpeg video analysis process exited with error! (null) - [rtsp @ 0x7f897e00a200] method DESCRIBE failed: 404 Stream Not Found rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found

[2/20/2022, 11:35:11 AM] [CameraUI] Hof: Restart videoanalysis session..
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Start stream requested: 1280x720, 30 fps, 299 kbps
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Incoming ping request for: rtsp://<IP_ADDRESS>/live0 - Timeout: 1s
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80 - successful
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Setting prebuffer stream as input
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Can not access prebuffer stream, skipping: Error: Prebuffer process not started!
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Starting video stream: native
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Stream command: /usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel level -i rtsp://<IP_ADDRESS>/live0 -an -sn -dn -vcodec copy -pix_fmt yuv420p -color_range mpeg -f rawvideo -payload_type 99 -ssrc 9556270 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params h774l1g8I/V0Y6kz8rBd45dcN8vZJxQNYYP0nL2a srtp://<IP_ADDRESS>:49965?rtcpport=49965&pkt_size=1318 -progress pipe:1
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: [rtsp @ 0x7fd22d008a00] [error] method DESCRIBE failed: 404 Stream Not Found
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: [error] rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: FFmpeg exited with code: 1 and signal: null - [rtsp @ 0x7fd22d008a00] [error] method DESCRIBE failed: 404 Stream Not Found - [error] rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found
[2/20/2022, 11:35:15 AM] [CameraUI] Hof: Stopped video stream.
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Incoming ping request for: rtsp://<IP_ADDRESS>/live0 - Timeout: 1s
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80 - successful
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Start prebuffering...
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Prebuffering command: /usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel error -fflags +genpts -i rtsp://<IP_ADDRESS>/live0 -vcodec copy -an -f tee -map 0:v? -map 0:a? [movflags=frag_keyframe+empty_moov+default_base_moof:f=mp4]tcp://<IP_ADDRESS>:13417|[f=mpegts]tcp://<IP_ADDRESS>:36365
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: FFmpeg prebuffer process exited with error! (null) - [rtsp @ 0x7fdc5300a200] method DESCRIBE failed: 404 Stream Not Found -  - rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found -
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Prebufferring process closed
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Restart prebuffer session..
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Incoming ping request for: rtsp://<IP_ADDRESS>/live0 - Timeout: 1s
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80 - successful
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Start videoanalysis...
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Videoanalysis command: /usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel error -i rtsp://<IP_ADDRESS>/live0 -an -vcodec pam -pix_fmt rgb24 -f image2pipe -vf fps=2,scale=640:360 pipe:1
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Videoanalysis: Difference: 5 - Sensitivity: 75 - Zones: [{"name":"region0","difference":5,"percent":25,"polygon":[{"x":0,"y":360},{"x":0,"y":0},{"x":640,"y":0},{"x":640,"y":360}]}]
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Videoanalysis scheduled for restart at 4AM: 985 minutes
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: FFmpeg videoanalysis process exited with error! (null) - [rtsp @ 0x7f840780a200] method DESCRIBE failed: 404 Stream Not Found rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Videoanalysis process closed
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: FFmpeg videoanalysis process exited with error! (null) - [rtsp @ 0x7f840780a200] method DESCRIBE failed: 404 Stream Not Found rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found
[2/20/2022, 11:35:21 AM] [CameraUI] Hof: Restart videoanalysis session..
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Incoming ping request for: rtsp://<IP_ADDRESS>/live0 - Timeout: 1s
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80 - successful
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Start prebuffering...
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Prebuffering command: /usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel error -fflags +genpts -i rtsp://<IP_ADDRESS>/live0 -vcodec copy -an -f tee -map 0:v? -map 0:a? [movflags=frag_keyframe+empty_moov+default_base_moof:f=mp4]tcp://<IP_ADDRESS>:35823|[f=mpegts]tcp://<IP_ADDRESS>:38883
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Incoming ping request for: rtsp://<IP_ADDRESS>/live0 - Timeout: 1s
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: FFmpeg prebuffer process exited with error! (null) - [rtsp @ 0x7f7f1800a200] method DESCRIBE failed: 404 Stream Not Found - rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found -
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Prebufferring process closed
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Restart prebuffer session..
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Pinging <IP_ADDRESS>:80 - successful
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Start videoanalysis...
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Videoanalysis command: /usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -loglevel error -i rtsp://<IP_ADDRESS>/live0 -an -vcodec pam -pix_fmt rgb24 -f image2pipe -vf fps=2,scale=640:360 pipe:1
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Videoanalysis: Difference: 5 - Sensitivity: 75 - Zones: [{"name":"region0","difference":5,"percent":25,"polygon":[{"x":0,"y":360},{"x":0,"y":0},{"x":640,"y":0},{"x":640,"y":360}]}]
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Videoanalysis scheduled for restart at 4AM: 984 minutes
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: FFmpeg videoanalysis process exited with error! (null) - [rtsp @ 0x7f975980a200] method DESCRIBE failed: 404 Stream Not Found rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Videoanalysis process closed
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: FFmpeg videoanalysis process exited with error! (null) - [rtsp @ 0x7f975980a200] method DESCRIBE failed: 404 Stream Not Found rtsp://<IP_ADDRESS>/live0: Server returned 404 Not Found
[2/20/2022, 11:35:31 AM] [CameraUI] Hof: Restart videoanalysis session..

The funny thing is, as soon as I open the Eufy app, select the camera, go to the settings and don't change ANYTHING, the HomeKit stream works again for a minute.

My Eufy is sometimes not reachable with the 404-error after frequently restarts caused by configuration changes of Homebridge. The only solution to reconnect rtps-stream is to disable an reenable the rtps-option from affected camera.
The usage of two-way-audio also leads to a ffmpeg error and automatic reconnect to the rtps-stream with the eufy-cam.
can you post your camera-config?

This is not caused by camera.ui but by the camera itself because it goes into a "standby" mode and the rtsp stream cannot be found (404).


Typo in class name in tutorial

On the 10th step in the Firebase Android Codelab, the heading of the code snippet to update the MyFirebaseInstanceIdService class says MyInstanceIDListenerService.java instead of MyFirebaseInstanceIdService .java
The name of the file in the repo is MyFirebaseInstanceIdService .java so seeing MyInstanceIDListenerService.java in the heading throws you off just a bit.

Thanks @nathanfletcher this should be fixed when the codelab is next published.


Fixes an assignment to entry in nil map panic

Description
Attributes map was not initialized when it is used by an interceptor.

Me and @mengelbart discussed this via PM
If a user isn't using any interceptors this would cause any extra un-needed allocation for every packet sent. For now we should push this check into interceptors. We can revisit this in the future if it becomes a problem.
I am going to close this for now. please re-open if you disagree!


use strict mode, closes #38

The gulp template of package.json was locked at TypeScript 2.0.0.  Hereby still locked but updated to 2.3.0 to support --strict . Not sure if you still need that that way.  Go ahead and unlock if you want.

hmm Sorry for the premature PR.  I see master's generated gulp project is not getting along with prettier.
[10:14:45] Using gulpfile ~\stuff\gulpfile.js
[10:14:45] Starting 'lint'...
internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.
      ^

Error: Invalid "extends" configuration value - could not require "tslint-config-prettier".
Review the Node lookup algorithm (https://nodejs.org/api/modules.html#modules_all_together)
for the approximate method TSLint uses to find the referenced configuration file.

My global version of gulp may be too new because I just installed it this morning. Not too sure. I don't use gulp anymore.

yeah, the gulp configuration is outdated. It's there only for historical reasons and 1.x setup. The generator started with gulp configuration and eventually I too moved away from it. I'll remove it in next major release.

That's what I figured.  Well I guess this PR is still good for the other configurations and it doesn't add too much extra breakage to the broken gulp one.

I'm almost ready to submit a PR with the new subgenerator I mentioned on another thread, i.e., to create the classes like Greeter.  It is working fine.  I can help clean out gulp after that if you like.

Would appreciate the cleanup if it's not too much of a hassle to you.

did you mean some cleanup of this PR?  did you want me to remove all the gulp support?

I was referring to the removal of gulp.

That seems like a different PR.  Should we just close this one?

Sorry for being unclear in the earlier comment and thank you for the comprehensive PR 👍 .


Break out offline graph slides into seperate components

For legibility, it is probably best to have the offline slides where live data would ordinarily be displayed live in different files.
Will have to add conditional linking to the NavBar menu

Broke out slides using react routers url-like routing features.
 I'll revisit it when I add subcategories to the SideMenu after ERPs are added.


[FUNC] Improvement of file scanning

It is possible to improve file scanning by using a file watcher. (Current scheme uses simple "polling" of file stat).
Perhaps this is of interest:
https://github.com/WebsiteDeveloper/bracketsFileWatcher
https://github.com/DennisKehrig/brackets-v8-node-live
https://github.com/DennisKehrig/brackets.ReloadInBrowser/blob/master/main.js
https://github.com/shakyShane/browser-sync
http://css-tricks.com/cross-browser-css-injection/

If a project file is deleted, the project is not reloaded. This should be remedied.
In hyper-server.js, function fileSystemMonitorWorker(), we can see the server stores only mLastReloadTime, and not a list of useful files, as would be needed.
See also #73.


Update to pull poi 3.8-beta4

Simply updated project.clj to pull poi 3.8-beta4 instead of 3.6. All tests passing.

Thanks for the patch. I appreciate you taking the time to help.
As we use the library in production, I prefer to wait for the POI 3.8 to get out of beta before upgrading.


timeout limit

Hi there.
I need to know if there's any limit to the rack timeout value.
Here in my company we use nginx with ruby, and in the config.ru file the
require "rack-timeout"
use Rack::Timeout
Rack::Timeout.timeout = 1800 # 30 min
is set.
The problem is by trying to set this value to 30min, 60min it gives me an error after 5 minutes of processing, like if the value set isn't allowed or recognized.
The following error shows up after 5 minutes:
Error code : -2 /  Message : Timeout::Error
Is there any limit, or even better, is there anyway to increase this value to 30, 60 minutes? We have some processes here that really take a LOT of time to finish and this timeout isn't working.
Thanks in advance!

rack-timeout does not raise Timeout::Error, it raises Rack::Timeout::RequestTimeoutError. There is no maximum value.
I think your connection is timing out, anything more than 30 seconds is a very long time. You shouldn't do long processing like this in an HTTP request, use background jobs (e.g. sidekiq) instead.


varnish fails on files bigger than 100M

it seems that SMA.s0.g_space is limited to 100M despite the memory pool allocated to varnish is bigger than that

It looks like the varnish documentation is a bit contradictionary:

By default Varnish will use 100 megabytes of malloc(3) storage for caching objects, if you want to cache more than that, you should look at the '-s' argument.

https://varnish-cache.org/docs/5.2/users-guide/command-line.html?highlight=malloc
vs.

The default size is unlimited.

https://varnish-cache.org/docs/5.2/users-guide/storage-backends.html?highlight=malloc

Default is 100M as per varnish code https://github.com/varnishcache/varnish-cache/commit/457708df7d926be7d65e5e58260d00a2d70063e3

i worked around by using following snippet within vcl_backend_response
  if (bereq.url ~ "(?i)\.(mp4)(\?.*)?$") {
      unset beresp.http.set-cookie;
      unset beresp.http.Cache-Control;
      return (pass);
  }

I think this currently happens with all responses bigger than 100M - The main issue I see is, that varnish LRU empties the cache till it can't continue further then terminates the partial requeset
-   ExpKill        LRU_Fail
-   FetchError     Could not get storage

Also seeing this issue coming up when the cache runs full and the LRU part fails to clean up enough memory in time.

During the team discussion we arrived at the conclusion that we will implement

Make the memory cache size configurable (will be needed for bigger sites)
Make the nuke_limit configurable
Piping trough varnish for pdf/mp4/mp3 files


Update applyNode API behavior

Background
https://github.com/aicers/review-web/issues/245 작업 이후, profile, profile_draft, giganto, agents, config, draft 와 같은 필드를 review-web에서도 사용할 수 있습니다.
Tasks

When there is an update in the configuration of a node after users click the apply button, central management server notifies the corresponding agents of the changes. We can use review-protocol crate's interface to notify the agents. At the same time, central management server updates the node's data, such as name with name_draft, profile with profile_draft and sets profile_draft to None, and updates config with draft. For Giganto, draft will be set to None.
We need to log apply actions along with the profile, profile_draft, config, draft and the timestamp.

When there is an update in the configuration of a node after users click the apply button, central management server notifies the corresponding agents of the changes. We can use review-protocol crate's interface to notify the agents. At the same time, central management server updates the node's data, such as name with name_draft, profile with profile_draft and sets profile_draft to None, and updates config with draft. For Giganto, draft will be set to None.

I don't think profile_draft needs to be set to None as draft remains unchanged.

@sehkone 같은 맥락에서 giganto의 draft 도 None 으로 세팅할 필요가 없을 것 같아서 맨 위 본문에서 해당 내용도 cross out 처리하였습니다.


Not shown on glass

The indicator is not shown on the glass block at all.
Hwyla 1.9.22, CIMTP v1.0.2, Fabric API v0.25.4, MC 1.16.4

glass blocks don’t have a tool to break it faster.


Update Gymnasium to v1.0.0

From Gymnasium's release notes (alpha 1 & 2) https://github.com/Farama-Foundation/Gymnasium/releases 👍

[x] Bump lunar lander to v3
[x] Bump highway env when they do the bump to gymnasium v1
[x] New vectorized envs (+ check MORL-Baselines' PGMORL) https://github.com/LucasAlegre/morl-baselines/pull/109
[x] New wrappers

Currently, the only test not passing is the one related to highway-env. This should be fixed when https://github.com/Farama-Foundation/HighwayEnv/pull/609 is merged.

Looks good to me now! :)

@ffelten can you fix these conflicts?

@ffelten can you fix these conflicts?

I was doing it x)


Yeelight Smart LED Bulb W3 doesnot work

While Yeelight s1 works OK, the new W3 does not.
The reason is it needs to send an answer to the host saying something like {"method":"props","params":{"power":"on"}} while printf "something" > /dev/tcp/xxx/yyy does not imply answers.
The solution is to change from
printf "{\"id\":1,$2}\r\n" >/dev/tcp/$ip/55443
to
printf "{\"id\":1,$2}\r\n" | nc -w 1 $ip 55443 &
It means netcat gets an answer and closes the connection after 1 second working in background. Works OK after that.

I haven't used this for a very long time. Do you mind to create a PR and I will merge?


Coordinate 0.5 release with relm4-store

[ ] Test a 0.5 beta version in relm4-store to find potential shortcomings in the API

This weekend I'm working on the reordering of records in the store on the store view side. It's already second week I'm working on that and I don't know if I'll be able to close it.
This is huge internal change for window behavior since my math shows 90 cases to handle by each implementation.
If you release the 0.5 beta please ping me here and I'll migrate relm4-store

@mskorkowski how is it going?


Import days_ago

fixes #6
Tested locally, the DAG import error went away when I added this import line.

Ah, the issue here is that days_ago shouldn't be part of the DAG declaration. Apparently, this is a practice that the Airflow folks have been trying to stamp out for a while. An explicit start date should be used instead, like start_date=datetime(2022, 4, 12).
I believe @josh-fell probably missed this one when he was removing all of the instances of days_ago in a previous PR. I'll submit a separate PR with this fix.

I've submitted #19, which removes days_ago from this DAG. I believe this PR can be closed now w/o merging.


Warning in console. Accessing PropTypes via the main React package is deprecated

The only warning in my console is Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.. It appears to be directly linked to the the react-geouggest package.

Please upgrade to the latest version, it was fix a couple of days ago.


TypeError: Couldn't parse file content!

   DESCRIPTOR = _descriptor.FileDescriptor(   File "/Library/Python/3.8/site-packages/google/protobuf/descriptor.py", line 942, in __new__     return _message.default_pool.AddSerializedFile(serialized_pb) TypeError: Couldn't parse file content!
Any help? Tried downgrading protobuf didn't work :(
New install, got the Auth Token form the app (atna%EwICIILCqsLMlH67Vyhv1 ....)

Auth token is case sensetive and like "Atna|EwIC...." try urldecoding the auth token before using it. you can use NPP->Plugins->MIME Tools->URL Decode

Auth token is case sensitive and like "Atna|EwIC....". it should not have a "%" after Atna. try urldecoding the auth token before using it. you can use NPP->Plugins->MIME Tools->URL Decode

Thanks, using the right token format now.
Problem didn’t resolve so swapped to Ubuntu Server, downgraded proto to 3.14.0, all working.
Bit odd but I’ll go for it.


Notes are skipped on import due to attachment name duplicates

This has been mentioned before in https://github.com/obsidianmd/obsidian-importer/issues/229 and https://github.com/obsidianmd/obsidian-importer/pull/231
Notes are skipped on import due to attachment name duplication:

On some notes that have been imported images have been swapped out with other images because filenames in attachments from Bear are the same.

Another report here: https://github.com/obsidianmd/obsidian-importer/issues/181

Seems to have been closed multiple times as duplicates. There's an active PR that has been reviewed but the author has since disappeared. Let me see if we can make some more progress on it.
Here's the active PR: https://github.com/obsidianmd/obsidian-importer/pull/231

Still very much a problem with 1.6.5 importing from OneNote

Thanks for reporting this. Looks like the fix we put in was specific to the Bear format. I'll look into a more generic fix.

@jspv, would you mind testing if this update fixes the OneNote importer duplicate attachment names issue for you?

Download this zip: main.zip
Unzip the file.
Open your Obsidian vault, replace /.obsidian/plugins/obsidian-importer/main.js with this file.
Close and reopen Obsidian.

This should be resolved in 1.6.8. Please let us know if it is not.


pub-pkg bots need flags removed

pub-pkg bots:
Nothing actionable on the last 3 failing bots - they just need the recipe step that uses those flags (--use-public-packages and --use-repo-packages that have been removed) removed from them.  There should just be one step, that has no flag.

Fixed in the package bots recipe by https://chromium-review.googlesource.com/c/439446/


add ffjson marshal, update deployment yaml & makefile

updates to ffjson for json marshalling

from ffjson https://github.com/pquerna/ffjson
Performance Status:
MarshalJSON is 2x to 3x faster than encoding/json.
UnmarshalJSON is 2x to 3x faster than encoding/json.


MiniControllerFragment set background color not work

Hi guys, i changed the background color from the style but it does not work. The background color is transparent. Please tell me what I do wrong? Thanks in advance.
style.xml
<style name="CustomCastMiniController" parent="CastMiniController">         <item name="castShowImageThumbnail">true</item>         <item<EMAIL_ADDRESS>       <item<EMAIL_ADDRESS>       <item name="castBackground">#FFFFFF</item>         <item name="castProgressBarColor">@color/colorAccent</item>     </style>
layout.xml
<fragment         android:id="@+id/cast_mini_controller"         android:layout_width="fill_parent"         android:layout_height="wrap_content"         android:layout_alignParentBottom="true"         class="com.google.android.gms.cast.framework.media.widget.MiniControllerFragment" />

version
compile 'com.google.android.gms:play-services-cast-framework:10.2.6'

If you change the style of the sample app (without changing anything else), does it work for you?

Hi, only add app:layout_insetEdge="bottom" in xml. Thanks!

@perucholly Hi there, my background is also transparent. Did you find a solution?
Thank you.

@entertailion Hi, I've changed the style of the sample app: #000000.
And background is now transparent.

Use @color/white instance of #ffffff

I have the same issue, regardless of whether I use a color resource (@color/white), a theme reference (?colorBackground) or a hex color directly (#FFFFFF or #FFFFFFFF).

Oh, but setting app:castBackground="@color/white" on the `` works, actually! However, this still only works with an @color reference. It would be nice if we could use a theme attribute for this.


Use lookup parameters for embeddings, but only on a per document basis

Only words in the document are included, not the entire vocabulary.

Java knows how much memory it has available and collecting garbage long before that memory is exhausted may not be efficient.  I don't think it knows how much C++ memory that DyNet is using up.  It could be a lot more than Java.  I wonder if Java is not being serious about collecting the garbage before the C++ memory usage causes problems.  It might be that reducing the memory that Java can use will force it to clean up before C++ is an issue.  That would be a tough calculation to make, though.
At the Java level all the objects have, in addition to finalize, a delete method which is used to free the C++ memory.  Finalize calls it and it can be called multiple times because it remembers it has been called.  Some manual garbage collecting can be performed so that each lightweight Java object dumps its heavier C++ memory as soon as processors knows the object won't be used anymore, but before the GC gets around to doing it.  It almost seems like what delete was designed to do.  Unfortunately, that Java object is usually not exposed through the Scala object.  However, I could add it.  The ParameterCollection, LookupParameter, and FloatVector that are being used in ConstEmbeddingsGlove and that ConstEmbeddingParameters would be really good candidates for this.

I agree. This makes perfect sense.
In CluProcessor, this is the place to delete stuff:
https://github.com/clulab/processors/blob/glovecrash4/main/src/main/scala/org/clulab/processors/clu/CluProcessor.scala#L119
There are other places in Metal, but I can handle those if I see an example.


What is the name of backdrop effect on Windows 11 22H2 Build 22621?

Hey,
I want to have more unified backdrop effects on my windows 11, Which backdrop effect does windows 11 22H2 use?

Could you please stop creating new useless issues everyday?


React step 5

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

@smanikandan-btech Your PR is made against carbon-design-system:master and not carbon-design-system:react-step-5. Also you need to include your mybluemix.net URL for your deployed app in your pull request description. Please close this PR and try again


[AutoDiff] TF-242: Disable cleanup for pullback indirect results.

Cleanup should be disabled for pullback indirect results,
just like for direct results. No results should ever be released.
Enables correct differentiation of applied(to:) for generic layer
combinators, verified via tests.
Resolves TF-242.
Other gardening:

Improve reabstraction thunk debug printing.

Thunk from and to types are now printed clearly.
Thunk body is now printed.

Change cleanup to always perform destroy_addr instead of release_value_addr.

destroy_addr does strictly more.

This PR depends on https://github.com/apple/swift/pull/22678; please rebase/test after https://github.com/apple/swift/pull/22678 is merged.
New changes start from this commit: https://github.com/apple/swift/pull/22679/commits/9fcc9c427a20889fd8c53de6bcb5b31bbd6bb5ed

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

@swift-ci Please clean test tensorflow

@swift-ci Please clean test tensorflow

@swift-ci Please clean test tensorflow

@swift-ci Please clean test tensorflow

Linux CI is stuck. Merging to unblock progress.


Update Jackson to 2.9.5

Update jackson version from 2.9.4 to 2.9.5 to address CVE-2018-7489, a deserialization flaw with CVSS v3.0 Base Score of 9.8 (critical)

Thanks!


Problem with Navigator.pushReplacement()

Hello,
I just noticed if I use the pushReplacement() method of the navigator in the widget which has the WithForegroundTask implemented, the foreground service get lost. Is there any solution to this?
I am using FirebaseAuth in my App and want to provide an logout function which routes to an login page. I dont want to register the service on login.

Would you like to update the plugin version to 3.2.0 and try this way?
dependencies:
  flutter_foreground_task: ^3.2.0

The example below can receive messages of ReceivePort from multiple pages without stopping the service. When stopping the service, be sure to call the ReceivePortManager.instance.dispose() function.
import 'dart:async';
import 'dart:isolate';

import 'package:flutter/material.dart';
import 'package:flutter_foreground_task/flutter_foreground_task.dart';

/// ReceivePortManager
class ReceivePortManager {
  ReceivePortManager._internal();
  static final instance = ReceivePortManager._internal();

  ReceivePort? _receivePort;
  StreamController? _streamController;

  Stream? get messageStream => _streamController?.stream;

  bool get isSetReceivePort => _receivePort != null;

  Future setReceivePort(ReceivePort? receivePort) async {
    await dispose();

    _streamController = StreamController.broadcast();
    _receivePort = receivePort;
    _receivePort?.listen((message) => _streamController?.add(message));
  }

  Future dispose() async {
    await _streamController?.close();
    _streamController = null;
    _receivePort?.close();
    _receivePort = null;
  }
}

// The callback function should always be a top-level function.
void startCallback() =>
    FlutterForegroundTask.setTaskHandler(FirstTaskHandler());

class FirstTaskHandler implements TaskHandler {
  int updateCount = 0;

  @override
  Future<void> onStart(DateTime timestamp, SendPort? sendPort) async {

  }

  @override
  Future<void> onEvent(DateTime timestamp, SendPort? sendPort) async {
    sendPort?.send(updateCount);
    updateCount++;
  }

  @override
  Future<void> onDestroy(DateTime timestamp) async {

  }
}

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: LoginPage());
  }
}

class LoginPage extends StatefulWidget {
  const LoginPage({Key? key}) : super(key: key);

  @override
  _LoginPageState createState() => _LoginPageState();
}

class _LoginPageState extends State<LoginPage> {
  StreamSubscription? _streamSubscription;

  Future<void> _initForegroundTask() async {
    await FlutterForegroundTask.init(
      androidNotificationOptions: const AndroidNotificationOptions(
        channelId: 'notification_channel_id',
        channelName: 'Foreground Notification',
        channelDescription: 'This notification appears when the foreground service is running.',
        channelImportance: NotificationChannelImportance.LOW,
        priority: NotificationPriority.LOW,
      ),
      iosNotificationOptions: const IOSNotificationOptions(),
      foregroundTaskOptions: const ForegroundTaskOptions(),
      printDevLog: true,
    );
  }

  Future<void> _startForegroundTask() async {
    ReceivePort? receivePort;
    if (await FlutterForegroundTask.isRunningService) {
      if (!ReceivePortManager.instance.isSetReceivePort) {
        receivePort = await FlutterForegroundTask.restartService();
      }
    } else {
      receivePort = await FlutterForegroundTask.startService(
        notificationTitle: 'Foreground Service is running',
        notificationText: 'Tap to return to the app',
        callback: startCallback,
      );
    }

    if (receivePort != null) {
      await ReceivePortManager.instance.setReceivePort(receivePort);
    }

    _streamSubscription = ReceivePortManager.instance.messageStream?.listen((event) {
      if (event is int)
        print('receive1 updateCount: $event');
    });
  }

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance?.addPostFrameCallback((_) async {
      await _initForegroundTask();
      await _startForegroundTask();
    });
  }

  @override
  void dispose() {
    _streamSubscription?.cancel();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return WithForegroundTask(
      child: Scaffold(
        appBar: AppBar(
          title: const Text('Login Page'),
          centerTitle: true,
        ),
        body: Center(
          child: ElevatedButton(
            child: const Text('goto MainPage'),
            onPressed: () {
              final route = MaterialPageRoute(builder: (_) => const MainPage());
              Navigator.of(context).pushReplacement(route);
            },
          ),
        ),
      ),
    );
  }
}

class MainPage extends StatefulWidget {
  const MainPage({Key? key}) : super(key: key);

  @override
  _MainPageState createState() => _MainPageState();
}

class _MainPageState extends State<MainPage> {
  StreamSubscription? _streamSubscription;

  @override
  void initState() {
    super.initState();
    _streamSubscription = ReceivePortManager.instance.messageStream?.listen((message) {
      if (message is int)
        print('receive2 updateCount: $message');
    });
  }

  @override
  void dispose() {
    _streamSubscription?.cancel();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return WithForegroundTask(
      child: Scaffold(
        appBar: AppBar(
          title: const Text('Main Page'),
          centerTitle: true,
        ),
        body: Center(
          child: ElevatedButton(
            child: const Text('goto LoginPage'),
            onPressed: () {
              final route = MaterialPageRoute(builder: (_) => const LoginPage());
              Navigator.of(context).pushReplacement(route);
            },
          ),
        ),
      ),
    );
  }
}

Wow thnx for the effort. It's working now. Big thanks!


Renamed properties

There was a request as well we'll be migrating to YAML soon, to change the properties name.
Fixes #1027.

Hi!
Thank you for your contribution!
Would you mind signing the ICLA, as described in the Contributing page?
Also, please, feel free to join our chat channel on Gitter, if you'd like to learn more about the project and/or like to find out what else you could help with.
Kind regards,
Martin

I've reviewed, the pull request and it looks good, thank you! :)

@carlspring This fix is ready for merge.

@adavid9 ,
Could you please sync this  brnach and sort out the merge conflicts? Thanks! :)

@steve-todorov ,
Would you mind running a quick test of the strongbox-web-core and strongbox-distributionfor this?

Thanks for your work on this @adavid9! :)