not seeing core device in console after install

Describe the bug
A clear and concise description of what the bug is.
After running the installation nothing is shown in the console. The config.yaml is correct, I can confirm that.
To Reproduce
Steps to reproduce the behavior. If possible, provide a minimal amount of code that causes the bug.
I followed the steps in documentation manually install the GGC, but nothing shows up in console
Added ggc_user to ggc_group  Successfully set up Nucleus as a system service
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
Tell us what actually happened.
Environment

OS: Raspbian OS 32-bit

JDK version: 8

Nucleus version: 2.0.4

Additional context
Add any other context about the problem here.
logs:
2021-03-05T15:09:32.023Z [INFO] (main) com.aws.greengrass.util.platforms.Platform: Getting platform instance com.aws.greengrass.util.platforms.unix.UnixPlatform.. {} 2021-03-05T15:09:32.133Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: No ongoing deployment detected. Proceed as default. {} 2021-03-05T15:09:32.134Z [INFO] (main) com.aws.greengrass.config.Configuration: config-loading. Read configuration from a file path. {path=./config.yaml} 2021-03-05T15:09:32.446Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: effective-config-dump-complete. {file=/greengrass/v2/config/effectiveConfig.yaml} 2021-03-05T15:09:34.490Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: effective-config-dump-complete. {file=/greengrass/v2/config/effectiveConfig.yaml} 2021-03-05T15:09:34.497Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Waiting for services to shutdown. {} 2021-03-05T15:09:35.571Z [ERROR] (Copier) com.aws.greengrass.util.orchestration.SystemdUtils: systemd-setup. {stderr=Created symlink /etc/systemd/system/multi-user.target.wants/greengrass.service → /etc/systemd/system/greengrass.service., command=systemctl enable greengrass.service} 2021-03-05T15:09:36.046Z [INFO] (main) com.aws.greengrass.util.orchestration.SystemdUtils: systemd-setup. Successfully set up systemd service. {} 2021-03-05T15:09:36.046Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: system-shutdown. {main=null} 2021-03-05T15:09:36.060Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: effective-config-dump-complete. {file=/greengrass/v2/config/effectiveConfig.yaml} 2021-03-05T15:09:36.060Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Waiting for services to shutdown. {} 2021-03-05T15:09:36.062Z [INFO] (Serialized listener processor) com.aws.greengrass.lifecyclemanager.KernelLifecycle: executor-service-shutdown-initiated. {} 2021-03-05T15:09:36.062Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Waiting for executors to shutdown. {} 2021-03-05T15:09:36.062Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: executor-service-shutdown-complete. {} 2021-03-05T15:09:36.064Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: context-shutdown-initiated. {} 2021-03-05T15:09:36.066Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: context-shutdown-complete. {} 2021-03-05T15:09:36.066Z [INFO] (Serialized listener processor) com.aws.greengrass.dependency.Context: Interrupted while running tasks. Publish thread will exit now.. {}
E.g. what is the impact of the bug?

I met the same error  how did you fix that


Fixed new Random Encouragement Quote on each progress update

What issue are you solving? (Give #issuenumber)
Issue #29
How do you solve it? (please write this so a human can understand it - bulletpoints are okay)
Create a list of different quotes for random days and use a default list for the last day to configure text so that random arrays can be submitted using the list.
Also created a function new_no() that enables to generate a new quote everyday
If there is something specific in your solution, that you would like the reviewer to give feedback on, tell us here:
This is my first pull request and first time contributing to open source. It would be really helpful if you could advise me how i should proceed and correct me if I'm missing something.
If this is your first pull request to the prog-o-meter project, we would really appreciate it if you would fill out this Google form.
This lets us know more about our contributors, and what we can do to make it easier and nicer to contribute to the prog-o-meter project.
Please submit your answer here and put an 'x' in the box below.

[ x ] It is my first pull request to prog-o-meter, and I have answered the survey

Awesome, now the format is correct! How did you solve it, I am curious to learn more :)
I will take a look and review your code as soon as possible :)

Sure, thanks, I'll take a look at them. I'll also try to resolve the spacing errors.

I found your review really helpful. I have managed to integrate the changes. Have a look and inform me regarding any more suggestions. :)

@lineaba  Yes, I'm using Atom for writing the code. I am able to view them as spaces instead of tabs. Not sure why it shows as tabs for you.

Can I get you to check in the bottom of the window what setting you currently have (LF or CRLF), and see if changing from one to the other makes a difference?

Currently, it is set to CRLF, upon changing that and pushing it, the changes are appearing to the entire file like it was happening previously and not to the specific changed lines. Also no specific changes appear to be there in the Atom when I change it.

Hey @kevalvc Sorry it has taken me so long.
I still don't know what causes those weird changes to the lines to happen, but I have been able to merge your code in, and it does not seem to affect the code, so all should be good now.
Thank you so much for your contribution, I hope you'll keep contributing in the future

@lineaba Alright, thanks you so much for the update. Will surely be contributing further ahead 😊.


Fix external Outbound Transport loading code

As the code currently stands, only internal outbound transports are able to be loaded. With these changes, it should be possible to load a new outbound transport via a plugin.

Codecov Report

Merging #1812 (4987bec) into main (6199dd8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1812   +/-   ##
=======================================
  Coverage   93.75%   93.75%
=======================================
  Files         534      534
  Lines       33822    33826    +4
=======================================
+ Hits        31711    31715    +4
  Misses       2111     2111

@frostyfrog Is this PR ready for review? I think this PR should be part of 0.7.4 release. Let me know if I can help with anything.

@frostyfrog -- can you please update the PR to include the base branch.  Please watch for other merges in the next hour or so, and let me know when you provide the update, so I can merge this before I merge others where I can update the base myself.

@swcurran Feel free to give me another ping if needed. My apologies that this PR didn't grant permissions. My mistake

No prob...I'm watching it.... :-)


Parent mechanism

implement 'parent_metadata' and 'parent_feedback' parameters in server so that information from server (e.g. OGC SOS) and item (e.g. sensor) are combined.

The implementation already contains transformers for both SensorML and SOS, and can create labels for SOS capabilities alone, so basically the metadata and parent metadata will have to be run one after the other with the same label and everything should work...


Silence non-actionable 50X errors from Signal server

This raises an error and then configures Sentry to ignore it since we have a monitoring task set up to alert us if there is an issue for more than 8 minutes
Fix #1420

I thought it might be valuable to add a comment to explain why we ignore the error (and why we get a 4xx error when the Signal service is unavailable), because that’s something that isn’t intuitive. The reason for that lies in a third-party component, so no matter how well our own code is structured, it will still be confusing.

Sorry, I didn't mean the comment in the rescue, I can understand why that would be helpful, after all we are rescuing and then doing nothing. The comment helps to explain why we aren't doing anything. I was talking about the comment that we have to explain that calling res.value on anything other than a 200 throws an error. See this example of where we use a comment like this.
This to me obfuscates what is happening, it's not explicit that calling res.value would throw an error in case of anything other response code.


Rethink start and end parameters of DAV storages

With the new config format, not-turing-complete methods of achieving this functionality should be possible.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7120160-rethink-start-and-end-parameters-of-dav-storages?utm_campaign=plugin&utm_content=tracker%2F574345&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F574345&utm_medium=issues&utm_source=github).

Any opinions? There are standards for writing datetimes (ISO-something) but I'd like to know if there are common ways to denote timedeltas.

I don't quite understand what the underlaying issue is, but ISO8601 also specifies how to format time intervals. (wikipedia article)

Sorry, I liked to intervals above, what you want to look at is durations.

Right, this (from the docs):
start_date = datetime.now() - timedelta(days=365)
end_date = datetime.now() + timedelta(days=365)

