Swiper jumps to last slide when adding slides dynamically in observer mode

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/swiper-slides-per-view-forked-zmly8r?file=/index.html
Bug description
Setup:
Multiple slides per view
Adding new slides, when end is reached
Adding slides dynamically, using observer mode
Issue
When new items are added, swiper jumps to last added slide, and doesn't maintain current position (active slide index).
So, in the example there are initially 5 slides. When we scroll to last slide (that is when slides 3-4-5 are displayed), 5 new slides are "loaded" and added to the end. When they are appended, Swiper immediately jumps to last slides (8-9-10), not maintaining it's current position, while it is expected that it stays on slides 3-4-5.
Expected Behavior
When dynamically adding slides to the end, if Swiper is currently on last slide, active index shouldn't change and no horizontal "scrolling" should occur
Actual Behavior
When dynamically adding slides to the end, if Swiper is currently on last slide, it jumps to the last slide that was just added
Swiper version
8.2.5
Platform/Target and Browser Versions
macOS Chrome 103.0.5060.114
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


ios build error, helpme please!!!

Swift Compiler Error (Xcode): Incorrect argument label in call (have 'fromViewController:content:delegate:', expected 'viewController:content:delegate:')
/Users/developer03/.pub-cache/hosted/pub.dartlang.org/flutter_social_content_share-1.0.2/ios/Classes/SwiftFlutterSocialContentSharePlugin.swift:109:45
Could not build the application for the simulator.
Error launching application on iPhone 14 Plus.

Be good to fix this permanently. You can hack a fix by just changing 'fromViewController' to 'viewController' manually in the xcode view where the error shows and rebuild.


Router

Angular Router integration - an investigation into how? to what degree?
ion-nav / ion-tabs

Oh.. Man.. This is so cool..

I am very interested to know what ionic-team has in mind regarding routing and navigation in general. I believe figuring this out will help to solve issues such as #13328, #9012, and #10980. I am willing to lend a hand, but I realize there are far-reaching consequences (that many of us are not aware of) in designing the navigation solution. So, consider this my attempt to facilitate some discussion with the community around the best way to make this work.
A few points to consider:

While it's great that Ionic supports mobile navigation, it would also really help to support URL's as well.
Lazy loading in Ionic is limited to a module with a single page unlike Angular's lazy loading where a single module can load several pages together that can share instances of services.
Lazy loading in Ionic reloads an entire "SharedModule" on each navigation unlike Angular's lazy loading that knows better.
Guards in Ionic are implemented differently than in Angular. It's causing a lot of issues: https://github.com/ionic-team/ionic/issues?utf8=✓&q=is%3Aissue+is%3Aopen+guard

Ionic does a lot of awesomeness for sure! I think it is a great product! But some of the navigation issues are really hard to bare. Lazy loading is basically useless at this point (for me anyway) because of the current issues with it, and is making me think twice about using Ionic for a large project.
I know I'm a dreamer, but in a perfect world routing would look something more like this:
export const routes: IonicRoutes = [
    {
        path: 'some-feature',
        component: SomeFeaturePage,
        children: [
            {
                path: 'some-specific-url',
                mobileRoute: 'some-unique-route-for-mobile',
                component: SomeSpecificPageComponent,
                canDeactivate: [SomeGuard]
            },
            ...
        ]
     }
]

It should also support lazy loading like Angular:
loadChildren: '../features/some-feature/some-feature.module#SomeFeatureModule'

Then there would be a SomeFeatureRouterModule with even more routes like in Angular, and there would be a IonicRouterModule that would behave like Angular's RouterModule.
mobileRoute is just a name I made up so we can still use the mobile navigation technique that Ionic currently supports. So, the following code:
this.navController.push('some-unique-route-for-mobile');

