Add preglobal Subaru Forester and Outback

This PR adds dashcam only support for pre-global platform Subaru Forester and Outback. Forester and 2018-19 Outback have reversed driver torque signals and require https://github.com/commaai/panda/pull/564 for additional panda safetyParam

Tests failed due to missing routes

LGTM, will merge after adding a 2018 Outback route and tests pass.

Added the route for Outback 2018. Also added the same route to panda safety PR, replacing preglobal Forester route


Update nrpe_exporter.py

Issue
Alert rules generated by the COS Proxy currently lack filtering by check command, as described in #37.
Solution
Add a label selector for command and set it to the command name.
Context

Testing Instructions

Relate COS Proxy to NRPE
Make one alert trigger
Verify the rest is not.

Release Notes

Filter COS Proxy on-the-fly alert rules by check command.

Congrats on your first PR! ;)


Development Status

It's 2021. I would like to know if it's  production ready  or in active development? If It's not production ready, what is the risk factor using it in a microservice? Some words from the author would be appreciated!

Hi, please shoot me an email at<EMAIL_ADDRESS>with a description of your use case. I can help you figure out if the current version of Noria would support it. Thanks!

Since I graduated, I don't think anyone continued actively using Noria in a research capacity, which is why there's been no activity here, and why there's no progress on additional feature. Noria was a research prototype, and not a fully-fledged production-ready system :) I haven't put the repository in read-only mode because it could still be possible that someone picks it up for research down the line, and I don't want to disincentivize them from doing so :)


Google logo (update)

Google changed their logo recently:

Perhaps update is in order? :)

Yep!
Added 7dc1b8b6910a254efec43994f348d06ffc3d683b


Name/nickname sync on registration step

As discussed here #55 the support for sync username instead of email should be added (if the gateway supports it):

[ ] Wordpress
[ ]  Discord
[ ]  Facebook
[ ]  Google
[ ]  Spotify
[ ]  GitHub
[ ]  LinkedIn
[ ]  Yahoo
[ ]  Yandex
[ ]  Vkontakte - not support by Isango (check PR #66 )
[ ]  Microsoft

We will keep the list updated according to the actual support and added gateways in Isango.
Notes:

sync username only in registration step, not in other login
if more providers are linked to the account, we should sync only the first one, others will be skipped

Isango is already syncing available username with the newly created account. If the username is not available then it tries to generate best possible / available username based on available data:
https://github.com/mybbgroup/Isango/blob/master/upload/inc/plugins/isango.php#L343
An option is already discussed to prompt the user to ender an username of his choice:
https://github.com/mybbgroup/Isango/issues/19
So, is this issue still valid?

Isango is already syncing available username with the newly created account. If the username is not available then it tries to generate best possible / available username based on available data:
https://github.com/mybbgroup/Isango/blob/master/upload/inc/plugins/isango.php#L343
An option is already discussed to prompt the user to ender an username of his choice:
https://github.com/mybbgroup/Isango/issues/19
So, is this issue still valid?

Maybe #19 is valid and could solve the issue with usernames... what do you think? Feel free to close this one.

Maybe #19 is valid and could solve the issue with usernames... what do you think? Feel free to close this one.

Yes. 19 is valid and milestoned.
There is a comment in the plugin for a rare situation when no username is possible to be decided. We need user input in that scenario anyway.
https://github.com/mybbgroup/Isango/blob/master/upload/inc/plugins/isango.php#L356-L357

Yes. 19 is valid and milestoned.
There is a comment in the plugin for a rare situation when no username is possible to be decided. We need user input in that scenario anyway.
https://github.com/mybbgroup/Isango/blob/master/upload/inc/plugins/isango.php#L356-L357


Cell monitor 2

Blocked by http://jira.kaaproject.org/browse/APP-148 - not integrated in sandbox.
Code is working, I am working on integration process.
Please, review code.

Please, reopen against develop.


Add DefinitelyTyped (.d.ts) for Typescript

I made flow libdefs. These might help if someone wants to create Typescript definitions.
https://github.com/marudor/flowInterfaces/blob/master/packages/iflow-radium/index.js.flow

@marudor thanks for putting that together! One thing you'll want to do is to add the type params to React.Component: https://github.com/facebook/flow/blob/f42a31cd1863be1aca7e6a002d1e4a2e92844712/lib/react.js#L16, particularly in the wrapper case:
(config: Object): (reactClass: React.Component) => React.Component;

should be:
(config: Object): (reactClass: React.Component<D, P, S>) => React.Component<D, P, S>;

That way you won't lose typing when using React components wrapped with Radium.

Actually they changed the React behavior in v0.22.
You shouldn't use the type params to React.Component anymore.

Note, I updated my comment above as well.
@marudor, that is for when you are declaring components. In this case, the function actually takes a ReactClass, and returns an identical ReactClass, so we should use type parameters with constraints. You also need the type params on component for Style and StyleRoot, otherwise flow will not do any prop checking on them.
You can see the problems with your current types in this tryflow example. I don't think you were getting errors because of the ordering of the two callable signatures:
http://tryflow.org/#6413a371cd098891c05b72aa37a3d1ee
In the end, the type should look like this:

import React from 'react';

declare module 'radium' {
  type RadiumConfig = {
    // Copy from https://github.com/FormidableLabs/radium/blob/master/src/config.js
  };

  declare class Radium {
    <T: ReactClass>(reactClass: T) => T;
    <T: ReactClass>(config: Object): (reactClass: T) => T;
    keyframes(animationObject: Object, name?: string): string;
    Style: React.Component<{scopeSelector: string}, {config?: ?RadiumConfig, rules: Object, scopeSelector?: ?string>;
    StyleRoot: React.Component;
    getState(state: Object, componentRef: string, property: string): boolean;
  }
  declare var exports: Radium;
}

Indeed. Gonna update my defs.
Thanks.

Are there any temporary definitions i can use?
Thanks!


ci(renovate): Increase number of parallel PRs to 15

There are currently many Renovate PRs for the UI and the Docker Compose setup which cannot be merged without manual testing as the automated tests still have to be implemented. As these PRs are concurrently blocking PRs for tested Kotlin code, increase the number of parallel PRs.

I have put this on hold for now, as we now have at least basic tests for the UI those dependency updates are not blocking others anymore. I will keep the branch open for a while just in case.

I will keep the branch open for a while just in case.

Are we good to close this now @mnonnenmacher, to clean things up a bit?

I will keep the branch open for a while just in case.

Are we good to close this now @mnonnenmacher, to clean things up a bit?

Yes, since we have at least basic tests for the ui in place we don't hit the default limit anymore.


Parse server on AWS ElasticBeanStalk does not stream .mp4 PFFile to AVPlayer?

Parse server hosted on AWS ElasticBeanStalk(deployed with AWS button) cannot stream .mp4 PFFile saved in mongodb on AWS EC2 (EBS) to iOS AVPlayer and Safari browser.
Video plays on Chrome browser but does not play on my iOS app or Safari browser. video link
Videos hosted on parse service play with no problem.
Error I get on iOS:

Error Domain=AVFoundationErrorDomain Code=-11850 "Operation Stopped" UserInfo={NSUnderlyingError=0x13fb86740 {Error Domain=NSOSStatusErrorDomain Code=-12939 "(null)"}, NSLocalizedFailureReason=The server is not correctly configured., NSLocalizedDescription=Operation Stopped}

Any help would be appreciated since my app's main functionality depends on streaming the videos.

S3 file adapter fixed it!


update EFA plugin image to v0.4.4

Issue #, if available:
N/A
Description of changes:
Update EFA plugin image to v0.4.4, update list of EFA-capable instances
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Seems like this is an easy approve and merge? @zachdorame
@bryantbiggs @amrragab8080

hey, apologies - I don't have merge rights currently but I can track down someone who does
also, we have an helm chart for this now, if we could update to that it would be quite helpful https://github.com/aws/eks-charts/tree/master/stable/aws-efa-k8s-device-plugin
@zachdorame is that something you are up to doing or should we catch in a follow up PR?

hey,
I'd like to deprecate this yaml but as @willgleich pointed out it would break quite a few samples, so I'm not sure of the right approach. @bryantbiggs I do have a PR open to update the helm chart: https://github.com/aws/eks-charts/pull/1069
Also, apologies, this PR is out of date since EFA plugin's latest version is 0.5.0 and no longer 0.4.4, so I'll put out a revision here.


When script-src is set to strict-dynamic, 2 nonces are listed in CSP header

In the nelmio_security.yaml csp section, we have set script-src to 'strict-dynamic' (while commenting out unsafe-inline), and we are invoking csp_nonce('script') in target pages.

When doing so, the Content-Security-Policy header for requested pages lists script-src as 'unsafe-inline' as well as 'strict-dynamic', and two nonces are listed.

Is there a reason for two nonces in this scenario?

the unsafe-inline is just for compatibility with older browsers not supporting nonces. The two nonces I'm not sure why, maybe you used csp_nonse twice with different arguments? Try to check in the html source where the two nonce values are being used?

Are you using the Web Debug Toolbar? Symfony adds a second nonce in the WebProfilerBundle to ensure the debug toolbar works correctly.
In your screenshot, the first nonce is base64-encoded (encoding used by NelmioSecurityBundle), while the second nonce is hex-encoded (encoding used by WebProfilerBundle).


added: pinx, new commercial product

General

✏ Mark the necessary items without changing the structure of the PR template.

[x] Pull request template structure not broken

Type

ℹ  What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x] Fix
[x] Feature

Checklist

ℹ  Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉  Put an x in the boxes that apply.

[x] Title as described
[x] Make sure you put things in the right category!
[x] Always add your items to the end of a list

Open Source

[ ] Link description does not contain a link to an author / third-party resource
[ ] The documentation (README) contains a description of the project, illustration of the project with a demo or screenshots and a CONTRIBUTING section
[ ] The documentation is in English.
[ ] The project is active and maintained.
[ ] The project accepts contributions.
[ ] Not a commercial product

Apps/Websites

[x] The website is available without errors or ssl certificate problems, and load in a reasonable amount of time.
[x] The website is using vuejs intensively. It should detect vue with vue-devtools.

If you cannot detect vue with vue-devtools due to work at non public pages (e.g. for enterprise website), you can send Pull Request with screenshot that detected it.

[x] The website is original and not too simple. For that reason, blogs and simple landing pages are rejected.
[x] A commercial product using Vue, provided that guests could reasonably check out how Vue was used (i.e. A headless CMS which uses Vue for the Admin/editor Area and offers a free tier).

Did you read the contribution guidelines, especially the part about commercial products? https://github.com/vuejs/awesome-vue/blob/master/.github/contributing.md#commercial-products

Hi, I read it but I understood it incorrectly. The product has a public demo and when I read the advertising part, I thought it was an extra to highlight the product and that it was fine to put it on the list like the others without highlighting it. I am sorry

Since the pr the requirements around commercial products are changed.


Fix test failure of TestResNetLayers

Fix the issue introduced in #4912.

Why do not use assert statement?

Rewrote with assert and resolved conflict.

Jenkins, test this please.

Jenkins CI test (for commit e5f7229e748f10ed01f7fd159a1bbe38e49563d0, target branch master) succeeded!

LGTM!


Temporary failure in name resolution error. Cannot connect to network (VirtialBox)

I had to redownload my VMs in virtualbox, to include SIFT and now I am getting the error temporary failure in name resolution. I did not have this error before.  I've tried to change the resolve.conf file as well as the configurations on the VirtualBox settings, but no luck. How did you fix it?
I tired all the different network options in the VirtualBox, so I feel very stuck.

We currently do no testing against virtualbox. Have you confirmed if there's a network adapter and ping to your local gateway or to an internet resource using an IP works?


Make error

When running make or make run, I got this error.
/usr/local/bin/ld: warning: kernel/system/system.o: missing .note.GNU-stack section implies executable stack
/usr/local/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
LIMINE build/disk.hdd
make: [Makefile:86: build/disk.hdd] Error 1 (ignored)
make: echfs-utils: No such file or directory
make: *** [Makefile:91: build/disk.hdd] Error 127

My mistake, I overlooked the lack of echfs-utils.


Communicate new features to users

It would be nice if we could inform users about new stuff we add. How about some icon in the header that has an Indicator whenever we deploy something new. On click, it can show a modal with info about new features. We could store it in local storage if the user saw it and remove the indicator on the icon based on that :)

