Uncaught TypeError: Cannot read property 'alias' of undefined

Dropdown packages menu
Remote Edit
Add New SFTP host

Atom Version: 1.12.7
Electron Version: 1.3.13
System: Ubuntu 16.04.1
Thrown From: remote-edit2 package, v3.0.0
Stack Trace
Uncaught TypeError: Cannot read property 'alias' of undefined
At /home/benyanke/NextCloud/config-sync-files/dotfiles/dot.atom/packages/remote-edit2/lib/model/host.coffee:34

TypeError: Cannot read property 'alias' of undefined
    at SftpHost.module.exports.Host.getSearchKey (/home/benyanke/NextCloud/config-sync-files/dotfiles/dot.atom/packages/remote-edit2/lib/model/host.coffee:34:63)
    at /home/benyanke/NextCloud/config-sync-files/dotfiles/dot.atom/packages/remote-edit2/lib/model/host.coffee:18:9
    at Config.module.exports.Config.observeKeyPath (/usr/share/atom/resources/app.asar/src/config.js:616:7)
    at Config.module.exports.Config.observe (/usr/share/atom/resources/app.asar/src/config.js:141:21)
    at SftpHost.Host (/home/benyanke/NextCloud/config-sync-files/dotfiles/dot.atom/packages/remote-edit2/lib/model/host.coffee:17:19)
    at new SftpHost (/home/benyanke/NextCloud/config-sync-files/dotfiles/dot.atom/packages/remote-edit2/lib/model/sftp-host.coffee:32:7)
    at Object.newHostSftp (/home/benyanke/NextCloud/config-sync-files/dotfiles/dot.atom/packages/remote-edit2/lib/main.coffee:109:16)
    at atom-workspace.<anonymous> (/home/benyanke/NextCloud/config-sync-files/dotfiles/dot.atom/packages/remote-edit2/lib/main.coffee:94:74)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:259:29)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/usr/share/atom/resources/app.asar/src/atom-environment.js:1136:28)
    at EventEmitter.outerCallback (/usr/share/atom/resources/app.asar/src/application-delegate.js:319:25)
    at emitTwo (events.js:106:13)
    at EventEmitter.emit (events.js:191:7)

Commands
     -1:20.5.0 remote-edit:browse (div.package-detail.panels-item)
     -0:36.2.0 fuzzy-finder:toggle-git-status-finder (div.package-detail.panels-item)
     -0:34 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -0:32.9.0 fuzzy-finder:toggle-git-status-finder (atom-text-editor.editor.is-focused)
     -0:31.9.0 application:open-folder (atom-text-editor.editor.is-focused)
     -0:26.9.0 find-and-replace:use-selection-as-find-pattern (atom-text-editor.editor.is-focused)
     -0:25.7.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:25.7.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:22.1.0 atom-beautify:beautify-editor (atom-text-editor.editor.is-focused)
  2x -0:18.2.0 activate-power-mode:toggle (atom-text-editor.editor.is-focused)
     -0:00.0 remote-edit:new-host-sftp (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "packagesWithKeymapsDisabled": [],
    "telemetryConsent": "limited"
  },
  "remote-edit2": {
    "filterHostsUsing": {
      "alias": true
    }
  }
}

Installed Packages
# User
activate-power-mode, v1.1.0 (active)
atom-beautify, v0.29.13 (active)
git-plus, v5.29.0 (active)
remote-atom, v1.3.10 (active)
remote-edit2, v3.0.0 (active)
select-rectangle, v1.0.2 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (active)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (active)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.2 (active)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.202.2 (active)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

Hi @benyanke
I fixed this problem in my fork by renaming all configuration references to "remote-edit2. ..."
Also note that remote-edit2 is maintained by @duxet (I think...) at https://github.com/duxet/remote-edit2  - I made a PR today.
You can try my fork and see if it works for you.
Cheers,
Andreas

I ended up finding another plugin which better suited my needs, but if I ever need to come back to remote-edit, I'll certainly give it a shot!
https://github.com/amoussard/sftp-deployment
This plugin allows automatic upload on save, which is exactly what I needed.


About the use of CEREAL_CLASS_VERSION

There is no version in the data that has been serialized and saved. How can I read it in a program that has been upgraded with CEREAL_CLASS_VERSION?

If you had no version argument in your serialize functions, Cereal did not store any versioning info.
So now you files are incompatible: Cereals tries to read versioning where there is none.

Data serialized without versioning cannot be loaded by a versioned serialization function (and vice versa). https://uscilab.github.io/cereal/serialization_functions.html

You could modify Cereal to store a version tag by default anyway or add some try catch afterwards...
This would increase complexity and impact performance.
Cereal, by design, ignores versioning data management completely when you dont need it.
If you suspect that you may need it later, you should add it from the start: at least the version argument so it will use the default version 0 for all classes.


CarouselView in CollectionView header refuses to draw on load (Android)

We're in a bind and we're nearing deadline.
We've changed out the built-in CarouselView with yours, to deal with the countless bugs with that component. It has solved some major problems of ours, so thank you.
However.
When we try to replace the CarouselView we're using in a CollectionView header, it simply refuses to draw itself after load on Android, until we poke it by dragging on it.
I have tried setting the selected index and changing it after load, hoping it would redraw itself, but no. I've tried making a behavior which calls both ForceLayout and ForceRedrawViews... to no avail.
I will have to use something else for now, to my great chagrin, as I doubt you'll be able to answer before I have to push this even if you against all odds would know of another thing I could try... but I'm still asking, with the hopes that I at least can change to your control again later. I do not have the time to create a reproduction for you right now but I will try to find the time later.
Thank you and I'm very sorry for the rushed report.

Hi @mlyrstad thanks for your report and sorry for the late response (I was on vacation).
Hmm, interesting behavior.
Just wondering, did you try to replace CarouselView with ListView or set a HeightRequest to CarouselVie?

Cannot reproduce it

<CollectionView ItemsSource="{Binding Items}">
        <CollectionView.ItemTemplate>
            <DataTemplate>
                <ContentView BackgroundColor="Aqua" HeightRequest="1000" />
            </DataTemplate>
        </CollectionView.ItemTemplate>
        <CollectionView.Header>
            <cards:CarouselView
                ItemsSource="{Binding Items}"
                SlideShowDuration="3500"
                SelectedIndex="{Binding CurrentIndex}">

                <x:Arguments>
                    <proc:CarouselProcessor ScaleFactor="0.5" OpacityFactor="0" RotationFactor="0.1" />
                </x:Arguments>

                <cards:CarouselView.ItemTemplate>
                    <DataTemplate>
                        <ContentView>
                            <Frame
                                VerticalOptions="Center"
                                HorizontalOptions="Center"
                                HeightRequest="300"
                                WidthRequest="300"
                                Padding="0"
                                HasShadow="false"
                                IsClippedToBounds="true"
                                CornerRadius="10"
                                BackgroundColor="{Binding Color}">

                                <ffimage:CachedImage Source="{Binding Source}"/>

                            </Frame>
                        </ContentView>
                    </DataTemplate>
                </cards:CarouselView.ItemTemplate>

                <controls:IndicatorsControl ToFadeDuration="1500"/>
                <controls:LeftArrowControl ToFadeDuration="2500"/>
                <controls:RightArrowControl ToFadeDuration="2500"/>
            </cards:CarouselView>
        </CollectionView.Header>
    </CollectionView>

Please make sure that it's not a bug on your side (or Xamairn.Forms bug)
Would be great to receive a reproduction (since I can't replicate it)
Until that, I keep this issue closed, but feel free to reopen it when the sample is provided :)

Hello Mr. Misiukevich; I hope you had an enjoyable vacation!
Well, I never completely discount the possibility of bugs in our code, but in this case it seems very unlikely as it works just fine on iOS, and a replacement with the built-in CarouselView fixed that problem.
I was simply hoping this was a known problem you had some workaround for, really.
I'm not surprised you can't reproduce. Most likely I won't be able to either, if I ever manage to get time to try... and I can't send you our whole app, so we're gonna have to live with the built-in for now.


Automated deployments

Support automated deploys from the command line.
This PR includes resetting our migrations so we can confidently rely on migrations that have been checked into the source code from now on (and can confidently automate running migrations as part of a deploy).
Therefore, before merging this branch, it should be deployed to staging with:
fab deploy:staging,branch=deployment

And then we should run the following to ensure the production database thinks its migrations are fully up to date:
cd /webapps/openprescribing_staging
echo "DELETE FROM django_migrations" | python manage.py dbshell --settings=openprescribing.settings.production
python manage.py migrate --fake

Finally, it should be safe to merge this PR, then deploy with
fab deploy:production

@annapowellsmith, the bits that need your attention (for Cloudflare) are marked with XXX in fabfile.py.
As an aside, for the staging server to be browseable, we need to set up DNS so that staging.openprescribing.net is a CNAME for openprescribing.net. (It is protected with Basic WWW auth, credentials in pass). For the time being I have the following in my /etc/hosts:
<IP_ADDRESS>    staging.openprescribing.net

Also note the new environment variables required for the cloudflare part of the deploy process.

Please could we have some documentation (in gdrive) about how we do deploys / migrations under this new regime?

What do you feel is missing from the README? I tried to cover it all there. Should I update that and mention it in gdrive, or create it only in gdrive and mention that in the README?

Ah no that's perfect thanks - just didn't spot it!

After deply, we should also rebuild the Travis docker image

I think we need Fabric==1.11.1 in requirements/local.txt.

I ran fab deploy:staging,branch=deployment and saw Fatal error: No changes to pull from origin! Aborting.. I continued on the assumption that that was OK, and was able to run the migrations successfully :)

Great!
That error message was because I'd previously deployed that branch, so it was bailing early. You can use the force_build option to proceed in any case.  So, when you say "I continued" -- do you mean you did force_build, or something else?
Also -- re running the migrations successfully -- if you were doing deploy:staging, it shouldn't have done any migrations. Or do you mean you manually did the migrations on production?

re "I continued" - I had a look on the server at the git status, saw that it seemed to be up to date, and continued on to the migrations. Didn't do anything else.
Re running the migrations, I followed your instructions after "And then we should run the following", so I think that's a yes, I manually did the migrations on production.

I've now run a snapshot on production FYI. So we could try deploying...

Please could you put the basic-auth password for the site in pass?

It's already in there..?

