Cannot install or upgrade

Not sure if install has a bad symlink or what. Previous version worked fine.
https://gist.github.com/kevwil/1b5b35282c7845a6f5c807fed7261bdd

@kevwil have you run with sudo?

No, my /usr/local is owned by my user.
I just tried installing 5.1.1 and it failed as well, but 5.0.3 installed just fine.

Same issue.

@chrisalcantara I just released 5.2.0, can you give that one a try?
Also try npm cache clean.

Unfortunately, that didn't work. This is the error message I'm getting when I sudo install.
/usr/local/lib
└── (empty)

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/5.8.0/bin/node" "/usr/local/bin/npm" "install" "-g" "npm-check"
npm ERR! node v5.8.0
npm ERR! npm  v3.7.3
npm ERR! path /usr/local/lib/node_modules/npm-check/bin/cli.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/npm-check/bin/cli.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/npm-check/bin/cli.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/npm-debug.log
npm ERR! code 1

Same here

Same here. I am not able to install it

Just ran into this as well. Both on my Mac, and in Docker.

Regardless of the version of Node or NPM I am using, I experience the issue of not being able to install or upgrade
> $ npm i npm-check -g                                                                                ⬡ 5.10.1 [±cleanup/deps-general ●●●]
/Users/myuser/.nvm/versions/node/v5.10.1/lib
└── (empty)

npm ERR! Darwin 15.3.0
npm ERR! argv "/Users/myuser/.nvm/versions/node/v5.10.1/bin/node" "/Users/myuser/.nvm/versions/node/v5.10.1/bin/npm" "i" "npm-check" "-g"
npm ERR! node v5.10.1
npm ERR! npm  v3.8.3
npm ERR! path /Users/myuser/.nvm/versions/node/v5.10.1/lib/node_modules/npm-check/bin/cli.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/myuser/.nvm/versions/node/v5.10.1/lib/node_modules/npm-check/bin/cli.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/myuser/.nvm/versions/node/v5.10.1/lib/node_modules/npm-check/bin/cli.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/myuser/Projects/github/jameswomack/react-localize/npm-debug.log
npm ERR! code 1

Exact same issue. :+1:

npm-check has been working for me for a while.  The 5.0 jump broke for me.  4.1.4 still installs and works fine.
npm ERR! Please include the following file with any support request:
Here is my npm-debug.log

npm install<EMAIL_ADDRESS>-g

worked for me

Thanks everyone, fixed in 5.2.1!
npm -g i npm-check

to get the latest. Let me know if you are still having problems.

Works now. Thanks so much!


Typings for pisco.prettyforms

I am not sure if typings for such a small not-exactly-reference-quality library should go to the main DefinitelyTyped repository. However, I needed the definitions, so I’m sharing them in case somebody wants them.

@mormegil-cz thank you your contributions.
please check this document. http://definitelytyped.org/guides/contributing.html#tests

Fair enough.


no-unknown-property add more <video> attributes, onMouseMoveCapture  and changes to rule documentation

This PR adds:

  autoPictureInPicture, controls, controlList, disablePictureInPicture, disableRemotePlayback, loop, muted, poster,preload and allows them only on <video> element
allows <line>, <mask> and <use> to have fill property
allows onError property on <link> and <source> elements
allows onLoad property on <link> element
allows numbers in valid data-* properties
moves allowFullscreen to case ignored properties
unit tests for these properties
adds a mention to no-unknown-property rule documentation about ignored properties, when using libraries that pass information with some new props (like css prop when using emotion)

Looks like it's controlsList, not controlList: #3397

How about onLoad on iframe? I've been successfully using this prop in the past, React handles it fine.

@wereHamster see #3398.


bug:rpc error: code = Unknown desc = failed to execute message; message index: 0: Error calling the VM: Error executing Wasm: Wasmer runtime error: RuntimeError: Aborted: panicked at 'attempt to subtract with overflow

Registered 4 GRAINS for paloma1em7d6xl5ld3emyyynmyffsjpagak3250qw8tqv
{
  "data": {"denom":"ugrain","amount":"4000000"}
}

The claim contract - paloma1d7ru9e8qcs70qp97ffwgya7lt5qpe7r6n6y86f7gwukfxj9h68psl0lwwe has more than 30 GRAINS
I got an error when I claim
{
  "code": 2,
  "message": "rpc error: code = Unknown desc = failed to execute message; message index: 0: Error calling the VM: Error executing Wasm: Wasmer runtime error: RuntimeError: Aborted: panicked at 'attempt to subtract with overflow', claims/signed_claims/src/contract.rs:66:24: execute wasm contract failed [!cosm!wasm/wasmd@v0.30.0/x/wasm/keeper/keeper.go:428] With gas wanted: '0' and gas used: '116495' : unknown request",
  "details": [
  ]
}

I think the contract realizes the ugrain amount as grain amount

Fixed in https://github.com/palomachain/paloma-rs/pull/59


[Feature Request] Explore the .riv file

Feature Request
It would be very useful to be able to explore the content of a .riv file once uploaded:
1. File :

Name of the artboards

2. Arboard:

Name of the animations
Name of the nodes
Name of the bones

3. Node:

Name of the children nodes
Type of node (group, path, ellipse, ...)
Their properties (beyond x, y, rotation, scaleX, scaleY)

Use case
In this animation recorder I load the files from client dynamically, so I've got not many information about the artboards & animations, except the amount of animation in the default artboard.
https://rive-video-recorder.netlify.app/
It would provide a much nicer UX if animations could be named for example.
Thanks for the hard work

Watch this space; we're working on something very much like this and will have it ready in a week or so.

https://rive.app/preview/ is our first cut at making a simple tool to explore the animations in a Rive file.
Exploring the lower level stuff is also a great idea; probably should be baked into the api.

Exposed more of the cpp surface to make listing artboards, state machines, etc. easier and adding in a get contents function to rive-js


Enhance Revealer Clickable Area for Collapsing

Description
Currently, the Revealer component is only collapsible when clicking on the first row, where the revealer sign is located. To improve the user experience, it would be beneficial to make the entire Revealer box clickable for collapsing.
Current Behavior
The Revealer component collapses/expands only when clicking on the first row (where the revealer sign is).
Desired Behavior
The Revealer component should be collapsible/expandable when clicking anywhere within the Revealer box, not just the "first row".
Benefits

Enhanced usability and user experience.
More intuitive interaction for users.

Image:

I like this idea. We should probably add this and see if it's nice to use in practice


Not able to locate files while running tessera

I am trying to set up quorum-7 nodes which has a prerequisite of Tessera.
I am struck while trying to run
https://github.com/jpmorganchase/tessera#running-tessera
The path seems to have changed for the target jar and config.json is also not found.
Could you please fix this?

After running mvn install the Tessera jars are now located in /tessera-dist directory.
Thanks for pointing this out, I'll update the README.
tessera-dist/tessera-app is a "fat" jar and contains all dependencies you may need to run Tessera.  tessera-dist/tessera-simple is a stripped-down jar allowing you to add only the dependencies you need to classpath depending on how you are configuring/using Tessera.
When running Tessera normally, you will have to create a configfile and provide the path to that yourself.  If using the 7nodes example, the Tessera configfiles are generated as part of the startup scripts so this step is handled for you.  See the 7nodes docs for more info.


Add support for xs:date

The following table shows how one would adapt all XML schema definitions.

XML schema definition
XmlAdapter
Java class

xs:dateTime
OffsetDateTimeXmlAdapter
OffsetDateTime

xs:time
OffsetTimeXmlAdapter
OffsetTime

xs:date
OffsetDateXmlAdapter
OffsetDate

OffsetDate and OffsetDateXmlAdapter don't exist currently. OffsetDate is being worked on here: https://github.com/ThreeTen/threeten-extra/pull/138. I'll add OffsetDateXmlAdapter to threeten-jaxb-extra once OffsetDate ist available in ThreeTen/threeten-extra.

See Stack Overflow:
What are the use cases justifying the 310 OffsetDate type?

Hey @mkroening ,
Is this issue still open? I see that OffsetDate has been added to threeten-extra.

Okay I will open PR for this :)

Hey @mkroening I've opened #23

Resolved in https://github.com/threeten-jaxb/threeten-jaxb/pull/23.


Does a base_dimension belong to particular quantity_system(s)?

Mpusz units on new_design branch splits into quantity_systems { physical.si, physical.cgs, data }
Does a base_dimension belong to particular quantity_system(s) or is a base_dimension allowed in any quantity_system? Or alternatively do quantity systems themselves belong to a particular quantity "universe"? (The base_dimension then exists in that universe rather than a particular quantity system.
Is there a dependency of base_dimension on the particular system(s) in use as suggested here?
https://github.com/mpusz/units/blob/new_design/src/include/units/base_dimension.h#L39
One dependency, for example might be if base-dimensions are ordered differently in different systems, or maybe two base_dimensions from different systems compare the same for ordering. Then what happens if various systems are used simultaneously?
If there is a dependency then instead of
is_base_dimension
one might have to do
is_base_dimension_of<QuantityUniverse,T>
Now the next issue.  It is necessary to know what universe the computation applies to at compile time, so how one finds and applies the quantity_system a computation is in during compilation? .
(Maybe by choosing a custom header  eg, as for example (std::cout availability is dependent on iostream header for example)

Here is where I am at as regards base_dimension
A base_dimension is a globally unique entity within an application.
exponents of base_dimensions can be combined in a set known as a dimension.
For convenience c++ classes representing unique base_dimensions must be totally ordered at compile time.
Alternatively you have to restrict a base_dimension to a particular system e.g Newtonian Physics or Quantum Physics etc

Hi, thanks for the review of a new design :-) You raised a few interesting questions here and well, even though I designed and implemented all of this I am not sure if I know how to answer them ;-)
We always had base_dimension in the design but for now, it was fixed to one bae unit (i.e. physical length was always measured in metres even when we simulated CGS dimensions). This metre symbol was hardcoded in the base_dimension implementation and independent from metre unit defined for a derived dimension. It bothered me a lot. Also up to now, every base_dimension was repeated as a derived one (i.e. length = <exp<base_dim_length, 1>> and only this one was later used to composed real derived dimensions like area or velocity. New design solves all of those problems.
Right now a physical dimension is still identified by a unique text identifier (i.e. "length") that is the most important part of the ordering (BTW, I fixed a potential bug there based on your comment, thanks! :-) ), but additionally gets a base unit that is adopted in a specific system of units. So:
namespace units::si {

struct dim_length : base_dimension<"length", metre> {};
struct dim_mass : base_dimension<"mass", kilogram> {};
struct dim_time : base_dimension<"time", second> {};
struct dim_current : base_dimension<"current", ampere> {};
struct dim_temperature : base_dimension<"temperature", kelvin> {};
struct dim_substance : base_dimension<"substance", mole> {};
struct dim_luminous_intensity : base_dimension<"luminous intensity", candela> {};

}

