Make "name" specifier of parser_outputs optional

From the same discussion as #166 with @mbercx and @superstar54, also came this issue: I'm getting quite confused these days with all the string annotations one needs to correctly set up. They seem a bit cumbersome and repetetive, e.g., having to specify:
parser_outputs=[{"name": "energy"}, {"name": "structure"}, {"name": "forces"}]

for using a custom parser when running a ShellJob. In this case, I propose we make the "name" key optional, and allow users to just specify a list (or, make the argument fully optional and inspect from the parser actual outputs of the parser function, though, that might be just wishful thinking, as it's passed as PickledData). I understand that other options could be specified here, e.g. data type, so we need to find a balance between extensibility and ease of use, so the default could be "name", while other/multiple identifiers can still be used.
There are more places where one has to add such string identifiers, the "General" comes to mind, e.g., from here:
SeekpathTask = build_task(
    seekpath_structure_analysis,
    outputs=[["General", "primitive_structure"], ["General", "explicit_kpoints"]],
)

where "General" could also be the default and users could just provide a simple list, as I think came already up on our first WorkGraph coding day

May I ask where do you find the SeekpathTask example code?
outputs=[["General", "primitive_structure"], ["General", "explicit_kpoints"]],

The General keyword has been dropped in the latest version.

In principle, it's from the RTD on Transferring WorkChain to WorkGraph, but I just checked, and actually it uses "name", not "General". Might have been an older version I still hadn't updated on my laptop. In any case, then the "General" issue is void then it's dropped 👍🏽


Problem Release v3.0.0 hub msh300 and mts100v3 not available

Hello, I have updated to the latest release and the old mts100v3 thermostats have become unavailable, I have one mts150 and it works correctly, Home assistant updated to the latest version.

Hello @testHAtest,
could you provide a diagnostic of the hub device ?

sorry, it solves like this: On 3.0.0 you should enter the integration configuration for each device and set the proper key.


[Volunteer Sprint] Security - Research configuration of django using https

How can we ensure that django can be configured to use https? This issue is just to research and distill the things we need in order to setup the django product in an https environment. We will want to ensure that we have the ability to do something similar on our own machines or enable ourselves to run the application under http.
When the research is done, create follow up issues that deal with getting any of the items setup as needed to run django locally and deploy it with https.
Document the findings and the tickets created in the security wiki page.

Issues to research for volunteer-a-thon (Oct 29):

Adding https to Django layer
Consider rate limits for pulling data from APIs
OAuth/other authentication options for the app

Possible resources to get started:

https://docs.djangoproject.com/en/3.1/topics/security/

Here's a summary of our findings.  They are ordered by complexity.
Requirements:
A hostname (can’t generate a certificate without a hostname)
A server (can’t test this without having a webserver running somewhere)
Below are options for acquiring and implementing HTTPS.
Option 1 (best -- especially if already planning to use Cloudflare for DDoS protection):
Use Cloudflare as an HTTPS proxy.  Their endpoint is secured behind HTTPS and then they proxy requests to our server.  As a plus can also be used for DDOS protection.
Related tickets:
https://github.com/codeforboston/jobhopper/issues/170
https://github.com/codeforboston/jobhopper/issues/169
Option 2:
Some domain name providers have an integration with Let’s Encrypt, and will automatically generate/renew certificates with Let’s Encrypt.
Related tickets:
https://github.com/codeforboston/jobhopper/issues/170
https://github.com/codeforboston/jobhopper/issues/169
Option 3:
There is a tool called certbot that will generate, validate, and renew certificates automatically.  It also configures the certificates and the webserver.  It is also agnostic to operating system and webserver software.  It doesn’t work automatically with every provider, so it may end up requiring some amount of nontrivial sysadmin work.
Related tickets:
https://github.com/codeforboston/jobhopper/issues/170
https://github.com/codeforboston/jobhopper/issues/169
https://github.com/codeforboston/jobhopper/issues/171
https://github.com/codeforboston/jobhopper/issues/172
https://github.com/codeforboston/jobhopper/issues/173
Option 4 (worst -- most work required and most prone to errors in setup):
Use a paid certificate through a provider.  It costs around $10/yr, they will activate and renew your certificate automatically.  You will then receive a certificate via email, and will have to install it yourself.  You will also then have to configure nginx/apache.
Related tickets:
https://github.com/codeforboston/jobhopper/issues/170
https://github.com/codeforboston/jobhopper/issues/169
https://github.com/codeforboston/jobhopper/issues/171
https://github.com/codeforboston/jobhopper/issues/172
https://github.com/codeforboston/jobhopper/issues/173

I think this is done, so I am moving it to the done column but won't close until I circle back with Lilian.


Add support for long value return for CEIL, CEILING and FLOOR math functions

Add support for long value return for CEIL, CEILING and FLOOR math functions.
Ceil and ceiling should round up to the nearest whole number if there is a decimal value.
Floor should round down to the nearest whole number if there is a decimal value.
Signed-off-by: MitchellGale-BitQuill<EMAIL_ADDRESS>Description
Currently the max size returned by OpenSearchSQL for values called with ceil, ceiling, floor is INT_MAX, this PR adds additional support for some values up to LONG return value.
There are concerns regarding accepted values because of issues with floating point precision issues. Please see this comment for more detail https://github.com/opensearch-project/sql/issues/1036#issuecomment-1335790282.
Issue exists in the positive domain for ceil and ceiling as well as the negative domain for floor.
Example issue ceil:
opensearchsql> select ceil(282474973688888.022);
fetched rows / total rows = 1/1
+-----------------------------+
| ceil(282474973688888.022)   |
|-----------------------------|
|<PHONE_NUMBER>88888             |
+-----------------------------+
opensearchsql> select ceil(282474973688888.122);
fetched rows / total rows = 1/1
+-----------------------------+
| ceil(282474973688888.122)   |
|-----------------------------|
|<PHONE_NUMBER>88889             |
+-----------------------------+

Example issue floor:
opensearchsql> select floor(-282474973688888.122);
fetched rows / total rows = 1/1
+-------------------------------+
| floor(-282474973688888.122)   |
|-------------------------------|
| -282474973688889              |
+-------------------------------+
opensearchsql> select floor(-282474973688888.022);
fetched rows / total rows = 1/1
+-------------------------------+
| floor(-282474973688888.022)   |
|-------------------------------|
| -282474973688888              |
+-------------------------------+

Notes
Because of the change of data type, several unit test, integration tests and comparison tests needed modification to reflect change from INT -> LONG.
Issues Resolved
https://github.com/opensearch-project/sql/issues/1036
Check List

[x] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[x] New functionality has been documented.

[x] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Do you need to update PPL docs and tests too?

Maybe something to note in the PR description would be if this is a breaking change. For example, the taco needs to be tested against this change. There is a overwritten function that expects CEIL and FLOOR to return an int.
https://github.com/opensearch-project/sql/blob/43ceda18930c459ff4f3c50651d98063f4bcc334/bi-connectors/TableauConnector/src/dialect.tdd#L305

There is no long in tdd:

Allowable types: none, bool, real, int, str, datetime, date, localstr, null, error, any, tuple, spatial, localreal, localint
ref

There is no long in tdd:

Allowable types: none, bool, real, int, str, datetime, date, localstr, null, error, any, tuple, spatial, localreal, localint

ref

Right. In which case the return type would be real which would potentially use the default generate formula by Tableau instead of the specified formula in the dialect.


fix e2e test

Currently it very flaky in CI

Increased timeout helped.
The --race flag was used in tests and timeout was too low.


Allow using delete instead of option+delete

First of all, thanks a lot for creating Maccy, it is so much better than any other such tools I've tried.
I have a small feature request, can an option be created in the preferences that, when checked, allows deleting the selected entry using only the delete key instead of option+delete?
I am used to the clipboard manager in Windows and pressing the option key again and again is slightly cumbersome.
Also, can the total number of clipboard items be shown in the footer, maybe inside a bracket after the clear option?
For example - "Clear (48 items)       ⌘⌥⌫"
Thanks a lot.

Currently, delete will remove the last character from a search field. Because removing history is a destructive action that can't be recovered from, I think it should not be bound to a simple key press.
If you find yourself removing too much - maybe you need to configure ignore lists accordingly.
As for the counter, I'll add it.

The conflict with the search bar is a valid point, I have disabled it for now but it's for sure a handy feature.
Thanks for the consideration. Will have to get used to option+delete.

Even when the search is hidden, you can still use it by typing words.


Dynamic Time Warping

@bacusters @mstroila , Frechet Distance and Hausdorff distances are both 'metric'  distances in the sense that they satisfy triangle inequality.  That was the reason we had kept the implementation of 'Frechet' and Hausdorff distances under the movetk/metric/Distances.h and the implementation of Longest Common Subsequence under movetk/algo/Similarity.h.
Maybe it's better to keep the implementation of Dynamic Time Warping under movetk/algo/Similarity.h. What do you think?

@bacusters @mstroila , Frechet Distance and Hausdorff distances are both 'metric' distances in the sense that they satisfy triangle inequality. That was the reason we had kept the implementation of 'Frechet' and Hausdorff distances under the movetk/metric/Distances.h and the implementation of Longest Common Subsequence under movetk/algo/Similarity.h.
Maybe it's better to keep the implementation of Dynamic Time Warping under movetk/algo/Similarity.h. What do you think?

Agree, I now understand your design choice and I will move it there.


use msgpack for precompute data

npz requires a gunzip and currently a transpose, creating extra memory and CPU pressure. this is a good time to fix this.

Currently only 4GB arrays are allowed in msgpack. https://github.com/msgpack/msgpack/pull/311
Definitely should wait on this, but it would be wise to exploit msgpack's multidimensional support when it actually happens.


Add WPS225: Forbid too many (3+) except cases in a single try clause diagnostic

Closed by https://github.com/strmwalker/ruff/pull/7


Failed to execute 'postMessage' on 'DOMWindow'

We are having issues with our implementation of OAuth, using this library on a VueJs App.
Everything works just fine, we can log in and log out. But the checksession part never seems to work properly.
We got a console message, with a counter constantly increasing:
oidc-client.min.js:1
Failed to execute 'postMessage' on 'DOMWindow':
The target origin provided ('http://oauth.test.example.com') does not match the recipient window's origin ('https://oauth.test.example.com').

Note the difference between both URLs, one with http and the other with https. We never found any URL configuration using http, everyone are with https
I had read the related issues #225 #303 #385 #464 #695 and #1006 but nothing solves it.
We have good CORS configuration and nothing seems to be blocking the library to function normally
This are the response headers
access-control-allow-headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization
access-control-allow-methods: GET, POST, OPTIONS
access-control-allow-origin: *
access-control-expose-headers: Content-Length,Content-Range
access-control-max-age: 1728000
content-security-policy: frame-src 'self' https://*.test.example.com/; default-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; form-action 'self' https://*.test.example.com/; upgrade-insecure-requests; connect-src https://*.test.example.com/ ;
content-type: text/html; charset=UTF-8
feature-policy: payment 'self'; sync-xhr 'self';
referrer-policy: strict-origin-when-cross-origin
status: 200
strict-transport-security: max-age=31536000; includeSubDomains
x-content-security-policy: default-src 'none'; script-src 'sha256-ZT3q7lL9GXNGhPTB1Vvrvds2xw/kOV0zoeok2tiV23I='
x-content-type-options: nosniff
x-xss-protection: 1; mode=block

Is there some configuration that we are missing here?

What's the URL in the discovery document for the check session endpoint? That's where that URL comes from.

This is our Discovery Document:
{
   "issuer":"https://oauth.test.example.com",
   "jwks_uri":"http://oauth.test.example.com/.well-known/openid-configuration/jwks",
   "authorization_endpoint":"http://oauth.test.example.com/connect/authorize",
   "token_endpoint":"http://oauth.test.example.com/connect/token",
   "userinfo_endpoint":"http://oauth.test.example.com/connect/userinfo",
   "end_session_endpoint":"http://oauth.test.example.com/connect/endsession",
   "check_session_iframe":"http://oauth.test.example.com/connect/checksession",
   "revocation_endpoint":"http://oauth.test.example.com/connect/revocation",
   "introspection_endpoint":"http://oauth.test.example.com/connect/introspect",
   "device_authorization_endpoint":"http://oauth.test.example.com/connect/deviceauthorization",
   "frontchannel_logout_supported":true,
   "frontchannel_logout_session_supported":true,
   "backchannel_logout_supported":true,
   "backchannel_logout_session_supported":true,
   "scopes_supported":[
      "openid",
      "profile",
      "roles",
      "offline_access"
   ],
   "claims_supported":[
      "sub",
      "name",
      "family_name",
      "given_name",
      "middle_name",
      "nickname",
      "preferred_username",
      "profile",
      "picture",
      "website",
      "gender",
      "birthdate",
      "zoneinfo",
      "locale",
      "updated_at",
      "role"
   ],
   "grant_types_supported":[
      "authorization_code",
      "client_credentials",
      "refresh_token",
      "implicit",
      "password",
      "urn:ietf:params:oauth:grant-type:device_code"
   ],
   "response_types_supported":[
      "code",
      "token",
      "id_token",
      "id_token token",
      "code id_token",
      "code token",
      "code id_token token"
   ],
   "response_modes_supported":[
      "form_post",
      "query",
      "fragment"
   ],
   "token_endpoint_auth_methods_supported":[
      "client_secret_basic",
      "client_secret_post"
   ],
   "id_token_signing_alg_values_supported":[
      "RS256"
   ],
   "subject_types_supported":[
      "public"
   ],
   "code_challenge_methods_supported":[
      "plain",
      "S256"
   ],
   "request_parameter_supported":true
}

I already check the oauth server configuration (.NET IdentityServer4) and everything is set to https.
We have all this deployed on Docker Swarm over multiple EC2 (AWS). On top of that, a Load Balancer (AWS) with SSL enabled.
Any request passes through an NGINX API gateway and passed to the oauth microservice. The oauth server is set to listen only http... Perhaps this affects the generation of the Discovery Document.
I guess this issue corresponds to the IdentityServer4 repository

There are many http endpoints in your discovery document:
{
   ...
   "jwks_uri":"http://oauth.test.example.com/.well-known/openid-configuration/jwks",
   "authorization_endpoint":"http://oauth.test.example.com/connect/authorize",
   "token_endpoint":"http://oauth.test.example.com/connect/token",
   "userinfo_endpoint":"http://oauth.test.example.com/connect/userinfo",
   "end_session_endpoint":"http://oauth.test.example.com/connect/endsession",
   "check_session_iframe":"http://oauth.test.example.com/connect/checksession",
   "revocation_endpoint":"http://oauth.test.example.com/connect/revocation",
   "introspection_endpoint":"http://oauth.test.example.com/connect/introspect",
   "device_authorization_endpoint":"http://oauth.test.example.com/connect/deviceauthorization",
   ...
}

There are many http endpoints in your discovery document:

Yea, why would this be if you're expecting SSL/TLS as you mentioned above?

Solved.
This happens because the server is behind a reverse proxy, serving in HTTP (internal network). Adding this setting (.NET IdentityServer4) on Startup.cs solve this issue:
services.AddIdentityServer(options =>
    {
        ...
        options.PublicOrigin = "https://oauth.test.example.com",
        ....
    }
);

Closing


commands reward

I want to give players a kit when they finish a quest as a reward in the config i've done.
rewards:
quest-points: 1
commands:
- kit drugs ""
but when i finish the quest it does /kit drugs "" in console instead of getting the name of the player.

You could try /sudo  kit drugs
This will execute a console command that forces the player who completed the quest to run the command /kit drugs
Assuming he has the perms to the kit, he should be able to get it. If he doesn't you will have to make another command reward that adds said permissions to the player that completed the quest.

Aceakita's answer seems best. Please create a new, updated ticket if this is still an issue. Thanks!


[Feature Request] Exponential Integral function Ei

No form because it's not a bug. -- Well, I assume it isn't a bug. As it happens, while Tensorflow does implement the log-gamma and regularized incomplete gamma functions, as far as I know no combination of provided functions can be used to obtain the exponential integral function Ei (it's a 0/0 problem for the most part). As far as I know, my only recourse at this point is writing a custom op and gradient with SciPy's expi function. It'd be cool if that were addressed in the next version.
Thanks!

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

I suppose, Mr. Bot?
Have I written custom code - N/A
OS Platform and Distribution - N/A
TensorFlow installed from - 1.9
TensorFlow version - 1.9
Bazel version - 0.15
CUDA/cuDNN version - 9.0/7.1
GPU model and memory - N/A
Exact command to reproduce - N/A

Approval for API reviewl

Marking as contributions welcome if anyone wants to work on this

I can work on this.

... It's a bit late, though I suppose the function was added "only" a year or two after the original request, but ... yes, as far as I can tell. I have thoroughly moved on from that project, however, so I'm just assuming it works the way it says.

Thanks @robertmaxton42 for the confirmation. Closing this issue for now.

Are you satisfied with the resolution of your issue?
Yes
No


Is the project cool with being included in mac homebrew?

I have successfully installed sold and used it with my rust projects. But managing the install with a git checkout and make/make install is a far cry from the simplicity of brew install sold. I would like to take a stab at contributing the formula, is the project OK with that?

I can't stop you from doing it if you really want to do since it's the MIT license, but I wouldn't recommend because this project is no longer active.

If this project is no longer active, what does that mean for macOS/iOS support and Mold? Could this functionality be brought back to Mold?

I'd like to learn more about Apple's faster linker. But if this project is mothballed I'll just close this ticket and forget about it. Thanks!


Update configure-the-windows-firewall-to-allow-sql-server-access.md

Changed instructions just slightly in section "To add a program exception to the firewall using Windows [Defender] Firewall with Advanced Security" to be more technically accurate.

@leastofthese23 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @markingmyname - Could you review the proposed update to your article?
Publishing in this repository is suspended until Tuesday, September 22; merging will resume at 7 AM Pacific Tuesday. If you approve the revisions, with your #sign-off, we can merge the PR at that time.
Thanks.

approved.
#sign-off


chainW

Closes https://github.com/gcanti/fp-ts-rxjs/issues/37
Version of https://github.com/gcanti/fp-ts-rxjs/pull/41, branched from 0.6.12

Thanks @anthonyjoeseph

Thanks @anthonyjoeseph


Fix over-eager parens

Hi I don't know anything about anything, but this fixes builds on my system.

It looks like this is trying to address #1263 on your own machine. What you actually need to do is rustup update nightly && cargo update and you'll be fine. This unstable API changed slightly on a recent nightly, so what we have updated to the newer syntax.


Facing issue while configuring yaml file

Hi, Im facing issue while i configured the file and when i log in it shows this error
time="2021-05-27T21:51:48+08:00" level=info msg="could not connect to backend at http://rpc.slock.it/goerli. In a swap-enabled network a working blockchain node (for goerli network in production) is required. Check your node or specify another node using --swap-endpoint."
Error: init chain: get chain id: Post "http://rpc.slock.it/goerli": EOF
how can i fix it?

Hi, that's my problem, too. Looking forward to solutions


Potential fix for windows upload issue

Potential fix for windows upload issue

This is no longer valid PR.


Deduplicate issues

This PR further refactors the database model for issues to deduplicate entities, so that issues with matching properties are reused. It also contains a migration script to remove existing duplicates. Refer to the single commits for further information.

@oheger-bosch, this PR causes problems on our side:
ERROR: update or delete on table "issues" violates foreign key constraint "identifiers_ort_issues_ort_issue_id_fkey" on table "identifiers_issues"
  Detail: Key (id)=(96) is still referenced from table "identifiers_issues".

Any idea how to fix that?

It's unfortunate that the migration was split into two (83 and 84) but the first one already requires the changes in this PR to work. Migration 83 was executed successfully by our deployment pipeline, which rendered old deployments unable to server requests, but as migration 84 failed, our deployment pipeline hasn't deployed the changes in this PR to the application code. We probably should take good care to ensure that we rollback all migrations of a PR if some fail.


Dynamic batching for interactive serving needs an extra request

When setting MAX_BS in constants.py to a value n (e.g., n=2), it takes n+1 requests to dispatch the batch.  Happens on the main branch.  You can reproduce by:

setting MAX_BS to a small value and TIMEOUT_MS to a large value
Starting up interactive serving
Submitting MAX_BS requests and waiting

Fixed in #669


Added countOccurrences and sortOccurrences template functions

Basically, a clone of https://github.com/devopsext/chatops/pull/19
I'm now trying to merge this changes to the correct place :P
Let's say we have a slice ["bird", "bird", "bird", "dog", "cat", "cat", "cow", "cow", "cow", "cow"]
If we use countOccurrences from within a template, we get this map:
{
    "bird": 3,
    "dog":  1,
    "cat":  2,
    "cow":  4,
}

And if we use sortOccurrences with the map we got above, and providing a separator string occurrences: and a limit of 3, we get this slice with the sorted occurrences:
["cow occurrences: 4", "bird occurrences: 3", "cat occurrences: 2"]

Discussed with a team member earlier. This should be OK to merge.


Support for [patch] & [replace] directives in member & workspace manifests

This PR adds support for [patch] and [replace] directives in both member and workspace manifests, according to The Manifest Format (emphasis mine):

Workspaces were added to Cargo as part of RFC 1525 and have a number of properties:

A workspace can contain multiple crates where one of them is the root crate.
The root crate's Cargo.toml contains the [workspace] table, but is not required to have other configuration.
Whenever any crate in the workspace is compiled, output is placed in the workspace root (i.e., next to the root crate's Cargo.toml).
The lock file for all crates in the workspace resides in the workspace root.
The [patch], [replace] and [profile.*] sections in Cargo.toml are only recognized in the root crate's manifest, and ignored in member crates' manifests.

With one caveat: I only implemented support for workspace directives for the case where the member manifest explicitly provides the workspace path, such as:
[package]
workspace = ".."

This spared me from extracting/re-implementing the root-finding logic of rust-lang/cargo/…/core/workspace.rs.
It seemed like a reasonable compromise to me as having to maintain the latter feels like a bit of an overkill, given the far simpler workaround. Having to add a simple [package.workspace] should break anybody's project, should it?

Edit: Making use of $ cargo metadata now for full workspace-support.
Fixes https://github.com/dtolnay/trybuild/issues/3.

Lemme know if you'd like anything else to be changed.

Looks good to me. Thanks for implementing this!

Thanks for merging and the initial hint on how to resolve the issue myself!


Readying New Release (v<IP_ADDRESS>.2)

The specific files that need to be adjusted for a new release.  These changes trigger the in-app updater.

I've tagged this commit
https://github.com/szepeviktor/w3-total-cache-fixed/releases


Add duplicate_to_end parameter

Following the PR here: https://github.com/datahq/dataflows/pull/156

@roll

Looks good - just need to also bump dataflows version when it's released.

Dataflows version bumped!

Pull Request Test Coverage Report for Build 1172

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

Files with Coverage Reduction
New Missed Lines
%

.tox/py37-plyvel/lib/python3.7/site-packages/datapackage_pipelines/lib/duplicate.py
1
0%

.tox/py37-sqlite/lib/python3.7/site-packages/datapackage_pipelines/lib/duplicate.py
1
0%

Totals

Change from base Build 1166:
0.0%

Covered Lines:
1737

Relevant Lines:
10159

💛  - Coveralls

Bumping this @akariv

Sorry for the delay

https://pypi.org/project/datapackage-pipelines/2.2.6/

no worries for the delay! Thanks for the merge.


⚠ RPC server - Astar has degraded performance

In b5a6d87, RPC server - Astar ($ASTAR_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Astar performance has improved in 50208bc.


Support Fine-tune on PeFT adaptation

This project is great and the dataset is unique. To provide help to the community, it will be a great idea to support PeFT training on this dataset. Also, there's a chance to increase the training to RLHF if PEFT is supported (https://huggingface.co/CarperAI/vicuna-13b-fine-tuned-rlhf).
We can compare the finetuned model with Vicuna as their dataset is also a synthetic dataset (ShareGPT)

This project is great and the dataset is unique. To provide help to the community, it will be a great idea to support PeFT training on this dataset. Also, there's a chance to increase the training to RLHF if PEFT is supported (https://huggingface.co/CarperAI/vicuna-13b-fine-tuned-rlhf).
We can compare the finetuned model with Vicuna as their dataset is also a synthetic dataset (ShareGPT)

Thanks, it is a great suggestion. We are working on a full model and will then train peft modules.


Question: *include

Does the *include work only as the highest level list and not under secondary level?
For example: this works
nav:

Main topic: '*include:...'

this doesn't work:
nav:

Main topic:

intro: "index.md"
Sub topic: "*include..."

This works, as long as you do it in the top level site.
On Thu, 4 Aug 2022, 01:53 mdeliw, @.***> wrote:

Does the *include work only as the highest level list and not under
secondary level?
For example: this works
nav:

Main topic: '*include:...'

this doesn't work:
nav:

Main topic:

intro: "index.md"
Sub topic: "*include..."

—
Reply to this email directly, view it on GitHub
https://github.com/backstage/mkdocs-monorepo-plugin/issues/83, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADI7HJZAWTSF2WJTGWEN5DVXMA7JANCNFSM55QTQXIQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


chore(blockifier): add gas consumed to cairo 1 revert summary

This change is

#2953  👈 (View in Graphite)
main-v0.13.4

This stack of pull requests is managed by Graphite. Learn more about stacking.


Use kubernetes

Hi friends. What I should do to use kubernetes and not openshift? Very thanks

I configured a kubernetes cluster, and linked to CLI. Now, I have problem with deploy.yml. How can I solve this, friends?


Update react-router usage example

The example is incorrect - you can't mix children and component prop. Looks like some left-over from v3 API?

Yep. Thanks!


[WIP] Adding in variables used in each component.

The goal of this merge request is to add in the variable names used by each component to give people an easier to access way to theme bootstrap. This is a work in progress, as each component involves me reading through the code to get an appropriate determination of what they do.

Status
Component
Comments

✅
alerts

✅
badge

✅
breadcrumb

✅
button-group

✅
buttons

✅
card

✅
carousel

✖
collapse

✖
dropdowns

✖
forms

✖
input-group

✖
jumbotron

✅
list-group

✖
media-object

✖
modal

✖
navbar

✖
navs

✖
pagination

✖
popovers

✅
progress

✖
scrollspy

✅
spinners

✖
toasts

✖
tooltips

✅
code

✅
figures

✅
close-icon

@jhechtf: this is wrong again... You need to rebase against upstream/master.

Also, to be honest, I'm not sure I like the maintenance weight this adds.

@XhmikosR
In response to the maintenance weight, it really wouldn't add much so long as people follow the same pattern that I am currently seeing in the _variables.scss file, which is where I'm pulling the values from. It would just have to be an expectation for anyone in the future who introduces a new variable to make sure that they document and describe its use, which I don't think is unreasonable, especially considering that Bootstrap is as much a stand-alone CSS/Javascript framework as it is a themeable base.
As for the rebase -- can you please do me a favor and clarify what you mean by rebasing against upstream/master? in the last ticket you told me to remove anything that was unrelated. I took that to mean "remove anything that isn't from my changes." Assuming I rebase from upstream master, what are types of changes are ones that I should keep, and what are ones I should remove? I'm asking for clarity as I'd really rather like to only do this once more before going back to documenting the other components.

But we'd need to update those manually, which is an extra things for us.
Sure, I can automate it probably with Hugo's readFile and some filtering, but I'm still not sure this is worth it.
/CC @twbs/css-review

I really don't think "if you add / edit / remove a variable from the _variables.scss file, you need to make sure to add/edit/remove the entry in the corresponding Variables table to reflect the changes" is asking too much, especially since I am going to be giving the brunt of most of that work, unless the bootstrap variables change very suddenly in 4.4 or beyond. Even then I'd be willing to go through this all again to make sure that the tables are updated for future use, because documenting how these values interconnect is important.

It is a lot of work unless it's automated, and I speak from experience, when I say that anything not automated will be a problem.
Leaving this to @twbs/css-review . I'd personally wouldn't add this, unless it's properly automated.

I like the idea of additional variables documentation, but this approach will be hard to maintain. We'll probably get out of sync at some point, because it 'll be easy to miss a variable because they can be listed anywhere in the docs. I'm more in favour in something that's automated (and simple). That 'll be quite a challenge I guess.

I'm all ears if anyone has another way to build the documentation.
On Tue, Mar 26, 2019, 11:45 Martijn Cuppens<EMAIL_ADDRESS>wrote:

I like the idea of additional variables documentation, but this approach
will be hard to maintain. We'll probably get out of sync at some point,
because it 'll be easy to miss a variable because they can be listed
anywhere in the docs. I'm more in favour in something that's automated (and
simple). That 'll be quite a challenge I guess.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/28549#issuecomment-476793566, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHxll-50wZ0u3sIi4RlfI8LVkHXma1zvks5vamrJgaJpZM4cFJrA
.

@JLammeer once did a pretty nice job here: https://jlammeer.github.io/bootstrap-sassdoc/
But that lead to a pretty huge variables file which was mad it a bit more unclear on the scss side because of the amount of comments:
https://github.com/JLammeer/bootstrap-sassdoc/blob/master/documented-items/_variables.scss
We don't have an out of the box solution yet, it looks like a lot of people are looking for this or want to create a solution for Bootstrap. A simple solution we can plug into Hugo would be ideal I guess.

Let me look into Hugo (never used before) and see if I can find something.
On Tue, Mar 26, 2019, 12:31 Martijn Cuppens<EMAIL_ADDRESS>wrote:

@JLammeer https://github.com/JLammeer once did a pretty nice job here:
https://jlammeer.github.io/bootstrap-sassdoc/
But that lead to a pretty huge variables file which was mad it a bit more
unclear on the scss side because of the amount of comments:
https://github.com/JLammeer/bootstrap-sassdoc/blob/master/documented-items/_variables.scss
We don't have an out of the box solution yet, it looks like a lot of
people are looking for this or want to create a solution for Bootstrap. A
simple solution we can plug into Hugo would be ideal I guess.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/28549#issuecomment-476811891, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHxll-RAIfzxoJrvjuH_UVRqbCv7IXk3ks5vanWOgaJpZM4cFJrA
.

It's doable with readFile like I mentioned. Then we need to find a way to filter only the related variables, which can be done with a specific comment in _variables.scss, like // ** Tooltips or similar.

Thanks @jhechtf, you can ping us when you got something. I'm going to close this PR for the maintenance issues we mentioned above.


Recursive diff on directories

... would be a nice addition.

I wrote an impl myself inspired by your code but with a slightly different interface (returns a result, named ..._are_eq since it doesn't return a diff). I'd be happy for you to reuse this code but don't know how it would best fit into your library.
files_are_eq
paths_are_eq


CLNRest option for the connect wallet screen

It would be great if the app could add CLNRest options to the connect wallet screen.
The only coonection options for ZEUS wallet to Core Lightning are based on c-ligntning REST, taht are marked as deprecated.
It would have to expose:
The host address and port
The Rune
The Tor option

I believe replacing the current c-lightning-rest option with the new clnrest URL should be fine, as nearly all applications have migrated to clnrest by now.

@ShahanaFarooqui
You'll have to pardon my profound ignorance about what's latest-scoops and al LN. I'm literally only 1.5 day in CLN ;)
I've noticed Zeus ability to scan a QR from the LND implementation (a beyond-word-heavyweight implementation I failed miserably with btw). If there was anything super cool to credit about, it was that; Zeus' wallet being able to QR connect to the node with only 2-clicks. Magical stuff!
Side note. I did noticed that it can do CLNrest too a few minutes ago though (manual input). I'll give this a try when I managed to bypass my NAT constraints here (need tor, I think).


Contributing

Hi, can I contribute with translation of documentation?

Is this repository dead?

@irwingmax As much as I'd like to I don't know how multiple language versions of this repository would work currently, sorry.


Use immersive mode in FilePhotoActivity

Closes #135

Checked working on Nexus 4 5.0. Attached screenshots.


Long-term Realtime Database connection with ChildListener

Please fill in the following fields:
Pre-built SDK from the website
Firebase C++ SDK version: 6.8.0
Firebase plugins in use (Auth, Database, etc.): App, Auth, Realtime Database
Additional SDKs you are using (Facebook, AdMob, etc.):  Qt 5.12.5
Platform you are using the C++ SDK on (Mac, Windows, or Linux): Windows 10
Platform you are targeting (iOS, Android, and/or desktop): Desktop
Please describe the issue here:

Sign-in existing user with Auth (email + password)
Get database reference for a selected root node
Add ChildListener to this node
Desktop application is running: ChildListener is triggered for every child nodes
Add some child node from a mobile application: ChildListener is triggered for every new child nodes
Both mobile and desktop applications are running for more than 1 hour in "idle state". (always connected, no sleep mode, no new child nodes are being sent from mobile app)
Add some new child node from a mobile application:  these nodes can be shown in Firebase web console but ChildListener is NOT triggered anymore on desktop! Re-login and new database reference is required in order to get them.

Q: What is the best practice to always get the new child nodes on desktop? How long is the connection alive?
Please answer the following, if applicable:
Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
Did not tried.
What's the issue repro rate? (eg 100%, 1/5 etc)

Hi @mrnrone,
We would expect that the connection should stay alive as long as the app is open. We have a few theories about what might be causing it to disconnect, but we'd like some more data. Would you mind turning on verbose logging, reproducing the issue, and then uploading the log? That will let us see what is happening when it fails.

Hi Alex,
please let me know how I can turn on verbose logging and where the log file
I can found.
Thanks
On Fri, 13 Dec 2019, 23:52 Alex Ames<EMAIL_ADDRESS>wrote:

Hi @mrnrone https://github.com/mrnrone,
We would expect that the connection should stay alive as long as the app
is open. We have a few theories about what might be causing it to
disconnect, but we'd like some more data. Would you mind turning on verbose
logging, reproducing the issue, and then uploading the log? That will let
us see what is happening when it fails.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/firebase-cpp-sdk/issues/38?email_source=notifications&email_token=ABDUCWHMEZVC3ZELXQMVN43QYQGZLA5CNFSM4J2AXBNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG3POKQ#issuecomment-565638954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDUCWDMSLDHU6RDKCJVJZLQYQGZLANCNFSM4J2AXBNA
.

You will want to use two functions to turn on logging, one for firebase in general, and one for database specifically:
::firebase::SetLogLevel(::firebase::kLogLevelVerbose);
my_database->set_log_level(::firebase::kLogLevelVerbose);

Logs will be output to standard out, so you can just capture them and save them to a file.

This part of the log might be useful:
...
DEBUG: ID token changed. Notifying 1 listeners.
DEBUG: [conn_1] websocket message received
DEBUG: [conn_1] websocket message received
DEBUG: [conn_1] ProcessMessage (length: 79)
DEBUG: [conn_1] received data message
DEBUG: [pc_0] handleServerMessage ac {"d":"Auth token is expired.","s":"expired_token"}
DEBUG: [pc_0] Auth token revoked: 2 (Auth token is expired.)
DEBUG: Starting transaction.
DEBUG: Transaction completed.
DEBUG: [conn_1] Closing connection. Reason: 0
DEBUG: [pc_0] Got on disconnect due to 0
End of log
Please let me know what listener(s) should be used to get notification about the expired token? Should I simply re-login with authentication module and reconnect to the database in this case?

I tried to update auth token in different ways like:
Call periodically currentUser->GetToken(true) method
or
Call periodically currentUser->Reauthenticate(userCredential) method
but in both cases the auth token expired after 1 hour.
As a workaround in every 30 minutes I sing out, disconnect from database and do a re-sign in and re-connection to the database and skip previous messages. It's not the best solution, but it works.

We believe that this is an issue with the auth token not propagating to the database service.  Thanks for the report!

Hi folks,
We have patched for the authentication part of this issue and it should be included in the next release.
With the fix, if the client idle for an hour, it would reconnect with the new auth token and re-establish all listener event.
The catch is: it would still trigger OnDisconnect event.  We are working on the part to send the fresh auth token to database server periodically in order to prevent the disconnection.
@FrankNine Are you experiencing "access denied when executing OnDisconnect" issue on desktop or on Android/iOS devices?  If on mobile devices, that would sound like an issue on mobile SDK.  Could you confirm this?  Thank you.
Shawn

We are experiencing it on Android devices. I was trying to capture full log but it seems log change a bit after 6.10.0 that I couldn't find that OnDisconnect error, but the presence duplication due to OnDisconnect has not authentication to write still happened.

@FrankNine
Thank you for reporting this issue!  However, yours seems to be different from what this thread is for, which is a bug on desktop or in editor.
To help us pinpoint and manage the issue easier, could you kindly open a new issue with detail about your problem? If possible, could you try to reproduce the behavior using our quick-start project?
Thank you,
Shawn

The original issue should be fixed as of 6.11.0. Let us know if it still occurs!
--Patrick


Godot main application gui interface

Hi, sorry to bother...but i am a noob in programming and I have started learning about C and C++. I am just wondering what library(s) is godot using to layout items on screen i.e. the interface, the window system. My guess would be something that is cross platform as it looks similar on major operating systems.

Godot's GUI is made out of Godot's own GUI elements such as Controls and TreeNodes and HBoxContainers.

This is not a question for GitHub. This is a place for reporting bugs, so unless you have one, use other community channels next time.
As for the question, Godot has its own GUI system and doesn't use any library for that (AFAIK).

Thanks for the reply guys


Select2 full prevent left and right arrow keys from any input field on a form why?

I am using select 2 as full version. And I found an issue with this.
  <script src="{{ asset('bower/select2/dist/js/select2.full.min.js') }}"></script>

Its preventing LEFT & RIGHT arrows key to work / function on any input where I am using select box.
But I remove the included plugin above (select2.full.min.js  ) then let & right key start working on each input on my form.

Any one face this issue ? or I am wrong with this

Can you expand upon the issue you are facing by adding a few more pieces of information to your bug report?

What steps can be used to reproduce the issue?
What is the bug and what is the expected outcome?
What browser(s) and Operating System have you tested with?
Does the bug happen consistently across all tested browsers?
Can you reproduce this issue on any of the examples in the docs?
What version of jQuery are you using? And what version of Select2?
Are you using Select2 with other plugins?

The contributing guide contains a useful section with a few questions which can help us track down the bug and speed up the process of finding a fix for it.  The creation of an isolated test case would also be useful.

Q: What steps can be used to reproduce the issue?
Ans:    Just add select 2 any select box in a form , and then see the other input element that form stopped the arrows keys working. Suppose I have 2 element on my form one select 2 box and other is simple input box.
So other simple input box also do not allows the left&right arrows to work.
Q: What is the bug and what is the expected outcome?
Ans:  Bug is it should prevent other input to use arrow keys. and outcome should be alble to use arrow keys in other input in the form.
Q: What browser(s) and Operating System have you tested with?
Ans: Chrome & Ubuntu 16.04
Q: What version of jQuery are you using? And what version of Select2?
Ans: j query is latest and select 2 is 4.0.11

Select2 doesn't capture the input anywhere, so this sounds a lot like a bad interaction with a plugin. This is backed up by the fact that we can't reproduce this in the documentation site.

Are you using Select2 with other plugins?

If you can't narrow this down to a plugin on your side (even when you strip them all out), we're going to need an isolated test case to be able to debug this.


Node-red stops after UnhandledPromiseRejectionWarning

Node-RED version: 2.1.3
Node.js version: 12.22.7
npm version: 6.14.15
Platform/OS: Raspbian
Camera: DS-2CD2343G2-I, firmware: V5.7.1 build 211009
Oct 31 23:04:23 raspberrypi Node-RED[12424]: (node:12424) UnhandledPromiseRejectionWarning: Error: Text data outside of root node.
Oct 31 23:04:23 raspberrypi Node-RED[12424]: Line: 6
Oct 31 23:04:23 raspberrypi Node-RED[12424]: Column: 12
Oct 31 23:04:23 raspberrypi Node-RED[12424]: Char: 1
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at error (/root/.node-red/node_modules/sax/lib/sax.js:651:10)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at strictFail (/root/.node-red/node_modules/sax/lib/sax.js:677:7)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at SAXParser.write (/root/.node-red/node_modules/sax/lib/sax.js:1035:15)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at Parser.exports.Parser.Parser.parseString (/root/.node-red/node_modules/xml2js/lib/parser.js:323:31)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at /root/.node-red/node_modules/xml2js/lib/parser.js:5:59
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at /root/.node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:179:41
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at Array.forEach ()
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at handleChunk (/root/.node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:170:34)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at Readable. (/root/.node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:263:33)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: at Readable.emit (events.js:314:20)
Oct 31 23:04:23 raspberrypi Node-RED[12424]: (node:12424) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promi$
Oct 31 23:04:23 raspberrypi Node-RED[12424]: (node:12424) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-ze$

Hi
I’ll take a look

Hi,
this is an error in a library used by hikvision-ultimate, whenever the XML returned by the camera/NVR is invalid.
I worked on a workaround/fix and i'll tell the dev of that library to take a look.
V. 1.0.55 is out in about 1 hour.
Please test it and let me know if it worked.

Sure I'll. Thanks Supergiovane !

In changelog there is a little mistake - knx-ultimate -> hikvision-ultimate

...mmmm... thanks. I'll change it. I'm working on too many nodes at once!

It's working stable.

I have the same problem. What did you do to fix everything?
Node-RED_ version: 1.3.7
Node.js_ version: 12.22.6
npm_ version: 8.3.0 (The problem was also on ver. 6.12)
node-red-contrib-hikvision-ultimate v.1.0.57
Platform/OS: Synology - Docker (As part of the application iobroker, https://registry.hub.docker.com/r/buanet/iobroker/)
Camera: DS-2CD2086G2-UI, firmware: V5.7.1 build 211009
Camera: DS-2CD2386G2-ISU/SL, firmware: V5.5.801 build 210727
2021-12-14 13:58:43.664 - error: node-red.0 (14782) 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().

2021-12-14 13:58:43.667 - error: node-red.0 (14782) unhandled promise rejection: Unmatched closing tag: EventNotificationAlert
Line: 2
Column: 25
Char: >
2021-12-14 13:58:43.668 - error: node-red.0 (14782) Error: Unmatched closing tag: EventNotificationAlert
Line: 2
Column: 25
Char: >
at error (/opt/iobroker/iobroker-data/node-red/node_modules/sax/lib/sax.js:651:10)
at strictFail (/opt/iobroker/iobroker-data/node-red/node_modules/sax/lib/sax.js:677:7)
at closeTag (/opt/iobroker/iobroker-data/node-red/node_modules/sax/lib/sax.js:879:7)
at SAXParser.write (/opt/iobroker/iobroker-data/node-red/node_modules/sax/lib/sax.js:1436:13)
at Parser.exports.Parser.Parser.parseString (/opt/iobroker/iobroker-data/node-red/node_modules/xml2js/lib/parser.js:323:31)
at /opt/iobroker/iobroker-data/node-red/node_modules/xml2js/lib/parser.js:5:59
at /opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:177:41
at Array.forEach ()
at handleChunk (/opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:168:34)
at Readable. (/opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes/Hikvision-config.js:261:33)
2021-12-14 13:58:43.669 - error: node-red.0 (14782) Unmatched closing tag: EventNotificationAlert
Line: 2
Column: 25
Char: >
2021-12-14 13:58:44.873 - info: node-red.0 (14782) terminating
2021-12-14 13:58:44.874 - warn: node-red.0 (14782) Terminated (UNCAUGHT_EXCEPTION): Without reason
2021-12-14 13:58:47.565 - info: node-red.0 (14782) terminating with timeout
2021-12-14 13:58:50.439 - info: node-red.0 (1322) node-red exited with 6
2021-12-14 13:58:55.441 - info: node-red.0 (1322) Starting node-red: --max-old-space-size=512 /opt/iobroker/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js
2021-12-14 13:58:58.166 - warn: node-red.0 (1322) 14 Dec 13:58:58 - [warn] Projekte deaktiviert: editorTheme.projects.enabled=false
0

[{"id":"ca5e1e19.ae749","type":"hikvisionUltimateAlarmRaw","z":"54b087c0.79e268","d":true,"name":"","topic":"","server":"","x":130,"y":100,"wires":[["58908bc.05c9674"],[]]},{"id":"58908bc.05c9674","type":"switch","z":"54b087c0.79e268","name":".eventDescription","property":"payload.eventDescription","propertyType":"msg","rules":[{"t":"eq","v":"fielddetection alarm","vt":"str"},{"t":"eq","v":"linedetection alarm","vt":"str"},{"t":"eq","v":"regionEntrance alarm","vt":"str"},{"t":"eq","v":"regionExiting alarm","vt":"str"}],"checkall":"true","repair":true,"outputs":4,"x":310,"y":100,"wires":[["c7c94210.749d7"],["5444b72c.b4f468"],["58badce7.cfe054"],["3c6fbb83.1e5694"]]},{"id":"c7c94210.749d7","type":"link out","z":"54b087c0.79e268","name":"fielddetection","links":["f5ba2bab.e75fb8"],"x":510,"y":40,"wires":[],"l":true},{"id":"5444b72c.b4f468","type":"link out","z":"54b087c0.79e268","name":"linedetection","links":[],"x":510,"y":80,"wires":[],"l":true},{"id":"58badce7.cfe054","type":"link out","z":"54b087c0.79e268","name":"regionEntrance","links":[],"x":520,"y":120,"wires":[],"l":true},{"id":"3c6fbb83.1e5694","type":"link out","z":"54b087c0.79e268","name":"regionExiting","links":[],"x":510,"y":160,"wires":[],"l":true},{"id":"1c3b0cf2.c078d3","type":"comment","z":"54b087c0.79e268","name":"Smart Event ->","info":"","x":180,"y":260,"wires":[]},{"id":"f5ba2bab.e75fb8","type":"link in","z":"54b087c0.79e268","name":"fielddetection_INPUT","links":["c7c94210.749d7"],"x":115,"y":620,"wires":[["fa0d6a27.1e6598"]]},{"id":"fa0d6a27.1e6598","type":"switch","z":"54b087c0.79e268","name":".regionID","property":"payload.DetectionRegionList.DetectionRegionEntry.regionID","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"2","vt":"num"},{"t":"eq","v":"3","vt":"num"},{"t":"eq","v":"4","vt":"num"}],"checkall":"true","repair":true,"outputs":4,"x":220,"y":620,"wires":[["2b321074.c43cb"],["903cddc6.f135c"],["c8a513.9df8baf"],["ea7f96ff.4f38f8"]]},{"id":"903cddc6.f135c","type":"switch","z":"54b087c0.79e268","name":"Region 2 .detectionTarget","property":"payload.DetectionRegionList.DetectionRegionEntry.detectionTarget","propertyType":"msg","rules":[{"t":"eq","v":"human","vt":"str"},{"t":"eq","v":"vehicle","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":520,"wires":[["a092a6b9.b525f8","6a46b248.1eec1c"],["418212e3.1761ac","cb8efff9.b7752"]]},{"id":"a092a6b9.b525f8","type":"change","z":"54b087c0.79e268","name":"Region 2   human  ","rules":[{"t":"set","p":"payload","pt":"msg","to":"Region 2 human","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":720,"y":500,"wires":[["148bdbec.21b274"]]},{"id":"418212e3.1761ac","type":"change","z":"54b087c0.79e268","name":"Region 2 vehicle","rules":[{"t":"set","p":"payload","pt":"msg","to":"Region 2 vehicle","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":540,"wires":[["148bdbec.21b274"]]},{"id":"148bdbec.21b274","type":"debug","z":"54b087c0.79e268","name":"Region 2","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":920,"y":520,"wires":[]},{"id":"6a46b248.1eec1c","type":"link out","z":"54b087c0.79e268","name":"Cam_03_Region_2__human","links":[],"x":740,"y":460,"wires":[],"l":true},{"id":"cb8efff9.b7752","type":"link out","z":"54b087c0.79e268","name":"Cam_03_Region_2__vehicle","links":[],"x":740,"y":580,"wires":[],"l":true},{"id":"c8a513.9df8baf","type":"switch","z":"54b087c0.79e268","name":"Region 3 .detectionTarget","property":"payload.DetectionRegionList.DetectionRegionEntry.detectionTarget","propertyType":"msg","rules":[{"t":"eq","v":"human","vt":"str"},{"t":"eq","v":"vehicle","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":700,"wires":[["e39a4442.0bea78","1849e3ef.16a9dc"],["f4354a2e.db8088","9427c95e.64f248"]]},{"id":"e39a4442.0bea78","type":"change","z":"54b087c0.79e268","name":"Region 3   human  ","rules":[{"t":"set","p":"payload","pt":"msg","to":"Region 3 human","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":720,"y":680,"wires":[["84a11526.978028"]]},{"id":"f4354a2e.db8088","type":"change","z":"54b087c0.79e268","name":"Region 3 vehicle","rules":[{"t":"set","p":"payload","pt":"msg","to":"Region 3 vehicle","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":720,"wires":[["84a11526.978028"]]},{"id":"84a11526.978028","type":"debug","z":"54b087c0.79e268","name":"Region 3","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":920,"y":700,"wires":[]},{"id":"1849e3ef.16a9dc","type":"link out","z":"54b087c0.79e268","name":"Cam_03_Region_3__human","links":[],"x":740,"y":640,"wires":[],"l":true},{"id":"9427c95e.64f248","type":"link out","z":"54b087c0.79e268","name":"Cam_03_Region_3__vehicle","links":[],"x":740,"y":760,"wires":[],"l":true},{"id":"ea7f96ff.4f38f8","type":"switch","z":"54b087c0.79e268","name":"Region 4 .detectionTarget","property":"payload.DetectionRegionList.DetectionRegionEntry.detectionTarget","propertyType":"msg","rules":[{"t":"eq","v":"human","vt":"str"},{"t":"eq","v":"vehicle","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":880,"wires":[["215fe62a.6ce15a","104721f8.e7d0be"],["cf998596.639f08","25dffdc0.a88f52"]]},{"id":"104721f8.e7d0be","type":"link out","z":"54b087c0.79e268","name":"Cam_03_Region_4__human","links":[],"x":740,"y":820,"wires":[],"l":true},{"id":"25dffdc0.a88f52","type":"link out","z":"54b087c0.79e268","name":"Cam_03_Region_4__vehicle","links":[],"x":740,"y":940,"wires":[],"l":true},{"id":"215fe62a.6ce15a","type":"change","z":"54b087c0.79e268","name":"Region 4   human  ","rules":[{"t":"set","p":"payload","pt":"msg","to":"Region 4 human","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":720,"y":860,"wires":[["5c622365.ec0cec"]]},{"id":"cf998596.639f08","type":"change","z":"54b087c0.79e268","name":"Region 4 vehicle","rules":[{"t":"set","p":"payload","pt":"msg","to":"Region 4 vehicle","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":900,"wires":[["5c622365.ec0cec"]]},{"id":"5c622365.ec0cec","type":"debug","z":"54b087c0.79e268","name":"Region 4","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":920,"y":880,"wires":[]},{"id":"2b321074.c43cb","type":"switch","z":"54b087c0.79e268","name":"Region 1 .detectionTarget","property":"payload.DetectionRegionList.DetectionRegionEntry.detectionTarget","propertyType":"msg","rules":[{"t":"eq","v":"human","vt":"str"},{"t":"eq","v":"vehicle","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":340,"wires":[["631d2b40.d7c714","bd59ae36.09232"],["51c77034.7f16a","66da825c.969a2c"]]},{"id":"631d2b40.d7c714","type":"change","z":"54b087c0.79e268","name":"Region 1 human","rules":[{"t":"set","p":"payload","pt":"msg","to":"Region 1 human","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":720,"y":320,"wires":[["f67db389.59655"]]},{"id":"51c77034.7f16a","type":"change","z":"54b087c0.79e268","name":"Region 1 vehicle","rules":[{"t":"set","p":"payload","pt":"msg","to":"Region 1 vehicle","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":360,"wires":[["f67db389.59655"]]},{"id":"f67db389.59655","type":"debug","z":"54b087c0.79e268","name":"Region 1","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":920,"y":340,"wires":[]},{"id":"bd59ae36.09232","type":"link out","z":"54b087c0.79e268","name":"Cam_03_Region_1__human","links":[],"x":740,"y":280,"wires":[],"l":true},{"id":"66da825c.969a2c","type":"link out","z":"54b087c0.79e268","name":"Cam_03_Region_1__vehicle","links":[],"x":740,"y":400,"wires":[],"l":true}]

Hi
<EMAIL_ADDRESS>is out. You should see the new version in some minutes. Please install it and try.
Cheers!

Thanks for the very quick response!
I installed the new version and am starting testing.

The fall of the node continues. Now it is difficult to understand the reason who is to blame for this, perhaps it is not connected with camera, at the moment there are few statistics. In the log only this:
(node:170) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 101 error listeners added to [Parser]. Use emitter.setMaxListeners() to increase limit

Hi
That error tells unfortunately nothing. EventEmitter is a class embedded into node.js, used by near all nodes to emit the events to the subscribers.
What you can try to do, is to update node.js to v14, but v12 is already good. I don't know.
I'm testing the matter now... please leave me some time... i'm trying to reproduce your issue...

PS: the Unmatched closing tag: EventNotificationAlert is coming from xml2parser and means that your camera sends a notification alert without the last ">" tag in the XML.
So i wrapped the XML decoder into a try-catch to get rid of these wrong XML messages.
I'll try to simulate a wrong XML and see what happen...

PPS: can you please add a banana to your configuration and restart node-red? This enables the full log.
As soon as you encounter the error, please paste here again the log.
Thanks.

iobroker.2021-12-15.log.zip
It turned out to be a large LOG. There were no falls, but there was a trigger SMART.

Thanks
sorry.... do you have enablet "motion alert" in the camera? Or maybe other smart events like "intrusion detection" etc?

...and maybe this is the issue:
"5720229152Cam_03binary1"
MAYBE your cam is trying to send something in binary mode (maybe a picture?) with the alarm stream.
Can it be? How do you have set your camera to send the picture?

In my camera, ALL events are configured and used. These are 4 zones, 4 line crossings, 4 invasions into the region and 4 exits from the region.
It's a lot? Can't use everything?
Thanks for your work.
My problem appears in all situations when the camera detects something from the NFNN actions. But most often, almost always, the problem manifests itself in multiple events. For example, when three to five people in a crowd cross the line - 100% will be a crash.
I am not using the camera to send an image. I pull the image from the camera using ffmpeg, capturing the stream from the camera, and then saving the .jpg or .gif to disk. I will check the camera settings, I didn’t know the camera can send images.

Hi
thanks for the clarification.
Yes, i was unaware that hikvision can send images in the alarm stream, but it seems really that, from i can see in your log. After "BANANA PROCESSING", i log what i received straight from your camera and it is:
15 Dec 16:58:10 - [error] BANANA PROCESSING
--
Content-Disposition: form-data; name="regionEntrance"; filename="regionEntrance"
Content-Type: image/jpeg
Content-Length: 424684
����d

I'll turn on the "region entrance" on one of my camera and i'll see. Please leave me some time.

Hi again
i have no camera that have regionEntrance function.
Anyway... the memory problem with the EventEmitter can be related to the binary data, but i'm unsure of that. Other than that, i'm not aware on how increase the emitter.setMaxListeners() in an installation running on iobroker.
I don't understand also, where your last log, relating to memory leak, is coming from. There are too many layers (hikvision-ultimate installed on node-red, installed on iobroker, running on node.js).
If you are an adventurer, you can try to install node v14 (check if iobroker can run on that first!).
You could also open your camera from internet access, so i can try, but i haven't iobroker, so i cannot reproduce your environment.
Please tell me what you wish to do.

I do not have physical access to the camera, it is far away, I connect to a remote network with cameras via VPN. Or rather: this is the remote network that connects to me via VPN, I have a VPN server with a static IP set up. The network speed to the cameras is very poor, streaming video can only go in the minimum quality and not always.
NodeRED is located in the same local network with cameras, and already I connect to NodeRED and look at all the information, there is enough speed for this.
I’ll think about how I can arrange for you to access the camera.
I want to deal with this problem. Now I will turn off all events in the camera, leave only the "linedetection", two lines, and I will watch.
The problem arises only at the time of the event, and the event will occur when people are walking or vehicles are moving. The peak of events I have only from 7:50 to 8:30 and from 12:00 to 14:00 (UTC +03.00), the rest of the time there may be no one, so experiments will not work.
I have remote access to Docker. I can install anything there. Which system should I choose? Will Ubuntu work? Which version of NodeRED to install in Ubuntu?
I tried to update and now everything looks like this for me:

Hi
You can test with a simple raspberryPI or a PC or VM with Debian. Node red will install in just a command line row. It’s very simple. I personally use a Qnap with the virtualization station running a debian with nodered.

And so, the version of the packages is shown in the screenshot above. In the camera, of all events, only line crossing detection is enabled. And now the event has come, the log is in the archive.
iobroker.current.log.zip
In the current case, the system did not crash. But again you can see how the camera tried to send the binary. I will try to disable ActiveSearch metadata in the camera.

Hi You can test with a simple raspberryPI or a PC or VM with Debian. Node red will install in just a command line row. It’s very simple. I personally use a Qnap with the virtualization station running a debian with nodered.

I will do it. A little bit later.

Hikvision node simply discards such binary data. I’ll take a look at the log tomorrow.

My observations of system behavior:

When an event occurs, for example "linedetection", when one object in the frame crosses the line, the camera sends one xml with parameters.
If there was not one object in the frame, but for example two people walking side by side, or one person, but there is also a shadow on the road, which the camera takes for a person, and considers that there are two objects, then the camera sends to each object by one XML.
If there are three objects, the camera will quickly send three xml.
In each xml only the parameters of one detected object. Thus, this is not one xml with an array of parameters for several objects, but for each object its own separate xml.
If these xml come from the camera more often than once a second - NodeRED crashes, reboots.
According to my observations, the camera can send up to 5-6 XML with binaries of images in one second, when there are many actions, when there are many people.
If I understood correctly, the system (my NodeRED system) is not capable of processing data at such a speed. I have no idea how to reduce the speed of the message. Messages from the camera can arrive quickly even if only one event is configured to be detected if there are many people at that moment. If any other detection occurs in parallel at this time, then the situation worsens.
In the camera, I did not find any settings on this topic. Let me remind you that I turned off all detections except for line crossing detection. Also disabled all metadata that the camera can transmit to Hikvision registrars.
In the camera, I did not find any settings on this topic. Let me remind you that I turned off all detections except for line crossing detection. Also disabled all metadata that the camera can transmit to Hikvision registrars. There is no flashcard in the cell. Recording video and saving snapshots by the camera itself to microsd drives are disabled and have never been used.
I have asked a question in the hikvision community. Perhaps someone can tell you what the camera is trying to do and how it can be regulated.

Hi
Thanks for the clarification.
As far as i can see from the log, the node processes the messages correctly. It simply discards invalid data.
About the speed, some Hik with old firmware sends the datastream (even if no movement is detected, just as an Heartbeat), every 250ms. The speed is not a problem here, but i understand that your camera is sending a huge amount of data (because of the embedded images).
This can cause some glitches in some library used by... who know? (there are a lot of software involved here).
I suggest you to try the "clean way", by installing nodered on an old PC. You can do that at home and connect to the camera via your VPN.
This helps you to limit the software environment involved and to obtain a real log (the pure log coming from node-red).
As a beside note... have you tried to use the Alarm node directly, and not the RAW alarm node?

I have tried using Alarm node, but didn’t figure out the types of notifications until the end, so I used RAW.
I will try to use Alarm node directly.
I have not used clean yet NodeRED, it is quite difficult to install on Debian, I constantly fly out various errors, several hours of searching for information did not lead to success. As an experiment, I'll try a ready-made image like this: https://registry.hub.docker.com/r/nodered/node-red/
If it is unsuccessful, then I will bet on Raspberry.
p.s. What is the reason for ignoring images? Have you tried getting them? You can try to extract them and redirect them to a node for saving to a file or for displaying.
On page 91 it is mentioned. There may be a description somewhere else.
doku.pub_hikvision-isapi-core-protocolpdf.pdf

Hi Sergio
installing on debian is pretty straighforward. Just install node.js (there is an auto installer on github https://github.com/nvm-sh/nvm) and then go to node-red.org and simply sudo npm install -g --unsafe-perm node-red
For autorun, install pm2 package as well.
OR
You can install node-red on Windows PC as well.

And so - everything is bad.
I connected two NodeREDs to the same camera, the same one. One is the one with iobroker. The second is a docker image, pure NodeRED https://registry.hub.docker.com/r/nodered/node-red/.
The fall of NodeRED continues.
Sometimes both are together. Sometimes only one. There is no dependence, randomly. Yes, in one case, when an event occurs, when three people almost at the same time cross the line, one NodeRED can fall, and the other can work without falling. In another, the same case, another may fall, and the first will work normally. Both can fall at once.
Tomorrow I will put NodeRED on Windows, I will continue to observe.

As a beside note... have you tried to use the Alarm node directly, and not the RAW alarm node?

Either I didn’t figure it out, or it doesn’t work correctly.
My settings:

This works, but without considering the direction of travel. Also, the type of object is not taken into account. How to choose parameters so that I can take into account separately people, separately vehicles who have just entered and which have just left? Or is it not yet implemented?
p.s. I have not yet tested the system with only "Alarm node" without "RAW node". I will definitely try it later.

Hi
Have you tried one of the other Hikvision nodes from other developers?
Other than that, i need a log to view something. A log from node-red.

It's been a long time. I got the stats. My problem persists. I tried different hardware, but the reason was not in the hardware on which Node RED is running.
I came to different conclusions.
Not Node RED crashes, only the node-red-contrib-hikvision-ultimate application crashes
I use Synology Surveillance Station, Hikvision cameras connect by protocol ISAPI. Node-red-contrib-hikvision-ultimate works in parallel with this.
The node fall occurs randomly, but the fall never occurred if there were no objects in front of the camera. If people pass with a large interval, for example, one person once a minute, the node crash is very rare. If two or more events occur at the same time or almost simultaneously, for example, there is an vehicle and people in the frame, there is a line crossing event and a zone entry event at once, then the node almost always falls.
Here the point is that Synology Surveillance Station also uses the ISAPI protocol, and if in Synology I turn off the "SMART event" for the camera, then the node stops falling. But then Synology does not see events from the camera, it is impossible to record by event.
I conclude that there is a conflict. As a result of some conflict falls node-red-contrib-hikvision-ultimate, at the same time, the camera continues to work, and the Synology continues to work and receive events from the cameras.
I understand that you do not have time for development node. I saw the information that you are looking for developers. It is unlikely that you will be able to help me, but I will leave this problem here, in case there is a solution.

Hi Sergio
Can you please send me a screenshot of your camera, where i can see the lines you draw? I wish to test it.
I’m using an intrusion detection area plus a line crossing, without any issue, even if more than one event occur at the same time. Thanks.

Region1

Line A -> B

Line B -> A

Is it possible to restart only one node? I determine that a node has fallen by events. When a node is running, it constantly sends empty events. If they are not - an alarm. This is a crutch, but it would help me until I understood why the fall occurs.

Ok. Leave me some time to test. I’ve a Qnap so i can test with it. Accessing the alertStream from ISAPI from more than one client at the same time is fair common and should’nt be a problem…

Is it possible to restart only one node? I determine that a node has fallen by events. When a node is running, it constantly sends empty events. If they are not - an alarm. This is a crutch, but it would help me until I understood why the fall occurs.

The camera sends an hearbeat signal, even in case of no events. In old firmware, this heartbeat is sent every 250ms, in the more recent firmwaee, every 10 seconds.

PS: have you updated the node to the latest version?

Good. I am aware that the problem is elusive.
I additionally want to report that the problem is repeated even with just one SMART event. For example, we have only one line crossing, and nothing else. And even in this case, there are falls, although much less often than in the case of many SMART events.
I want to emphasize that the problem is precisely when we connect Synology, which also listens to these SMART events. I think you need to test in the direction of multiple parallel requests from the camera. It is possible that Synology itself falls at some point, but I don’t see this, because it quickly resumes work. Or maybe the node does not implement automatic reconnection? After all, if it has fallen, will it endlessly write "waiting for an event" and does not try to reconnect, and will reconnect only when I reboot NodeRED.

PS: вы обновили узел до последней версии?

Yes. Over the course of a year, I tried different versions, different OSes, and the latest NodeRED packages.

Hi
in the latest 1.0.70 version, there was the xml2json package, used without a try-catch. That may have caused issues, if the alarmStream from the camera is sent malformed or some udp packet where lost.
With the last version, node-red should not crash anymore.
Can you please send me the log of the crash, when it occurs, like you've done here https://github.com/Supergiovane/node-red-contrib-hikvision-ultimate/issues/27#issuecomment-994708349 ?
I've understood the "Synology" thing... the only issue i see, is a UDP port conflict of some sort.

Sergio, please upgrade to hikvision-ultimate 1.0.71 and let me know.

I'm quiet because I'm collecting data, checking network devices. You said about the conflict of ports, and I decided to see what was happening on the network.
On my network, which is separate for Smart Home devices, There are many homemade products on the basis WT32-ETH01. I was told that if they break down, they can clog the network. Now I'm trying to move the cameras to a separate physical network.
As for the logs, there are few of them and they are not informative.
The moment of failure:
2023-01-10T13:25:46.720380664Z,stdout,(node:8) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Parser]. Use emitter.setMaxListeners() to increase limit
2023-01-10T13:25:46.720214219Z,stdout,(Use `node --trace-warnings ...` to show where the warning was created)
2023-01-10T13:25:46.719137883Z,stdout,(node:8) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [Parser]. Use emitter.setMaxListeners() to increase limit

I am already convinced that the problem is not in the application. Because it works when it's disabled Synology.
I updated to 1.0.71.
Many thanks!

Hi Sergio
please upgrade to 1.1.0. I've done some code adjustment to try to overcome your issue.

upgrade to 1.1.0.

Updated. I continue to watch.
Thank you!

With version 1.1.0 for three days no crashes. You have solved my problem.
Thank you!

You’re wellcome.

Hi
i'll take a look at that. I need to setup a camera that can send a picture event.
I'll revert to you asap.

Can you paste here, the output XML of your RAW alert node? Currently i send the whole XML RAW message, but there is no embedded image on it.

Hmmm... let me do some banana researches...

Hi
can you unzip this file into your .node-red/node_modules/node-red-contrib-hikvision-ultimate/nodes folder and restart node-red? I've added a payload with the jpg content (ishould have) hikvisionUltimateAlarmRaw.js.zip

Sorry, THIS FILE
hikvisionUltimateAlarmRaw.js.zip

Sorry, THIS FILE hikvisionUltimateAlarmRaw.js.zip

Judging by the hashes, my file in the system is absolutely the same as the one you sent.

La stanchezza.
Here the right file.
Hikvision-config.js.zip

Yes. Now the snapshot comes in text form. At least part of it.
This text is similar to the text that the camera creates in the vault.
I allocated disk space to the camera on NAS (CIFS).
Set up the camera to take a snapshot when certain events occur.
Now she takes pictures and stores them on a network share.

It looks like this:
File "hiv00000.pic" In which:
`{
"HeadInfo":	{
"version":	2,
"operate":	"get",
"intelligentType":	"smartEvent",
"eventType":	"lineCross",
"intelligentVersion":	1,
"channel":	1,
"subVersion":	20200413
},
"BodyInfo":	{
"relativeTime":	-1428157859,
"absTime":<PHONE_NUMBER>,
"millisecond":	165,
"uuid":	"03b3c234-5b19-4ab3-a8ba-cdcce044f126",
"bodyType":	"Alarm",
"Alarm":	[{
"alert":	true,
"viewState":	0,
"RuleInfo":	{
"id":	1,
"ruleType":	"lineType",
"RuleParam":	{
"direction":	"left_to_right"
},
"PointF":	[{
"x":	0.44769874215126038,
"y":	0.40000000596046448
}, {
"x":	0.44769874215126038,
"y":	0
}]
},
"TargetInfo":	{
"targetType":	1,
"id":	48860,
"alarmFlg":	false,
"confidenceLevel":	3,
"Rect":	{
"x":	0.44062501192092896,
"y":	0.0555555559694767,
"w":	0.02265625074505806,
"h":	0.11388888955116272
}
}
}],
"PicInfo":	[{
"picType":	"backgrdPic",
"picLen":	280819
}]
}
}яШяа –
[id:48860]
[type:1]
[rule_id:1]
[event_type:1]
[jpgQ:80]
[tgt rect:0.4406(564), 0.0556(40), 0.0227(29), 0.1139(82)]
[alert time:2024-9-18 16:48:0]
яЫ „

%# , #&')*)-0-(0%()(

(((((((((((((((((((((((((((((((((((((((((((((((((((яА Р " яДў
   } !1AQa"q2Ѓ‘Ў#B±БRСр$3br‚
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzѓ„…†‡€‰Љ’“”•–—™љўЈ¤Ґ¦§Ё©ЄІіґµ¶·ё№єВГДЕЖЗИЙКТУФХЦЧШЩЪбвгдежзийкстуфхцчшщъ
  w !1AQaq"2ЃB‘Ў±Б	#3RрbrС
$4б%с&'()56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ѓ„…†‡€‰Љ’“”•–—™љўЈ¤Ґ¦§Ё©ЄІіґµ¶·ё№єВГДЕЖЗИЙКТУФХЦЧШЩЪвгдежзийктуфхцчшщъяЭ  яЪ   ? ъh
xLэ)бBр “UЇnD0ЛыЕG€ИRxьi№КяРх/O3G$XЅъHc•¦9fб‚ЮqґaёщIдЧ%ЁjR^KZЋ«'цX›М-$9•О,КwБ@юIАиµ[ЅSыf№kuЭТ1;VB%¶В„mњЊ:’И=zуђэ·J†КюТk(ҐђH›boхeTЁU<дf5Пx‘“Uя Ї#6»џяСкьAє±ЅѕIоK М%Ы©»pf‹ о;Рњ*бњ6sYй04 XЗеy®ZlЎe1Ќ¤Ћ„дсБаЂq^пч±BђЩЙfа…Ь2›s”Ъr~о2=>чbEgЬ\K%УЬјЄтєтБёaќёъOzЦiњнЈяТІУЬZDЦввE‰|¤—r+mЖн¬xfдр8=Єњ—SµБ”МеЩJNr¤Ћ{в©оlгљ~sу(Ж+§—[ґr6яУ¬НБЁъRЏе‰ь(ЫЧФqџяФў5<mґеqУ їQЕUN}iкxъЧK9S?яХ„ЖљЩ$гЉЏuзЊЦЗ1яЦ¤OУ4gп‘лЉ#‰з‘cЊe‰З'§ЦЩYr2§µОTяЧўw(RАб†F{ХДІуtЦё]Ы”9 Ћ=j¤уI;щ’9v<хЄхЭє”0G1y‡&-Ы№г#ЫџеSZRЊUґf1KSяРЎ
пm»¶®~fN?*hx…I,FЮ”•ЪHR{qЯ«$Є§?0П8ъЉ®n¦<§яСМ(IапLь8O9Ћ>cЙН@Э=«Dф9љмяТКCњbЇГ@rz «igфљ»њњЦ“vZБ\яУglљbЊ·µ=›#Ґ;E+Ш-}OяФ†RqTe|љћжAНQvжњu3“?яХВb0M0а’Oт§—зҐ+њ0Ж vяЦзЩ°lУ	ЪњэоХ! °&ўlИД…вµ^G/©яЧжWњsНJЯ4А1О9§ѓиkЄ18Ы?яРВЌw7=&¤ЮI<азЏjfJB3ьЗйЪя )Аак«¦‡	яСГ<Љ‰сџТҐм П5sњWlv8яТжЩ{УHКУКџ,сQг#ЇjфяУеі@з8ПЇРТdџё™З;‡б]QzбEwу#‹•џяФжA8$UхО6Фlцк¤‰T·e6=ЄeТГ.йдnЩ©юЗ©lњqО=л»™ф8щVяХд…К)эФo'^јRGц©ЙЊсУ?ОµЉ¤gCжа *ЦFKЁ‹рзф®пxгґяЦжОоSуМUG8S·щTсi	Ђdзс«2О~]КAфХIob?y"¶p<їЧъWaКќѕяЧГ›O‚(XнP@к{S’Х…ЁbTЖаxЛ~j…ХМеv2ђќ2зЇiБ{ЩB/!€eзaћ‚»“vgII+џяРжQ;;t ‘ЃП9Зф«±Е EµTыЫ›їгQ[ Щї<їНS3ЃПёНtЬз?яСА’ТЭ‰iLЋЄҐUє±6С6ю Єщl›ЄѓЕA,$\IµЃщWЄю"єьЋVяТг2ҐЩ‘›еqЮІ#фКх5rpPьл°я }9_м¬щ;‘»ьјWMЋSяУгФ¶Т °лЧрЄІП~xдгa2бN:wўhе0д¬…єЃ[lО3яФаКь‹Ћ{ТЕf6Ке№щІ•3e[9оEH‘•Pky=&ПяХа¤·@§ЄфGхЕ ‹жКtЗCO, оb^ќЅ©ЂФхюµО5&яЦуФILя &жnшз5y‘em’	YНтъzљЌ\щLЃШЁЗ_Jіo0 ±Д¬$8Q“ЫЯтdоq¶яЧд<¦pBЕЖN .......
And so, one by one, all the snapshots in this one file. When requested through the camera interface, it extracts the image from this file and returns it in normal form with the extension .jpg
the output content of the node is very similar to the data in the file. I need some time, I will try to make an image from the text.
Thank you!

It seems to mix the jpeg stream data with the camera settings.
The content is clearly not an image as i expect.
On the ISAPI documentation, there is nothing about the data format. I need to guess it by trying to decode the stream data.
I'll let you know...

I have no camera capable of sending the image embedded into the eventsteam.
If you could send me a file (zipped) with the Content-Type: image/jpeg, i will work on that.

I have no cameras capable of sending the image embedded into the eventsteam. If you could send me a file (zipped) with the Content-Type: image/jpeg, i will work on that.

I started sending this text data to a file. But somewhere the message is cut off and I get only 20-60KB, when the actual size should be around 400KB.

Here they are.  payload.zip
I can offer other information that may be useful.
I set up automatic saving of snapshots to a network drive. All information is stored in the file: hiv00000.pic  hiv00000.zip
In the camera's web interface, saved snapshots look like this:

And these are snapshots if you request their unloading from the camera 2024-09-19.zip
If you open the file hiv00000.pic in a text editor, and open the file .jpg in a text editor, you will find a lot in common. It also looks like the text returned in "payload"

There is some extra data in the jpg, that must be wiped out.
Thanks for the zip files, i'm analyzing it.

Hi
are you able to give me access to the camera, so i can deal with it directly? I need the full event request, with for-data multiparts etc...

I need to think about how to do this. The camera is on a network that does not have internet access. I access this network through a VPN.
I'll come back with an answer a little later.

...or another camera you have on hands, capable of sending the image toghether with the event stream...

...or another camera you have on hands, capable of sending the image toghether with the event stream...

It wasn't easy for me, but I think I managed to set up my Mikrotiks
How can I provide you with information in a confidential manner?
email?

<EMAIL_ADDRESS>

Thank you! The connection is working.
Now i can work to the payload. I'll let you know.

..just to let you know that i'm actively working on extract image from a multipart/form-data message...

...it takes a little long, because i must wait for someone to trigger the event, everytime i do a change in the code...

You will have as much time as you need. There will be very few events now and they will be rare. Many events happen on weekdays from 12:00 to 15:00 local time. And around 8 am.

Hi Sergio
Almost done. Here an image captured by the node.

Hi Sergio
<EMAIL_ADDRESS>is out
As this is a beta, you need to cd into your ./node-red folder and type npm install<EMAIL_ADDRESS>Let me know if it fits your needs.

1.2.0 official is out.

This works great! Just what need! Now can get exactly the shots that the camera analytics thought needed, without delay.
Thank you!


Remove a line in source code to check the job

Fixes #
Proposed Changes

Release Note

/test pull-knative-serving-operator-integration-tests-on-latest-serving
There is an additional job added. It can be triggered manually.


Cargo APK 0.9.3 and later does not appear to respect RUSTFLAGS

Hello!
It appears that when building using cargo-apk 0.9.3 and later the RUSTFLAGS set in /.cargo/config.toml are not being included. In our code-base we depend on the flag rust flag "--cfg tokio_unstable" being set. However when building this flag is not being set. Earlier version of cargo-apk like 0.9.2 does not show this behavior.
Quickly skimming the diff there appears to have been some changes to how flags are being handled, though I haven't looked to close yet.

Your colleague already addressed that in https://github.com/rust-windowing/android-ndk-rs/pull/357, but I have yet to make a release pending reviews on my other cargo-apk related PRs.

Oh 😅! Thanks, closing this issue then!

Fwiw the breakage in cargo-apk 0.9.2 => 0.9.3 came paired with ndk-build 0.6.0 => 0.7.0, where https://github.com/rust-windowing/android-ndk-rs/pull/298 landed.

@Hoodad @Jake-Shadle you may also be interested in #260 / #365 regarding your internal usage of cargo-apk and other android-ndk-rs crates; community feedback from actual users on moving forward is invaluable, let me know how you feel about this situation!

Thanks for the heads up and sorry for being a bit vacant and not replying to your question @MarijnS95 There will be some additional speed on Android side now going forward. We're currently inventorying what we need going forward and looking at what options are available.
Regarding the reason why I created the issue in the first place. I have tested latest version of cargo-apk and it still fails to respect the rust flags. I created a minimal example reproducing the issue here https://github.com/Hoodad/cargo-apk-rust-flags-repro
Even if cargo-apk will become (or maybe already is) deprecated I wanted to feedback that the issue still persist.


Alpine edge

In Progress
Alpine Edge beta docker with python3 and pcap-miner dependencies.

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/python3-alpineedge-pcapminer:<IP_ADDRESS>86
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/python3-alpineedge-pcapminer/tags
Get started by pulling the image:
docker pull devdemisto/python3-alpineedge-pcapminer:<IP_ADDRESS>86

Docker Metadata

Image Size: 62.02 MB

Image ID: sha256:01b1fa32c3bd4afb5545383adda0611df0da544597acc840cd3009d99cbe9f33

Created: 2020-07-09T15:47:52.260371046Z

Arch: linux/amd64

Command: ["/bin/sh"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
PYTHON_VERSION=3.8.3
PYTHON_PIP_VERSION=20.1.1
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/eff16c878c7fd6b688b9b4c4267695cf1a0bf01b/get-pip.py
PYTHON_GET_PIP_SHA256=b3153ec0cf7b7bbf9556932aa37e4981c35dc2a2c501d70d91d2795aa532be79
DOCKER_IMAGE=devdemisto/python3-alpineedge-pcapminer:<IP_ADDRESS>86

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:290c3a66c89e41d330ff2c55e2c203577978f278
org.opencontainers.image.version:<IP_ADDRESS>86

Don't use edge

did not solve the problem.


Deprecate use of builtins.getEnv

This removes all use of builtins.getEnv for state version ≥ 20.09.

Thanks for having a look :+1:


Many tabs have falled under the close button

When I opened much more than 6 tabs, the tabs and the "Open New Tab" button fell under the "Close" button.

This issue should be resolved in main.


Improve ASCII art for LangitKetujuh GNU/Linux

Description

The logo uses blue as the main color.
The size of the ascii logo is slightly narrowed.
Ascii logo moved in alphabetical order

Features
Logo

Old ASCII

New ASCII

Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!


ERROR, Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1

We started seeing externalsecrets with status ERROR, Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 intermittently after upgrading to 8.1.3 from 6.0.0 in one of the cluster. There are times when status is success for the same secret.
We have multiple clusters with externalsecrets 8.1.3. The external secrets are with status success in clusters upto 120 secrets. The cluster where we see failures have more than 500 secrets.
We think it might be because of throttling from AWS, however logs does not indicate clearly.
We are using Per pod IAM authentication using kube2iam
env values
      - env:
        - name: AKEYLESS_API_ENDPOINT
          value: https://api.akeyless.io
        - name: AWS_DEFAULT_REGION
          value: us-west-2
        - name: AWS_REGION
          value: us-west-2
        - name: LOG_LEVEL
          value: debug
        - name: LOG_MESSAGE_KEY
          value: msg
        - name: METRICS_PORT
          value: "3001"
        - name: POLLER_INTERVAL_MILLISECONDS
          value: "300000"
        - name: VAULT_ADDR
          value: http://<IP_ADDRESS>:8200

Log message
{"level":20,"message_time":"2021-07-14T19:57:25.997Z","pid":17,"hostname":"external-secrets-kubernetes-external-secrets-c6dcc947f-x9r97","msg":"updating status for abc/streamingapiendpoint-client-secret to: ERROR, Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1"}
{"level":50,"message_time":"2021-07-14T19:57:26.395Z","pid":17,"hostname":"external-secrets-kubernetes-external-secrets-c6dcc947f-x9r97","payload":{"message":"Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1","code":"CredentialsError","path":null,"host":"sts.us-west-2.amazonaws.com","port":443,"time":"2021-07-14T19:57:26.395Z","region":"us-west-2","hostname":"sts.us-west-2.amazonaws.com","retryable":true,"originalError":{"message":"Could not load credentials from ChainableTemporaryCredentials","code":"CredentialsError","path":null,"host":"sts.us-west-2.amazonaws.com","port":443,"time":"2021-07-14T19:57:26.395Z","region":"us-west-2","hostname":"sts.us-west-2.amazonaws.com","retryable":true,"originalError":{"message":"Client network socket disconnected before secure TLS connection was established","code":"TimeoutError","path":null,"host":"sts.us-west-2.amazonaws.com","port":443,"time":"2021-07-14T19:57:26.395Z","region":"us-west-2","hostname":"sts.us-west-2.amazonaws.com","retryable":true}}},"msg":"failure while polling the secret abc/abc"}

Do you have any suggestions or fixes?
We did not see any option which can help with throttling other than WATCH_TIMEOUT. Removing WATCH_TIMEOUT vafiable itself also did not help.

I'm having the exact same issue :(

I have the same issue :'(

I have the same problem, someone can give some tips ?

The error message ERROR, Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 can very well because of credential issue. However for us that was not the reason, 8.1.x versions were throwing the error when we had too many secrets, number was around 370 secrets. We have multiple clusters in the same aws account/region. If could have contributed to the issue as well. v6.0.0 seems to work fine and you may want to add security fixes on top of it.

Seeing the same things on my side, has anyone figured a way around it? Passing in a service account to the pod with the associated IAMroleArn also does not seem to work.


API endpoint used in cumberbatch deprecated

Just an FYI that this script does not function anymore due to Twitter update.
https://github.com/github/hubot-scripts/blob/master/src/scripts/cumberbatch.coffee

We are actually moving away from adding scripts to repository in favor of separate npm packages per scripts. We have already stopped accepting new scripts, and will stop accepting pull requests on this repository after hubot 3.0.
See #1113 for details. If you are interested in maintaining this longer term, check npm in case someone already made a package for it, and if not, check out https://hubot.github.com/docs/scripting/ for creating a package of your own.
cc @froots as the original script author


on 2008r2 server asp.net core when using sqlConnection fails with

on 2008r2 server asp.net core 2.0 when using sqlConnection fails with
[ERR] Connection id ""0HL7B69PSCNQ2"", Request id ""0HL7B69PSCNQ2:00000001"": An unhandled exception was thrown by the application. (560e7d32)
System.DllNotFoundException: Unable to load DLL 'sni.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.Data.SqlClient.SNINativeMethodWrapper.UnmanagedIsTokenRestricted(IntPtr token, Boolean& isRestricted)
at System.Data.Win32NativeMethods.IsTokenRestrictedWrapper(IntPtr token)

@ajcvickers @divega @bricelam @natemcmaster - any ideas?

@foxjazz does the application already reference the Microsoft.AspNetCore.All 2.0 package in its csproj file? Otherwise make sure it references at least version 4.4.0 of System.Data.SqlClient. We have seen problems with previous versions not deploying the right version of the native binary sni.dll.
Please confirm if this helps.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


chore: upgrade webpack

Description
Upgrades webpack to fix a vulnerability.
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own changes
[x] I have run yarn lint to make sure my changes pass all tests
[x] I have run yarn test to make sure my changes pass all linters
[x] I have pulled the latest changes from the upstream main branch
[x] I have tested both the react and the CDN versions on local and integration environments
[x] I have added the necessary labels to this PR in case a new release needs to be published after merging into main (e.g. release and patch)

Contribution guidelines
For contribution guidelines, styleguide, and other helpful information please
see the CONTRIBUTING.md file in the root of this project.

https://github.com/gr4vy/gr4vy-embed/pull/135 :D