(or at least, when I do git pass push it claims it's "up-to-date")

Ah sorry so it is! Didn't see it below my commits.


wrong item names I suppose?

I have an issue that in poe.trade it tells I'm selling items I don't have. like in these links: http://poe.trade/search/inimoriritoiok and  http://poe.trade/search/uimagarimenazi
my ign is irremissible
Idk if I'm doing something wrong but it doesn't seem like that.

I think I deal with it. I did something wrong but Idk what.


Weird behaviour recording multiple devices (Missing data?)

Hi, I am trying to record from different input devices simultaneously, something similar to this question in StackOverflow but I am using threads and the synchronization is not a big concern for me.
I am using a Raspberry Pi 3B, four USB audio interfaces and I'm recording @ 44100Hz.
I have and AudioRecorder (Threaded) Class which performs the recording on a defined device, based on the InputStream example writing to a big file using a callback. In addition, there is a  MainRecorder class which creates the needed AudioRecorders (one to four) and controls the recording for all of them (start, stop).
I created a script for creating the recorders, record 10 seconds and stop. When I use one device, everything works fine. the created file contains 444K samples (10.06 s). When I use two devices, the created files have 298K and 304K samples (~6.8s) and when I use 3 or 4 devices created files have ~220K samples each (~5 s).
I had a lot of input overflow messages before but changed InputStream parameters to blocksize=2000 and latency=0.125.
Any Idea on why this could happen?
I could share a simplified code if it's needed. Thanks.

changed InputStream parameters to blocksize=2000 and latency=0.125

Normally, setting only one of them should suffice. Did you try that?
Are all "overflow" messages gone now?

Any Idea on why this could happen?

Not exactly, but there are many things that can go wrong with multithreading.

could share a simplified code if it's needed.

Yes please!

Normally, setting only one of them should suffice. Did you try that?

I did. When setting blocksize to >40000 still generated some overflow messages. When I used just a higher latency value, even fewer samples were in the final files. With a bit of trial and error, I ended up with those values getting rid of the overflow messages (at least for 10 seconds)

Not exactly, but there are many things that can go wrong with multithreading.

I am using the same "AudioRecorder" class with a different "MainRecorder" for recording 2 interfaces (not the same USB dongles), but independently, and that has been working for almost 6 months 24/7, so I guess the issue is something apart from the multithreading.
I just made some tests using the same code on a laptop instead of the RPi and the files have the expected number of samples after recording 10 seconds (444K samples).
Both platforms have libportaudio2:(armhf:amd64) 19.6.0-1, but the Raspberry is running python 3.5.3 and the laptop is running python 3.6.9

Yes please!

I will remove all the unnecessary things and share the code.


The applied primary color is not applied for checkboxes in the console login page

Describe the issue:

The applied primary color is not applied for checkboxes in the console login page

How to reproduce:

1.Login to the console
2.Go to branding
3.Go to Design => color palette => set the primary color
Expected behavior:

The checkbox background color should align with primary color
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Regression from: https://github.com/wso2/identity-apps/blob/028e15f359362eddbdf9f635bbc7dfdb251dcc47/modules/theme/src/themes/default/modules/checkbox.overrides#L30
Need to handle this in the skeleton: https://github.com/wso2/identity-apps/blob/%40wso2is/validation%402.0.2/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/theme-skeleton.jsp#L1276
Also, add a border radius for the checkbox as well.


Update?

Thanks for this!
An update to match Tailwind 2 class names would be nice :)
/whitespace-no-wrap/,/whitespace-nowrap/ for example (refer docs)

There is a pull request with this update, would be nice to have Tailwind CSS


Release automation

Currently, I'm the only person who can actually publish release to Maven Central. This is something I'm not proud of since it effectively reduces Bus Factor of the project to 1, even though we now have 3 persons with push rights to the repo: @nikitin-da, @geralt-encore, me.

[ ] As a first step I'd like to find a way to give @nikitin-da access and setup his environment so he could also do manual release. If that'll work without need to give access to my personal sonatype account, that'll be awesome.
[ ] As a second step I'd like to setup release automation on CI with signed tags and ecrypted keys so any member of the project could do a release by simply pushing signed tag of a new version.

@nikitin-da, @geralt-encore thoughts?

Let's do it! 👍
It will allow you not to be distracted by some less important things and sometimes even to sleep! (Without clones creating like it probably does Jake).
Release via tags sounds adorably=)

I am always for automating as much thing is possible, so let me know if you need any help with it 👍

So I've checked the options, when we'll have something to release, I'll try to do it via https://github.com/Codearte/gradle-nexus-staging-plugin and if it'll work — I'll make a PR so we could do it automatically.

I've checked it on another project and it works! Will also require some travis setup https://docs.travis-ci.com/user/deployment/releases/

@artem-zinnatullin some thoughts on the subj:

What about jcenter instead of sonatype? At least for releases.
We know you're a fan of tags instead of branches policy, but I still like auto-publish on every commit in release branch

"At least for releases?" but we don't publish snapshots, so it's only
releases. I was recently setting up publishing to jcenter in some Juno
projects and faced major problem issue with publishing package with several
artifacts which took Bintray a week to resolve and they still don't have
automated solution for it
https://stackoverflow.com/questions/43468385/bintray-does-not-sync-one-of-the-artifacts-of-the-package-to-the-jcenter

I don't see reasons for that, without tags you have to manually store
version in source code, update it and so on and so on, tags are great, take
a look at release automation here https://github.com/gojuno/composer (I'm
planning to do something very similar in StorIO)

On Fri, May 5, 2017, 01:23 Ildar Karimov<EMAIL_ADDRESS>wrote:

@artem-zinnatullin https://github.com/artem-zinnatullin some thoughts
on the subj:

What about jcenter instead of sonatype? At least for releases.
We know you're a fan of tags instead of branches policy, but I
still like auto-publish on every commit in release branch

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pushtorefresh/storio/issues/766#issuecomment-299325829,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7B3LYRXR7aJW1uSvvNn0MZYVPTKuhYks5r2k_MgaJpZM4MFglC
.


Changed order of containerizers on Mesos agents.

High-level description
What features does this change enable? What bugs does this change fix?
This is a subtle change that changes the processing order for
operations associated with launching, monitoring, or stopping
containers.  Effectively, the Mesos agent will try the Mesos
containerizer before the Docker containerizer.
This change improves performance of launching Mesos containers when
there are a large number of Docker containers running on the same
agent.  The Docker containerizer tends to spend most of its time
waiting on the Docker daemon to respond, sometimes blocking further
progress if there are too many containers.  Sometimes, this waiting
will cause Mesos containers to take excessively long times to launch,
as we get blocked while executing the launch command on each
containerizer, in order.  If the Mesos containerizer comes first,
then we skip the wait entirely.
This is unlikely to cause the opposite scenario (too many Mesos
containers blocking a Docker container from launching) because the
Mesos containerizer does not have long blocking sections.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-42757 Switch composing containerizer order in agent flag.

Related tickets (optional)
Other tickets related to this change:

COPS-3794 Tasks stuck in STAGING.

Checklist for all PRs

[x] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: This should be transparent to the user, as we are flipping the order of some operations.  Functionality does not change.
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: There is no test because this is a performance improvement for an uncommon case (launching ~50 docker containers, then a single UCR container on the same agent).  We can independently check how much time is saved though.
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): N/A
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot label Ready For Review


Update invite.md

Coverage remained the same at 94.519% when pulling 6b647fcb7008db953d9b03a0ab20712d9b577f1c on rahul1-update-invite-instructions into bf3ff4170f2d8de0bece656b6fe11d9ee13afb86 on main.


Document vSphere Storage Requirements for Users

Description
As a user of TCE on vSphere we see TCE clusters are created with a default storageclass, but we need to have documentation to include what's needed on the vSphere side from an administration perspective to allow TCE to consume vSphere storage. Some of these details are already written up here: https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.4/vmware-tanzu-kubernetes-grid-14/GUID-tanzu-k8s-clusters-storage.html
Location

Additional Context

Making sure you've seen this @kcoriordan

plan on adding this content this week

@timmycarr  -fyi - PR https://github.com/vmware-tanzu/community-edition/pull/2685
let me know if you have any comments


Input checking for settings files

We load information from the following text files:

ForagingSettings.json
Settings_box#.csv
WaterCalibrationPar_#.json
WaterCalibration_#.json
LaserCalibration_#.json

Typos or other errors in formatting should we checked when we load the file. I dont think we need to adopt a full pydantic schema (at least at the moment). However we should check for errors and alert the user rather than waiting for bonsai to crash. Bonsai is very sensitive to typos, newline characters, and extraneous fields in the settings.csv file. Currently errors cause crashes without clear debugging information.

I have access to the ForagingSettings and the Settings_box, but can someone send me the Water and Laser calibration json files (I'll need all 3).
I am assuming that the json and csv will always have those exact same fields as default, and users can input their own dictionary of fields to check if not.

Thinking about it more, I'm not sure we need to worry about the water and laser calibration files for now. Since they are generated by the GUI.
The json and csv files may have additional fields, and that is allowed. They may also not have some fields. The code already checks for the mandatory fields in the ForagingSettings.json.
The bigger issue here is that bonsai crashes when there isn't a newline at the end of the last entry in the csv file:
bonsai crashes:
key,value

bonsai is fine:
key,value

Thanks for the clarification. I'll just check for newline at the end and I'll enhance the error checking in ForagingSettings.json then!

Newline issue fix is in for now. Please let me know if there is a list of mandatory fields for the Settingsbox csv file I should incorporate. If not, we can merge the branch and close this bug.


remove String dispatches for MTK constructors

@ChrisRackauckas and I talked and these would be considered type piracy, even though there are no methods currently taking String in the main MTK repo, other packages may want to define their own
@paulflang I am also thinking that we want to remove the direct ODEProblem constructor, per this comment https://github.com/LCSB-BioCore/SBML.jl/pull/40#discussion_r650841927
I think it makes more sense to just require them to use sth like ODEProblem(ODESystem(readSBML(filename))).
I haven't implemented that last point yet though

@ChrisRackauckas and I talked and these would be considered type piracy, even though there are no methods currently taking String in the main MTK repo, other packages may want to define their own

Yeah it's just type piracy. If two packages ever do it, pigs fly and dogs wear hats. It's generally frowned upon and fragile to do that, so instead just define the dispatch on the type SBMLToolkit owns.

I think I fixed up the tests, but we wont know until the Symbolics stuff is merged in SBML.jl, it seems like this PR makes some of the tests redundant, though I didn't look closely


Updated documentation

@eddiejaoude what do you think? Constructive criticism is very much welcome

@KarenEfereyan that looks great 👍 , just 1 small feedback, I commented inline 🤓 . Thank you for making these improvements

@eddiejaoude i dont get that. What do you need me to change?

On line 45 to line 49, it is currently a code block...

```
open ReadMe. md
On a new line type in ..
Full Name [github.com/githubUsername]
```

I think it would be better as a list... (I tweaked the text slightly too and the README.md filename because the case and spacing is important, and the link example)
- open the file `README.md`
- on a new line in alphabetical order add your name and link to you GitHub
- for example `[Name](https://github.com/your-username)`

Okay, let me fix that now

Done @eddiejaoude

Thanks @KarenEfereyan , 2 small comments 🤓

@eddiejaoude okay, so i remove the space before the md. What's the other thing I should fix?

done @eddiejaoude


termination_by? over generalizes the decreasing term

Prerequisites
Please put an X between the brackets as you perform the following steps:

[X] Check that your issue is not already filed:
https://github.com/leanprover/lean4/issues
[X] Reduce the issue to a minimal, self-contained, reproducible test case.
Avoid dependencies to Mathlib or Batteries.
[X] Test your test case against the latest nightly release, for example on
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)