namespace units::cgs {

using si::centimetre;
using si::gram;
using si::second;

struct dim_length : base_dimension<"length", centimetre> {};
struct dim_mass : base_dimension<"mass", gram> {};
using si::dim_time;

}

You ask "Is there a dependency of base_dimension on the particular system(s) in use as suggested here?". I think that the answer is no. Base dimensions do not depend on a system. They define one. A set of base dimensions for all system's base quantities yields a system of those base quantities.
They are not closed to this system. You can freely mix base dimensions from different systems to form one derived dimension (if one wishes so).
One more use case for this feature is not strictly connected to define a system of units but opens the doors to provide units that have the same dimensions but different units in the numerator and denominator like the Hubble parameter mentioned by Vincent Reverdy in https://wg21.link/p1930.
BTW, if you would like to discuss some stuff more interactively please reach me on Cpplang Slack. I really value your feedback. Thanks!

@mpusz That is very helpful. Thankyou.

I am wondering about the uses of template strings to uniquely identify base dimension. 2 issues.

If I am writing a pre c++2a library ( as I am), then I can't use them easily
You cant reuse the name returned by the base_dimension in different quantity systems.

For uniquely identifying base-dimension, an  alternative to string is a UUID
https://en.wikipedia.org/wiki/Universally_unique_identifier
No need to re-invent the wheel here either, since there are already some UUIDS assigned for(nearly) the purpose in the bluetooth specification, which are at least a standardised useful starting point to work from.
https://www.bluetooth.com/specifications/assigned-numbers/units/
The numbers used there are so called 'short form' UUIDS which stand in for the full length UUIDs where the number there is added to a reserved value.
One could reserve  'short form' UUIDS and require custom dimensions to use the full length UUID

This is a library using c++20 features. Strings as NTTP is only one of many C++20 features used there and all of them will be the reason for your code to not compile on a pre C++20 compiler. Also, I do not care much about other strange quantity systems. If it is a physical "length" than just reuse it with the same name and a unit that is a base unit for length for this system of units (this exactly why base_dimension was refactored in a new design). If the length base dimension is really strange and does not conform to a physical system meaning of it than just it what it is a "strange length" as its identifier ;-)
With the above, I do not think that introducing UUID to the C++ Standard Library is a good idea here.

OK.
I have one other issue. I think this thing we are calling base_dimension, should be called base_quantity
See here in middle of the page. https://physics.nist.gov/cuu/Units/units.html
I renamed things in one branch of my library and I think it is much easier to read.
https://github.com/kwikius/pqs/blob/exposition_physical_base_unit/src/include/pqs/bits/dimension.hpp#L97

I am really open to bikeshedding of names if needed, but in this particular case, I have a really strong opinion.
First of all, please note that I am fully aware of the official terms and definitions. If you do not have access to ISO 80000, you can find most of them in chapter 4.1 of my paper: https://wg21.link/p1935.
It is true that officially the SI specs define quantity (divided to a base and derived quantity) and "just" a dimension (no base or derived) that is a list of exponents. If I would like to follow exactly this nomenclature than:

Length and all other SI base quantities would be handled by base_quantity class template
All derived quantities would be handled by derived_quantity class template
Both derived_quantity and base_quantity class templates would have nearly the same interface (and this is the biggest and the most complicated class of the library)
Users would need to be aware when to instantiate a derived_quantity and when to instantiate a base_quantity (also in a generic code)

However, please note that ISO 80000, even in the official definitions chapter, often mentions dimensions of base quantities which clearly states that base quantities also have their own dimensions ;-). For example, the definition of dimension looks as follows:

expression of the dependence of a quantity on the base quantities of a system of quantities as a product of powers of factors corresponding to the base quantities, omitting any numerical factor. A power of a factor is the factor raised to an exponent. Each factor is the dimension of a base quantity.

Above clearly states that base quantities have their own dimensions that then are used to form exponents of a "dimension" (in our case derived_dimension). Also in the same derived dimension definition, there is a table that iterates all "symbols for dimensions" of "base quantities" (i.e. L for length). which clearly states that dimensions of base quantities have unique identifiers.
This is why I believe that in this particular case we are really OK with our design. From the implementation point of view I have to know which factor of a derived dimension definition is a base quantity and which is a derived one because if I get a derived one from the user than I have to unpack it to a list of base quantities. This is why we need to have two strong types in the design:

base_dimension
derived_dimension

As you know both have also different properties (i.e. base_dimension need a unique and sortable identifiers which is an implementation detail that ISO 80000 does not bother much about ;-) ).
I also believe that it is much easier for the user to have only one quantity abstraction that handles both base and derived quantities. Splitting this would complicate writing generic code a lot.


chore(main): release 0.4.8

:robot: I have created a release beep boop
0.4.8 (2024-08-24)
Bug Fixes

exposed more fields to getDynamic options (9aa47a6)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.4.8
:sunflower:


Sample ssh-ident file has syntax errors?

Hi!
I tried using the sample ssh-ident file described in the README, and got this error:
horusdev@devbox4:~$ python --version
Python 2.7.6

horusdev@devbox4:~$ ssh -T<EMAIL_ADDRESS>-v
Traceback (most recent call last):
  File "/home/horusdev/bin/ssh", line 979, in <module>
    sys.exit(main(sys.argv))
  File "/home/horusdev/bin/ssh", line 939, in main
    config = Config().Load()
  File "/home/horusdev/bin/ssh", line 462, in Load
    exec(compile(open(path).read(), path, 'exec'), LOG_CONSTANTS, variables)
  File "/home/horusdev/.ssh-ident", line 47
    "SSH_OPTIONS": {
                 ^
SyntaxError: invalid syntax

I fiddled around in the file (sorry, I'm not too familiar with Python syntax), and had to change the following to run successfully:
# I dropped the quotes around SSH_OPTIONS here, and used '=' instead of ':'
SSH_OPTIONS = {
  "work": "-Xa",
  "secret": "-A"

# Dropped a trailing comma after this, not sure if it's necessary
}

# Same here: dropped quotes around the property name, used = and dropped trailing comma
SSH_DEFAULT_OPTIONS = "-oUseRoaming=no"

Now it's working properly. I'm not sure if this syntax works in newer versions of Python, just wanted to give a heads-up.
Thanks!

I just merged a fix for SSH_DEFAULT_OPTIONS, will fix SSH_OPTIONS shortly. Thanks for reporting the bug, and sorry for latency.


[HHH-11522] Error on empty config about missing dialect instead of no connection

JIRA: https://hibernate.atlassian.net/browse/HHH-11522
When starting a session with an empty hibernate config (test project):
final StandardServiceRegistry registry = new StandardServiceRegistryBuilder()
        .build();
SessionFactory sessionFactory = new MetadataSources(registry)
        .buildMetadata()
        .buildSessionFactory();
try(Session session = sessionFactory.openSession()){
    session.beginTransaction();
    session.getTransaction().commit();
}

The error that gets propagated to the user contains a cryptic message about a missing dialect:
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
        at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:100)
        at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:54)
        at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:137)
        at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
        at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:259)
        ... 18 more

(Complete output)
A more appropriate error should inform about the main issue here - no available connection.
I propose to change the dialect detection procedure to return a default dialect (aka new Dialect() {}) on failure and moving on. The exception that gets propagated to the user becomes:
Exception in thread "main" java.lang.UnsupportedOperationException: The application must supply JDBC connections
        at org.hibernate.engine.jdbc.connections.internal.UserSuppliedConnectionProviderImpl.getConnection(UserSuppliedConnectionProviderImpl.java:44)
        at org.hibernate.internal.NonContextualJdbcConnectionAccess.obtainConnection(NonContextualJdbcConnectionAccess.java:35)
        at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:99)
        at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:129)
        ....

(Complete output)
Instead of returning an anonymous instance of Dialect, a new DefaultDialect class might be a better choice.

Why is that change needed? You do need a dialect as othewise Hibernate will not be able to work properly.
What we could do is to try to resolve the Dialect automatically based on the underlying DatabaseMetadata. Anyway, I see no value in using a default Dialect.

The problem here is that, when hibernate is started with empty configuration, the first thing it complains about is the missing dialect. (There is not connection information, so it cannot be resolved using DatabaseMatadata). This error message is confusing and obscures the root of the problem - no connection configuration.

I agree with @vladmihalcea, hibernate needs a dialect in order to work properly so maybe we can just rephrase the error message to make even more explicit the fact that 'hibernate.dialect' is mandatory.

OK. I do think though that the message here should inform about the missing connection information foremost. I'll figure out a solution without relying on a "default" dialect.