Done!
https://github.com/Vincenius/workout-lol/assets/43953403/e3346168-98ea-4121-aaf1-1319fc47ee4a


Histogram for Event listeners

I am new to this and I don't know how to solve this.
We are using locust.io for our testing and we want to add prometheus for our metrics. Locust provides events http://docs.locust.io/en/latest/extending-locust.html which has  request type , name, time and length for all methods. Here is the sample

from locust import events

def my_success_handler(request_type, name, response_time, response_length, **kw):
    print "Successfully fetched: %s" % (name)

events.request_success += my_success_handler

We would like to use this functionality to provide histogram data for our metrics. But one thing we realized is that we couldn't provide labels to histogram to identify which request is it for.
Is there any way we could achieve this instead of creating an histogram for each method. We have 10's of REST API calls we test with locust.
Thanks

I'm not sure what you're really asking here. It's up to you to provide the label values you want.

Can I add labels in the Historgram and Summary? If it is possible, can you please share an example?
Thanks

They work the same as the others https://github.com/prometheus/client_python#labels

Can I do this?
           histogram.labels(method='get',endpoint='isActive').time()
Can I add labels to Histogram's?

Yes, that'll work in a context manager.

Can you please show me an example?

Usage questions are best asked at https://groups.google.com/forum/#!aboutgroup/prometheus-users


Multiple configMapVolumeMount

Hello, I can't seem to use configMapVolumeMount multiple times, e.g.
+ k.util.configMapVolumeMount(
                  $.firstConfigMap, '/path/to/first', 'first')
                )

+ k.util.configMapVolumeMount(
                  $.secondConfigMap, '/path/to/second', 'second')
                )

Only the first is rendered, how do I mount multiple config maps?

The above works in isolation so I imagine I have something wrong with my configmap.


302 -> 301 redirects when all is working

forum.textpattern.io is using 302 temporary redirects for now until any snags are ironed out.

Addressed via https://github.com/textpattern/server-config/commit/adec25bc4de3db17195a220e0ba83477bf77b987


Feature/757 Run agenta web standalone

Thanks for the PR @MohammedMaaz !
Can you please provide a description of this to be added to the documentation under https://docs.agenta.ai/contributing/development-mode


Using drawio in continious integration with docker

I was facing some problems when trying to configure gitlab-ci-runner to execute drawio from within a docker image where we generate documentation for our project. The problem was that drawio needed an X server and it had some other problems.
However, I solved it and this is how I did:

Download the latest drawio deb file. In this case it was draw.io-amd64-13.0.3.deb.

Write this to a file called: Dockerfile
ADD draw.io-amd64-13.0.3.deb /
RUN apt-get install -y xvfb
RUN apt install -y /draw.io-amd64-13.0.3.deb && rm /draw.io-amd64-13.0.3.deb && rm /usr/bin/drawio
ADD drawio /usr/bin/drawio

Write this to a file called: drawio
#!/bin/bash
if ! ps axu | grep -v grep | grep -q Xvfb; then
Xvfb -screen 0 1024x768x16 &
sleep 1
fi
DISPLAY=:0.0 /opt/draw.io/drawio $@ --no-sandbox

Build docker image and you're done.

Maybe you won't implement this in the drawio project, but putting it in the FAQ or something might help some people..

I am getting this error  /opt/draw.io/drawio: No such file or directory


[Feature Request]: add model notebook Plant Pathogen Detection using DL

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The objective of this project is to classify images of Plants into 5 categories: Healthy, Virus, Bacteria, Fungi and Pests.
Dataset
The dataset consists of 5 subdirectories dealing with Healthy, Virus, Bacteria, Fungi and Pests: each carrying approximately 8000 images totalling to approximately 40000 images.
We downsampled to approximately 1000 images per class totalling to 5000 images.
Use Case
The objective of this project is to classify images of Plants into 5 categories: Healthy, Virus, Bacteria, Fungi and Pests.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

hi @ananyag309  no need of this...if you can create along with frontend and api ..you can go ahead..other wise please leave it

hi @ananyag309 if you can create frontend and api.. i will put labels here..because without froontend there is no use of it..and causing problems in cloning for others..please let me know if you can create frontend part...as of now you are simply getting projects from somewhere in other repos and pasting them here...im sorry for removing labels..if you do fronend and api part i can relabel them ..i think you understand my point...simply having notebook files does nothing..until now..which are in notebooks..all of them have frontend and api..
thank you @ananyag309

if you have any queries connect me here: https://www.linkedin.com/in/manikumarreddyu

yes i will add fronted

what about api ?


Skim Cargo is not compatible with windows

The package is not compatible with windows. Is there is any way to compile on windows without WSL.

See https://github.com/lotabout/skim/issues/539 and https://github.com/lotabout/skim/issues/293

Not ATM, it is planned but needs a lot of work right now


[BULK PR] Tracking: Zip Slip

Your bot / rewrite cannot detect existing protection for zipslip properly

Can you provide an example of what it's missing?


Fix consensus state vote summary deserialization

Closes #836

[x] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[x] Wrote tests
[x] Updated CHANGELOG.md

Codecov Report

Merging #837 (9f03313) into master (1cca3ac) will decrease coverage by 0.0%.
The diff coverage is 18.1%.

@@           Coverage Diff            @@
##           master    #837     +/-   ##
========================================
- Coverage    29.1%   29.1%   -0.1%
========================================
  Files         194     194
  Lines       10766   10771      +5
  Branches     4443    4448      +5
========================================
- Hits         3139    3135      -4
+ Misses       4653    4651      -2
- Partials     2974    2985     +11

Impacted Files
Coverage Δ

rpc/src/endpoint/consensus_state.rs
22.3% <18.1%> (+0.4%)
:arrow_up:

proto/src/serializers/timestamp.rs
32.5% <0.0%> (-5.0%)
:arrow_down:

tendermint/src/block/commit.rs
43.3% <0.0%> (-3.4%)
:arrow_down:

tendermint/src/signature.rs
46.3% <0.0%> (-2.5%)
:arrow_down:

tendermint/src/block/commit_sig.rs
40.4% <0.0%> (-2.4%)
:arrow_down:

testgen/src/validator.rs
36.5% <0.0%> (-1.8%)
:arrow_down:

tendermint/src/hash.rs
47.7% <0.0%> (-1.0%)
:arrow_down:

testgen/src/commit.rs
39.8% <0.0%> (-0.8%)
:arrow_down:

testgen/src/header.rs
33.8% <0.0%> (ø)