Description
The following (not quite correct theorem) causes an annoyance with termination_by?:
def copy (curr : Nat) (input : Array Nat) (output : Array Nat) : Array Nat :=
  if hcurr:curr < input.size then
    copy (curr + 1) input (output.push (input[curr]'hcurr))
  else
    output
termination_by input.size - curr

theorem foo (curr : Nat) (input : Array Nat) (output : Array Nat)
    : ∀ (idx : Nat) (hidx1 : idx < curr),
        (copy curr input output)[idx]'sorry
          =
        output[idx]'sorry := by
  intro idx hidx
  unfold copy
  split
  . rw [foo]
    . rw [Array.get_push_lt]
    . omega
  . rfl
termination_by?

Here termination_by? suggests:
Try this: termination_by idx => input.size - curr

Which, while correct, does contain the unused variable idx and will get flagged by the unused
variable linter. It would be great if it only did this for variables that are actually used in
the decreasing term.
Context
This was discovered as part of my work on LeanSAT where lots of theorems of this form (that are actually correct due to additional constraints on the indices) produced slightly "wrong" termination_by? terms.
Expected behavior: Suggest input.size - curr
Actual behavior: Suggest idx => input.size - curr
Versions
"4.8.0-rc1"
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.

Thanks! I think when termination_by? was added, the unused variable linter wouldn’t work for termination_by…
Probably just a matter of using the delaborator for binders correctly.


Please provide a sample of the array of resource types to pass in the parameter

This would be more useful if there was an actual example of the array to pass. The one linked in the PowerShell example does not have any values of resources type in an array. Please provide an example in the documentation.

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

ID: ba25bd9e-cf20-53f1-bf99-a1b73069cb22
Version Independent ID: ba5c333b-8abf-a47c-96f3-429b8519036b
Content: Sample - Not allowed resource types - Azure Policy
Content Source: articles/governance/policy/samples/not-allowed-resource-types.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@Roblarson Thanks for the feedback!  I have a backlog item to update these samples to all have such examples.  For now, there is an example that should meet what you are looking for: https://docs.microsoft.com/en-us/azure/governance/policy/samples/allowed-locations#azure-powershell.  Let me know if that answers the question you have.  I'll create a backlog item to update this sample, still.
@MicrosoftDocs/azure-cxp-triage #in-progress Please label 'doc-enhancement'.

#assign:DCtheGeek

Yeah the issue is what is the format of the resource that needs to be in the array? Is it the resource provider/resource type. Is it just the resource type?  An example will really help.
Robert Larson
Senior Domain Delivery Architect
Security and Infrastructure
Microsoft Services
Cell:<PHONE_NUMBER>
From: David Coulter<EMAIL_ADDRESS>Sent: Friday, June 28, 2019 2:19 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Robert Larson (SERVICES<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Please provide a sample of the array of resource types to pass in the parameter (#34222)
@Roblarsonhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FRoblarson&data=02|01|Robert.Larson%40microsoft.com|59e8ccbf14cd40fa04fb08d6fbfd8491|72f988bf86f141af91ab2d7cd011db47|1|0|636973463597747672&sdata=ZrKFcdWskYVm3ooEuLCEK%2B8jBWO72cQ3SxTn5J2l%2BhU%3D&reserved=0 Thanks for the feedback! I have a backlog item to update these samples to all have such examples. For now, there is an example that should meet what you are looking for: https://docs.microsoft.com/en-us/azure/governance/policy/samples/allowed-locations#azure-powershellhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fgovernance%2Fpolicy%2Fsamples%2Fallowed-locations%23azure-powershell&data=02|01|Robert.Larson%40microsoft.com|59e8ccbf14cd40fa04fb08d6fbfd8491|72f988bf86f141af91ab2d7cd011db47|1|0|636973463597757666&sdata=VZ1ZKkcuWWJRnC9gfwzZpkojQFyKsi%2BybejaXiAq%2Fgs%3D&reserved=0. Let me know if that answers the question you have. I'll create a backlog item to update this sample, still.
@MicrosoftDocs/azure-cxp-triagehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Forgs%2FMicrosoftDocs%2Fteams%2Fazure-cxp-triage&data=02|01|Robert.Larson%40microsoft.com|59e8ccbf14cd40fa04fb08d6fbfd8491|72f988bf86f141af91ab2d7cd011db47|1|0|636973463597757666&sdata=XbSaGXgBs05%2FTk7j5GUl%2Bt0xsDwdBY8Jd0Ew7rtq9bE%3D&reserved=0 #in-progress Please label 'doc-enhancement'.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F34222%3Femail_source%3Dnotifications%26email_token%3DADJHA5FHUV4CWKGNXQTASK3P4ZP3NA5CNFSM4H4H3Q32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY26LOQ%23issuecomment-506848698&data=02|01|Robert.Larson%40microsoft.com|59e8ccbf14cd40fa04fb08d6fbfd8491|72f988bf86f141af91ab2d7cd011db47|1|0|636973463597767663&sdata=Jp90VggT1jNPX%2FZILMjAs4ZIKolmQTIrKjOXUvMXEPY%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADJHA5D5PPSHPZBQZPEW7GTP4ZP3NANCNFSM4H4H3Q3Q&data=02|01|Robert.Larson%40microsoft.com|59e8ccbf14cd40fa04fb08d6fbfd8491|72f988bf86f141af91ab2d7cd011db47|1|0|636973463597767663&sdata=sXPsBHDjenjH9MXIa2kIFFZFv3tEpELw6WoNCPr1ZGU%3D&reserved=0.

@roblarson I understand now what you are looking for.  Since the policy definition is comparing type, then the easiest way to see what values are stored there is to use Azure Resource Graph:
Search-AzGraph -Query "distinct type | order by type asc"

This gives you all the distinct types that exist in your subscriptions and is a good way to see format and possible values of Azure Resource Manager properties.  I'd also recommend looking at the Show distinct values for a specific alias sample query, as it is very useful for discovering format and values in your environment for use with Azure Policy.
I've created a Work Item to track the enhancement you mentioned, but this should give you the information you need to move forward.  Thanks for the question!
@MicrosoftDocs/azure-cxp-triage #please-close


Publish the NuGet Package to the microsoft store

The UK package can be used as it is with minor modifications (URL address, API key) and it will work straight away as intended.


[tool_crash] Invalid argument(s): Cannot find executable for /Users/yangzhengyou/Documents/flutter/1.17.1/bin/cache/artifacts/engine/android-arm-release/darwin-x64/gen_snapshot.

Command
flutter --quiet assemble --depfile /Users/yangzhengyou/Documents/huolala/user-flutter/.android/Flutter/build/intermediates/flutter/release/flutter_build.d --output /Users/yangzhengyou/Documents/huolala/user-flutter/.android/Flutter/build/intermediates/flutter/release -dTargetFile=lib/main.dart -dTargetPlatform=android -dBuildMode=release android_aot_bundle_release_android-arm android_aot_bundle_release_android-arm64

Steps to Reproduce

...
...
...

Logs
ArgumentError: Invalid argument(s): Cannot find executable for /Users/yangzhengyou/Documents/flutter/1.17.1/bin/cache/artifacts/engine/android-arm-release/darwin-x64/gen_snapshot.
#0      _getExecutable (package:process/src/interface/local_process_manager.dart:127:5)
#1      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:43:30)
#2      _DefaultProcessUtils.start (package:flutter_tools/src/base/process.dart:462:28)
#3      _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart:480:35)
#4      GenSnapshot.run (package:flutter_tools/src/base/build.dart:74:26)
#5      AOTSnapshotter.build (package:flutter_tools/src/base/build.dart:198:56)
#6      AndroidAot.build (package:flutter_tools/src/build_system/targets/android.dart:233:52)
#7      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:614:25)
<asynchronous suspension>
#8      _BuildInstance.invokeTarget.<anonymous closure> (package:flutter_tools/src/build_system/build_system.dart:569:35)
#9      new Future.sync (dart:async/future.dart:224:31)
#10     AsyncMemoizer.runOnce (package:async/src/async_memoizer.dart:43:45)
#11     _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:569:21)
<asynchronous suspension>
<asynchronous suspension>
<asynchronous suspension>
#12     BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:498:36)
#13     AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:189:58)
#14     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:723:18)
<asynchronous suspension>

[✓] Flutter (Channel unknown, v1.17.1, on macOS 11.3 20E232, locale zh-Hans-CN)
    • Flutter version 1.17.1 at /Users/yangzhengyou/Documents/flutter/1.17.1
    • Framework revision f7a6a7906b (1 year ago), 2020-05-12 18:39:00 -0700
    • Engine revision 6bc433c6b6
    • Dart version 2.8.2

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/yangzhengyou/Library/Android/sdk
    • Platform android-S, build-tools 30.0.3
    • ANDROID_HOME = /Users/yangzhengyou/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 12.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[!] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • M2102J2SC • 81097937 • android-arm64 • Android 11 (API 30)

! Doctor found issues in 4 categories.

Flutter Application Metadata
Type: module
Version: 1.0.0+1
Material: true
Android X: true
Module: true
Plugin: false
Android package: com.example.userflutter
iOS bundle identifier: com.huolala.user
Creation channel: stable
Creation framework version: f139b11009aeb8ed2a3a3aa8b0066e482709dde3
Plugins
device_info-0.4.2+3
flutter_boost-7a7923c0d4f345f3206c9653468bcd8d9193d102
flutter-bugly-b9d2b4a6a8ad120bc5c48f08f89897f00211aa7e
path_provider-1.6.27
path_provider_linux-0.0.1+2
path_provider_macos-0.0.4+8
path_provider_windows-0.0.4+3
shared_preferences-0.5.12+4
shared_preferences_linux-0.0.2+4
shared_preferences_macos-0.0.1+11
shared_preferences_web-0.1.2+7
shared_preferences_windows-0.0.2+2
sqflite-1.3.1+2

@MicroKibaco
You are on very old version. Please upgrade to latest master using below commands and try again which should fix your issue.
flutter channel master
flutter upgrade
Note: This issue was fixed already, https://github.com/flutter/flutter/issues/68475
Closing this as already fixed and you need to upgrade to see the change. If you disagree, write in comments and I'll reopen.


Error running inference

Tried to run inference.py in virtual env using python 3.6 with tensorflow 1.15. Author`s model checkpoints were also used.
Got the error: "tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node _inference_Dataset_map_109}} Number of ways to split should evenly divide the split dimension, but got split_dim 2 (size = 4) and num_split 3"
P.S. Big thanks to the author, can`t wait to use this model

Hi, sorry for the late response. This error is occasionally seen in some examples due to image dimension mismatch. Please try to run the model for other test images.


Move nested payloads to installer and zip file on windows

Now that the llm runner is an executable and not just a dll, more users are facing problems with security policy configurations on windows that prevent users writing to directories and then executing binaries from the same location. This change removes payloads from the main executable on windows and shifts them over to be packaged in the installer and discovered based on the executables location. This also adds a new zip file for people who want to "roll their own" installation model.
Fixes #3763

Thank you very much!! will download Test and come back to you
Mickael


qpdf --check causes assertion failure on a certain file

This PDF causes an assertion failure with qpdf 8.0.2 on macOS:
$ qpdf --check 27764.PDF
PDF Version: 1.4
File is not encrypted
File is linearized
Assertion failed: (this->m->obj_cache.count(og) > 0), function lengthNextN, file libqpdf/QPDF_linearization.cc, line 748.

qpdf 27764.PDF fixed.pdf && qpdf --check fixed.pdf  produces no errors.
(The file is copyrighted, but may be downloaded freely.)

Thanks for the report and the file. The linearization code is the last place in qpdf's source where I still have to go through and clean up the assertions, replacing them with proper warnings and error handling. This stuff hearkens back to qpdf's earliest use as a PDF validator before I made it open source and added any of its write capabilities. I will leave this open as a reminder. I don't think this is going to be hard to fix. I just have to find a few hours to go through all that code and handle all assertions and exceptions using the library's current error-handling techniques.

(Note to self: saved as issue-209.pdf)


Segmentation fault (core dumped)

Required Info

Camera Model
{  D435 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{ Linux (Ubuntu 16.04LTS) }

Kernel Version (Linux Only)
(4.15.0-99-generic)

Platform
PC

SDK Version
{ 2.0}

Language
{C++/Opencv/cmake }

Segment
{Robot }

Issue Description

Fistly, I have to say sorry for my English.
The problem :
When I run the executable file: rs-dnn,  the "display image" just flash a moment, then error: Segmentation fault (core dumped) .
[ INFO:0] Initialize OpenCL runtime...
Segmentation fault (core dumped)

But,there is no error appear on another PC which I had copied to.
The (gdb) bt :
#0  0x00007f7ac6076de3 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.7.so.1
#1  0x00007f7b2d5be6ca in call_init (l=, argc=argc@entry=1,
argv=argv@entry=0x7fff8e25d088, env=env@entry=0x7fff8e25d098)
at dl-init.c:72
#2  0x00007f7b2d5be7db in call_init (env=0x7fff8e25d098, argv=0x7fff8e25d088,
argc=1, l=) at dl-init.c:30
#3  _dl_init (main_map=main_map@entry=0x1dfced0, argc=1, argv=0x7fff8e25d088,
env=0x7fff8e25d098) at dl-init.c:120
#4  0x00007f7b2d5c38f2 in dl_open_worker (a=a@entry=0x7fff8e25b0f0)
at dl-open.c:575
#5  0x00007f7b2d5be574 in _dl_catch_error (
objname=objname@entry=0x7fff8e25b0e0,
errstring=errstring@entry=0x7fff8e25b0e8,
mallocedp=mallocedp@entry=0x7fff8e25b0df,
operate=operate@entry=0x7f7b2d5c34e0 <dl_open_worker>,
args=args@entry=0x7fff8e25b0f0) at dl-error.c:187
#6  0x00007f7b2d5c2db9 in _dl_open (
file=0x7f7adc3aa3d0 "/usr/lib/x86_64-linux-gnu/beignet//libgbe.so",
mode=-2147483647, caller_dlopen=0x7f7adc37e5d8, nsid=-2,
argc=, argv=, env=0x7fff8e25d098)
at dl-open.c:660
#7  0x00007f7b2423ef09 in dlopen_doit (a=a@entry=0x7fff8e25b320) at dlopen.c:66
#8  0x00007f7b2d5be574 in _dl_catch_error (objname=0x1da33b0,
---Type  to continue, or q  to quit---
8, mallocedp=0x1da33a8, operate=0x7f7b2423eeb0 <dlopen_doit>, args=0x7fff8e25b320) at dl-error.c:187
#9  0x00007f7b2423f571 in _dlerror_run (operate=operate@entry=0x7f7b2423eeb0 <dlopen_doit>, args=args@entry=0x7fff8e25b320) at dlerror.c:163
#10 0x00007f7b2423efa1 in __dlopen (file=, mode=) at dlopen.c:87
#11 0x00007f7adc37e5d8 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so
#12 0x00007f7b2d5be6ca in call_init (l=, argc=argc@entry=1, argv=argv@entry=0x7fff8e25d088, env=env@entry=0x7fff8e25d098) at dl-init.c:72
#13 0x00007f7b2d5be7db in call_init (env=0x7fff8e25d098, argv=0x7fff8e25d088, argc=1, l=) at dl-init.c:30
#14 _dl_init (main_map=main_map@entry=0x1e11640, argc=1, argv=0x7fff8e25d088, env=0x7fff8e25d098) at dl-init.c:120
#15 0x00007f7b2d5c38f2 in dl_open_worker (a=a@entry=0x7fff8e25b630) at dl-open.c:575
#16 0x00007f7b2d5be574 in _dl_catch_error (objname=objname@entry=0x7fff8e25b620, errstring=errstring@entry=0x7fff8e25b628, mallocedp=mallocedp@entry=0x7fff8e25b61f,
operate=operate@entry=0x7f7b2d5c34e0 <dl_open_worker>, args=args@entry=0x7fff8e25b630) at dl-error.c:187
#17 0x00007f7b2d5c2db9 in _dl_open (file=0x20b9490 "/usr/lib/x86_64-linux-gnu/beignet//libcl.so", mode=-2147483647, caller_dlopen=0x7f7adc5ea2fb, nsid=-2,
argc=, argv=, env=0x7fff8e25d098) at dl-open.c:660
#18 0x00007f7b2423ef09 in dlopen_doit (a=a@entry=0x7fff8e25b860) at dlopen.c:66
#19 0x00007f7b2d5be574 in _dl_catch_error (objname=0x1da33b0, errstring=0x1da33b8, mallocedp=0x1da33a8, operate=0x7f7b2423eeb0 <dlopen_doit>, args=0x7fff8e25b860)
at dl-error.c:187
#20 0x00007f7b2423f571 in _dlerror_run (operate=operate@entry=0x7f7b2423eeb0 <dlopen_doit>, args=args@entry=0x7fff8e25b860) at dlerror.c:163
#21 0x00007f7b2423efa1 in __dlopen (file=, mode=) at dlopen.c:87
#22 0x00007f7adc5ea2fb in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#23 0x00007f7adc5ea459 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#24 0x00007f7adc5ea9c2 in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#25 0x00007f7adc5eb233 in clGetPlatformIDs () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#26 0x00007f7b26d0c577 in ?? () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#27 0x00007f7b26d64a72 in cv::ocl::haveOpenCL() () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#28 0x00007f7b26d802c8 in cv::ocl::useOpenCL() () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#29 0x00007f7b26dcb309 in cv::UMat::getStdAllocator() () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#30 0x00007f7b26dccb66 in cv::Mat::getUMat(int, cv::UMatUsageFlags) const () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#31 0x00007f7b2a815924 in cv::dnn::experimental_dnn_v2::ConvolutionLayer::create(cv::dnn::experimental_dnn_v2::LayerParams const&) ()
from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#32 0x00007f7b2a77de10 in ?? () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#33 0x00007f7b2a75cce2 in cv::dnn::experimental_dnn_v2::LayerFactory::createLayerInstance(cv::String const&, cv::dnn::experimental_dnn_v2::LayerParams&) ()
from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#34 0x00007f7b2a75ce85 in ?? () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#35 0x00007f7b2a76bbf7 in ?? () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#36 0x00007f7b2a77a9a0 in ?? () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#37 0x00007f7b2a77afb8 in ?? () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#38 0x00007f7b2a77b299 in cv::dnn::experimental_dnn_v2::Net::forward(cv::String const&) () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#39 0x000000000041d551 in main ()
Please help me. Thank you very much!