Embedding a scripting language is IMO not great (if we were to allow Python code in the config, IMO we should go the full way and just make the config a Python script. Not that I would want to do this, but at least it's better than having a mixture of Python and INI-config).
It could instead look like this:
start_date = +P1Y
end_date = -P1Y

So if the user specifies a duration, it's interpreted as "in the future/past" depending on the prefixed sign. If they specify a ISO timestamp, it's interpreted as just that.

The question is: Are there parsers for this (esp durations) that take as much work as possible from us? Is this even worth it?
I personally think a ISO-based syntax is much nicer for the avg. (non-Python writing) user.

isodate seems to solve this problem. After a quick glance at the source, it looks pretty solid.

https://github.com/gweis/isodate
From a quick glance, parse_duration returns different types depending on the input string, pretty annoying.
Parser seems to be solid though, works as advertised. We could first try to parse as duration, catch the exception and then parse as ISO datetime.

If we get a Duration object out of this, we need to convert to timedelta.
If we have a timedelta, we need to add it to datetime.now()
Otherwise, just validate we have a valid date/datetime.

That said, looking at issues and PRs, the project seems a bit stale :(

This one maybe? https://bitbucket.org/nielsenb/aniso8601


Cannot enter a backslash in a query, instead a prompt to fetch all lines appears (German keyboard layout)

System information:

Windows 10 64 Bit (German)
DBeaver 7.3.4
Keyboard layout: German/QWERTZ (Deutsch IBM)

Connection specification:

Server: PostgreSQL 11.3
Driver name: PostgreSQL JDBC Driver 42.2.8
Access via SSH tunnel defined in DBeaver

Describe the problem you're observing:
When trying to enter a backslash, I’m asked to confirm fetching all lines. I have to enter the backslash in an external application and copy it from there. Entering a backslash is done via Alt Gr + ß, see https://en.wikipedia.org/wiki/German_keyboard_layout#/media/File:KB_Germany.svg, top line, third key from the right.
Note: In most cases (the exception being games and other programs with more direct keyboard access), Windows does not differentiate between Alt Gr and Ctrl + Alt.
Steps to reproduce, if exist:

Select some data from table invoice: execute SELECT * FROM invoice (this step is required; the table exists and is not empty)
Change query to SELECT * FROM invoice WHERE address LIKE '%' and try to enter a backslash (\) after the percent sign
Backslash is not entered, instead a prompt appears:

Include any warning/errors/backtraces from the logs
No log entries occur in this case

Thank you for the report.

Fetch all lines shortcut has been changed to CTRL+SHIFT+=.

verified


test PR

Test PR, do not review or merge.
#hold-off

#hold-off

@rmca14 : Thanks for your contribution! The author, @MicrosoftGuyJFlo, has been notified to review your proposed change.

@wiazur
test message

test comment


Tutorial: Working with Blender assets and getting creatures in-game

Akin to the other tutorial requests (#2158, #2155, #2153) this one being focused on creating a new creature model from scratch and making it function in-game with animations and maybe some minimal AI to make it move (like the "stray" behavior)
We have quite a few existing resources on this topic, but putting it all together in a tutorial module + wiki would go well with other tutorials.
@glasz and @flo in particular are well-versed on this topic, with past work of relevance.
The art forum guide thread has a bunch of related links: http://forum.terasology.org/threads/art-resources-guides-tutorial-videos-contributing-info.786/
There is also https://github.com/MovingBlocks/Terasology/wiki/Using-Blender-Assets-as-Miniion-Models but it  is pretty out of date, we should delete it after rescuing anything still of worth
This might be a good time to consider advanced model components and materials beyond what we have working at present. Varying multiple materials in one model to colorize players, for instance, or allowing a tool to be attached to a model (like allowing a single base Oreon to wield different tools). Or even letting a model fall apart as it is taking damage.

Closing this as completed by multiple people including @kartikey0303 as part of GSOC 2017


18027- update AGM location change filing types and codes

Issue #: /bcgov/entity#18027
Description of changes:

update AGM location change key in enums (filing-types.ts, filing-names.ts, filing-codes.ts)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-filings-ui license (Apache 2.0).

Don't merge until CI checks succeed.


Stage View - Loading a black page on deeplink

Hi Team,
While working on one sample related to Tabs link unfurling and Stage View, we observed a blank page while using deeplink in stage view.
We corrected it and it worked in our sample Link to sample
The specific changes link are as follows:

csharp solution

Using executeDeepLink (Refer function createLink())
Using OpenUrl (Refer method GetDeeplinkForStageView())

nodejs solution

Using executeDeepLink (Refer function createLink())
Using OpenUrl (Refer method GetDeeplinkForStageView())

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

ID: b9bfa5c3-8227-c122-c4ff-a80786bc11d3
Version Independent ID: b8a577f6-be73-14d7-3c6a-32eed5568b51
Content: Tabs link unfurling and Stage View - Teams
Content Source: msteams-platform/tabs/tabs-link-unfurling.md
Product: msteams
GitHub Login: @Rajeshwari-v
Microsoft Alias: surbhigupta

Hi @Prasad-MSFT i would like to work on this issue


TOC extraction logic should be moved to the backend

The TOC generation from SUMMARY.md should be run on the fly by the backend to keep in sync with any changes to the .md. Currently, it is hard-coded in the compiled pxtarget.json, thus tied to the / of the application.

Fixed in https://github.com/Microsoft/pxt-backend/commit/eb2bf5bb54d096e6591eff084d39c2f4f9e17e74


Run configuration per file dialog doesn't display complete

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Run configuration per file dialog is too tall for my screen and I can't scroll down to see the complete information on it.

I suggest fixing the max height of the dialog to the height of the Spyder's window and adding a scroll bar when it's not fully displayed.
(It might be a MacOS problem)
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version: 4.1.4
Python version:
Qt version:
PyQt version:
Operating System name/version: macOS Catalina

Dependencies

PASTE DEPENDENCIES HERE

@steff456 can you take a look at this one?

Thanks @juanis2112 for reporting this. Could you let us know what's your screen size?
Also, I think we should discuss this with Isabella in our next meeting. I don't know if adding a scrollbar is the best option in this case and I'm not sure how to reduce the dialog's height.
What do you think @juanis2112 and @steff456?


Anyone recommend a good forum

I searched the README for "forum" and no results were found. "Discussion" turned up one result.
Can anyone recommend a few good cpp forums?
Yes, I know I can search Duck Duck Go or some other engine, but I'm just looking for recommendations from actual people.

https://cpplang.slack.com/ ?

Ah, thanks. I wasn't very clear though. I meant a web forum not a chat forum.

I should have started this as a discussion instead of an issue. Admin wanna convert this issue to a discussion?


Support for year parameter in crons

AWS Event Bridge requires a year parameter. Would be great if this library could support that sixth parameter
https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html#eb-cron-expressions
Also, thanks for building this library 👍

Hey @sirfuzzalot, refer to the answer to your other issue.

Resolved in other issue


Lots of errors when running etcd-operator within a namespace

I have just started etcd-operator from the example/ folder within its own namespace (set by metadata)
The log output does not look healthy:
time="2017-12-08T14:50:08Z" level=info msg="etcd-operator Version: 0.7.2"
time="2017-12-08T14:50:08Z" level=info msg="Git SHA: ba1ce6e"
time="2017-12-08T14:50:08Z" level=info msg="Go Version: go1.9.1"
time="2017-12-08T14:50:08Z" level=info msg="Go OS/Arch: linux/amd64"
E1208 14:50:08.501831       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:11.955472       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:16.215041       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:19.825841       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:22.878433       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:25.911264       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:29.561729       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:31.728022       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:34.105695       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:36.458018       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"
E1208 14:50:39.200058       1 leaderelection.go:224] error retrieving resource lock etcd/etcd-operator: endpoints "etcd-operator" is forbidden: User "system:serviceaccount:etc$:default" cannot get endpoints in the namespace "etcd": Unknown user "system:serviceaccount:etcd:default"

Please follow the install guide and setup RBAC correctly.

Terribly sorry to have overseen this obvious issue.
Thank you for pointing me in the right direction.
I have now added the rbac roles-/bindings and the cluster operates now.


Build failed after flutter upgrade v 2.5.3

Steps to Reproduce

Flutter v1.22.6 to v2.5.3
Running in Xcode will work
Using flutter run fails

Logs

Logs
```
。。。
                --- xcodebuild: WARNING: Using the first of multiple matching destinations:
                { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
                { platform:iOS Simulator, id:4177487D-299A-4880-949D-6EA036E6DE75, OS:12.4, name:iPad (5th generation) }
                { platform:iOS Simulator, id:1563497F-4EAA-4480-93EF-247758283933, OS:12.4, name:iPad (6th generation) }
                { platform:iOS Simulator, id:8D1F4375-72F8-4BFB-B4E0-20496B470116, OS:15.0, name:iPad (9th generation) }
                { platform:iOS Simulator, id:B9D05046-ECD0-47F3-89AC-FFB62EB08ECD, OS:12.4, name:iPad Air }
                { platform:iOS Simulator, id:2B8DB858-E6BB-4B2F-8894-645A96667F1B, OS:12.4, name:iPad Air (3rd generation) }
                { platform:iOS Simulator, id:DEDBAF3D-7699-4B40-BEDE-15EC0B3C3300, OS:15.0, name:iPad Air (4th generation) }
                { platform:iOS Simulator, id:8B16F713-E90E-4824-B556-20CDED1A8C12, OS:12.4, name:iPad Air 2 }
                { platform:iOS Simulator, id:ADE35E26-927F-48FF-ABC3-D5D55E3E1F3D, OS:12.4, name:iPad Pro (9.7-inch) }
                { platform:iOS Simulator, id:0E93A6BC-E30F-4543-905D-C071F104FA29, OS:15.0, name:iPad Pro (9.7-inch) }
                { platform:iOS Simulator, id:D4F4EC4D-CBC4-462E-930E-BDEFC9789FE0, OS:12.4, name:iPad Pro (10.5-inch) }
                { platform:iOS Simulator, id:A887B7AF-FF65-4032-8002-EC4194F114E5, OS:12.4, name:iPad Pro (11-inch) (1st generation) }
                { platform:iOS Simulator, id:73892239-17C0-4A33-96EE-FE090F015EB3, OS:15.0, name:iPad Pro (11-inch) (3rd generation) }
                { platform:iOS Simulator, id:CF7AF77E-2AEC-4274-8E0A-31CC4B517A3D, OS:12.4, name:iPad Pro (12.9-inch) (1st generation) }
                { platform:iOS Simulator, id:61904EFD-3DFC-4CBA-B1D2-E8C9052CCA61, OS:12.4, name:iPad Pro (12.9-inch) (2nd generation) }
                { platform:iOS Simulator, id:97891139-FED8-47F3-AF94-832E333B50F7, OS:12.4, name:iPad Pro (12.9-inch) (3rd generation) }
                { platform:iOS Simulator, id:3F11DE57-09BD-4774-9EB0-3EB55D47C020, OS:15.0, name:iPad Pro (12.9-inch) (5th generation) }
                { platform:iOS Simulator, id:4C9DD5AC-8B14-47AA-9B4E-726860A890C1, OS:15.0, name:iPad mini (6th generation) }
                { platform:iOS Simulator, id:512D70CB-9089-4555-85C0-F6C1839467CA, OS:12.4, name:iPhone 5s }
                { platform:iOS Simulator, id:E25570D4-9C4C-42C5-AC5A-F42CACD3ACDB, OS:12.4, name:iPhone 6 }
                { platform:iOS Simulator, id:37D705D9-D3B0-459E-989F-520E266C1155, OS:12.4, name:iPhone 6 Plus }
                { platform:iOS Simulator, id:B1A58E7A-FD12-4DF4-BE9A-6A5900CCE200, OS:12.4, name:iPhone 6s }
                { platform:iOS Simulator, id:39656A78-D9E1-4C54-BF5A-11D7602B75F6, OS:12.4, name:iPhone 6s Plus }
                { platform:iOS Simulator, id:C75AAEAE-AE3E-41A8-BD7C-13595D04685B, OS:12.4, name:iPhone 7 }
                { platform:iOS Simulator, id:081C64CC-AA10-4C52-8B2E-7CD595F4A0C5, OS:12.4, name:iPhone 7 Plus }
                { platform:iOS Simulator, id:85F54902-E1D6-47B5-A4F6-88259039FE3A, OS:12.4, name:iPhone 8 }
                { platform:iOS Simulator, id:3FCCF92D-FCF8-4B6E-8F4F-1E1D534B82B1, OS:15.0, name:iPhone 8 }
                { platform:iOS Simulator, id:200BBECE-E7BD-45AF-8E47-57414BC8097C, OS:12.4, name:iPhone 8 Plus }
                { platform:iOS Simulator, id:4B471919-166C-4DE7-B51D-88E4EE73E324, OS:15.0, name:iPhone 8 Plus }
                { platform:iOS Simulator, id:54719C99-D60A-469E-9ADF-577EA7ED5FD9, OS:15.0, name:iPhone 11 }
                { platform:iOS Simulator, id:40E48C72-122D-4533-B54E-1527876FDF49, OS:15.0, name:iPhone 11 Pro }
                { platform:iOS Simulator, id:E5007FA9-2111-464F-BB53-19C098D95E21, OS:15.0, name:iPhone 11 Pro Max }
                { platform:iOS Simulator, id:52499D98-4E4C-423D-8961-BB823BE15158, OS:15.0, name:iPhone 12 }
                { platform:iOS Simulator, id:BEB4CE66-3D27-4C73-A8F3-5814AFC823ED, OS:15.0, name:iPhone 12 Pro }
                { platform:iOS Simulator, id:F69720D4-60AA-478E-993A-5DAA33B8259A, OS:15.0, name:iPhone 12 Pro Max }
                { platform:iOS Simulator, id:E7564BC7-DA6E-4018-B637-C20117D7FB54, OS:15.0, name:iPhone 12 mini }
                { platform:iOS Simulator, id:77BFB1B7-45A7-4050-B958-1BCBCBD0E25F, OS:15.0, name:iPhone 13 }
                { platform:iOS Simulator, id:C622A98E-9A12-471F-B4E0-7F4932A70147, OS:15.0, name:iPhone 13 Pro }
                { platform:iOS Simulator, id:1EB9E700-5FD7-4522-801B-1A1573AADDDA, OS:15.0, name:iPhone 13 Pro Max }
                { platform:iOS Simulator, id:53840202-A47C-4B7A-8E72-33E36B947235, OS:15.0, name:iPhone 13 mini }
                { platform:iOS Simulator, id:48048179-4834-4C16-B41C-4575CEEA35D1, OS:12.4, name:iPhone SE (1st generation) }
                { platform:iOS Simulator, id:07274B24-96A1-4844-A9B6-D8D9A62BB22D, OS:15.0, name:iPhone SE (2nd generation) }
                { platform:iOS Simulator, id:21503AA8-2747-401B-A6F3-20A9C878D6FB, OS:12.4, name:iPhone X }
                { platform:iOS Simulator, id:6DA41975-185F-455E-B350-5810A90E161A, OS:12.4, name:iPhone Xs }
                { platform:iOS Simulator, id:326A242C-227A-4275-8C35-61F143DA8CFB, OS:12.4, name:iPhone Xs Max }
                { platform:iOS Simulator, id:1810CE32-9C7E-489B-BFA7-5F714EF3DADC, OS:12.4, name:iPhone Xʀ }
                { platform:iOS Simulator, id:EB2BEB50-7278-40E9-AA3F-876B7CE6B5C4, OS:15.0, name:iPod touch (7th generation) }
                { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }

。。。
[ +145 ms] Could not build the application for the simulator.
[        ] Error launching application on iPhone 13.
[   +7 ms] "flutter run" took 139,525ms.
[  +13 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:669:9)

#2      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1125:27)

#3      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#5      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)

#6      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)

#8      run.. (package:flutter_tools/runner.dart:62:9)

#9      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#10     main (package:flutter_tools/executable.dart:92:3)

[✓] Flutter (Channel unknown, 2.5.3, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
• Flutter version 2.5.3 at /Users/xxx/fvm/versions/2.5.3
• Upstream repository unknown
• Framework revision 18116933e7 (7 weeks ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/xxx/sdk/android-sdk-macosx
• Platform android-31, build-tools 30.0.2
• ANDROID_HOME = /Users/xxx/sdk/android-sdk-macosx
• Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.62.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.0
[✓] Connected device (3 available)
• iPhone 13 (mobile) • 77BFB1B7-45A7-4050-B958-1BCBCBD0E25F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• Chrome (web)       • chrome                               • web-javascript • Google Chrome 96.0.4664.55

</details>

The following configuration in ios/Podfile solved the problem for me
target.build_configurations.each do |config|
    config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64 i386'
end


Add vite build

@shabab477 this is looking great!
The CLA bot is annoying I know, it just needs the commits to be signed with the same email you signed the CLA agreement with.
Can you replace typescript project references with a cross monorepo build & watch as well?

Can you integrate #2497 into this effort as well? That’s really at the heart of this, restoring the cross monorepo incremental build/watch

Thanks! I'll go through #2497.

closed by https://github.com/graphql/graphiql/pull/3679


"Help" tab

Tab with useful information about application
Possible solution:

use Avalonia.Markdown package

Wait untill #11 completed


ReuseTest has unexpectedly high memory usage

The integration tests that were added as a part of the caching feature were leading to higher-than-normal memory usage. The specific usage in this case crossed the 8GB threshold which is the memory assigned to test containers in CI. This was causing the test suite execution to be killed before completion.
From some initial investigations, we pinpointed the root cause of this to be the failure of the garbage collector to remove the redundant instances of the yolov5 model on its own between different queries of the same test case. The presence of this redundant instance was spiking up memory usage.
As a current fix, we are manually invoking the garbage collector between the queries in these tests which has brought down the memory usage to its normal value.
cc: @gaurav274

Closing as it is an issue with yolo model. For now, we explicitly call garbage collector to remove yolo from memory.


Issues when deleting cables terminated to circuits

Environment

Python version:
Nautobot version: 1.3.2

Steps to Reproduce

Create a device and add interfaces to it
Create a circuit and add A and Z terminations to it
Connect the A termination to an interface of the device
Connect the Z termination to an interface of the device
Attempt to disconnect either termination

Expected Behavior
Cable to be deleted
Observed Behavior
Cable is reported as deleted, but still exists in the UI, even after a cacheops.invalidate_all() is run. On attempting to disconnect the cable a second time, the following traceback is seen:
14:56:07.429 ERROR   django.request :
  Internal Server Error: /dcim/cables/7f3a3352-0fb7-43f9-9e85-971037f553f3/delete/
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 173, in __get__
    rel_obj = self.field.get_cached_value(instance)
  File "/usr/local/lib/python3.7/site-packages/django/db/models/fields/mixins.py", line 15, in get_cached_value
    return instance._state.fields_cache[cache_name]
KeyError: '_path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/source/nautobot/utilities/views.py", line 94, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "/source/nautobot/core/views/generic.py", line 456, in post
    obj.delete()
  File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 967, in delete
    return collector.delete()
  File "/usr/local/lib/python3.7/site-packages/django/db/models/deletion.py", line 436, in delete
    sender=model, instance=obj, using=self.using
  File "/usr/local/lib/python3.7/site-packages/django/dispatch/dispatcher.py", line 182, in send
    for receiver in self._live_receivers(sender)
  File "/usr/local/lib/python3.7/site-packages/django/dispatch/dispatcher.py", line 182, in <listcomp>
    for receiver in self._live_receivers(sender)
  File "/source/nautobot/dcim/signals.py", line 177, in nullify_connected_endpoints
    instance.termination_b.save()
  File "/source/nautobot/dcim/models/device_components.py", line 512, in save
    return super().save(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 740, in save
    force_update=force_update, update_fields=update_fields)
  File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 789, in save_base
    update_fields=update_fields, raw=raw, using=using,
  File "/usr/local/lib/python3.7/site-packages/django/dispatch/dispatcher.py", line 182, in send
    for receiver in self._live_receivers(sender)
  File "/usr/local/lib/python3.7/site-packages/django/dispatch/dispatcher.py", line 182, in <listcomp>
    for receiver in self._live_receivers(sender)
  File "/source/nautobot/utilities/utils.py", line 354, in _curried
    return _curried_func(*args, *moreargs, **{**kwargs, **morekwargs})
  File "/source/nautobot/extras/signals.py", line 72, in _handle_changed_object
    objectchange = instance.to_objectchange(action)
  File "/source/nautobot/dcim/models/device_components.py", line 93, in to_objectchange
    object_data_v2=serialize_object_v2(self),
  File "/source/nautobot/utilities/utils.py", line 181, in serialize_object_v2
    data = serializer_class(obj, context={"request": None}).data
  File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py", line 555, in data
    ret = super().data
  File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py", line 253, in data
    self._data = self.to_representation(self.instance)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py", line 522, in to_representation
    ret[field.field_name] = field.to_representation(attribute)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/fields.py", line 1886, in to_representation
    return method(value)
  File "/source/nautobot/dcim/api/serializers.py", line 163, in get_connected_endpoint
    if obj._path is not None and obj._path.destination is not None:
  File "/usr/local/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 187, in __get__
    rel_obj = self.get_object(instance)
  File "/usr/local/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 154, in get_object
    return qs.get(self.field.get_reverse_related_filter(instance))
  File "/usr/local/lib/python3.7/site-packages/cacheops/query.py", line 351, in get
    return qs._no_monkey.get(qs, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 437, in get
    self.model._meta.object_name
nautobot.dcim.models.cables.CablePath.DoesNotExist: CablePath matching query does not exist.

I confirmed that this behavior occurs both with or without caching enabled, so it's absolutely a bug in the business logic.

Possibly related: https://github.com/Suor/django-cacheops/issues/348

Under normal circumstances Interface._path should return None when unassigned. There's some state inconsistency that is being introduced here where the queryset is attempting to retrieve the value of _path from the internal field cache on the instance and it's failing. The pattern for deletion of the CablePath object is to be at play here and needs to be reviewed.

Let's try to remove cacheops from the equation entirely and see if this issue persists.

Let's try to remove cacheops from the equation entirely and see if this issue persists, just to rule it out.

Still crashed. Here is a Sentry report for it: https://sentry.io/share/issue/59b831e46b4f4cc69485c49f97302654/

Appears to be a pretty tangled chain of function calls what with a delete() call triggering a post_delete signal triggering a post_save signal...

👍 just ran into this one also on 1.3.2, with identical replication steps.
I have had CACHEOPS_ENABLED = False set since a long time before the circuit+termination in question existed so yeah its definitely not caching related.
Worked around for now in the few instances I had by just manually deleting all the relevant references and rows in the db.

👍 just ran into this one also on 1.3.2, with identical replication steps.
I have had CACHEOPS_ENABLED = False set since a long time before the circuit+termination in question existed so yeah its definitely not caching related.
Worked around for now in the few instances I had by just manually deleting all the relevant references and rows in the db.

I think I'll have to do something manual as well, I can't really keep waiting for a fix. Which tables did you have to make manual delete operations on?


push the "proxy" and "no-proxy" configuration value to the environment of the executed command

When you execute a git command, you pass the current working directory with the "cwd" option, you could also pass the http_proxy and https_proxy based on the configuration "proxy" and "https-proxy" via the "env" option.

:+1:

If it still affects someone 6 years later, please open another issue


Turning speed of minimap/compass when using tb minimap as overlay

When using tb minimap as overlay for the normal compass, the turning speed is not the same which results in the enemies position not being the same when turning the camera.
Example: https://www.youtube.com/watch?v=ZJh05jnIzic
Make an option to give minimap the same turn delay as ingame compass.

If we had such an option it wouldn't be an option, but the default behavior.

duplicate of #87


"jekyll-theme-slate theme could not be found" when serving locally

I am constantly getting the above error message when I try to serve the theme locally.
The steps I took:

install Jekyll and create a new site according to https://jekyllrb.com/docs/
add the line gem "github-pages", group: :jekyll_plugins according to your README
update the github-pages gem (it's now at version 216 which seems to be the newest at this time)
remove the line gem "jekyll", "~> 4.2.0" from the Gemfile according to the surrounding comments
run bundle install and bundle update (did this multiple times to no avail)

Error message on bundle exec jekyll serve:
...
         3: from /home/amertz/gems/gems/jekyll-3.9.0/lib/jekyll/theme.rb:82:in `gemspec'
         2: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:988:in `find_by_name'
         1: from /usr/lib/ruby/2.7.0/rubygems/dependency.rb:323:in `to_spec'
/usr/lib/ruby/2.7.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'jekyll-theme-slate' (>= 0) among 130 total gem(s) (Gem::MissingSpecError)
...
         4: from /home/amertz/gems/gems/jekyll-3.9.0/lib/jekyll/site.rb:439:in `new'
         3: from /home/amertz/gems/gems/jekyll-3.9.0/lib/jekyll/theme.rb:12:in `initialize'
         2: from /home/amertz/gems/gems/jekyll-3.9.0/lib/jekyll/theme.rb:19:in `root'
         1: from /home/amertz/gems/gems/jekyll-3.9.0/lib/jekyll/theme.rb:81:in `gemspec'
/home/amertz/gems/gems/jekyll-3.9.0/lib/jekyll/theme.rb:84:in `rescue in gemspec': The jekyll-theme-slate theme could not be found. (Jekyll::Errors::MissingDependencyException)

I am also having similar issue while using the theme Cayman ("jekyll-theme-cayman").


Add resolving bug 7

Resolving flexbug 7 from the issue https://github.com/luisrudge/postcss-flexbugs-fixes/issues/8

Thanks @boyarskiy!


The method 'RoundedButton' isn't defined

Backstory
Hi, I still try to figure how to work with this example code from here,
I want to know how to use pushAndWait route and later on I want to combine or update  with overlayBuilderMap route method that I already implement previously.
Current bug behavior
I cannot find how import the RoundedButton or how to make it work.
The method 'RoundedButton' isn't defined for the type 'HomePage'.
Try correcting the name to the name of an existing method, or defining a method named 'RoundedButton'.

Expected behavior
run like example
Steps to reproduce

just open and copy the code from here
I overwrite all my main.dart file.

Flutter doctor output
Output of: flutter doctor -v
[✓] Flutter (Channel stable, 3.3.10, on Linux Mint 21 5.15.0-41-generic, locale en_US.UTF-8)
    • Flutter version 3.3.10 on channel stable at /home/santui/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (3 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/santui/development/android
    • Platform android-33, build-tools 30.0.3
    • ANDROID_HOME = /home/santui/development/android
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu222.04)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] VS Code (version 1.74.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.56.0

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Linux Mint 21 5.15.0-41-generic

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

RoundedButton is defined in that example, if you press code underneath the running example you can see the full code for it, you can also try it on zapp:
https://zapp.run/edit/flame-zp2m069bp2n0


Attributes for hardware tasks

I would like to place a hardware task in ITCM. With RTIC 0.5 it mostly works fine if I place my task with #[link_section = ...]. However, this generates one wrapper function (the actual ISR) from RTIC that is not in ITCM and another LongThunk that is also not in ITCM. If I could assign attributes to the RTIC ISR (below for my reference) calling my hardware task, I'd expect both stubs/wrappers to disappear through inlining.
https://github.com/rtic-rs/cortex-m-rtic/blob/3c86d713a6f8fdb052de80380a17468090e42624/macros/src/codegen/hardware_tasks.rs#L43-L56)

Hi jordens.
Thanks for the input!
I think this part has been a bit slept on, and proper tests is lacking in RTIC 0.5. This is something that is on the "TODO" list for RTIC 0.6.
/Per

Looks like this works now. Thanks!


Update es.json

Better translation for that. I guess it was google translate :P

Thanks @Foxandxss!


[Help] Generated Code doesn't work

Hello, I'm having trouble trying to use the "Generate Code" function... The code provided doesnt return the same result that Insomnia do... I get always an empty response... Tryed with curl and NodeJS(HTTP and Request) Snippets but none of them work... I've noticed that in "Timeline" Insomnia is showing > GET / HTTP/1.1 3 different times but the generated code gives me only one, and the cookies differs too (Cookie tab has 3 and code has only 1)
Can u guys help me?

Can you please provide an example to reproduce the problem?
Just as a note, the code generation feature does not guarantee it will work the same as within Insomnia.

Yes I can. For example, the GET Request on https://nike.com
Even thought the first http request returns 301(Moved Permanently) as observed on timeline, the generated code to node or curl does not work...
Is there any way to replicate the steps Insomnia makes to retrieve the HTML data?

I think the problem is that Node and libcurl do not automatically follow redirects. You'll have to look up how to do that.
For Curl, adding the --location will enable it.


[release-4.12] OCPBUGS-5253: fix: Missing 'ImageContentSourcePolicy' and 'CatalogSource' in the oci fbc feature implementation

This is an automated cherry-pick of #536 to release-4.12

/jira refresh

/jira refresh


Kickstarter

Added background video, please checkout my branch to see if it's good. @66eli77 @whitzhu

looks good, will add more styling based on this PR


Possible --interactive flag/mode for use with --fix?

This is more just throwing an idea in the pot for consideration down the line.
What about an interactive mode for applying autofix patches à la git add --patch?
I saw #2390 and wondered whether this could be useful to skip over unsafe or incorrect changes...
Right now it's apply fixes to all files or none unless manually crafting the list of files on the command line.

\cc @MichaReiser regarding "review mode"

Consolidating into https://github.com/charliermarsh/ruff/issues/4361.


can not use modern planets.

Build a chart including modern planets
chart = Chart(date, pos, IDs=const.LIST_OBJECTS)
Error:
SwissEph file 'seas_18.se1' not found in PATH

Any solution?

Issue #66 has a quick fix.


Update requirements.txt

fix an error of 'cannot find GaussianProcess in sklearn.gausian_process' in scikit-learn >= 0.20

Hi there, thanks for the PR. Can you please first report the bug you are experiencing as an issue? I think it's possible that we can fix the bug without pinning the version of sklearn. Possibly the fix involves adding an explicit minimum or maximum version for a dependency of a dependency

I'm closing this, please do consider creating an issue if you are able to report a specific problem, thanks!


Embed paginator and on_component listener change

Changed the on_component listener to wait for components so it no longers listens for components from other cogs
Same paginator examples and codes as #5

Thanks for fixing, merging


audio player directives

So I noticed today the new "Audio Player" option under skill information on developer.amazon.com.
Here's the link to the amazon information about it.
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-audioplayer-interface-reference
It seems it is looking to stream audio to the echo, but could we also use this to just control our Sonos commands? The part of it that looks useful is where it says if your skill was the last skill marked to be playing audio that you could then use any of the built in amazon commands next / previous / shuffle / stop / etc WITHOUT invoking the skill name! This would be nice to have if it's possible. I'm trying to read over it but wanted to share with those of you who may have a little better understanding than me.

I've got this working, and it's really great.  The main limitation of course, is that you need to use an "Alexa, ask sonos ..." command before you can use the short, native form - i.e. "Alexa next | previous | shuffle", etc.  At some point, perhaps Amazon will let users specify a select skill as their default audio player...
It's a bit of a hack and I haven't cleaned it up much.  But the basic idea is this:

After processing any commands, your echo-sonos skill can tell Alexa to play a silent audio file.  This forces echo-sonos to become the handler for Alexa's native audio player commands.
Because the audio file is silent, you don't get sound from Alexa and your Sonos system at the same time.
Your skill can ignore the AudioPlayer callbacks.  Note that they may cause some errors in your log files, because, per the docs, the AudioPlayer callbacks don't include SessionIDs.

You'll need to make edits to AlexaSkills.js and index.js.  Let me know how it goes for you.
AlexaSkill.js

Add the snippet below which is wrapped with START and END comments to Response.prototype.
Insert the full URL to your silent audio file where it says, "INSERT LINK TO MP3 FILE HERE".  Be sure to read the docs for detail on 'audioItem.stream.url' - e.g. the URL needs to use SSL (HTTPS), server needs a valid cert, MP3 (or other formats), 16-bit or better, etc.
Short audio files (e.g. 500 msec. to 1 sec.) don't seem to work reliably.  I'm using one that's ~5 sec., and it works well.

Response.prototype = (function () {
    var buildSpeechletResponse = function (options) {
        var alexaResponse = {
            outputSpeech: createSpeechObject(options.output),
            shouldEndSession: options.shouldEndSession
        };
        if (options.reprompt) {
            alexaResponse.reprompt = {
                outputSpeech: createSpeechObject(options.reprompt)
            };
        }
        if (options.cardTitle && options.cardContent) {
            alexaResponse.card = {
                type: "Simple",
                title: options.cardTitle,
                content: options.cardContent
            };
        }

        // START INSERT
        // Add directive to play a dummy audio file and thereby assume responsibility for native Amazon AudioPlay intents
        alexaResponse.directives = [ {
            type: "AudioPlayer.Play",
            playBehavior: "REPLACE_ALL",
            audioItem: {
                stream: {
                    token: "0123456789", // Dummy token
                    url: "<<<INSERT LINK TO MP3 FILE HERE>>>", // Five seconds of silence
                    offsetInMilliseconds: 0
                }
            }
        }];
        // END INSERT

        var returnResult = {
                version: '1.0',
                response: alexaResponse
        };
        if (options.session && options.session.attributes) {
            returnResult.sessionAttributes = options.session.attributes;
        }
        return returnResult;
    };

    return {
        tell: function (speechOutput) {
            this._context.succeed(buildSpeechletResponse({
                session: this._session,
                output: speechOutput,
                shouldEndSession: true
            }));
        },
        tellWithCard: function (speechOutput, cardTitle, cardContent) {
            this._context.succeed(buildSpeechletResponse({
                session: this._session,
                output: speechOutput,
                cardTitle: cardTitle,
                cardContent: cardContent,
                shouldEndSession: true
            }));
        },
        ask: function (speechOutput, repromptSpeech) {
            this._context.succeed(buildSpeechletResponse({
                session: this._session,
                output: speechOutput,
                reprompt: repromptSpeech,
                shouldEndSession: false
            }));
        },
        askWithCard: function (speechOutput, repromptSpeech, cardTitle, cardContent) {
            this._context.succeed(buildSpeechletResponse({
                session: this._session,
                output: speechOutput,
                reprompt: repromptSpeech,
                cardTitle: cardTitle,
                cardContent: cardContent,
                shouldEndSession: false
            }));
        }
    };
})();

index.js

Add this code to the end of EchoSonos.prototype.intentHandlers.
These are more or less duplicates of the intents already supported by echo-sonos.
Since these are builtin intents which come from Alexa and not from echo-sonos, intent.slots.Room.value is empty.  Make it null as you see below, and it will succeed without needing to modify loadCurrentRoomAndService.

    'AMAZON.PauseIntent': function (intent, session, response) {
        console.log("Amazon PauseIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            options.path = '/' + encodeURIComponent(room) + '/pause';
            httpreq(options, function(error) {
                genericResponse(error, response);
            });
        });
    },

    'AMAZON.StopIntent': function (intent, session, response) {
        console.log("Amazon PauseIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            options.path = '/' + encodeURIComponent(room) + '/pause';
            httpreq(options, function(error) {
                genericResponse(error, response);
            });
        });
    },

    'AMAZON.CancelIntent': function (intent, session, response) {
        console.log("Amazon PauseIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            options.path = '/' + encodeURIComponent(room) + '/pause';
            httpreq(options, function(error) {
                genericResponse(error, response);
            });
        });
    },

    'AMAZON.ResumeIntent': function (intent, session, response) {
        console.log("Amazon ResumeIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            options.path = '/' + encodeURIComponent(room) + '/play';
            httpreq(options, function(error) {
                genericResponse(error, response);
            });
        });
    },

    'AMAZON.NextIntent': function (intent, session, response) {
        console.log("NextTrackIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            actOnCoordinator(options, '/next', room,  function (error, responseBodyJson) {
                genericResponse(error, response);
            });
        });
    },

    'AMAZON.PreviousIntent': function (intent, session, response) {
        console.log("PreviousTrackIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            actOnCoordinator(options, '/previous', room,  function (error, responseBodyJson) {
                genericResponse(error, response);
            });
        });
    },

    'AMAZON.LoopOnIntent': function (intent, session, response) {
        console.log("RepeatIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            toggleHandler(room, 'on', "repeat", response);
        });
    },

    'AMAZON.LoopOffIntent': function (intent, session, response) {
        console.log("RepeatIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            toggleHandler(room, 'off', "repeat", response);
        });
    },

    'AMAZON.ShuffleOnIntent': function (intent, session, response) {
        console.log("ShuffleIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            toggleHandler(room, 'on', "shuffle", response);
        });
    },

    'AMAZON.ShuffleOffIntent': function (intent, session, response) {
        console.log("ShuffleIntent received");
        loadCurrentRoomAndService('DefaultEcho', null, function(room, service) {
            toggleHandler(room, 'off', "shuffle", response);
        });
    }

Thank you so much! I modified my index.js with all the intents as soon as I posted this a while ago. I just couldn't figure out what to add to invoke the new Alexa Skill commands to get it to trigger the audio player part. I'll add those lines while I'm at work and test it when I get home this weekend, looking forward to trying it!
My idea I was going to try was to send the AudioPlayer.Stop command even if nothing was playing and see if that triggered the echo to mark the skill as the last audio directing skill. The silence is a good idea too. I usually host my audio files in an Amazon S3 bucket.

It works great, thanks mdcampbell!
I have 5 separate skills with invocation names of each of my speaker room names. I noticed each echo is independent of each other when saving the last used audio player skill.
So if I say "Alexa, tell the living room to play" on the living room echo,
and "Alexa, tell the kitchen to play" on the kitchen dot, and so on in each room,
then everytime I can just come back to any room and say  "play/pause/next/previous" and it always controls the correct speaker! (As long as I didn't start a room from a different room).
I still keep a base "Sonos" skill that isn't designated as an audio player skill so that I can control music in another room without changing which skill is currently controlling the audio commands on that echo.

Sounds like a sweet setup.  Glad it's working for you!

This sounds like a great upgrade.  @mdcampbell, any reason not to submit this as a PR and change the way invocation works for the skill?


Switch CSS to use TailwindCSS

This will require reworking the Docker container build to generate the CSS and actually use it, too.

This is not happening anymore.


Libnd4j/DL4J: Need new dropout ops with backprop implementation

(Inverted) dropout forward pass:
x = input
z = output
p = probability of retaining an activation
Forward pass:
z = 0 	with probability (1-p)
    x/p with probability p

Backprop:
dL/dx = dL/dz * dz/dx
      = dL/dx * (0 if dropped, or 1/p if retrained)

Now, to implement the backprop, we need to record the dropout mask from forward pass.
This shoud be a binary vector - single bit per input value (0 = dropped, 1 = retained). There's no need to record this as FP32 for example.
Forward op:
input: 1
tArgs: 1 (dropout retrain probability p)
outputs: 2, both required
- output array: same shape as input
- mask array: binary vector - same number of bits as input.length() (rounded up, obviously)
Backward op:
inputs: 2
- Gradient array (dL/dOut)
- mask array (binary vector)
Of course, this 'binary vector' complicates things a bit for the calculate output shapes API, and DynamicCustomOp API...

Alpha dropout:
z = a(xd + a'(1-d))+b)

where a, a' and b are constants.
d is dropout mask (0 or 1, with probability p)
Backprop:
dL/dx = dL/dz * dz/dx
          = dL/dz * (a if x is retained, 0 otherwise)

Forward and backward ops are essentially identical to standard (inverted) dropout op, but forward has extra tArgs (a, a', b)

Spatial dropout: this is just standard dropout op, but with broadcast dropout mask.
It could probably be implemented as a special case of the standard dropout op (i.e., if iArgs are specified, assume spatial dropout, or otherwise assume standard).
Spatial dropout mask is equal to ``prod_i(input.size(dim[i])```

There's not any performance benefit to implementing Gaussian dropout as a native op, so let's keep that as java only.
For gaussian noise, dL/dx = dL/dz, so no need for native op either.
Aha! Link: https://skymindai.aha.io/features/DL4J-96

If you have a test case for it, please add here.

@shugeo Probably the more critical issue is this one: https://github.com/deeplearning4j/deeplearning4j/issues/5650
We've got a reasonable work-around for DL4J for now. But we can't implement dropout into samediff until that issue is resolved. The solution for that issue (I'm not sure exactly what we should do there yet) will very likely impact the design (and of course testing) of these ops (including backprop).

Expected with PR 5857.

@AlexDBlack this issue should've been resolved long ago, can you please confirm/decline this?

Implemented quite a while ago.


Clean vertical barcharts

added logic for children text, labels and arrow to be 16px vs 12px

thanks for this.  i integrated changes


Celery requeue tasks that are failing

Celery requeue tasks that are failing

TECH NOTES
Add Reject(requeue=True) here for other kinds of exception


No IPython console

From<EMAIL_ADDRESS>on 2014-02-27T14:38:27Z
IPython >=0.13  :  1.2.1 (OK)
matplotlib >=1.0:  1.4.x (OK)
pep8 >=0.6      :  1.4.6 (OK)
pyflakes >=0.5.0:  0.7.3 (OK)
pylint >=0.25   :  0.26.0 (OK)
rope >=0.9.2    :  0.9.2 (OK)
sphinx >=0.6.6  :  1.1.3 (OK)
What steps will reproduce the problem?

Open Spyder
Go to "consoles" menu 3. What is the expected output? What do you see instead? To have an option for starting an ipython console or have it even started at beginning.
No Ipython comes up.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1744

is this fixed yet? I experience the same problem with spyder 2.3.4, ipython 3.0, python 2.7.9 on windows 7 x64. worked before on spyder 2.2.x and ipython < 0.12

This can be caused by a number of reasons. We're working to improve the situation in our next release.

Closing as duplicate of issue #1860


CTA on one item to add to page builder

need to add feature to clone children with recurrence function while copy and apply template


SEO all the things

http://schema.org/docs/gs.html
When sharing a link to a blog post (like on Twitter), it would be nice if the link contained a nice title, subtitle, and image using itemprop tags or whatever other meta data needs to be included (not sure where to begin, will have to do some reading/testing).

These seem helpful too:

https://github.com/jekyll/jekyll-seo-tag
https://github.com/pmarsceill/jekyll-seo-gem

I think this is all set (for now, at least).


Add test case for AppAuthService of soul-admin (#507)

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #601 (71ecb80) into master (df1bde2) will increase coverage by 3.13%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #601      +/-   ##
============================================
+ Coverage     37.22%   40.35%   +3.13%
- Complexity      653      689      +36
============================================
  Files           216      216
  Lines          5139     5139
  Branches        572      572
============================================
+ Hits           1913     2074     +161
+ Misses         3053     2879     -174
- Partials        173      186      +13

Impacted Files
Coverage Δ
Complexity Δ

...ra/soul/admin/service/impl/AppAuthServiceImpl.java
80.52% <0.00%> (+77.36%)
33.00% <0.00%> (+32.00%)

.../java/org/dromara/soul/admin/entity/AppAuthDO.java
100.00% <0.00%> (+100.00%)
3.00% <0.00%> (+3.00%)

...g/dromara/soul/admin/transfer/AppAuthTransfer.java
100.00% <0.00%> (+100.00%)
1.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

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

good job


Behavior of nightly environment?

Should we update nightly to pull :latest tags, combined with a general policy of releasing new images to :latest along side their respective version tags? This would have the effect of decoupling the nightly and demo deployments so this will depend on our intentions for these environments

That was my thinking.
The nightly would know (or be told) about all the latest and greatest, and demo would be manually managed.  The individual yaml compose files would accommodate those changes.


ESP32 commissioning over ble after restart device

Problem: Following the README from the temperature-app to ESP32 example I am trying to commission the device through ble but for some reason the device cannot be found by the controller. The first time I ran this process it worked perfectly, but after restarting the device, I can no longer commission it or connect to it. I reset the device several times to clear a possible storage but it had no effect. The scenario takes place using the python controller or chip-tool. Successful for commissioning done over IP when the device had the local network credentials configured.

expected behavior: connect to comissioneble device, or comissionion it
actual behavior: canot connect to device and canot comissionion over ble
steps to reproduce: run the readme from example and restart device (I does not execute close-ble and dont remeber the assigment nodeId in that case)

System configuration

Controller: Run and build in MacOS 12.1 Intel
Device: ESP32-DEVKitC-v4 with ESP-IDF v4.4

Logs:
chip-device-ctrl_log.txt
device_log.txt
Proposed Solution
I can't propose a solution because I don't have access to the specification and so I don't know the expected behavior here, when someone proposes a solution I can fix it myself.

@srdantas If you are using Python controller (chip-device-ctrl) then it is not supported yet. To retry, you can erase flash on ESP32 (idf.py erase_flash) so that you will be able to commission it again.
On a different note, you can instead use https://github.com/project-chip/connectedhomeip/tree/master/examples/chip-tool for commissioning. You can control the device (operational communication) even after it is rebooted after commissioning is done.

@dhrishi i try with chip-too, before run erase_flash in device, and got this log from chip-tool:
❯ ./chip-tool pairing ble-wifi 248163 2.4_2906 my_pass 20202021 3840
[1640208814885] [8110:57801] CHIP: [DL] _Init
[1640208814885] [8110:57801] CHIP: [IN] UDP::Init bind&listen port=5542
[1640208814885] [8110:57801] CHIP: [IN] UDP::Init bound to port=5542
[1640208814885] [8110:57801] CHIP: [IN] UDP::Init bind&listen port=5542
[1640208814885] [8110:57801] CHIP: [IN] UDP::Init bound to port=5542
[1640208814885] [8110:57801] CHIP: [IN] TransportMgr initialized
[1640208814886] [8110:57801] CHIP: [DIS] Init fabric pairing table with server storage
[1640208814886] [8110:57801] CHIP: [ZCL] Using ZAP configuration...
[1640208814886] [8110:57801] CHIP: [CTL] System State Initialized...
[1640208814886] [8110:57801] CHIP: [CTL] Generating NOC
[1640208814887] [8110:57801] CHIP: [CTL] Generating ICAC
[1640208814887] [8110:57801] CHIP: [DIS] Verifying the received credentials
[1640208814887] [8110:57801] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000001 and root pubkey
[1640208814887] [8110:57801] CHIP: [IN] 0x04, 0xf1, 0xf7, 0x8d, 0x14, 0x4b, 0xfa, 0xca,
[1640208814887] [8110:57801] CHIP: [IN] 0xe5, 0xab, 0xfc, 0x63, 0x69, 0x38, 0x14, 0x43,
[1640208814887] [8110:57801] CHIP: [IN] 0x23, 0xba, 0xaa, 0x6d, 0x92, 0xf6, 0xe4, 0x82,
[1640208814887] [8110:57801] CHIP: [IN] 0x92, 0xdc, 0x8e, 0x9c, 0x6a, 0x7c, 0x3b, 0xd0,
[1640208814887] [8110:57801] CHIP: [IN] 0xf1, 0x41, 0x1c, 0x2c, 0x70, 0x94, 0x92, 0x11,
[1640208814887] [8110:57801] CHIP: [IN] 0xa1, 0x8e, 0xba, 0xb2, 0x44, 0x49, 0x18, 0x87,
[1640208814887] [8110:57801] CHIP: [IN] 0x18, 0xac, 0xfa, 0xfe, 0xa9, 0xd1, 0xa4, 0xa9,
[1640208814888] [8110:57801] CHIP: [IN] 0xc8, 0x23, 0x2e, 0x6d, 0x2e, 0xbf, 0xa6, 0x40,
[1640208814888] [8110:57801] CHIP: [IN] 0x74,
[1640208814888] [8110:57801] CHIP: [IN] Generated compressed fabric ID
[1640208814888] [8110:57801] CHIP: [IN] 0xc2, 0x1f, 0xf5, 0x3b, 0x94, 0x3f, 0x16, 0xc8,
[1640208814888] [8110:57801] CHIP: [DIS] Added new fabric at index: 1, Initialized: 1
[1640208814888] [8110:57801] CHIP: [DIS] Assigned compressed fabric ID: 0xC21FF53B943F16C8, node ID: 0x000000000001B669
[1640208814888] [8110:57801] CHIP: [CTL] Joined the fabric at index 1. Compressed fabric ID is: 0xC21FF53B943F16C8
[1640208814888] [8110:57801] CHIP: [IN] UDP::Init bind&listen port=5550
[1640208814888] [8110:57801] CHIP: [IN] UDP::Init bound to port=5550
[1640208814888] [8110:57801] CHIP: [IN] UDP::Init bind&listen port=5550
[1640208814888] [8110:57801] CHIP: [IN] UDP::Init bound to port=5550
[1640208814888] [8110:57801] CHIP: [IN] TransportMgr initialized
[1640208814888] [8110:57801] CHIP: [CTL] Generating NOC
[1640208814888] [8110:57801] CHIP: [CTL] Generating ICAC
[1640208814888] [8110:57801] CHIP: [DIS] Verifying the received credentials
[1640208814889] [8110:57801] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000002 and root pubkey
[1640208814889] [8110:57801] CHIP: [IN] 0x04, 0xf1, 0xf7, 0x8d, 0x14, 0x4b, 0xfa, 0xca,
[1640208814889] [8110:57801] CHIP: [IN] 0xe5, 0xab, 0xfc, 0x63, 0x69, 0x38, 0x14, 0x43,
[1640208814889] [8110:57801] CHIP: [IN] 0x23, 0xba, 0xaa, 0x6d, 0x92, 0xf6, 0xe4, 0x82,
[1640208814889] [8110:57801] CHIP: [IN] 0x92, 0xdc, 0x8e, 0x9c, 0x6a, 0x7c, 0x3b, 0xd0,
[1640208814889] [8110:57801] CHIP: [IN] 0xf1, 0x41, 0x1c, 0x2c, 0x70, 0x94, 0x92, 0x11,
[1640208814889] [8110:57801] CHIP: [IN] 0xa1, 0x8e, 0xba, 0xb2, 0x44, 0x49, 0x18, 0x87,
[1640208814889] [8110:57801] CHIP: [IN] 0x18, 0xac, 0xfa, 0xfe, 0xa9, 0xd1, 0xa4, 0xa9,
[1640208814889] [8110:57801] CHIP: [IN] 0xc8, 0x23, 0x2e, 0x6d, 0x2e, 0xbf, 0xa6, 0x40,
[1640208814889] [8110:57801] CHIP: [IN] 0x74,
[1640208814889] [8110:57801] CHIP: [IN] Generated compressed fabric ID
[1640208814889] [8110:57801] CHIP: [IN] 0x56, 0x8c, 0x76, 0xa1, 0x08, 0xe9, 0x51, 0x0b,
[1640208814889] [8110:57801] CHIP: [DIS] Added new fabric at index: 2, Initialized: 1
[1640208814889] [8110:57801] CHIP: [DIS] Assigned compressed fabric ID: 0x568C76A108E9510B, node ID: 0x000000000001B669
[1640208814889] [8110:57801] CHIP: [CTL] Joined the fabric at index 2. Compressed fabric ID is: 0x568C76A108E9510B
[1640208814889] [8110:57801] CHIP: [IN] UDP::Init bind&listen port=5550
[1640208814889] [8110:57801] CHIP: [IN] UDP::Init bound to port=5550
[1640208814889] [8110:57801] CHIP: [IN] UDP::Init bind&listen port=5550
[1640208814889] [8110:57801] CHIP: [IN] UDP::Init bound to port=5550
[1640208814889] [8110:57801] CHIP: [IN] TransportMgr initialized
[1640208814890] [8110:57801] CHIP: [CTL] Generating NOC
[1640208814890] [8110:57801] CHIP: [CTL] Generating ICAC
[1640208814890] [8110:57801] CHIP: [DIS] Verifying the received credentials
[1640208814890] [8110:57801] CHIP: [IN] Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000003 and root pubkey
[1640208814890] [8110:57801] CHIP: [IN] 0x04, 0xf1, 0xf7, 0x8d, 0x14, 0x4b, 0xfa, 0xca,
[1640208814890] [8110:57801] CHIP: [IN] 0xe5, 0xab, 0xfc, 0x63, 0x69, 0x38, 0x14, 0x43,
[1640208814890] [8110:57801] CHIP: [IN] 0x23, 0xba, 0xaa, 0x6d, 0x92, 0xf6, 0xe4, 0x82,
[1640208814890] [8110:57801] CHIP: [IN] 0x92, 0xdc, 0x8e, 0x9c, 0x6a, 0x7c, 0x3b, 0xd0,
[1640208814890] [8110:57801] CHIP: [IN] 0xf1, 0x41, 0x1c, 0x2c, 0x70, 0x94, 0x92, 0x11,
[1640208814890] [8110:57801] CHIP: [IN] 0xa1, 0x8e, 0xba, 0xb2, 0x44, 0x49, 0x18, 0x87,
[1640208814890] [8110:57801] CHIP: [IN] 0x18, 0xac, 0xfa, 0xfe, 0xa9, 0xd1, 0xa4, 0xa9,
[1640208814890] [8110:57801] CHIP: [IN] 0xc8, 0x23, 0x2e, 0x6d, 0x2e, 0xbf, 0xa6, 0x40,
[1640208814891] [8110:57801] CHIP: [IN] 0x74,
[1640208814891] [8110:57801] CHIP: [IN] Generated compressed fabric ID
[1640208814891] [8110:57801] CHIP: [IN] 0x1f, 0x1a, 0xbb, 0x4d, 0x38, 0xd6, 0x02, 0x82,
[1640208814891] [8110:57801] CHIP: [DIS] Added new fabric at index: 3, Initialized: 1
[1640208814891] [8110:57801] CHIP: [DIS] Assigned compressed fabric ID: 0x1F1ABB4D38D60282, node ID: 0x000000000001B669
[1640208814891] [8110:57801] CHIP: [CTL] Joined the fabric at index 3. Compressed fabric ID is: 0x1F1ABB4D38D60282
[1640208814891] [8110:57801] CHIP: [IN] UDP::Init bind&listen port=5550
[1640208814891] [8110:57801] CHIP: [IN] UDP::Init bound to port=5550
[1640208814891] [8110:57801] CHIP: [IN] UDP::Init bind&listen port=5550
[1640208814891] [8110:57801] CHIP: [IN] UDP::Init bound to port=5550
[1640208814891] [8110:57801] CHIP: [IN] TransportMgr initialized
[1640208814891] [8110:57805] CHIP: [DL] _OnPlatformEvent
[1640208814891] [8110:57805] CHIP: [BLE] NewConnection
[1640208814892] [8110:57805] CHIP: [SC] Assigned local session key ID 1
[1640208814892] [8110:57805] CHIP: [SC] Including MRP parameters in PBKDF param request
[1640208814892] [8110:57805] CHIP: [IN] Prepared plaintext message 0x70000b39d898 to 0x0000000000000000 (0)  of type 0x20 and protocolId (0, 0) on exchange 45732i with MessageCounter:3376779493.
[1640208814892] [8110:57805] CHIP: [IN] Sending plaintext msg 0x70000b39d898 with MessageCounter:3376779493 to 0x0000000000000000 at monotonic time: 4692704 msec
[1640208814892] [8110:57805] CHIP: [IN] Message appended to BLE send queue
[1640208814892] [8110:57805] CHIP: [SC] Sent PBKDF param request
[1640208814966] [8110:57805] CHIP: [BLE] CBManagerState: ON
[1640208854895] [8110:58054] CHIP: [TOO] Pairing Failure: examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1536: CHIP Error 0x00000032: Timeout
[1640208854895] [8110:57801] CHIP: [-] examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1536: CHIP Error 0x00000032: Timeout at examples/chip-tool/commands/common/CHIPCommand.cpp:63
[1640208854895] [8110:57801] CHIP: [TOO] Run command failure: examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1536: CHIP Error 0x00000032: Timeout
[1640208854900] [8110:57801] CHIP: [SPT] VerifyOrDie failure at examples/chip-tool/third_party/connectedhomeip/src/inet/InetLayer.h:121: sEndPointPool.Allocated() == 0
[1]    8110 abort      ./chip-tool pairing ble-wifi 248163 2.4_2906 my_pass 20202021 3840

And in device log, are equals at device_log.txt

This is strange. Can you please share the GIT commit head that you are using?

In project-chip commit id is feb07d5cd and in idf a79dc75f0a. I recently updated same projects.


Embargo date must be set for the future

Embargo dates must be set for at least today +1.

I hate to ask this... but in terms of interpreting "today," should we assume current time in California? Or UTC?

@mjgiarlo I think the best option would be determining the current time in the user's location. Barring that, I think California time is likely to accurate for the majority of users, so is the better of the two options you mentioned.

As all users are required to be Stanford affiliates and most of those people will be at Stanford (well, at least when everyone is back after COVID), I think it's fine to assume Stanford time.


List Routes does not show routes with .domain()

The "list routes" table is missing routes that use .domain(), e.g.
Route.get('/', ({ view }) => view.render('landing/index'))
Route.get('/caddy/allowed-domain', 'TenantsController.checkAllowedDomain')

// Tenant routes
Route.group(() => {
    Route.get('/admin/reports', 'ReportsController.index')
    Route.get('/admin/sessions', 'SessionsController.index')
    Route.get('/admin/tickets', 'TicketsController.index')
})
  .domain(`:tenantSlug.${Env.get('BASE_DOMAIN')}`) // 👈 without this line, it seems to work fine
  .middleware(['auth:web'])

The result
Note that the following routes are missing:

/admin/reports
/admin/sessions
/admin/tickets

Package versions

adonis-vscode-extension - v0.3.0
Node.js - v16.15.0
NPM - v8.5.5

Hey, thanks for reporting !
This is a feature I voluntarily skipped in the v1 release. If you feel like doing it, I'll voluntarily merge a PR
Otherwise, I'll fix that it when I have some time, I'm pretty busy right now

Fixed in 2b8bd8e


Styling of raster layer?

Is there a style for raster layers for e.g. applying opacity with a IThemeStyle?

No currently style does not affect raster at all. You would like to determine the raster opacity with a themestyle? Is this something needed for vector styles?

Not vector styles, but Mapbox GL theme files. There you have something like
{
  "id": "natural_earth",
  "type": "raster",
  "source": "natural_earth_shaded_relief",
  "maxzoom": 6,
  "layout": {
    "visibility": "visible"
  },
  "paint": {
    "raster-opacity": {
      "base": 1.5,
      "stops": [
        [
          0,
          0.6
        ],
        [
          6,
          0.1
        ]
      ]
    }
  }
},

which says, that the raster tiles have opacity at zoom level 0 of 0.6 and than it goes with increasing zoom level exponential (base property) to 0.1.
Could be nice. But isn't a must have. Could wait.

Interesting information. Thanks for figuring these things out.
Makes me wonder if returning Style instances is the solution here. Maybe individual Styles should now the resolution. Another approach would be to implement this at the layer opacity level. This does affect a tile layer in the current implementation.

There are more styles for this, like contras. But I think in the moment opacity is enough.
On layer level is ok, but when to set? It should be changeable each time the resoultion changes.

Yes, not sure where that should happen. Here layer.Opacity is use in the VisibleFeatureIterator.
        private static void IterateLayer(IViewport viewport, ILayer layer,
            Action<IViewport, IStyle, IFeature, float> callback)
        {
            var features = layer.GetFeaturesInView(viewport.Extent, viewport.Resolution).ToList();

            var layerStyles = ToArray(layer);
            foreach (var layerStyle in layerStyles)
            {
                var style = layerStyle; // This is the default that could be overridden by an IThemeStyle

                foreach (var feature in features)
                {
                    if (layerStyle is IThemeStyle) style = (layerStyle as IThemeStyle).GetStyle(feature);
                    if (style == null || style.Enabled == false || style.MinVisible > viewport.Resolution || style.MaxVisible < viewport.Resolution) continue;

                    callback(viewport, style, feature, (float)layer.Opacity);
                }
            }

            foreach (var feature in features)
            {
                var featureStyles = feature.Styles ?? Enumerable.Empty<IStyle>();
                foreach (var featureStyle in featureStyles)
                {
                    if (feature.Styles != null && featureStyle.Enabled)
                    {
                        callback(viewport, featureStyle, feature, (float)layer.Opacity);
                    }
                }
            }
        }

What other style aspects are determined with such level stops?

You could find them here. If there is a small triangle, than there could be stopps.

This is an interesting issue but we will not act on this in the short term, so I will close it.


Module not found: Error: Can't resolve './locale' in

Hi @ericz1803, thanks for the awesome project.
We are using this component inside an mdx file using docusaurus. When running the build step, we are getting
the following errors:
[WARNING] {"moduleIdentifier":"/Users/gpenacastellanos/Desktop/develop/conda-forge/conda-dot-org/node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","moduleName":"./node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","loc":"2699:33-51","message":"Module not found: Error: Can't resolve './locale' in '/Users/gpenacastellanos/Desktop/develop/conda-forge/conda-dot-org/node_modules/@ericz1803/react-google-calendar/dist'","compilerPath":"client"}
[WARNING] {"moduleIdentifier":"/Users/gpenacastellanos/Desktop/develop/conda-forge/conda-dot-org/node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","moduleName":"./node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","loc":"2699:33-51","message":"Module not found: Error: Can't resolve './locale' in '/Users/gpenacastellanos/Desktop/develop/conda-forge/conda-dot-org/node_modules/@ericz1803/react-google-calendar/dist'","compilerPath":"server"}
I saw this issue https://github.com/ericz1803/react-google-calendar/issues/60, that seems related. Not sure what has changed recently 🤔
Thanks!

Hi @ericz1803, thanks for the project :)
We are working with docusaurus, to embed the calendar as a component within an MDX page. We have updated to the latest dependencies, but we are still facing some issues.
4:00:43 PM: [WARNING] {"moduleIdentifier":"/opt/build/repo/node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","moduleName":"./node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","loc":"2699:33-51","message":"Module not found: Error: Can"t resolve "./locale" in "/opt/build/repo/node_modules/@ericz1803/react-google-calendar/dist"","compilerPath":"client"}
4:00:43 PM: [WARNING] {"moduleIdentifier":"/opt/build/repo/node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","moduleName":"./node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","loc":"2699:33-51","message":"Module not found: Error: Can"t resolve "./locale" in "/opt/build/repo/node_modules/@ericz1803/react-google-calendar/dist"","compilerPath":"server"}
4:00:43 PM: Error: Unable to build website for locale en.
4:00:43 PM:     at tryToBuildLocale (/opt/build/repo/node_modules/@docusaurus/core/lib/commands/build.js:55:19)
4:00:43 PM:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
4:00:43 PM:     at async mapAsyncSequential (/opt/build/repo/node_modules/@docusaurus/utils/lib/jsUtils.js:44:24)
4:00:43 PM:     at async Command.build (/opt/build/repo/node_modules/@docusaurus/core/lib/commands/build.js:82:21) {
4:00:43 PM:   [cause]: Error: Failed to compile due to Webpack errors.
4:00:43 PM:   Error: Docusaurus server-side rendering could not render static page with path /community/calendar because of error: Cannot read properties of null (reading "registered")
4:00:43 PM:       at /opt/build/repo/node_modules/@docusaurus/core/lib/webpack/utils.js:207:24
4:00:43 PM:       at /opt/build/repo/node_modules/webpack/lib/MultiCompiler.js:580:14
4:00:43 PM:       at processQueueWorker (/opt/build/repo/node_modules/webpack/lib/MultiCompiler.js:517:6)
4:00:43 PM:       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
4:00:43 PM: }
4:00:43 PM: [INFO] Docusaurus version: 3.1.1
4:00:43 PM: Node version: v18.19.1
Do you think is something related to the component, I am not sure what might be causing the issues. Thanks for the help!

Hello @ericz1803
This error seems to be caused by raising 'moment' version to "^2.29.4".
Reference link: https://github.com/moment/moment/issues/5472
Relevant commit: https://github.com/ericz1803/react-google-calendar/commit/510dd9abfe61f9bd22abeb96779d4d4981d7499d#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b64815 75d519R38
I hope this helps and fixes it.


SECOAUTH-193: GET method in authorize handler

We discussed this in JIRA and I think we decided it is not desirable.


add; spm support

A nicer package manager: http://spmjs.io
Documentation: http://spmjs.io/documentation
http://spmjs.io/package/observed

It is a browser-side package manager popular in China, suppling a complete lifecycle managment of package via spm.

If you need ownership of observed in spmjs, I can add it for your account after signing in http://spmjs.io.

spmjs/spm#781

merged. available in 1.1.1. Thanks

I want to add you as a maintainer in spmjs.io, would you like login from http://spmjs.io/login once?

I merged it but why not just use npm?
On Thu, Jan 15, 2015 at 9:12 AM, Haoliang Gao<EMAIL_ADDRESS>wrote:

I want to add you as a maintainer in spmjs.io, would you like login from
http://spmjs.io/login once?
—
Reply to this email directly or view it on GitHub
https://github.com/aheckmann/observed/pull/17#issuecomment-70121469.

--
Aaron
@aaronheckmann https://twitter.com/#!/aaronheckmann
soundcloud.com/ajhecky
github.com/aheckmann

Npm is slow in China, and spm only serves browser package.

what about the Chinese mirror cnpmjs.org? npm isn't limited to node modules btw.
—
Sent from Mailbox
On Fri, Jan 16, 2015 at 10:24 AM, Haoliang Gao<EMAIL_ADDRESS>wrote:

Npm is slow in China, and spm only serves browser package.
Reply to this email directly or view it on GitHub:
https://github.com/aheckmann/observed/pull/17#issuecomment-70297980

Yes, but module will be conflicted between node and browser in npm. Browser modules will be hard to search.


index bug when replacing report elements

Hello MNE-team,
I found a bug in these lines of code, that are executed when a content element gets replaced:
https://github.com/mne-tools/mne-python/blob/cc44af23232542e5a14d86922e10f6d0ea22bc1e/mne/report/report.py#L1855-L1858
The content-element list (self._content) is iterated in reverse order, but the idx from enumerate isn't. This results in the wrong element being replaced.
There are several possibilities how to fix it, and I'm not sure, what you like:

do not reverse self._content
when replacing calculate something like len(self._content)-idx-1
include enumerate in reversing: for idx, content_element in reversed(list(enumerate(self._content)))

I use the current stable version (1.0.2), but the bug is also on main.
With kind regards,
Anett

Hello @aseeland, thanks for reporting the issue!
Would you be willing to try to contribute a bug fix? I can give you a hand if you don't really know where to start!
Best wishes,
Richard

This has been fixed in main and will be part of 1.3


Hotstrings don't work

When I start the following script with py -m ahkpy hello-world.py the hotkey [Ctrl+Shift+H] works as expected but both hotstrings don't. When typing hw followed by a space the space is ommited but nothing else happens. When typing wtf followed by a space the space is replaced by Hello World which results in wtfHello World.
hello-world.py:
import ahkpy

CTRL    = '^'
SHIFT   = '+'
WIN     = '#'
ALT     = '!'

print('Ready...')

ahkpy.hotstring("hw", "Hello World")

@ahkpy.hotstring("wtf")
def hello1():
    ahkpy.send("Hello World")

@ahkpy.hotkey(CTRL+SHIFT+"H")
def hello2():
    ahkpy.send("Hello World")

I'm using Autohotkey <IP_ADDRESS> and Python 3.11.1 on Windows 10.

It looks like this bug only appears when a normal Autohotkey script with at least one Hotstring is running.
Example script hello1.ahk:
::xxx::Hello World{Enter}

If this script is running, Hotstrings in Autohotkey.py do not work. If this script is suspended (or exited) the do work fine. A normal Autohotkey script without any Hotstring does not cause this error.
I hope this helps to fix this bug.

Hello @e-r-n-i-e!
I believe here's what happens:

A normal AutoHotkey script installs a low-level keyboard hook for the "xxx" hotstring.
The AutoHotkey.py script gets the input mode from the settings, which is "input" by default, and passes it as the SI option to create a hotstring. AutoHotkey then tries to install a low-level keyboard hook but fails and falls back to the SendPlay mode.
The SendPlay mode is known to have no effect at all when UAC is enabled.

You should get the same result if instead of AutoHotkey.py you run the following regular AutoHotkey script alongside hello1.ahk:
:SI:hw::Hello World

Here are a few workarounds you could do:

Try running the AutoHotkey.py script as administrator.
Pass mode="event" to the hotstring call.
Make sure that AutoHotkey.py installs the keyboard hook. This means moving all hotstrings to AutoHotkey.py. Also, check out a few other cases when the hook is installed and move them to AutoHotkey.py.

Other options that require changes in AutoHotkey.py:

Explore running AutoHotkey with UI access. Python's subprocess uses CreateProcess and UIA.exe files cannot be started via CreateProcess due to security restrictions. The AHK docs suggest using ShellExecute.
Explore falling back to SendEvent instead of SendPlay.
????

BTW I didn't think about using the constants like CTRL = '^'. This is cool, thanks!

You are right, I get the same result using :SI:hw::Hello World in normal Autohotkey.
But I still would call it a bug, because it does not work as (I) expected. I would expect the following scripts to behave equally even when they are running both at the same time (or with another script using keyboard hooks):
hello.ahk
MsgBox % "Autohotkey " . A_AhkVersion . "`nSendMode = " . A_SendMode
; Output:
;   Autohotkey <IP_ADDRESS>
;   SendMode = Event

SendMode Input
MsgBox % "SendMode = " . A_SendMode
; Output:
;   SendMode = Input

::hwa::Hello World (AHK, mode unset)
; always works, even with multiple scripts using keyboard hooks

:SE:hwae::Hello World (AHK, mode=event)
; always works, even with multiple scripts using keyboard hooks

:SI:hwai::Hello World (AHK, mode=input)
; does NOT work if there is another script using a keyboard hook

:SP:hwap::Hello World (AHK, mode=play)
; NEVER works (tested in Windows Notepad and Visual Studio Code)

hello.py
print("SendMode =", ahkpy.Settings.send_mode)
# Output:
#   SendMode = input

# ::hwa::Hello World (AHK, mode unset)
ahkpy.hotstring("hwp", "Hello World (Python, mode unset)")
# [BUG] SHOULD always work, even with multiple scripts using keyboard hooks, but does NOT

# :SE:hwae::Hello World (AHK, mode=event)
ahkpy.hotstring("hwpe", "Hello World (Python, mode=event)", mode='event')
# [OK] always works, even with multiple scripts using keyboard hooks

# :SI:hwai::Hello World (AHK, mode=input)
ahkpy.hotstring("hwpi", "Hello World (Python, mode=input)", mode='input')
# [OK] does NOT work if there is another script using a keyboard hook

# :SP:hwap::Hello World (AHK, mode=play)
ahkpy.hotstring("hwpp", "Hello World (Python, mode=play)", mode='play')
# [OK] NEVER works (tested in Windows Notepad and Visual Studio Code)

This behaviour is caused by class Hotstring always setting options even if called without options. You might think that this should not be a problem as it will set the default options, but SI is not a default option.
The Autohotkey documentation says:

If none of the above options [SI, SE, SP] are used, the default mode in v1.0.43 and later is SendInput. However, unlike the SI option, SendEvent is used instead of SendPlay when SendInput is unavailable.
Source: https://www.autohotkey.com/docs/v1/Hotstrings.htm#Options

I was able to get the expected behaviour for hotstrings without the SI option with a quick hack. I simply disabled line 311 in hotstring.py:
[...]
        if mode == "input":
            pass #options.append("SI")
[...]

I leave it to you to find the right spot to really fix this. ;-)


Created Greetings.yaml file for Github Actions

Added Greeting Message on every issue opened or PR raised.
Proposed Changes
The given PR adds GitHub workflow action which is triggered every time a new issue or PR is raised.
##Implementation Details
This YAML file has been implemented with the help of an external library in the GitHub Action Center.
Name: peter-evans/create-or-update-comment
GitHub Link: https://github.com/peter-evans/create-or-update-comment
##Tests
Had tried the implementation on the forked library after removing the other two action files due to their access not being present but I could not find any instance where they would interfere with each other.
Results of the Tests are presented below:
For new issue

For new PR

#8

Closed the last pull request as was trying to find some workaround regarding the permission.Lets see if it works now on merging. Do Let me know if you require any further changes and sincere apologies for closing the last pr without communicating. am still in the learning phase. Hope you understand

It's ok @yashjoshi-dotcom
Happy Learning 💚!!!

hey @yashjoshi-dotcom, thanks man for this github action.
There was only problem of one command -
 permissions: write-all
I have added this command, now the workflow is working as expected.
name: Greetings

on:
  issues:
    types: [opened]
  pull_request:
    types: [opened]

jobs:
  greeting:
    runs-on: ubuntu-latest
    permissions: write-all
    steps:
      - name: Greet  Contributors for Creating New Issues.
        uses: peter-evans/create-or-update-comment@v1
        if: github.event_name == 'issues'
        with:
          issue-number: ${{tojson(github.event.issue.number)}}
          body: |
            @${{ github.actor }} Thank you for taking your time and effort for your contribution, we truly value it. Happy Learning!❤

      - name: Greet New Contributors for Creating New PR/Issues.
        uses: peter-evans/create-or-update-comment@v1
        if: github.event.action =='opened' && ( github.event_name == 'pull_request'  || github.event_name == 'pull_request_target')
        with:
          issue-number: ${{tojson(github.event.number)}}
          body: |
            @${{ github.actor }} Thank you for taking your time and effort for your contribution, we truly value it. Happy Learning!❤

A heartfelt thanks to you for your contribution to this project 🎉🎉
We are really grateful for your contribution.
Happy Learning 💚!!!

Pretty grateful for the opportunity.<3

If you like this repo please give a ⭐


[W6.4f][F11-B2]Ngeow Shan Yong Destin

Please use the imperative tone Add xxx instead of added xxx, refer to https://oss-generic.github.io/process/docs/FormatsAndConventions.html#commit-message


remove awa-lwt: it has not been used much, and we want to focus on awa-mirage

/cc @palainp Are you fine with that?

also cc @haesbaert who authored this code

I talked with christiano, he's fine this to be deleted.


module.resolve  do not return a resolved path

when deploy the app in a java sevlet container

Which container are you using and are you on master or on 0.11?

0.11. and the container is apache-tomcat-7.0.68-windows-x64. module.resolve do not return a resolved path:  /WEB-INF/.....

What is your exact module.resolve() call? I think since a WebappRepository doesn't have a parent, resolving .. fails. You can only resolve inside the current directory at the moment.

What is your exact module.resolve() call? The module's path.

exports.index = function (req) {

  // works
  module.resolve("./public/stylesheets/page.css");

  // doesn't work since resolving cannot escape the current directory
  // inside a WAR / Java Web application
  module.resolve("../web.xml")
};

If you want to deploy inside a JEE Servlet container, then you should use the "native" servlet and its corresponding servlet context directly:
exports.index = function (req) {
  const currentJsgiServlet = req.env.servlet;

  // returns a javax.servlet.ServletContext
  const currentServletContext = currentJsgiServlet.getServletContext();

  // returns an absolute path to the resource
  const realPath = currentServletContext.getRealPath("/WEB-INF/web.xml"));
}

If you are inside a servlet container and want to access resources from /WEB-INF of your current application, you should use the servlet context to obtain them. Since the container provides your application its context, this is the only reliable way.
I will add an additional property servletContext to the JSGI request for easier access