tendermint/src/block/header.rs
29.6% <0.0%> (+0.9%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

We might want to revisit this code altogether at some point, perhaps to rewrite it to use parser combinators or something like that as the format is a bit too involved for manual parsing. But in the meantime, with the new tests, we have some confidence that this works as expected and can refactor later.

Ideally we'd avoid this kind of custom serialization format altogether from the server side :grin: It should be something that's encoded properly in JSON/Protobuf, and not a custom string format.

Ideally we'd avoid this kind of custom serialization format altogether from the server side 😁 It should be something that's encoded properly in JSON/Protobuf, and not a custom string format.

💯


docs(mdbook): update co-processor diagrams to show internal selectors

@0xKanekiKen you'll also need to rebase and update the asset locations once #257 is merged

@grjte: Thanks for the heads up. I'm looking forward to the merge.


Can't deploy two apps into the same namespace

What steps did you take:
As titled.
kapp deploy --into-ns apps -a foo
kapp deploy --into-ns apps -a bar

What happened:
kapp: Error: Ownership errors:
- Resource 'ingress/hello-kubernetes (networking.k8s.io/v1) namespace: preview-apps' is already associated with a different app 'foo' namespace: default (label 'kapp.k14s.io/app=1640032910396211183')
- Resource 'deployment/hello-kubernetes (apps/v1) namespace: preview-apps' is already associated with a different app 'foo' namespace: default (label 'kapp.k14s.io/app=1640032910396211183')
- Resource 'persistentvolumeclaim/csi-pvc (v1) namespace: preview-apps' is already associated with a different app 'foo' namespace: default (label 'kapp.k14s.io/app=1640032910396211183')
- Resource 'service/hello-kubernetes (v1) namespace: preview-apps' is already associated with a different app 'foo' namespace: default (label 'kapp.k14s.io/app=1640032910396211183')

Environment:

kapp version (use kapp --version): 0.43.0

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

@StarpTech The into-ns flag is used to place all the resources into the provided namespace, i.e. it overrides the metadata.namespace of every resource with the flag value. If you want to deploy the app in a specific namespace you should use the --namespace flag.
As for the error, you can't have one resource part of multiple kapp applications. So, when you try to deploy the second app with the same value for into-ns, it throughs an ownership error as the resource is already part of app foo (I am guessing that you have the same name for ingress, deployment, etc, in both the yamls, or you are using the same yaml).

@praveenrewar you're absolutely right. I mixed it up a bit. I could resolve it. Thank you!


modify readme for python support

modify readme for python support

@sivaavkd your PR is taking changes in https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/308 as well , I don't think we want that.
It'll be nice if you can file a pr against my branch as we did here https://github.com/invincibleJai/fabric8-analytics-vscode-extension/pull/2, make sure it has just readme changes as diff.
Or you can wait for #308 to be merged to master , then file PR against master.

created #326 for this purpose, closing this.


December Airdrop not recieved

Hey guys, I didn't receive my final XLM airdrop. Please assist. Thanks

Same here but my husband got his airdrop 😔 Feels a bit strange

Yeah, that's definitely strange. And there isn't any official way to contact them directly.

Keybase has cancelled the Space Drop. They claim that it’s because of fake accounts. I’m calling BS. They cancelled everyone after the 1st 200k accounts no matter what. Then say they split the remaining funds up evenly. But...Something is fishy. I’m looking through keybase’s payments. And it seems their source wallet has been creating new wallets and depositing the exact amount in each new one that should have been deposited in existing accounts.
And conveniently, Keybase admins won’t address anyone’s questions on this page and continue to ignore everyone.
My account is real and verified. But keybase unverified me (so that I wouldnt get paid) and left my account open (must NOT be one of the accounts that they find to be unworthy of staying open, just not worthy of being paid).
Read their BS excuse here: https://keybase.io/a/i/r/d/r/o/p/spacedrop2019


[FE]: Develop plugin for testing

What

What not

Implementation policy/Detail

This issue is out of date


Invalid cache before listing drive when collecting component names

What does this PR do?
Can encounter a bug in the following setting (work a, work b, and a file server):

work a - puts a file (creating a dir. under that works path)
file server - gets the file (lists dirs and checks if any has the file, causing s3fs to cache the list of dirs, see: https://github.com/fsspec/s3fs/issues/181#issuecomment-488772002)
work b - puts a file
file server - tries to get the file but can't see it because of outdated cache

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @borda

@ethanwharris mind check the comments so we can merge it :)

@ethanwharris, mind checking the remaining comments? :)


How to write a page object that clicks specific index?

I'm trying to define a page object method that will allow me to click a specific element of the selection.
{
  visit: visitable('/'),
  clickSpecificElement(index) {
    return clickable('.class-name', {at: index});
  }
}

And then later in my test I could do:
page.clickSpecificElement(3);
Is this not the way? Presumably not, since it's not working. :)
Thanks. Love the tool by the way.

You have to use a collection for that
const page = create({
  visit: visitable('/'),
  elements: collection({
    itemScope: '.class-name'
  })
});

and then you can use it like this
page.elements(3).click();

You can get more info about collections here http://ember-cli-page-object.js.org/docs/v1.8.x/api/collection


Added sqllogic.log to .gitignore

@chaudum Please check

Current coverage is 81.09% (diff: 100%)

Merging #4552 into master will decrease coverage by <.01%

@@             master      #4552   diff @@
==========================================
  Files          1296       1296
  Lines         44173      44173
  Methods           0          0
  Messages          0          0
  Branches       7021       7021
==========================================
- Hits          35825      35823     -2
  Misses         5645       5645
- Partials       2703       2705     +2

Powered by Codecov. Last update 6b4a27a...4be079d


Get background failing on develop

This GetBackgroundGeosExperiment-geos_atmosphere is failing when running off the box. I just pulled develop - and tried running: it fails

I think it works now ... I might have done something wrong at some point.


investInit settings

Check the settings in investInit (e.g., zs samples)

Added alternatives for 5-sample and 1-sample invest runs in the input dataset (affects gnss_bound, discount factor and sGroup).

We should also work on a more proper method to choose samples (currently Juha chose the inital samples I think according to the random sampling method and I adapted them iteratively based on resulting dummy generation in the schedulerun).


Media Viewer umbrella issue

The MediaViewer is accessed for different kinds of media from different screens and has different states. This issue is to make sure that overall regardless of entry point the MediaViewer behaves in the following way.
Possible media are photos or sounds with two different UIs.
The possible entry points are:

Obs Create = Obs Edit pressing on any of the media thumbnails in the EVIDENCE section
Obs Detail pressing on any of the media in the top photo section
Taxon Detail pressing on any of the media in the top photo section

Prerequisites are #862 and #875 .

[x] MediaViewer is always a modal on top of the previous screen.
[x] It never shows the app tab bar.
[x] Coming from Obs Create the MediaViewer shows the editing buttons for cropping and deleting the highlighted media. It does not show the copyright button.
[x] Coming from Obs Detail the MediaViewer does never show editing buttons, irrespective of coming from current user's or other user's observations. It does show the copyright button.
[x] Coming from Taxon Detail it never shows editing buttons. It does show the copyright button.
[x] The copyright button has two different styles: it should say CC for all CC licenses, and then © for copyrighted images

With the caveat that cropping functionality doesn't exist yet, this should be done when #966 gets merged.


Enforce max file count and active send button

Summary

Wait until all images are done uploading to enable the send button
Enforce max file upload count MAX_IMAGE_COUNT = 5

Checklist

[x] Has UI changes
[x] Includes text changes and localization file updates

Behavior

iOS

Android

@miguelespinoza

@enahum and @hmhealey does everything look good for this to get merged?

@miguelespinoza this one needs a rebase

@enahum done 👍

@miguelespinoza Can we get a screenshot of  this with a dark theme (with the center channel dark).

@miguelespinoza do you have the screenshots requested by @asaadmahmood available?

@enahum, I'll post a screenshot today

@enahum && @asaadmahmood

Looks good to me 👍

Awesome, thanks @asaadmahmood.
@enahum, this should be good to go 😄


Possible issue with employer search

If you do a search for CSS then click search you will see myself and Ramon further down the page, but then if you filter by London as well then myself and Ramon will now be duplicated

Fixed. Thanks


Modus Select - Different behavior between optimized and unoptimized code

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have read the contributing guidelines

Describe the issue
We found an issue with the Modus Select. It behaves differently between optimized code and unoptimized code and because of that the logic written for default value and onValueChanged differs.
Below it's a picture on how a list looks like in 2 different environments one optimize and one not:

I noticed the issue also in the docs https://modus-web-components.trimble.com/?path=/docs/user-inputs-select--default
In the official docs you have e.details as the result value of an value change - which happened for us in optimized code
and in the canvas, the result is actually e.detail.display, what we saw in unoptimized code

Reduced test cases
No response
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
"@trimble-oss/modus-react-components": "^0.1.49-react17"
Priority
Medium
What product/project are you using Modus Components for ?
Trimble Creator
What is your team/division name ?
team-trimble-creator
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

@rthanga1 to talk to Maha to understand the issue better


Relax validation pattern for "datetime" attribute

According to the specs:
 http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#attr-time-datetime

a pattern like this (month pattern without a day) in the time element:
     <time datetime="2014-03" itemprop="datePubllished">March 2014</time>

should be valid but the "mod\datatypes.rnc" does not allow it.

Thanks for the fix @rdeltour


i2c falling edge read (IDFGH-10139)

Is your feature request related to a problem?
Hello,
I have implement I2C protocol on LTC2497 chip but i require to read in falling edge SCLK but i am not able to found any configuration for that can you suggest or give me idea how can i do?
I am using I2C protocol with SCL and SDA.
Also in attachment i am attaching my I2C signal as well as datasheet instruction for reading also i am attaching my code also.
Idf version: 5.0.1
Communication: I2C
Refrence Voltage : 3.3 V
Pullup : SCL SDA both line in
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/i2c.h"

#define I2C_PORT I2C_NUM_0
#define I2C_ADDR 0x14

void i2c_master_init()
{
    i2c_config_t i2c_config = {
        .mode = I2C_MODE_MASTER,
        .sda_io_num = GPIO_NUM_1,
        .scl_io_num = GPIO_NUM_2,
        .sda_pullup_en = GPIO_PULLUP_ENABLE,
        .scl_pullup_en = GPIO_PULLUP_ENABLE,
        .master.clk_speed = 100000,
    };
    i2c_param_config(I2C_PORT, &i2c_config);
    i2c_driver_install(I2C_PORT, I2C_MODE_MASTER, 0, 0, 0);
}

void app_main()
{
    i2c_master_init();

    uint8_t buffer[3];
    while (1)
    {
        // Send the start condition
        i2c_cmd_handle_t cmd = i2c_cmd_link_create();
        i2c_master_start(cmd);

        // Send the I2C address of the LTC2497 for write operation
        i2c_master_write_byte(cmd, (I2C_ADDR << 1) | I2C_MASTER_WRITE, true);

        // Send the command byte to configure the LTC2497 for single-ended measurement on channel
        i2c_master_write_byte(cmd, 0xB0, true);

        // Send the repeated start condition to switch to read mode
        i2c_master_start(cmd);

        // Send the I2C address of the LTC2497 for read operation
        i2c_master_write_byte(cmd, (I2C_ADDR << 1) | I2C_MASTER_READ, true);
        vTaskDelay(1 / portTICK_PERIOD_MS);
        // Read the three data bytes from the LTC2497
        i2c_master_read(cmd, buffer, 3, I2C_MASTER_LAST_NACK);

        // Send the stop condition
        i2c_master_stop(cmd);

        // Execute the I2C transaction
        i2c_master_cmd_begin(I2C_PORT, cmd, pdMS_TO_TICKS(1000));
        i2c_cmd_link_delete(cmd);

        // Extract the voltage data from the buffer
        int32_t adc_value = ((buffer[0] << 24) | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]) >> 8;

        adc_value >>= 2;
        adc_value &= 0x3FFFFF;
        // Calculate the voltage in volts (Vref = 3.3V)
        float voltage = (float)(adc_value * 3.3) / 8388608;

        // Print the voltage
        printf("Voltage: %.2f V\n", voltage);
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
}