This can be a very hard error to diagnose unfortunately, as it typically just means that the computer tried to access an area of its memory storage that it was not allowed to.  It can apparently suggest that there may be a broken module on your Ubuntu installation (hence why it may work on one Ubuntu PC but not another).
You could either do a fresh installation of Ubuntu to see if it corrects the problem, or try to repair the broken files with a guide like the one in the link below.
https://blog.opstree.com/2019/04/02/resolving-segmentation-fault-core-dumped-in-ubuntu/

@MartyG-RealSense Thank you very much!
I have ran the debgu again, error occured when  it comes to the setp 80:
80	        Mat detection = net.forward("detection_out"); //compute output
(gdb)
[ INFO:0] Initialize OpenCL runtime...
Thread 1 "rs-dnn" received signal SIGSEGV, Segmentation fault.
0x00007fff86076de3 in ?? ()
from /usr/lib/x86_64-linux-gnu/libLLVM-3.7.so.1
I had tried the first method in the link you posed， unfortunately, it is not work also.
ask for help again, thank you!

I think that all I can do is link the rs-dnn example program's creator @maloel to this discussion to see if they can suggest a way to fix the SIGSEV error.
Until then, I wonder if you could try the other OpenCV dnn sample program in the SDK and see if that works for you.
https://github.com/twMr7/rscvdnn

@fsc1023 , the error indicates an issue within OpenCl 3rd party library:

#37 0x00007f7b2a77afb8 in ?? () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3
#38 0x00007f7b2a77b299 in cv::dnn::experimental_dnn_v2::Net::forward(cv::String const&) () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_dnn3.so.3.3

The call stack display is interrupted short of reaching the LRS code, so the only place to check in Librealsense is the loading of DNN models - please verify that those models are present and the files are not corrupted (e.g. zero size).
We'll keep the thread open for sometime to allow  for community members to respond and provide  insights w.r.t. OpenCv.