It's not really that 'hibernate.dialect' is mandatory. You can usually not specify it, as it will be auto-detected from connection information. The connection is really what is mandatory.
Another option it to propagate the exception occurring when connecting to database when trying to detect the dialect: https://github.com/hibernate/hibernate-orm/compare/master...rzymek:HHH-11522.1
This needs some more work, as it currently fails 3 tests:
DataSourceInjectionTest. testDatasourceInjection
SuppliedConnectionTest. classMethod
ServiceBootstrappingTest. testBuildWithServiceOverride

I agree with what @dreab8 and @vladmihalcea have already said.  At this point we've already logged a message that we could not access a Connection during boot.  That in and of itself is not an error.  The first error we encounter is trying to resolve the dialect.  It's at that point that the inability to access a Connection is a problem.  But that is only in conjunction with dialect not being set... which is exactly what the exception message says.


Add VSO logging into assignment

Addresses https://github.com/neilpeterson/azure-blueprints-pipeline-tasks/issues/50

@davidshorter this looks good, thanks for the PR. Merging now and will try to get a new release out by end of week.


2.1 branch can not built

Operating system or device, Godot version, GPU Model and driver (if graphics related):
2.1
Mac OS
Issue description:

can't  build for osx and iOS now.
I can built them yesterday. after updated, it can not build now.
scons platform=osx target=release_debug
scons: Reading SConscript files ...
ImportError: No module named config:
File "/Users/yizheng/Github/godot/SConstruct", line 364:
import config
YIs-MacBook-Pro:godot yizheng$ scons p=iphone tools=no bits=64 target=debug arch=arm64
scons: Reading SConscript files ...
ImportError: No module named config:
File "/Users/yizheng/Github/godot/SConstruct", line 364:
import config
YIs-MacBook-Pro:godot yizheng$
Steps to reproduce:
Link to minimal example project:

What version of python are you using?

2.7, I can always build  it in the past.

It's building fine for me, with latest 2.1 and python 2.7 as well:
marcelo$ python --version
Python 2.7.10
marcelo$ scons platform=osx target=release_debug
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
[  2%] Compiling ==> platform/osx/crash_handler_osx.mm
[  2%] Compiling ==> platform/osx/os_osx.mm

I tried to build it just now, it succeed now.

Closing then :)

Get this weird error again.


add param: doris_exchange_instances to set parallel after exchange

doris_exchange_instances speed up the query especially useful when:

data size decrease on a massive scale after exchange when using aggregation function or UDAF
cluster is large but we only need several instances to do aggregation. save computational resources


fix bug: Hide password typing #11

#11
add hidden character feature to input password

I think the method ReadString is not needed anymore.
can you check and remove it?


Numerous warnings for malformed enhanced external info

A user with counterblockd problem reported that he spotted many warnings during counterblockd DB reparse about a malformed JSON feed..
Maybe some throttling could be added somewhere in counterblockd (counter for repeated messages?) or downstream?

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

there is throttling already built in, but we could tweak it further

for example, see https://github.com/CounterpartyXCP/counterblock/blob/master/counterblock/lib/components/assets.py#L201


Labeled data has a size of 0 after training a few epochs

Hi, thanks for the nice implementation!
I am trying to run it on my own dataset, but the labeled data becomes empty after a few epochs, the error as follows:
labeled data has a size of 0
ValueError: num_samples should be a positive integer value, but got num_samples=0
What could i do to solve it?
Thanks for your reply!

maybe ur threshold is too high? try to decrease the threshold in GMM model, in this way more instances that are likely to be clean will be reserved as labeled data.

maybe ur threshold is too high? try to decrease the threshold in GMM model, in this way more instances that are likely to be clean will be reserved as labeled data.

Thanks for your advice!
Did you mean the parameter 'tol' in  gmm = GaussianMixture(n_components=2, max_iter=10, reg_covar=5e-4, tol=1e-3) ?
thanks for your reply!

maybe ur threshold is too high? try to decrease the threshold in GMM model, in this way more instances that are likely to be clean will be reserved as labeled data.

Thanks for your advice! Did you mean the parameter 'tol' in gmm = GaussianMixture(n_components=2, max_iter=10, reg_covar=5e-4, tol=1e-3) ? thanks for your reply!

I'm afraid NOT, I mean the p_threshold in arguments. In the original paper, the threshold is set to be 0.5. The larger the threshold is, the less instances will be deemed as labeled data. Therefore, U should decrease it in order to avoid the size of labeled data becoming 0. I hope this works for you. ^_^

Thank you for your enthusiastic help! It works!


week 29 review ticket

CPT Rough Draft

2018 MCQ Practice Test #5
Lesson Plan/Final Project Progress

Unit 4 Hacks

Kaylee is an amazing scrum master. She helped us a lot this week when we had issues with song data. She not only scored very high on the practice MC, but also had an extensive reflection. She also went above and beyond, completing hacks from weeks down the line. Overall amazing job, 3+/3.


Builder-style API to configure the App

This requires modifying the RunCommand trait in an API-breaking way


get brent's method to return success

This is a potential fix for issues #4630, just does the obvious thing.
I've not committed to scipy before, so let me know if you want tests that would fail for older versions…

Wouldn't hurt to have a couple of tests: one that checks that success sets the success attribute, and one that checks that failure doesn't (but also doesn't raise an exception). For the latter setting maxiter to a tiny number is probably necessary.

OK, I've added a couple of tests.
Wasn't sure what exceptions were best to check for; "any" was easy so that's what I have done, but let me know if something else would be better!

Actually just raising an exception leads to a test failure, so I think there's no need to use a try/except block at all. I would prefer to see separate tests for separate features, so that if we break something we can see which aspects are broken (putting them all in one function means it stops with the first failing test).

Yes, not sure why I tried to catch then throw in response, redundant as you say—will submit a patch that fixes that!
The tests I added were just adding things to a function which is documented as "combine all tests above for the minimize_scalar wrapper", it would seem messy to just have a couple of little tests separately for the same function.  Then again, there are quite a few tests there, maybe they should all be broken up?

Build seems be failing for reasons that aren't to do with my changes, is that normal?

I'm afraid that is normal; the testing gizmo gets randomly hung up sometime and the easiest fix is to just contribute more code. But I'd really prefer more granular tests. If there's nontrivial setup code it can go in a test fixture.

If one wants to split this big test_minimize_scalar method into small methods, that's certainly a good idea. Yet it seems a bit out of scope for this PR, which I think could be merged without this.

I could submit another PR to split this up; there doesn't seem to be an obviously natural way to do this…
By optimisation method seems the most obvious, then another set to make sure the default method does the right thing.  Any preferences?

I guess yeah a new PR to break the method up is a good idea. I'd suggest using a test generator to run the same tests on each method (including the default) without duplicating code. It might even be practical to have the test generator generate the same tests for the non-wrapped functions.

Sam Mason wrote:

I could submit another PR to split this up; there doesn't seem to be an
obviously natural way to do this…
By optimisation method seems the most obvious, then another set to make
sure the default method does the right thing. Any preferences?

Splitting on empty line and setting test method name according to
optimization method (plus possible details) would be fine IMO.

Denis Laxalde wrote:

Splitting on empty line and setting test method name according to
optimization method (plus possible details) would be fine IMO.

That would end up in a lot (~15) of little tests, is that really right?

Anne Archibald wrote:

I'd suggest
using a test generator to run the same tests on each method (including the
default) without duplicating code.

Doing this for basic features seems reasonable.  I don't know all the
methods too well yet, but I presume some will have specific options
and hence will still need a few tests dedicated to each method.

It might even be practical to have the
test generator generate the same tests for the non-wrapped functions.

Would the point of this be to clean up the existing test code?  Seems
like they are being tested already.

Sam Mason wrote:

That would end up in a lot (~15) of little tests, is that really right?

Yes.

I'd say this PR is good to go. When it's done I'll see if I can clean up the testing. As you say, this isn't particularly a matter of adding new tests so much as making sure it's easy to tell exactly which bit breaks when tests start failing.

I'd be happy to split the tests up if a consensus can be reached about how best to organise them.  The generator approach seems sensible for testing each method systematically, but I don't know SciPy well enough to comment on much else!

The generator approach does not really seem obvious to me here. It's not like we could easily do something like:
def check(param):
  [compute using minimize_scalar]
  [assert]

for p in parameters:
  yield check, p

since almost all minimize_scalar calls are different.
And doing something more complicate with nose generators is problably not a very good idea since this will eventually get pretty hard to debug if something breaks (see section "How do I write tests with test generators?" in http://docs.scipy.org/doc/scipy-dev/reference/hacking.html)

I was picturing:
def test_minimize_scalars():
    for method in [None, 'brent', 'golden', 'bounded']:
       yield check_minimization_works, method
       yield check_failure_returned, method

def check_minimization_works(method):
    [compute using minimize_scalar, method, the standard function, bracket, and result]
    [assert success is reported]
    [assert the return value is close]

And then tests for the features of specific methods not covered by these (e.g. what happens with out-of-bounds values for bounded minimization).

@aarchiba, yes that's the sort of thing I would have expected—should clean up the current tests a bit.


Get custom deviation result for split_noobs

The deviation stat when calculating balance is displayed in chobby whenever you call !balance
If the result is very high, players can get upset. With split_noobs, we do not trust the rating (17) of new players, which can lead to high deviations. This PR aims to adjust new player's ratings in the balancer so that the deviation result is smaller.
Note that the deviation result in teiserver is already a custom deviation method that is not the same as SPADS.
Also note that teiserver adjusts people's ratings already because it applies randomness from -0.5 to 0.5. So in $explain someone could have negative rating. But in chobby nobody is displayed as negative.
split_noobs doesn't apply randomness, but does adjust ratings with this PR.
Testing
You can select an old match in teiserver and compare the team sums of loser_picks and split_noobs. The team sum of split_noobs will be smaller when newish players are involved since their adjusted rating ranges from 0 to their true rating.

Here is a sample match with high deviation

The team ratings are
team 1: 64,
Team 2: 97
After using adjusted ratings the team ratings are:
    assert ratings == %{1 => 31.950594059405947, 2 => 27.78324752475248}

    deviation = BalanceLib.get_deviation(ratings)
    assert deviation == 13

This result is in a test in this PR


Add CMake export configuration

I needed an import target for TinyGLTF as a convenience upgrade in my personal projects. This defines the tinygltf::tinygltf target for CMake projects and automatically includes the headers and the optional static library. This is a minimal but functional change so as not to break any existing install features and is written to match the same indentation style as the existing CMakeLists.txt.
I currently use it in my project as such:
find_package(tinygltf HINTS ${CMAKE_PREFIX_PATH}/tinygltf PATH_SUFFIXES lib/cmake REQUIRED)
target_link_libraries(... PRIVATE ... tinygltf::tinygltf)

@ethanpepro Thanks! Merged!

I currently use it in my project as such:

TODO: Write this find_package(tinygltf)  cmake script code fragment in README.md


aishell scripts

Update the aishell examples.

We should start with downloading data in prepare_data.py
When run the run.sh, we may get some results, please write down those results in README
...

I'll help xiaoning to write docs


Fix: "Hmm... it's not here" view is showing up with back and dismiss button while the page already has those buttons

Details

https://github.com/Expensify/App/issues/11730#issuecomment-1284603179
Fixed Issues

$ https://github.com/Expensify/App/issues/11730
PROPOSAL: https://github.com/Expensify/App/issues/11730#issuecomment-1275520124
Tests

Login at new dot and create a workspace
Open new tab > Go to old dot > log in > delete newly created workspace
Go back to new dot and navigate to Reimburse expenses
Verify you see not found page and it doesn't have two back/dismiss buttons

[x] Verify that no errors appear in the JS console

QA Steps

Login at new dot and create a workspace
Open new tab > Go to old dot > log in > delete newly created workspace
Go back to new dot and navigate to Reimburse expenses
Verify you see not found page and it doesn't have two back/dismiss buttons

[x] Verify that no errors appear in the JS console

PR Review Checklist

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] iOS / native
[x] Android / native
[x] iOS / Safari
[x] Android / Chrome
[x] MacOS / Chrome
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] iOS / native
[x] Android / native
[x] iOS / Safari
[x] Android / Chrome
[x] MacOS / Chrome
[x] MacOS / Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots

Web

https://user-images.githubusercontent.com/101883770/197581791-6d3fd93c-ae7c-4803-8abc-6dbf2e336f53.mov
Mobile Web - Chrome

https://user-images.githubusercontent.com/101883770/197595450-68a8c75d-9b07-4118-924d-4ff6a1c09f5a.mov
Mobile Web - Safari

https://user-images.githubusercontent.com/101883770/197585088-6dd8ef2c-9f80-45a8-8588-434d51d36578.mov
Desktop

https://user-images.githubusercontent.com/101883770/197587594-43426c46-3383-4401-b16f-4b2758ee86ba.mov
iOS
https://user-images.githubusercontent.com/101883770/197590536-2d4a419b-8803-4c0e-ab09-09a9fa52dbe7.mov
Android

https://user-images.githubusercontent.com/101883770/197593075-768a07de-0b0d-47b6-913c-68f5f3fee96a.mov

Just wanted to point out that the transition isn't really good. The Not found page shows up after a brief moment.
https://user-images.githubusercontent.com/101883770/197595898-ea458cf1-c05a-4d79-9305-a4596f2e50fc.mov

Hmm so while testing, I see the not found page, but when I hit the back button it just closes the entire sidebar which is the same thing that the x does. I think that the X should be the only thing shown in this case

@stitesExpensify, I have updated the code.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @stitesExpensify in version: 1.2.24-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @yuwenmemon in version: 1.2.24-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by @yuwenmemon in version: 1.2.24-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Can i use this library for video calling on asterisk?

This library is for using the "Asterisk Management Interface" API from .NET. You can use this library to do whatever the Asterisk Management Interface can do.
https://wiki.asterisk.org/wiki/display/AST/The+Asterisk+Manager+TCP+IP+API


Custom Arrow Icon does not work if small={true}

react-dates version
e.g<EMAIL_ADDRESS>Describe the bug
The customArrowIcon property is ignored when property small is set to true
Source code (including props configuration)
Steps to reproduce the behavior:
<DateRangePicker
  startDate={this.state.startDate}
  startDateId="your_unique_start_date_id"
  endDate={this.state.endDate}
  endDateId="your_unique_end_date_id"
  onDatesChange={({ startDate, endDate }) => this.setState({ startDate, endDate })}
  focusedInput={this.state.focusedInput}
  onFocusChange={focusedInput => this.setState({ focusedInput })}
  small={true}
  customArrowIcon={I will not appear}
/>

This seems to be very intentional: https://github.com/airbnb/react-dates/blob/master/src/components/DateRangePickerInput.jsx#L176
I might expect customArrowIcon to be disallowed when small is true, however, to enforce that.


Typical Lacking

Typically only little examples of things you may know but not real-life examples such as lookups on metadata fields. Nope, has to be about ice cream. That really helped a lot, gee thanks. NOT.

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

ID: c435aad5-5a0b-6070-1138-d80a13606122
Version Independent ID: d9978c1c-e720-9586-8439-5b030f42794c
Content: Filter, Search, and LookUp functions in Power Apps (contains video) - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/functions/function-filter-lookup.md
Service: powerapps
Sub-service: canvas-maker
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Thank you for reaching out and your comments. Apart from video tutorial on this topic for filter, search and lookup, there are several other examples. If they aren't useful for the scenarios you're looking help for, perhaps the following topics might help with more elaborate scenarios. If they don't, and if there's any specific situation that you need help with, please refer to Get Help + Support to raise a service request and work with support teams for the issue you need help with.

https://docs.microsoft.com/powerapps/maker/canvas-apps/sharepoint/scenarios-filter-search-list
https://docs.microsoft.com/powerapps/maker/canvas-apps/sharepoint/scenarios-choice-to-lookup
https://docs.microsoft.com/powerapps/maker/canvas-apps/create-update-collection
https://docs.microsoft.com/powerapps/maker/canvas-apps/dependent-drop-down-lists
https://docs.microsoft.com/powerapps/maker/canvas-apps/show-current-user
https://docs.microsoft.com/powerapps/maker/canvas-apps/sharepoint/scenarios-lookup-list-permissions
https://docs.microsoft.com/powerapps/maker/canvas-apps/power-apps-ideas-transform
https://docs.microsoft.com/powerapps/maker/canvas-apps/sharepoint-scenario-generate-app
https://docs.microsoft.com/powerapps/maker/canvas-apps/connections/connection-sharepoint-online
https://docs.microsoft.com/powerapps/maker/canvas-apps/app-from-sharepoint
https://docs.microsoft.com/powerapps/maker/canvas-apps/mixed-reality-spatial-test
https://docs.microsoft.com/powerapps/maker/canvas-apps/multi-language-apps
https://docs.microsoft.com/powerapps/maker/canvas-apps/sample-crisis-communication-app
https://docs.microsoft.com/powerapps/maker/canvas-apps/add-editable-tables