Datasheet instruction

Output Signal

Datasheet
Datasheet
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context.
No response

I don't think read data in falling edge in I2C obeys to official protocol. So this I2C driver can't configure that stuff...perhaps.

Hi @CC-MASTER05 ,
As @mythbuster5 , reading during a low-phase of SCL clock does not comply with the I2C specification.
Out of curiosity, why do you need to read SDA line when SCL is low? The datasheet of the LTC2497 you linked clearly states that the device is I2C-compliant and, as for the official specification, even put the emphasis on SCL being low to change SDA:

In short, you can simplify your code to the following:
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/i2c.h"

#define I2C_PORT I2C_NUM_0
#define I2C_ADDR 0x14

esp_err_t i2c_master_init()
{
    i2c_config_t i2c_config = {
        .mode = I2C_MODE_MASTER,
        .sda_io_num = GPIO_NUM_1,
        .scl_io_num = GPIO_NUM_2,
        .sda_pullup_en = GPIO_PULLUP_ENABLE,
        .scl_pullup_en = GPIO_PULLUP_ENABLE,
        .master.clk_speed = 100000,
    };
    i2c_param_config(I2C_PORT, &i2c_config);
    return i2c_driver_install(I2C_PORT, I2C_MODE_MASTER, 0, 0, 0);
}

void app_main()
{
    esp_err_t err = i2c_master_init();
    if (err != ESP_OK) {
        printf("Error init I2C\n");
        return;
    }
    uint8_t reg = 0xB0;
    uint8_t buffer[3];

    while (1)
    {
        err = i2c_master_write_read_device(I2C_PORT, I2C_ADDR, &reg, 1, buffer, sizeof(buffer));
        if (err != ESP_OK) {
            printf("Error %x occurred during the I2C transfer\n", err);
            continue;
        }

        // Extract the voltage data from the buffer
        int32_t adc_value = ((buffer[0] << 24) | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]) >> 8;

        adc_value >>= 2;
        adc_value &= 0x3FFFFF;
        // Calculate the voltage in volts (Vref = 3.3V)
        float voltage = (float)(adc_value * 3.3) / 8388608;

        // Print the voltage
        printf("Voltage: %.2f V\n", voltage);
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
}

Hello @o-marshmallow ,
Actually i want to read my LTC2497 chip and i am not able to read those chip so i have raise a query on Analog Digital Inc and as per those suggestion i am reading wrong edge on so they comment me this
I see some mismatch in your timing diagram. According to datasheet timing diagram in the page 15 data will be shifted out on the falling edge of the SCLK. But in your timing diagram data shifted out on the rising edge.

After this comment i have read all the I2C document but i am not able to read this way if you able to help it will be good.
Thanks,
Fenil

@CC-MASTER05 I am still not sure to understand the problem honestly. The logic analyzer results you gave doesn't show any error, on the contrary, we can see that the slave device shifts the bits at the right moment: when SCL is low.


Refactor TW extensions in DwC export to support plucking direct from tables

Plucking from the database is faster than calling a method on each CO when the data do not require any processing.
The change is transparent to the API consumer, all extension fields are still provided as a single list.
Included elevation_precision as a sample of an exposed field.

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (91e4b53) 85.80% compared to head (38255ba) 59.87%.

:exclamation: Current head 38255ba differs from pull request most recent head 929303d. Consider uploading reports for the commit 929303d to get more accurate results

Files
Patch %
Lines

lib/export/dwca/data.rb
91.30%
2 Missing :warning:

app/controllers/tasks/dwc/dashboard_controller.rb
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff                @@
##           development    #3750       +/-   ##
================================================
- Coverage        85.80%   59.87%   -25.93%
================================================
  Files             2040     1536      -504
  Lines            75644    46922    -28722
================================================
- Hits             64907    28096    -36811
- Misses           10737    18826     +8089

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@LocoDelAssembly I approve this for merge.

@LocoDelAssembly LGTM for merge.


 to navigate to file

In the neovim version, you can press enter on the dialog window to navigate to whatever file is under the cursor.  I tried implementing this, but only got this far
        editorTextField.registerKeyboardAction(e -> {
            // todo navigate to file underneath cursor
            doCancelAction();
        }, KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), JComponent.WHEN_IN_FOCUSED_WINDOW);

If I use a different key, say VK_T, this function will trigger.  That's obviously not very ideal, as most harpoon users have never changed their remap from enter.  But I can't get VK_Enter, to work at all sadly.

I ended up digging into this, it seems like the text editor control i'm using is eating the enter key when i have the control set to multi line
the workaround i found was to create a new action to open the selected item.
its a bit of a hack but it seems to be working.
by default it will bind this action to the enter key in normal mode but i have a setting to disable this
you can also bind this to whatever hotkey you wont in your ideavimr
nnoremap C-k :action SelectHarpoonItem<cr>
this should be going out in the next release in a couple days

Nice!  Can't wait to be using this.

Used it today, works great.  Thanks again for the work here.


Sticky session for Kubernetes

Which chart:
gateway
Is your feature request related to a problem? Please describe.
When Using the gateway in  Solution like Kubernetes, we have found the problem that if we have more than one Gateway Policy Manager is not keeping the connection stable as the Load balancer start to jump into the available gateway.
Describe the solution you'd like
A sticky session that will keep the gateway connect to the same gateway when Using Policy manager, o any other solution that keep us connected to the Gateway with Policy manager
Describe alternatives you've considered
Create a second load balancer or tagging in Kubernetes
.

Hi Carlos,
Thanks for raising this, we should be able to add configuration for sticky sessions in values.yaml.


Child buttons from floating action button not working

I have a problem with my buttons on a floating action button menu from framework7, I checked the position of the menu and there should not be any problem since everything is set as absolute, so I can see everything on top of the map but the problem is when I try to click a button, the only button I can click is the principal (The bigger one) the one that opens another div, but I can't click any of the links inside that other div (The smaller ones), I tried to set setDebuggable(true), but I can't see the red or green colors, and at the same time I put the refreshLayout(), but seems like this is not working as well, since I am resizing my map canvas.
This behavior seems to look like in this issue: #1091

Its like you put your div button outside the map canvas.
Put that div button inside of map canvas

I actually put all inside the map div:

Oh I see, Your "speed-dial button" group is inside "speed-dial" content.
Well, its currently only support one level down div from map_canvas. That is why your big button is working but its child not working.

Hhhmm interesting, that's what I was thinking, well thank you.


Make ForeignKeySearchInput usable outside changeforms

