[Enhancement]  Please consider to add VCAP_APPLICATION to copy

Hi,
I'm using this plugin. This is not an actual issue, but rather enhancement to include VCAP_APPLICATION variable.  I'm developing some flows in Node-RED from IBM Bluemix. In this template, it is expected to use VCAP_APPLICATION as well as VCAP_SERVICES. Node-RED boilerplate's setting.js (bluemix-setting.js) requires both variable like:
var VCAP_APPLICATION = JSON.parse(process.env.VCAP_APPLICATION);
var VCAP_SERVICES = JSON.parse(process.env.VCAP_SERVICES);

So if this utility can copy the VCAP_APPLICATION too, this is more helpful to debug Node-RED flow locally.
Thanks !

This is a good idea, will work on this.

I've merged to a PR to do this.

Nice !


Impl MagickWandExportType directly on c_unchar ... & impl new fn MagickWand::write_image_pixels_to

Also FIx MagickWandExportTypeSealed: Properly seal that trait.
Signed-off-by: Jiahao XU<EMAIL_ADDRESS>

P.S. I have roughly one more PR to go.

P.S. I have roughly one more PR to go. Once that is done, @jmjoy you can go ahead and publish the crate.

OK. I'll publish new version if you need it.

OK. I'll publish new version if you need it.

I will probably do it tomorrow evening.
It's quite late here so I got to sleep :D


SFB back-compatibility broken after update to 1.12 version

Hi there!
Recently we found out that .sfb models converted (from .fbx) by plugin converter version 1.11 no more work correctly after update to Sceneform SDK version 1.12 - app crashes with Filament panic:
E/Filament: Panic
in filament::Material *filament::Material::Builder::build(filament::Engine &):86
reason: Material version mismatch. Expected 3 but received 1.

I found a couple of similar issues - #877 & #726 & #709 and more, but without attention from Sceneform team, unfortunately.
Actually it is not a big deal to reconvert models with new version's toolchain if the application delivers models in the APK-file, but it is a huge problem if the application downloaded the model from the server and use it from the cache.
In that case migration from the old version to new one is complicated, and could harm user experience.
Is it possible to have back-compatibility for models between minor SDK releases?
If no, could be great to warn developers about broken compatibility in release notes and provide some API to check if model compatible with current SDK version. If we could check it programmatically - we could make migrations at least... Now it's just runtime crash.

Same here. Tired of reconverting thousands of models.

Same here. Any solution ?


Falling through units causes immense lag

I don't even...

seems to be causing mem usage to spike up at an alarming rate, but I'm not 100% sure


WebTests might not be reliable

In https://github.com/effekt-lang/effekt/pull/542 (in commit https://github.com/effekt-lang/effekt/pull/542/commits/157a005599989c5ac18a308c1d3fb5c64daa11f0 or some previous one), the WebTests seemed to throw errors, but the tests still registered as passing, even though they should have failed by the virtue of erroring:
+ effekt.WebTests.Can read files from the stdlib 8ms
/home/runner/work/effekt/effekt/out/tests/effekt.javascripttests/lib_test.js:854
              const v_r_5457733111_546489 = Math.round(performance.now() * 1000000);
                                                       ^
ReferenceError: performance is not defined
    at /home/runner/work/effekt/effekt/out/tests/effekt.javascripttests/lib_test.js:854:56
    at /home/runner/work/effekt/effekt/out/tests/effekt.javascripttests/lib_test.js:856:15
    at Object.apply (/home/runner/work/effekt/effekt/out/tests/effekt.javascripttests/lib_test.js:515:19)
    at trampoline (/home/runner/work/effekt/effekt/out/tests/effekt.javascripttests/lib_test.js:435:19)
    at Object.run (/home/runner/work/effekt/effekt/out/tests/effekt.javascripttests/lib_test.js:542:18)
    at Object.main (/home/runner/work/effekt/effekt/out/tests/effekt.javascripttests/lib_test.js:1095:29)
    at Object.<anonymous> (/home/runner/work/effekt/effekt/out/tests/effekt.javascripttests/lib_test:2:89)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
+ effekt.WebTests.Evaluate simple expressions in REPL 14384ms
42
+ effekt.WebTests.Evaluate expressions that uses a builtin which relies on an extern literal 14812ms  [object Object]
+ effekt.WebTests.Evaluate expressions using stdlib in REPL 11153ms
+ effekt.WebTests.Show core on website 10711ms
+ effekt.WebTests.Load file with multiline extern strings 12618ms
Error: /home/runner/work/effekt/effekt/out/tests/effekt.mltests/lib_test.sml 391.69-391.76.
  String constant with character too large for type: #"\u2715".
    type: string
Error: /home/runner/work/effekt/effekt/out/tests/effekt.mltests/lib_test.sml 561.67-561.74.
  String constant with character too large for type: #"\u2713".
    type: string

Note that this might have been a fluke introduced by me reading the interspersed logs. In that case, feel free to close this issue as invalid.

I thought about this more, tried out some things locally, and I really think it was just a fluke (as evidenced by the files the errors are coming from).
Closing (but please reopen if you re-encounter this problem!)


The code Test the prediction endpoint in Python is Not working Please Update The Documentation if There is any update

[Enter feedback here]

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

ID: 4f6c3f20-25a4-bc19-0cb6-377eff01b00e
Version Independent ID: 02d76c7b-cffa-c94f-2298-ba7e506d4f79
Content: Quickstart: Image classification with Custom Vision client library or REST API - Azure Cognitive Services
Content Source: articles/cognitive-services/Custom-Vision-Service/quickstarts/image-classification.md
Service: cognitive-services
Sub-service: custom-vision
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

predictor.classify_image() Function is Not working

If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


npm ERR! code EISGIT, Appears to be a git repo or submodule

I get this when I do npm install. I'm happy to provide more info if needed.
npm ERR! code EISGIT
npm ERR! git /Users/fredrikve/Stagecast/goteborgsvarvapp/node_modules/react-native-safe-area-view: Appears to be a git repo or submodule.
npm ERR! git     /Users/fredrikve/Stagecast/goteborgsvarvapp/node_modules/react-native-safe-area-view
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

EDIT: this happens on a fresh npm install

same as you

Try it  rm -rf node_modules/*/.git/.   It works for me!

Thanks @Irislm I ran the command and it fixed the issue. I'm still wondering what caused the issue on the first place.

@Irislm Thanks for the work-around. I edited the issue to specify when this happens

@fredrik-jarnbrost @a379351939 @Irislm @jqn FYI it's fixed in this commit https://github.com/react-native-community/react-native-safe-area-view/commit/1f8d3897144fd6512e42c49a2be6f4a95c101515
See this comment in another issue https://github.com/react-native-community/react-native-safe-area-view/issues/69#issuecomment-493078618

Oh didn't find that issue when I searched, sorry. Thanks for the quick help!
Closing this, duplicate of https://github.com/react-native-community/react-native-safe-area-view/issues/69

Thanks @Irislm I ran the command and it fixed the issue. I'm still wondering what caused the issue on the first place.

where to run??

@shadyo7 run it in the root of your project where the node_modules directory is located

Also me!

it breaks my project

Try it rm -rf node_modules/*/.git/. It works for me!

Thanks it work for me

If you have this problem with Homebrew :  rm -rf /usr/local/lib/node_modules/*/.git/ then update again.

If you have this problem with Homebrew : rm -rf /usr/local/lib/node_modules/*/.git/ then update again.

good job , this worked for me

@shadyo7 run it in the root of your project where the node_modules directory is located
i run it in root files but get this

'rm' is not recognized as an internal or external command,
operable program or batch file.

BEST PROMO LICENSI FEE PERIODE JULY-DECEMBER 2019
Dapatkan promo terbaik dari kami dengan membayar Licensi Tahunan. Cukup
Bayar 10 Bulan (Free 2 Bulan) + Dapatkan Special Gift Dari Kami (silahkan
dipilih salah satu😇).
Promo berakhir sampai akhir Desember 2019. Jadi, jangan sampai ketinggalan
promo special dari kami.
Untuk informasi lebih lanjut silahkan hubungi kami :
Contact : Tugek sri WA 0821-44-55-00-76 Telp (0361) 725 901
TUGEK SRI Admin Finance Email<EMAIL_ADDRESS>CV. MITRA SOLUSI
MANDIRI Jl. Bedugul 17D, Pertokoan De'a Graha Sidakarya, Denpasar, Bali,
80224 www.probussystem.com No problem, only solutio
Pada tanggal Sen, 8 Jul 2019 pukul 14.03 shadyo7<EMAIL_ADDRESS>menulis:

@shadyo7 https://github.com/shadyo7 run it in the root of your project
where the node_modules directory is located
i run it in root files but get this
'rm' is not recognized as an internal or external command,
operable program or batch file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/react-native-community/react-native-safe-area-view/issues/73?email_source=notifications&email_token=ADBLLWQ37TETZWHHOZ4RJRLP6LKDNA5CNFSM4HNJ6AYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZMBW2A#issuecomment-509090664,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADBLLWQCV6FDFDBE3SWHLXTP6LKDNANCNFSM4HNJ6AYA
.

@shadyo7 run it in the root of your project where the node_modules directory is located
i run it in root files but get this

'rm' is not recognized as an internal or external command,
operable program or batch file.
jqn

delete node_modules and then npm install

Hi!
I've got the same problem with @tensorflow/tfjs package.
When I install it locally everything works, problem appears when I deploy it on CircleCi -> Google Kubernetess.
I get this err:
npm ERR! path /root/repo/node_modules/@tensorflow/tfjs-converter
npm ERR! code EISGIT
npm ERR! git /root/repo/node_modules/@tensorflow/tfjs-converter: Appears to be a git repo or submodule.
npm ERR! git     /root/repo/node_modules/@tensorflow/tfjs-converter
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.
any ideas?

Hi!
I've got the same problem with @tensorflow/tfjs package.
When I install it locally everything works, problem appears when I deploy it on CircleCi -> Google Kubernetess.
I get this err:
npm ERR! path /root/repo/node_modules/@tensorflow/tfjs-converter
npm ERR! code EISGIT
npm ERR! git /root/repo/node_modules/@tensorflow/tfjs-converter: Appears to be a git repo or submodule.
npm ERR! git /root/repo/node_modules/@tensorflow/tfjs-converter
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.
any ideas?

I'm having this problem too. Have you tried manually removing its .git and seeing if your app still works?

this isn't best way but it works.
remove package-lock.json
and then npm install

rm -rf node_modules/*/.git/
this is a command right

Delete manualmente o modulo react-native-safe-area-view , e rode novamente o npm install ele atualizará o modulo. Isso acontece quando há uma incompatibilidade entre o modulo react-native-safe-area-view e o modulo que se pretende instalar. Exemplo,  react-native-gesture-handler.

rm -rf node_modules/*/.git/

Its worked for me.

I have to do this two steps to work!

Try it rm -rf node_modules/*/.git/. It works for me!
remove package-lock.json
Thanks!

rm -rf node_modules/*/.git/

1m silence for the windows users like me. :see_no_evil: :hear_no_evil: :speak_no_evil:

If still have this problem try:
rm -rf ../node_modules/**/*/.git/

If still have this problem try:
rm -rf node_modules/**/*/.git/

I tried
rm -rf node_modules/*/.git/

and still getting the same error ....
I don't seem to have a .git directory in
node_modules/react-native-safe-area-view

I tried
rm -rf node_modules/*/.git/

