Other Layers to add

Groundwater-Dependent Ecosystems

TNC Stream segments

updated gage list with

active/inactive/"inadequate/ needs upgrade"

I don't think the GDE index is hosted online anywhere, but I have a shapefile.  I'm asking @tcarlin23 and Keenan Smith about it.

TNC Gage Gap is hosted here: https://gagegap.codefornature.org/ .  This analysis will be replaced by Ted Grantham's UC Berkeley code.

Our Gages Layer, which I think you already have, will be the new working layer.  It is not complete.

I don't think the GDE index is hosted online anywhere, but I have a shapefile. I'm asking @tcarlin23 and Keenan Smith about it. Here's the dropbox that I found: https://www.scienceforconservation.org/products/groundwater-dependent-ecosystems-data

Honestly, Val, we may need to ask Kirk about this dataset and whether it is still the best one to call upon. It almost seems like TNC is trying to move away from using it since I don't see it readily viewable on their website anymore (https://www.scienceforconservation.org/products/?type=map) and the original DropBox link no longer seems to work. I know the methodology is on the older side (from 2010), but maybe there is another reason why?
It looks like they are relying more upon the iGDE (Indicators of GDEs) now. That can be found at gis.water.ca.gov/app/NCDatasetViewer/
The methodology and findings were presented in 2018. It's on the SharePoint (i02_NCCAG_shapefile in GDE folder).

Hi all,
DWR does publish the NCCAG dataset here as  map and feature services:
https://gis.water.ca.gov/arcgis/rest/services/Biota/i02_NaturalCommunitiesCommonlyAssociatedWithGroundwater/MapServer
https://gis.water.ca.gov/arcgis/rest/services/Biota/i02_NaturalCommunitiesCommonlyAssociatedWithGroundwater/FeatureServer
-Aaron
On Thu, Apr 1, 2021 at 7:35 PM tcarlin23 @.***> wrote:

I don't think the GDE index is hosted online anywhere, but I have a
shapefile. I'm asking @tcarlin23 https://github.com/tcarlin23 and
Keenan Smith about it. Here's the dropbox that I found:
https://www.scienceforconservation.org/products/groundwater-dependent-ecosystems-data
Honestly, Val, we may need to ask Kirk about this dataset and whether it
is still the best one to call upon. It almost seems like TNC is trying to
move away from using it since I don't see it readily viewable on their
website anymore (https://www.scienceforconservation.org/products/?type=map)
and the original DropBox link no longer seems to work. I know the
methodology is on the older side (from 2010), but maybe there is another
reason why?
It looks like they are relying more upon the iGDE (Indicators of GDEs)
now. That can be found at gis.water.ca.gov/app/NCDatasetViewer/
The methodology and findings were presented in 2018. It's on the
SharePoint (i02_NCCAG_shapefile in GDE folder).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/internetofwater/CA-Gages/issues/12#issuecomment-812284061,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACP3EZF3DQGLKNQ3UYDXLJLTGUUQDANCNFSM4ZPF6SBA
.

--
Aaron Cuthbertson

Aaron,
Unfortunately, DWR does not published the layer titled "groundwater dependent ecosystems summary", which is the index that we want to use.  The raw dataset doesn't work for us because we simply don't have time to develop the algorithm to produce an index ourselves (nor do we want to produce our own index - we'd prefer to point to someone else's published body of work).
Todd - I see a half dozen layers on the page you linked but no index (e.g. nothing immediately useable).  The TNC dataset is still there and I was able to access the dropbox  (but we can ask Kirk too) -> https://www.scienceforconservation.org/products/groundwater-dependent-ecosystems-data
TNC is publishing the interconnected surface water map now too, but it's only Central Valley and meant to be supporting SGMA.  https://icons.codefornature.org/

I guess I can upload the GDE layer to IoW for now?  @ksonda does that work or do we need to figure out where to host it?

I guess I can upload the GDE layer to IoW for now?  @ksonda does that work or do we need to figure out where to host it?

If it doesn't have a home it can live here. The linked data server will download it from here, but the reference link can be changed. Especially if we get it a persistent identifiers anyway.

@tcarlin23 the ACE biodiversity layers aren't hosted anywhere either, are they?

@tcarlin23 the ACE biodiversity layers aren't hosted anywhere either, are they?

I have reached out to a contact in our biogeographic data branch. I will let you know.

Ru Roh, I ran into an issue right away.  I'll take that layer out for now.  Screenshot of the error (>100MB)

Hmm, more issues - tried 3 or 4 times, with and without VPN.  Am I trying to do too much?  The commit worked, but the push_to_origin did not, so there's a discrepancy between the commit record and what's actually on the server.  How can I get those files on Github?

Can try zipping? Else we will need an alternative, or just the ca open data portal
Sent from my phone
Kyle Onda
Data Architect
Internet of Water
Nicholas Institute for Environmental Policy Solutions
Duke University
Box 90355
Durham, NC 27708
(919) 613-8747
@.***

From: Valerie Zimmer @.>
Sent: Friday, April 2, 2021 11:04:08 PM
To: internetofwater/CA-Gages @.>
Cc: Kyle Onda @.>; Mention @.>
Subject: Re: [internetofwater/CA-Gages] Other Layers to add (#12)
Hmm, more issues - tried 3 or 4 times, with and without VPN. Am I trying to do too much? The commit worked, but the push_to_origin did not, so there's a discrepancy between the commit record and what's actually on the server. How can I get those files on Github?
[image]https://urldefense.com/v3/__https://user-images.githubusercontent.com/26662237/113466182-8d79c780-93ee-11eb-9b65-4477f48e383d.png__;!!OToaGQ!9OKmC9kj2wX1lx8atPmQtq79itUhqMa2Qaf5qHY6MD6KSlQKDEQg7PicLe2OAs3xOg$
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/internetofwater/CA-Gages/issues/12*issuecomment-812800725__;Iw!!OToaGQ!9OKmC9kj2wX1lx8atPmQtq79itUhqMa2Qaf5qHY6MD6KSlQKDEQg7PicLe1QglZ8qA$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKQHTNWWVFY3WA56YYUZQ53TG2ASRANCNFSM4ZPF6SBA__;!!OToaGQ!9OKmC9kj2wX1lx8atPmQtq79itUhqMa2Qaf5qHY6MD6KSlQKDEQg7PicLe0GIGjX-Q$.

open to other problem solving baout this if still too big to upload after compression. Another open, but not-too-open option could be CUAHSI Hydroshare

Ok - I haven't had time to deal with this, sorry  It does appear that
Github is not capable of file-sharing on the scale that we'd like to do, so
I'll try and figure out the CUAHSI thing next.
-V
On Wed, Apr 7, 2021 at 1:47 PM Kyle Onda @.***> wrote:

open to other problem solving baout this if still too big to upload after
compression. Another open, but not-too-open option could be CUAHSI
Hydroshare https://www.hydroshare.org/home/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/internetofwater/CA-Gages/issues/12#issuecomment-815251545,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLNKXKYCQBZ2LZAHAOGREDTHTAD5ANCNFSM4ZPF6SBA
.

But really, we're still choosing layers is the other issue, which is the
main reason I don't have time - I'm trying to choose layers.  We're
just too early in the process to be trading layers on a large scale.
On Tue, Apr 13, 2021 at 7:13 AM Val Zimmer @.***> wrote:

Ok - I haven't had time to deal with this, sorry  It does appear that
Github is not capable of file-sharing on the scale that we'd like to do, so
I'll try and figure out the CUAHSI thing next.
-V
On Wed, Apr 7, 2021 at 1:47 PM Kyle Onda @.***> wrote:

open to other problem solving baout this if still too big to upload after
compression. Another open, but not-too-open option could be CUAHSI
Hydroshare https://www.hydroshare.org/home/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/internetofwater/CA-Gages/issues/12#issuecomment-815251545,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLNKXKYCQBZ2LZAHAOGREDTHTAD5ANCNFSM4ZPF6SBA
.

Can I just FTP or Google Drive or Dropbox some stuff?  The CUASHI site thinks I'm the author of anything I upload and it's a process to add stuff. I just want to drag and drop and not write an abstract for it!

Well here's the only one that's done so far, but this one has a weblink too - not all of them do (I think) https://www.hydroshare.org/resource/192b23acb7124824a54112a34560f3b8/
I wasn't sure what file sharing you had available to you  None, except Teams/Sharepoint, but we cannot share externally.  There are literally no file-sharing options that the state of california is officially sanctioning.  Including github

Can you see that layer?  I think it's private, but the Public and Discoverable Buttons are inactive, so I'm not sure how to make it visible to anyone else unless you have a username.

Ok. Can you make the resource e their Public or add me as an authorised user?
Sent from my phone
Kyle Onda
Data Architect
Internet of Water
Nicholas Institute for Environmental Policy Solutions
Duke University
Box 90355
Durham, NC 27708
(919) 613-8747
@.***

From: Valerie Zimmer @.>
Sent: Tuesday, April 13, 2021 10:44:32 AM
To: internetofwater/CA-Gages @.>
Cc: Kyle Onda @.>; Mention @.>
Subject: Re: [internetofwater/CA-Gages] Other Layers to add (#12)
Well here's the only one that's done so far, but this one has a weblink too - not all of them do (I think) https://www.hydroshare.org/resource/192b23acb7124824a54112a34560f3b8/https://urldefense.com/v3/__https://www.hydroshare.org/resource/192b23acb7124824a54112a34560f3b8/__;!!OToaGQ!4oTHTlmHvueLwghgAXMHHIQ3gb_gIOrcYM-LMt3ynz67M3c6escB4tqu96W7g_eaYA$
I wasn't sure what file sharing you had available to you None, except Teams/Sharepoint, but we cannot share externally. There are literally no file-sharing options that the state of california is officially sanctioning. Including github
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/internetofwater/CA-Gages/issues/12*issuecomment-818793294__;Iw!!OToaGQ!4oTHTlmHvueLwghgAXMHHIQ3gb_gIOrcYM-LMt3ynz67M3c6escB4tqu96UibBFizg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKQHTNSCRE65YXJMPEZQ773TIRKFBANCNFSM4ZPF6SBA__;!!OToaGQ!4oTHTlmHvueLwghgAXMHHIQ3gb_gIOrcYM-LMt3ynz67M3c6escB4tqu96Wp9RFx9g$.

what's your username?

Inactive Buttons - Public and Discoverable.   Do I need to do something else to make them active?

Ok I see it. To make it public or discoverable it looks like you need to add a keyword (annoying!)
Sent from my phone
Kyle Onda
Data Architect
Internet of Water
Nicholas Institute for Environmental Policy Solutions
Duke University
Box 90355
Durham, NC 27708
(919) 613-8747
@.***

From: Valerie Zimmer @.>
Sent: Tuesday, April 13, 2021 10:51:59 AM
To: internetofwater/CA-Gages @.>
Cc: Kyle Onda @.>; Mention @.>
Subject: Re: [internetofwater/CA-Gages] Other Layers to add (#12)
[image]https://urldefense.com/v3/__https://user-images.githubusercontent.com/26662237/114573161-fbaf5d00-9c2c-11eb-8cc2-50a58c4c5723.png__;!!OToaGQ!7yiIZ8C-VUiMhgwDt17tbQdtFUOrO8bi-ppsfiChJzxMrXrIG0uzRGTKXO3A8mCaUg$
Inactive Buttons - Public and Discoverable. Do I need to do something else to make them active?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/internetofwater/CA-Gages/issues/12*issuecomment-818798947__;Iw!!OToaGQ!7yiIZ8C-VUiMhgwDt17tbQdtFUOrO8bi-ppsfiChJzxMrXrIG0uzRGTKXO2O_NoQ8w$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKQHTNXWGMJJLZZYOWQKHXDTIRLA7ANCNFSM4ZPF6SBA__;!!OToaGQ!7yiIZ8C-VUiMhgwDt17tbQdtFUOrO8bi-ppsfiChJzxMrXrIG0uzRGTKXO2A7OUnIw$.

There it is!  Ok, I'll just use the keyword "SB19" for now.  Unique and obscure, so you'll be able to see everything I upload that way.

I've started saving final layers as "Layer Packages" constructed in ArcGIS Pro.  This allows easy upload to our ESRI public map for internal organization and anyone else running ArcGIS Pro can see the layer without having to develop symbology (and tells you the attribute of interest).  It may not be readable by other software, however (like, for example, ArcMap... headsmack).  Let me know if you can read it.

It is probably possible for an R-based workflow to read these with some work, but saving a version in GeoPackage (.gpkg), geojson, or .shp alongside any .lpk could work
Sent from my phone
Kyle Onda
Data Architect
Internet of Water
Nicholas Institute for Environmental Policy Solutions
Duke University
Box 90355
Durham, NC 27708
(919) 613-8747
@.***

From: Valerie Zimmer @.>
Sent: Tuesday, April 13, 2021 11:07:48 AM
To: internetofwater/CA-Gages @.>
Cc: Kyle Onda @.>; Mention @.>
Subject: Re: [internetofwater/CA-Gages] Other Layers to add (#12)
I've started saving final layers as "Layer Packages" constructed in ArcGIS Pro. This allows easy upload to our ESRI public map for internal organization and anyone else running ArcGIS Pro can see the layer without having to develop symbology (and tells you the attribute of interest). It may not be readable by other software, however (like, for example, ArcMap... headsmack). Let me know if you can read it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/internetofwater/CA-Gages/issues/12*issuecomment-818811315__;Iw!!OToaGQ!7Pq5SOmFz7Zkn5_N3sF2fWVwzk4lkwy3PY-5M5u_U6S9yy_3ld-9w_PpwV9Ga8M0qw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKQHTNSHX527ARUT2D4CGXDTIRM4JANCNFSM4ZPF6SBA__;!!OToaGQ!7Pq5SOmFz7Zkn5_N3sF2fWVwzk4lkwy3PY-5M5u_U6S9yy_3ld-9w_PpwV-KvtglcQ$.

How about a .gdb file?    I am unable to export anything other that .gdb, .lyrx, or .lypx files from ArcGIS Pro, unless our IT department has a license for an ESRI extension called Data InterOperability.  I am checking.
100% of the .gdb files will be > 100 MB.  So we will have to use CUASHI to trade files, and I'll try and just upload when we have a "final" dataset, rather than incrementally.

gdb is ok

I found a workaround for shp.

Ok, the Ecosystem Management simplified layers are uploaded.  These are likely to make it into the final analysis, although nothing is final yet.  There will be many other layers, but we need to figure out what they are.  The zip files are shapefiles.

@vlzimmer how is everything going? Do you feel like we need to set up another meeting or are you just focusing deciding on layers still?

@vlzimmer Don't want to be annoying, but do want to check in. Anything we can help with?

Hi Kyle - should we set up a chat this week?  Do you have time?  Friday morning, perhaps?  If not, Tue Jun 1 is free.  I think I have a better idea of what we are doing now, but i'm not sure how to meet the objectives we discussed in the last meeting.

OK. Friday is tough, but I can do June 1 at 10am, or 12pm pacific

Lets do June 1 at 10am Pacific.  Thanks Kyle
On Mon, May 24, 2021 at 10:59 AM Kyle Onda @.***> wrote:

OK. Friday is tough, but I can do June 1 at 10am, or 12pm pacific
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/internetofwater/CA-Gages/issues/12#issuecomment-847228189,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLNKXKODQXMTQCWAZDNTKLTPKHWRANCNFSM4ZPF6SBA
.


vfs-appointment-bot -sc DZ -dc FR ?? can it be modified to check for these countries

C:\Users\LLCOOLR\vfs-appointment-bot\vfs-appointment-bot>vfs-appointment-bot -sc DZ -dc FR
[2024-05-02 17:07:49,962] Country FR is not supported

Hi @gcomptedz,
This script currently only supports IN-DE and IQ-DE. I'm encountering rate limits from the VFS portal for AZ-FR when trying to use it. And unfortunately this script won't work with very strict rate limits.
However, feel free to contribute to the script's development to add support for AZ-FR! We welcome any contributions that can expand its functionality.


Update CODE_OF_CONDUCT.md

Added More Versatility To The Code Of Conduct.
The community's commitment to inclusivity, emphasizing the importance of empathy, respect, and constructive feedback. It details unacceptable behaviors, outlines enforcement responsibilities, and provides a structured reporting process. Additional consequences for violations were specified, enhancing clarity on community standards and promoting a healthier, more respectful environment.

issue number ?

f742615 is this what you are looking for?this is my first time pull request
so I don't know much
On Fri, 25 Oct, 2024, 11:57 pm ANSHIKA-26, @.***> wrote:

issue number ?
—
Reply to this email directly, view it on GitHub
https://github.com/ANSHIKA-26/WordWise/pull/1417#issuecomment-2438549963,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGI7RA7TDYGECZFWKO4NZODZ5KERXAVCNFSM6AAAAABQTYDLZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZYGU2DSOJWGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

no , you were supposed to raise an issue first :)
its okay if its your first time making a PR
read these for refrence - https://github.com/ANSHIKA-26/WordWise/issues/435
i will be closing this PR since you did not make an issue !


Zend\Http\Header\AbstractAccept, "undefined offset: 1" for some accept headers

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html

Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7352
User: @jurajseffer
Created On: 2015-03-21T13:59:27Z
Updated At: 2015-11-06T21:19:42Z
Body
ZF version tested on: 2.3.3
An application sometimes receives the following (invalid?) accept header:
Accept: text/html,application/xhtml+xml,application/xml;image/png,image/jpeg,image/*;q=0.9,*/*;q=0.8

This causes an "Undefined offset: 1" notice on line 174 in Zend\Http\Header\AbstractAccept
$value = trim($explode[1]);

This repository has been closed and moved to laminas/laminas-http; a new issue has been opened at https://github.com/laminas/laminas-http/issues/10.


Adding an option to conveniently use the setImage() method from a URL with an SSL authentication challenge

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a same one.
[x] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
What
[Tell us about the issue]
Adding an option to conveniently use the setImage() method from a URL with an SSL authentication challenge
In my opinion, besides implementing the SSL authentication challenge through the authenticationChallengeResponder's delegate, it's also a good idea to provide a way to simply accept the authentication challenge via the option argument.
In the case of YYWebImage(https://github.com/ibireme/YYWebImage) that I used in the past, such a method was provided, but unfortunately Kingfisher does not provide such an option.
Here is my YYWebImage code. There is an option argument of SSL Certification.
imageView.yy_setImage(
            with: url,
            placeholder: nil,
            options: [.allowBackgroundTask, .progressiveBlur, .allowInvalidSSLCertificates, .progressiveBlur, .showNetworkActivity, .setImageWithFadeAnimation],
            progress: nil, transform: { (image, url) -> UIImage? in
                if grayscale {
                    return image.yy_imageByGrayscale()
                }
                return image
        }, completion: { [weak imageView] (_, _, _, _, _) in
            guard let iv = imageView else { return }
            iv.placeHolderImage = nil
        })

So Can I implement this feature? How about your opinion?
Reproduce
[The steps to reproduce this issue. What is the url you were trying to load, where did you put your code, etc.]
I found a similar issue
: #945
Other Comment
[Add anything else here]
Here is YYWebImage's Solution https://github.com/ibireme/YYWebImage/blob/093193c67bfa2409af93e618a48e3208d63106a5/YYWebImage/YYWebImageManager.h
I'm not good at English. But I'll trying my best:)

In Kingfisher, the easiest way for this, is setting a trustedHosts for the downloader:
ImageDownloader.default.trustedHosts = ["onevcat.com"]

It will bypass any challenge for the domain onevcat.com.
Or you can try to create a type conforming to AuthenticationChallengeResponsible and ignore SSL errors there, and set it to authenticationChallengeResponder. Then you can implement any kind of challenge handling in your type.
ImageDownloader.default.authenticationChallengeResponder = yourResponder


TreeSize Free v4.7.1

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This one seem like https://github.com/microsoft/winget-pkgs/labels/Azure-Pipeline-Passed and it has https://github.com/microsoft/winget-pkgs/labels/Validation-Executable-Error.


Exceptions/errors other than PhoenixException get swallowed when a Push fails

In the event of _channel.socket.sendMessage() (in Push.send()) or _channel.onPushReply() throwing, then the exception/error is swallowed in _receiveResponse() since it handles on Message and PhoenixException.
If there another failure, then those are not handled internally by the package or neither do they bubble up to the caller side.

This one bit me today, I was sending a message with {"id": UUID()} and hadn't realised that it should have been {"id": UUID().v4()}. There was no error and I even got a reply of OK.

cc @matehat @phildupuis


[Question]: Setting the volume of the indoor chime

Ask your question
Hi Patrick,
Many eufy devices, like the doorbell for example, have a variable named chimeHomebaseRingtoneVolume: 12
I'm trying to adjust the volume of the homebase ringtone, but it doesn't seem to update in the app (different account of course).
I tried using switch.doorbell.indoor_chime and others, and although it accepts a new value, it doesn't reflect in the app (haven't tested in real life but assume it will not update the volume.
posted this one eufy_security repo as well, but this is probably the better place for it.

@atv2016
After changing the setting, did you force a refresh of the settings in the Eufy app (drag down on the main device view on Android)?


Add instructions for setting up on Raspbian in voicekit branch.

This PR is my attempt to fix #148. I've added back the files HACKING.md and systemd/voice-recognizer.service which were in the master branch. I also updated the instructions in HACKING.md to work with the voicekit branch.
IMO these files are too useful to not be present in the new branch, and having them there doesn't change the way that this project behaves for anyone who doesn't want to use them.
The way the install-services.sh script is currently written, it will automatically add any services in the systemd folder to the /lib/systemd/system folder on the Pi, including voice-recognizer.service if it is present. It will also replace any references to /home/pi in the service file, updating them to the correct installation folder. However, the service will never run unless it is explicitly enabled by the user.

I intended to create a second pull request for adding the IP address action, but that commit got combined with this one.
@drigz commented on #138 that a PR to add this action would be welcome. There was a PR to add this  a few days ago that was killed by the submitter, so I thought I would try to revive it. I initially had issues getting the "ip address" command to work, but capitalizing "IP" made Assistant recognize it.
I also added "raspberry" in front of the "power off" and "reboot" commands, and fixed the indentation of the power_off_pi() and reboot_pi() functions (changed it from tabs to spaces for consistency and to follow PEP8).

@t1m0thyj FYI to make separate pull requests and also in general before working on a forked repo it is better to make your own working branches. You can do this very easily through the website of github. See https://github.com/blog/1377-create-and-delete-branches.
Note that before you type in the new name of your branch switch to the branch that you want to duplicate. Then make the changes and create a pull request. Like in your case you could have better make 2 duplicates of the voicekit branch. Use one for the files to add for setting up AIY on raspbian. The second one to make the changes to the demo. So you can make 2 separate pull requests.
BTW when string checking you could use str.lower() this would avoid problems when the assistent server returns capital letters. So text.lower() == 'ip address'

@divx118 Should I just do that in the future, or do you want me to close this PR and create new ones in the way you described?

Removed IP address action from this PR and updated HACKING.md based on feedback

Excellent, thanks so much @t1m0thyj!


Sites do not work after machine reboot

After host reboot, I am seeing this error using docker logs container ID for nginx-proxy  (see separate issue #1250  for issue about getting proxy error logs.
[error] 91#91: *14 no live upstreams while connecting to upstream, client
Not sure what else you will need to troubleshoot but please let me know.
lsb_release -a
System Information

[ ] lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

[ ] ee cli version
EE 4.0.0-beta.6

[ ] ee cli info
ee cli info
+-------------------+----------------------------------------------------------------------------+
| OS                | Linux 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 |
| Shell             | /bin/bash                                                                  |
| PHP binary        | /usr/bin/php7.2                                                            |
| PHP version       | 7.2.11-1+ubuntu18.04.1+deb.sury.org+1                                      |
| php.ini used      | /etc/php/7.2/cli/php.ini                                                   |
| EE root dir       | phar://ee.phar                                                             |
| EE vendor dir     | phar://ee.phar/vendor                                                      |
| EE phar path      | /opt/easyengine/nginx/conf.d                                               |
| EE packages dir   |                                                                            |
| EE global config  | /opt/easyengine/config.yml                                                 |
| EE project config |                                                                            |
| EE version        | 4.0.0-beta.6

[ ] wp --allow-root --info
wp --allow-root --info
wp: command not found

dockergen.1 | 2018/10/18 02:44:53 Running 'nginx -s reload'
dockergen.1 | 2018/10/18 02:44:53 Received event die for container 36a1ace0beef
dockergen.1 | 2018/10/18 02:44:53 Generated '/etc/nginx/conf.d/default.conf' from 5 containers
dockergen.1 | 2018/10/18 02:44:53 Running 'nginx -s reload'
nginx.1    | 2018/10/18 02:45:03 [error] 142#142: *14 no live upstreams while connecting to upstream, client: <IP_ADDRESS>, server: ee1.mydomain.com, request: "GET / HTTP/1.1", upstream: "http://ee1.mydomain.com-42099b4af021e53fd8fd4e056c2568d7c2e3ffa8/", host: "mydomain.com"
ngi

I've the same issues rebooting the host VM and found that the nginx docker container doesn't start properly. You will need to find the ID of that docker container, stop it manually and restart it. Other methods that worked include using the ee site down command, which stops the website and bring it back up with ee site up

@kirtangajjar @mbtamuli  Is this on the radar to be fixed before v4 is released?

@devbhosale Can you try to reproduce this issue from v4 stable and let us know if its still there?

Definitely still an issue - has happened to me on several reboots using 4.0.0 - 4.0.4.
https://community.easyengine.io/t/easyengine-services-not-running-on-server-reboot/11651

Can confirm this still an issue as well running Ubuntu 18 LTS and EE 4.0.4

Yes I have set a script in /etc/init.d/ until this is fixed that runs the simple command:
ee service restart nginx-proxy

@michacassola Can you try ee service enable db --force and check the output of docker ps -a and check if any of the site or service containers are restarting or exited?

After disable and enable the sites, I got “Error establishing a database connection” message. This command solved the problem. Thanks.

502 Bad Gateway - is back.
Running
'sudo ee site disable site.com'
'sudo ee site enable site.com'
doesn't work.
Running
'ee service restart nginx-proxy'
doesn't work.
Same as @michacassola.
Dont know what to do now. Any help?

For me the following worked.
ee site disable on each of the sites
cd into /opt/easyengine/services and run
docker-compose down
docker-compose up -d
reboot
Then ee site enable for each of the sites

For me the following worked.
ee site disable on each of the sites
cd into /opt/easyengine/services and run
docker-compose down
docker-compose up -d
reboot
Then ee site enable for each of the sites

Thank you! It worked!

The following steps worked to run the EasyEngine docker containers and the specific site container:
To run EE docker containers:
cd /opt/easyengine/services/ && sudo docker-compose down && sudo docker-compose up -d
To run EE site's containers:
cd /opt/easyengine/sites/EXAMPLE.COM/ && sudo docker-compose down && sudo docker-compose up -d
NOTE: of course, you need to repeat the second step for every site you want to run.

@rahul286 @kirtangajjar  Is there any possibility you can prioritize this issue for in the next 1-2 months..  as long as this issue is there, it means downtime for all sites hosted with EE4...

None of the proposed solution worked for me.
What did work was to make a copy of the config file then make changes:
cd /opt/easyengine/services/nginx-proxy/conf.d
cp default.conf default.conf.orig

I removed all
upstream <domain-name>-<id> {
}

Then within each server defined for a domain remove the -<id>
e.g.
example.com-2666376731789139831
became
example.com

Restarting with ee service restart nginx-proxy and all my sites were back online as i watched the log
docker logs --tail=10 -f services_global-nginx-proxy_1

Restarting the service and watching the log for errors and going to the line number helped tidy up the config.

I have a couple of clues about this issue. It seems to be resource related.
With a DO droplet,, 18.04, 1 GB ram (The "$5" droplet), I get restarts after reboot with as few as three WP sites  enabled.
Clue #1. If I disable all sites, reboot, enable all sites (10 total), all is fine.
Clue #2 If I increase the DO droplet to 2GB ram, the problem never occurs.
Hope this helps.

For me the following worked.
ee site disable on each of the sites
cd into /opt/easyengine/services and run
docker-compose down
docker-compose up -d
reboot
Then ee site enable for each of the sites

Thanks, it work, and then run bellow command if you got "Error establishing a database connection",
ee service enable db

None of the proposed solution worked for me.
What did work was to make a copy of the config file then make changes:
cd /opt/easyengine/services/nginx-proxy/conf.d
cp default.conf default.conf.orig

I removed all
upstream <domain-name>-<id> {
}

Then within each server defined for a domain remove the -<id>
e.g.
example.com-2666376731789139831
became
example.com

Restarting with ee service restart nginx-proxy and all my sites were back online as i watched the log
docker logs --tail=10 -f services_global-nginx-proxy_1

Restarting the service and watching the log for errors and going to the line number helped tidy up the config.
Adding a new site, the config file updates to what it was originally, and it remains to work.
So it seems to be some timeout waiting for the docker network / containers for each domain to start is quitting too soon, or the order of services starting up has changed.

I can confirm this solution worked for me.

Is this fixed yet? Im getting
Error: Unable to find global EasyEngine service nginx
every time I try to enable or disable nginx service to see if that would fix it…

Try to reboot again your server. If not happening you need to reinstall the website.

Backup your wp-content and database.
Removing the old-site from easyengine just "sudo rm -rf" in site folder
Create new instance using ee site crete yoursite.com
Removing new wp-content folder and restore the backup there using rsync.
Delete the new database and replace with backup.
Setting again the wpconfig file and change the prefix , database, username database etc... commonly if you can't access after doing all step is db connection.
Done.

I got this error after upgrade EE version 4.1.4 to 4.1.5

Error: Ports of current running nginx-proxy and ports specified in EasyEngine config file don't match.

solution by petebytes is the best for now... Thank you!! but the error will be occurred again after server reboot..
now I need to reinstall everything and reupload 9GB WP files  ( TT _ TT )
I hope will be fix for this in next release and the upgrade free of error.
conclusion: never upgrade EE version in production server

For me the following worked.
ee site disable on each of the sites
cd into /opt/easyengine/services and run
docker-compose down
docker-compose up -d
reboot
Then ee site enable for each of the sites

I'm using Debian 10, ee v4.1.5
This work for me.
Also I tried on another distro like Debian 9, Ubuntu 18.04, Ubuntu 20.04, it works!
I have more than 100 blogs, and I can't imagine if I have to disable / enable one by one, 27 blogs each server, I know I can create bash script, but for 1 website it took around 10-15 seconds to disable and enable.
EE is awesome, it fast and simple.
But restart the server is something will happen in any case, and this problem still here since 2018, wow.
I hope EE getting better in the future, and I still can't use EE for production servers.

Thanks @imylomylo , your answer works for me with small modification to make it simpler 😉
Instead of doing this

What did work was to make a copy of the config file then make changes:
cd /opt/easyengine/services/nginx-proxy/conf.d
cp default.conf default.conf.orig

I removed all
upstream <domain-name>-<id> {
}

Then within each server defined for a domain remove the -<id>
e.g.
example.com-2666376731789139831
became
example.com

I just move default.conf to make backup, and let nginx-global-proxy do the vhost creation
cd /opt/easyengine/services/nginx-proxy/conf.d
mv default.conf default.conf.orig
ee service restart nginx-proxy

After all site are going well, remove the backup file
rm -f default.conf.orig

Please update EasyEngine to the latest version using ee cli update command. This issue has been resolved in newer EasyEngine releases.


Modify or set field values in columns config?

How would/can someone modify/set input values by using @form_maker_object?
I need to run some of the values through a date Helper::
Form is created by using @form_maker_object($member, $columns)
my $columns:
$columns = [
  'date' => [
     'alt_name' => 'My date',
  ],

Would need someting like:
$columns = [
  'date' => [
     'alt_name' => 'My date',
     'value' => Helper::toRealdate($value),
  ],

You could make a service which prepares your columns and then passes them to the controller. This way you avoid the config file and can use any methods you need to help prepare your columns.

Thanks, but creating te columns isn't the problem. How can I set the value for a column - as in the value of the input field.
Get Outlook for iOS
On Thu, Oct 20, 2016 at 6:26 AM +0200, "Matt Lantz"<EMAIL_ADDRESS>wrote:
You could make a service which prepares your columns and then passes them to the controller. This way you avoid the config file and can use any methods you need to help prepare your columns.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hmmm, you cant technically, the form maker looks at the columns, or the table and then creates the inputs available for it, and then on a failed request it will refill the inputs with the original values. In the case you're describing above it appears the best way is to have a getDateAttribute which would output a string, or whatever your helper is doing.

Can you give me a small example of what you're describing? Don't think I get wat you mean.

Example:
class Member extends Model {

    function getDateAttribute($value)
    {
        return Helper::doSomething($value);
    }

}

$columns = [
  'date' => [
     'alt_name' => 'My date',
  ],
];

@form_maker_object($member, $columns)

Since the form maker is building itself from the object in this case its looking at the object's attributes, this means you can set them in the Model or object itself. In this case it looks at the column 'date' and says ok lets see if there is an attribute/property called date for this object ($member) if there is good, and if the date is also not a method then lets get this attribute from the object. So in this case it would try $member->date with Laravel we can do getDateAttribute which says to the form maker, instead of getting that one take this one. so you can do you're custom magic in there.


RuntimeError: The expanded size of the tensor (1) must match the existing size (69120) at non-singleton dimension 1.  Target sizes: [69120, 1, 64].  Tensor sizes: [1, 69120, 1]

Traceback (most recent call last):
File "main.py", line 256, in
main.run()
File "main.py", line 108, in run
self.train_log = train(self.model, model_save_path,
File "/home/pete/PycharmProjects/GDN-main/train.py", line 69, in train
out = model(x, edge_index).float().to(device)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(args, **kwargs)
File "/home/pete/PycharmProjects/GDN-main/models/GDN.py", line 166, in forward
gcn_out = self.gnn_layers[i](x, batch_gated_edge_index, node_num=node_numbatch_num, embedding=all_embeddings)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/pete/PycharmProjects/GDN-main/models/GDN.py", line 73, in forward
out, (new_edge_index, att_weight) = self.gnn(x, edge_index, embedding, return_attention_weights=True)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/pete/PycharmProjects/GDN-main/models/graph_layer.py", line 65, in forward
out = self.propagate(edge_index, x=x, embedding=embedding, edges=edge_index,
File "/tmp/models.graph_layer_GraphLayer_propagate_ly_wvtvt.py", line 258, in propagate
out = self.aggregate(
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch_geometric/nn/conv/message_passing.py", line 625, in aggregate
return self.aggr_module(inputs, index, ptr=ptr, dim_size=dim_size,
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch_geometric/experimental.py", line 117, in wrapper
return func(*args, **kwargs)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch_geometric/nn/aggr/base.py", line 136, in call
raise e
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch_geometric/nn/aggr/base.py", line 128, in call
return super().call(x, index=index, ptr=ptr, dim_size=dim_size,
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch_geometric/nn/aggr/basic.py", line 22, in forward
return self.reduce(x, index, ptr, dim_size, dim, reduce='sum')
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch_geometric/nn/aggr/base.py", line 182, in reduce
return scatter(x, index, dim, dim_size, reduce)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch_geometric/utils/_scatter.py", line 74, in scatter
index = broadcast(index, src, dim)
File "/home/pete/anaconda3/envs/mamba/lib/python3.8/site-packages/torch_geometric/utils/_scatter.py", line 179, in broadcast
return src.view(size).expand_as(ref)
RuntimeError: The expanded size of the tensor (1) must match the existing size (69120) at non-singleton dimension 1.  Target sizes: [69120, 1, 64].  Tensor sizes: [1, 69120, 1]
我跑啥数据集都是这个error，该怎么解决？

Hi, this might be related to the mismatched package #6.

Hi, this might be related to the mismatched package #6.

Thanks！

Hi, this might be related to the mismatched package #6.

Thanks！

你好，请问你现在能跑通吗

I also encountered the same error, may I ask what package does not match? Should I strictly limit the versions of the following package?
Python >= 3.6
cuda == 10.2
Pytorch = = 1.5.1
PyG: torch-geometric==1.5.0


Add changelog doc & update PR template

Change list
Please provide briefly described change list which are you going to propose.
Types of changes
What types of changes are you proposing/introducing to .NET client?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Integration tests

[ ] Have you provided integration tests to pass against the latest version of appium? (for Bugfix or New feature)

Details
Moved release notes to a changelog document so it doesn't reflect in nuget upon each release/
Updated pull request template to encourage documentation  of new features as part of the process
Please provide more details about changes if it is necessary. If there are new features you can provide code samples which show the way they
work and possible use cases. Also you can create gists with pasted C# code samples or put them here using markdown.
About markdown please read Mastering markdown and Writing on GitHub

Just need anybody to approve this before I make the release


Visdom support?

Will Torchbearer support logging metrics to Visdom just like what it does to Tensorboard?  Thank you!

@huhk-sysu Visdom support is definitely something we'd like to support. We use  TensorboardX to support our tensorboard logging and they recently added support for Visdom, so I'll look into it.

TensorboardX have just pushed a new release with visdom support so we'll add support soon.


[Android] Sample project from this repo is very laggy

I downloaded this repo and built sample project for android and ran it. If say that it lags when scrolling or drawing is to say nothing. Every ui interaction is accompanied with big delay about few secs.
OnePlus 9 Pro Android 12

Did you build it in release mode with AOT enabled?
It isn't fast. But definitely way faster than "big delay about few secs" on my OnePlus 7T Pro Android 11.

I didnt change any settings of android demo project ControlCatalog.Android

Its not so easy to do, because when downloading project from github and truying to build it fails. tons of errors. I need to fix dependencies manually. and after last try, i deleted the project from pc

Well, sadly that's xamarin experience on .net.

<RunAOTCompilation>True</RunAOTCompilation> is the SDKs default in release mode

Firstly if you do recommend to use True it should be set by default in ControlCatalog.Android.csproj for Release build

Oh, you are right. It was enabled before, but was disabled with another PR. Good catch.

PS it would be cool to publish ControlCatalog to Android/iOS markets :))))

Yeah, we want something like this. "Wordle-onia" will go first to the apple store.
ControlCatalog is definitely can't be in the public markets, because it's more suitable for developers to test many controls. Not really representable. Instead, some nice application with control samples should be. @danwalmsley and @jmacato were working on this.

I'v tried to buid it from VS2022... and i do see some strange errors

Building in VS sometimes is pita. Majority of the dev team are using Rider and never saw most of VS-specific errors.
I saw this one what you mentioned before doing android/ios projects, but can't reproduce it anymore.

Let's go to command line and use dotnet build .\Avalonia.sln -c Release:

Yes, this one is definitely broken. After these two recent PRs:
https://github.com/AvaloniaUI/Avalonia/pull/7756
https://github.com/AvaloniaUI/Avalonia/pull/7781
ControlCatalog.Android was updated to work with new API, but that test project wasn't.
I will make a PR to fix it.

@maxkatz6 cool :-):-)
Will wait for fix & demo app (Wordle-onia is not looking to be representable from my side small controls number, and previosly i'v faced with perfomance problems on low-end device)
Anyway, please, make the solution buildable :-)

IIRC the GPU backend (OpenGL ES) of Avalonia for Android hasn't been enabled? Then I think it's expected to be laggy on Android.

@hez2010 It is enabled by default.

Note that NDK might fail if you SDK is installed in program files directory. It can't work if there are spaces in the path. So you would need to reinsall/move/symlink android SDK to another directory and change it in xamarin settings.

After moving to another directory how do I change xamarin settings? I am building the application using dotnet build -c Release and I am getting No Android NDK found issues on windows

On release mode I have to set it to following. Else I only see a white screen
<PropertyGroup Condition="'$(Configuration)'=='Release' and '$(TF_BUILD)' == ''">
    <RunAOTCompilation>True</RunAOTCompilation>
    <EnableLLVM>False</EnableLLVM>
    <EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
</PropertyGroup>


An unknown error occurred during Amplify.Storage.uploadData() call

Describe the bug
uploadData() failed with message "An unknown error occurred". Message indicated raising a bug report.
StorageError: Unexpected error occurred with message: An unknown error occurred
Recovery suggestion: This should not happen. There is a possibility that there is a bug if this error persists. Please take a look at https://github.com/aws-amplify/amplify-ios/issues to see if there are any existing issues that match your scenario, and file an issue with the details of the bug if there isn't. Issue encountered at:
file: /xxx.../Pods/Amplify/Amplify/Categories/Auth/Error/AuthError.swift
function: recoverySuggestion
line: 79
To Reproduce
Upload image data by calling Amplify.Storage.uploadData().
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
StorageError: Unexpected error occurred with message: An unknown error occurred
Recovery suggestion: This should not happen. There is a possibility that there is a bug if this error persists. Please take a look at https://github.com/aws-amplify/amplify-ios/issues to see if there are any existing issues that match your scenario, and file an issue with the details of the bug if there isn't. Issue encountered at:
file: /xxx.../Pods/Amplify/Amplify/Categories/Auth/Error/AuthError.swift
function: recoverySuggestion
line: 79
Environment(please complete the following information):

Amplify Framework Version: 1.5.0
Amplify Categories:

[ ] Analytics
[ ] API
[ X] Auth
[ ] DataStore
[ ] Predictions
[ X] Storage

Dependency Manager: [e.g. SwiftPM, Cocoapods] Cocoapods
Swift Version: [e.g. 5.0] 5.0
CLI Version: [e.g. 4.41.2, Run amplify version] 4.34.0
Xcode Version: [e.g. 12.4 (12D4e), Run xcodebuild -version]  12.4
Include any relevant log output under ~/.amplify/logs/amplify-cli-<issue-date>.log - No such directory

**Is this a regression (i.e. was this working before a version upgrade?)
No. Reused a working pattern from an earlier project. Replicated the AWS backend setup for the new project.
Device Information (please complete the following information):

Device: [e.g. iPhone6, Simulator]
iOS Version: [e.g. iOS 11]
Specific to simulators:

Additional context
Add any other context about the problem here.

I'm experiencing this exact same error. Also, since the error message included Amplify/Categories/Auth/Error/AuthError.swift in the error message, I decided to test to see if the Cognito Auth was actually returning the Identity ID that Storage needs.
I followed this: https://docs.amplify.aws/lib/auth/access_credentials/q/platform/ios
This code:
        // Get user sub or identity id
        if let identityProvider = session as? AuthCognitoIdentityProvider {
            let usersub = try identityProvider.getUserSub().get()
            let identityId = try identityProvider.getIdentityId().get()
            print("User sub - \(usersub) and identity id \(identityId)")
        }

is throwing the same AuthError when try identityProvider.getUserSub().get() is called. Not sure if this is helpful but thought I'd add it.

Digging into this further I did a dump(session) in the iOS code. This is part of what came back:
Error Domain=com.amazonaws.AWSCognitoIdentityErrorDomain Code=10 "(null)"
UserInfo={__type=ResourceNotFoundException,
message=IdentityPool 'us-west-2:8xxxxxx-c4c6-4fb2-a89a-xxxxxxxxxxx' not found.}

I looked at the Cognito Identity Pool ID for the Amplify environment I was using and it was different. I updated the amplifyconfiguration.json and awsconfiguration.json files with the correct Identity Pool ID and things started working. I had previously updated the Cognito User Pool information in those files to match the Amplify env but didn't notice the Identity Pool ID was wrong.
It is not clear to me how the Cognito info got out of synch with the Amplify environment but I will see if I can cause the issue to come back again. It seems this is working as expected now.

To close out my comments, I changed the Cognito Identity Pool ID manually in amplifyconfiguration.json and then did an amplify pull to see if it restored the correct ID.
It did, so my conclusion is that the branch of code I was in was pointing at a different Amplify environment and I failed to do a pull to get the correct Amplify environment configuration.
Recommendation
I would strongly recommend fixing the error message that @saravr posted, because in my case, it hid the exact and easily correctable issue that was causing the error, the incorrect Identity Pool ID.

Thanks for the detailed analysis. In my case, verifying Cognito pool id wasn't sufficient. I had to zap the entire Amplify config and start over and it worked. Possibly I may have overlooked one or two errors during amplify init/add and did not cleanup properly.


prisma init should choose the right version for the Docker image

When using the beta CLI in version 1.9-beta, prisma init will produce this line in docker-compose.yml:
    image: prismagraphql/prisma:1.8

It should pick the latest 1.9-beta image.

The same applies to the alpha CLI, currently version 1.10-alpha.

Also, write a warning if server and cli are not on compatible? versions.

This is only happening for beta & alpha. If we want to fix this, this is the relevant code https://github.com/prismagraphql/prisma/blob/master/cli/scripts/publish.sh#L152

I believe this works now. I want to confirm this 🙂


OpenShift - Projects - Edit Annotations - Key error message references "...metadata.annotations"

Describe the bug
dit Annotations - Key error message references "...metadata.annotations"
To Reproduce

Open a project
Click Details and Edit Annotations
Add a key e.g. test
Click save
Then edit the annotation and append a few letters onto the key just added and click save

Expected behavior
The error message displayed is not informative to the end user
Screenshots

Additional context
Add any other context about the problem here.

OpenShift bug, not related to the workshop

https://issues.redhat.com/browse/OCPBUGS-43616


environment meta tag not generated for Nested in repo apps

While having nested engines the the environment meta tags are not generted
app structure
main-app
|___________ routable-engine-app
|______in-repo-routable-engine-1(lazy)
|______in-repo-routable-engine-2(lazy)
example of missing meta tag

@vijaymnishanth Can you provide a reproduction? That might be easier for people to investigate and help you.


Character database

A system to store characters, their decorations (#4), some info and etc.
Women know better

DB is ready, model is done
Only form needed


Support Nx Witness-style systems

Is your feature request related to a problem? Please describe.
Nx Witness doesn't support writing a snapshot out when motion is detected. What it can do is:

Call an URL to say "hey motion happened!"
Return a snapshot when a specific URL is requested

Describe the solution you'd like

Use the existing express server to expose a route for /motion/triggerName
When that route is hit, call an URL specified on the trigger to retrieve an image

Additional context
Originally I thought this would require an entire Nx Witness module but it can be plenty generic. Only question is where to put the image: local storage or aiinput?

This is mostly working. A few cleanup things to do:

Make watchObjects optional, and enforce one of watchObjects or snapshotUri instead.
Make sure it works with annotations enabled. There's a chance annotations would try to overwrite the original image, which might actually be ok.

The file does download successfully but deepstack complains that it isn't a valid image.

Downloads work fine but as expected it breaks annotations. Requires doing some work I've always meant to do to allow multiple local folders for storage. Hopefully that will fix it.

Current issues/todo:

Change the LocalStorageManager setup and purge to loop over Locations instead of copy/paste code.
Set up express to route / requests to /annotations for backwards compatibility purposes.
Figure out why annotation text doesn't work. Whyyyyyyy.

Finally solved item 3.  Item 2 is done as well, both / and /annotations serve up the annotated images.

Would you mind elaborating a little bit more on how you fixed it ?

You can see the pull request once I open it and it'll show you all the different changes made. I'll add some comments on the PR as well to explain some of what's going on.
Fundamentally responding to the request and downloading the image is the same as what you put together in your proof of concept. It just caused a lot of ripple effect changes elsewhere.

https://github.com/danecreekphotography/node-deepstackai-trigger/pull/270/files is the draft pull request. The two most relevant parts are activateWebTrigger() and downloadWebImage().

... uhmmm, I'm a bit lost as I don't know GitHub that well.
Would I just grab the latest docker image by specifying :dev and construct the settings.json file within /var/lib/docker/volumes/ai-trigger/_data ?

None of this is available for testing yet, I'll let you know when it is and how to get it.
Until then just point to latest, make a settings.json, and put it in the same folder you have triggers.json in. See https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/sampleConfiguration/settings.json for what it should look like. You probably just need the deepstackUri and verbose properties.

Yes Master. Thank you Master !

With MQTT, Telegram and PushOver's settings consolidated into settings.json is the trigger settings still left in triggers.json ?

Yes, all the triggers stay in triggers.json.

On dropping Cat_20200523-074700.jpg into /aiinput
(node:1) UnhandledPromiseRejectionWarning: Error: Failed to call DeepStack at http://deepstack-ai:5000/: Error: getaddrinfo ENOTFOUND deepstack-ai
    at /home/node/app/bundle.js:721:24164
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

You need to change deepstackUri in the settings file to whatever you used to have the DEEPSTACK_URI environment variable set to for your Docker configuration.

Stopped DeepStack & node-DeepStackAI-Trigger Docker containers. Deleted docker containers. Deleted docker images.
Created settings.json in /var/lib/docker/volumes/ai-trigger/_data which reflects "deepstackUri": "http://deepstack-ai:5000/",
Pulling the latest DeepStack and node-DeepStackAI-Trigger docker images via the portainer stack config
  ai-trigger:
    image: danecreekphotography/node-deepstackai-trigger:dev
    container_name: ai-trigger
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Australia/Brisbane
      - DEEPSTACK_URI=http://deepstack:5000/
      - VERBOSE=true
    volumes:
      - /aiinput:/aiinput
      # Host:VM
      - ai-trigger:/config
#    secrets:
#      - triggers
#      - mqtt
#      - telegram
    ports:
      - 4999:4999
    restart: unless-stopped
    depends_on:
      - deepstack

  deepstack:
    image: deepquestai/deepstack:latest
    container_name: deepstack
    environment:
      - PUID=1000
      - PGID=1000
      - VISION-DETECTION=True
    volumes:
      - deepstack:/datastore
    ports:
      - 5000:5000
    restart: unless-stopped

and got the issue upon dropping the first images into the /aiinput folder.

Can you please open a new "Support" issue for this instead of adding comments to this issue? Make sure to include your complete settings.json and docker compose file.
This is tracking implementation of a new feature, not helping you migrate to the new settings format :) Thanks!

Will do.

This is ready for you to try @Viksie. Assuming you already have a working system running with settings.json here's what you need to do:

Change your docker-compose file to point to danecreekphotography/node-deepstack-ai:issue260 instead of danecreekphotography/node-deepstack-ai:latest.
In settings.json add "enableWebServer": true,
In triggers.json add "snapshotUri": "http://IP:Port/ec2/cameraThumbnail?cameraId=00011-1834-2342-2342-23421356" to each trigger. The Uri should point to the Nx Witness URL to request the snapshot for that particular camera.
Trigger it by going to http://localhost:4242/motion/<triggerName>. For example if your trigger is called FrontDoorSD go to http://localhost:4242/motion/FrontDoorSD. That should cause the system to reach out to Nx Witness at the snapshotUri, download a still image, and process it.

If step #4 works when you manually go to the address using a browser then you can try configuring Nx Witness to call it automatically:

Let me know if it works (or if it doesn't!). Make sure your system is running with settings.json first before trying the above so we know you are at a working state to begin with.

It's looking good. Just don't understand yet why the node can't resolve deepstack-ai when both containers are from the same compose. I understand this being an issue between different compose instances, but has never been an issue within an compose config.
[Main] Starting up version 3.0.0 [Settings] Unable to read the configuration file: ENOENT: no such file or directory, open '/run/secrets/settings'. [Settings] Loaded settings from /config/settings.json [MQTT] MQTT is disabled via settings. [Local storage] Creating local storage folders in /node-deepstackai-trigger. [Local storage] Enabling background purge every 60 minutes for files older than 30 minutes. [Local storage] Running purge [Main] Web server enabled. [Triggers] Unable to read the configuration file: ENOENT: no such file or directory, open '/run/secrets/triggers'. [Triggers] Loaded configuration from /config/triggers.json [Triggers] Loaded configuration for Driveway [Triggers] Loaded configuration for Sidegate [Triggers] Loaded configuration for Dog Cam [Triggers] Loaded configuration for Cat Cam [Telegram] Telegram is disabled via settings. [Pushover] Pushover is disabled via settings. [Trigger Driveway] Listening for new images in /aiinput/Driveway*.jpg [Trigger Sidegate] Listening for new images in /aiinput/Sidegate*.jpg [Trigger Dog Cam] Listening for new images in /aiinput/Dog*.jpg [Trigger Cat Cam] Listening for new images in /aiinput/Cat*.jpg [Main] **************************************** [Main] Up and running! [Web server] Listening at http://localhost:4242 [Local storage] Purge complete [Web server] Received motion event for Driveway [Trigger manager] Activating Driveway based on a web request. [Trigger Driveway] Downloading snapshot from http://test:test@<IP_ADDRESS>:7001/ec2/cameraThumbnail?cameraId=AE000000-0000-0000-4321. [Trigger Driveway] Download from http://test:test@<IP_ADDRESS>:7001/ec2/cameraThumbnail?cameraId=AE000000-0000-0000-4322 complete. [Trigger Driveway] /node-deepstackai-trigger/snapshots/Driveway_1592530436970.jpg: Analyzing [Trigger ${this.name}] Error: Failed to call DeepStack at http://deepstack-ai:5000/: Error: getaddrinfo ENOTFOUND deepstack-ai [Trigger Driveway] /node-deepstackai-trigger/snapshots/Driveway_1592530436970.jpg: Analysis failed [Web server] Received motion event for SideGate [Trigger manager] Activating Sidegate based on a web request. [Trigger Sidegate] Downloading snapshot from http://test:test@<IP_ADDRESS>:7001/ec2/cameraThumbnail?cameraId=AE000000-0000-0000-4321. [Trigger Sidegate] Download from http://test:test@<IP_ADDRESS>:7001/ec2/cameraThumbnail?cameraId=AE000000-0000-0000-4321 complete. [Trigger Sidegate] /node-deepstackai-trigger/snapshots/Sidegate_1592530771003.jpg: Analyzing [Trigger ${this.name}] Error: Failed to call DeepStack at http://deepstack-ai:5000/: Error: getaddrinfo ENOTFOUND deepstack-ai [Trigger Sidegate] /node-deepstackai-trigger/snapshots/Sidegate_1592530771003.jpg: Analysis failed

As mentioned in #273 your deepstackUri is wrong.

An image is captured on motion detection, yet the image is just before the object enters the view. Can x images be requested with a y sec interval ?

Try unchecking the "Interval of action" option in Nx Witness and just let it spam the system with notifications, or change it to something shorter than 1 minute (can it go to 1 second?).
I'm not too keen on adding fancy logic to the system to keep requesting more images. It would be better to have the outside action kick the system more frequently.

Tried "Interval of action" at "Instant" and "1 sec". All images is acquired just before the object enters the view.
Neither can I find any option to get Nx to react more frequently and with all my past comms with them, I don't see them adding the feature as they expect the stream to be analysed.

... in that sample code of mine, I just wrapped it in a for loop ...

... or delay the snapshot retrieval with 500ms on receiving notification ? ...

I guess I don't understand the problem. If the camera detects motion, and then is asked for a thumbnail after the motion is detected, how can the thumbnail be before the motion was detected?

The motion detection fires as the object enters the viewing area. That is, for e.g, the image is acquired when only the bumper of a vehicle is in the frame, or when a walking person's hand enters the frame. (sometimes even earlier). The motion detection sensitivity had been turned down, but the creation of a motion exclusion frame around the border of the viewing image, is the best resolve.

Masks are supported on triggers. You can define mask rectangles to create a motion exclusion border around the image. See https://github.com/danecreekphotography/node-deepstackai-trigger/wiki/Defining-triggers#defining-masks.

I believe we're missing each other on this one. If I may re-explain:
A valid trigger event is not triggered as the acquired image to analyse is "too early" in the motion detected event's time line, whereas a subsequent image in that same motion detected event would've triggered an alert.
Applying a mask helps, yet considerably reduces the area that can be monitored.
This is also evident when a valid object is already in the viewing area. When a new object enters the area, the notification is triggered, yet the notification image reflects the already stationary object and not the new object that triggered the motion event.
Once again, this can be managed by applying a mask, yet considerably reduces the area that can be monitored, as one would require an larger area to be monitored once an object, ie car is located in the driveway.
With the main idea being to be alerted (via Telegram) on suspicious activity through the presentation of a still image, upon which one would then decide whether to fire up the VMS app and validate the situation. The image thus presented via Telegram is of utmost importance in that decision making.
As such, it's surely acceptable being alarmed more than once than not at all. (i.e consider a toddler venturing closer to a pool)
Multiple images for analysis is also reflected in GentlePumpkin's BlueIris tutorial under point 2.5 where an image is captured every 5 seconds upon a motion event.
The focus being on setting the motion detection at it's most sensitive and have DeepStack analyse 3 or 5 successive images of that same motion event.
That is ... unless I'm the one missing the plot.

A good example of the image being "too early" for analysis is with shades created during the day when the wind blows or headlights of vehicles at night.

Thanks for the additional details. I understand what you mean by "too early" now. From your prior comment:

the creation of a motion exclusion frame around the border of the viewing image, is the best resolve.

This is supported today with the masks feature. You can define a motion exclusion border around the image so that something has to be more fully in frame before triggering a motion capture event.
However, even with masks in place this depends on Nx Witness being able to send images for analysis frequently. It does no good to add a mask and then ignoring the first image if Nx Witness doesn't quickly send a second image with the motion object more in frame.
I'm thinking about the "delay" idea you mentioned earlier, but that only works if the Nx Witness system can quickly send follow-up images. When you change the "Interval of action" setting to off, how quickly does Nx Witness send additional images after the first motion trigger?

After playing with the exclusion border idea, it's unfortunately proven not to resolve the issue.
Nx sends only a single image upon doing the HTTP call : "http://test:test@:/ec2/cameraThumbnail?cameraId=AE0000-0000-0000-4321"
In the sample code, I wrapped it in a for loop which provided 5 images delayed by 500ms. This worked quite well. Thus the query if you also forsee having it wrapped in a for loop. The loop determining the number of images to acquire, with a delay (i.e 500ms) between the images being requested. The only issue then, was when an "identifiable" object was already in the view, when motion was triggered. The first images would show only the initial stationary object, whereas follow-up images then clarified the reasoning for the motion trigger by showing the stationary and new object together.
Regarding the "Interval of action" settting to off, Nx's motion detection does not re-trigger or re-arm within the motion event. Nx advised they do not support a re-arm or re-trigger option.

Thanks for the update. I have no plans to add support for looping to request multiple images. Nx Witness is clearly more trouble to support than is worth my effort for a little project I made primarily for BlueIris.
Since this is open source you are welcome to fork the repo and add your own changes for your own copy if necessary. Although, at $150/camera license for Nx Witness, you could buy a Windows 10 license, install BlueIris and everything would just work...

Would you mind entertaining the "delay" option ?

Noob warning, but may I query what the concerns or negative effects could be by wrapping the HTTP call in a for loop ?
Apologies if I'm coming across a bit determined, but it feels just on the brink of being fully functional.


💡 [REQUEST] - Streaming LLM Support, or Any Better Solution?

起始日期 | Start Date
No response
实现PR | Implementation PR
I'm opening this issue here so that we can track progress on the long-context extension with minimal VRAM requirements. Many users have been experiencing out-of-memory (OOM) issues when dealing with long documents.
Please let me know if you need help. I will see if I can be of any use.
相关Issues | Reference Issues
No response
摘要 | Summary
OOM with handling a long sequence.
基本示例 | Basic Example
https://github.com/QwenLM/Qwen-Agent/issues/22#issuecomment-1751868858
https://github.com/QwenLM/Qwen-Agent/issues/3#issue-1914489384
缺陷 | Drawbacks
It may involve writing CUDA kernels and can be challenging to implement efficiently.
未解决问题 | Unresolved questions
No response

I have added support for the StreamingLLM model of QWen in the attention_sinks project, you can refer to here: https://github.com/tomaarsen/attention_sinks/pull/15

StreamingLLM can indeed reduce the use of VRAM, but it cannot expand the context window(like rope_scaling) of the model itself. The author of StreamingLLM has a more detailed explanation in the FAQ: https://github.com/mit-han-lab/streaming-llm#faq

@Sanster ``您好，我使用了attention_sinks的示范代码，但输入长文本的时候依然OOM，请问是哪里使用不当吗？期待得到您的回复~
from transformers import AutoTokenizer, TextStreamer, BertModel, BertTokenizer
from attention_sinks import AutoModelForCausalLM
device_map = "cuda:1"
model = AutoModelForCausalLM.from_pretrained(
    args.checkpoint_path,
    device_map=device_map,
    trust_remote_code=True,
    resume_download=True,
    attention_sink_size=4,
    attention_sink_window_size=252,
).eval()
tokenizer = AutoTokenizer.from_pretrained(args.checkpoint_path,trust_remote_code=True)
tokenizer.pad_token_id = tokenizer.eos_token_id`

#/v1/chat/completions接口中文本生成部分参考示例代码修改为如下代码
input_ids = tokenizer.encode(query, return_tensors="pt").to(model.device)
with torch.no_grad():
    # A TextStreamer prints tokens as they're being generated
    streamer = TextStreamer(tokenizer)
    generated_tokens = model.generate(
    input_ids,
    generation_config=GenerationConfig(
        # use_cache=True is required, the rest can be changed up.
        use_cache=True,
        min_new_tokens=100_000,
        max_new_tokens=1_000_000,
        penalty_alpha=0.6,
        top_k=5,
        pad_token_id=tokenizer.pad_token_id,
        eos_token_id=tokenizer.eos_token_id,
    ),
    streamer=streamer,
    )
    output_text = tokenizer.decode(generated_tokens[0], skip_special_tokens=True)

报错日志如下

Qwen2 will support GQA and sliding window attention to address the memory requirements of long sequences. There are currently no plan to backport them to Qwen(1.0).

Qwen2 will support GQA and sliding window attention to address the memory requirements of long sequences. There are currently no plan to backport them to Qwen(1.0).

@jklj077 Although Qwen2 has implemented sliding window attention, the default config of Qwen2-7B or 72B both set the parameter use_sliding_window, which can not use SWA by default.
I' m wonder that if it may cause the accuracy drop when we use sliding window attention.


Ansible: Common role for K8s client certs

This pull request adds the following updates:

Update the task that modifies minion's /etc/hosts file according to this discussion: https://github.com/openvswitch/ovn-kubernetes/pull/511#discussion_r235523800
Add common role for K8s client certs. This commit refactors the generation of K8s client SSL certifications. For now, the only client SSL certificates generated are the ones for the minion machines. But in the future, we might have K8s client SSL certs generated for other machines.

Signed-off-by: Ionut Balutoiu<EMAIL_ADDRESS>

@aserdean @alinbalutoiu Please review.

/LGTM


Apply CodeGPT to multiple files

While not an issue, being able to refactor across multiple files would be a nice feature to add.  We have access to high-token limit models at our firm.   CodeGPT would detect somehow file selection (via left pane?) and send all of the contents to ChatGPT.

Context-aware chat experience is something I am working on, but it may take some time before it is properly released.


Prevent cigars and some other masks from blocking drinking/eating.

Currently just done via a "BlocksMouth" tag. If ever mask lowering/raising gets added, this should probably just become a bool in MaskComponent or whatever.
:cl:

fix: Cigars and clown/mime masks no longer block drinking & eating.

why cant BlocksMouth and ConcealsFace be the same tag

why cant BlocksMouth and ConcealsFace be the same tag

Veils and the like.

yeah i suppose

When I added the "ConcealsFace" for conditionally blocking eating for helmets/headwear my thought process was just to keep it somewhat general, so that the tag could be re-used for other things like identity or something.
But for things like surgical masks, I don't think those are sufficient to hide anyone's identity.  Given that I now need a tag for that, and that we have no real plans for how identity and the like will eventually work, I should really just replace "ConcealsFace" with "CoversMouth". I'll add a commit that does that in a sec.

peanut gallery, but might the best way to have a tag for each 'sub-part' of the body that could be covered for each wearable item?
So you could have eyestab-prevention, eat-blocking, face concealing, but then also have stuff like whether a hardsuit includes shoes or whether a uniform item covers the arms?

I'll just rewrite this to work like FlashImmunityComponent & FlashAttemptEvent


window is missing Intersection Observer API

Example:
new IntersectionObserver(() => {}); // no error
window.IntersectionObserver // error: Property 'IntersectionObserver' does not exist on type 'Window'.

Related issue: https://github.com/Microsoft/TypeScript/issues/16255
If I wanted to raise a PR to fix this, am I right in thinking that I need to add a property to the Window interface in addedTypes.json?

added by https://github.com/Microsoft/TSJS-lib-generator/pull/270


pipenv install error

Be sure to check the existing issues, both open and closed.
Describe the issue briefly here.
Describe your environment

OS Type win10 x64
Python version: Python 2.7.13
Pipenv version: version 8.3.2

Expected result
install this sucess
https://github.com/honeynet/droidbot
Actual result
pipenv install -e .
Installing -e .…
Traceback (most recent call last):
File "C:\Python27\Scripts\pipenv-script.py", line 11, in
load_entry_point('pipenv==8.3.2', 'console_scripts', 'pipenv')()
File "c:\python27\lib\site-packages\pipenv\vendor\click\core.py", line 722, in call
return self.main(*args, **kwargs)
File "c:\python27\lib\site-packages\pipenv\vendor\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\python27\lib\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\python27\lib\site-packages\pipenv\vendor\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\python27\lib\site-packages\pipenv\vendor\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\python27\lib\site-packages\pipenv\cli.py", line 1880, in install
converted = convert_deps_from_pip(package_name)
File "c:\python27\lib\site-packages\pipenv\utils.py", line 547, in convert_deps_from_pip
os.path.isfile(req.name)) and not req.vcs:
File "c:\python27\lib\genericpath.py", line 37, in isfile
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).

@mmyydd sorry you ran into this bug, it was resolved in #958 and #1095 and has been released today in pipenv 9.0, so you can go ahead and upgrade your pipenv and that should help.  Let me know if you have any other issues, but I'm going to go ahead and close this out for now!


Cannot add new property '__reanimatedHostObjectRef'

When I pass the data returned from the API I get an error: Cannot add new property '__reanimatedHostObjectRef'

Interesting. I'll try

Are there any examples that can be replicated？

Hi? Look forward to solving your problem, but I need an example.

If there is Demo, I will reopen it.

If there is Demo, I will reopen it.

i have same issue with<EMAIL_ADDRESS>

i have same issue with<EMAIL_ADDRESS>
Are there any examples that can be replicated？

i have same issue with<EMAIL_ADDRESS>
Are there any examples that can be replicated？

i have same issue with<EMAIL_ADDRESS>
Are there any examples that can be replicated？

I'm sorry. It doesn't seem to have anything to do with the reanimated version. It seems to happen in a specific layout situation, so I'm looking for the cause

i have same issue with<EMAIL_ADDRESS>
Are there any examples that can be replicated？

The component that caused the error is as follows.
`import React, { useState } from 'react';
import { useSx, View } from 'dripsy';
import Image from 'app/src/components/Image';
import Carousel from 'react-native-reanimated-carousel';
import { ImageCarouselProps } from './types';
const ImageCarousel: React.FC = ({
sx,
width,
height,
paiginationSx,
data,
showPagination = true,
}) => {
const [index, setIndex] = useState(0);
const toSx = useSx();
return (
<View
sx={{
position: 'relative',
...sx,
}}
>
<Carousel
data={data}
width={width}
height={height}
vertical={false}
renderItem={({ item, index: dIndex }) => {
return (
<View
key={dIndex}
sx={{
width,
height,
backgroundColor: '$lightblack',
position: 'relative',
justifyContent: 'flex-end',
}}
>
<Image
style={toSx({
top: 0,
left: 0,
position: 'absolute',
width: '100%',
height: '100%',
})}
source={{
uri: item.imgSrc,
}}
/>
{item.InnerContent}

);
}}
onSnapToItem={oIndex => {
setIndex(oIndex);
}}
/>

);
};
export default ImageCarousel;
`

i have same issue with<EMAIL_ADDRESS>
Are there any examples that can be replicated？

The component that caused the error is as follows.

i have same issue with<EMAIL_ADDRESS>
Are there any examples that can be replicated？

The component that caused the error is as follows.

In my opinion, this problem seems to occur when a specific type of object is included in the data array. For example, if you put [1,2,3] in data, no error occurs.

i have same issue with<EMAIL_ADDRESS>
Are there any examples that can be replicated？

The component that caused the error is as follows.

In my opinion, this problem seems to occur when a specific type of object is included in the data array. For example, if you put [1,2,3] in data, no error occurs.

I found the cause. This error occurs when JSX is included in the item object of data.

I used a very bad solution but can fix this for now and wait for later releases:
data={JSON.parse(JSON.stringfy(data)}

Can you give me a repo to reproduce?

Can you give me a repo to reproduce? I've tried many times and I still can't reproduce your problem.

@baronha @Wuyialex

@dohooo I am currently struggling with this error as well but I wasn't able to reproduce it outside my app. I have large array of objects where are other objects and arrays nested in each other but I am not quite sure if it is causing an error. When I am passing this object to Carousel through props and some clear function then I am getting an error but if I stringify it copy and put it instead then everything works fine.

@dohooo I am currently struggling with this error as well but I wasn't able to reproduce it outside my app. I have large array of objects where are other objects and arrays nested in each other but I am not quite sure if it is causing an error. When I am passing this object from my component props (data is fetched from api) to Carousel then I am getting an error but if I stringify it copy from console and put it instead then everything works fine (that's why baronha solution works).

Show me a copy of your real data？ it can be fake.

@dohooo Here it is
[
  {
    "object": {
      "name": "category-name",
      "color": "#F97316",
      "iconUrl": "https://via.placeholder.com/300.png"
    },
    "primary": [
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#F97316",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#F97316",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#F97316",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      }
    ],
    "secondary": [
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#F97316",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#F97316",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#F97316",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#F97316",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      }
    ]
  },
  {
    "category": {
      "name": "category-name",
      "color": "#6366F1",
      "iconUrl": "https://via.placeholder.com/300.png"
    },
    "primary": [
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#6366F1",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#6366F1",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#6366F1",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      }
    ],
    "secondary": [
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#6366F1",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#6366F1",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#6366F1",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#6366F1",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      }
    ]
  },
  {
    "category": {
      "name": "category-name",
      "color": "#4ade80",
      "iconUrl": "https://via.placeholder.com/300.png"
    },
    "primary": [
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#4ade80",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#4ade80",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#4ade80",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      }
    ],
    "secondary": [
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#4ade80",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#4ade80",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#4ade80",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#4ade80",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      }
    ]
  },
  {
    "category": {
      "name": "category-name",
      "color": "#67E8F9",
      "iconUrl": "https://via.placeholder.com/300.png"
    },
    "primary": [
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#67E8F9",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#67E8F9",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "PRIMARY",
          "object2": {
            "name": "category-name",
            "color": "#67E8F9",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      }
    ],
    "secondary": [
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#67E8F9",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#67E8F9",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#67E8F9",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      },
      {
        "id": "some-string-ids",
        "number1": 1,
        "number2": 0,
        "object": {
          "name": "some-object-name",
          "type": "SECONDARY",
          "object2": {
            "name": "category-name",
            "color": "#67E8F9",
            "iconUrl": "https://via.placeholder.com/300.png"
          }
        }
      }
    ]
  }
]

@c0nsoleg I may find the problem. Can you try it with me? Discord is here.

https://discord.gg/KsXRuDs43y

https://github.com/GiridharKarnik/advanced-react-native-sortable-list/issues/13

I don't think I can fix it any time soon because I really can't reproduce it. If someone can provide me with a stable repo, I'll try again, but I think I'll put it on hold... I'll pin this issue

Hm, I seldomly saw the same issue, but I did not have the time to investigate yet. Since the crash is in the native part of reanimated2, it could also be a ra2 bug?

Hm, I seldomly saw the same issue, but I did not have the time to investigate yet. Since the crash is in the native part of reanimated2, it could also be a ra2 bug? Also for me it only happend on android.

I also think it might be a bug in RA2

This one happens when I use an array from redux. Temperary solution:
data={JSON.parse(JSON.stringify(data))}

It seems that the reason is that the value we passed in was modified? We cut the association by “parser”. But how do we know what has been modified

Thanks for the awesome library! However, I am having the same issue with data coming from API (Redux) :(

@Saad-Bashar use it
data={JSON.parse(JSON.stringify(data))}

<EMAIL_ADDRESS>was released. Did it fix this issue? Can anyone tell me about it

No, I'm sorry, the issue is still the same.

No, I'm sorry, the issue is still the same.
The Issue is still the same, but is now in line 38 instead of 28, probably due to code changes in reanimated.

That's an important clue. Maybe it's showing that it's not Carousel?

Hm, I am not 100% sure. Either that, or it is somehow used in an unsupported way. I have now an setup where I can directly reproduce this on Android, I'll investigate asap.

The issue happens like following:
When you assign data to the Carousel (in the data Props) and bind the exact same objects to another View.
When you then send the Object to any native Component, the Carousel will produce this exact error.
When you create a deep-copy before sending it to the native Module, e.g. by using
const myCopy = Object.assign({}, originalObject);
it will not crash anymore.
So apparently the RN Module Bridge does (maybe freeze?) the Object and therefore ruins it for Reanimated2.
My conclusion is, that this is a Reanimated2 issue, since it should check the Object's State and handle it properly, if the Object is e.g. frozen (or whatever it is, I did not dig into the bridge yet).

The issue happens like following:
When you assign data to the Carousel (in the data Props) and bind the exact same objects to another View.
When you then send the Object to any native Component, the Carousel will produce this exact error.
When you create a deep-copy before sending it to the native Module, e.g. by using
const myCopy = Object.assign({}, originalObject);
it will not crash anymore.
So apparently the RN Module Bridge does (maybe freeze?) the Object and therefore ruins it for Reanimated2.
My conclusion is, that this is a Reanimated2 issue, since it should check the Object's State and handle it properly, if the Object is e.g. frozen (or whatever it is, I did not dig into the bridge yet).

It would be better if there is a repository that can reproduce this problem.

https://github.com/software-mansion/react-native-reanimated/issues/1517#issuecomment-1041810730
I made the repo

The latest progress

We figured out that data used in reanimated hooks like useDerivedValue  and useAnimatedReaction only access length, maybe we can move it to outside, instead of passing the whole data to reanimated worklet: https://github.com/ncuhome/react-native-reanimated-carousel/commit/7e4601626b073ddd59ee62bec73c47fa90a26cce
Do you think this will work?

We figured out that data used in reanimated hooks like useDerivedValue and useAnimatedReaction only access length, maybe we can move it to outside, instead of passing the whole data to reanimated worklet: ncuhome@7e46016
Do you think this will work?

Wow, An interesting solutions. But I did't to try it, Dit you try it with above question? This does seem to have something to do with Redux, Can you reproduce the problem and test it?

We figured out that data used in reanimated hooks like useDerivedValue and useAnimatedReaction only access length, maybe we can move it to outside, instead of passing the whole data to reanimated worklet: ncuhome@7e46016
Do you think this will work?

Wow, An interesting solutions. But I did't to try it, Dit you try it with above question? This does seem to have something to do with Redux, Can you reproduce the problem and test it?

We use immer in our app, the same like Redux does.
When passing data produced by immer to ReanimatedCarousel, will ocur the error.
But if we move length accessing outside like ncuhome@7e46016, the error fixed.
But we have not test totally, maybe there still are some edge cases we didn't test out.

We figured out that data used in reanimated hooks like useDerivedValue and useAnimatedReaction only access length, maybe we can move it to outside, instead of passing the whole data to reanimated worklet: ncuhome@7e46016
Do you think this will work?

Wow, An interesting solutions. But I did't to try it, Dit you try it with above question? This does seem to have something to do with Redux, Can you reproduce the problem and test it?

We use immer in our app, the same like Redux Toolkit does. When passing data produced by immer to ReanimatedCarousel, will ocur the error. But if we move length accessing outside like ncuhome@7e46016, the error fixed. But we have not test totally, maybe there still are some edge cases we didn't test out.

Cool, Submit a PR and I'll release a beta version later and then ask everyone to give it a try

Try this!~ 🍺
yarn add<EMAIL_ADDRESS>

I will release the official version if the problem is fixed. @baronha @anhquan291 @KusStar @yairopro @braandl @Wuyialex @c0nsoleg

It looks fine, I have released the official version, 2.3.3.

Faced with this issue in v3.1.1
This fix helps data={JSON.parse(JSON.stringify(data))}


[enhancement]Configuring issue templates for Open-Local

Can you be more specific on this requirement?

done.


attract-mode: init at 2.2.0

Motivation for this change
This adds attract mode a graphical frontend for emulators to be used on arcade machines or multi media pcs.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Builds for me. Travis failure seems unrelated.