Previously the related_url variable was calculated assuming the page with a widget is nested 3 levels down (like a model's changeform, /app/model/<pk>). That was making it harder to use the widget in a custom admin views, which could reside at the arbitrary nesting level. Here we switch to using a more flexible reverse() call.

@trbs any chance of getting this merged? Or does it break any backwards compatibility (should not, actually)?

@alexmorozov thanks for the bump and PR. I'm sorry for the long delay... been very busy.

Github says that: This branch has conflicts that must be resolved.
Could you try and update/pull your branch ? hopefully I can merge it then.

Coverage decreased (-0.01%) to 32.166% when pulling 9b5a18eb8329e3a38d583ba82f7a2c90f6945423 on alexmorozov:patch-1 into 26f777fd890da4662fdd94a683bc6be9d76daeec on django-extensions:master.

Sure thing. It says coverage decreased, but seems fine overall, tests pass. Check this out, please.

Thanks !


Allow a custom form name

It'd be nice to be able to pass a custom form name when saving submissions. That way the saved entries are broken up by form name in the admin.
The only way I could think of doing it was passing it through the message field though. Seems to work just fine but doesn't feel ideal.
This solution could work by adding a hidden field to the form:
<input type="hidden" name="message[formName]" value="foo">

Looks good, could you add some documentation for it too?

Thanks for your contribution!


[DOC] Create documentation for ML Model Health Dashboard

What do you want to do?

[ ] Request a change to existing documentation
[X] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
We plan to experiment with the OpenSearch Dashboard plugin of ml-commons-dashboard in version 2.6. This plugin is mainly used to view the responding status of machine learning models at different machine learning nodes. We need more detailed documents to explain the relevant functions of this plugin.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
N/A

This is a duplicate of #2240. Closing for now.


micro:bit v2 support

The micro:bit v2 was released in late 2020, and is incompatible with the v1. It uses the nRF52833, and has various other changes to the implementation.
Should this crate support it? It would have to be some kind of a v2 feature flag, so the user could cross-compile by switching the flag. Or it might be better as a separate crate.

Thanks for bringing this up. I have considered a bit back and forth but I'm still undecided. Both approaches have their cons ans pros and I don't see either see either side weighing out the other. If we go for the feature variant we'd also have to have to add a mutually exclusive v1 feature flag, otherwise people would end up very confused because of the dual-binary selection feature they're implementing upstream which we won't be able to support.

Thanks for bringing this up. I have considered a bit back and forth but I'm still undecided. Both approaches have their cons ans pros and I don't see either see either side weighing out the other. If we go for the feature variant we'd also have to have to add a mutually exclusive v1 feature flag, otherwise people would end up very confused because of the dual-binary selection feature they're implementing upstream which we won't be able to support.

I am also looking into support for micro:bit v2. I am about to participate in a competition that will make use of micro:bit v2. Could you possibly get things up and running asap? Thanks.

Thank you for the pointers, that's really helpful. I think I can start looking at the first three steps on that roadmap (as soon as my v1 microbit arrives).
I've had a look at the nrf-hal crates and examples and I'm still struggling on how we'd get to a common interface when the boards are so different. I am hoping that it largely down to my inexperience with the domain and it will click a bit later down the line.

If you're interested I'd be happy grant you maintainer access on this crate and free rein to shape it to taste.
Sure. Although I would still like all my PRs reviewed as I am a total novice in this area.

The bigger problem is the different memory.x and different compiler flags

The memory.x is provided by nrf-hal now, so that bit shouldn't be an issue.

I think porting src/display/timer.rs over to the latest nrf-hal directly is going to be pretty hard. The interface has been pared back quite a bit and I'm struggling to figure out how to enable the compare interrupt. I'm pretty certain that with the new reduced interface it will require manually poking bits into the CC registers.
I'm now thinking of just handling it with a counter in the MicrobitDisplayTimer itself. Does that sound like a terrible idea?

I was also struggling the most with that bit. 😅

I'm now thinking of just handling it with a counter in the MicrobitDisplayTimer itself. Does that sound like a terrible idea?

It doesn't sound terrible but I'm not sure whether it's quick and efficient enough to drive the matrix display. Certainly worth a try.

I implemented it a while ago when I was tinkering with this, so you can use it for reference if you want:
pub struct MicrobitDisplayTimer<T: Instance>(pub T);
impl<T: Instance> DisplayTimer for MicrobitDisplayTimer<T> {
    fn initialise_cycle(&mut self, ticks: u16) {
        // Stop the timer.
        self.0
            .as_timer0()
            .tasks_stop
            .write(|w| w.tasks_stop().set_bit());
        // Clear the timer.
        self.0
            .as_timer0()
            .tasks_clear
            .write(|w| w.tasks_clear().set_bit());
        // Set frequency to 1MHz (16MHz / 2^4). This is the frequency used by the official runtime.
        // It's called a prescaler because it's still using the same underlying, 16MHz clock,
        // but only counts every 4th tick (in this case). So, it's just _scaling_ the output.
        self.0
            .as_timer0()
            .prescaler
            .write(|w| unsafe { w.prescaler().bits(4) });
        // Set the timer's first Capture/Compare register to `ticks`, and then enable the corresponding interrupt.
        // Every time the counter is incremented, the timer will check if it equals this value, and if so trigger the interrupt.
        // So this sets up the timer to send an interrupt once its counter reaches `ticks`.
        self.0.as_timer0().cc[0].write(|w| unsafe { w.cc().bits(ticks.into()) });
        self.0.as_timer0().intenset.write(|w| w.compare0().set());
        // Set the timer to clear itself when it reaches `ticks`.
        // If we don't do this, the counter will just continue until it overflows.
        self.0
            .as_timer0()
            .shorts
            .write(|w| w.compare0_clear().enabled());
        // Start the timer.
        self.0
            .as_timer0()
            .tasks_start
            .write(|w| w.tasks_start().set_bit());
    }

    fn enable_secondary(&mut self) {
        self.0
            .as_timer0()
            .intenset
            .write(|w| w.compare1().set());
    }

    fn disable_secondary(&mut self) {
        self.0
            .as_timer0()
            .intenset
            .write(|w| w.compare1().clear_bit());
    }

    fn program_secondary(&mut self, ticks: u16) {
        self.0.as_timer0().cc[1].write(|w| unsafe { w.cc().bits(ticks.into()) });
    }

    fn check_primary(&mut self) -> bool {
        let reg = &self.0.as_timer0().events_compare[0];
        let fired = reg.read().bits() != 0;
        if fired {
            reg.reset();
        }
        fired
    }

    fn check_secondary(&mut self) -> bool {
        let reg = &self.0.as_timer0().events_compare[1];
        let fired = reg.read().bits() != 0;
        if fired {
            reg.reset();
        }
        fired
    }
}

oh wow @Liamolucko that's amazing! 😍
I had made a start at doing something similar by looking at how the old nrf-51 hal was working. Out of interest, is there a knack to navigating the PAC documentation? I couldn't find a way to navigate to what was available on each writer. Also, do you have the work you did in a branch somewhere? Is it in a state that I could pick up where you left off?

Also, do you have the work you did in a branch somewhere? Is it in a state that I could pick up where you left off?

I wasn't actually working on this crate, I was just messing about with the v2, so no. I've uploaded what I was working on anyway, though.

Resolved by #44


Improve documentation

Currently the documentation is relatively unstructured and misses proper explanation/listing of all available options. Also some more practical usage examples with explanations would do good.

Decided for readthedocs.io now using mkdocs renderer. Docs are written as md inside the docs folder.
https://node-event-storage.readthedocs.io/en/latest/
See https://www.mkdocs.org/user-guide/writing-your-docs/ for more information, the configuration is inside the mkdocs.yml in the root.


Allow installing specific optional dependency groups via the cli

Closes #264
I went with the syntax huak install --groups group1,group2,.., somewhat similar to poetry's poetry install --only group1,group2,...

Thanks for this! I should have time later today to review this.

I made the changes but I don't fully understand what's happening under the hood of create_mock_project here. Does it actually install dependencies in .venv? Otherwise this seems irrelevant.
Also, maybe there is a way to ensure that the .venv is removed before every cargo test run for consistency purposes.

IIRC create_mock_project takes the mock-project from resources/ and sets its venv to a cwd venv. See CONTRIBUTING.md for more on testing, but basically it's a hacky way to ensure you're not spinning up a new venv for each test. So that line is there to make sure you've removed your cwd venv's black.
It's been a bit since that was added, so I could be wrong at this point. I can take a closer look later. But that's generally what it was originally there for.

Hmm. correct me if I'm wrong but i think the space delimiter would only work if it were a string
huak install --groups "group1 group2"

Is there a way for us to do
huak install --groups group1 group2

I know there was a way with the builder api.

Tested it by modifying the mock project toml to
[project.optional-dependencies]
test = ["pytest>=6"]
mock = ["mock"]

Got
error: Found argument 'mock' which wasn't expected, or isn't valid in this context

Usage: huak install [OPTIONS]

For more information try '--help'

I'm getting hauk exited with code ExitCode(unix_exit_status(1)): failed to build toml and even without any modification to the toml.

Hmm I'm not sure. I think there might be a way to mix in builder API for this if it's not possible with clap 4, but tbh if it's not possible with clap 4 I think that seems more like a clap 4 bug/issue. Maybe we can try checking their docs for any alternatives and if there is none it might be worth submitting an issue to the clap repo.
Let me know if you need help with this. One issue with me helping is that i dont think co-authored PRs count towards hacktoberfest unfortunately.
I also wanted to give the heads up that I'll be looking at merging #278 soon. I don't think it'll require a lot of work to rebase after that, but i figured i'd just call it out in case.

Wow that was tougher than I thought. So I think we'd use
Install {
        /// Install optional dependency groups
        #[arg(long, conflicts_with = "all", num_args = 1..)]
        groups: Option<Vec<String>>,
        /// Install main and all optional dependencies.
        #[arg(long)]
        all: bool,
    },

to make this work. try it out.

Here's the docs https://docs.rs/clap/4.0.10/clap/builder/struct.Arg.html#method.num_args

Love it! Let's ship! 🛳


[QUESTION] should I use logos for small strings?

Sorry, there's no discussions and I wanted to ask. For VSCode when clause contexts (search it up)-like strings (basically boolean expressions) which most of which are going to be this big: "!variable_1 && variable_2" with some being double that size in tokens, is Logos the best thing to use? You can close the issue after answering. I'm going to use a recursive AST to parse them.
And should I use nom for this?

Hello! Well I all depends on the size of your string and the size of what you are looking for. I think Logos is best suited when matching multiple more or less complex patterns, multiple times. It should be pretty fast, even of small strings, but some other libraries provides optimized searches if you only search for one string (and not regex).


[h264e] Temporary disable MFE in MFE+ROI non CQP case

MFE+ROI encoding in non CQP mode produces gpu hang.
This commit temporary disabled this case.

"зп

@pgribov , is it a fix for https://github.com/Intel-Media-SDK/MediaSDK/issues/1817?
If so please add "Fixes: #1817 " in commit message

@pgribov , please address CI issue


Sidr: add new source type

Not sure if this will be valuable to you or not, but here is some changes.
When source type is Array, Sidr will wrap each array element in div and
add defined CSS classes. Example:
$().sidr({
source: [{
className: "sidr-header",
source: "header.header"
}, {
className: "sidr-menu",
source: "ul.menu"
}]
});
This option allows to apply custom CSS styling to matched set of elements.

Thanks, for the solutions, but the option displace:false dont work with this script.
Wath i can do, her my script
$('#responsive-menu-button2').sidr({
name: 'nkrs',
className:'sidr2',
displace:false,
source: function(name) {
return '' + $('#nkrs').html() + ' ';
}
});
P.S. I's the className: right?

Stackoverflow is a better place for doubts and implementation issues.


xmllint failed to compile XSD schema 1.3

I tried to validate a gexf file version 1.3 with xmllint version 21003 as described in the documentation, but I got following error:
$ touch test.gexf
$ xmllint -debugent -noout -schema http://gexf.net/1.3/gexf.xsd test.gexf
new input from file: http://gexf.net/1.3/gexf.xsd
new input from file: http://gexf.net/1.3/dynamics.xsd
new input from file: http://gexf.net/1.3/viz.xsd
http://gexf.net/1.3/gexf.xsd:22: element element: Schemas parser error : element decl. '{http://gexf.net/1.3}graph', attribute 'type': The QName value '{http://gexf.net/1.3}graph-content' does not resolve to a(n) type definition.
http://gexf.net/1.3/gexf.xsd:43: element element: Schemas parser error : element decl. '{http://gexf.net/1.3}node', attribute 'type': The QName value '{http://gexf.net/1.3}node-content' does not resolve to a(n) type definition.
http://gexf.net/1.3/gexf.xsd:51: element element: Schemas parser error : element decl. '{http://gexf.net/1.3}edge', attribute 'type': The QName value '{http://gexf.net/1.3}edge-content' does not resolve to a(n) type definition.
WXS schema http://gexf.net/1.3/gexf.xsd failed to compile
new input from file: test.gexf
test.gexf:1: parser error : Document is empty

I have tried to compile the GEXF XML Schema with something else -- a newer JAXB 4 and have found errors which I all believe to be valid errors.
For GEXF 1.3, I get the very same errors in L22, L43, L51. From what I can read, the three elements refer to something not being a type (simpleType, complexType) and which can be seen directly by looking at the XML Schema. From what I can tell, the 1.3 format is not valid schema.
`[ERROR] src-resolve: Cannot resolve the name 'ns1:graph-content' to a(n) 'type definition' component.
line 22 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.3/XSD/gexf.xsd
[ERROR] src-resolve: Cannot resolve the name 'ns1:node-content' to a(n) 'type definition' component.
line 43 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.3/XSD/gexf.xsd
[ERROR] src-resolve: Cannot resolve the name 'ns1:edge-content' to a(n) 'type definition' component.
line 51 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.3/XSD/gexf.xsd
`
I have tried the same thing for the two previous versions:

GEXF 1.2 can be processed without any issues whatsoever - great!
GEXF 1.1 ... well, it has issues. A number of issues detected, does not compile with JAXB. Not sure of all the details, but for one thing I see "id-type" being used without being defined. JAXB complains about undefined attribute groups starting with "node-shape-content".

`[ERROR] undefined attribute group 'node-shape-content'
line 39 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.1/XSD/data.xsd
[ERROR] undefined attribute group 'color-content'
line 55 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.1/XSD/data.xsd
[ERROR] undefined attribute group 'position-content'
line 60 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.1/XSD/data.xsd
[ERROR] undefined attribute group 'size-content'
line 65 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.1/XSD/data.xsd
[ERROR] undefined attribute group 'edge-shape-content'
line 78 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.1/XSD/data.xsd
[ERROR] undefined attribute group 'thickness-content'
line 94 of file:/C:/Project/Topp-Work/Topp-Xenomorph/Example/src/main/resources/xsd/Graph-Exchange-XML/1.1/XSD/data.xsd
`

Thanks for the report! I was able to reproduce it and fix it. The root cause was in my build.sh script that was calling trang for each RNC file. The correct way was to only call it for the  gexf.rnc as it creates the other dynamics.xsd and viz.xsd automatically. By calling it for subsequent file it overwrites them but incorrectly.
Let me know if you still have issues validating.


use dns servers from udhcpc

Have this working fine specifying public dns servers via udhcpd.conf via options, however it would be useful to be able to update the dns servers in resolv.conf on the host with those from udhcpc on the bhyve client, as it break local dns resolution (especially with local histnames, vlans, etc).
For example when udhcpc runs, it creates a (local) file in bhyve located at /tmp/resolv.conf. There doesn't seem anyway to get this to the host. If there was a way of linking /etc/resolv.conf on the host to say (writable) /media/etc/resolv.conf on the vm as you can link the wpa_supplicant.conf that may help?
Sorry if I have missed something and there is a way to do this.

Hi @sheridans: I am not sure if I see you meant here.  The /etc/resolv.conf file would always be re-generated by resolvconf(8) when dhclient(8) gets an IP address via wifibox0 on the host.  The resolv.conf file that is generated by udhcpc could be exported to the host through /media/etc for sure, but what would you do with that file?  Note that wpa_supplicant.conf(5) is a separate file that lives under $LOCALBASE/etc/wifibox/wpa_supplicant and it is not that same as /etc/wpa_supplicant.conf -- they only share the same format.

I'm guessing I set it up wrong, i actually created a link to the /etc/wpa_supplicant.conf as opposed to copying it:
$ cd /usr/local/etc/wifibox/wpa_supplicant
$ doas mv wpa_supplicant.conf wpa_supplicant.bak
$ doas ln /etc/wpa_supplicant.conf ./

I was somehow looking at doing something similar with resolv.conf .

Did I understand it well that you have a DHCP server on the wireless network that forwards some special configuration for the clients?  And the problem is that this set of information is lost somewhere between udhcpc and udhcpd?
Ideally, the FreeBSD host (the client of the client) should get all the extra data from the DHCP server in the guest, which is then relayed to /etc/resolv.conf.  I think a potential solution for the problem could be to implement a 1:1 NAT or networking bridging, perhaps.  Otherwise I can imagine only various workarounds as you also suggested.  Let me think about this.

In my case it's not dhcp options causing an issue, simply name resolution. For example at work we have hostnames which only resolve internally so using public dns servers causes a problem. Having to manually edit /etc/resolv.conf to manually point to local dns resolvers is a bit of a pain.
It wouldn't be an issue with a static desktop that never moves as you could just set the opt dns <IP_ADDRESS> in udhcpd for example as it would never change. With a laptop that's carried between various places with local dns servers requires constantly editing /etc/resolv.conf hence if there was a way to export the '/tmp/resolv.conf' from the alpine guest to the main host would at least be able to script copy that over the hosts /etc/resolv.conf
hopefully this makes sense

Okay, I will see what I can do to support this use case.

@sheridans I have added support for propagating the DNS information between udhcpc and udhcpd.  You can test it by installing the net/wifibox-alpine port from the development tree: https://github.com/pgj/freebsd-wifibox-port/tree/1302885fa7ae2c8e078766b305004beacd245f61 .  Let me know how it works for you.

I did not receive any answer on this, so I assume my proposal is acceptable.  Therefore I am closing this ticket.  Please re-open if there is anything to follow up.

Hadn't got around to trying it, thanks for the follow up, will let you know how it goes.

Sorry for late reply, works perfectly after testing on multiple systems - thank you!

That is great to hear, you are welcome.  Thanks for the feedback.


Is DB auto-populated?

Enjoying reading the book and not executing code that I am familiar with ie eureka.
I am currently in chapter 9 'Securing your microservices' and currently reading 9.4 Keycloak. I took chapter 9 code added code suggested changes (book suggest chapter 8 but figure if there is chapter 9 then that code should be 'ahead') and created the image and deployed to docker.
> mvn clean package dockerfile:build
> docker-compose -f docker/docker-compose.yml up
I use Postman to hit openid-connect/token to get the keycloak access token (password grant). I take the keycloak access token and again use Postman with bearer token to hit organization endpoint 'organization/240b939e-c670-4831-8af0-666212a31287' for 'Illary Huaylupo'.  The response is an empty response.
The path variable in the book for 'Illary Huaylupo' is 'e6a625cc-718b-48c2-ac76-1dfdff9a531e' which is also in ./docker/data.sql. This was not working for me initially so recreated the users with the new different ID ('organization/240b939e-c670-4831-8af0-666212a31287' ). I send the request with the new path variable and the response is 200 but empty.
So the question is, how is the Database populated? Is there a script to initialize the tables and populate the values? Am I suppose to add the values manually? ...?
Thanks

I reviewed the material including the chapters that I skimmed through as I had experience with so ignored the code and I did not find anywhere that the DB needed to be auto-populated.  So basically bring up Postgres and bring up the SQL query tool then execute the ./docker/init.sql and ./docker/data.sql.
After the DB is done ensure that Keycloak is set up properly.


Docs: Set PDO attributes after variable has been assigned

As in PR title

why?

Sry the diff looked differently for me so I saw it being accessed before Set.
Makes sense as in this pr 👍


python310Packages.yolink-api: 0.0.9 -> 0.1.0

Description of changes
https://github.com/YoSmart-Inc/yolink-api/releases/tag/v0.1.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 194177 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.yolink
python310Packages.yolink-api
python39Packages.yolink-api


Remove specialist document related code

This is mostly removing code which has become unused since specialist documents were moved out of this app and into the Specialist Publisher. I'm sure there's more we can do along these lines, but I think it's a reasonable start.
I've also made some specs more realistic by using a "manual" document type instead of various non-"manual" types.
The removal of the SpecialistDocumentEdition#extra_fields field means it would probably be safest to merge this after the migration in #812 has been run in production, although I suspect it's not strictly necessary.

@chrisroos: Please can you mark this as reviewed - the review by @chrislo doesn't seem to count at the moment. Thanks.

@floehopper is doing some further investigation based on the question from @chrislo. I'll wait until that's complete before marking this as approved.

I've rebased this against master, edited a commit message, and force-pushed.

@chrislo, @chrisroos:

should this query have checked the opposite i.e that extra_fields is NOT nil or != [] ?

You were right to question this. I've updated the commit note to list the results of some more relevant queries. Hopefully that makes a bit more sense.
Can you take a look?

@floehopper the new commit message is much clearer.


support storage ssl

What type of PR is this?

[ ] bug
[x] feature
[ ] enhancement

What problem(s) does this PR solve?
Issue(s) number:
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:

tested by  image: reg.vesoft-inc.com/cloud-dev/nebula-operator:snap-1.17 builded today


issue with node v22.2.0

The issue:
Running yarn build gives
▲ Next.js 14.0.3
(node:86224) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
SuccessCallbackError {
error: SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:337:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:163:18)
at callTranslator (node:internal/modules/esm/loader:430:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:436:30)
at ModuleJob._link (node:internal/modules/esm/module_job:106:19),
_tag: 'SuccessCallbackError',
toString: [Function (anonymous)],
[Symbol()]: {
error: SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:337:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:163:18)
at callTranslator (node:internal/modules/esm/loader:430:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:436:30)
at ModuleJob._link (node:internal/modules/esm/module_job:106:19)
},
[Symbol()]: [ 'error' ]
}
Creating an optimized production build  .%
After reinstalling the node@18, the issue get solved and everything works fine.