and still getting the same error ....
I don't seem to have a .git directory in
node_modules/react-native-safe-area-view

Try to clone the repo again (in another directory) and run npm install.

I tried
rm -rf node_modules/*/.git/

and still getting the same error ....
I don't seem to have a .git directory in
node_modules/react-native-safe-area-view

Try to clone the repo again (in another directory) and run npm install.

How would this effect my project ?

I tried
rm -rf node_modules/*/.git/

and still getting the same error ....
I don't seem to have a .git directory in
node_modules/react-native-safe-area-view

Try to clone the repo again (in another directory) and run npm install.

How would this effect my project ?

It will not effect your project since you are just cloning  it again.
Before you do that try to go to "./node_modules/react-native-safe-area-view/" and delete ./git directory manually.

I tried
rm -rf node_modules/*/.git/

and still getting the same error ....
I don't seem to have a .git directory in
node_modules/react-native-safe-area-view

Try to clone the repo again (in another directory) and run npm install.

How would this effect my project ?

It will not effect your project since you are just cloning it again.
Before you do that try to go to "./node_modules/react-native-safe-area-view/" and delete ./git directory manually.

You can see in my first comment that I don't have a .got directory

I tried
rm -rf node_modules/*/.git/

and still getting the same error ....
I don't seem to have a .git directory in
node_modules/react-native-safe-area-view

Delete your react-native-safe-area-view from node modules

What does -rf stand for because I cant run the command on windows ... It tells me that it doesnt know the command -rf
using windows 10

Sorry was on mac, on windows it should be simple  rmdir
-thanks
kirankumar
From: yesIamFaded<EMAIL_ADDRESS>Sent: Monday, May 11, 2020 3:29 AM
To: react-native-community/react-native-safe-area-view<EMAIL_ADDRESS>Cc: Kirankumar Balijepalli<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [react-native-community/react-native-safe-area-view] npm ERR! code EISGIT, Appears to be a git repo or submodule (#73)
What does -rf stand for because I cant run the command on windows ... It tells me that it doesnt know the command -rf
using windows 10
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/react-native-community/react-native-safe-area-view/issues/73#issuecomment-626617748, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADGUHRC6QUGMU7UGRL2USJ3RQ7HOLANCNFSM4HNJ6AYA.

@kirankbee ok but somehow i still have the error..

Run npx yarn add react-native-safe-area-view

yh thats the fix got it from stack yesterday !!! @mkhoussid

@Irislm thanks, save my day


Removed counter from Twitter, as it's no longer supported

https://blog.twitter.com/2015/hard-decisions-for-a-sustainable-platform
Addresses #14, pointed out by @pagelab

Sorry for the massive delay on this. Counts were removed in another PR so closing this


fix: logging issues and moved log settings in new general panel

Pull Request Test Coverage Report for Build 480645234

66 of 346 (19.08%)  changed or added relevant lines in 7 files are covered.
14 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.4%) to 24.339%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app.js
0
1
0.0%

lib/SocketManager.js
2
3
66.67%

src/modules/Settings.js
0
2
0.0%

lib/logger.js
48
53
90.57%

lib/MqttClient.js
0
13
0.0%

lib/Gateway.js
16
44
36.36%

lib/ZwaveClient.js
0
230
0.0%

Files with Coverage Reduction
New Missed Lines
%

lib/logger.js
5
86.96%

lib/Gateway.js
9
19.59%

Totals

Change from base Build 480495878:
-0.4%

Covered Lines:
1963

Relevant Lines:
8239

💛  - Coveralls

Pull Request Test Coverage Report for Build 480645234

66 of 346 (19.08%)  changed or added relevant lines in 7 files are covered.
14 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.4%) to 24.339%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app.js
0
1
0.0%

lib/SocketManager.js
2
3
66.67%

src/modules/Settings.js
0
2
0.0%

lib/logger.js
48
53
90.57%

lib/MqttClient.js
0
13
0.0%

lib/Gateway.js
16
44
36.36%

lib/ZwaveClient.js
0
230
0.0%

Files with Coverage Reduction
New Missed Lines
%

lib/logger.js
5
86.96%

lib/Gateway.js
9
19.59%

Totals

Change from base Build 480495878:
-0.4%

Covered Lines:
1963

Relevant Lines:
8239

💛  - Coveralls


[WIP] Added scriptable transforms python example

Description:

Updated docs and provided an example of scriptable transforms

ToDo: Improve inference example

Inference on batch input (CPU and GPU)

@fmassa thanks for the review, I can address all that in this PR:

remove images, empty cells and ToDo section
replace all mentions of "torch jit script" by "torchscript"


RUMM-3317: Generate public API surface for Java

What does this PR do?
This PR brings the generation of public API surface from the Java point of view by using the following plugin.
This plugin will generate the surface in the api folder, and since there is no way yet to change folder and file name, apiSurface files are moved under the api folder as well for the consistency and their names are left untouched (anyway there is no way to explicitly add java suffix to the files coming from plugin). Copy task to move files around is not used in order to respect task outputs and build caching.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1449 (5e27358) into feature/sdkv2 (9f3aab7) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@                Coverage Diff                @@
##           feature/sdkv2    #1449      +/-   ##
=================================================
- Coverage          82.78%   82.75%   -0.03%
=================================================
  Files                412      412
  Lines              14490    14490
  Branches            2341     2341
=================================================
- Hits               11995    11990       -5
- Misses              1797     1801       +4
- Partials             698      699       +1

see 14 files with indirect coverage changes


A.33.IR38.authority.url.node

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
Note: in TG Requirement Coverage table (req# 38), the link to this test case returns a 404 error.
More importantly, it is not clear why there should be a AuthorityURL node in each layer. IR38 suggests that this can be defined only once. The example in the TGs also has this element only onceà and has multiple layers.
Also, the test purpose is that of IR37 instead of 38.
Proposed Change
Update the purpose. Alternatively, consider merging test cases A.32 and A.33.

In fact it is an error in the WMS specification if the same AuthorityURL is specified in layer if it also specified in the root layer (or a group layer).

Agreed on considering merger

Addressed in issue #110 and implemented by commit de9b08b


syntax highlighting for https://play.golang.org/

Context: https://play.golang.org/
It would be great to support syntax highlighting in https://play.golang.org/.  It is supported in the editor on tour.golang.org but for some reason not in play.golang.org.

Hi,
this is already tracked at golang/go#34227. Feel free to subscribe to that issue for updates. Closing here as a dup.


Bump Sococo to version 3.5.17

Thank you for the contribution. It needed some fixes, so they were made in cbaef3f127b9bdc9989ea49c17132e676e61c35f. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Error: Video Controller was used after disposed

Please provide proper steps to reproduce and issue in depth to examine the problem and fix it.

@whatsevr Please provide steps to reproduce. Thanks

Use pageview builder and a few story with Images and video from Cloud and fast scroll or fast swipe you will get the error on debug mode. Sorry i cannot share the code as of busy schedule.


Publicity

Hi there,
I just discovered this, and it looks really nice!  However, I found it on the fifth page of a Google search for hylang.  I think this needs some better publicity.  :)  Maybe there needs to be a semi-official list of Hy projects...

Happy new year,
First of all, thank you for opening this issue. I am glad that you are interested in hycl.
Yes, it may be good to publish this library in a little more eye-catching place.
Should I post it here? https://libraries.io/github/hylang/repositories
(or is there somewhere else?)
Also, you may be interested in the following articles. (Since they  are written in Japanese, I recommend you to use google translation)
https://qiita.com/riktor/items/498a30d41f89d41ea168
https://qiita.com/riktor/items/3389a790f9bd604d211c
https://qiita.com/riktor/items/cd914612673fe7828a8d

BTW, I don't know if I'm doing something wrong now, but using Hy 0.16, this module doesn't seem to work anymore.
=> (require [hycl [*]])
None

Somehow I got this error at the REPL at some point, although I can't find the line that caused it:
hy.errors.HyRequireError: The module <module 'hycl' from '/home/me/.local/lib/python3.4/site-packages/hycl/__init__.py'> has no macros or tags

But hycl is installed with pip3 and is up-to-date.  I just want to use ignore-errors, but I can't get the macros to load.  :(


Setup and teardown

This PR re-brands internal reporter architecture as "listeners" to allow for a setup and teardown use case.
Notes:

First-ever tests for the listener (aka reporter) life cycle
Documented how to implement setup and teardown with listeners in the README
makes listenTo() an optional implementation on listener objects (as with flush(), previously)

Solves https://github.com/TestArmada/magellan/issues/72
/cc @geekdave

are you guys thinking of adopting test practices for the framework itself? it seems most PRs are added with no test coverage... and irony aside, I'm now hesitant to bring this tool into our testing stack (although we are currently blocked on #18 which adds support for root-level hooks and mocha.opts processing before test suite collection for e.g. enabling coffeescript test files)

@mattfysh You're absolutely right. The irony is off the charts. Your comment is making me think maybe we should step back and spend some quality time getting our house in order in this respect before charging forward. I appreciate the kick in the pants :jeans:

Reworking this PR a bit. It's needlessly adding redundant functionality.
Instead of adding new functionality, I'm doing the following:

Internally renaming reporters to listeners. Same existing API.
Adding unit tests for listeners to check the listener lifecycle: new, initialize, listenTo, message delivery, and flush.
setup/teardown will be implemented as a listener instead of as a new feature.

Removed new functionality (it was redundant). Added several tests, cleaned up README to document how to implement setup / teardown as a listener.

TODO: I'd like to add a test for setup_teardown itself, which will require running the magellan binary.

https://github.com/TestArmada/magellan/issues/79


Update blend factors for BlendMode::normal

I might be getting this backwards but it looks like the blend factors of ONE and SRC_ALPHA_MINUS_ONE are not right for a normal blend mode.  Although the results are fairly similar most of the time, playground: https://www.andersriggelsen.dk/glblendfunc.php

Hey! This actually is done on purpose - however the way I named it is confusing. The "normal" blend mode in this case actually means drawing with premultiplied alpha, however I'm missing a Non-Premulitplied version (like what you changed it to). I think I'll fix this by adding a variant and maybe renaming "Normal" as well.
I could follow the same naming as XNA does with "AlphaBlend" replacing normal, and adding "NonPremultiplied" like you added:
https://github.com/FNA-XNA/FNA/blob/1e49f868f595f62bc6385db45949a03186a7cd7f/src/Graphics/States/BlendState.cs#L172

Added NonPremultiplied in https://github.com/NoelFB/blah/commit/d2703e5050f86d94a3c09f2c2c3053a298b854b9
I still haven't renamed the Normal one which I think should happen ...

actually means drawing with premultiplied alpha
Why do you mean by this? Googled a bit could not find much info.
In any case, I'll close this :) thought It was a bug seems like it's not :)

Ah so premultiplied alpha means that the color channels are multiplied by the alpha channel in the actual image, which can be nicer for drawing things with transparency. Here's a post I found that explains it fairly well: https://gamedev.stackexchange.com/a/138818
Some engines do this automatically (I think Unity has a toggle for it called like "Alpha is Transparency" or something?). It's not required though. I honestly haven't tried using non-premultiplied alpha in a very long time so it's been a while since I visited the various side effects.


Validate Kotlin examples

See https://spring.io/blog/2018/09/11/kotlin-support-in-spring-cloud-function/