@MartyG-RealSense  Thank  you very much.  the code (https://github.com/twMr7/rscvdnn ) rscdnn have no CMakeLists.txt, I have not find a solution to compile and run it, cmake or g++?

@ev-mp Thank you, I reviewed the files MobileNetSSD_deploy.caffemodel (23.1M) and MobileNetSSD_deploy.prototxt (29.4kB), both of them have no problem. Maybe I have to reinstall the Ubuntu OS, but it is annoying.

Thank you! @ev-mp @MartyG-RealSense I have solved the error. Maybe it was caused by the environment of my PC. I reinstalled the OpenCL, then, the error disappeared magically.

@fsc1023   That's great news - thanks so much for the update   :)

Case closed due to the solving of the problem and no further comments received.


connectExtLinks does not connect to neighbourtile which has only one polygon

On the left side there are 3 tiles in total, separated by a thin white line. The blue polygon belongs to it's own tile and it is the result of a findpath. The single polygon there has no link to the neighbourtile.
Now on the right pic, I slightly expanded that not working part and the tile now holds two polygons and this is where recast sets a link to the neighbour.
I starred at dtNavMesh::connectExtLinks now for quite a while, but I would guess there is a bug in the recast / mesh building itself. Can someone maybe give me a tiny hint where I could look ?

The issue disappears when I comment out the
'
// Skip edges which do not point to the right side.
if (poly->neis[j] != m) continue;
'
inside findConnectingPolys(..)


Include additional things

Is it possible you ever review these scripts:
https://github.com/teeotsa/windows-10-debloat
https://github.com/LeDragoX/Win-10-Smart-Debloat-Tools
https://github.com/ChrisTitusTech/win10script
https://github.com/farag2/Sophia-Script-for-Windows
https://freetimetech.com/windows-11-debloater-tool-debloat-gui/
and include the things from them, that are not present in your script?
tnx

Please do.  The script works well, but leaves a ton of bloatware, like the Get Office link, Feedback link, and Virtual Reality junk that no business system needs.  Thanks for a great tool!


Audiality 2 substate destruction

We have a nasty problem with the way Audiality 2 handles substates. When a master state is destroyed, any substates it may have are destroyed as well. This leaves any remaining EEL wrapper objects for these substates with dangling pointers.
That is, as it is, it's critical that substates are released BEFORE their master state - or Bad Things(TM) will happen when EEL later tries to destroy substates that no longer exist!
One solution is to change Audiality 2 so that it orphans substates, to be explicitly destroyed by the host application. This matches the EEL object model precisely. It could be argued that it's also a better design.  We could
Another solution is to hook some kind of destruction callback to each wrapped substate, so that the wrapper object can be invalidated (pointer set to NULL, or a dummy state), to deal with this safely. Alternatively, to avoid involving Audiality 2 in this, the wrapper object for the master state could keep track of any substates.

Doesn't the new A2_interface API eliminate this problem...? It should be technically possible for interfaces to be orphaned now - but IIRC, interfaces created by a2_SubState() (which has no flags argument) will be closed automatically along with their respective master states.


Does this code support multiple faces?

I use this app and find onle one face supported.
how to support multiple faces? Any methods?

支持多人脸

Apk from website is support multiple faces but source code in master branch cannot detect multiple faces. Please check


[Event Request] Codeunit 99000854 Inventory Profile Offsetting - OnAfterSetProdOrder

Hi, would it be possible to get an event OnAfterSetProdOrder in codeunit 99000854, procedure MaintainPlanningLine, like this :
                        case SupplyInvtProfile."Source Type" of
                            DATABASE::"Purchase Line":
                                SetPurchase(PurchaseLine, SupplyInvtProfile);
                            DATABASE::"Prod. Order Line":
                                begin
                                    SetProdOrder(ProdOrderLine, SupplyInvtProfile);
                                    OnAfterSetProdOrder(ReqLine);
                                end;
                            DATABASE::"Assembly Header":
                                SetAssembly(AsmHeader, SupplyInvtProfile);
                            DATABASE::"Transfer Line":
                                SetTransfer(TransLine, SupplyInvtProfile);
                        end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterSetProdOrder(var ReqLine: Record "Requisition Line");
    begin
    end;

?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Create a testimonial v4

Resolve #167
Here is the testimonial v4 I have built.
Here is a screenshot of that.

Here is a reference to the component.

Good job @443781544
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

https://www.clueless.tech/profile/admin/29669090 @Rajdip019

where can I see the leaderboard?


我可以将 RxLifecycle换成AutoDispose吗？

Look at here

→ Did you conform to the Rules?
→ Did you read the Wiki Carefully?
→ Did you search in Google?
→ Did you search in openned&closed Issues?
→ Receive only bugs and suggestions

Environment

[x] MVPArms Version:
[x] AndroidStudio Version:
[x] Gradle Plugin Version:
[x] Target Android Version:
[x] Device Model:

Bug Description:

Related Code:

Bug Log:

Others:

你当然可以


EOS-24161: HA integration to handle pod failures

Problem Statement

In Containers environment, we will be receiving machine id of the pods instead of pod-name in the HA events. Need to store a mapping of machine-id to node-name.

HA functionality won't work in containers. Hare is the only subscriber to HA's event manager. Topic name for event subscription needs to be imported. Also need to wait until the topic is registered by HA and available for us.

Design

Fetching machine id from confstore.

Adding an optional field of machine_id to node name in CDF

Storing <machine_id>: in consul KV.

Removed code related to event subscription.

Added wait for event topic to be available.

Added test script of Producer-Consumer to send and consume events in Message Bus (which simulates the HA events).

Coding
Checklist for Author

[x] Coding conventions are followed and code is consistent

Testing
Checklist for Author

[x] Unit and System Tests are added
[x] Test Cases cover Happy Path, Non-Happy Path and Scalability

Output for machine id changes
After deployment in Kubernetes env.
kubectl exec -it cortx-data-pod-ssc-vm-g3-rhev4-2723-64bf7dcc85-dwl6f -c cortx-motr-hax -- cat /etc/machine-id

01e2be23fd874a8686f332b520833b16

[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]# consul kv get 01e2be23fd874a8686f332b520833b16
cortx-data-headless-svc-ssc-vm-g3-rhev4-2723

The new key -  machineid : node-name .. is seen getting populated in consul kv.
Also tested hctl bootstrap with CDF not having machine-id.
Things work fine.
Output for node events with machine -id
initial status of consul kv
[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]# consul kv get -recurse | grep cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
01e2be23fd874a8686f332b520833b16:cortx-data-headless-svc-ssc-vm-g3-rhev4-2723

m0conf/nodes/0x6e00000000000001:0x3:{"name": "cortx-data-headless-svc-ssc-vm-g3-rhev4-2723", "state": "M0_NC_ONLINE"}

[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]# consul kv get -recurse | grep 0x6e00000000000001:0x3
m0conf/nodes/0x6e00000000000001:0x3:{"name": "cortx-data-headless-svc-ssc-vm-g3-rhev4-2723", "state": "M0_NC_ONLINE"}

[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]# consul kv get -recurse | grep 0x6500000000000001:0x4
m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4:{"node": "0x6e00000000000001:0x3", "state": "M0_NC_ONLINE"}
m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4/ctrls/0x6300000000000001:0x5:{"state": "M0_NC_ONLINE"}

m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4/ctrls/0x6300000000000001:0x6:{"state": "M0_NC_ONLINE"}

node failure event
Event sent
event = myEvent("event_id", "failed", "1", "1", "1", "1",
                    "storage-node1", "storage-node1", "node",
                    "16215009572", "01e2be23fd874a8686f332b520833b16",
                    {"namespace": "cortx"})

hare logs
2021-12-13 10:08:11,346 [DEBUG] {ha-event-listener} Got message from HA: Event(version='2.0', event_type='failed', event_id='event_id', resource_type='node', cluster_id='1', site_id='1', rack_id='1', storageset_id='1', node_id='storage-node1', resource_id='01e2be23fd874a8686f332b520833b16', timestamp='16215009572')
2021-12-13 10:08:11,347 [DEBUG] {ha-event-listener} KVGET key=01e2be23fd874a8686f332b520833b16, kwargs={}
2021-12-13 10:08:11,396 [DEBUG] {ha-event-listener} KVGET key=m0conf/nodes, kwargs={'recurse': True}
2021-12-13 10:08:11,679 [DEBUG] {qconsumer-19} Got BroadcastHAStates(group=45848, states=[HAState(fid=0x6e00000000000001:0x3, status=FAILED)], reply_to=None) message from planner
2021-12-13 10:08:11,680 [INFO] {qconsumer-19} HA states: [HAState(fid=0x6e00000000000001:0x3, status=FAILED)]

2021-12-13 10:08:11,680 [DEBUG] {qconsumer-19} Broadcasting HA states [HAState(fid=0x6e00000000000001:0x3, status=FAILED)] over ha_link
2021-12-13 10:08:11,794 [DEBUG] {qconsumer-19} KVGET key=m0conf/nodes, kwargs={'recurse': True}
2021-12-13 10:08:11,893 [DEBUG] {qconsumer-19} Setting node=0x6e00000000000001:0x3 in KV with state=M0_NC_FAILED

2021-12-13 10:08:12,805 [DEBUG] {qconsumer-19} Broadcasting 4 notes
motr[00016]:  7440   WARN  [ha/halon/interface.c:1119:m0_halon_interface_send]  hl=0x7fe708005d70 ep=inet:tcp:cortx-data-headless-svc-ssc-vm-g3-rhev4-2721@2001 epoch=0 tag=91695 type=2
motr[00016]:  7440   WARN  [ha/halon/interface.c:1119:m0_halon_interface_send]  hl=0x7fe750002f80 ep=inet:tcp:cortx-data-headless-svc-ssc-vm-g3-rhev4-2721@3002 epoch=0 tag=57 type=2

2021-12-13 10:08:12,836 [DEBUG] {qconsumer-19} Broadcast HA state complete, message_ids = [MessageId(0x7fe708005d70, 91695), MessageId(0x7fe750002f80, 57), MessageId(0x7fe718005a10, 57), MessageId(0x7fe720007700, 55), MessageId(0x7fe72c008870, 45), MessageId(0x7fe71801f220, 45)]
2021-12-13 10:08:12,837 [DEBUG] {qconsumer-19} Waiting for the next message

consul kv - sets node, enclosure and corresponding controller states to failed.
[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]#  consul kv get -recurse | grep 0x6e00000000000001:0x3
m0conf/nodes/0x6e00000000000001:0x3:{"name": "cortx-data-headless-svc-ssc-vm-g3-rhev4-2723", "state": "M0_NC_FAILED"}

[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]# consul kv get -recurse | grep 0x6500000000000001:0x4
m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4:{"node": "0x6e00000000000001:0x3", "state": "M0_NC_FAILED"}
m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4/ctrls/0x6300000000000001:0x5:{"state": "M0_NC_FAILED"}
m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4/ctrls/0x6300000000000001:0x6:{"state": "M0_NC_FAILED"}

Node online event
event sent
event = myEvent("event_id", "online", "1", "1", "1", "1",
                    "storage-node1", "storage-node1", "node",
                    "16215009572", "01e2be23fd874a8686f332b520833b16",
                    {"namespace": "cortx"})

logs
2021-12-13 10:21:35,826 [DEBUG] {ha-event-listener} Got message from HA: Event(version='2.0', event_type='online', event_id='event_id', resource_type='node', cluster_id='1', site_id='1', rack_id='1', storageset_id='1', node_id='storage-node1', resource_id='01e2be23fd874a8686f332b520833b16', timestamp='16215009572')
2021-12-13 10:21:35,827 [DEBUG] {ha-event-listener} KVGET key=01e2be23fd874a8686f332b520833b16, kwargs={}
2021-12-13 10:21:35,932 [DEBUG] {ha-event-listener} KVGET key=m0conf/nodes, kwargs={'recurse': True}
2021-12-13 10:21:36,035 [DEBUG] {qconsumer-21} Got BroadcastHAStates(group=45999, states=[HAState(fid=0x6e00000000000001:0x3, status=OK)], reply_to=None) message from planner
2021-12-13 10:21:36,037 [INFO] {qconsumer-21} HA states: [HAState(fid=0x6e00000000000001:0x3, status=OK)]
2021-12-13 10:21:36,037 [DEBUG] {qconsumer-21} Broadcasting HA states [HAState(fid=0x6e00000000000001:0x3, status=OK)] over ha_link

2021-12-13 08:13:28,403 [DEBUG] {qconsumer-1} Setting node=0x6e00000000000001:0x57 in KV with state=M0_NC_ONLINE
2021-12-13 10:21:36,362 [DEBUG] {qconsumer-21} Setting enclosure=0x6500000000000001:0x4 in KV with state=M0_NC_ONLINE

2021-12-13 10:21:36,741 [DEBUG] {qconsumer-21} Broadcast HA state complete, message_ids = [MessageId(0x7fe708005d70, 91997), MessageId(0x7fe750002f80, 59), MessageId(0x7fe718005a10, 59), MessageId(0x7fe720007700, 57), MessageId(0x7fe72c008870, 47), MessageId(0x7fe71801f220, 47)]
2021-12-13 10:21:36,745 [DEBUG] {qconsumer-21} Waiting for the next message

consul kv state sets node and enclosure state back to online.
[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]# consul kv get -recurse | grep 0x6e00000000000001:0x3

m0conf/nodes/0x6e00000000000001:0x3:{"name": "cortx-data-headless-svc-ssc-vm-g3-rhev4-2723", "state": "M0_NC_ONLINE"}

[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]# consul kv get -recurse | grep 0x6500000000000001:0x4
m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4:{"node": "0x6e00000000000001:0x3", "state": "M0_NC_ONLINE"}
m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4/ctrls/0x6300000000000001:0x5:{"state": "M0_NC_FAILED"}
m0conf/sites/0x5300000000000001:0x1/racks/0x6100000000000001:0x2/encls/0x6500000000000001:0x4/ctrls/0x6300000000000001:0x6:{"state": "M0_NC_FAILED"}

Impact Analysis
Checklist for Author/Reviewer/GateKeeper

[ ] Interface change (if any) are documented
[ ] Side effects on other features (deployment/upgrade)
[ ] Dependencies on other component(s)

Review Checklist
Checklist for Author

[X] JIRA number/GitHub Issue added to PR
[x] PR is self reviewed
[x] Jira and state/status is updated and JIRA is updated with PR link
[ ] Check if the description is clear and explained

Documentation
Checklist for Author

[ ] Changes done to WIKI / Confluence page / Quick Start Guide

rerun premerge-test

cluster.yaml file generated  in kubernetes env
[root@cortx-data-headless-svc-ssc-vm-g3-rhev4-2721 ~]# cat /etc/cortx/hare/config/e0cc8319be24430d9c3b34035892a669/cluster.yaml
pools:
- allowed_failures:
    disk: 0
    ctrl: 0
    encl: 0
    rack: 0
    site: 0
  spare_units: 0
  name: storage-set-1__sns
  data_units: 1
  parity_units: 0
  disk_refs:
  - path: /dev/sdd
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2721
  - path: /dev/sde
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2721
  - path: /dev/sdg
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2721
  - path: /dev/sdh
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2721
  - path: /dev/sdd
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2722
  - path: /dev/sde
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2722
  - path: /dev/sdg
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2722
  - path: /dev/sdh
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2722
  - path: /dev/sdd
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
  - path: /dev/sde
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
  - path: /dev/sdg
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
  - path: /dev/sdh
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
  type: sns
- allowed_failures:
    disk: 0
    ctrl: 0
    encl: 0
    rack: 0
    site: 0
  spare_units: 0
  name: storage-set-1__dix
  data_units: 1
  parity_units: 0
  disk_refs:
  - path: /dev/sdc
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2721
  - path: /dev/sdf
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2721
  - path: /dev/sdc
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2722
  - path: /dev/sdf
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2722
  - path: /dev/sdc
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
  - path: /dev/sdf
    node: cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
  type: dix
create_aux: false
profiles:
- pools:
  - storage-set-1__sns
  - storage-set-1__dix
  name: Profile_the_pool
fdmi_filters: null
nodes:
- m0_servers:
  - io_disks:
      data:
      - path: /dev/sdd
        size:<PHONE_NUMBER>0
        blksize: 4096
      - path: /dev/sde
        size:<PHONE_NUMBER>0
        blksize: 4096
      meta_data: /dev/sdc
    runs_confd: false
  - io_disks:
      data:
      - path: /dev/sdg
        size:<PHONE_NUMBER>0
        blksize: 4096
      - path: /dev/sdh
        size:<PHONE_NUMBER>0
        blksize: 4096
      meta_data: /dev/sdf
    runs_confd: false
  - io_disks:
      data: []
      meta_data: null
    runs_confd: true
  data_iface: dummy
  hostname: cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
  data_iface_ip_addr: cortx-data-headless-svc-ssc-vm-g3-rhev4-2723
  m0_clients:
    other: 0
    s3: 2
  memorysize_mb: 15876.03125
  machine_id: 01e2be23fd874a8686f332b520833b16
  processorcount: 4
  data_iface_type: tcp
- m0_servers:
  - io_disks:
      data:
      - path: /dev/sdd
        size:<PHONE_NUMBER>0
        blksize: 4096
      - path: /dev/sde
        size:<PHONE_NUMBER>0
        blksize: 4096
      meta_data: /dev/sdc
    runs_confd: false
  - io_disks:
      data:
      - path: /dev/sdg
        size:<PHONE_NUMBER>0
        blksize: 4096
      - path: /dev/sdh
        size:<PHONE_NUMBER>0
        blksize: 4096
      meta_data: /dev/sdf
    runs_confd: false
  - io_disks:
      data: []
      meta_data: null
    runs_confd: true
  data_iface: dummy
  hostname: cortx-data-headless-svc-ssc-vm-g3-rhev4-2722
  data_iface_ip_addr: cortx-data-headless-svc-ssc-vm-g3-rhev4-2722
  m0_clients:
    other: 0
    s3: 2
  memorysize_mb: 15876.03125
  machine_id: 0cd05540799a46f79723af839b4b5f56
  processorcount: 4
  data_iface_type: tcp
- m0_servers:
  - io_disks:
      data:
      - path: /dev/sdd
        size:<PHONE_NUMBER>0
        blksize: 4096
      - path: /dev/sde
        size:<PHONE_NUMBER>0
        blksize: 4096
      meta_data: /dev/sdc
    runs_confd: false
  - io_disks:
      data:
      - path: /dev/sdg
        size:<PHONE_NUMBER>0
        blksize: 4096
      - path: /dev/sdh
        size:<PHONE_NUMBER>0
        blksize: 4096
      meta_data: /dev/sdf
    runs_confd: false
  - io_disks:
      data: []
      meta_data: null
    runs_confd: true
  data_iface: dummy
  hostname: cortx-data-headless-svc-ssc-vm-g3-rhev4-2721
  data_iface_ip_addr: cortx-data-headless-svc-ssc-vm-g3-rhev4-2721
  m0_clients:
    other: 0
    s3: 2
  memorysize_mb: 15876.03125
  machine_id: e0cc8319be24430d9c3b34035892a669
  processorcount: 4
  data_iface_type: tcp

@knekrasov

Perhaps I don't quite understand the overall plan for messages and events. According to what I see in this PR,

we stop subscribing and unsubscribing at EventManager

yes.. but now its not available to use.

we construct the topic name "manually" (although this was supposed to be an implementation detail of cortx-ha component)

Unfortunately yes, like I mentioned above, they already have a constant for topic prefix, and they substitute the component id which hare provides.

it seems like we try to work with ~Kafka~ MessageBus directly from hax.

Yes, as consumers apart from event subscription (i.e topic registration on kafka done by HA), we directly work with MessageBus.

If all of that is correct, then

Why do we need cortx-ha?
Who will send the messages to the Kafka topic?

So, its cortx-ha who will be monitoring the pod health and publishing pod failure and online events on the message bus.
cortx-ha => Producer
cortx-hare => Consumer

Unfortunately yes, like I mentioned above, they already have a constant for topic prefix, and they substitute the component id which hare provides.

Well, if a constant requires some tricky replacements then it is obviously not a constant. It's an internal detail of some cortx-ha implementation which is being spread out outside of their component. In other words,

cortx-ha has some internal convention how to generate the topics (i.e. what parts should be substituted and where).
They have that logic implemented in their code. "Constants" and substitution is a part of the implementation detail.
And in this PR we repeat the same logic in our component.

Now, if they decide to change anything in the algorithm of topic generation, their component will be running OK but ours will be broken. So this approach is rather fragile in the long term.
Ideally, we should ask cortx-ha to implement the topic generation algorithms as some function or a class at their side so we can just import it and invoke.
I presume that they don't have this logic encapsulated into an exportable function at this point, so let's move on with the current approach.
cc @shailesh-vaidya, @mssawant

This looks good, it would have been great if there was a design link for this hard coding decision, @shaileshsvc, @ArchanaLimaye. cc @ujjwalpl

Integration with HA is successful.
HA health events
2021-12-14 16:26:35 health_monitor [294]: INFO [evaluate] Evaluated action ['publish'] for key action/node/failed
2021-12-14 16:26:35 health_monitor [294]: INFO [process_event] Evaluated {"event_id": "16394991947cf84ebbe5eb4a1392f9c4b473a86db1", "event_type": "failed", "severity": "error", "site_id": "1", "rack_id": "1", "cluster_id": "747abd1b6d5b4bfba48d59a34efdc0cc", "storageset_id": "101c77438a244f54b1bcf3381c48c96b", "node_id": "101c77438a244f54b1bcf3381c48c96b", "host_id": "101c77438a244f54b1bcf3381c48c96b", "resource_type": "node", "timestamp": "1639499193", "resource_id": "101c77438a244f54b1bcf3381c48c96b", "specific_info": "specific_info"} with action ['publish']
2021-12-14 16:26:35 health_monitor [294]: INFO [act] Default action handler with Event:<PHONE_NUMBER>7cf84ebbe5eb4a1392f9c4b473a86db1 and actions : ['publish']
2021-12-14 16:26:35 health_monitor [294]: INFO [publish] Sending action event {"version": "2.0", "event_type": "failed", "event_id": "16394991947cf84ebbe5eb4a1392f9c4b473a86db1", "resource_type": "node", "cluster_id": "747abd1b6d5b4bfba48d59a34efdc0cc", "site_id": "1", "rack_id": "1", "storageset_id": "101c77438a244f54b1bcf3381c48c96b", "node_id": "101c77438a244f54b1bcf3381c48c96b", "resource_id": "101c77438a244f54b1bcf3381c48c96b", "timestamp": "1639499193", "event_specific_info": "specific_info"} to component hare
2021-12-14 16:26:36 health_monitor [294]: INFO [evaluate] Evaluated action [] for key action/rack/degraded
2021-12-14 16:26:37 health_monitor [294]: INFO [evaluate] Evaluated action [] for key action/site/degraded
2021-12-14 16:26:38 health_monitor [294]: INFO [evaluate] Evaluated action [] for key action/cluster/degraded
2021-12-14 16:28:22 health_monitor [294]: INFO [evaluate] Evaluated action ['publish'] for key action/node/online
2021-12-14 16:28:22 health_monitor [294]: INFO [process_event] Evaluated {"event_id": "163949930131d390dbb1784346bad249cb0ea883e1", "event_type": "online", "severity": "informational", "site_id": "1", "rack_id": "1", "cluster_id": "747abd1b6d5b4bfba48d59a34efdc0cc", "storageset_id": "101c77438a244f54b1bcf3381c48c96b", "node_id": "101c77438a244f54b1bcf3381c48c96b", "host_id": "101c77438a244f54b1bcf3381c48c96b", "resource_type": "node", "timestamp": "1639499301", "resource_id": "101c77438a244f54b1bcf3381c48c96b", "specific_info": "specific_info"} with action ['publish']
2021-12-14 16:28:22 health_monitor [294]: INFO [act] Default action handler with Event:<PHONE_NUMBER>31d390dbb1784346bad249cb0ea883e1 and actions : ['publish']
2021-12-14 16:28:23 health_monitor [294]: INFO [publish] Sending action event {"version": "2.0", "event_type": "online", "event_id": "163949930131d390dbb1784346bad249cb0ea883e1", "resource_type": "node", "cluster_id": "747abd1b6d5b4bfba48d59a34efdc0cc", "site_id": "1", "rack_id": "1", "storageset_id": "101c77438a244f54b1bcf3381c48c96b", "node_id": "101c77438a244f54b1bcf3381c48c96b", "resource_id": "101c77438a244f54b1bcf3381c48c96b", "timestamp": "1639499301", "event_specific_info": "specific_info"} to component hare
2021-12-14 16:28:23 health_monitor [294]: INFO [evaluate] Evaluated action [] for key action/rack/online
2021-12-14 16:28:24 health_monitor [294]: INFO [evaluate] Evaluated action [] for key action/site/online
2021-12-14 16:28:26 health_monitor [294]: INFO [evaluate] Evaluated action [] for key action/cluster/online

Events received at hare side
2021-12-14 16:26:36,807 [DEBUG] {ha-event-listener} Got message from HA: Event(version='2.0', event_type='failed', event_id='16394991947cf84ebbe5eb4a1392f9c4b473a86db1', resource_type='node', cluster_id='747abd1b6d5b4bfba48d59a34efdc0cc', site_id='1', rack_id='1', storageset_id='101c77438a244f54b1bcf3381c48c96b', node_id='101c77438a244f54b1bcf3381c48c96b', resource_id='101c77438a244f54b1bcf3381c48c96b', timestamp='1639499193')

2021-12-14 16:28:23,897 [DEBUG] {ha-event-listener} Got message from HA: Event(version='2.0', event_type='online', event_id='163949930131d390dbb1784346bad249cb0ea883e1', resource_type='node', cluster_id='747abd1b6d5b4bfba48d59a34efdc0cc', site_id='1', rack_id='1', storageset_id='101c77438a244f54b1bcf3381c48c96b', node_id='101c77438a244f54b1bcf3381c48c96b', resource_id='101c77438a244f54b1bcf3381c48c96b', timestamp='1639499301')

consul kv is updated properly
m0conf/nodes/0x6e00000000000001:0x2d:{"name": "cortx-data-headless-svc-ssc-vm-g2-rhev4-2610", "state": "M0_NC_FAILED"}

m0conf/nodes/0x6e00000000000001:0x2d:{"name": "cortx-data-headless-svc-ssc-vm-g2-rhev4-2610", "state": "M0_NC_ONLINE"}

broadcasted events -
2021-12-14 15:50:24,656 [DEBUG] {qconsumer-10} Broadcasting HA states [HAState(fid=0x7200000000000001:0x34, status=FAILED)] over       ha_link

2021-12-14 16:29:02,560 [DEBUG] {qconsumer-21} Broadcasting HA states [HAState(fid=0x7200000000000001:0x34, status=OK), HAState(      fid=0x7200000000000001:0x41, status=OK)] over ha_link

deployment link -
http://eos-jenkins.colo.seagate.com/job/GitHub-custom-ci-builds/job/centos-7.9/job/cortx-all-image-custom-ci/1383/


login.php

line 63 and 99 are the same :O

No :p
The first checks with and and the second with or.
The first does a real login and the second gets triggered if you try to login with only pw or username.
But thanks for the try anyways c:


Ensure null is labelled when the associated relation is not defined

When the relation is not defined, null/empty would not fall back on the specified null string.


URL encoded characters in list and article view

I’m seeing URL encoded characters instead of an apostrophe in an article:

I don’t recall seeing this before, so I’m wondering if it’s a new bug or something with the particular article?
Update: I just checked the same article in Reeder, and the apostrophe displays correctly. Definitely seems to be NNW specific.

What’s the URL of the feed? Which sync service are you using?

Feed URL: https://adactio.com/rss/
Aggregator: Feedbin
I also just tested this same feed with iCloud sync in NNW, and same encoded character error occurs.

It’s a bug in the feed. The apostrophe is encoded as &#8217; but it should be just ’.


Surface upload limit in UI

Closing this because I found out the window already raises an alert when files are bigger than 5GB.


Update Java to 17; Update to 1.18; Update Kotlin to 1.6.0

I'm gonna wait until Paper 1.18 is stable


How to update from Inferno to Naval 56?

Hello,
First of all great work for the script, it's very usefull.
We are currently using the inferno version of the script with the help of this template https://docs.google.com/spreadsheets/d/14ldb5FTKHEFWi8qWmTLl-bYeoU6xkGMVg_OpkrZCCCU/copy
provided by pogobanane.
I'm not very familiar with scripts and things like that, but I was trying to find a way to update the existing update to include the recognition of havoc charges, hull parts and stuff but couldnt find any.
do you know how that could be done properly?

Good question.
I believe these are the general / high-level steps:

Run sundial/build-gs.sh to generate new Apps Script files
Load those files into the sheet Apps Script (replacing existing files)
Modify CATALOG_URL in the fig.gs Apps Script to the latest catalog URL
Make sure the fig (fir.gicode.com) (sic) tab has reloaded with the correct catalog data
Copy the fig (fir.gicode.com) tab contents and paste values into the fig tab
Go in Data > Named functions and edit FIG_GET_ICON to use the path for the latest icons

If you get this working, please post back with any additional steps/notes you've identified (for the benefit of others).
Separately, I can offer a different template (the one the above is based on) which uses the website (https://fir.gicode.net/) for recognition and includes the latest catalog/icons already.  Please reach out via Discord if you want that one.

Hello!
Somehow I was able to make the changes for Update 56, although I don't think I did it fully correctly as I kept having a bug with the Cnute heavy truck showing as a Collie truck. As I'm attempting to make the changes for Update 57 I'm realizing the issues was I never updated the OCR functions of our spreadsheet to match the new process.
At this point I have all of the steps above completed except 1 and 2, however I don't know where or how to "run" the build-gs.sh file. I've tried building the fir-sidebar.html from scratch embedding the different sections of code one by one, but then I run into the .bin files and am stopped in my tracks.
Any guidance you could provide would be awesome! And I fully apologize if some of this should be basic understanding as I'm a bit out of my depth here!
Thanks,

I recommend using Windows Subsystem for Linux (WSL).
build-gs.sh is a shell script that you can run inside WSL.
Searching for guides discussing WSL or running shell scripts might help.


Documentation and translation of find/replace capability

Describe the issue
Hi, I'm using the find/replace feature which can be opened by Ctrl+ F at the bottom of the editor,.
I can't find that capability in the docs though. Is it described somewhere?
And is there a way to translate its form (find/replace/replace all/next/previous/etc.)? I get it in English, but would need it in German.
Procedure version
Latest version
Reproduction link
No response

Sorry, I couldn't find a way to localize the query functionality in the codemirror lib, and we can't handle this at the moment.

No worries, the functionality itself is great.
But it took me a couple of days to find out that it exists, by accidentally hitting CTRL + F, as used from other editors.
It would be good to mention the find/replace function in the docs, and get it added to the toolbar.

Indeed, I will add how it is used in the docs, thanks for the reminder.

Document updated


Add unsigned functions

Codecov Report

Merging #6 (3211234) into master (32ccd33) will decrease coverage by 0.07%.
The diff coverage is 96.87%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   95.85%   95.77%   -0.08%
==========================================
  Files           2        2
  Lines         820      852      +32
==========================================
+ Hits          786      816      +30
- Misses         34       36       +2

Flag
Coverage Δ

unittests
95.77% <96.87%> (-0.08%)
:arrow_down:

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

Impacted Files
Coverage Δ

lauxhlib.h
91.75% <93.75%> (-0.18%)
:arrow_down:

lauxhlib.c
99.33% <100.00%> (+0.02%)
:arrow_up:

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 32ccd33...3211234. Read the comment docs.


[v2 notifications] Succeed to update values of required fields to empty

🐞 Bug Report
Affected Services

 The issue is located in: support-notification
Is this a regression?

 Yes, the previous version in which this bug was not present was: ....
Description and Minimal Reproduction

Create a subscription with the following body.

POST method
[
   {
      "subscription":{
         "name":"Subscription-1616666801751",
         "description":"Test data for subscription",
         "channels":[
            {
               "emailAddresses":[
<EMAIL_ADDRESS>               ],
               "type":"EMAIL"
            }
         ],
         "categories":[
            "health-check"
         ],
         "labels":[
            "simple"
         ],
         "receiver":"tafuser",
         "resendLimit":0,
         "resendInterval":"24h"
      },
      "apiVersion":"v2"
   }
]

Update values of required fields with the following body for the above subscription.

PATCH method
[
   {
      "subscription":{
         "name":"Subscription-1616666801751",
         "description":"Test data for subscription",
         "channels":[],
         "categories":[],
         "labels":[],
         "resendLimit":0,
         "resendInterval":"24h"
      },
      "apiVersion":"v2"
   }
]

🔥 Exception or Error

Update successfully and query the subscription got the following response.
{
    "apiVersion": "v2",
    "requestId": "",
    "message": "",
    "statusCode": 200,
    "subscriptions": [
        {
            "id": "0b7cd56c-07cb-4ab4-8928-05f47c0dd8c4",
            "name": "Subscription-1616666801751",
            "channels": [],
            "receiver": "tafuser",
            "created":<PHONE_NUMBER>362,
            "modified":<PHONE_NUMBER>028,
            "description": "Test data for subscription",
            "resendInterval": "24h"
        }
    ]
}

Excepted to get status code 400 when sending update subscription.
🌍  Your Environment
Deployment Environment:
EdgeX Version: master
Anything else relevant?

Fixed by the core-contracts PR https://github.com/edgexfoundry/go-mod-core-contracts/pull/566
For upgrading the core-contracts lib, wait for the PR https://github.com/edgexfoundry/edgex-go/pull/3299 merge.

The empty channel issue was fixed by PR edgexfoundry/go-mod-core-contracts#566. Raised #3316 for empty label and category.


Setup JSCS configuration

Add JSCS validation to enforce a predefined code style.

Ready for review.
/cc @honkskillet, @chino23, @meriturva, @kotmatpockuh, @enkodellc, @kether667

a lot of files changes, i couldn't see any changes in functionality just code styles - which is good since it's the intention here, tests passed so this one looks good, unless you want us to look at something particular?

will be great to see "updated demo" )

looks beautiful now, nice!

Thanks all, merged. Let's push things forward again! :balloon:

@Voles isn't it time to update the package version???
Also it doesn't look like any of my clone changes are in the master branch. What happened?

@enkodellc is it common to bump the version for every change? Curious to hear you opinion about this one.
Your changes to the clone functionality have been merged before and are published with the v2.3.0 release. See https://github.com/angular-ui-tree/angular-ui-tree/commit/dd277cbd3349eb82bc4887b5d59d12c859828742?diff=unified

http://stackoverflow.com/questions/3826580/what-rules-does-software-version-numbering-follow
http://en.wikipedia.org/wiki/Software_versioning
In my opinion it is not common to bump for every change but definitely for feature changes, breaking changes, and some bug fixes. We know that version 2.1.5 was broken so if any fixes were made I would suggest a patch version bump. In our case since we fixed bugs and added features the 2.3 minor version is appropriate. For your JSCS update it should have at least moved to 2.1.6 patch.
Strange I don't see version 2.3 in the branches? I see 2.3 in releases. Maybe I am missing something. I would suggest merging 2.3 into master as it fixed several issues and added features that are commonly requested.
In addition as @kotmatpockuh suggested we should have an updated demo as well.

I don't see why we would backport the JSCS improvements. These don't add anything to previous releases, except for code style. Correct me if I'm wrong.
We do not have any branches related to the versions. Everything is on master and when a new version is released, this is nothing more than a tag.
I'm very much open for suggestions about the development flow!
You're right that the demo's should be updated, but that's out of scope for this PR.


Is possible to detect Cloudflare workers  or add browser target?

In Cloudflare Workers or some cloud functions them use WebCrypto instead crypto.
But when use npm install @noble/secp256k1, the default is use crypto not WebCrypto.
So is possible to detect the runtime or add  browser module compile?
https://github.com/panva/jose/blob/main/package.json#L95
https://github.com/panva/jose/blob/main/package.json#L120
Thanks

Of course. You can write a code that detects it and submit a pull request with tests.


Align prompt_toolkit constrain

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Align version constrain with https://github.com/tmbo/questionary/pull/270
Initial discussion comes from https://github.com/conda-forge/copier-feedstock/pull/13#discussion_r1315542483

@conda-forge-admin, please rerender


Update documentation to support InnerProduct with k-NN Lucene Engine

Description
Update documentation to support InnerProduct with k-NN Lucene Engine
Issues Resolved
K-NN issue: https://github.com/opensearch-project/k-NN/issues/1550
Closes https://github.com/opensearch-project/documentation-website/issues/6704
Checklist

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

Adding the screen shot for the table

Thank you, @navneet1v! A couple of formatting and style changes.

sure thanks Let me just update the PR

@kolchfa-aws can I get review from your side on this PR

@kolchfa-aws can you merge the pr?

Will merge once the editorial review is complete.


Set an appropriate minimum size for labels in windows that display incorrectly

When the label's autowrap_mode is AUTOWRAP_WORD_SMART and the initial text is set at the same time, it may have a higher height than expected. See https://github.com/godotengine/godot/issues/80218#issuecomment-1669527304 for more details.
Set an appropriate minimum size for labels in windows that display incorrectly so that these windows display properly.
As a workaround for display issues in the editor caused by #77280.
Close #86136.
Closes https://github.com/godotengine/godot/issues/85551.

Thanks!

Cherry-picked for 4.2.2.


Overwriting customers State Without Handling Fetch Errors

In the fetch call within componentDidMount, an error in the fetch process will result in the customers state being overwritten, but the error itself isn't properly handled. This might confuse the user with no error feedback. A better error-handling mechanism is required.

Hey, I would like to work on this issue. I propose to improve the error handling by displaying a user-friendly error message when the fetch fails. This way, users will know there's an issue with loading the data instead of just seeing an empty list. Let me know if I can take this on!

@cn10xdev Opened a PR. Please have a look and let me know if any changes are required!


Personalize & change language

Hello,
I try to personalize and changing the language of this module but I don't know how to do.
For example : I want text in french and on the left, not on the right.
Thanks !

I added fr and sv now. update module, then Set your mirror locale to fr in configuration. Try it.
But Not tested enough, so if you find any improvements, Feel free to contribute with PR.
See translations directory. The basic template would be en.json. You can modify fr.json for French language.


Added @Method constraints where appropriate and added more help notes

:+1: for the comments (and the commands you've created)


feat(react-ui): add devices panel to shell

⏳ This pull request is set to merge as part of a Graphite merge job
Job ID: LIdagdI6eZBpFrWVATfD.
See details on graphite.dev


Adds feature update endpoint and new attributes

Codecov Report

Merging #11 into master will decrease coverage by 1.2%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   92.26%   91.06%   -1.21%
==========================================
  Files          13       16       +3
  Lines         168      179      +11
==========================================
+ Hits          155      163       +8
- Misses         13       16       +3

Impacted Files
Coverage Δ

lib/legacy/features.ex
100% <ø> (ø)
:arrow_up:

lib/maru/validations/max.ex
0% <0%> (ø)

lib/maru/validations/min.ex
0% <0%> (ø)

lib/maru/validations/between.ex
100% <100%> (ø)

lib/legacy/features/store.ex
95.83% <100%> (+0.18%)
:arrow_up:

lib/legacy/api/features.ex
100% <100%> (+12.5%)
:arrow_up:

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 251e072...39accf6. Read the comment docs.


AIMA4e reimplement Fig 18.24 Back-Prop-Learning from AIMA3e branch

Sir, is this for gsoc 2017?

Hi Ciaran, I would like to work on this issue. Please describe what modifications are needed apart from making the code more easily comprehensible.


Support Swift 5

In this PR, settings are updated for Swift 5 and removed warnings from Xcode 10.2. Please take a look 😃

Awesome @Matsue! 🙏


feat: Can change username and password when autoconnect is disable, and can change path in mqtt broker URI

This pull request includes two improvements.
First, the ability to change the username and password when not using the autoconnect function.
Secondly, to be able to change the path because, for example, in my case I use RabbitMQ as an MQTT broker hosted by a cloud provider and the path is not "/mqtt" but "/ws/mqtt". But if the path variable is not used, then the default is always "/mqtt".

Hello @GJean your pull request is much appreciated ❤ ! I'll review it properly when I first have the chance! 👍
I just wanted to quickly note that it would have been better if you opened an issue first, to discuss it beforehand before you start committing to the effort since this PR seems to have 2 not-directly-related features...
Before the implementation review, I just want to mention something about your first feature; since the ability to get or set the password on runtime can be a security concern, I didn't want to add it to the prior versions, but since you brought it up, we'll surely check if this is the right way to do it! (or -just thinking out loud- adding some hashing middleware between setting and using the password on runtime, or disabling the ability to get password but only set... etc.)
For the second one, thanks for letting us know! If that was the case, seems like a needed feature to add 👍
Again, thanks for the contribution, ill review it fully first time i have the chance... 💯

@EgeOnder

Hello @kaandesu you're welcome. I didn't go through an exit because it wasn't complicated to do and it's essential for one of my projects without redoing a whole paho-mqtt implementation for vue 3. So it's only fair to participate in return. I've got another PR in the works for the version upgrade that fixes vulnerabilities.
Yes, it's a single PR because I'm not very familiar with PRs. I use them very rarely. Then I thought it was an addition of parameters in the configuration.
For the security feedback, yes it would be better to remove the get() on the password. Now whether the password is passed through the createPahoMqttPlugin or at runtime in the browser's debugger the password is found. I'm not a javascript expert, so I could make a mistake. Now in my case, to be a little more selfish for my project, it's usernames and passwords on the fly with a lifetime of a few milliseconds and the distribution is encrypted in end 2 end.


Feature smartmeter retreive events. OSGP/Platform#150

See issue OSGP/Platform#150

All is well.

All is well.