Unfortunately this seems to be an issue with one of the dependencies of Eslint. See the following posts for more context - https://github.com/ajv-validator/ajv/issues/2343 and https://github.com/garycourt/uri-js/pull/95. You can use node 18 / 20 or override uri-js as suggested in the other posts.
I will update the dev dependencies when the underlying packages are updated.

It seems to be caused by the fact that assert is not supported in higher versions of Node.js. As the official documentation says: This feature was previously named "Import assertions", and using the assert keyword instead of with. Any uses in code of the prior assert keyword should be updated to use with instead. https://nodejs.org/docs/latest-v22.x/api/esm.html#import-attributes

This solved the issue

After reinstalling the node@18, the issue get solved and everything works fine.

I can confirm @Saugatkafley, this worked for me too. Nasty bug got me walking around my whole blog posts database. Thank you for the fix.


fixfix max compute array and map type read offset

…39680)
fix for https://github.com/apache/doris/pull/39259
(cherry picked from commit ab56888d5b4e7dc11d030fd177e8647cb47fb045)

run buildall

run buildall


Anomaly Detection in Addition to Threshold?

Hi Folks,
Has anyone considered using something like this https://github.com/twitter/AnomalyDetection to do anomaly detection on an event stream?
Seems like a match made in Heaven if it weren't for the fact that the algorithm was implemented in R and either needs to be marshaled across process boundaries or converted to C#.
Anyway, I'm considering switching to Seq for monitoring on the backend and am excited by what I see you all have put together.

Hi Norman - thanks for the link, it looks like an excellent piece of software.
I haven't seen anything like this, but the Rx ecosystem might yield some of this kind of functionality in .NET..? An initial search didn't turn up any obvious hits - it'd be great to hear of anything you encounter that might be easier to integrate.

Yeah, I looked at the R code yesterday to see how hard it might be to
implement the algorithm. It would take learning more R for sure! Ha ha.
Seq Apps look totally awesome by the way! If I get something implemented I
will be sure to share. :-)
On Sep 8, 2016 23:03, "Nicholas Blumhardt"<EMAIL_ADDRESS>wrote:

Hi Norman - thanks for the link, it looks like an excellent piece of
software.
I haven't seen anything like this, but the Rx ecosystem might yield some
of this kind of functionality in .NET..? An initial search didn't turn up
any obvious hits - it'd be great to hear of anything you encounter that
might be easier to integrate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/datalust/seq-apps/issues/20#issuecomment-245805930,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABj7xEK7_Rfquu3kGU5VDwmk9b87b1VXks5qoMxpgaJpZM4J4m1M
.


add managed serviceaccount addon test

Signed-off-by: myan<EMAIL_ADDRESS>Reference: https://github.com/open-cluster-management-io/multicluster-controlplane/issues/22
Since the managed service account addon hasn't been integrated into the control-plane binary. We will skip the addon test in the integration test for now.

/assign @clyang82 @qiujian16

/hold
Let us move it to stolostron when it is ready

close it in favor of https://github.com/stolostron/multicluster-controlplane


bug: Recursion detected due to too fast keyboard repeat_interval

Did you check docs and existing issues?

[X] I have read all the which-key.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of which-key.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.1 Build type: Release LuaJIT 2.1.1713773202 Run "nvim -V1 -v" for more info
Operating system/version
Linux feanor 6.6.52 #1-NixOS SMP PREEMPT_DYNAMIC Wed Sep 18 17:24:10 UTC 2024 x86_64 GNU/Linux
Describe the bug
If I'm scrolling down or up by keeping C-u or C-d pressed, or just j or k, which-key shows this:

This is only happening (I think) because of my quick repeat settings (200ms delay, 30ms repeat interval).
Now, I could get good at vim and use motions more often, but sometimes I just want to scroll down while I'm looking at the file. which-key is wrongly detecting recursion here.
Steps To Reproduce

Set your repeat interval to something fast (30ms)
Go to a large file
Keep C-d pressed
Eventually which-key will throw an error

Expected Behavior
Recursion detection behavior does not mistakenly label continuous key-presses with recursion. No error is shown.
Health
No response
Log
No response
Repro
No response

Looks like I could work around this by doing this: https://github.com/folke/which-key.nvim/issues/809#issuecomment-2380620036
https://github.com/fnune/home.nix/commit/43ededa0773a3c72a2cf5eff3abbbab24d2955e0

Can still trigger this today as of 68e37e12913a66b60073906f5d3f14dee0de19f2

confirm issue, rather annoying..
version     v3.14.1
branch  main
commit  9b365a6

Have some j and k mappings,
also have xset r rate 280 40 in .xinitrc


Weird routes

https://routeplanner.bike.brussels/#16.40/50.87374/4.30592?sb=true&o=4.3034481,50.8751987&d=4.3063535,50.8732183&p=profile1

Again a oneway that isn't a oneway, fixed:
https://www.openstreetmap.org/changeset/86125622


State corruption upon calling is<protected_function> on a sol::object from a protected_function_result from a function returning a table

This one was fun to track down (testing with latest LuaJIT and Sol2) - you can see there's a lot of conditions involved!
#include "sol.hpp"
#include <iostream>

int main() {
	sol::state lua;
	lua.open_libraries();

	lua["f"] = [&] { return lua.create_table(); };

	sol::protected_function pf = lua["f"];
	sol::object obj = pf();

	if (obj.is<sol::protected_function>())
		std::cout << "PF" << std::endl;

	pf();
	pf();

	return 0;
}

When is<sol::protected_function> is called, calling pf() one more time will cause a memory read error (failed to read 0x10) at scope exit; calling it twice (as seen here) causes it to blow up within the second call deep within Lua.
I'm not sure if these are the only conditions that trigger it, but this is a minimised version of my real code. Commenting out the is results in no issues: the function runs to the end without any exceptions or crashes. From testing, it crashes on is<sol::function> and is<sol::protected_function>, but does not crash on anything else (is<sol::table>, is<int> works fine)

Thanks for reporting this. It's fixed now. https://github.com/ThePhD/sol2/releases/tag/v2.14.9


Upload current project into Bolt/StackBlitz

Is your feature request related to a problem? Please describe:
I initially started my project on bolt (when it first came out), but because of certain reasons, i downloaded the project and started working on it in Cursor. Now, the project has become much more sophisticated with many more files. Unfortunately, the only way to create a new file in a Bolt project is to go into Stackblitz to create the file and then open the project in bolt. the thing is, i added around 100 files in the project after downloading it from Bolt. While i could copy and paste the code into a new corresponding file in Stackblitz, that just seems silly. It'd be amazing to be able to upload a project to bolt or stackblitz that way i don't need to copy and paste each file. maybe even to allow bringing in a project from a github repo and then being able to push your updates to the git repo, so now you can collab with people on a project not using bolt. For me, i do enjoy programming on Cursor for it's variety of use cases, and I enjoy the great design skills of Bolt and its interconnectivity with the backend. So, if I could work off the same files instead of copying and pasting code over to each other, that'd be great.

@ethosperformance you can drag and drop the entire filesystem from your local machine into a blank StackBlitz project filetree, and then open in Bolt. This will accomplish your workflow for now!


Configure Main/Backup not working

Updated to Beta 2.4.0+4730-beta-49aft13c But still not seeing any change in setting the BU 1,2,3 source or the active Backup selection change in Event Master.
Here is the log from companion for trying to set all 3 backups and Prim BU 1,2,3.
22.10.18 10:54:35 device(CL22K1A08122): Button 51.24 released 22.10.18 10:54:35 device(CL22K1A08122): Button 51.24 pressed 22.10.18 10:54:35 instance(eventmaster): Source:3, 1:undefined, 27 2:undefined, 27, 3:undefined, 27, State3 22.10.18 10:54:35 instance(eventmaster): activateSourceMainBackup, source: 3 backup 1 27 backup 2 27 backup 3 27 22.10.18 10:54:28 device(CL22K1A08122): Button 51.24 released 22.10.18 10:54:28 device(CL22K1A08122): Button 51.24 pressed 22.10.18 10:54:28 instance(eventmaster): Source:3, 1:undefined, 27 2:undefined, 27, 3:undefined, 27, State2 22.10.18 10:54:28 instance(eventmaster): activateSourceMainBackup, source: 3 backup 1 27 backup 2 27 backup 3 27 22.10.18 10:54:19 device(CL22K1A08122): Button 51.24 released 22.10.18 10:54:19 device(CL22K1A08122): Button 51.24 pressed 22.10.18 10:54:19 instance(eventmaster): Source:3, 1:undefined, 27 2:undefined, 27, 3:undefined, 27, State1 22.10.18 10:54:19 instance(eventmaster): activateSourceMainBackup, source: 3 backup 1 27 backup 2 27 backup 3 27 22.10.18 10:54:10 device(CL22K1A08122): Button 51.24 released 22.10.18 10:54:10 device(CL22K1A08122): Button 51.24 pressed 22.10.18 10:54:10 instance(eventmaster): Source:3, 1:undefined, 27 2:undefined, 27, 3:undefined, 27, State-1
Here is a screenshot of the button action i was using

Also here is the XML from event master of me setting the BU 1 input and switching to BU 1 source.
`

-1
1
1
-1

0

`
Hope that info helps. I am near hardware the rest of this week and can run test if you push an update.

`

-1
1
1
-1

0

`
Reposting the XML from eventmaster as it did't work in last post