Resolved with https://github.com/spring-cloud/spring-cloud-function/commit/16dacb750f9467f7297ebec73eae4f193448b58e


Dev moc108 haldriver

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: caveguy:white_check_mark: raulcxw:white_check_mark: Cheng-SG:white_check_mark: lluwang:white_check_mark: junjiec:x: yangswyangsw seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


enhance Arabic translation

Add missing translations
Enhancement for old translations
Fix issue with spatie-laravel-translatable-plugin translations path

Thanks!


Widget

A flash icon which activates the flashlight was added in v1.3.

Is something like this with a slider for the screen brightness possible too?

May you do a second widget that is able to adjust the screen brightness, @unbiaseduser? 🤔

Btw, @CrazyMarvin can you give feedback on this new widget design?


Is there a configuration to switch from CPU mode to GPU mode?

Hi! Is there such a configuration or command-line setting?  Refacer always runs in CPU mode.  I've installed NVidia drivers for my RTX3090 and I have roop running well on GPU mode.  Thanks!!!

u r not alone, other people having same problem #38 #36


Changed DisplayName to Email in ServiceAccount watcher

DisplayName is an optional field.  Changed to Email for consistency.  This was raised in Gitter chat, but I don't think it was officially reported.

Coverage remained the same at 60.414% when pulling 0839c50795206dcfa1fe21392f6b98fb844c190c on supertom:watcher-fix into 370f40ed20e1ef6f7530423036b8b7d19d908212 on Netflix:develop.

Is there a max length on email?
Item.name is limited to 303 chars:
https://github.com/Netflix/security_monkey/blob/develop/security_monkey/datastore.py#L226


getting KL divergence to work

in the train_vae script the kl_loss is set to zero via the weight parameter and also in my elaborate runs of experiments, I found that including the KL term does more harm than it helps. @karpathy also mentioned trouble in getting it to work properly.
did anyone achieve any progress on this matter?
Also, this
https://github.com/lucidrains/DALLE-pytorch/blob/7658e60f3a15c74ce96ac5cb661e7dd7101b50b6/dalle_pytorch/dalle_pytorch.py#L196
rather use the soft_one_hot values than the raw logits?
Also, I find it a little confusing that we are actually annealing the temperature of gumbel-softmax, thus steering the it towards one_hot sampling when at the same time we are trying to encourage the distribution to be close to a uniform prior. Isnt this a contradiction?

I argee with you. So I temporarily set kl_weight to zero. Otherwise the recon_loss cannot be reduced. In this version, kl_loss is contradict to recon_loss.

maybe someone can email the paper authors to see if this loss was used at all?

I must have been used as they mention an increasing weight parameter in the paper.
Still, I am trying, but I cant seem to figure out his e mail adress. On the paper it says
Aditya Ramesh<EMAIL_ADDRESS>so I tried<EMAIL_ADDRESS><EMAIL_ADDRESS>but they dont exist...

Has anyone had any more insights/updates on this? I'm running into the exact same issue (on an independent DALL-E repro) and bashing my head against the wall trying to understand the behaviour!


Inference with grid prompt

Hi,
I'm currently testing the MedSAM2 solution and trying to use the model without prior knowledge of the segmented mask during inference. I'm considering using a grid prompt instead, which would allow me to perform inference on unknown scans. In this case, is it sufficient to use the grid only during inference, or should it also be used during training? If I checked correctly, such options don't seem to be available in MedSAM at the moment, correct?
Thanks!

Hi @pawel-gawron ,
Thanks for your interest.
Yes, it was not supported because this function is relatively not useful in medical images. I recommend using the official SAM2 repo for the grid prompt.


New package: PositionalEmbeddings v0.1.0

Registering package: PositionalEmbeddings
Repository: https://github.com/mashu/PositionalEmbeddings.jl
Created by: @mashu
Version: v0.1.0
Commit: cde499de39de7bca570701fbfbd2b8d1d92a354e
Reviewed by: @mashu
Reference: https://github.com/mashu/PositionalEmbeddings.jl/commit/cde499de39de7bca570701fbfbd2b8d1d92a354e#commitcomment-149349225
Description: Positional embeddings for enriching sequence data with positional information
Release notes:

Initial release with AbsolutePE and RoPE.

Closing in favor of https://github.com/JuliaRegistries/General/pull/119892
Please do not make additional releases during the three-day-waiting period. It requires manual intervention from the registry maintainers, and also resets the timer.


[📚] [firebase_messaging] Topic on web platform is not supported

Is seems that Topics are not supported on the web version : it throw UnimplementedError when used.
When looking the code, it confirms that.
But I found nothing about that in the docs.
Did I miss something ?

Thanks for pointing this out.

The ideal would be to implement it :)


Communicating with debug sessions

I wanted to ditch server when developing my app, so i can postpone creating api. To do this i need a way to make functionality where i could open 2 tabs and have 2 different users who could communicate with each other. Is there any way for subscribing for debug_session changes in another tab?

This is probably out of scope and my problem :)

See how persistState works—shouldn't be hard to make a custom version that does something else.


Warn of known incompatibilities between client versions

A buyer visiting a store with an incompatible version may not know until quite late in the purchase flow that the transaction cannot be completed. I suggest being more upfront about versioning, displaying a message like "Your OpenBazaar client has version XXX which is known to be incompatible with this node's version YYY."
This would be especially easy to do with Semantic Versioning (where only MAJOR versions have incompatible changes), but unfortunately I don't think we're using Semantic Versioning.

This is a duplicate of #578, we're planning to implement this, probably post 2.0.


[website] Add about page

Preview: https://deploy-preview-27599--material-ui.netlify.app/branding/about/
waiting for #27598

added tooltip to show location on hover. I think it is nice to see the location apart from country flag.

[ ] I have followed (at least) the PR section of the contributing guide.

Hey! You missed me on the team grid, I'm actually sad! 😭😭😭

Hey! You missed me on the team grid, I'm actually sad! 😭😭😭

Actually, the last is the most important one! 😂

Hey! You missed me on the team grid, I'm actually sad! 😭😭😭

Added, you have the most outstanding background! how cool is that.

@oliviertassinari by removing this line
<Person
-  sx={{ height: '100%' }}
  {...profile}
/>

you got,

Have you considered this?

@siriwatknp Oops, I was initially aiming to remove the duplication (x3)

@siriwatknp Oops, I was initially aiming to remove the duplication (x3 sx={{ height: '100%' }}).

Okay, no prob. I have brought it back. I don't think there is anything left for this page (checked the lighthouse in the PR description, it looks good to me)

When the font loads, the layout shifts, it's distracting. OS font:

Font loaded:

In https://next.material-ui.com/branding/about/, we fixed it by forcing the line break where we want it (with a <br>)

Here are no h1 on the page, this one should have it. (Found with Wave Chrome extension)

The img are used as links, you can add an alt, it's not decorative

I think that we could challenge the UI/UX of the button.

For instance, should it have the ripple when focused or an outlined as in https://next.material-ui.com/branding/about/

Something is off with the companies in dark mode

@oliviertassinari For 4 and 5, I am waiting to hear from @danilo-leal opinion but I don't think it is a priority and can be improved later.

@oliviertassinari For 4 and 5, I am waiting to hear from @danilo-leal opinion but I don't think it is a priority and can be improved later.

About 4, what would you make it different? And about 5, we're going to revisit that in a refinement phase (updating the companies we use + the coloring and sizing of the logo - to all pages). Agree with not being a priority :) Very awesome work!

@michaldudak 👍  I recall @mbrookes did it for the current logos on the homepage.

I'm not sure what the illustration is for here

Decorating the logo also goes against the visual identity guidelines (ours, and in general). @danilo-leal let me know if you don't have them.


Add doctype

There's no way to write doctype in jsx, so provide default html5 doctype or options would be great.

@LabiKyo What if your render method returns an array containing the string '<!DOCTYPE html>' and your html node?

Nevermind, that does NOT work :P


"Request processed" on register but nothing in the db

Hi ! I have been testing SuperLogin over the weekend for an upcoming project but it seems I have reached a blocking point.
I am trying to make the code example from the README work with my instance of CouchDB on my distant server.
The /register POST seems OK
curl --request POST \
  --url http://localhost:3000/auth/register \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data '={
  "name": "Joe Smith",
  "username": "joesmith",
  "email"<EMAIL_ADDRESS>  "password": "bigsecret",
  "confirmPassword": "bigsecret"
}'

{
  "success": "Request processed."
}

but then there is nothing appearing in the Fauxton and of course the next step gives me some kind of error
curl --request POST \
  --url http://localhost:3000/auth/login \
  --header 'Authorization: Basic am9lc21pdGg6Ymlnc2VjcmV0'

{
  "message": "Missing credentials"
}

And the CLI doesn't help me much as there is no error message at all, only POST /auth/register 200 516.158 ms - 32
On the CouchDB logs, there is only this POST /sl-users/_find 200 ok 5 when I perform the request.
My SuperLogin config is as following :
{
  dbServer: {
    protocol: 'https://',
    host: 'krlx.ovh:6984',
    user: 'admin',
    password: 'redacted',
    userDB: 'sl-users',
    couchAuthDB: '_users'
  },
  mailer: {
    fromEmail<EMAIL_ADDRESS>    options: {
      service: 'Gmail',
      auth: {
        user<EMAIL_ADDRESS>        pass: 'redacted'
      }
    }
  },
  userDBs: {
    defaultDBs: {
      private: ['supertest']
    }
  }
}

CouchDB 3.1.1
SuperLogin 0.14.1
Node 14

Maybe you have an idea of what I did wrong ? Anyway thanks for maintaining this project.

Hi,
If you want to use application/x-www-form-urlencoded your request would need to look like this, which works for me with your setup:
curl --request POST \
  --url http://localhost:3000/auth/register \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode<EMAIL_ADDRESS>\
  --data-urlencode 'password=bigsecret' \
 --data-urlencode 'confirmPassword=bigsecret'

Or you can simply use application/json instead:
curl --request POST \
  --url http://localhost:3000/auth/register \
  --header 'Content-Type: application/json' \
  --data '{"email"<EMAIL_ADDRESS>"password": "bigsecret", "confirmPassword": "bigsecret"}'

Nevertheless, I should add some logs and return an error if the validation fails with anything else than an email being in use.

I works perfectly now and I feel pretty stupid for mixing urlencoded with my json object 😓
Would you welcome a pull request to make the Readme a bit more verbose/exhaustive around this part ?

No worries, thanks for reporting. There should have been a Validation Error as answer, not a 200: request processed. The example part is a bit outdated anyway's, I'll update it together with my fix.


Add rector [batch]

Added rector/rector to CI and composer.json. Mass creation refers to https://github.com/yiisoft/yii-dev-tool/pull/232

Is this PR ready now?

Yes.


Implement Smoother Controls for Character Movement

Overview:
The current character movement can feel abrupt when starting, stopping, or changing directions. To enhance gameplay and improve user experience, we aim to implement smoother controls for character movement.
Objective:
Refine the character's movement response to player input to ensure that starting, stopping, and changes in direction are more fluid and natural.
Details:

Acceleration & Deceleration:

Implement an acceleration factor for when the player starts moving. The character shouldn't reach its full speed instantly.
Similarly, add a deceleration factor for when the player releases movement keys. Instead of stopping immediately, the character should slow down gradually.

Directional Changes:

When the player changes direction, smoothly interpolate between the current and desired movement direction.
This interpolation will prevent sudden direction shifts, particularly noticeable when making sharp turns.