will navigate to the page using mobile navigation the same way Ionic currently does, but in a browser it can use the URL.
Deeplinks could also utilize the mobileRoute field or maybe use a field of its own. (I haven't thought about this enough)
I realize this is a major shift in how Ionic currently works. It would most likely bring about some breaking changes. However, if Ionic can model the router to be more like Angular's, then it will be familiar enough to ease some of the burden of learning Ionic's differences. Also, Angular's lazy loading is one of the best things in any SPA framework I've used (I like it even better than code-splitting in React), but Ionic's seems to be a major step backward.
I'm sure there is a lot I'm missing because I'm not an expert in the Ionic code-base. I would like to know ionic-team's thoughts. If there is anything I can do to help, please let me know.

Awesome! Will it also be possible to navigate with NGRX Router?


With default exportted class, there is no way to import it

Consider JS like this: https://github.com/facebook/react/blob/df033180f0b56443985ad6e79c2eafdcc49384f7/src/addons/transitions/ReactTransitionGroup.js
Where the file exports the class.
There is three ways to import these:
// This one does not work
// import SomeClass from "some-crap";
// Because TypeScript transpiles to "T.default", and there is no .default in the JS file it doesn't work

// This does not work either:
// import * as SomeClass from "some-crap"
// because TS can't understand to use it as class then

// This one WORKS, but it's deprecated right?
import SomeClass = require("some-crap");

class SubClass extends SomeClass {

}

I've tried with d.ts
// Note that some-crap module does not have export named "default"
declare module "some-crap" {
    class Thingie {

    }
    export = Thingie;
}

/*
this does not work either.

declare module "some-crap" {
    export default class Thingie {

    }
}
*/

Cloneable gist: https://gist.github.com/Ciantic/8cbc50bf8f025c2f7fd94490fa922691

That JS is not a default export. A default export would be module.exports = { "default": someClass };. It's important to not conflate this with exporting through module.exports = someClass;.
import x = require('y'); is not deprecated; this is the recommended syntax if you are depending on module loader behavior that is not ES6-compliant (as would be needed to consume a class exported through module.exports = someClass;.
I did a full write-up of this at http://stackoverflow.com/questions/39415661/why-cant-i-import-a-class-or-function-with-import-as-x-from-y

More docs can be found in http://www.typescriptlang.org/docs/handbook/modules.html


intsall instructions incomplete ?

pip install -e . fails on my box
bertrandthirion@ptb-11107357:~/mygit/fugw$ pip install -e .
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/bertrandthirion/mygit/fugw
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
ERROR: Project file:///home/bertrandthirion/mygit/fugw has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.

Humm, I haven't encountered this one before.
Are you using python >= 3.7? I could not tell from your prompt.
Moreover, what did you use to build your python environment?

I use Python 3.10.6, and I pip install most libraries (no conda)

Ok! What version of pip do you use? I read you might need to upgrade it.

Hm OK, but then I have a less with dependencies... Thx anyway.

What about the 'skrmt' dependency ? Can't pip install it.

It is indeed. Thx !


Rename entities when renaming integration and ask for printer name on install

Is your feature request related to a problem? Please describe.
It's annoying that you cannot specify a name for the printer when you create the integration.  I have multiple moonrakers on my print host, and it's called xps.    I click rename in the integrations tab of homeassistant and rename from xps to ender3 and the sensors stay the same - xps Current Layer.
Describe your setup
I run on an old laptop using debian and kiuah multiple klippers.
Describe the solution you'd like
Ideally both asking for the name of the printer when installing the integration and if you rename the integration, taking note of it and renaming the sensors to match.

Can you validate you are on the latest version of the app.
Because I can rename the Device and Entity names match accordingly

If you don't have this, how/where do you rename your device?


Update namespaces.json

Add shrimp token
Fixes # .
Changes proposed in this pull request:

@doomsayer817 Are you in our Discord? There is few things missing to add a token, here is a guide to add a token: https://docs.snapshot.page

@bonustrack Hi I already update logo and skin thx

@doomsayer817 Looking good! Can you resolve conflicts? Then i will merge your PR.

@bonustrack I already resolve conflicts, please check thanks


Fix ELF module issues on big endian system

I created a build of YARA for a mips (big endian) system. Included in that build were the slightly more expanded unit tests for the ELF module that I included in #610. A couple of the tests were failing. There turned out to be two reasons:

A handful of places were using raw access of the ELF header values instead of first calling the endian.h functions.

Access to section name offset was using yr_##bo##bits##toh but this field is always 32 bits.

Changes were simple. All tests now pass.

leXXtoh(0) is still 0, so all those changes for if (... == 0) checks are not really needed. Otherwise, this looks good, though.
Thanks for testing this (so I won't have to deal with it in Debian when I upload the next stable release).

@hillu You are obviously correct about the == 0. I added the lexxtoh there more for consistency since people like me make silly mistakes by accidentally leaving the endian accessors off. So its more for consistency of appearance.
I do appreciate that it is useless though. I'm happy to revert those if you'd like.

Jacob Baines:

@hillu You are obviously correct about the == 0. I added the lexxtoh
there more for consistency since people like me make silly mistakes by
accidentally leaving the endian accessors off.

Yeah, I see what you mean. People like me make such mistakes, too. :-)


Add contributors

@all-contributors please add @Galouw for code doc

@all-contributors please add @profet23 for code doc

@all-contributors please add @aherrmann13 for code doc

@all-contributors please add @qrczak0 for code doc

@all-contributors please add @longfin for code doc

@all-contributors please add @codingbadger for code doc

@all-contributors please add @samburville for code doc

@all-contributors please add @stylesm for code doc

@all-contributors please add @ioxFR for code doc

@all-contributors please add @SeppPenner for code doc example maintenance projectManagement test

@all-contributors please add @serilog-contrib for code doc example maintenance projectManagement test

Done.


Change Collection to use lazy enumerators

Better handle paging
Rewrite collections to return lazy Enumerators instead of Arrays
Break out:

response parsing
result set parsing
building objects out of results
fetching pages

Merge #find_all_by_url and #collection_for after refactoring
Lazy Enumerators allow for quicker initial response since a page is only requested and its objects created when needed rather than fetching all pages at once then creating objects from each result.
Make 'klass' optional since it is only required for #find
Update Collection specs accordingly
Problems
Solved:

The old solution is only going to get slower as the amount of collection items increases
Long initial delay before chained methods (collect, each) can start processing
The old solution will fetch all records even if we only care about the first N

Created?

all returns an enumerable instead of an Array

old solution = Fetching all pages, then turning everything in the collection into objects

@syncrou Please review
cc @gmcculloug @bzwei

👍

@syncrou As suggested, I updated the test title based on what it is actually testing

@gmcculloug Please review


Keep OTD window on top of other windows

Hello
Is there a way to Keep OTD window on top of other windows ?
Thanks

No sorry, that's the opposite of its goal.
On Thu, May 26, 2016, 3:16 AM yos7070<EMAIL_ADDRESS>wrote:

Hello
Is there a way to Keep OTD window on top of other windows ?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/mscrivo/ootd/issues/53


Table component needs an expanding row

Info
In the design of the table component, there is a way to have expanded rows, like below:

Acceptance Criteria:

Provide an example in our documentation of how to create this

Design

I think we should make sure to handle this in the developed component like the container, so that a team can put anything they want inside, use a goa-grid, goa-block, various text in different layouts, etc


NavigationNode of unpublished page shown for authenticated user without change permission

Summary

I have a website with diverse authorization groups, where the groups of a user determine whether a page can be edited or not. However an authenticated user that does not have the change-permission of a certain unpublished page can see that page in the menu. When clicking on the page, the expected and correct error occurs.
This seems to be related to #6428. The fix provided in #6429 seems to solve it.
Expected behaviour

NavigationNode of unpublished pages are only shown when the authenticated user has change permission of that page

Actual behaviour

NavigationNode of unpublished pages are shown for authenticated user without change permission of that page

Environment

Python version: 3.6.7
Django version: 1.11.10
django CMS version: 3.5.2

Fixed in 3.7.1:

Fixed a bug where the menu would render draft pages even if the page on the request was a public page. This happens when a user without change permissions requests edit mode.

https://github.com/django-cms/django-cms/blob/develop/CHANGELOG.rst#371-2019-11-26


Add action or workflow for image scanning

Solution for image scanning must be found.
Ideally before tagging images tolatest or doing a release, the image (e.g. labelled unstable) should be tested.

https://artifacthub.io/packages/helm/it-at-m/refarch-gateway?modal=security-report Images werden hier gescannt auf Artifcthub

Great, does this only work for helm charts or also for individual docker images. I think before creating or updating a helm chart with image versions, we should make sure the images themselves are "safe". If we only get this information after updating the helm chart, this is too late in my opinion.

The internal Openshift-Team wants to install rhacs (stackrox). So all images are scanned interanal

@hupling regardless of whether we have to scan images internally or not, we also have to scan them publicly here!


fix rpad and put! ambiguities

fix #171

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

Comparison is base (6938ff6) 88.67% compared to head (da74c17) 88.51%.

Files
Patch %
Lines

src/parallel.jl
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #172      +/-   ##
==========================================
- Coverage   88.67%   88.51%   -0.16%
==========================================
  Files          13       13
  Lines         565      566       +1
==========================================
  Hits          501      501
- Misses         64       65       +1

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

test failure is unrelated


Selected colour filter is oval on mobile

What
The selected colour filter in image search is getting squashed from a circle into an oval on mobile Safari. Doesn't happen in desktop Safari.
Where

Cannot reproduce

Was possibly fixed by #6722


Xcode 8 compatability

The sample project doesn't compile under Xcode 8 (compiler errors). I tried to convert to Swift 2.3 without any success and later on to Swift 3.0.
Could you provide an updated version for Xcode 8? A port to objective-c for improved compatibility would also be nice. You know that it will not compile again when Apple releases the next Swift version, right?  :)

Hi @magnett
We are working on adapting the sample project to the new Xcode release.
Meanwhile could you please try to have a look at the workaround found here:
https://github.com/CKOTech/checkoutkit-ios/issues/6
Another solution could be the below doing the following changes in build settings:

Embedded Content Contains Swift Code =Yes
Runpath Search Paths @executable_path/Frameworks

Hi @nicolas-maalouf-cko
Even with Objective-C it is not working on Xcode 8. Let me know if there is any solution at the moment!!

Hi @saad-ansari
Can you please let me know how you integrated the library in Xcode 8?
The current master branch should work with Swift 3 on Xcode 8.

Thanks for the response.
Well i'm following below link to integrate Checkout in my Objective C project.
https://github.com/checkout/checkoutkit-ios/tree/objective-c
which is working in Xcode 7.3.1 but not on Xcode 8

@nicolas-maalouf-cko that's because Xcode 8 supports only Swift 2.3 & 3.0 and that branch does not support any of them. I had to manually select and edit the swift files i needed from their repository.

Thanks @magnett
We're building an updated Objective-c bridge that supports Swift 3.0

objective-c branch has been updated and is now compatible with Swift 3 / Xcode 8.

objective-c-swift2 branch has Swift 2 / Xcode 7 compatible code


[WIP] - Introduce Manila native cephfs adoption process

This patch is supposed to update the existing testsuite and add the manila-adoption role.
At the moment native_cephfs only is supported, but the idea is to extend the manila_adoption role to cover ceph-nfs.
Depends-On: https://github.com/openstack-k8s-operators/data-plane-adoption/pull/189
Depends-On: https://github.com/openstack-k8s-operators/install_yamls/pull/609
Depends-On: https://review.rdoproject.org/r/c/rdo-jobs/+/50743

@fmount please add https://review.rdoproject.org/r/c/rdo-jobs/+/50743 as depends-on for this PR. It's needed to export the manila password from the standalone environment to the destination env

@fmount please add https://review.rdoproject.org/r/c/rdo-jobs/+/50743 as depends-on for this PR. It's needed to export the manila password from the standalone environment to the destination env

ack, adding the Depends-on, thanks for the help on this!

recheck

@fmount I think CI is failing due to wrong label names when checking if the pods are running. I see all the manila pods (manila-scheduler-0, manila-share-0 and manila-api) have labels service=manila, but we check for labels service=manila-scheduler, service=manila-share and service=manila-api respectively. From what I see in the logs, we should change those selectors from service to component, but I could be wrong about that.
The logs to manila-api pod: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-api-76d488c6fb-gqqxq/manila-api-76d488c6fb-gqqxq-describe
Manila-share pod: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-share-share1-0/manila-share-share1-0-describe
Manila-scheduler: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-scheduler-0/manila-scheduler-0-describe

@fmount I think CI is failing due to wrong label names when checking if the pods are running. I see all the manila pods (manila-scheduler-0, manila-share-0 and manila-api) have labels service=manila, but we check for labels service=manila-scheduler, service=manila-share and service=manila-api respectively. From what I see in the logs, we should change those selectors from service to component, but I could be wrong about that. The logs to manila-api pod: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-api-76d488c6fb-gqqxq/manila-api-76d488c6fb-gqqxq-describe Manila-share pod: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-share-share1-0/manila-share-share1-0-describe Manila-scheduler: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-scheduler-0/manila-scheduler-0-describe

Yes, you're right, thanks for looking at the logs. We should switch from service to component. Updating that part in my next iteration!

@fmount I think CI is failing due to wrong label names when checking if the pods are running. I see all the manila pods (manila-scheduler-0, manila-share-0 and manila-api) have labels service=manila, but we check for labels service=manila-scheduler, service=manila-share and service=manila-api respectively. From what I see in the logs, we should change those selectors from service to component, but I could be wrong about that. The logs to manila-api pod: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-api-76d488c6fb-gqqxq/manila-api-76d488c6fb-gqqxq-describe Manila-share pod: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-share-share1-0/manila-share-share1-0-describe Manila-scheduler: https://logserver.rdoproject.org/94/194/55bcfe289187915d84729ca8734edaa0832ebdd3/github-check/data-plane-adoption-github-rdo-centos-9-extracted-crc/bcd1573/controller/ci-framework-data/logs/quay-io-openstack-k8s-operators-openstack-must-gather-sha256-0812f031e363406238d47a3ba3cfb33412e9a2d143d2b4b9365c9796b80bb8aa/namespaces/openstack/pods/manila-scheduler-0/manila-scheduler-0-describe

Yes, you're right, thanks for looking at the logs. We should switch from service to component. Updating that part in my next iteration!

Done

seems like it's gone to the next task, but is now failing on the openstack pool list command:
openstack: 'pool list' is not an openstack command. See 'openstack --help'.\nDid you mean one of these?\n  port create\n  port delete\n  port list\n  port set\n  port show\n  port unset

I've created https://review.rdoproject.org/r/c/testproject/+/50746 to be able to hold a node and debug easily @fmount

seems like it's gone to the next task, but is now failing on the openstack pool list command:
openstack: 'pool list' is not an openstack command. See 'openstack --help'.\nDid you mean one of these?\n  port create\n  port delete\n  port list\n  port set\n  port show\n  port unset

I've created https://review.rdoproject.org/r/c/testproject/+/50746 to be able to hold a node and debug easily @fmount

yep, I missed "share" in the command there. I updated the PR and let's see if this time it passes!

@jistr this job seems green now and I think we're ready to go here. Are you ok to merge this change?


Sensor attributes no longer return a value after upgrade to 2022.7.

May be an issue with "Shell Command" as this seems also broken and reported by someone else @ HA issues.    Anyway currently doing the following to view info, this was working but broke after 2022.7:
Total Available Backups: {{ state_attr("sensor.samba_backup", "backups_local") }}
Last Backup: {{ state_attr("sensor.samba_backup", "last_backup") }}
Remote Backups: {{ state_attr("sensor.samba_backup", "backups_remote") }}
Suceeded Backups: {{ state_attr("sensor.samba_backup", "total_backups_succeeded") }}
Failed Backups: {{ state_attr("sensor.samba_backup", "total_backups_failed") }}
These are now all reporting 'None'

-----------------------------------------------------------
 Add-on: Samba Backup
 Create backups and store them on a Samba share
-----------------------------------------------------------
 Add-on version: 5.1.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 8.2  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.7.0
 Home Assistant Supervisor: 2022.07.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------

BTW: I am also running your startup automation to restore the attributes.  And also, backups are working correctly.
Thanks for the great add-on, it's essential to running HA.

My thought on "Shell Command" is that maybe the add-on is using "Shell Command" and it seems to be still broken...

After a couple of days the attributes did update...
...so therefore the automation I have added that restores the Samba Backup sensor is not working since it was several days after that, the sensor was restored.  Below is the code for my automation which came from the Samba Backup docs:
`alias: Restore Samba Backup sensor on startup
trigger:
  - event: start
    platform: homeassistant
action:
  - service: hassio.addon_stdin
    data:
      addon: 15d21743-samba-backup
      input: restore-sensor`

The automation does not work because you have a typo. It should be 15d21743_samba_backup instead of 15d21743-samba-backup.

Hi @thomasmauerer , how's things? Thanks for your hard work as this add-on is definitely essential to the life of HA. Can I please query aboutthe number of local backups that I'm seeing as my per question above? Thanks

The automation does not work because you have a typo. It should be 15d21743_samba_backup instead of 15d21743-samba-backup.

@thomasmauerer Thanks, I should have caught that...  I appreciate very much this add-on.

@drumstick77 if this is still an issue for you, please create a separate one.
This issue here is about a non-working automation which is resolved.

No.  Not an issue.  I am new to all this so did not know I had to close it out ¯_(ツ)_/¯.   Thanks for your help and a great add-on.  My favorite.


[Bridge] Don't reload if the bridge was invalidated

If you have nested RCTBridges that are both subscribed to reload notifications, this diff guards against the following:

outer bridge receives reload notification, runs dispatch_async
inner bridge receives reload notification, runs dispatch_async
dispatch block for the outer bridge runs first. it invalidates the batched bridge, which runs user code that calls -[innerBridge invalidate]
dispatch block for the inner bridge runs. inner bridge has been invalidated and is intended to be thrown away, but instead it reloads itself

cc @tadeuzagallo

Oops, I hadn't seen this PR yet and made some comments about it on the previous one, but will paste again here for future references.
If we change -invalidate in a way that the bridge won't allow to -reload anymore, then we should probably change the condition that determines whether RCTBridge is valid or not, and -reload probably shouldn't call -invalidate anymore.
What I mean is actually having a _valid ivar on RCTBridge instead of relying on -[RCTBatchedBridge isValid]
Also going a little bit further on your use case, the inner bridge doesn't listen to the reload notification, is it a valid use case right now or something you are worried might become an issue? If it's valid right now, I'm not sure I follow it...

By inner bridge I mean a second `RCTBridge

The use case seems a little crazy, but I agree with the overall behavior.
But I guess you have already figured it won't work for the keyboard commands, since only the last callback is stored, so probably the inner bridge will be the only listening to it.

Nested RCTRootViews with their own RCTBridges is one feature I want to get working well. There are still a couple of issues with touch events and the keyboard shortcuts but it's mostly working.
Will update the diff with your feedback.

@facebook-github-bot import


Update slice.rs

Split create_slice into read and write, then combine them in create slice, changing the generic parameters of create_slice so that Signal and SignalSetter return different values.

Thanks! The failing test is just related to formatting -- if you run cargo fmt on it it should be fine. Otherwise, this looks good to me.

Looks good, thanks.


separate requestPermissions and registerVoipToken

#39

ping @zxcpoiu any chance of getting this merged in? It works better for some flows to request permission and register the token separately. Primarily where we need to handle regular push notifications separately...

Thanks for ping.
I agree with this change as well, since it is more accurate.
It seems a bit breaking change, the usage would be:
original:
VoipPushNotification.requestPermissions(); // required

after:
VoipPushNotification.requestPermissions(); // required
VoipPushNotification.registerVoipToken(); // required

is it correct?

@zxcpoiu
VoipPushNotification.requestPermissions(); // **optional** user can use other libs to ask for notification permission.

VoipPushNotification.registerVoipToken(); // **required** to get voip token

I'd be in favor of keeping requestPermissions the way it is and adding registerVoipToken. That way we don't break backwards compatibility and we can get the functionality we desire.

@lonnylot I'm fine with it
@zxcpoiu how do you think?

Hmm... both has pros and cons.
It's a bit ambiguous that requestPermissions implicitly invoke registerVoipToken when we have both functionalities.
Is there any use case which request permissions independently? ( invoke register later at some point  )
If so, it's better do a breaking change.

@zxcpoiu

registerVoipToken does not require notification permission. so it is fine when calling separately.
If user use another lib for local notification (like react-native-firebase, react-native-push-notification, ...), they don't need to call requestPermissions anymore.

Thanks!
It would be clearer that requestPermission just do request permissions instead register voip token at the same time.
While we need to release a breaking release for pod file, so I prefer to make api clearer while we are at it. :)


Is is possible to detect unused dependencies in project.json?

I just now found and finally removed a package, Microsoft.Framework.ConfigurationModel, in one of my projects, which was just an oversight on my part. AFAIK, there was no warning or anything obvious in VS that it wasn't being used.
Is there a way to detect unused project.json dependencies in a solution?

Not reliably. Some tools such as ReSharper try to do that for unused csproj reference. The problem with doing it reliably is that some types are loaded via reflection, and it is impossible to reliably detect that.
Now, it's certainly possible to detect extraneous references. That is, suppose package A depends on package B and in your project.json you reference A and B directly. The reference to B is extraneous because A will transitively bring in the reference to B. That's also unfortunately not easy to do because you might have an explicit reference to B in order to opt into using a higher version of B as compared to what A got you.
This is some difficult Comp. Sci. stuff :smile:

BTW if you have some suggestions around a reliable mechanism for doing these please let us know your thoughts. I don't think the entire problem is solvable, but as I mentioned, there are likely subsets of the problem that are solvable (though the difficulty of implementing solutions to these problems varies greatly).


dnsvalidator: init at 0.1-unstable-2023-01-17

Tool to maintain a list of IPv4 DNS servers
https://github.com/vortexau/dnsvalidator
Related https://github.com/NixOS/nixpkgs/issues/81418

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 362574

x86_64-linux

:white_check_mark: 2 packages built:

dnsvalidator
dnsvalidator.dist


error when value is a np.array int

https://github.com/pytorch/TensorRT/blob/5f66adefcea1302e91aa2b3b9e3120636d7027d8/py/torch_tensorrt/dynamo/conversion/converter_utils.py#L273
In this line, if the value is a np.array int, eg, a = np.array(50), then a.shape would be empty, and the ctx.net.add_constant function would throw Type error: incompatible function arguments.

Hi - thanks for the report. Are you encountering this bug when compiling a specific model?
Fix Outline
Ensure all np.array tensors have nonzero rank before calling add_constant here:
https://github.com/pytorch/TensorRT/blob/5f66adefcea1302e91aa2b3b9e3120636d7027d8/py/torch_tensorrt/dynamo/conversion/converter_utils.py#L272-L275
A regression test case to elicit this behavior might be to have a constant variable which is a dimensionless tensor, as in:
class TestModule(nn.Module):
  def __init__(...):
    self.const = torch.tensor(1)
...


List item lines break, but the breaking goes away after scrolling with RTL

I use this lib in my app from api level 14 to up but in 14 level devices, there is some break line between texts of item and string splite and rest of work goes to next line. in both single choice and multi choice .
ps: when I scroll the bug disapeard :|

I have this problem too, my language is Persian. in some Strings, it wraps it from middle of the string, but when I scroll the list and return to first items it get solved.
I appreciate if u help me how to solve it.
before Scroll :

afterScroll:

can you help me what to do to solve it? please answer me because my application is going to publish

Wait this is happening on API 14? There are no system level APIs for RTL until API 16.


Test code's robustness

We might generate JSON fixtures by adding a --depth option to json-schema-random, so that it generates JSON data up to various depths, e.g.:
{}

{"tender":{},"awards":[]}

{"tender":{"id":"1"},"awards":[{"id":"1"}]}

etc.
These fixtures can then be parametrized so that default values ({}, [], "", null, etc.) are replaced with each basic JSON type, both empty and non-empty (e.g. "" and "a"), both falsy and truthy (e.g. 0 and 1 for numbers). The do_work methods of the processor modules can then be run against these fixtures, to see whether the code is robust to invalid OCDS data.

I'll close this as wontfix, as it'll be a lot of work to set up the tests. I think originally I thought to just test whether the code raised an exception. However, creating fixtures for truthy and falsy, etc. are likely to both run without exception: the difference will be in the check's results - and creating check results for all these new fixtures is too much work.
I'm satisfied that #75 will fix most of the issues, and we can fix any bugs that come up via Sentry.


problem make python3-pip

when i run the make command it stops withe the following message.
$ make package/python3-pip
...
*** No rule to make target `package/python3-pip'.  Stop.
...
and
$make
...
Traceback (most recent call last):
File "./setup.py", line 6, in
from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
make[3]: *** [/home/user/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.10/pip-7.0.3/.built] Error 1
make[3]: Leaving directory /home/user/openwrt/trunk/feeds/pip/python3-pip' make[2]: *** [package/feeds/pip/python3-pip/compile] Error 2 make[2]: Leaving directory /home/user/openwrt/trunk'
make[1]: *** [/home/user/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.10/stamp/.package_compile] Error 2
...

ImportError: No module named 'setuptools' <-- that is your problem. When you select python3-pip to install, does it also select python3-setuptools? It is a dependency of pip.

yes it does.
$ ./scripts/feeds install python3-pip
Installing package 'python3-pip' from pip
Installing package 'python3-setuptools' from pip

Are you installing them as modules or built-in?
Some background info you may already know:
Setuptools is used for building python packages, it has no real effect on an OpenWRT system because it doesn't include python-dev, a neccesssity when building the software. Having a missing setuptools library likely refers to it not being built or placed in the proper place in the build or staging directory.
When you build your package, can you tell me if there are any setuptools files found in your $(STAGING_DIR)$(PYTHON3_PKG_DIR) folder? It should be something like: /some/path/staging_arch/usr/lib/python3.4/site-packages/
I can try rebuilding the buildroot on my machine. Please post both your kernel configuration (config-3.xx) and your .config file so I can reproduce with your setup. If you have additional feeds, please post those unless your setup contains sensitive or private info. (pastebin or attaching files to this issue)

Are you installing them as modules or built-in?

i install them as modules not build-in

Setuptools is used for building python packages, it has no real effect on an OpenWRT system because it doesn't include python-dev, a neccesssity when building the software. Having a missing setuptools library likely refers to it not being built or placed in the proper place in the build or staging directory.

what does this mean? is there no possibility t create a python3-dev package for OpenWRT or it is just not included?

When you build your package, can you tell me if there are any setuptools files found in your $(STAGING_DIR)$(PYTHON3_PKG_DIR) folder? It should be something like: /some/path/staging_arch/usr/lib/python3.4/site-packages/

i have 3 folders in the staging_dir:

host (only the README)
target... (only the README)
toolchain... (no python3.4 folder)

I can try rebuilding the buildroot on my machine. Please post both your kernel configuration (config-3.xx) and your .config file so I can reproduce with your setup. If you have additional feeds, please post those unless your setup contains sensitive or private info. (pastebin or attaching files to this issue)

feeds.conf.default
.config
config-3.13.0-55-generic
thanks a lot for your help

I'll take a look at your configs later.
I, for now, would try compiling in all your python3-* packages [*] instead of as modules. Try that and see if it helps, but you may have to remove your build_dir or make clean before you attempt to do so.
As for including python-dev libs, allow me to explain.
OpenWRT as a product does not include
a) development tools
b) gcc/c++/any compilers on the completed image
c) development libraries.
This is because OpenWRT is meant to be deployed on routers, embedded devices, and all manner of computers with very low storage space, ram and processor speed.
When someone uses setuptools to install a python package, it compiles any libraries associated with it and then compiles the python into bytecode.
 it **compiles** any libraries associated with it