Here is a screen shot of the EV XML Log for me setting the backup source and switching to BU1 and back to primary (the code didn't post right above.

Thanks, the XML is a different path to take. I found the error though will update in a sec

Just thought I would give as much info as possible to help you track things down. I will keep my eye on the beta build and test when I can.

Yeah thats cool, thanks for all info it helps allot

I see the update, in show but should be able to get a test in the next hour or so then will report back here.

Log looks different but still no change in event master.
22.10.18 15:55:25 instance(eventmaster): Source:0, 1:0, 3 2:undefined, 3, 3:1, 27, State-1 22.10.18 15:55:25 instance(eventmaster): activateSourceMainBackup, source: 0 backup 1 3 backup 2 3 backup 3 27
Button Action screen shot

If I was to guess (not a coder) I would think issues might be around "2:undefined" and possible the "State-1" might need to be "State:-1". Which the E2 might be rejection the command due to bad data formats?
Thanks for the help, I owe you a beer when I see you this spring on the tour.

It seems like the "undefined" happens if I use the same source in more than 1 backup assign channel. The first channel using a source outputs the right ID but any duplicate after that become "undefined".
When I use different sources in every channel they use the right source ID.

Found that one I think, update is coming...

The undefined is fixed. but still no changes reflected in Event Master.
Did you see my comment above comment about does the "State-1" need to have a : added between state and the value "State:-1"

The missing : is just a logging thing:-(
So when you use 3 different sources it works but with 3 the same it doesn’t?

Nothing is working on the event master side.  Was just saying the undefined issue in the log output is fixed.
Haven't seen any command set the backup source drop downs or trigger the go to backup source.

Pushed in a new fix, when this doesn't work I would really need a box to check. But lets hope it does

Seems not to work, sitting in front of a E2 gen 1 and nothing happens on main /backup

Just to be sure as I'm seeing primary in the screenshots. You guys did select Backup1, 2 or 3, right?

Shure, tried all possibilities.

Ok thanks, I would need to have a machine to see why the command doesn’t work. You could put the command into the JSON tester to see if it works. Or if a live machine can be connected to the internet?

Can give you access to the console via anydesk

we could try that first, I might find something usefull. could you email me<EMAIL_ADDRESS>

Any update on this? I am running into the same issue and wondering if it is worth pulling the beta or if it indeed still and outstanding issue?

Still not working I tried about 2 days ago with the beta.

Sorry I'm not better at Git but here's what I changed to get this to work for me:
node-barco-eventmaster: added cb to list of items passed to the function
companion-module-barco-eventmaster: choices should be 0,1,2 not 1,2,3
Something is still not right with selecting stills as backups (SrcType 1) but I haven't figured that out yet.

I've implemented the solution, but keeping this open until I'm able to test this (this fix is only in the v3 version)

Just downloaded 3.0.0-5805 and doesn't seem to work. Is this fix in that build?
When I send the action nothing happened in event master and the Source and backup list go blank in companion "no sources loaded yet" for about 10 seconds then the input list rebuilds it's self in companion.
I was trying to set input 0 with backups set to source 1,2,3. Again I see no backups set or switched on the event master side.

Om the connection do you see a exclamation mark (yellow)? That would mean not the new module. Refresh is about 6hours, so it might take a bit longer. Oh try destination group if it says experimental then you need to wait a bit longer

Yes it was still a non 3.0 module in the latest version so looks like we will have to wait for the next build.
Sadly today is my last day of show so I can test with hardware for another week.

OK, more testing.
It seems that instead of "id" from listSources, we need to use "InputCfgIndex". This is because these are backup inputs not backup sources.
So for activateSourceMainBackup we can use a "SrcType" of 0 and a SourceID of InputCfgIndex.
Stills are different altogether. Their "InputCfgIndex" is -1 but for activateSourceMainBackup we can use a "SrcType" of 1 and a SourceID of StilIndex.
Getting this new variable in Companion is beyond my abilities. But I can send various log files and tcpdump or Wireshark as needed.

@gerrylusk Changed some stuff, would this be what you mean?

Happy to report that IT WORKS!
Just got V3.1.0+5863 and the assign backup 1-3 as a source and all 4 backup states work as expected.
When I tried to assign a still as a backup source it was assigning the wrong asset id. I have input source 1-40, then stills are 41 and above. When I assign still 41 event master show still 81. Still 42 assigns still 82. So it seem like you have an index offset that should not be used?
On other item of feedback or change request is to split the command in to 2 actions. 1 for assigning what source are set as backups, another action for just setting the backup state. This way I don't have to set the backup sources for every time I just want to change the state.
Thanks again for all the hard work!

Extra Log info:
Action Setup

debug: activateSourceMainBackup: Source:0, BU1Type:0, BU11 BU2Type:0, BU22, BU3Type:1, BU340, State:-1
Eventmaster source:

Still asset ID's in event master:

hope this data help you see why still number has some type of id offset when assigned.

Stills require pulling from a different id set. I can’t write that code but maybe can figure out how to get the id for stills and enough info that Jeffery can write it. Something like if it’s a still then use this list. :-/On May 1, 2023, at 08:57, shermanp @.***> wrote:
Extra Log info:
Action Setup
debug: activateSourceMainBackup: Source:0, BU1Type:0, BU11 BU2Type:0, BU22, BU3Type:1, BU340, State:-1
Eventmaster source:
Still asset ID's in event master:
hope this data help you see why still number has some type of id offset when assigned.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

OK, I never did get a proper working copy for editing in v3. However, I've played around enough in v2 and got this to work.
Thanks, Sherman, for testing.
Here's what I did and Jeffery can put it in to conform with the v3 stuff.
`
		case 'activateSourceMainBackup':
			let source = parseInt(opt.source)
			let backup1 = parseInt(opt.backup1)
			let backup2 = parseInt(opt.backup2)
			let backup3 = parseInt(opt.backup3)
			let BackUpState = parseInt(opt.BackUpState)
			let backup1_ScrType = 0
			let backup2_ScrType = 0
			let backup3_ScrType = 0
			let source_InputCfgIndex = 0
			let backup1_InputCfgIndex = 0
			let backup2_InputCfgIndex = 0
			let backup3_InputCfgIndex = 0

			console.log(this.CHOICES_SOURCES);
				this.CHOICES_SOURCES.forEach(iterator => {
					if (source === iterator.id) source_InputCfgIndex = iterator.InputCfgIndex
					if (backup1 === iterator.id) {
						backup1_ScrType = iterator.SrcType
						if (backup1_ScrType === 1) {
							backup1_InputCfgIndex = iterator.StillIndex
						} else {
							backup1_InputCfgIndex = iterator.InputCfgIndex
						}
					}
					if (backup2 === iterator.id) {
						backup2_ScrType = iterator.SrcType
						if (backup2_ScrType === 1) {
							backup2_InputCfgIndex = iterator.StillIndex
						} else {
							backup2_InputCfgIndex = iterator.InputCfgIndex
						}
					}
					if (backup3 === iterator.id) {
						backup3_ScrType = iterator.SrcType
						if (backup3_ScrType === 1) {
							backup3_InputCfgIndex = iterator.StillIndex
						} else {
							backup3_InputCfgIndex = iterator.InputCfgIndex
						}
					}
				})

`

I'm a bit confused, as far as I can tell the build of @shermanp doesn't have my changes to InputCfgIndex, so it would be strange why it works. Or does it work but you did not notice that the wrong sources are switched? @gerrylusk there is no StillIndex in the iterator yet, so I'll add it.

I've updated Companion v3 Beta. Could take up to 6 hours before the update. Lets see if this works for you

Just tested again with v3.0.0+5833.
I am assign all live inputs to each of the 3 backups, also can switch back and forth to any of the primary or backups.
The issue of being able to assign still to a backup slot is what is not working. It does assign a still but the wrong one. I assign ID 41  but event master shows 81, which seems to be 40+41=81. which I have 40 live inputs in this show which seems to be what the offset in this case.
This is where I think if you split the actions of Assign and Switch to independent actions we could set the backups with eventmaster GUI then trigger the switch with companion.

If your inputs match your sources, this will work. But this isn't always the case. If you make your destinations first or you have a gen2 MV card, the sources and inputs will be off a bit. So you got lucky. The new code looking up input numbers and stills will work better. Thanks to Jeffery and William for implementing it.
As for splitting assignments and backup, the current way in Companion is just doing what the Barco API does. Since Barco has made one command to both define the backup sources and switch to it, I'm not sure how you could split these actions. I wonder if variables could be used or something. Maybe some clever programming.

No worries, I think I will see you in Paris next week. If there is time we can see if there is something we can do

@shermanp did we test this in Paris? Otherwise next week new chance?

@JeffreyDavidsz Looks like this is all working now! I can properly set the backup source to a live input or still and switch to each of the 4 backup state types.
Thank you again for your work on this module!


Search for objects - persons

I just could not find in the documentation why search for persons is deactivated.
(see app screenshot in README.md)
Is it not implemented?
Or are there things that have to be prepared by the user to activate it?

The current best pre-trained tensorflow model I can find still has false negative rate that is too high to be use in production.

I use the recognize app from Nextcloud, which is featured by Nextcloud now. I guess the recognize app does not store the data in the pictures itself, but in a database. But do you know if it would be possible to access this database to get the data for persons and objects and so on?
The advantage would be to let the server do the heavy work, which might have a good GPU, I guess. Moreover, this enables interoperability since all data is located within Nextcloud. Or do you already store data back in Nextcloud?

Les Pas use pre-trained tensorflow model for object detection (and also face recognition too, I just don't feel confident releasing this feature), I believe those Nextcloud  apps also pretty much use the same. These models tend to be conservative on drawing inferences, e.g., all have higher false negative rate. It's OK to be conservative for a product facing general public. But in self-hosted cases, we usually deal with a small set of objects, a small groups of people, high false negative rate will lead to tedious works to manage the inference results by hand, and even worst, it can't be fixed (re-train) because the model is closed. In short, I don't think the current closed pre-trained models can ever be ideal for prime time. So those features in Les Pas can be described as better to have, and that's why it doesn't bother saving the result on server, however, cached in phone for the sake of speed.
I haven't spend time with Nextcloud's Recognize app, maybe they save the result in DB, or maybe in Tags. Anyway, no API provided yet to tap into it.

Ok, thank you for the clarification, makes sense.

Hello!
Recognize can be tapped into just fine, as Memories (web-app) integrates with it in NC 26 just fine. You can browse people, places, landmarks, tags, etc. For people you can create people, merge them, split them, move wrong tags in and out of person, and such. Sure, there's lots of work still, but even current results are awesome. Being able to simply sync that data as an album to phone app would be great.

Not sure if Memories saves the inference result in it's own DB or exposes them as tags. I might need to check  out which model Memories is using too.

I'm not a dev, but from short experience with Nextcloud + Recognize + Memories, here's what I know.
Recognize uses similar system as you've described. Results are stored in 2 separate database tables, one which contains file ID, plus a reference to a person, and position inside the image file. Other table contains people, which are basically groups of most probable hits (or clusters, as they call them).
Github page: https://github.com/nextcloud/recognize
Memories is photo gallery, so in a way Memories in web interface is what your app is in the Android app form. ( https://github.com/pulsejet/memories/ )
Memories app pulls data not from the database, but via Recognize API's. Whatever you do in Memories, in the background is forwarded to Recognize to execute. This includes moving some image to or from a group (person), creating new person, renaming (or adding a name) and so on.
You can use the included WebDAV endpoint, which is mentioned here:
https://github.com/nextcloud/recognize/wiki/Behind-the-scenes
There's a pretty good explanation of how the system works here:
https://help.nextcloud.com/t/ai-and-photos-2-0-in-depth-explanation-of-nextcloud-recognize-and-how-it-works/146767
Unfortunately, I did not see the list of endpoints anywhere. But I've made a quick search in Memories repo, and I can see plenty of recognize paths in code there ( https://github.com/search?q=repo%3Apulsejet%2Fmemories  recognize&type=code )
Hopefully that makes it easier to get started with this topic :)

Recognize webdav endpoint looks very interesting. I love the idea of apps cooperation. Will look into it asap.


Videoconference with 2 videos (angular page) called in webview not shown inline on Iphone

Hello,
I am calling angular app (page), with 2 videos implemented on it to simulate video call, its working perfectly in web and  android, but in iOS those 2 videos are not inline, are popped up like in the screenshots below (videos are opened in the player instead of showing inline).
I am using allowsInlineMediaPlayback={true} in webview also in the video tag i am using playsinline, muted and autoplay but again videos are not shown inline in iPhone.
Popped up videos work correctly, but i want them to be inline.
I have tested my angular app on Safari in iPhone works great.
Did somebody had this issue?
Image of popped up video (white video is intentionally made by me) :

Environment:

OS:iOS
OS version: iOS 15.6.1 (iPhone 13 Pro Max)
react-native version: 0.64.2
react-native-webview version:11.14.2

We fixed the issue by upgrading version from: 11.14.2 to 11.17.2, we tested also 11.22.2 it was not working, so we were obliged to downgrade to 11.17.2.  Similar issue they had in this thread: https://github.com/react-native-webview/react-native-webview/issues/1251 .