Keyboard Input Handling:

Ensure that the smoother controls are responsive to varying keyboard inputs, such as quickly pressing opposite directions or rapidly alternating between movement keys.

Feedback:

Consider slight animation adjustments (e.g., lean into the movement direction) to complement the smoother controls visually.
Sound feedback could also be beneficial, like different footsteps sounds for acceleration, running, and deceleration.

Acceptance Criteria:

Starting movement should exhibit a noticeable acceleration rather than an immediate full speed.
Releasing movement keys should result in the character decelerating smoothly to a stop.
Changing movement directions should be fluid, without abrupt shifts.
The game should remain responsive to user input, ensuring that smoother controls don't introduce input lag.

Potential Challenges:

Ensuring that smoother controls do not conflict with other movement mechanics, like jumping or interactions with different gravitational fields.
Balancing smoothness with responsiveness: Too much smoothing can make the controls feel sluggish.

Notes:

Playtesting is essential. Changes might feel good during isolated testing but could affect gameplay when combined with other mechanics.
Consider adjustable parameters (like acceleration and deceleration factors) that can be tweaked easily without diving deep into the code.

1. Acceleration and Deceleration:
Instead of instantly setting a character's velocity when a button is pressed, you can gradually increase or decrease the speed. This is achieved by incorporating acceleration and deceleration values.

Acceleration: When the player starts moving, don't instantly set their speed to PLAYER_SPEED. Instead, start from 0 and increase it each frame until it reaches PLAYER_SPEED.

Deceleration: Similarly, when the player stops pressing the movement key, don't instantly set their speed to 0. Instead, reduce the speed gradually.

In the context of your Rust code, you could adjust the linear_velocity by a factor of acceleration or deceleration, rather than directly setting it based on input.
2. Lerping (Linear Interpolation):
A common technique to smooth out transitions is to use linear interpolation (often referred to as 'lerping'). Lerping smoothly transitions from one value to another over a short period.
For player movement, instead of immediately changing the player's speed, you'd smoothly interpolate from the current speed to the desired speed.
let target_velocity = move_dir.normalize() * PLAYER_SPEED;
linear_velocity.0 = linear_velocity.0.lerp(target_velocity, acceleration_factor);

In the above, acceleration_factor would be a value between 0 and 1 determining how fast you want the character to accelerate (with 1 being instantaneous, as it is now).
3. Smooth Turning:
When changing directions, instead of instantly flipping or changing the character's direction, you can use a smooth rotation. This can be achieved using a slerp (spherical linear interpolation) function on quaternions or a lerp on rotation angles.
4. Input Buffering:
This is more relevant for fast-paced games where precise timing is crucial. If a player pushes a button just a fraction of a second before they're technically allowed to (e.g., jump a split second before landing), you might still want to count it as a valid input. This makes the controls feel more forgiving and responsive.
5. Variable Input Response:
For analog inputs (like gamepad sticks), consider having the character move slower when the stick is slightly tilted and faster when it's fully tilted. This gives players finer control over the character's speed.
6. Feedback:
Smooth controls also benefit from feedback. The use of sound, slight screen shakes, or particle effects can reinforce the sensation of movement, making it feel smoother and more connected.


JSON.Parse<SomeType[]>(jsonText) returns array of plain JS objects instead of Bridge class

Expected
JSON.Parse<SomeType[]>(jsonText) should return array of SomeType instances.
Deserialized with JSON.Parse<Foo[]>():
    I'm Demo.Foo and my value is 100

Actual
It returns array of plain JS objects. Its properties are copied but without 'Bridge.merge()'-ing it with proper SomeType class instance.
Deserialized with JSON.Parse<Foo[]>():
    result[0].someMethod is not a function

Steps To Reproduce
http://deck.net/253736f96c7ddacdbe0c95fcf1383196
public class Foo
{
    public int Value { get; set; }

    public string SomeMethod()
    {
        return "I'm " + this.GetType().FullName + " and my value is " + this.Value;
    }
}

public class App
{
    public static void Main()
    {
        var serialized = JSON.Stringify(new[] { new Foo() { Value = 100 } });

        Console.WriteLine("Deserialized with JSON.Parse<Foo[]>():");
        var result = JSON.Parse<Foo[]>(serialized);
        TestFooInstance(result);
    }

    public static void TestFooInstance(Foo[] result)
    {
        try
        {
            Console.WriteLine("\t" + result[0].SomeMethod());
        }
        catch (Exception ex)
        {
            Console.WriteLine("\t" + ex);
        }
    }
}

To work around the issue, use JSON.Parse<SomeType[]>(jsonText) (see #1438) that returns array of  Bridge class instances.

I can provide an implementation for JSON.Parse that will take care of all kinds of trees of objects when those are closed:
https://github.com/bridgedotnet/Bridge/issues/2056
https://github.com/bridgedotnet/Bridge/issues/2055
https://github.com/bridgedotnet/Bridge/issues/2052
https://github.com/bridgedotnet/Bridge/issues/2051
https://github.com/bridgedotnet/Bridge/issues/2050
https://github.com/bridgedotnet/Bridge/issues/2049
https://github.com/bridgedotnet/Bridge/issues/2043

Use Bridge.JSON.Serialize and Bridge.JSON.Deserialize. See #2418 for more information.


Eyre cache rebase next/kelvin/413

Feel free to close this if you don't need it anymore! @lukechampine

whoa, I totally missed this PR somehow, whoops! Thanks though!


Extension API error is making the extension reload the whole page preventing the usage, since 2019.4.

Hey there,
Since the new release of 2019.4 we have identified a scenario where when we attempt to use an extension with a user that has not Administrator Role and deploying the extension in the dashboard causes the whole dashboard to get stuck in a reloading cycle.
After some investigation, we notice this happens when the extension attempts to perform a saveAsync() of the settings. We used the Write-back extension both the paid and the free version and the issue seems to happen for both when a saveAsync() of the settings is requested from the API.
We are reaching out since it also throws the InternalError code from the API. Find attached a print screen of the error the console prompts and a gif of the dashboard reloading. In the console, there are some logs and its at the moment where we call saveAsync() that the dashboard reloads. Again, this scenario does not happen if it is an Administrator using the extension.
Does this happen to anyone else?
Luciano,
Write-back Team

Our error handling should be better, but that error is intended: You are not allowed to use saveAsync during 'view' mode. Only during 'authoring' mode.


Add CMake examples

There should be a CMake example for building and using TrajoptLib using Cmake

The top-level readme documents building TrajoptLib with CMake:
https://github.com/SleipnirGroup/TrajoptLib/?tab=readme-ov-file#c-library
https://cmake.org/cmake/help/latest/#introduction links to https://cmake.org/cmake/help/latest/guide/using-dependencies/index.html#guide:Using Dependencies Guide, which documents using thirdparty libraries in a CMake project.
The examples folder has API usage documentation:
https://github.com/SleipnirGroup/TrajoptLib/blob/main/examples/Examples.md


HIVE-24425: Create table in REMOTE db should fail

HIVE-24425: Create table in REMOTE db should fail

Fix has been committed to master. Please close this PR. Thank you for your work on this.


Make changes to ansible script to support register api

This would require using key based ansible installation for prometheus host. Secondly we need to change the permissions for /etc/prometheus/prometheus.yml so that the current  user running prometheus can make the required changes to promtheus.yml file


Unable to resize TST width

I'm using Tree Style Tab on Firefox 103.0.2, and the OS is Linux.
The resize icon did appear when hovering onto the edge of TST. However, draging the edge doesn't resize TST's width.
As a side note, IIUC, it is now at the narrowest width:

Thanks!

I'm now managed to resize the tab by commenting out the following in userChrome.css:
#sidebar,
  #sidebar-header {
    position: relative !important;
    min-width: var(--sidebar-min-width) !important;
    max-width: var(--sidebar-min-width) !important;
  transition: .1s ease .1s;
    z-index:1;
  }

I still can't figure how this limits the resize operation, could anyone give me a hint?
Thanks!

I just found that maybe the following is suppose to narrowing the TST width when the focus is not in the sidebar:
  #sidebar,
  #sidebar-header {
    position: relative !important;
    min-width: var(--sidebar-min-width) !important;
    max-width: var(--sidebar-min-width) !important;
  transition: .1s ease .1s;
    z-index:1;
  }

  #sidebar-box:hover :-moz-any(#sidebar,#sidebar-header) {
    min-width: var(--sidebar-visible-width) !important;
    max-width: var(--sidebar-visible-width) !important;
    margin-right: calc((var(--sidebar-visible-width) - var(--sidebar-min-width)) * -1) !important;
    z-index:1;
    position: relative !important;
  transition: .21s ease 3.20s;
  }

However, with this, I can't adjust the TST width while having this feature.
Is it possible that I can adjust the width while keeping the auto sizing of sidebar feature enabled?
Thanks!

Since there were some bugs that I forgot, I disabled the resize feature by limiting the max-min width of the sidebar. But, let me tell you everything I know about the code which I have stolen from someone else.
As you have noticed by default the size of the sidebar is fixed to  --sidebar-min-width.
min-width and max-width properties are set to the same variable. Hence, you can't drag it to increase its size.
https://github.com/hakan-demirli/Firefox_Custom_CSS/blob/d354c4083d3e6b2823aac22964a0964bbff81371/userChrome.css#L49-L56
You can create another variable --sidebar-max-width and set it to something higher. Lets say 200px.
Assign it to the max-width.
  #sidebar,
  #sidebar-header {
    position: relative !important;
    min-width: var(--sidebar-min-width) !important;
    max-width: var(--sidebar-max-width) !important;
  transition: .1s ease .1s;
    z-index:1;
  }

Now you can resize the sidebar by mouse as long as it doesn't exceed these two variables.
Also if you hover your mouse over the sidebar for 3 seconds. It will expand or shrink to reach the --sidebar-visible-width, which is 162px.
You can also change the hover time by adjusting this.
https://github.com/hakan-demirli/Firefox_Custom_CSS/blob/d354c4083d3e6b2823aac22964a0964bbff81371/userChrome.css#L64
Or you can just disable the mouse hover event by removing the whole block.

@hakan-demirli Got it, thank you for the detailed explanation.


chore: bump for base support

Description
Bump KeepKey SDK for base support
Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ x] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
n/a
closes #
Risk

High Risk PRs Require 2 approvals

this only affect kk desktop users

What protocols, transaction types or contract interactions might be affected by this PR?

Testing
n/a
Engineering
n/a
Operations
n/a
Screenshots (if applicable)

looks like local keepkey-sdk package version and the version hdwallet-keepkey-rest is importing don't match. See:
Error: src/context/WalletProvider/KeepKey/components/Connect.tsx(71,49): error TS2345: Argument of type 'import("/home/runner/work/web/web/node_modules/@keepkey/keepkey-sdk/dist/index").KeepKeySdk' is not assignable to parameter of type 'import("/home/runner/work/web/web/node_modules/@keepkey/hdwallet-keepkey-rest/node_modules/@keepkey/keepkey-sdk/dist/index").KeepKeySdk'.
  Types of property 'address' are incompatible.
    Type 'import("/home/runner/work/web/web/node_modules/@keepkey/keepkey-sdk/dist/generated/apis/AddressApi").AddressApi' is not assignable to type 'import("/home/runner/work/web/web/node_modules/@keepkey/hdwallet-keepkey-rest/node_modules/@keepkey/keepkey-sdk/dist/generated/apis/AddressApi").AddressApi'.
      Property 'configuration' is protected but type 'BaseAPI' is not a class derived from 'BaseAPI'.