Compilation as a whole uses a lot of memory and can do a lot of writes to storage. This is a bad idea for any embedded system, so things such as python development files, libraries and compilers are just not available on the resulting system. When you utilize a program like pip, it downloads and compiles a program using setuptools. It's important for you to understand that
pip and setuptools cannot be used on a router. Pip and setuptools can only be used on your buildroot to download python software and compile it for your image.
That is why my feed includes such things as python3-tornado and python3-paramiko`. They are downloaded via pip and installed via setuptools, but this is all done on the build and staging portions of the image build. If you want to use pip on OpenWRT, you need to include the python development files, something I have not done. If you want to include software like tornado and paramiko without having to fudge around with the source code and use a simpler distribution tool to pull and install the programs, compile in setuptools and pip, write up a makefile for the pip software that will download and install it to your staging dir, then have your makefile bundle it up into a package and persist it into the image you are creating.
I hope that clears the process up, OpenWRT documentation is not the easiest to understand. If you have a piece of software you want included on your image, tell me and I can try to build a Makefile for it.
Also, I see you are using the musl c library. I have not ever had success in using it to build an image, I use ulibc. Perhaps switching to that will help as well.

pip and setuptools cannot be used on a router. Pip and setuptools can only be used on your buildroot to download python software and compile it for your image.
That is why my feed includes such things as python3-tornado and python3-paramiko. They are downloaded via pip and installed via setuptools, but this is all done on the build and staging portions of the image build. If you want to use pip on OpenWRT, you need to include the python development files, something I have not done. If you want to include software like tornado and paramiko without having to fudge around with the source code and use a simpler distribution tool to pull and install the programs, compile in setuptools and pip, write up a makefile for the pip software that will download and install it to your staging dir, then have your makefile bundle it up into a package and persist it into the image you are creating.

okay i think i understand the problem now

I hope that clears the process up, OpenWRT documentation is not the easiest to understand. If you have a piece of software you want included on your image, tell me and I can try to build a Makefile for it.

this would be very lovely, but i need some more packages :/

pyramid >= 1.4
pyramid-debugtoolbar
pyramid_tm
pyramid_rpc
waitress
sqlalchemy_utils
passlib
docutils
click
networkx
PyYAML
SQLAlchemy >= 0.9
zope.sqlalchemy >= 0.7
jinja2 >= 2.7
csscompressor >= 0.9
libsass >= 0.4

give me a donation link to buy u a beer, i guess it will take some time and knowledge.

Over the past few days I've been trying to compile according to your specs. I think the MIPS architecture has some issue with python3-pycrypto, so I wasn't able to build an image. I've tried across a couple virtual machines and on Gentoo. I've decided to focus on the packages instead, though some are rather complicated like libsass, which is giving me issues due to compiler options or something.
I'll close this bug, but on the README.md I will list packages and check them off as they are completed.
I don't have a donation link or anything, but your testing them is helping me out so it's all good :)


All in one container !

is there any way to build an all in one container ( LEMP Container + project for example ) using laradock?
the issue is about using laradock single project mode with minimum containers count.

As far as I know, using a single container is not possible.
Why would you like to do this? Running multiple containers has many advantages.

@mojtabye there are other projects with that kind of approach. Which is not recommended. The more separated containers the better for everything.


add missing errors codes from spec

Added missing error code after reading the cassandra spec.
From v4, missing 0x1500 for write failure
    0x1500    Write_failure: A non-timeout exception during a write request.

From v5, missing
0x1500 for write failure
    0x1500    Write_failure: A non-timeout exception during a write request.
    0x1600    CDC_WRITE_FAILURE: // todo
    0x1700    CAS_WRITE_UNKNOWN: An exception occured due to contended Compare And Set write/update.

Running with our code. We are getting the following error back
error: %FunctionClauseError{args: nil, arity: 1, clauses: nil, function: :decode_error_reason, kind: nil, module: Xandra.Protocol.V4}

and we are suspecting that this is might be due to the missing error code.
Is there any guidance for how to test this or further things we should consider?

Thanks @jacquelineIO, good catch!


Remove double slashes

How can I display only 1 slash in the path?

fixed by removing path_display = { "smart" }


Start of create account impl

Description
This PR includes the following proposed change(s):
Implements the call to the Soap endpoint to create a CSO account.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Local build and unit tests all passed
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[X] New and existing unit tests pass locally with my changes

Killing this and re-submitting without all the junk commits


[multistage]Support parsing ARRAY literal in multistage query engine

This syntax ARRAY[x,..] is only supported in v2 query engine, as the handleArrayValueConstructor will directly convert the RexCall to a literal array.

Parse ARRAY[x,...] into a LiteralContext
Support array in literal
Support transformTo{Int/Long/Float/Double/String}ValuesMV in ScalarTransformFunctionWrapper

Codecov Report

Merging #11268 (2ce456c) into master (33fa277) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #11268     +/-   ##
=========================================
  Coverage    0.11%    0.11%
=========================================
  Files        2229     2155     -74
  Lines      119955   116918   -3037
  Branches    18186    17754    -432
=========================================
  Hits          137      137
+ Misses     119798   116761   -3037
  Partials       20       20

Flag
Coverage Δ

integration1temurin11
?

integration1temurin17
?

integration1temurin20
?

integration2temurin17
?

unittests1temurin11
?

unittests1temurin17
?

unittests1temurin20
?

unittests2temurin11
0.11% <0.00%> (-0.01%)
:arrow_down:

unittests2temurin17
?

unittests2temurin20
?

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

Files Changed
Coverage Δ

...e/pinot/common/request/context/LiteralContext.java
0.00% <0.00%> (ø)

...r/transform/function/LiteralTransformFunction.java
0.00% <0.00%> (ø)

...sform/function/ScalarTransformFunctionWrapper.java
0.00% <0.00%> (ø)

...che/pinot/query/planner/logical/RexExpression.java
0.00% <0.00%> (ø)

...inot/query/planner/logical/RexExpressionUtils.java
0.00% <0.00%> (ø)

... and 76 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Cannot create Sprite2D by dragging Texture

Godot version
4.0.alpha2
System information
Win10
Issue description

Cannot drag Texture from FileSystem dock. It works in alpha1.
Dragging other types like tscn still works in alpha2.
Steps to reproduce
/
Minimal reproduction project
No response

Duplicate of #57883, already fixed.


Add to Package Control

First of all, thank you so much for this work. It's outstanding!
Secondly, I've get to know about this package exist from Textatic editor beta release, which is I believe that this is not a deal.)
I'm not certain that it would works, but I can apply your package there for you, if there's nothing but enough amount of a free time blocking you from applying it by yourself.

@aerobounce just in case you'd read this anytime soon. I applied your package to a review for including it in package control.
But the things went out of control and now they're considering to include it into a default (e.g. preinstalled) list of ST packages.
P.S: I'll take care of the maintenance this package for now to prepare it for the release. But if or whenever you're ready to go along by yourself I'll be happy to take a step back and grant you back all the related accesses. There's no doubt that the authorship will remain yours.


Make DESCRIBE list multiple matches.

Make DESCRIBE command list multiple matches for the specific name if
available. This can arise when there's a type and a function by the
same name or when a user-created type or function masks a std type or
function.
Issue #1218.

This only addresses part of the issue #1218. DESCRIBE and \d will now display multiple matches. There's still no specialized version of \d.

Perhaps we want to address https://github.com/edgedb/edgedb/issues/1465 first.

I've rebased the PR. The status quo in name resolution remains, so the potentially masked "std" functions or types are shown in a comment.


Fix build

introduced by #3109

Sorry - I completely missed that :(
Thank you for fixing this so promptly...


SetCamera-Method

Hey i really like you project, the only thing is, that currently it is not possible to set the used camera from the outside, and in OnEnable there is already a Fail-Check. It would be nice if we could set the camera after instantiating UImGui (UImGui.cs) as a prefab and then Reload.
Is it possible to implement a SetCamera(Camera camera) - Method?
Best Regards
Chris

Hello.
Please, check if the branch linked I did support your suggestion.
Thank you, I really appreciate.
;)

Yeah that should work :) Thanks

Using this method seems to result in an error for me.
I'm using the built in pipeline for context.
AssertionException: Texture<PHONE_NUMBER>952 does not exist. Try to use UImGuiUtility.GetTextureID(). Assertion failure. Value was False Expected: True UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <ad50157ee00e45cdb3c8bd67012f8804>:0) UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) (at <ad50157ee00e45cdb3c8bd67012f8804>:0) UImGui.Renderer.RendererMesh.CreateDrawCommands (UnityEngine.Rendering.CommandBuffer commandBuffer, ImGuiNET.ImDrawDataPtr drawData, UnityEngine.Vector2 fbSize) (at Library/PackageCache/com.psydack.uimgui@aea125f2a8/Source/Renderer/RendererMesh.cs:213) UImGui.Renderer.RendererMesh.RenderDrawLists (UnityEngine.Rendering.CommandBuffer commandBuffer, ImGuiNET.ImDrawDataPtr drawData) (at Library/PackageCache/com.psydack.uimgui@aea125f2a8/Source/Renderer/RendererMesh.cs:100) UImGui.UImGui.Update () (at Library/PackageCache/com.psydack.uimgui@aea125f2a8/Source/UImGui.cs:266)
Method is being called like so
GetComponent<UImGui>().SetCamera(GameObject.FindGameObjectWithTag("Freecam").GetComponent<Camera>());

What is your Unity version? Are you using drawing images?
I tried to replicate with Unity 2020.3.24f1 using the ShowDemoWindow and it works fine using the script:
private void Start()
{
	StartCoroutine(ChangeCameraCoroutine());
}

private IEnumerator ChangeCameraCoroutine()
{
	yield return new WaitForSeconds(5);

	GetComponent<UImGui.UImGui>().SetCamera(GameObject.FindGameObjectWithTag("Freecam").GetComponent<Camera>());
}

I'm using Unity 2021.2.7f1
Wrapping the method in a coroutine seems to have fixed the issue on my end.
Only seems to happen for me if I run the method directly under a button press e.g.
if (ImGui.Button("Freecam"))
{
GetComponent<UImGui>().SetCamera(GameObject.FindGameObjectWithTag("Freecam").GetComponent<Camera>());
}```