Thanks Tapan, those will surely be helpful!!!
If you have anything on using Managed Metadata Fields within PowerApps, that would also be exceptionally helpful. I was able to create a simple list using MMD in PowerApps as the system created everything for me but I was unable to crerate from scratch to see how the system did it. I will likely find if I try to do it the way PowerApps created it, it wont work. Just like when PowerApps creates a Browse/View/Edit screen and uses Select(Parent) from the browse screen. BUT try an d do that manually? FORGET IT. Powerapps just sits there confused (no surprise there). So, where’s that “secret” code?
Tx
Carl Williams
From: Tapan Maniar @.>
Sent: January 13, 2022 4:18 PM
To: MicrosoftDocs/powerapps-docs @.>
Cc: Carl Williams @.>; Author @.>
Subject: Re: [MicrosoftDocs/powerapps-docs] Typical Lacking (Issue #2980)
Thank you for reaching out and your comments. Apart from video tutorial on this topic for filter, search and lookup, there are several other examples. If they aren't useful for the scenarios you're looking help for, perhaps the following topics might help with more elaborate scenarios. If they don't, and if there's any specific situation that you need help with, please refer to Get Help + Supporthttps://docs.microsoft.com/power-platform/admin/get-help-support to raise a service request and work with support teams for the issue you need help with.

https://docs.microsoft.com/powerapps/maker/canvas-apps/sharepoint/scenarios-filter-search-list
https://docs.microsoft.com/powerapps/maker/canvas-apps/sharepoint/scenarios-choice-to-lookup
https://docs.microsoft.com/powerapps/maker/canvas-apps/create-update-collection
https://docs.microsoft.com/powerapps/maker/canvas-apps/dependent-drop-down-lists
https://docs.microsoft.com/powerapps/maker/canvas-apps/show-current-user
https://docs.microsoft.com/powerapps/maker/canvas-apps/sharepoint/scenarios-lookup-list-permissions
https://docs.microsoft.com/powerapps/maker/canvas-apps/power-apps-ideas-transform
https://docs.microsoft.com/powerapps/maker/canvas-apps/sharepoint-scenario-generate-app
https://docs.microsoft.com/powerapps/maker/canvas-apps/connections/connection-sharepoint-online
https://docs.microsoft.com/powerapps/maker/canvas-apps/app-from-sharepoint
https://docs.microsoft.com/powerapps/maker/canvas-apps/mixed-reality-spatial-test
https://docs.microsoft.com/powerapps/maker/canvas-apps/multi-language-apps
https://docs.microsoft.com/powerapps/maker/canvas-apps/sample-crisis-communication-app
https://docs.microsoft.com/powerapps/maker/canvas-apps/add-editable-tables

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/powerapps-docs/issues/2980#issuecomment-1012522720, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANCSWODGDHSBMAJM76NEJJLUV46P3ANCNFSM5L44QNLQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


Alarm Triggerd Node with delay leads to restart of node red

If I put an Alarm Triggerd Node with delay node red will be restarted after the delay has counted down.
Due to the restart the State ist changed to home.
A Alarm Triggered Node without delay works without problems.
Could you please check this?

Can you post your flow here?
On Sun, 31 Jan 2021 at 10:28 pm, Blomus<EMAIL_ADDRESS>wrote:

If I put an Alarm Triggerd Node with delay node red will be restarted
after the delay has counted down.
Due to the restart the State ist changed to home.
A Alarm Triggered Node without delay works without problems.
Could you please check this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Anamico/node-red-contrib-alarm/issues/18, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGHK2LGDB452ET6ZZKH2CSDS4VEHTANCNFSM4W3J2UVQ
.

Can you post your flow here?
On Sun, 31 Jan 2021 at 10:28 pm, Blomus<EMAIL_ADDRESS>wrote:

If I put an Alarm Triggerd Node with delay node red will be restarted
after the delay has counted down.
Due to the restart the State ist changed to home.
A Alarm Triggered Node without delay works without problems.
Could you please check this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Anamico/node-red-contrib-alarm/issues/18, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGHK2LGDB452ET6ZZKH2CSDS4VEHTANCNFSM4W3J2UVQ
.

[{"id":"4300689a.44214","type":"tab","label":"Alarm","disabled":false,"info":""},{"id":"fcc6eb2b.d1a8f","type":"homekit-service","z":"4300689a.44214","isParent":true,"bridge":"22213919.256466","parentService":"","name":"Security","serviceName":"SecuritySystem","topic":"","filter":false,"manufacturer":"Default Manufacturer","model":"Default Model","serialNo":"Default Serial Number","firmwareRev":"","hardwareRev":"","softwareRev":"","cameraConfigVideoProcessor":"ffmpeg","cameraConfigSource":"","cameraConfigStillImageSource":"","cameraConfigMaxStreams":2,"cameraConfigMaxWidth":1280,"cameraConfigMaxHeight":720,"cameraConfigMaxFPS":10,"cameraConfigMaxBitrate":300,"cameraConfigVideoCodec":"libx264","cameraConfigAudioCodec":"libfdk_aac","cameraConfigAudio":false,"cameraConfigPacketSize":1316,"cameraConfigVerticalFlip":false,"cameraConfigHorizontalFlip":false,"cameraConfigMapVideo":"0:0","cameraConfigMapAudio":"0:1","cameraConfigVideoFilter":"scale=1280:720","cameraConfigAdditionalCommandLine":"-tune zerolatency","cameraConfigDebug":false,"cameraConfigSnapshotOutput":"disabled","cameraConfigInterfaceName":"","characteristicProperties":"{}","waitForSetupMsg":false,"outputs":2,"x":440,"y":80,"wires":[["9990fd5e.a9db98"],[]]},{"id":"3aaee5b4.52a6b2","type":"function","z":"4300689a.44214","name":"Abwesend","func":"msg.payload = {SecuritySystemTargetState:1};\nmsg.hap = {"oldValue":0,"newValue":1};\nmsg.name ="Security";\nreturn msg","outputs":1,"noerr":0,"x":350,"y":220,"wires":[["fcc6eb2b.d1a8f","fac65ffd.2fae1"]]},{"id":"ea46834a.b127e","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":160,"y":180,"wires":[["d69976a5.448dc"]]},{"id":"192d6ac7.08c3ed","type":"function","z":"4300689a.44214","name":"Nacht","func":"msg.payload = {SecuritySystemCurrentState:2};\nreturn msg","outputs":1,"noerr":0,"x":330,"y":260,"wires":[["fcc6eb2b.d1a8f","d9982441.6b64e8"]]},{"id":"d69976a5.448dc","type":"function","z":"4300689a.44214","name":"Zuhause","func":"msg.payload = {SecuritySystemTargetState:0};\nreturn msg;","outputs":1,"noerr":0,"x":300,"y":180,"wires":[["fcc6eb2b.d1a8f","2ff5ebbe.4278bc"]]},{"id":"e24f4efc.655f58","type":"function","z":"4300689a.44214","name":"Aus","func":"msg.payload = {SecuritySystemCurrentState:3};\nreturn msg","outputs":1,"noerr":0,"x":330,"y":300,"wires":[["fcc6eb2b.d1a8f","e101129a.d69348"]]},{"id":"ec433959.8a1228","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":220,"wires":[["3aaee5b4.52a6b2"]]},{"id":"9e1130f.d3055d","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":260,"wires":[["192d6ac7.08c3ed"]]},{"id":"5edec50d.c845fc","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":300,"wires":[["e24f4efc.655f58"]]},{"id":"82a8ea88.e16418","type":"function","z":"4300689a.44214","name":"Sonso Ansage Bewebung erkannt","func":"msg.payload = "http://localhost:5005/Büro/say/Bewegung erkannt/de-de";\n\n\nreturn msg;","outputs":1,"noerr":0,"x":360,"y":760,"wires":[["39dde9a4.54669e"]]},{"id":"39dde9a4.54669e","type":"change","z":"4300689a.44214","name":"Url","rules":[{"t":"set","p":"method","pt":"msg","to":"GET","tot":"str"},{"t":"set","p":"url","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":760,"wires":[["9427bc66.690fc8"]]},{"id":"9427bc66.690fc8","type":"http request","z":"4300689a.44214","name":"vor","method":"use","ret":"txt","paytoqs":false,"url":"","tls":"","persist":false,"proxy":"","authType":"","x":690,"y":760,"wires":[[]]},{"id":"72212f71.2f151","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":700,"wires":[["82a8ea88.e16418"]]},{"id":"ffe3e5ac.fd3658","type":"AnamicoAlarmStateChanged","z":"4300689a.44214","name":"State Changed","panel":"f992f290.87311","format":"1","sendInitialState":1,"x":140,"y":60,"wires":[["fcc6eb2b.d1a8f"]]},{"id":"9e6bc6d2.471da8","type":"AnamicoAlarmSensor","z":"4300689a.44214","name":"Alarm Away","panel":"f992f290.87311","alarmStates":["1"],"triggerType":"1","x":770,"y":520,"wires":[]},{"id":"8c743475.05a4c","type":"hue-motion","z":"4300689a.44214","name":"Sensor Bad","bridge":"b8598d96.8cc6a","sensorid":"21","skipevents":false,"x":150,"y":520,"wires":[["a78aec81.9474d"]]},{"id":"4b6265e.a66171c","type":"AnamicoAlarmTriggered","z":"4300689a.44214","name":"Alarm","panel":"f992f290.87311","delay":"","x":150,"y":1020,"wires":[["54303c26.01b8cc"]]},{"id":"54303c26.01b8cc","type":"debug","z":"4300689a.44214","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":310,"y":1020,"wires":[]},{"id":"3fed098b.158316","type":"homekit-service","z":"4300689a.44214","isParent":true,"bridge":"22213919.256466","parentService":"","name":"Bewegung Flur","serviceName":"Switch","topic":"","filter":false,"manufacturer":"Default Manufacturer","model":"Default Model","serialNo":"Default Serial Number","firmwareRev":"","hardwareRev":"","softwareRev":"","cameraConfigVideoProcessor":"ffmpeg","cameraConfigSource":"","cameraConfigStillImageSource":"","cameraConfigMaxStreams":2,"cameraConfigMaxWidth":1280,"cameraConfigMaxHeight":720,"cameraConfigMaxFPS":10,"cameraConfigMaxBitrate":300,"cameraConfigVideoCodec":"libx264","cameraConfigAudioCodec":"libfdk_aac","cameraConfigAudio":false,"cameraConfigPacketSize":1316,"cameraConfigVerticalFlip":false,"cameraConfigHorizontalFlip":false,"cameraConfigMapVideo":"0:0","cameraConfigMapAudio":"0:1","cameraConfigVideoFilter":"scale=1280:720","cameraConfigAdditionalCommandLine":"-tune zerolatency","cameraConfigDebug":false,"cameraConfigSnapshotOutput":"disabled","cameraConfigInterfaceName":"","characteristicProperties":"{}","waitForSetupMsg":false,"outputs":2,"x":160,"y":580,"wires":[["36eb44ce.70ef2c"],[]]},{"id":"36eb44ce.70ef2c","type":"switch","z":"4300689a.44214","name":"True","property":"payload.On","propertyType":"msg","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":330,"y":580,"wires":[["9e6bc6d2.471da8"]]},{"id":"2ff5ebbe.4278bc","type":"trigger","z":"4300689a.44214","op1":"{"SecuritySystemTargetState":0}","op2":"{"SecuritySystemCurrentState":0}","op1type":"json","op2type":"json","duration":"2","extend":false,"units":"s","reset":"","bytopic":"all","name":"Home delay","x":510,"y":180,"wires":[["8291c258.c9724"]]},{"id":"8291c258.c9724","type":"AnamicoAlarmChangeState","z":"4300689a.44214","name":"Change State","panel":"f992f290.87311","format":"0","x":740,"y":320,"wires":[]},{"id":"fac65ffd.2fae1","type":"trigger","z":"4300689a.44214","op1":"{"SecuritySystemTargetState":1}","op2":"{"SecuritySystemCurrentState":1}","op1type":"json","op2type":"json","duration":"2","extend":false,"units":"s","reset":"","bytopic":"all","name":"Away delay","x":510,"y":220,"wires":[["8291c258.c9724"]]},{"id":"d9982441.6b64e8","type":"trigger","z":"4300689a.44214","op1":"{"SecuritySystemTargetState":2}","op2":"{"SecuritySystemCurrentState":2}","op1type":"json","op2type":"json","duration":"2","extend":false,"units":"s","reset":"","bytopic":"all","name":"Night delay","x":510,"y":260,"wires":[["8291c258.c9724"]]},{"id":"e101129a.d69348","type":"trigger","z":"4300689a.44214","op1":"{"SecuritySystemTargetState":3}","op2":"{"SecuritySystemCurrentState":3}","op1type":"json","op2type":"json","duration":"500","extend":false,"units":"ms","reset":"","bytopic":"all","name":"Off delay","x":500,"y":300,"wires":[["8291c258.c9724"]]},{"id":"9990fd5e.a9db98","type":"AnamicoAlarmChangeState","z":"4300689a.44214","name":"Change State","panel":"f992f290.87311","format":"1","x":700,"y":40,"wires":[]},{"id":"10ebf8a9.945def","type":"AnamicoAlarmSensor","z":"4300689a.44214","name":"Alarm Night","panel":"f992f290.87311","alarmStates":["2"],"triggerType":"1","x":770,"y":580,"wires":[]},{"id":"810d1c84.47595","type":"AnamicoAlarmTriggered","z":"4300689a.44214","name":"No delay","panel":"f992f290.87311","delay":"","x":120,"y":760,"wires":[["82a8ea88.e16418"]]},{"id":"d50fbe2.643154","type":"link in","z":"4300689a.44214","name":"","links":["27da4407.48126c"],"x":115,"y":120,"wires":[[]]},{"id":"4a92a196.fa1238","type":"function","z":"4300689a.44214","name":"Sonso Ansage Alarm","func":"msg.payload = "http://localhost:5005/Büro/say/Alarm wurde ausgelöst/de-de";\n\n\nreturn msg;","outputs":1,"noerr":0,"x":360,"y":860,"wires":[["5ea38b5f.a5433c"]]},{"id":"5ea38b5f.a5433c","type":"change","z":"4300689a.44214","name":"Url","rules":[{"t":"set","p":"method","pt":"msg","to":"GET","tot":"str"},{"t":"set","p":"url","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":860,"wires":[["bea9b7fb.371e7"]]},{"id":"bea9b7fb.371e7","type":"http request","z":"4300689a.44214","name":"vor","method":"use","ret":"txt","paytoqs":false,"url":"","tls":"","persist":false,"proxy":"","authType":"","x":730,"y":860,"wires":[[]]},{"id":"a78aec81.9474d","type":"function","z":"4300689a.44214","name":"Motion2open","func":"msg.payload.open = msg.payload.motion;\nreturn msg; \n","outputs":1,"noerr":0,"x":390,"y":520,"wires":[["d77f608.017692"]]},{"id":"d77f608.017692","type":"switch","z":"4300689a.44214","name":"True","property":"payload.open","propertyType":"msg","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":550,"y":520,"wires":[["9e6bc6d2.471da8"]]},{"id":"e615e432.586948","type":"AnamicoAlarmTriggered","z":"4300689a.44214","name":"15 sec delay","panel":"f992f290.87311","delay":"15","x":130,"y":860,"wires":[["4a92a196.fa1238"]]},{"id":"22213919.256466","type":"homekit-bridge","z":"","bridgeName":"HomePilot","pinCode":"111-11-111","port":"","allowInsecureRequest":false,"manufacturer":"NRCHKB","model":"1.2.0","serialNo":"Default Serial Number","firmwareRev":"1.2.0","hardwareRev":"1.2.0","softwareRev":"1.2.0","customMdnsConfig":false,"mdnsMulticast":true,"mdnsInterface":"","mdnsPort":"","mdnsIp":"","mdnsTtl":"","mdnsLoopback":true,"mdnsReuseAddr":true,"allowMessagePassthrough":true},{"id":"f992f290.87311","type":"AnamicoAlarmPanel","z":"","name":"Alarm"},{"id":"b8598d96.8cc6a","type":"hue-bridge","z":"","name":"Philips hue","bridge":"<IP_ADDRESS>","key":"ClqSAnS4lHdqf13JfmVpsVWAETyE54yBtvUViXfu","interval":"3000","disableupdates":false}]

[{"id":"4300689a.44214","type":"tab","label":"Alarm","disabled":false,"info":""},{"id":"fcc6eb2b.d1a8f","type":"homekit-service","z":"4300689a.44214","isParent":true,"bridge":"22213919.256466","parentService":"","name":"Security","serviceName":"SecuritySystem","topic":"","filter":false,"manufacturer":"Default Manufacturer","model":"Default Model","serialNo":"Default Serial Number","firmwareRev":"","hardwareRev":"","softwareRev":"","cameraConfigVideoProcessor":"ffmpeg","cameraConfigSource":"","cameraConfigStillImageSource":"","cameraConfigMaxStreams":2,"cameraConfigMaxWidth":1280,"cameraConfigMaxHeight":720,"cameraConfigMaxFPS":10,"cameraConfigMaxBitrate":300,"cameraConfigVideoCodec":"libx264","cameraConfigAudioCodec":"libfdk_aac","cameraConfigAudio":false,"cameraConfigPacketSize":1316,"cameraConfigVerticalFlip":false,"cameraConfigHorizontalFlip":false,"cameraConfigMapVideo":"0:0","cameraConfigMapAudio":"0:1","cameraConfigVideoFilter":"scale=1280:720","cameraConfigAdditionalCommandLine":"-tune zerolatency","cameraConfigDebug":false,"cameraConfigSnapshotOutput":"disabled","cameraConfigInterfaceName":"","characteristicProperties":"{}","waitForSetupMsg":false,"outputs":2,"x":440,"y":80,"wires":[["9990fd5e.a9db98"],[]]},{"id":"3aaee5b4.52a6b2","type":"function","z":"4300689a.44214","name":"Abwesend","func":"msg.payload = {SecuritySystemTargetState:1};\nmsg.hap = {"oldValue":0,"newValue":1};\nmsg.name ="Security";\nreturn msg","outputs":1,"noerr":0,"x":350,"y":220,"wires":[["fcc6eb2b.d1a8f","fac65ffd.2fae1"]]},{"id":"ea46834a.b127e","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":160,"y":180,"wires":[["d69976a5.448dc"]]},{"id":"192d6ac7.08c3ed","type":"function","z":"4300689a.44214","name":"Nacht","func":"msg.payload = {SecuritySystemCurrentState:2};\nreturn msg","outputs":1,"noerr":0,"x":330,"y":260,"wires":[["fcc6eb2b.d1a8f","d9982441.6b64e8"]]},{"id":"d69976a5.448dc","type":"function","z":"4300689a.44214","name":"Zuhause","func":"msg.payload = {SecuritySystemTargetState:0};\nreturn msg;","outputs":1,"noerr":0,"x":300,"y":180,"wires":[["fcc6eb2b.d1a8f","2ff5ebbe.4278bc"]]},{"id":"e24f4efc.655f58","type":"function","z":"4300689a.44214","name":"Aus","func":"msg.payload = {SecuritySystemCurrentState:3};\nreturn msg","outputs":1,"noerr":0,"x":330,"y":300,"wires":[["fcc6eb2b.d1a8f","e101129a.d69348"]]},{"id":"ec433959.8a1228","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":220,"wires":[["3aaee5b4.52a6b2"]]},{"id":"9e1130f.d3055d","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":260,"wires":[["192d6ac7.08c3ed"]]},{"id":"5edec50d.c845fc","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":300,"wires":[["e24f4efc.655f58"]]},{"id":"82a8ea88.e16418","type":"function","z":"4300689a.44214","name":"Sonso Ansage Bewebung erkannt","func":"msg.payload = "http://localhost:5005/Büro/say/Bewegung erkannt/de-de";\n\n\nreturn msg;","outputs":1,"noerr":0,"x":360,"y":760,"wires":[["39dde9a4.54669e"]]},{"id":"39dde9a4.54669e","type":"change","z":"4300689a.44214","name":"Url","rules":[{"t":"set","p":"method","pt":"msg","to":"GET","tot":"str"},{"t":"set","p":"url","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":760,"wires":[["9427bc66.690fc8"]]},{"id":"9427bc66.690fc8","type":"http request","z":"4300689a.44214","name":"vor","method":"use","ret":"txt","paytoqs":false,"url":"","tls":"","persist":false,"proxy":"","authType":"","x":690,"y":760,"wires":[[]]},{"id":"72212f71.2f151","type":"inject","z":"4300689a.44214","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":700,"wires":[["82a8ea88.e16418"]]},{"id":"ffe3e5ac.fd3658","type":"AnamicoAlarmStateChanged","z":"4300689a.44214","name":"State Changed","panel":"f992f290.87311","format":"1","sendInitialState":1,"x":140,"y":60,"wires":[["fcc6eb2b.d1a8f"]]},{"id":"9e6bc6d2.471da8","type":"AnamicoAlarmSensor","z":"4300689a.44214","name":"Alarm Away","panel":"f992f290.87311","alarmStates":["1"],"triggerType":"1","x":770,"y":520,"wires":[]},{"id":"8c743475.05a4c","type":"hue-motion","z":"4300689a.44214","name":"Sensor Bad","bridge":"b8598d96.8cc6a","sensorid":"21","skipevents":false,"x":150,"y":520,"wires":[["a78aec81.9474d"]]},{"id":"4b6265e.a66171c","type":"AnamicoAlarmTriggered","z":"4300689a.44214","name":"Alarm","panel":"f992f290.87311","delay":"","x":150,"y":1020,"wires":[["54303c26.01b8cc"]]},{"id":"54303c26.01b8cc","type":"debug","z":"4300689a.44214","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":310,"y":1020,"wires":[]},{"id":"3fed098b.158316","type":"homekit-service","z":"4300689a.44214","isParent":true,"bridge":"22213919.256466","parentService":"","name":"Bewegung Flur","serviceName":"Switch","topic":"","filter":false,"manufacturer":"Default Manufacturer","model":"Default Model","serialNo":"Default Serial Number","firmwareRev":"","hardwareRev":"","softwareRev":"","cameraConfigVideoProcessor":"ffmpeg","cameraConfigSource":"","cameraConfigStillImageSource":"","cameraConfigMaxStreams":2,"cameraConfigMaxWidth":1280,"cameraConfigMaxHeight":720,"cameraConfigMaxFPS":10,"cameraConfigMaxBitrate":300,"cameraConfigVideoCodec":"libx264","cameraConfigAudioCodec":"libfdk_aac","cameraConfigAudio":false,"cameraConfigPacketSize":1316,"cameraConfigVerticalFlip":false,"cameraConfigHorizontalFlip":false,"cameraConfigMapVideo":"0:0","cameraConfigMapAudio":"0:1","cameraConfigVideoFilter":"scale=1280:720","cameraConfigAdditionalCommandLine":"-tune zerolatency","cameraConfigDebug":false,"cameraConfigSnapshotOutput":"disabled","cameraConfigInterfaceName":"","characteristicProperties":"{}","waitForSetupMsg":false,"outputs":2,"x":160,"y":580,"wires":[["36eb44ce.70ef2c"],[]]},{"id":"36eb44ce.70ef2c","type":"switch","z":"4300689a.44214","name":"True","property":"payload.On","propertyType":"msg","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":330,"y":580,"wires":[["9e6bc6d2.471da8"]]},{"id":"2ff5ebbe.4278bc","type":"trigger","z":"4300689a.44214","op1":"{"SecuritySystemTargetState":0}","op2":"{"SecuritySystemCurrentState":0}","op1type":"json","op2type":"json","duration":"2","extend":false,"units":"s","reset":"","bytopic":"all","name":"Home delay","x":510,"y":180,"wires":[["8291c258.c9724"]]},{"id":"8291c258.c9724","type":"AnamicoAlarmChangeState","z":"4300689a.44214","name":"Change State","panel":"f992f290.87311","format":"0","x":740,"y":320,"wires":[]},{"id":"fac65ffd.2fae1","type":"trigger","z":"4300689a.44214","op1":"{"SecuritySystemTargetState":1}","op2":"{"SecuritySystemCurrentState":1}","op1type":"json","op2type":"json","duration":"2","extend":false,"units":"s","reset":"","bytopic":"all","name":"Away delay","x":510,"y":220,"wires":[["8291c258.c9724"]]},{"id":"d9982441.6b64e8","type":"trigger","z":"4300689a.44214","op1":"{"SecuritySystemTargetState":2}","op2":"{"SecuritySystemCurrentState":2}","op1type":"json","op2type":"json","duration":"2","extend":false,"units":"s","reset":"","bytopic":"all","name":"Night delay","x":510,"y":260,"wires":[["8291c258.c9724"]]},{"id":"e101129a.d69348","type":"trigger","z":"4300689a.44214","op1":"{"SecuritySystemTargetState":3}","op2":"{"SecuritySystemCurrentState":3}","op1type":"json","op2type":"json","duration":"500","extend":false,"units":"ms","reset":"","bytopic":"all","name":"Off delay","x":500,"y":300,"wires":[["8291c258.c9724"]]},{"id":"9990fd5e.a9db98","type":"AnamicoAlarmChangeState","z":"4300689a.44214","name":"Change State","panel":"f992f290.87311","format":"1","x":700,"y":40,"wires":[]},{"id":"10ebf8a9.945def","type":"AnamicoAlarmSensor","z":"4300689a.44214","name":"Alarm Night","panel":"f992f290.87311","alarmStates":["2"],"triggerType":"1","x":770,"y":580,"wires":[]},{"id":"810d1c84.47595","type":"AnamicoAlarmTriggered","z":"4300689a.44214","name":"No delay","panel":"f992f290.87311","delay":"","x":120,"y":760,"wires":[["82a8ea88.e16418"]]},{"id":"d50fbe2.643154","type":"link in","z":"4300689a.44214","name":"","links":["27da4407.48126c"],"x":115,"y":120,"wires":[[]]},{"id":"4a92a196.fa1238","type":"function","z":"4300689a.44214","name":"Sonso Ansage Alarm","func":"msg.payload = "http://localhost:5005/Büro/say/Alarm wurde ausgelöst/de-de";\n\n\nreturn msg;","outputs":1,"noerr":0,"x":360,"y":860,"wires":[["5ea38b5f.a5433c"]]},{"id":"5ea38b5f.a5433c","type":"change","z":"4300689a.44214","name":"Url","rules":[{"t":"set","p":"method","pt":"msg","to":"GET","tot":"str"},{"t":"set","p":"url","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":860,"wires":[["bea9b7fb.371e7"]]},{"id":"bea9b7fb.371e7","type":"http request","z":"4300689a.44214","name":"vor","method":"use","ret":"txt","paytoqs":false,"url":"","tls":"","persist":false,"proxy":"","authType":"","x":730,"y":860,"wires":[[]]},{"id":"a78aec81.9474d","type":"function","z":"4300689a.44214","name":"Motion2open","func":"msg.payload.open = msg.payload.motion;\nreturn msg; \n","outputs":1,"noerr":0,"x":390,"y":520,"wires":[["d77f608.017692"]]},{"id":"d77f608.017692","type":"switch","z":"4300689a.44214","name":"True","property":"payload.open","propertyType":"msg","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":550,"y":520,"wires":[["9e6bc6d2.471da8"]]},{"id":"e615e432.586948","type":"AnamicoAlarmTriggered","z":"4300689a.44214","name":"15 sec delay","panel":"f992f290.87311","delay":"15","x":130,"y":860,"wires":[["4a92a196.fa1238"]]},{"id":"22213919.256466","type":"homekit-bridge","z":"","bridgeName":"HomePilot","pinCode":"111-11-111","port":"","allowInsecureRequest":false,"manufacturer":"NRCHKB","model":"1.2.0","serialNo":"Default Serial Number","firmwareRev":"1.2.0","hardwareRev":"1.2.0","softwareRev":"1.2.0","customMdnsConfig":false,"mdnsMulticast":true,"mdnsInterface":"","mdnsPort":"","mdnsIp":"","mdnsTtl":"","mdnsLoopback":true,"mdnsReuseAddr":true,"allowMessagePassthrough":true},{"id":"f992f290.87311","type":"AnamicoAlarmPanel","z":"","name":"Alarm"},{"id":"b8598d96.8cc6a","type":"hue-bridge","z":"","name":"Philips hue","bridge":"<IP_ADDRESS>","key":"ClqSAnS4lHdqf13JfmVpsVWAETyE54yBtvUViXfu","interval":"3000","disableupdates":false}]

Sorry about the delay, a busy week this week. Can you get a hold of the logs and see any crash details to post here? Or can you start nodered interactive and reproduce the issue.
Want to make sure it's working for all cases, so motivated to help.

Hi Macinspak,
attached you'll find my logs:
6 Feb 10:19:48 - [info] [AnamicoAlarmSensor:Alarm Away] triggered:true
6 Feb 10:19:48 - [info] [AnamicoAlarmChangeState:Change State] [object Object]
(node:1740) UnhandledPromiseRejectionWarning: Error: Huejay: timeout of 15000ms exceeded
at /home/pi/.node-red/node_modules/huejay/lib/Transport.js:106:15
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at runNextTicks (internal/process/task_queues.js:66:3)
at listOnTimeout (internal/timers.js:518:9)
at processTimers (internal/timers.js:492:7)
(node:1740) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 79)
(node:1740) UnhandledPromiseRejectionWarning: Error: Huejay: timeout of 15000ms exceeded
at /home/pi/.node-red/node_modules/huejay/lib/Transport.js:106:15
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at runNextTicks (internal/process/task_queues.js:66:3)
at listOnTimeout (internal/timers.js:518:9)
at processTimers (internal/timers.js:492:7)
(node:1740) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 81)
(node:1740) UnhandledPromiseRejectionWarning: Error: Huejay: timeout of 15000ms exceeded
at /home/pi/.node-red/node_modules/huejay/lib/Transport.js:106:15
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1740) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 83)
6 Feb 10:20:03 - [red] Uncaught Exception:
6 Feb 10:20:03 - TypeError: Cannot read property 'payload' of undefined
at Timeout.emitAlarm [as _onTimeout] (/home/pi/.node-red/node_modules/node-red-contrib-alarm/alarm/triggered.js:41:69)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Service RestartSec=100ms expired, scheduling restart.
nodered.service: Scheduled restart job, restart counter is at 3.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
6 Feb 10:20:05 - [info]
Willkommen bei Node-RED!
6 Feb 10:20:05 - [info] Node-RED Version: v1.0.6
6 Feb 10:20:05 - [info] Node.js  Version: v12.17.0
6 Feb 10:20:05 - [info] Linux 4.19.118-v7l+ arm LE
6 Feb 10:20:06 - [info] Paletten-Nodes werden geladen

Please try with version 1.2.2

I have updated to 1.2.2 but there is the AnamicoAlarmTriggered Node missing. Could you please check this?

Really sorry about that, typo slipped through.
Try 1.2.4 and let me know how you go.
This is a patch fix to stop a crash, but it may not always report the alarm source on a delayed trigger.

@webfrank can you please look at this? It seems to happen due to the trigger source payload you added, when the trigger fires after a delay, the lastMsg node attribute is potentially missing (not populated on the initial trigger call?).

Version 1.2.4 works very well and you're right, the alarm source is missing in the delayed trigger.

The missing source in the delayed trigger has been fixed in #39 (pending merge).


Edit photo button styles

Give edit button same styles as the "add a photo" button. Fixes #3924
@DoSomething/front-end

:+1:


feat: Allow any Python minor release >= 3.8

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #377

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.
We should not require the Python minor version to match exactly 3.8. Instead, we could state in the docs that the connector is tested on 3.8 only and that it is not guaranteed to work on other versions?

I have tested that the package installs and works just fine on Python 3.10.4 locally.

I have read the CLA Document and I hereby sign the CLA

Thanks for the PR @dingobar. I'm another user who would love to see the pin relaxed so 3.9 and 3.10 can be used with snowpark.


onMessage Method not called

This is my code, please check where there is a problem. Does onMessage method need to send a data message to get the data before it can be called? Thank you!
 _firebaseMessaging.configure(
      onMessage: (Map<String, dynamic> message) async {
        setState(() {
          _handleNotification(message, false);
        });
      },
      onLaunch: (Map<String, dynamic> message) async {
        setState(() {
          str2 = "onLaunch: $message";
        });
      },
      onResume: (Map<String, dynamic> message) async {
        setState(() {
          str3 = "onResume: $message";
        });
      },
    );
    _firebaseMessaging.requestNotificationPermissions();
    _firebaseMessaging.onIosSettingsRegistered
        .listen((IosNotificationSettings settings) {
          setState(() {
            str4 = "Settings registered: $settings";
          });
    });

Hi @PacteraJiJiaWei
can you please provide your flutter doctor -v ,
your flutter run --verbose
and your pubspec.yaml
Thank you

flutter doctor -v :
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.5 18F132,
    locale zh-Hans-CN)
    • Flutter version 1.12.13+hotfix.5 at /Users/wufan/Desktop/flutter
    • Framework revision 27321ebbad (3 months ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/wufan/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    ✗ Android licenses not accepted.  To resolve this, run: flutter doctor
      --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 38.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 36.2.1
    • Dart plugin version 191.7830

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

flutter run --verbose :
[  +28 ms] executing: [/Users/wufan/Desktop/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +46 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] 27321ebbad34b0a3fafe99fac037102196d655ff
[        ] executing: [/Users/wufan/Desktop/flutter/] git describe --match
v*.*.* --first-parent --long --tags
[  +15 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long
--tags
[        ] v1.12.13+hotfix.5-0-g27321ebba
[  +10 ms] executing: [/Users/wufan/Desktop/flutter/] git rev-parse --abbrev-ref
--symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/wufan/Desktop/flutter/] git ls-remote --get-url
origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +72 ms] executing: [/Users/wufan/Desktop/flutter/] git rev-parse --abbrev-ref
HEAD
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +8 ms] executing: sw_vers -productName
[  +20 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +18 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.14.5
[        ] executing: sw_vers -buildVersion
[  +15 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 18F132
[  +33 ms] executing: /usr/bin/xcode-select --print-path
[  +13 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +111 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +2 ms] Xcode 11.1
           Build version 11A1027
[  +64 ms] executing: /Users/wufan/Library/Android/sdk/platform-tools/adb
devices -l
[   +7 ms] Exit code 0 from: /Users/wufan/Library/Android/sdk/platform-tools/adb
devices -l
[        ] List of devices attached
[  +15 ms] executing:
/Users/wufan/Desktop/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[  +51 ms] /usr/bin/xcrun simctl list --json devices
[ +136 ms] No supported devices connected.
[  +12 ms] "flutter run" took 530ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand
(package:flutter_tools/src/commands/run.dart:289:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:590:11)
#3      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:515:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:146:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#10     FlutterCommand.run
(package:flutter_tools/src/runner/flutter_command.dart:505:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:146:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#19     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#20     CommandRunner.run.<anonymous closure>
(package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run
(package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#24     run.<anonymous closure>.<anonymous closure>
(package:flutter_tools/runner.dart:63:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:146:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main
(file:///b/s/w/ir/k/archive/flutter/packages/flutter_tools/bin/flutter_tools.dar
t:8:3)
#40     _startIsolate.<anonymous closure>
(dart:isolate-patch/isolate_patch.dart:305:32)
#41     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:174:12)

pubspec.yaml :
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  firebase_messaging: ^6.0.12

Thank you very much!

Hi @PacteraJiJiaWei please ask usability questions on StackOverflow with tag [flutter]. We are working on improving the project documentation for future - thanks!


⚠ ClamAV has degraded performance

In 8b33753, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 82 ms

Resolved: ClamAV performance has improved in b42925d.


fix : RecursiveWidget is incorrectly translated

fix : #4503

Sorry I missed this, I will look at it.


After running  pub run test_coverage faced an error

Could not find a file named "pubspec.yaml" in ".../.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.10".

had the same.


php8.3 in the party

If php8.3 is already released, let's do a test with this version.

I am not sure about what cause the single_space_around_construct warnings. This rule introduced at v3.16.0. This is not php version related problem.

It could be that the last time php-CS-Fixer was run, it was in a previous version, thus that check not "default".
Let's fix it in this PR, wdyt?

What exactly is php-cs-fixer criticizing here? To be honest, I don't see any issues in line #1 of the mentioned files?

include is a construct
An exemple
The doc

include is a construct
An exemple
The doc

Thanks, in the end it's not the opening php tag marked in line one.
For me, it would be ok to fix it in this pr. Wdyt, @connorhu?

and it's done.
I removed the brackets. I prefer includes to look different from functions.

Thanks @connorhu
merged!


Crean logger instances when launch autopilot

Changes
Crean logger asset instances when launching autopilot.
This change will fix the following problems:

Not reflected changes in logger settings
FileLogger: No output file generated

Conditions:
Turn off "Reload Domain" (Project settings > Enter Play Mode Options).
And running the game more than once while the Unity editor is running.
Priority
It's a low priority for me.

Contribution License Agreement

[x] By placing an "x" in the box, I hereby understand, accept and agree to be bound by the terms and conditions of the Contribution License Agreement.

@asurato san, Thank you for your review!
I don't have the authority to merge, so please merge.


missing applicationServerKey, and gcm_sender_id not found in manifest

I'm using react-webpack and it is generating service-worker and manifest but seems like this error keep appearing.
Library Affected:
InjectManifest, cleanPlugin
Browser & Platform:
Chrome 66 on Linux
Issue or Feature Request Description:
Your request here.
When reporting bugs, please include relevant JavaScript Console logs and links to public URLs at which the issue could be reproduced.
At webpack.config.prod.js
new InjectManifest({
         globPatterns: ['**/*.{html,js,css,ico}'],
         swSrc: './src/service-worker.js',
         swDest: 'sw.js'
       }),
    new cleanPlugin(pathsToClean),

At my service-worker
/**
 * Welcome to your Workbox-powered service worker!
 *
 * You'll need to register this file in your web app and you should
 * disable HTTP caching for this file too.
 * See https://goo.gl/nhQhGp
 *
 * The rest of the code is auto-generated. Please don't update this file
 * directly; instead, make changes to your Workbox build configuration
 * and re-run your build process.
 * See https://goo.gl/2aRDsh
 */

importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.1.0/workbox-sw.js");

importScripts(
  "/precache-manifest.2660061f4095b8ddeb5434a7a681f075.js"
);

//Instructs the latest service worker to activate as soon as it enters the waiting phase.
workbox.skipWaiting();
//Instructs the latest service worker to take control of all clients as soon as it's activated.
workbox.clientsClaim();

/**
 * The workboxSW.precacheAndRoute() method efficiently caches and responds to
 * requests for URLs in the manifest.
 * See https://goo.gl/S9QRab
 */
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

The function called when the index initialize:
export function registerServiceWorker() {
  if ('serviceWorker' in navigator) {
    window.addEventListener('load', () => {
      navigator.serviceWorker.register('/sw.js').then(registration => {
        console.log('SW registered: ', registration);
          registration.pushManager.subscribe({userVisibleOnly: true});
      }).catch(registrationError => {
          console.log('Error na registration')
      });
    });
  }
}

Error:

Uncaught (in promise) DOMException: Registration failed - missing applicationServerKey, and gcm_sender_id not found in manifest

Print at my screen, weird that says it is registered but after this says registering failed:
https://imgur.com/a/4YPdBrI
Full code:
https://github.com/danilosilvadev/workbox-pwa

That error's due to your usage of Push Notifications, which is independent from Workbox. It's this line that's failing:
registration.pushManager.subscribe({userVisibleOnly: true});

If you didn't intend to use Push Notifications, then just remove that line from your registration code.

@jeffposnick I do intend to use Push Notifications and this line is just the same as this tutorial from workbox docs: https://developers.google.com/web/tools/workbox/guides/codelabs/webpack

Right, that part of the tutorial assumed you wanted to add push notifications. You can skip it!

@danilosilvadev Hey, did you figure out why this error happens?
I am using the same code


taxon image display bug

In the latest version of demo2d, display the properties of some taxon with a taxon image. When you then hover the mouse over the image, you get an error. This error appears to be caused by event.cyTarget being undefined, so the variable "node" is undefined, so the reference node.qtip raises an error.

Yes, hovering is no longer a problem.

There was a bug in the way I sourced my images. I think it should be fixed now.

I'm still not seeing an image for Iguana.


Why dependencies the react-native-vector-icons?

The react-native-vector-icons lib has a lot of icon fonts. It is larger than 1.5 MB.

But In your ib. You guys only use one icon from this lib.

So I think it is better to use the react-native-svg lib.

We're seeing this increasing our app size too. Would love to see this optimized