looks like local keepkey-sdk package version and the version hdwallet-keepkey-rest is importing don't match. See:
Error: src/context/WalletProvider/KeepKey/components/Connect.tsx(71,49): error TS2345: Argument of type 'import("/home/runner/work/web/web/node_modules/@keepkey/keepkey-sdk/dist/index").KeepKeySdk' is not assignable to parameter of type 'import("/home/runner/work/web/web/node_modules/@keepkey/hdwallet-keepkey-rest/node_modules/@keepkey/keepkey-sdk/dist/index").KeepKeySdk'.
  Types of property 'address' are incompatible.
    Type 'import("/home/runner/work/web/web/node_modules/@keepkey/keepkey-sdk/dist/generated/apis/AddressApi").AddressApi' is not assignable to type 'import("/home/runner/work/web/web/node_modules/@keepkey/hdwallet-keepkey-rest/node_modules/@keepkey/keepkey-sdk/dist/generated/apis/AddressApi").AddressApi'.
      Property 'configuration' is protected but type 'BaseAPI' is not a class derived from 'BaseAPI'.

taking a look at this, might need to bump both


Is upsampling loss considered before the concatenation in ss_fusion_seg.py?

Sorry, I mean 'lose' no 'loss'

@szubing Sorry, I don't understand the meaning of upsampling lose you mentioned. Can you explain what upsampling lose means?


Add random to entropy feature for the end

A little note that we are skipping add entropy to /dev/random for now. Should we add this feature to the end?

We had a conversation about this last Friday, I believe, to the effect that we're not doing this.  We are not copying every behavior of the MIT client; we are duplicating functionality.


feat(dex): Add cluster-internal dex communication

closes #1599

@sven-urbanski-freiheit-com I also briefed @gsandok and @bernardo-bastos  on this so you can follow-up internally

Closed via #1603


No stacks match while using applications custom config

Describe the bug
Hello
Thanks for such an awesome project!
We're having trouble getting an applications configuration working in our test LZA v1.5.1 instance's customizations-config.yaml because we are consistently getting the following error at cdk deploy time (both locally and in codebuild):
2023-10-26 07:30:17.800 | error | toolkit | No stacks match the name(s) example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2

(where<PHONE_NUMBER>55 is the correct workload account we are attempting to deploy the application block to).
To Reproduce
Given the following configuration in customizations-config.yaml (note: this version is based off of the test config found at https://github.com/awslabs/landing-zone-accelerator-on-aws/blob/main/source/packages/%40aws-accelerator/accelerator/test/configs/all-enabled-ou-targets/customizations-config.yaml, but we see the same error for any applications: config. We just included this as it's bound to be most 'correct' /readable for you):
applications:
  - name: appA
    vpc: Dev
    deploymentTargets:
      accounts:
        - Network
      excludedRegions:
        - us-west-2
    autoscaling:
      name: appA-asg
      maxSize: 4
      minSize: 1
      desiredSize: 2
      launchTemplate: appA-lt
      healthCheckGracePeriod: 300
      healthCheckType: ELB # EC2|ELB
      targetGroups:
        - appA-nlb-tg
      subnets:
        - Dev-App-A
        - Dev-App-B
    launchTemplate:
      name: appA-lt
      blockDeviceMappings:
        - deviceName: /dev/xvda
          ebs:
            deleteOnTermination: true
            encrypted: false
            kmsKeyId: xxx
        - deviceName: /dev/xvdg
          ebs:
            deleteOnTermination: true
            encrypted: true
            volumeSize: 20
      securityGroups:
        - App
      iamInstanceProfile: EC2-Default-SSM-AD-Role
      imageId: ${ACCEL_LOOKUP::ImageId:/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2}
      instanceType: t3.xlarge
      networkInterfaces:
        - deleteOnTermination: true
          description: secondary network interface
          deviceIndex: 1
          groups:
            - App
          networkCardIndex: 1
          subnetId: Dev-App-A
    targetGroups:
      - name: appA-nlb-tg
        port: 80
        protocol: HTTP
        type: instance
        protocolVersion: HTTP1
        connectionTermination: true
        preserveClientIp: true
        proxyProtocolV2: true
      - name: appA-alb-tg-1
        port: 80
        protocol: HTTP
        type: instance
        connectionTermination: true
        preserveClientIp: true
        proxyProtocolV2: true
        healthCheck:
          enabled: true
          port: 80
          protocol: HTTP
    networkLoadBalancer:
      name: appA-nlb
      scheme: internal
      deletionProtection: true
      subnets:
        - Dev-App-A
        - Dev-App-B
      crossZoneLoadBalancing: true
      listeners:
        - name: appA-listener-1
          port: 80
          protocol: TCP
          targetGroup: appA-nlb-tg

Expected behavior
We expect all stacks created by the synth above to be deployed successful with no cdk deploy errors.
Please complete the following information about the solution:

[x] Version: 1.5.1

[x] Region: ap-southeast-2

[x] Was the solution modified from the version published on this repository?  No

[x] If the answer to the previous question was yes, are the changes available on GitHub?

[x] Have you checked your service quotas for the services this solution uses? Yes

[x] Were there any errors in the CloudWatch Logs? codebuild errors

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
The Customizations codebuild action in our pipeline fails with:
[Container] 2023/10/26 07:28:44.809818 Running command if [ ! -z "${ACCELERATOR_STAGE}" ]; then yarn run ts-node --transpile-only cdk.ts synth --stage $ACCELERATOR_STAGE --require-approval never --config-dir $CODEBUILD_SRC_DIR_Config --partition aws; fi
yarn run v1.22.19
$<EMAIL_ADDRESS>--transpile-only cdk.ts synth --stage customizations --require-approval never --config-dir /codebuild/output/src1811/src/s3/01 --partition aws
Done in 70.74s.

[Container] 2023/10/26 07:29:57.414477 Running command if [ "diff" != "${CDK_OPTIONS}" ]; then yarn run ts-node --transpile-only cdk.ts --require-approval never $CDK_OPTIONS --config-dir $CODEBUILD_SRC_DIR_Config --partition aws --app cdk.out; fi
yarn run v1.22.19
$<EMAIL_ADDRESS>--transpile-only cdk.ts --require-approval never deploy --stage customizations --config-dir /codebuild/output/src1811/src/s3/01 --partition aws --app cdk.out

✨  Synthesis time: 0.02s

example_persona-lza-CustomizationsStack-111111111111-ap-southeast-2: deploying... [1/1]
example_persona-lza-CustomizationsStack-111111111111-ap-southeast-2: creating CloudFormation changeset...

 ✅  example_persona-lza-CustomizationsStack-111111111111-ap-southeast-2 (no changes)

✨  Deployment time: 1.08s

Stack ARN:
arn:aws:cloudformation:ap-southeast-2:111111111111:stack/example_persona-lza-CustomizationsStack-111111111111-ap-southeast-2/3fb85d80-6d81-11ee-a1e4-0a808fb4eb49

✨  Total time: 1.1s

✨  Synthesis time: 0.01s

Assuming role arn:aws:iam::222222222222:role/AWSControlTowerExecution for 3600 seconds

✨  Synthesis time: 0.01s

Assuming role arn:aws:iam::333333333333:role/AWSControlTowerExecution for 3600 seconds

✨  Synthesis time: 0.01s

Assuming role arn:aws:iam::444444444444:role/AWSControlTowerExecution for 3600 seconds
example_persona-lza-CustomizationsStack-333333333333-ap-southeast-2: deploying... [1/1]
example_persona-lza-CustomizationsStack-222222222222-ap-southeast-2: deploying... [1/1]
example_persona-lza-CustomizationsStack-444444444444-ap-southeast-2: deploying... [1/1]
example_persona-lza-CustomizationsStack-222222222222-ap-southeast-2: creating CloudFormation changeset...
example_persona-lza-CustomizationsStack-333333333333-ap-southeast-2: creating CloudFormation changeset...
example_persona-lza-CustomizationsStack-444444444444-ap-southeast-2: creating CloudFormation changeset...

 ✅  example_persona-lza-CustomizationsStack-222222222222-ap-southeast-2 (no changes)

✨  Deployment time: 0.66s

Stack ARN:
arn:aws:cloudformation:ap-southeast-2:222222222222:stack/example_persona-lza-CustomizationsStack-222222222222-ap-southeast-2/76c13cc0-7236-11ee-82bc-029dede7538b

✨  Total time: 0.66s

 ✅  example_persona-lza-CustomizationsStack-333333333333-ap-southeast-2 (no changes)

✨  Deployment time: 0.72s

Stack ARN:
arn:aws:cloudformation:ap-southeast-2:333333333333:stack/example_persona-lza-CustomizationsStack-333333333333-ap-southeast-2/4708ec80-6d81-11ee-8116-02e47b4becef

✨  Total time: 0.72s

✨  Synthesis time: 0.01s

Assuming role arn:aws:iam::666666666666:role/AWSControlTowerExecution for 3600 seconds

✨  Synthesis time: 0.01s

Assuming role arn:aws:iam::222222222222:role/AWSControlTowerExecution for 3600 seconds
example_persona-lza-CustomizationsStack-666666666666-ap-southeast-2: deploying... [1/1]
2023-10-26 07:30:17.800 | error | toolkit | No stacks match the name(s) example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2
Deployment failed
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

[Container] 2023/10/26 07:30:17.826459 Command did not exit successfully if [ "diff" != "${CDK_OPTIONS}" ]; then yarn run ts-node --transpile-only cdk.ts --require-approval never $CDK_OPTIONS --config-dir $CODEBUILD_SRC_DIR_Config --partition aws --app cdk.out; fi exit status 1
[Container] 2023/10/26 07:30:17.829554 Phase complete: BUILD State: FAILED
[Container] 2023/10/26 07:30:17.829565 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: if [ "diff" != "${CDK_OPTIONS}" ]; then yarn run ts-node --transpile-only cdk.ts --require-approval never $CDK_OPTIONS --config-dir $CODEBUILD_SRC_DIR_Config --partition aws --app cdk.out; fi. Reason: exit status 1

In the above output, the account ID<PHONE_NUMBER>55 maps to our Network account, so the correct account in the  AppConfigItem is being resolved to the correct account ID. The synth stage of the build worked fine, however at deploy time we received the following error from CDK:
2023-10-26 07:30:17.800 | error | toolkit | No stacks match the name(s) example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2

It is worth noting we have no problems with deploying custom stacks via a customizations block. Canned CFN templates are being consumed fine, we only receive this error whenever we specify an applications block.
Please note we are brand new to the LZA solution so this may well be an issue with our configuration and/or test LZA setup. However, we're struggling to find a way passed the above error. Possible there something wrong in our configuration to cause this?
Fortunately, I was able to re-produce the error locally. I'll add some simple analysis of what we see going on locally as a comment on this Issue, in case that helps with diagnosing what's going wrong here.
Thanks again!

As mentioned we can reproduce the behaviour we see in codebuild locally. Here's the reproducation locally with some extra logging enabled, if it helps.
We can synth fine:
(.venv) brad@brads-laptop ~/src/landing-zone-accelerator-on-aws/source/packages/@aws-accelerator/accelerator git((HEAD detached at v1.5.1))
└─ $ MAX_CONCURRENT_STACKS=1 ACCELERATOR_PREFIX=example_persona-lza  DEBUG=debug ./node_modules/.bin/ts-node --transpile-only  ./cdk.ts synth --stage customizations --config-dir /home/bra
d/src/example_persona-lza-config --partition aws --account<PHONE_NUMBER>55 --region ap-southeast-2
2023-10-26 18:00:02.235 | info | replacements-config | Loading replacements config substitution values
2023-10-26 18:00:02.253 | info | toolkit | Executing cdk synth customizations for aws://555555555555/ap-southeast-2
2023-10-26 18:00:26.675 | info | app | Begin Accelerator CDK App
2023-10-26 18:00:26.683 | info | replacements-config | Loading replacements config substitution values
2023-10-26 18:00:26.701 | info | replacements-config | Loading replacements config substitution values
2023-10-26 18:00:28.120 | info | replacements-config | Loading replacements config substitution values
2023-10-26 18:00:34.473 | info | stack-utils | Stack in account<PHONE_NUMBER>55 and region ap-southeast-2 using CliCredentialSynthesizer
2023-10-26 18:00:34.499 | info | example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2 | Completed stack synthesis
2023-10-26 18:00:34.500 | info | custom-stack | [custom-stack] Network account explicitly included
2023-10-26 18:00:34.500 | info | stack-utils | Stack in account<PHONE_NUMBER>55 and region ap-southeast-2 using CliCredentialSynthesizer
2023-10-26 18:00:34.694 | info | example_persona-lza-App-appA-555555555555-ap-southeast-2 | Completed stack synthesis
2023-10-26 18:00:34.694 | info | app | End Accelerator CDK App

And synth output looks as we would hope:
(.venv) brad@brads-laptop ~/src/landing-zone-accelerator-on-aws/source/packages/@aws-accelerator/accelerator git((HEAD detached at v1.5.1))
└─ $ ls -l cdk.out/
total 32
-rw-rw-r-- 1 brad brad   20 Oct 26 18:00 cdk.out
drwxrwxr-x 2 brad brad 4096 Oct 26 17:59 example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2
-rw-rw-r-- 1 brad brad 6585 Oct 26 18:00 manifest.json
-rw-rw-r-- 1 brad brad  647 Oct 26 18:00 placeHolder.assets.json
-rw-rw-r-- 1 brad brad  766 Oct 26 18:00 placeHolder.template.json
-rw-rw-r-- 1 brad brad    6 Oct 26 18:00 read.843692.1.lock
-rw-rw-r-- 1 brad brad 1133 Oct 26 18:00 tree.json
(.venv) brad@brads-laptop ~/src/landing-zone-accelerator-on-aws/source/packages/@aws-accelerator/accelerator git((HEAD detached at v1.5.1))
└─ $ ls -l cdk.out/example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2
total 224
-rw-rw-r-- 1 brad brad  3038 Oct 26 18:00 AwsSolutions-example_persona-lza-App-appA-555555555555-ap-southeast-2-NagReport.csv
-rw-rw-r-- 1 brad brad    20 Oct 26 18:00 cdk.out
-rw-rw-r-- 1 brad brad  1813 Oct 26 18:00 example_persona-lza-App-appA-555555555555-ap-southeast-2.assets.json
-rw-rw-r-- 1 brad brad 19619 Oct 26 18:00 example_persona-lza-App-appA-555555555555-ap-southeast-2.template.json
-rw-rw-r-- 1 brad brad   598 Oct 26 18:00 example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2.assets.json
-rw-rw-r-- 1 brad brad   862 Oct 26 18:00 example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2.template.json
-rw-rw-r-- 1 brad brad 99260 Oct 26 18:00 manifest.json
-rw-rw-r-- 1 brad brad   647 Oct 26 18:00 placeHolder.assets.json
-rw-rw-r-- 1 brad brad   766 Oct 26 18:00 placeHolder.template.json
-rw-rw-r-- 1 brad brad     6 Oct 26 16:04 read.608947.1.lock
-rw-rw-r-- 1 brad brad     6 Oct 26 17:59 read.817377.1.lock
-rw-rw-r-- 1 brad brad 69106 Oct 26 18:00 tree.json

When we try to deploy, we see the error we see in codebuild:
).venv) brad@brads-laptop ~/src/landing-zone-accelerator-on-aws/source/packages/@aws-accelerator/accelerator git((HEAD detached at v1.5.1))
└─ $ MAX_CONCURRENT_STACKS=1 ACCELERATOR_PREFIX=example_persona-lza  DEBUG=debug ./node_modules/.bin/ts-node --transpile-only  ./cdk.ts deploy --stage customizations --config-dir /home/brad/src/example_persona-lza-config --partition aws --account<PHONE_NUMBER>55 --region ap-southeast-2
2023-10-26 18:04:58.106 | info | replacements-config | Loading replacements config substitution values
2023-10-26 18:04:58.123 | info | toolkit | Executing cdk deploy customizations for aws://555555555555/ap-southeast-2
2023-10-26 18:04:58.200 | info | replacements-config | Loading replacements config substitution values
2023-10-26 18:04:58.204 | info | replacements-config | Loading replacements config substitution values
2023-10-26 18:04:59.730 | info | custom-stack | [custom-stack] Network account explicitly included
2023-10-26 18:04:59.783 | error | toolkit | No stacks match the name(s) example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2
Deployment failed