https://github.com/psydack/uimgui/tree/bugfix/on-change-camera-crash I think this might fix the error. If you have time to test it would be appreciated. Thanks

Can confirm the fix works. :)
Thank you very much.


Packages using old versions of glob and inflight

Glob <V9 is not maintained, and inflight leaks memory.
Both are used for tests usage and not count as security issues.
With that said, jest is well known for memory issues, and using a direct dependency that leaks memory can affect our test's validity or create a flaky test.
Issues are opened in both packages repo's and need to be tracked.
#jest/issues/15236
#protobuf.js/issues/1980
$ npm i
npm WARN deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported

$ npm ls inflight
@valkey/valkey-glide@ /home/ubuntu/glide-for-redis/node
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └─┬<EMAIL_ADDRESS>│     └─┬<EMAIL_ADDRESS>│       └──<EMAIL_ADDRESS>deduped
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
$ npm ls glob
@valkey/valkey-glide@ /home/ubuntu/glide-for-redis/node
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   │ └──<EMAIL_ADDRESS>│   ├─┬<EMAIL_ADDRESS>│   │ └──<EMAIL_ADDRESS>deduped
│   └─┬<EMAIL_ADDRESS>│     └──<EMAIL_ADDRESS>deduped
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └─┬<EMAIL_ADDRESS>      └─┬<EMAIL_ADDRESS>        └──<EMAIL_ADDRESS>deduped

Duplicate https://github.com/jestjs/jest/issues/15173


Add support for Python 3.12

See the commit messages for details. I don't think we need to switch to 3.12 now, but I'm using it locally so it's nice to have it working.
Also ran into this fun bug: https://github.com/matplotlib/matplotlib/issues/28235
Which required creating an environment with: conda create -c conda-forge -n amore python expat==2.6.1

LGTM!


[Issue] Social Links in Footer Not Working

Description:
The Social Links in the footer section are not working. The images do not redirect to any social website. These links should take users to the correct social media pages, but nothing happens when clicked. I will fix this issue so that all links work properly.

Steps to Reproduce:

Navigate to the footer section of the website.

Click on social media icons (Facebook, Twitter, Instagram, etc.).

Observe that the links do not navigate to the respective social media pages.

I would like to work on this issue


Remove 10k per directory limitation

Based on https://github.com/redbo/cloudfuse/pull/24

Thanks, guy! But can you please explain why it needs to be changed REQUEST_RETRIES  from 4 to a much larger 24?

Thanks, guy! But can you please explain why it needs to be changed REQUEST_RETRIES from 4 to a much larger 24?
No.


Move import to when needed to avoid circular dependency error (#19579)

Description
Move import to when needed to avoid circular dependency error
Motivation and Context
Fixes DeepSpeed dependency error:
AttributeError: partially initialized module 'deepspeed.comm' has no attribute 'ProcessGroup' (most likely due to a circular import)

LGTM
@rraminen , please also push to upstream master and the ROCm:rocm6.2_internal_testing.

LGTM
@rraminen , please also push to upstream master and the ROCm:rocm6.2_internal_testing.

@groenenboomj, this change is already in upstream master and ROCm:rocm6.2_internal_testing.


Allow the locale configuration for the server

I think it would be nice to be able to set the locale configuration using JAVA_OPTS.
I usually do this on my servers:
JAVA_OPTS=" -Duser.country=BR -Duser.region=BR -Duser.language=pt -Duser.timezone=\"America/Sao_Paulo\" "

#48 is already open for this


Using InputStream to build XML to resolve exceptions when the filename is in Chinese

What changes are proposed in this pull request?
Using InputStream to build XML to resolve exceptions when the filename is in Chinese.
Why are the changes needed?
We have a dir:

When we list it by S3 Proxy, the response is incorrect:

After we fix it:

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs NO
addition or removal of property keys NO
webui NO

@Jackson-Wang-7 does this make sense to main?

I think it looks good to me, but the pic before the fix looks Chinese word is ok. Can you show what't the excpetion?

the end of xml:
</ListBucketResult> is </L. @Jackson-Wang-7

@humengyu2012  I got it, is that because the calculated content length is wrong?

yes


XRay locations off for converted books (epub/mobi to AZW3 or KFX)

I've been looking into this over the forums to see if I messed up, but I can't seem to find a solution. I converted a book from epub to mobi and the xray worked accurately. Next I converted the mobi to azw3 and it broke. I tried the same with kfx and it didn't work.  For azw3 and kfx, the highlighted texts that you'd see in "Open X-Ray" are off and unrelated texts, clearly offsetted. Am I missing something or is this a known issue?

 I copy my books to a different folder to target the builder (for easy least clicks access) and sending the books directly from callibre. Apparently, the xray files for mobi format work that way but the ones for azw3 and kfx don't, even if it's for the "copies" of the same book.

Yeah I never did figure out why it behaves that way for AZW3 and KFX. Glad you got it sorted out!

Here's a step-by-step process I follow in order to get complete package, in case it helps anyone else:-

Get the book
Fix metadata and identifiers (find and add Goodreads, just bells and whistles)
Convert to AZW3 (No particular reason, just to be able to fix asin - even mobi works)
Fix asin
Count pages and words (Calibre plugin)
Convert to kfx with pages column
Send book to kindle
Generate wordwise files (Calibre plugin)
Generate XRay files using original


LSTM kernel in TFL and TFLM use different tanh and sigmoid

The LSTM kernel in TFL and TFLM use different implementations of tanh and sigmoid that are not bit exact.
See here for TFLM:
https://github.com/tensorflow/tflite-micro/blob/5818e46c78fcce795077c119336265dcacc0bf70/tensorflow/lite/micro/kernels/lstm_eval.cc#L537
https://github.com/tensorflow/tflite-micro/blob/5818e46c78fcce795077c119336265dcacc0bf70/tensorflow/lite/micro/kernels/lstm_eval.cc#L626
And TFL:
https://github.com/tensorflow/tensorflow/blob/d415e0d8f95d2250322035e396c35020c45281bc/tensorflow/lite/kernels/lstm_eval.cc#L588
https://github.com/tensorflow/tensorflow/blob/d415e0d8f95d2250322035e396c35020c45281bc/tensorflow/lite/kernels/lstm_eval.cc#L668

@vdkhoi @SebastianBoblest FYI

Merging this PR to TFL would resolve the issue:  https://github.com/tensorflow/tflite-micro/pull/1253


Support for test-coverage shields

In order to obtain proper shields with test coverage we needed a junit implementation within our testrunner.py script. To generate output.xml file used by jenkins (and shields.io) use the -j option.
Example

This can enable:

A clearer split between build status, and test status in the readme.
All pull requests can report how many tests actually failed.

Required some small rewrites of the testrunner.py. It simplifies the way tests are run, by adding both stress test and the misc tests to be discovered at an earlier stage.

Had to update all build nodes with new python dependency: junit-xml
jenkins test please

testing jenkins permissions


Consider bringing the documentation here from API land

There are many great in-depth articles about Storage topics found in the REST API documentation.
For example, the log format and other logging docs here, but also the Concepts section under each Storage service.
https://docs.microsoft.com/en-us/rest/api/storageservices/storage-analytics-log-format
Most of these topics are not directly dealing with the API operations. However, being stuck in the API docs means that they are not localized, they don't have GitHub commenting and editing functionality, and in general they are less visible to people than these main docs.
Can you please consider bringing these documents from the API ToC into the Storage ToC?
My most immediate use case is that I frequently want to share those docs with non-English-speaking customers.

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

ID: e88da5d5-2f28-00fc-d8c3-7414dbbac91a
Version Independent ID: 10bef6bc-b450-c805-cd6c-cf4958b2d99f
Content: How to monitor an Azure Storage account
Content Source: articles/storage/common/storage-monitor-storage-account.md
Service: storage
Sub-service: common
GitHub Login: @normesta
Microsoft Alias: normesta

Hi @dcbrown16 Thank you for your feedback! We will review and provide an update as appropriate.

@dcbrown16 Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@normesta Requesting you to please add your comments here

@dcbrown - Thank you for sharing your perspective. This is a most definitely a concern we share. The REST API docs predate a lot of our conceptual content and because many things began only with REST, those content sets contain a lot of very useful information that we'd like to make more visible. Two things are happening. #1 - we are gradually moving over some of this content already. #2 - we will be localizing the REST documentation. That is coming very soon. Thank you for raising this issue.

#please-close


When you go from any tab to the wallet tab, the screen goes down

Precondition:
Xiaomi Redmi 5 Plus
5 transactions have been made.
1 transaction pending.
Steps:
1 Open the settings tab
2 Open the wallet tab
Expected: The wallet tab opens and the "send" and "receive" buttons are visible
Actual: The wallet tab will open and the "send" and "receive" buttons go up and are not visible

Checked


TypeError: Cannot convert -0.05 to EagerTensor of dtype int32

@minimaxir I am trying to do text classification with spam messages.
While running the code provided by @minimaxir (with some slight modifications) , I faced this error -
TypeError: Cannot convert -0.05 to EagerTensor of dtype int32
Here is my code -
`
from future import print_function
from keras.models import Sequential, Model, load_model
from keras.layers import Dense, Activation, Embedding
from keras.layers import LSTM, Input
from keras.optimizers import RMSprop, Adam
from keras.utils.data_utils import get_file
from tensorflow.keras.layers import BatchNormalization
from keras.callbacks import Callback, ModelCheckpoint
from sklearn.decomposition import PCA
import numpy as np
import random
import sys
import csv
import os
import h5py
import pandas as pd
import re
from nltk.corpus import stopwords
from nltk.stem.snowball import PorterStemmer
from sklearn import preprocessing
def preprocess_text(sen):
# Remove punctuations and numbers
sentence = re.sub('[^a-zA-Z]', ' ', sen)
# Single character removal
sentence = re.sub(r"\s+[a-zA-Z]\s+", ' ', sentence)

# Removing multiple spaces
sentence = re.sub(r'\s+', ' ', sentence)

stops = stopwords.words('english')
#print(stops)
porter = PorterStemmer()
for word in sentence.split():
    if word in stops:
        sentence = sentence.replace(word, '')
    sentence = sentence.replace(word, porter.stem(word))
return sentence.lower()

maxlen = 40  # must match length which generated model
num_char_generated = 30000
df = pd.read_csv('spam.csv')
df['Message'] = df['Message'].apply(preprocess_text)
df.head(10)
mes = []
for i in df['Message']:
mes.append(i.split())
for m in mes:
chars = sorted(list(set(m)))
char_indices = dict((c, i) for i, c in enumerate(chars))
indices_char = dict((i, c) for i, c in enumerate(chars))
def sample(preds, temperature=1.0):
# helper function to sample an index from a probability array
   preds = np.asarray(preds).astype('float64')
   preds = np.log(preds + 1e-6) / temperature
   exp_preds = np.exp(preds)
   preds = exp_preds / np.sum(exp_preds)
   probas = np.random.multinomial(1, preds, 1)
   return np.argmax(probas)

print('Loading model...')
model = load_model('model.hdf5')
f2 = open('text_sample.txt', 'w')

start_index = random.randint(0, len(text) - maxlen - 1)
print("He")
for diversity in [0.2, 0.5, 1.0, 1.2]:
    print()
    print('----- diversity:', diversity)
    f2.write('----- diversity:' + ' ' + str(diversity) + '\n')

    generated = ''
    sentence = text[start_index: start_index + maxlen]
    generated += sentence
    print('----- Generating with seed: "' + sentence + '"')
    f2.write('----- Generating with seed: "' + sentence + '"' + '\n---\n')
    sys.stdout.write(generated)

    for i in range(num_char_generated):
        x = np.zeros((1, maxlen), dtype=np.int)
        for t, char in enumerate(sentence):
          x[0, t] = char_indices[char]

        preds = model.predict(x, verbose=0)[0][0]
        next_index = sample(preds, diversity)
        next_char = indices_char[next_index]
        generated += next_char
        sentence = sentence[1:] + next_char

        sys.stdout.write(next_char)
        sys.stdout.flush()
f2.write(generated + '\n')
print("H")
f2.close()

`

你好，已收到你的邮件，我会尽快处理，谢谢~

I'm sorry , Who are you ?
On Mon, May 23, 2022 at 10:09 AM find-fun @.***> wrote:

你好，已收到你的邮件，我会尽快处理，谢谢~
—
Reply to this email directly, view it on GitHub
https://github.com/minimaxir/char-embeddings/issues/6#issuecomment-1134172189,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU4J2HQGX57KZHDYANSN52DVLMDYNANCNFSM5WUQQAUA
.
You are receiving this because you authored the thread.Message ID:
@.***>

謝謝
On Mon, May 23, 2022 at 10:09 AM find-fun @.***> wrote:

你好，已收到你的邮件，我会尽快处理，谢谢~
—
Reply to this email directly, view it on GitHub
https://github.com/minimaxir/char-embeddings/issues/6#issuecomment-1134172189,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU4J2HQGX57KZHDYANSN52DVLMDYNANCNFSM5WUQQAUA
.
You are receiving this because you authored the thread.Message ID:
@.***>


code-maat: init at 1.0.3

the JAR is provided in ./libexec/code-maat (e.g. to reuse as a JAR dependency in a Java project)
the JAR is wrapped as an executable in ./bin/code-maat

Closes https://github.com/NixOS/nixpkgs/issues/208339
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

I see that there is no entry in all-packages.nix. I guess it's on purpose since the derivation is just a .jar which is meant to be included as a dependency in other derivation.
However, what's the point of wrapping it and create a /bin/code-maat then ?

@drupol No, actually this JAR is a Java application, it is executable in itself.
So I just pushed a new version where it is also in all-packages.nix.
It seems to work e.g. by running on this branch:
$ nix-shell -I nixpkgs=./ -p code-maat
[]$ code-maat --help
This is Code Maat, a program used to collect statistics from a VCS.
[...]

I think it is mergeable now


Update readme about unsupported machine types

[skip-ci]

I have updated the README with the limitation for fc640


Virtual functions invoked through Callable aren't correctly dispatched to GDExtension

Tested versions

Reproducible in 4.3-stable.

Issue description
Some virtual methods are not invoked via GDVIRTUAL_CALL, but using a Callable:
https://github.com/godotengine/godot/blob/0f20e67d8de83c30b5dd79cb68d12d4cf613065d/editor/plugins/lightmap_gi_editor_plugin.cpp#L204-L204
https://github.com/godotengine/godot/blob/0f20e67d8de83c30b5dd79cb68d12d4cf613065d/editor/plugins/occluder_instance_3d_editor_plugin.cpp#L111-L111
https://github.com/godotengine/godot/blob/0f20e67d8de83c30b5dd79cb68d12d4cf613065d/modules/gdscript/gdscript_vm.cpp#L2570-L2570
https://github.com/godotengine/godot/blob/0f20e67d8de83c30b5dd79cb68d12d4cf613065d/scene/resources/compositor.cpp#L108-L108
https://github.com/godotengine/godot/blob/0f20e67d8de83c30b5dd79cb68d12d4cf613065d/scene/resources/compositor.cpp#L185-L185
(just briefly searched with regex Callable\(.+, "_, there might be more)

Impact
This seems OK for GDScript, but for GDExtension this means that the call is not going through this API:
GDExtensionClassGetVirtual get_virtual_func;

So a GDExtension binding that exposes a virtual method like CompositorEffect._render_callback will never have this method called. However, if the method is declared as a regular one, it works -- but this is quite unintuitive.

Solution
I'm not sure what the best solution would be -- maybe an indirection?
I.e. could the Callable point to a function that invokes GDVIRTUAL_CALL?

My initial feeling is that using a Callable() to call a virtual method doesn't seem like the right way to do it. It's similar to how we still sometimes find code in Godot that does object->get_script_instance()->call(...) rather than GDVIRTUAL_CALL(), and need to make a bug fix to switch to GDVIRTUAL_CALL().
Also, looking at some of the examples in the OP, not all of them appear to deal with virtual methods. For example, the _bake() methods on lightmap_gi_editor_plugin.cpp and occluder_instance_3d_editor_plugin.cpp aren't virtual functions, those look like a case where callable_mp() should be used just to call a concrete C++ method.
I think only _render_callback() on CompositorEffect is a virtual method. And in that case, it seems like a bug. I think we should add a CompositorEffect::_call_render_callback() method which uses GDVIRTUAL_CALL(), and then use callable_mp(this, CompositorEffect::_call_render_callback) to make the Callable.
Are there any other examples of this that you are aware of?

Are there any other examples of this that you are aware of?

No, in fact CompositorEffect::_render_callback() is exactly the method that a godot-rust user reported.
And as you see from my false-positive-riddled regex, there might be better approaches to finding others 😉 not sure how to do that systematically. Check for every method declared as virtual in extension_api.json, whether there's at least one GDVIRTUAL_CALL statement in the codebase?

I threw together draft PR https://github.com/godotengine/godot/pull/99981 that does what I described earlier to address CompositorEffect specifically

Check for every method declared as virtual in extension_api.json, whether there's at least one GDVIRTUAL_CALL statement in the codebase?

That sounds like it'd be a decent way to check! Of course, it only means that the right thing is being done at least once, not that there is no code doing the wrong thing, but it would have detected this case.

That was super fast, thanks a lot! :heart:

That sounds like it'd be a decent way to check!

So I extracted all virtual functions inside classes declared in extension_api.json (just quick&dirty inside godot-rust parsing code).
Let's call this file api-declared-virtuals.txt. Each line is a method name, the file is sorted and unique.
Then, I extracted all GDVIRTUAL_CALL statements in the Godot codebase, with their method name, as follows:
cd path/to/godot

# Find all virtual calls in Godot code base
rg --no-filename --only-matching "GDVIRTUAL_CALL\([a-zA-Z0-9_]+" | sed 's/GDVIRTUAL_CALL(//' \
   | sort | uniq > found-virtuals.txt

Now I have two sorted unique files, I can get the difference.
comm -23 api-declared-virtuals.txt found-virtuals.txt > never_called.txt
comm -13 api-declared-virtuals.txt found-virtuals.txt > called_but_not_exposed.txt

There's a huge list for never_called, which surprises me.
$ wc -l *.txt

 1030 api-declared-virtuals.txt
    4 called_but_not_exposed.txt
  507 found-virtuals.txt
  527 never_called.txt

I checked a few and many have GDVIRTUAL_BIND but no call, which only registers them, no? Can't be that half the virtual methods is never called, what am I missing?
Here are the files, ran on commit 47bc374edf6d2e775a5e6b937dc3fd73cdc6f59b.

api-declared-virtuals.txt
found-virtuals.txt
never_called.txt
called_but_not_exposed.txt

@Bromeon: Thanks for doing this investigation!

I checked a few and many have GDVIRTUAL_BIND but no call, which only registers them, no? Can't be that half the virtual methods is never called, what am I missing?

Ah, I think you're missing the EXBIND*() macros. Those can be used to generate the functions that do GDVIRTUAL_CALL(). For example, take a look at PhysicsServer2DExtension - it uses the EXBIND*() macros quite extensively.

I just posted PR https://github.com/godotengine/godot/pull/100126 to address the ones in your called_but_not_exposed.txt.
Two of them appear to be false positives (m_name and _create_editor), but I added the missing GDVIRTUAL_BIND() for the other two.
(FYI, the GDVIRTUAL_BIND() registers them so they get listed in extension_api.json and the documentation, but that isn't necessary for them to work with GDScript, which is probably why no one noticed these were missing.)

Cool, thank you!
I tried to look for EXBIND* with the following, then prefixed with _:
rg --no-filename --only-matching "EXBIND[A-Za-z0-9_]+\([a-zA-Z0-9_]+, [a-zA-Z0-9_]+" | sd ".+, " "" > found-exbinds.txt
rg --no-filename --only-matching "EXBIND[A-Za-z0-9_]+\([a-zA-Z0-9_]+" | sd ".+, " "" > found-exbinds-2.txt

With that, I could limit the never_called_v2.txt list to 11 entries:
_body_get_direct_state
_create_data_channel
_get_base_script
_get_contact_collider_object
_get_language
_get_space_state
_make_template
_put_partial_data
_render_callback
_space_get_contacts
_space_get_direct_state

Looking at some of them, they seem to really not be called?

Could anyone verify if the remaining methods in my comment are registered correctly?


Training suddenly terminate after first epoch. Looking for help, plz

Here are my Trace backs:
[session 1][epoch  1][iter    0] loss: 4.0006, lr: 1.00e-02
fg/bg=(128/384), time cost: 7.218862
rpn_cls: 0.6919, rpn_box: 0.1386, rcnn_cls: 2.8319, rcnn_box 0.3382
Traceback (most recent call last):
File "trainval_net.py", line 330, in
roi_labels = FPN(im_data, im_info, gt_boxes, num_boxes)
File "/home/zhiqi.cheng/anaconda2/lib/python2.7/site-packages/torch/nn/modules/module.py", line 357, in call
result = self.forward(*input, **kwargs)
File "/home/zhiqi.cheng/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 73, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
File "/home/zhiqi.cheng/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 83, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File "/home/zhiqi.cheng/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/parallel_apply.py", line 67, in parallel_apply
raise output
RuntimeError: invalid argument 2: Input tensor must have same size as output tensor apart from the specified dimension at /opt/conda/conda-bld/pytorch_1518238409320/work/torch/lib/THC/generic/THCTensorScatterGather.cu:29

I found that the code runs normally on faster-rcnn. But if I use the code of fpn, it failed. So I guess the problem happens in fpn.py, but I still can't find out why.
What's more, I used this model to train my personal data, if I changed the data back to origin Voc2007, it works. That's strange. I just changed my personal data into the form of Voc2007.
Here is one of my annotation file:

train
VIRAT_S_000000.mp4_0
C:/Users/Kevin Qian/Downloads/images/train/VIRAT_S_000000.mp4_0.jpg

Unknown

1920
1080
3

0

Other
0

636
723
655
787

Other
0

411
618
438
703

Person
0

349
709
410
850

Other
0

760
758
778
831

Person
0

1386
245
1432
354

Person
0

276
688
345
845

Other
0

512
687
541
747

and here is the annotation file in original voc2007

VOC2007
009962.jpg

The VOC2007 Database
PASCAL VOC2007
flickr
246788553

Tool - Wroclaw
Milosz J.

500
375
3

0

chair
Right
1
0

211
192
324
326

person
Unspecified
1
0

162
72
273
248

person
Right
1
0

250
68
473
312

person
Right
1
0

4
2
253
374

diningtable
Unspecified
1
1

358
216
500
375

@KevinQian97 I have encountered with the same problem. Have you found out how to solve it?

@KevinQian97 @WangTianYuan did you solve this issue?

Have you solved the problem? I got the same error.@KevinQian97 @WangTianYuan

Have you solved the problem? I got the same error.@KevinQian97 @WangTianYuan

I found that if you use your own dataset to train the model, if it has dirty data, it will cause Nan values in roi_ level in FPN.py. You can try the following modification methods:
roi_ level[roi_ level < 2] = 2
roi_ level[roi_ level > 5] = 5
To
roi_ level[roi_ level < 2] = 2
roi_ level[roi_ level > 5] = 5
roi_ level[roi_ level!=roi_ level]=5


reuse configmaps between multiple helm chart releases

I want to reuse config maps between multiple helm chart releases. After googling i got to know about the annotation "helm.sh/resource-policy": sharable but this not seem to work. Can you someone help here, how to make this work ?
apiVersion: v1
kind: ConfigMap
metadata:
  name: my-sharable-configmap
annotations:
  "helm.sh/resource-policy": sharable

@gowrisankar22 we have been using https://github.com/emberstack/kubernetes-reflector to achieve sharing or resources like you want. I am not familiar with Helm native support for it, but in case you don't find support on it, kubernetes-reflector may come to the rescue.

The most common usage pattern is to control the config map with one chart (or via a bare manifest), and inject the name of the config map into a chart via Values.

@technosophos that's the only option I also assumed.  thanks for your opinion.

Closing this issue as answered. Please feel free to comment here and let us know if you have further questions. Thanks!


no install instructions

Surprised to see the homepage or tutorial page of the docs do not contain install instructions. Also would be helpful to have links to pre-compiled JS builds in case there is a use case for non-npm environments.
Info is inside the tutorial: https://reactjs.org/docs/installation.html#installing-react. Does it make sense to have it on the homepage.

Thanks for the feedback. 😄

Surprised to see the homepage or tutorial page of the docs do not contain install instructions

The tutorial links to installation instructions in its "How to Follow Along" section. I don't think they need to be inline. (The tutorial's already pretty long.) It's also nice for them to be discoverable separately from the tutorial for people who don't want to go through the tutorial.

Does it make sense to have it on the homepage.

I think Docs > Installation is a reasonable location for installation instructions. The home page is focused on giving a summary of what React is. If people are interested enough based on that intro, then installation is the top link on the "Docs" section.
I don't think there's any concrete action to be taken here, although I appreciate the feedback. If you do have specific suggestions, please feel free to submit a PR for consideration though! 😄


Feature Request: Linux Version

Great job @Wamphyre!!
Would like to know if you have plans for adding a Linux version, if not I'd like to give it a shot.
Do you have any steps/pointers?

Hi!
If you're looking the Linux version of macOS-XFCE-Skinpack it exists here:
https://github.com/libredeb/xfce4-macOS_skinpack
My FreeBSD version is based and adapted from this original work.
Greetings!


Example for creation of wrap key

Can you please provide an example for creation of wrapping key.
The wrapping key should be RSA Public key.
Need to wrap an aes key with this rsa public key(wrapping key)

Take a look at the KMIP spec's test cases docs.  This has examples of many KMIP interactions.  http://docs.oasis-open.org/kmip/testcases/v1.4/cn01/kmip-testcases-v1.4-cn01.html#_Toc479076963


[Addition]: Self-witnessing clusters in Scotland

Hotspot b58 Addresses
First
112NvHyFHwY1hPxRPobPRJ4HhZJibjeGTXD5Uo8LNiQCcpfH4VfX
11bWjSzzKpJhPwBDe81ZHprvXF5wVFECoUStpFq5pdjpExTSVpv
11ztcVSpQhuV6mAGg5PS9on1Rt4LawQVyFPvCHbe4pCpVj8dk8R
114Pph8x1Asqg1WrgHGRDpc6vVSAq6AxcvWTeFpzYxNmaFf9tjC
112piMb7AgGdXp7tYchoyYnYN3fdbbD6gHrV9PinFps8yLFAGEZH
11dpjUoZjtsdPxYLH82XwrKN6x3YYrFLcHWTaYyy5WUkobUV2Qy
112Xx7G7h6zhrVWQSVXXqzhgHSZSBdS1s7kTJ2oE75QrqQd7cmTb
11HfDAz6Nuj5KUxSSAz6j7Xz1UXqn3a7grxqnYn5BcXTMkFX5si
11L8BRQquQVMA4EDDF4ozJRiivqPDQjTavs1UgjcsELUasNB6h1
Second
11ZC2QtgnB6oEVhDBhektUHmdjV7j6sodz6c8ZpExu3Y1CRnRze
116sJrESkeGXmSWoC4bEjFBQeCt4rSZj51giVNDxK7q9yd44QuL
1116K6VB6EPESyRyw9Pkfaz8zC64V59sR1pGSMDPmK39Eb8TxrC
112sfmLu1Cf7kZs2vjxQbv31D6dcHuEXUymVm5dhzZKj9mynhCLn
1129dP6fZdYB6T7hMq185wQeMWKKBgZtkKMY5eZwxrjvCZVPQcGr
112uqHWuTZkLca8m6Xje3zY3PwkiUEib19Eo9LeYWNtPHwWAgG6d
112p9MiVFWWL7pSJTPrn3ueziviJe2o4tXvkhL8qfKRhFhuUEERn
1128yMhugZQTbx3Md4xauE87p42siDuGkGnupA9QG6mTkgFBUjUG
11UfnUauz6WR4jbMqd98juzy1RpjdBAYtpCtdFteZWzh1pXVrAi
11tBmZjoDUEKmN1F4Tjdp8Xbsi5JVThRGfBRYxFCHk9ZyQVqqKJ
Third
112EfXRph4bw3BUVGkqDHpwyd8Xxfsn6YDaHa3bW6jcicHCgUuNZ
114vfZMCtfeYQg8RdM9YZcSkpX8jacfgfuQhZrUhjfVf53iTGpr
112Bc9dXNePjNEwSrzRLXLcopnzsx7A7982akX4KzUtedLddzraT
11EUa7bEpTYK7f5RkmRrhB7c2pDnrVP6GsBWndZ5rsvwoAn25q2
11kW3qWyoA81s5Aa3GzBMKCzQxK9rqVVmBu4GwcH1GvA92dTTp5
112AAoXwFiTxo1xGJDb4eh5Lzirq7UgoBU1Fm3FmBj88TYKqSHXp
Discord Handle
nanton#5234
Reason(s)
Firts: All of the hotspots are Heltec Automation. One of the first cluster hotspots is witnessing a one other Heltec Automation hotspot that is in Finland some 1900 km away. That Finnish hotspot is also a part of self witnessing cluster.

https://www.crowdspot.io/hotspots/11dpjUoZjtsdPxYLH82XwrKN6x3YYrFLcHWTaYyy5WUkobUV2Qy

Second cluster is compounded of Midas hotspots that only see each other.

https://www.crowdspot.io/hotspots/1129dP6fZdYB6T7hMq185wQeMWKKBgZtkKMY5eZwxrjvCZVPQcGr

The third cluster is also Heltec Automation hotspots and only see each other.

https://www.crowdspot.io/hotspots/112AAoXwFiTxo1xGJDb4eh5Lzirq7UgoBU1Fm3FmBj88TYKqSHXp

Never found such a bad project. When you bought the equipment, the seller and the project party did not supervise whether the sales were legal or not, and did not inform you of the existing risks, just as the police acquiesced in allowing qualified arms dealers to sell arms, but did not inform you that they must sell and use arms legally.  I believe that Helium will definitely declare bankruptcy. As it is said on the Internet, he is a fraud. Because now everyone is reporting. Even though the new 5G hot spot equipment is excellent, it is impossible for new miners to be deceived again.I hope everyone who sees this will forward it. Let everyone know that the project party is a fraud gang.


Homepage: https://solidum.network
Network Status Monitor: https://stats.solidum.network
Block Explorer: https://explorer.solidum.network
BIP44 997 / ChainId 72106 (https://github.com/satoshilabs/slips/pull/594)

Changes

This PR adds support for Solidum.

Can someone please review this PR? We'd like to have it merged as soon as possible. Thank you!
cc @clementperon


AIX 1.5 Client died with ASYNC BUG 6

Hi,
After recently installing Sensu 1.5 on our AIX systems, they have been much more stable with the new version of Ruby. However I have just discovered a client that died with an apparently async bug.
Current Behavior
Service had been running for some time without any issue. Noticed client was down, upon checking the client log, it states the following:
[ASYNC BUG] (6)
EPIPE

ruby 2.4.4p296 (2018-03-28 revision 63013) [powerpc-aix<IP_ADDRESS>]

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Your Environment

Sensu version used: 1.5
Operating System and version (e.g. Ubuntu 14.04): AIX <IP_ADDRESS>
Transport and runtime versions (e.g. RabbitMQ 3.6.2 on Erlang 18.2): RabbitMQ 3.7.4-1

Any news on this at all? This is preventing us from deploying into production, since we cannot rely on the Sensu client being up 100% of the time.


armnn_v21_08 memory usage

When I run "sample/ObjectionDetection" using the YOLOv3 model, the memory usage increases about 2.5 times more than the previous version (armnn_21_05). I want to know what is the cause.

Hi @dongmunha,
Can you give me some more details please:

Architecture.
Backends in use.
Source of the YOLOv3 model.

Colm.

Thanks for the reply. The answer to your request is as follows.

Architecture : ARM Cortex-A9 dual core
Backbone in use: Tiny YOLOv3
Source code of the YOLOv3 model :  I downloaded the model and weight files from the darknet official site and used them after converting them into tensorflow lite format. The resource I used can be downloaded from the link below.

model file : https://github.com/pjreddie/darknet/blob/master/cfg/yolov3-tiny.cfg
weight : https://pjreddie.com/media/files/yolov3-tiny.weights

Hi @dongmunha,
My first concern here is you are using a v7 core. Arm NN and ACL are not optimized to run on v7. There was a discussion about this on community.arm.com
Each release of Arm NN and ACL strives to improve performance on aarch64 hardware and it's possible that improvments in the 21.08 release could negatively effect execution on v7. As Ben Clark put it in that conversation:
"Arm v7 is >10 years old now (Arm v9 is out!), so the Arm NN team need to focus their resources on more recent technologies. Yes, it's a shame that they're not getting to it, but they can't do everything."
Perhaps you could try using the TfLite runtime and comparing performance and memory footprint with your model. I'd be interested in know how it works out.
Colm.

Closing as I think this issue has been resolved. If you have any further questions then please open another issue.
Best regards,
Mike


Output is completely unreadable on black-on-white terminals (white text on white background).

Describe the bug
I use white background, black text terminals, and the output is completely unreadable (white text on white background), screenshot:

A clear and concise description of what the bug is.
Expected behavior
Do not mess with colours at all by default, add options to specify colourscheme.
Regards!

Have you tried setting highlight to false ?

please use light theme

aichat --light-theme
add light_theme: true to config yaml

Have you tried setting highlight to false ?

Yes (option -H).

please use light theme

aichat --light-theme
add light_theme: true to config yaml

That works.
But to not have users run into the truble in the first place, can you
make colouring off by default and only enable upon request by config
option or command line parameters?
That will also make it compatibl with dump terminals.
Regards!

No, most user use dark theme by default.

This is a light/dark theme issue, not a color issue. No color will make more people unhappy.
Most users don't think this is a problem


mkdir /.cache: Permission denied at /usr/bin/youtube-viewer line 499

This is what happens when I try to start the application:

$ youtube-viewer
mkdir /.cache: Permission denied at /usr/bin/youtube-viewer line 499.

Is is trying to find the cache-folder in the root-folder instead of the home-folder?

As suggested by https://github.com/trizen/youtube-viewer/issues/73, it first tries the $XDG_CACHE_HOME; when defined, this directory will be used, otherwise it defaults to ~/.cache/.
The problem appears when $XDG_CACHE_HOME is not defined and the application is first executed as root, because the cache_dir is defined only once.
To solve this issue, change the value of cache_dir inside the configuration file.

I have never run the application as root. But I did change the path for the cache as it was pointing to "/.cache" for some reason. :) And it works just fine now. Thank you!

It's good that it works now. I've added an extra check just to be sure that $XDG_CACHE_HOME is writable, which should fix this issue. Thanks for reporting this.


[Diffeomorphic] data + mask crash

[Test of the Ubuntu20 Jenkins binary on a Ubuntu20 computer]

Open a data and its mask
Run
Crash:

WARN  - mar. nov. 10 15:39:13 2020 - "QMutex: destroying locked mutex"
DEBUG - mar. nov. 10 15:39:13 2020 - "METHOD PARAMETERS"
DEBUG - mar. nov. 10 15:39:13 2020 - "\"DiffeomorphicDemons\\n  Max number of iterations: [ 15, 10, 5 ]\\n  Update rule: DIFFEOMORPHIC\\n  Gradient type: SYMMETRIZED\\n  Maximum step length: 2 (voxel unit)\\n  Update field standard deviation: 0 (voxel unit)\\n  Displacement field standard deviation: 1.5 (voxel unit)\\n  Use histogram matching: false\\n\"
[...]
Program terminated with signal SIGKILL, Killed.

Same crash on medInria and MUSICardio.

Update: this crash happens in Diffeomorphic toolbox and LCC Log Demons, but the process succeeds with Optimus.
They are RPI processes, and it crashs in the registration StartRegistration() methods. The try catch on our sides do not catch the error. It happens with a CT i have, and its polygonROI segmentation binary mask in 0 and 1. Do i move this issue on the RPI repo?

hmm I would try to use the non medinria versions of the tools. I have the feeling the problem may come from the algorithm itself. Was it working before or is it the first time you try such a registration (mask vs image) ?

We already had several crashs of the application from some Registration toolboxes, and indeed mostly because we are using it wrongly i think (like my CT scan + its binary mask).
It seems that the algorithms do not send exceptions in case of problem, and crash (and then the application crashes). We are trying to catch exceptions in medInria, but it is then useless.
In order to avoid the crash, we can forbid the user in medInria to use wrongly the toolbox, or RPI could send exceptions in case of a inner-crash, or we could catch exceptions if there is a possibility

Linked to https://github.com/medInria/medInria-public/issues/965


TimeSlice.get_samples() minor error

I'm not sure this logic is entirely correct for mapping slice points to zero crossings.
The bisection search finds the insertion index i of a value v into a sorted list a, but does not tell you which of a[i], a[i+1] is closer to v.
For example, if a = [10, 20], both 11 and 19 have insertion index of 1, but the closest value positions are different.
This is easily fixable, and probably doesn't matter much in practice anyway.

Derp, disregard.  I didn't quite understand the full constraints of how this works.  The slicing should never cut below the desired duration, so it makes sense to bisect_left on the beginning and bisect_right on the end (if possible).


Add a median measurement.

Description & motivation
Hi @stumelius,
I would like to add a median measurement in profiler because it would be a good indicator when you want to know the skewness simply.
Feel free to discard the PR if you think it not so useful.
Checklist

[x] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered):

[x] Postgres
[x] BigQuery
[ ] Snowflake
[ ] Redshift
[ ] SQL Server
[ ] Databricks

[x] I have written tests for new macros (either as dbt schema tests in integration_tests/models, dbt data tests in integration_tests/tests or integration tests in the CI workflow)
[x] I have updated the README.md (if applicable)

@stumelius
I hadn't tested BigQuery, so I didn't realize this error, but it seems you're right.
I'll fix this error for now.

@stumelius
I fixed the query for bigquery so could you run it on behalf of me.
And sorry to make you confusing, I'm same person with this comment but used different account, my bad 😆

@toohsk All the automated tests are now passing. Well done and thanks for your contribution @toohsk :) Merging this now

@toohsk Here's the release https://github.com/data-mie/dbt-profiler/releases/tag/0.7.0

Thank you so much @stumelius !
I'm happy to have contributed to this project.


There is a large jitter when switching tabs

I have 4 tabs,the second fragment't layout has coordinatorLayout,there is a large jitter when switching tabs from the second to others or from the others to the second,but switching between other tabs are smooth.How can I fix this?

I have the same problem: I have 4 tabs, last tab fragment have a CoordinatorLayout as a root - and when I click on that tab, animation is ok. But when I change from that tab to other ones, bottom bar height jitter and user can see that.
My activity have layout like in example, it's RelativeLayout as a root, FrameLayout as  a fragment container, and BottomBar.
I use version 2.0.2.
Android 6.0
I have also related problem with that, it's about toolbar. My every fragment layout have it's own Toolbar in it's layout, and I simply set toolbar title in Fragment#onCreateView() like that: toolbar.setTitle(stringRes).
And with that, every time I switch tabs on BottomBar, my toolbar title awfully jitter. But it's only a toolbar title, toolbar view and options menu are in the same position.
Strange thing I notice, is that when I switch from a tab without CoordinatorLayout, to the tab with it, the tittle is ok. But when I switch tabs back to previous one, title jitter again.
I tried to add CoordinatorLayout to every fragment as a root, but then it's jitter always.