After playing around in the debugger, we've discovered that each of the stacks that are being synth'd are valid, it's just that it appears that the LZA's  call to cdk deploy execution is not finding the example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2 stack. It seems to be there on disk, as we can see from the ls output above.
$ find cdk.out/ -name "*example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2*"  -ls
  3811031      4 drwxrwxr-x   2 brad     brad         4096 Oct 26 18:04 cdk.out/example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2
  3811038      4 -rw-rw-r--   1 brad     brad          598 Oct 26 18:00 cdk.out/example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2/example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2.assets.json
  3811037      4 -rw-rw-r--   1 brad     brad          862 Oct 26 18:00 cdk.out/example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2/example_persona-lza-CustomizationsStack-555555555555-ap-southeast-2.template.json

If there is any more info that'd help, please let us know.

Looks like this was fixed in v1.5.2 (probably by https://github.com/awslabs/landing-zone-accelerator-on-aws/commit/c6c9362538d72b0df176b503f5d2789e678da308).
Thanks for the fix! I'll close this issue.

Attempting to close.


HASS homematic component not loading

Hello!
I am not sure if the issue with Home Assistant belongs here, but as posted in #28 i am having troubles loading Home Assistant 0.24  in the docker container as there are no Homematic items created (which worked without problems in 0.23).
My Homematic configuration can be found here but I think it's rather basic.
With the following logger settings:
default: warn
logs:
  homeassistant.bootstrap: info
  homeassistant.components.device_tracker.ubus: warn
  homeassistant.components.homematic: debug
  homeassistant.components.http: warn
  homeassistant.components.influxdb: fatal
  homeassistant.components.media_player: warn
  homeassistant.components.mqtt: info
  homeassistant.components.rfxtrx: warn
  homeassistant.components.sensor.mold_indicator: fatal
  homeassistant.components.sensor: warn
  homeassistant.components: info
  homeassistant.core: critical
  homeassistant.loader: warn
  openzwave: info
  pyhomematic: debug
  requests.packages.urllib3.connectionpool: warn

I get this output:
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.loader] Loaded rfxtrx from homeassistant.components.rfxtrx
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.loader] Loaded discovery from homeassistant.components.discovery
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.loader] Loaded logger from homeassistant.components.logger
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
homeassistant_1 | 16-07-17 21:55:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=recorder>
homeassistant_1 | 16-07-17 21:55:49 INFO (MainThread) [homeassistant.components.zwave] ZWave network autoheal is enabled.
homeassistant_1 | 16-07-17 21:56:28 DEBUG (MainThread) [pyhomematic.connection] HMConnection: Creating server object
homeassistant_1 | 16-07-17 21:56:28 DEBUG (MainThread) [pyhomematic._hm] ServerThread.__init__
homeassistant_1 | 16-07-17 21:56:28 INFO (MainThread) [pyhomematic._hm] Creating proxy. Connecting to http://<IP_ADDRESS>:2001
homeassistant_1 | 16-07-17 21:56:28 DEBUG (MainThread) [pyhomematic._hm] RPCFunctions.__init__
homeassistant_1 | 16-07-17 21:56:28 DEBUG (MainThread) [pyhomematic._hm] RPCFunctions.__init__: devices_raw = []
homeassistant_1 | 16-07-17 21:56:28 DEBUG (MainThread) [pyhomematic._hm] ServerThread.__init__: Setting up server
homeassistant_1 | 16-07-17 21:56:28 DEBUG (MainThread) [pyhomematic._hm] ServerThread.__init__: Registering RPC functions
homeassistant_1 | 16-07-17 21:56:28 INFO (Thread-3) [pyhomematic._hm] Starting server at http://<IP_ADDRESS>:8943
homeassistant_1 | 16-07-17 21:56:28 DEBUG (MainThread) [pyhomematic._hm] ServerThread.proxyInit: init(http://<IP_ADDRESS>:8943, 'homeassistant'
)
homeassistant_1 | 16-07-17 21:56:28 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.listDevices: interface_id = homeassistant, _devices_raw =
[]
homeassistant_1 | 16-07-17 21:56:29 INFO (MainThread) [pyhomematic._hm] Proxy initialized
homeassistant_1 | 16-07-17 21:56:30 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.newDevices: interface_id = homeassistant, dev_descriptions
 = [{'PARENT': '', 'RX_MODE': 1, 'INTERFACE': 'LEQ1008746', 'TYPE': 'HM-RCV-50', 'RF_ADDRESS': 3272127, 'FIRMWARE': '2.19.9', 'ADDRESS': 'BidC
oS-RF', 'ROAMING': 0, 'CHILDREN': ['BidCoS-RF:0', 'BidCoS-RF:1', 'BidCoS-RF:2', 'BidCoS-RF:3', 'BidCoS-RF:4', 'BidCoS-RF:5', 'BidCoS-RF:6', 'B
idCoS-RF:7', 'BidCoS-RF:8', 'BidCoS-RF:9', 'BidCoS-RF:10', 'BidCoS-RF:11', 'BidCoS-RF:12', 'BidCoS-RF:13', 'BidCoS-RF:14', 'BidCoS-RF:15', 'Bi
dCoS-RF:16', 'BidCoS-RF:17', 'BidCoS-RF:18', 'BidCoS-RF:19', 'BidCoS-RF:20', 'BidCoS-RF:21', 'BidCoS-RF:22', 'BidCoS-RF:23', 'BidCoS-RF:24', '
BidCoS-RF:25', 'BidCoS-RF:26', 'BidCoS-RF:27', 'BidCoS-RF:28', 'BidCoS-RF:29', 'BidCoS-RF:30', 'BidCoS-RF:31', 'BidCoS-RF:32', 'BidCoS-RF:33',
 'BidCoS-RF:34', 'BidCoS-RF:35', 'BidCoS-RF:36', 'BidCoS-RF:37', 'BidCoS-RF:38', 'BidCoS-RF:39', 'BidCoS-RF:40', 'BidCoS-RF:41', 'BidCoS-RF:42
', 'BidCoS-RF:43', 'BidCoS-RF:44', 'BidCoS-RF:45', 'BidCoS-RF:46', 'BidCoS-RF:47', 'BidCoS-RF:48', 'BidCoS-RF:49', 'BidCoS-RF:50'], 'FLAGS': 9
, 'VERSION': 6, 'PARAMSETS': ['MASTER'], 'UPDATABLE': 0}, {'PARENT': 'BidCoS-RF',
[...... shortened ....]
homeassistant_1 | 16-07-17 21:56:30 DEBUG (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.__init__: device_description: MEQ0537083 : {'
PARENT': '', 'RX_MODE': 28, 'INTERFACE': 'LEQ1008746', 'TYPE': 'HM-Sec-MDIR-2', 'RF_ADDRESS': 3848818, 'FIRMWARE': '1.6', 'ADDRESS': 'MEQ05370
83', 'ROAMING': 0, 'CHILDREN': ['MEQ0537083:0', 'MEQ0537083:1'], 'FLAGS': 1, 'VERSION': 13, 'PARAMSETS': ['MASTER'], 'UPDATABLE': 1}
homeassistant_1 | 16-07-17 21:56:30 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.createDeviceObjects: create MEQ0537083  as SUPPORTED devic
e for HM-Sec-MDIR-2
homeassistant_1 | 16-07-17 21:56:30 DEBUG (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.__init__: device_description: MEQ0537387 : {'
PARENT': '', 'RX_MODE': 28, 'INTERFACE': 'LEQ1008746', 'TYPE': 'HM-Sec-MDIR-2', 'RF_ADDRESS': 3849213, 'FIRMWARE': '1.6', 'ADDRESS': 'MEQ05373
87', 'ROAMING': 0, 'CHILDREN': ['MEQ0537387:0', 'MEQ0537387:1'], 'FLAGS': 1, 'VERSION': 13, 'PARAMSETS': ['MASTER'], 'UPDATABLE': 1}
homeassistant_1 | 16-07-17 21:56:30 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.createDeviceObjects: create MEQ0537387  as SUPPORTED devic
e for HM-Sec-MDIR-2
homeassistant_1 | 16-07-17 21:56:30 DEBUG (Thread-3) [pyhomematic.devicetypes.generic] HMGeneric.__init__: device_description: MEQ0705859 : {'
PARENT': '', 'RX_MODE': 12, 'INTERFACE': 'LEQ1008746', 'TYPE': 'HM-ES-TX-WM', 'RF_ADDRESS': 4062052, 'FIRMWARE': '1.0', 'ADDRESS': 'MEQ0705859
', 'ROAMING': 0, 'CHILDREN': ['MEQ0705859:0', 'MEQ0705859:1'], 'FLAGS': 1, 'VERSION': 1, 'PARAMSETS': ['MASTER'], 'UPDATABLE': 1}
homeassistant_1 | 16-07-17 21:56:34 INFO (MainThread) [homeassistant.components.automation] Initialized rule Tuerklingel notify
homeassistant_1 | 16-07-17 21:56:34 INFO (MainThread) [homeassistant.components.automation] Initialized rule Lueftung notify
homeassistant_1 | 16-07-17 21:56:34 INFO (MainThread) [homeassistant.components.automation] Initialized rule Unexpected motion
homeassistant_1 | 16-07-17 21:56:34 INFO (MainThread) [homeassistant.components.automation] Initialized rule Alarm Away Trigger
homeassistant_1 | 16-07-17 21:56:35 INFO (MainThread) [homeassistant.components.automation] Initialized rule Waschmaschine fertig notify
homeassistant_1 | 16-07-17 21:56:35 INFO (MainThread) [homeassistant.components.automation] Initialized rule Deaktiviere Luftentfeuchter
[...]
homeassistant_1 | 16-07-17 21:56:44 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant, address = MEQ0182136:
4, value_key = CONTROL_MODE, value = 1
homeassistant_1 | 16-07-17 21:56:44 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant, address = MEQ0182136:
4, value_key = FAULT_REPORTING, value = 0
homeassistant_1 | 16-07-17 21:56:44 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant, address = MEQ0182136:
4, value_key = BATTERY_STATE, value = 2.8
homeassistant_1 | 16-07-17 21:56:44 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant, address = MEQ0182136:
4, value_key = VALVE_STATE, value = 99
homeassistant_1 | 16-07-17 21:56:44 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant, address = MEQ0182136:
4, value_key = BOOST_STATE, value = 0
homeassistant_1 | 16-07-17 21:56:44 DEBUG (Thread-3) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant, address = MEQ0182136:
4, value_key = ACTUAL_TEMPERATURE, value = 21.6

Judging from the last lines it seems to me as if the library is receiving the events but no items are created. Please let me know if I can provide you with any further information or if it is just a user error :-)
Thanks in advance!
Cheers Hannes

I think the error is on that (I don't use update...):
https://github.com/danielperna84/pyhomematic/blob/master/pyhomematic/devicetypes/sensors.py#L67
Can you donwload the test.py from pyhomematic and try:
test.py -l LOCAL_IP -r CCU-HG -a GAS_MESSER_HM_KEY
@danielperna84, I think we need a Bugfix Version...

They will fixed in next HA release

Any way to get this fix earlier? (e.g. by replacing files from another fork?) Thanks :)

I believe replacing your existing components/homematic.py with the one from the HA-dev branch would provide a quick fix.

Thank you, seems to work! I'll check if I own components that aren't supported yet, maybe I can help adding them and will make an issue over at the pyhomatic git (I guess that's the right way?)
Cheers

Yes, devices need to be supported in pyhomematic first before implementation for HA can be done.

Great, hopping over there now!


error installing rosie on mac

Hi, I get this error when installing on my Mac, OS X El Capitan, 10.11.5.
Ryans-MacBook-Pro:~ ryanc$ brew install rosie
Updating Homebrew...
==> Installing rosie from jamiejennings/rosie
==> Cloning https://github.com/jamiejennings/rosie-pattern-language.git
Updating /Users/ryanc/Library/Caches/Homebrew/rosie--git
==> Checking out branch master
==> make BREW=true
Last 15 lines from /Users/ryanc/Library/Logs/Homebrew/rosie/01.make:
cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_MACOSX    -c -o lstrlib.o lstrlib.c
cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_MACOSX    -c -o ltablib.o ltablib.c
cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_MACOSX    -c -o lutf8lib.o lutf8lib.c
cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_MACOSX    -c -o loadlib.o loadlib.c
cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_MACOSX    -c -o linit.o linit.c
ar rcu liblua.a lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o loadlib.o linit.o
ranlib liblua.a
cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_MACOSX    -c -o lua.o lua.c
cc -o lua   lua.o liblua.a -lm -lreadline
ld: unexpected token: !tapi-tbd-v2 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libm.tbd' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [lua] Error 1
make[2]: *** [macosx] Error 2
make[1]: *** [macosx] Error 2
make: *** [bin/lua] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/jamiejennings/homebrew-rosie/issues

Thanks for the report!  It works on Sierra, so I will (1) make the formula enforce that, and (2) grab a machine running El Capitan and see if I can fix it.
If you are inclined to try cloning the repo (or downloading the tar file) and then running 'make', I would be interested to know if you get the same error.

ah! My Sierra upgrade has been standing by for a week now, so it looks like it's time to run it.

just to close this out... I upgraded to Sierra and initially got this error
Ryans-MacBook-Pro:~ ryanc$ brew install rosie
Updating Homebrew...
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
https://git.io/brew-analytics
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: Failure while executing: git config --local --replace-all homebrew.analyticsmessage true
==> Installing rosie from jamiejennings/rosie
==> Installing dependencies for jamiejennings/rosie/rosie: readline
==> Installing jamiejennings/rosie/rosie dependency: readline
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: Failure while executing: git config --local --replace-all homebrew.private true
With help from this forum post -> http://tips.tutorialhorizon.com/2015/10/01/xcrun-error-invalid-active-developer-path-library-developer-commandline-tools-missing-xcrun/
I ran this to install xcode, which cleared up the install failure.
Ryans-MacBook-Pro:~ ryanc$ xcode-select --install
xcode-select: note: install requested for command line developer tools
Ryans-MacBook-Pro:~ ryanc$ brew install rosie
Updating Homebrew...
==> Installing rosie from jamiejennings/rosie
==> Cloning https://github.com/jamiejennings/rosie-pattern-language.git
Cloning into '/Users/ryanc/Library/Caches/Homebrew/rosie--git'...
remote: Counting objects: 136, done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 136 (delta 7), reused 55 (delta 4), pack-reused 0
Receiving objects: 100% (136/136), 5.91 MiB | 528.00 KiB/s, done.
Resolving deltas: 100% (7/7), done.
Checking connectivity... done.
==> Checking out branch master
==> make BREW=true
==> Rosie installed successfully!
==>     RPL libraries, documentation, etc are in /usr/local/share/rosie
==>     Executable will be linked (by brew) to /usr/local/bin/rosie
==>     Try this example, and look for color text output: rosie basic.matchall /
🍺  /usr/local/Cellar/rosie/current: 134 files, 12.1M, built in 41 seconds
the example command shown above doesn't work because this points to a directory, but this does:
Ryans-MacBook-Pro:~ ryanc$ rosie basic.matchall /usr/local/Cellar/rosie/current/INSTALL_RECEIPT.json
{ used_options : [ ] , unused_options : [ ] , built_as_bottle : false , poured_from_bottle : false , changed_files : null , time :<PHONE_NUMBER> , source_modified_time :<PHONE_NUMBER> , HEAD : 0f529dae1043639058130092cf35e68d18907cb8 , stdlib : null , compiler : clang , runtime_dependencies : [ ] , source : { path : /usr/local/Homebrew/Library/Taps/jamiejennings/homebrew-rosie/rosie.rb , tap : " jamiejennings /rosie " , spec : stable , versions : { stable : current , devel : null , head : null , version_scheme : 0 } } }

Awesome!  I've updated the brew formula to explicitly require 'Xcode'.  I now expect brew to give a nice message about Xcode being missing and how to get it.
Thanks very much for the detailed feedback!


:book: change readme and defaults to new blob storage URLs

:rocket: deployment of nhsuk/profiles-etl-combiner succeeded (http://profiles-etl-combiner-pr-20.dev.beta.nhschoices.net)


Garden pots

Sprinklers normally do not water garden pots, but it could be a nice setting (off by default).

Implemented in 1.3.0.


Incompatability with sqlalchemy-i18n?

When I switch from 3.0.2 to any 4.X series I get a new error on startup:
sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale jsonapi_desc_for_attrs given for instance of class <class 'sqlalchemy.ext.declarative.api.DeclarativeMeta'>. Locale is not one of ['zxx', 'en_us', 'de_de']
When I downgrade back to 3.0.2 it works fine so there is something definitely changed in how this integrates in 4.X vs 3.X.
I don't yet have an isolated test case this is integrated into a whole bunch of code. I will work on creating one as soon as I can.
Do you have any places or configurations I should check until I get a better example?

Sorry for the delay, I'll take a look into this shortly!

@angelosarto Do you have a code sample that recreates this error?


first commit

@HadarIngonyama This event has been added to PL Events PRODUCTION - https://events.plnetwork.io/


UI pixel perfection

Done UI pixel perfection.
Handled TODO's
Minor refactoring

This was rebased and merged into master. Thanks @muditpant13


Changed the Payment Options design in checkout

Changed the Payment Options design in checkout
Fixes #144

Hey you've just added the word "order by" which is not required
because that's an entire process to select the items place order using whatsapp and pay using gpay


[ISSUE-147] Fix android backspace issue

https://github.com/nosir/cleave.js/issues/147

The React and Angular code here was only added to the dist, not the original force styles which means this bug is still happening.

This issue has not been fixed for the React component as the onKeyPress event is different


Revert "naxsi is not avilable from a repo yet"

Reverts telusdigital/ansible-nginx#87

Team Approved


Error migrating Kong OSS from 3.3.1 to 3.4.1

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
3.3.1
Current Behavior
When trying to update the version from 3.3.1 to 3.4.1 I am receiving the following error when starting Kong.
Error:
/usr/local/share/lua/5.1/kong/conf_loader/init.lua:944: attempt to concatenate field 'authority' (a nil value)
stack traceback:
       /usr/local/share/lua/5.1/kong/conf_loader/init.lua:944: in function 'check_and_parse'
       /usr/local/share/lua/5.1/kong/conf_loader/init.lua:1849: in function 'conf_loader'
       /usr/local/share/lua/5.1/kong/cmd/prepare.lua:6: in function 'cmd_exec'
       /usr/local/share/lua/5.1/kong/cmd/init.lua:31: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:31>
       [C]: in function 'xpcall'
       /usr/local/share/lua/5.1/kong/cmd/init.lua:31: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:15>
       (command line -e):7: in function 'inline_gen'
       init_worker_by_lua:44: in function <init_worker_by_lua:43>
       [C]: in function 'xpcall'
       init_worker_by_lua:52: in function <init_worker_by_lua:50>
2023/10/09 17:53:41 [verbose] Kong: 3.4.1
2023/10/09 17:53:41 [debug] ngx_lua: 10021
2023/10/09 17:53:41 [debug] nginx: 1021004
2023/10/09 17:53:41 [debug] Lua: LuaJIT 2.1.0-20220411
2023/10/09 17:53:41 [verbose] no config file found at /etc/kong/kong.conf
2023/10/09 17:53:41 [verbose] no config file found at /etc/kong.conf
2023/10/09 17:53:41 [verbose] no config file, skip loading

Expected Behavior
No response
Steps To Reproduce
I start stack kong's docker compose in version 3.3.1, I synchronize my backup via deck. After that I turn off the containers, update the image version to 3.4.1 and then upon startup I receive the aforementioned error.
Anything else?

database: postgres 13.6-alpine
Migration status code 0
docker-compose only

Looking a little more on the support forum, I managed to locate the problem. Perhaps better error handling is needed, both to avoid breaking the application due to this configuration, and to better inform the source of the problem.
https://support.konghq.com/support/s/article/Error-attempt-to-concatenate-field-authority-a-nil-value


OAutomaticBackup - firstTime always shifted by one hour

Hi,
I was experimenting the automatic backup feature of OrientDB, trying to setup the following schedule.

Once a day
At 16:03:00

The rest of the configuration is as default in orientdb-server-config.xml:
The XML looks like the following:
<handler class="com.orientechnologies.orient.server.handler.OAutomaticBackup">
         <parameters>
                 <parameter value="true" name="enabled"/>
                 <parameter value="1d" name="delay"/>
                 <parameter value="16:03:00" name="firstTime"/>
                 <parameter value="c:/backup" name="target.directory"/>
                 <parameter value="${DBNAME}-${DATE:yyyyMMddHHmmss}.zip" name="target.fileName"/>
                 <parameter value="9" name="compressionLevel"/>
                 <parameter value="1048576" name="bufferSize"/>
                 <parameter value="test" name="db.include"/>
                 <parameter value="" name="db.exclude"/>
         </parameters>
</handler>

When the server starts, the following line is printed out:
Automatic backup plugin installed and active: delay=86400000ms, firstTime=**Thu Jun 25 17:03:00 CEST 2015**, targetDirectory=c:/backup/ [OAutomaticBackup]

The date shown is not what i planned it to be.
Of course as a temporary workaround I can shift it by on hour.
Did i miss something or it can be considered as a bug?

OrientDB always get GMT time.

Thanks @lvca , I couldn't find it on the docs
Regards
Guglielmo

You was right: I've just added a comment in docs about it.


[5.7] load cross-import overlay module data, even for extensions

Explanation: Swift-DocC doesn't properly handle symbols from cross-import overlay modules which are also extensions of a different module. This change provides some special-casing for cross-import overlay modules to preserve their original module information.
Scope: Module API has been kept stable, and features have been enhanced for cross-import overlay documentation.
Issue: rdar://94736726
Risk: Low. Documentation for regular modules should be unaffected; any changes will only affect cross-import overlays.
Testing: See instructions on https://github.com/apple/swift-docc/pull/332
Reviewer: @franklinsch

Note that this PR requires https://github.com/apple/swift-docc-symbolkit/pull/47, and should be updated once that PR is merged.

@swift-ci Please test


Feature request: add RSS feed to your blog

You publish great content: if you enable QUARTO RSS feeds, it is much easier to follow you.
Thank you and congratulations for what you do

Hi thanks for the idea ! I will implement that soon, should not be complicated

Thank you very much @linogaliana for this
https://ssphub.netlify.app/index.xml


Align the ingestion sink with the rest of the code

@lburgazzoli hey, would you mind a review here, please?


#92 Kafka Connector

Please comment on what's good and what's not.

using new case classes (NewTopic and TopicListing) instead of the zio-kafka ones as I saw similar thing in the S3 connector, is this a good idea?
when reading and writing how would you like to handle/configure the Serdes?
write should require ProducerRecord or similar or only should be able to write to a single topic and the input is the key/value pair?
how simple or configurable do you want the methods to be?
now the KafkaConnector requires AdminClient, Consumer, Producer and I think this is a bit complicated
how many of the zio-kafka clients' methods do you want to support?

Please comment on what's good and what's not.

using new case classes (NewTopic and TopicListing) instead of the zio-kafka ones as I saw similar thing in the S3 connector, is this a good idea?

I think it is. I noticed the overhead also. I am not convinced we should drop it. I will have more talks with other core contributors about this, opinions are mixed atm. I am leaning towards no leaking of implementation, I think for the connector users is the better choice.

when reading and writing how would you like to handle/configure the Serdes?

I think this is how the read should look like.
def read[K, V](topic: => String)(implicit trace: Trace, serdeK: Serde[K], serdeV: Serde[V]): ZStream[Any, Throwable, CustormConsumerRecord[K, V]]

write should require ProducerRecord or similar or only should be able to write to a single topic and the input is the key/value pair?

I would go with a single topic.

how simple or configurable do you want the methods to be?
At this time I would start with this
def read[K, V](topic: => String)(implicit trace: Trace, serdeK: Serde[K], serdeV: Serde[V]): ZStream[Any, Throwable, Record[K, V]]

now the KafkaConnector requires AdminClient, Consumer, Producer and I think this is a bit complicated

how many of the zio-kafka clients' methods do you want to support?
We can start with the basic ones read/write and once we define the design add more.

Please comment on what's good and what's not.

using new case classes (NewTopic and TopicListing) instead of the zio-kafka ones as I saw similar thing in the S3 connector, is this a good idea?

I think it is. I noticed the overhead also. I am not convinced we should drop it. I will have more talks with other core contributors about this, opinions are mixed atm. I am leaning towards no leaking of implementation, I think for the connector users is the better choice.

Yes this is the tradeoff, overhead of another conversion and make it easier for the users of the connector or simply use the classes of the underlying libraries. It depends on the project's goal, because I think both can be fine. Do you want to support other implementations? Do you want to use anything outside the zio ecosystem?
@jdegoes @adamgfraser @kitlangton @iravid What do you think about the design of this connector?

Hi @tewecske, would you like to open this PR? I would like to merge it.

@adrianfilip I haven't finished this yet and this week I won't have much time. Do you want to work on it?

@tewecske Yes I would like to get this merged. You can continue with the ticket after if you want.

@adrianfilip I marked it ready for review.


Solid is not defined

When adding a pastebin
Uncaught Reference Error:
Solid is not defined
app.js:78
onclick @ (index):33

Fix likely to be the same as:
https://github.com/solid/solid-inbox/commit/fbc0efe1e1ded27a51254f5ece1e0a3286ce1ef9

Fixed in a10db647b46dadb4b8010c5f27c3feab219b71c6


VSCode on Windows needs elevated right to be able to create ./lib/STLinkedResources link files

When launched without elevated access rights, VSCode on Windows is not able to create ./lib/STLinkedResources link files when the script is executed and generate a Cannot create symlink in directory error.
I don't know if the script can be executed as elevated while it's launched by a non-elevated instance of VSCode...
If it's not possible, could please mention to launch VSCode 'As Administrator' in the README.md?
Thank you

Could you please check whether the problem is to create the link in the directory (e.g. by creating a link to a file in the parent directory) or whether the problem is that the target file cannot be accessed?
I think that starting the script with admin rights (by elevating it) should only be the last resort.

Sorry, I don't know how to do that.
But, even if the target link file is accessible, without elevating VSCode, I have this error:
`SETUP_CUBEMX Error: Cannot create symlink in directory 'lib/STLinkedResources'
While if I run VSCode with Administrator privileges, it works.

To avoid this pb, I've changed the property of the shortcut of VSCode

Can you experiment with the access rights and the ownership of the directory? It looks as if there is some problem there that doesn't allow a normal user to create symlinks. To me it looks strange that you cannot create a symlink in a directory that you own...

In an administrator cmd console window I'm able to create a symlink using mklink.
In a standard user cmd console window I'm not allowed to create a symlink using mklink. It returns the following error:
You do not have sufficient privilege to perform this operation.
Searching more information, I found this Microsoft page in which we can read that for security reasons, elevating to administrator privileges is mandatory to create symbolic links.

I now had the time to look at this. The explanation is very clear, Microsoft thinks that creating symbolic links is too dangerous for normal users. Thank you for the link to the Microsoft page explaining this.
I think there are two options:

Run VSCode with admin rights. I do not like this option because this way VSCode has by far too many rights.
Change the user rights to allow the creation of symbolic links. This seems to be possible, but I do not know how exactly this is done.

* Change the user rights to allow the creation of symbolic links. This seems to be possible, but I do not know how exactly this is done.

My account has Administrator access right and I cannot create a symbolic link in a 'standard' user context (neither VSCode nor Powershell). I have to run the mlink command in an 'Administrator' context to be allowed to create a symbolic link.
I tried using pyuac (https://pypi.org/project/pyuac/) which sounds great... but I'm not able to setup it (I don't know Python very much).


Labels feature.

Closing this. I resolved upstream conflicts on 2.0 branch, so we'll merge from there instead.


Update Sumyak_Jain.md

resolved the issue please merge now

resolved  the issue which was found earlier
also please can you label my PR as "hacktoberfest-accepted"  and merge


Integration test for local activity retry and workflow heartbeat

What was changed
Add integration test to verify local activity retry behavior.
Why?

Checklist

Closes

How was this tested:

Any docs updates needed?

This PR added pure test code, how can this be possible?
coverage/coveralls — Coverage decreased (-0.06%) to 73.428%

This PR added pure test code, how can this be possible?
coverage/coveralls — Coverage decreased (-0.06%) to 73.428%

The only thing I can imagine is that compile optimizations changed in Go and made some things get optimized away, but the Go version shouldn't have changed either. Plus, I dunno if that sort of thing even happens in Go's coverage collection.
Super weird.