SE-0157: Add a frontend flag -enable-recursive-constraints.

Introduce -enable-recursive-constraints to disable the error about
direct recursion within a protocol definition. The implementation of
recursive protocol constraints is incomplete, but might be useful for
experimentation.

@swift-ci please smoke test and merge

WOOOOHOHOOO!!!!!!!!!

It doesn't work yet! But maybe it's worth playing with up to depth 3.


Better Files Widget : When having opened a visualisation of the file, it is difficult to get back to the default case details / feed view.

Esko SC Script issue
Affected script

Name: Better Files Widget
Version: (first one released ;-) Version 1 last update 17 march

OS

Name: Windows
Version: 7 professional SPA
Language: English

Browser

Name: Firefox
version: 52
language (if different from OS):

Short summary if your issue
Clicked on file to view it.
Afterwards difficult to get back to normal case feed or details view.
Wanted to makes screendump now, but seems that the plugin is not there anymore. WIll add a screendump later.
Steps to reproduce the issue
Other details:
Don't hesitate to include details and screenshots.

@tuxfre

Hi @evcr
Would opening the file in a new browser tab/window help? (that's the best I can come up right now)
Kr,
Benjamin

Hi Benjamin,
Again such a quick answer ☺
Would be great to, when clicking on the file, open it by default in a new tab, not in the window itself.
Below the promised screenshot on what I see and my findings (with current behaviour)
Apparently, at opening of the attachement, it changes the case tab to an ‘external page’ tab.
Meaning I cannot click on the different screendumps one after the other to see them enlarged.
When I go back to the case list view to open the case again, it just visualizes me the External Page tab again.
Current best solution (to me) is to write down the case nr, close the external Page tab and open it again…
<EMAIL_ADDRESS>Kr,
Eva
Eva Creten |  Solutions Support Engineer  |  Esko
For all support, visit: http://esko.com/support
[cid:9C72BB59-1BD5-4EB0-821A-118BEA7D8B72]
From: Benjamin<EMAIL_ADDRESS>Sent: Friday, March 17, 2017 2:15 PM
To: tuxfre/esko-SC-scripts
Cc: Creten, Eva; Mention
Subject: Re: [tuxfre/esko-SC-scripts] Better Files Widget : When having opened a visualisation of the file, it is difficult to get back to the default case details / feed view. (#18)
Hi @evcrhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_evcr&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=XNNaWuNapS8H36-sGUyeO-HEpQy4FyM7qbADP1p26oQ&m=YbjMvs49kdedVbuW8sPRTpMa5TE-FDjS7_HNo7Jmm3E&s=WKr5Zu7ui2Desa3iV-2gubsUTMS0RRrH9_eIfNP_TaM&e=
Would opening the file in a new browser tab/window help? (that's the best I can come up right now)
Kr,
Benjamin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tuxfre_esko-2DSC-2Dscripts_issues_18-23issuecomment-2D287350479&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=XNNaWuNapS8H36-sGUyeO-HEpQy4FyM7qbADP1p26oQ&m=YbjMvs49kdedVbuW8sPRTpMa5TE-FDjS7_HNo7Jmm3E&s=qJI-dVvZPySnC0JjHLtZgIvgCr9GnRQBLwlrKEi31h0&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AQeXdPxnYYPUiiDf2yr-2DWzLfVmEecI-2DBks5rmodZgaJpZM4MggsP&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=XNNaWuNapS8H36-sGUyeO-HEpQy4FyM7qbADP1p26oQ&m=YbjMvs49kdedVbuW8sPRTpMa5TE-FDjS7_HNo7Jmm3E&s=BcvlaxQN1zP4exviensQwCyGftneO0lViomKskQ7AYQ&e=.
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.

Hi @evcr
I guess if I can get it to open in a new tab then we worked around the issue ;)
(note that the screendump didn't make it into Github's ticket... so I ca only guess what you have onscreeen, could you upload it at https://github.com/tuxfre/esko-SC-scripts/issues/18?)
Kr,

Yup, the capture confirms that having a new tab is the solution.
I've added the code, I have to test it (I'm also cleaning up and documenting my code).
If it's fine on my end, then I'll upload it asap as V4.

Hi @evcr
I pushed a new version (https://github.com/tuxfre/esko-SC-scripts/commit/6c433651b7cc093a674912fbe46324142ac3dab8) to fix this issue.
Can you update your script?
Kr,

Hi Benjaminj,
Uploaded v 4, and after a restart of my browser the screendumps are opened in a new tab ☺
Great !!!!!!!!
You deserve (again) a fantastic weekend ;-)
Eva
Eva Creten |  Solutions Support Engineer  |  Esko
For all support, visit: http://esko.com/support
[cid:9C72BB59-1BD5-4EB0-821A-118BEA7D8B72]
From: Benjamin<EMAIL_ADDRESS>Sent: Friday, March 17, 2017 3:06 PM
To: tuxfre/esko-SC-scripts
Cc: Creten, Eva; Mention
Subject: Re: [tuxfre/esko-SC-scripts] Better Files Widget : When having opened a visualisation of the file, it is difficult to get back to the default case details / feed view. (#18)
Hi @evcrhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_evcr&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=XNNaWuNapS8H36-sGUyeO-HEpQy4FyM7qbADP1p26oQ&m=J3kJTFt2VSOwvGVaoWO5zOu0PzUYUtiocCXbLtpDKzk&s=BVMKjWucfcVW6PV4mRAg4lnPV-LJEcPN39r64YYwRK8&e=
I pushed a new version (6c43365https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tuxfre_esko-2DSC-2Dscripts_commit_6c433651b7cc093a674912fbe46324142ac3dab8&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=XNNaWuNapS8H36-sGUyeO-HEpQy4FyM7qbADP1p26oQ&m=J3kJTFt2VSOwvGVaoWO5zOu0PzUYUtiocCXbLtpDKzk&s=_qzWfQnsfflcMdGH8tCepnog_Rijx--x_FTtLClK-qE&e=) to fix this issue.
Can you update your script?
Kr,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tuxfre_esko-2DSC-2Dscripts_issues_18-23issuecomment-2D287362728&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=XNNaWuNapS8H36-sGUyeO-HEpQy4FyM7qbADP1p26oQ&m=J3kJTFt2VSOwvGVaoWO5zOu0PzUYUtiocCXbLtpDKzk&s=_OIOGh5fQr3vZvuuZoRYzUY2qZs98TA_CxP2lvim1lg&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AQeXdGWxaMErc0-2DxdVUu6vN0WCq6za6Rks5rmpNhgaJpZM4MggsP&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=XNNaWuNapS8H36-sGUyeO-HEpQy4FyM7qbADP1p26oQ&m=J3kJTFt2VSOwvGVaoWO5zOu0PzUYUtiocCXbLtpDKzk&s=Rlr0R5U82mJaL-Qx1bpEg9_sPAprgYTD4TNjul_-X5o&e=.
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.

Hi @evcr
Glad that it works!
Enjoy the weekend too.
(and let's close this issue)


run on single video

hi, i see the evaluation/testing code but how can i run the pretrained model on a single video?

I would also like to know that.
How can we use this model (or our own trained one) to run it on a real video ?

I would also like to know that.
How can we use this model (or our own trained one) to run it on a real video ?

Hi,
We do not provide direct testing code for videos. However, there are two ways to address this.
Firstly, you can use tools like ffmpeg to convert the video into an image sequence and then utilize the test_custom option we provide.
Secondly, you can directly test the video using the restoration_video_inference function in the MMEditing library.

I think you need to reduce your resolution. VRAM  use absolutely balloons with resolution and frame count

I will close this issue as there has been no further discussion. Please re-open the issue if there are additional comments.


[BugFix] Add enable_materialized_view_metrics_collect to control whether to collect mv's metrics

Why I'm doing:

There are some bugs about materialized view metrics.

What I'm doing:

Add counterPartitionCount  rather counterInactiveState  for spell bugs.
Increase failed count when prepare phase in refresh mv failed
Add enable_materialized_view_metrics_collect to control whether to collect mv's metrics

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@mergify rebase

any ut?


Error executing lua: ...azy/multiple-session.nvim/lua/multiple-session/utils.lua:5: attempt to index upvalue 'core' (a boolean value)

This error appears every time I execute commands to save, restore and delete sessions.

You may have another module named “core” except “niuiic/core.nvim”
Or check your neovim version, it should work fine in v0.8-v0.10

I'm using NVChad, and apparently they have a module called core. Any workaround you suggest?

Emm, you may use another session manager instead. Check awesome neovim list, and there are multiple this kind of plugins.


Hi issues with blackeye trojan horse warning,

i tried to download Blackeye and i ran across this, did you mean to put that in there or did someone else i tried 2 times came up the say way both times i just thought you should know i case you didnt put it in there

same

hello
it is safe its a hacking tool / stealer / etc  and it says this bc for u to make a pishing link it makes a link and it detects as a trojan so its a false postive it happens with cheats / etc


Avoid iterating seq multiple times in Frame.ofRecords

I would like to address the issue https://github.com/fslaborg/Deedle/issues/364
I simply converted seq into array to avoid Frame.ofRecords iterating seq multiple times. It avoids creating frame unintended by user. I also added a test cases using the sample in issue 364.
@tpetricek Are you ok with this temporary allocation?

@tpetricek I wonder what's the impact of my converting data to array in Frame.ofRecords. Will it affect project such as BigDeedle? Is there a better way of doing this? I want to find a middle ground to make result deterministic but not penalizing lazy loading too much.


[R24.12] DCM KIT: E2E Test Content

Description
Relevant documents (Test cases, test data) to run an DCM E2E test will be provided in the DCM KIT.
Impact
No impact or dependencies to other components or teams.
Additional information

[ ] Check handover documents regarding DCM E2E-Test
[ ] Prepare DCM E2E-Test chapter for DCM KIT
[ ] Finalize DCM E2E-Test chapter for DCM KIT
[ ] Initial PR
[ ] Final PR

Risk: Rare deep Technical Git-Hub Knowledge in the group to run the PR properly

Presented in the DRAFT Feature Freeze -> Committer needed

Integrate into: https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/tree/main/docs-kits/kits/DCM-Kit/architecture-view or into: https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/tree/main/docs-kits/kits/DCM-Kit/development-view be aware, that an own sub-structure might be required, depending on how "big" this is going to get

If required, I can act as the assignee.

I like to contribute

I would like to contribute

Status/Progress/Participants etc. can be found here:
https://github.com/catenax-eV/cx-ex-dcm/tree/main/PI-14/[R24.12] DCM KIT E2E Test Content

I would like to contribute


Promote to C++ standard

How can we elevate this data type into the official C++ standard, so that 128 bit integers just work out of the box?
Note that clang / gcc already have 128 bit integers. This library could detect the compilers and automatically map the type accordingly.
The major compiler laggard is MSVC, which currently offers 64 bit integers. When the user is building with MSVC, then the 128 bit type can be implemented in terms of these high and low 64 bit integer types.

I'm glad that you like uint128_t. Why do you think that adding uint128_t to the C++ standard would be worth the effort over including/linking this repo? As you said, clang and gcc already know about __uint128_t and MSVC is likely to ignore the standard, so nothing will change.


Translation

Is this dummy test page?

Is this dummy test page?

Yeah, sort of.

Everything else seems good


[Feature Request] builtins.html support inject: false

What problem does this feature solve?
Configuration error:
- Expected 'head' | 'body', received boolean at "builtins.html[0].inject"

For now, the builtins.html does not support inject: false, but I want to load the main.js mannually
What does the proposed API of configuration look like?
type BuiltinsHtml = Array<{
  // ...
  // if set `false`, it should not inject automatically
  inject?: 'head' | 'body' | boolean
}>;

I am interested in this, I make the API like this
type BuiltinsHtml = Array<{
  // if set `false`, it should not inject automatically
  inject?: 'head' | 'body' | ‘automatically’
}>;

I am interested in this, I make the API like this
type BuiltinsHtml = Array<{
  // if set `false`, it should not inject automatically
  inject?: 'head' | 'body' | 'automatically'
}>;

@hyf0

I'm not sure. The builtins.html should align with html-webpack-plugin. We don't introduce new API at this moment.

I am interested in this, I make the API like this我对此感兴趣，我使API像这样
type BuiltinsHtml = Array<{
  // if set `false`, it should not inject automatically
  inject?: 'head' | 'body' | 'automatically'
}>;

@hyf0

I'm not sure. The builtins.html should align with html-webpack-plugin. We don't want to introduce new API at this moment.我不确定。应 builtins.html 与 对齐 html-webpack-plugin 。我们目前不想引入新的 API。

Understood, let me align with html-webpack-plugin ,
type BuiltinsHtml = Array<{
  // ...
  // if set `false`, it should not inject automatically
  inject?: 'head' | 'body' | boolean
}>;


How does this compare to next-i18next?

Hello!
Thank you for your amazing work!
It would be interesting to have a comparison between next-translate (which looks quite new), and the more established next-i18next. What are the pros and cons of both solutions, is there a trade-off while using next-translate? etc...
Is this something you would be willing to share? 🤗

hi @martpie ! This is a very good question.
We are using preact in our e-commerce and we implemented next-translate after see that next-i18next was much bigger than preact itself.
next-translate is thought about performance first: Little size + it works with static, SSG & Server.  Instead, if you want to usenext-i18next it only works with Server.
As a drawback, we have a simpler API with the i18n basics.
Little bit comparison:

Comparison
next-i18next
next-translate

Size
~40kb
~1kb

Server
✅
✅

SSG
❌
✅

Static
❌
✅

i18n API
Lot of options
Basics

@martpie I'm going to close the issue if I resolved your doubts 👍


30 - Add the design tokens of the design system

What this PR does / why we need it:
This PR adds the Design Tokens of the design system to used across the application as described in the Design System Analysis Doc. We need this design tokens to use them consistently across the application so they are declared in one placed and applied everywhere. Design Tokens are like enums of typography and color.
Also, I added a ThemeProvider to apply these design tokens to the whole application thinking about using this ThemeProvider in the future as a way to customizing the installation.
Which issue(s) this PR closes:

Closes #30

Special notes for your reviewer:
I added the ThemeProvider to set the design tokens in the whole application. But at the same time I was having in mind that we could allow in the future to change these design tokens to customize the installation, but then in that case we would bring the overrided variables from React into SASS instead of the other way around as it is right now. That would be much work so I'll let that for the future when we are thinking about customization but since all the react code is reading these variables, we'll just need to change the config but not the developed components.
For the semantic colors I had to change the default Bootrstrap colors because they were not passing the accessibility tests. They have a note about this in Bootstrap docs

These are the final colors passing the tests

Suggestions on how to test this:
npm run storybook
Go to http://localhost:6006
There is a new section called Design Tokens were you can find 2 new files, the Colors and Typography. These docs represents the tokens.
You can also go to src/sections/ui/assets/styles/design-tokens/colors.module.scss or src/sections/ui/assets/styles/design-tokens/typography.module.scss to modify the design tokens to see how they change in the whole application using the Storybook to visualise this change
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
None
Is there a release notes update needed for this change?:
Design Tokens added to the design system
Additional documentation:

ThemeProvider and Design Tokens

grooming

Melly thanks for re-sizing what's left this for the new Sprint!

grooming

Melly thanks for re-sizing what's left this for the new Sprint!

@mreekie ups, actually it should be a 3

@MellyGray This looks good but there is a merge conflict that needs to be resolved.

@kcondon fixed now!


Add automatic unit tests ensuring elements can be constructed with empty data

All Elements should support being constructed with empty data, currently it's easy to forget this when adding a new element so we should add general unit tests which ensures that all concrete Element subclasses should support being constructed with empty data.

If holoviews uses the same test framework as param (unittest/nose), maybe it could be useful to see the param test which checks all concrete descendents of Parameter have a valid default?
https://github.com/ioam/param/blob/master/tests/testdefaults.py
I vaguely recall some problem had to be overcome for nose - dynamically generating test methods early enough for nose to find them, or something like that. Maybe no longer necessary these days? Or if not a good idea, you can say what's wrong with that code and I can fix the param test :)


[BUG] SELinux Issue (plat_hwservice_contexts) [A10]

Tell Us About Your Device First
Device Codename: a50dd
Official Build of PBRP from https://pitchblackrecovery.com/#downloads: No
PBRP Version: 3.0.0
Describe The Bug
At the end of the compilation, I get a SELinux error (specifically: plat_hwservice_contexts), and the problem is not in the device tree.
Steps Needed To Reproduce The Behavior

Go to Pitch Black Recovery Project 10 Source Folder, clone the Device Tree
Run: source build/envsetup.sh; lunch omni_a50dd-eng && mka recoveryimage
Wait the build
See error

Expected Behavior
A successful build
Screenshots
https://imgur.com/oVjgDBv
Additional Context
Tested with Team Win Recovery Project 10.0, compiled normally

You can join our community on Telegram

Community Group
Test Build & Build Help Group

DT: https://github.com/yukosky/android_device_samsung_a50dd

Device dynamic partitions ? Stock out of box A9/A10
Pada tanggal Kam, 26 Nov 2020 01.21, yukosky<EMAIL_ADDRESS>menulis:

DT: https://github.com/yukosky/android_device_samsung_a50dd
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PitchBlackRecoveryProject/android_bootable_recovery/issues/61#issuecomment-733874780,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJNAY5TBG5BMQAO56KHQZKLSRVDLDANCNFSM4UCXYNKQ
.

Device dynamic partitions ? Stock out of box A9/A10 Pada tanggal Kam, 26 Nov 2020 01.21, yukosky<EMAIL_ADDRESS>menulis:
…
DT: https://github.com/yukosky/android_device_samsung_a50dd — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNAY5TBG5BMQAO56KHQZKLSRVDLDANCNFSM4UCXYNKQ .

Nope, only A51 is dynamic. The first android version of the A50 Stock ROM was Android Pie

Device dynamic partitions ? Stock out of box A9/A10 Pada tanggal Kam, 26 Nov 2020 01.21, yukosky<EMAIL_ADDRESS>menulis:
…
DT: https://github.com/yukosky/android_device_samsung_a50dd — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNAY5TBG5BMQAO56KHQZKLSRVDLDANCNFSM4UCXYNKQ .

Nope, only A51 is dynamic. The first android version of the A50 Stock ROM was Android Pie

Use a9 source

Use a9 source

Will there be a problem using Android Q kernel on source Pie?

work good kernel Q with manifest 9

work good kernel Q with manifest 9

Thanks for reply, I'll downgrade the source to Android P later.

Any progress?

We are not facing this issue on our end with different device trees. Looks like a device specific errors or your build environment is giving out this error.

@manjotsidhu Hopefully your issues would be fixed by Sunday

try now @yukosky your issue should be fixed

try now @yukosky your issue should be fixed

Okay, about 6h I'll test it.

Nice, the issue is fixed! Thanks, what commit fixed that issue?

https://github.com/PitchBlackRecoveryProject/android_bootable_recovery/commit/3a32e1820d3b2ef0054921be8c647331841aba7c


[Implement sniff] Enqueue all scripts and styles

Rule type:
Error
Rule:

No hard coding of scripts and styles unless a browser workaround script. Everything should be enqueued.

Ref: https://make.wordpress.org/themes/handbook/review/required/#stylesheets-and-scripts
Existing Sniff:
https://github.com/WPTRT/WordPress-Coding-Standards/blob/feature/theme-review-sniffs/WordPress/Sniffs/WP/EnqueuedResourcesSniff.php
Theme check file covering this rule:
None.
Decision needed:
The sniff looks for scripts and stylesheets included in the templates (via <script src=[...]> and <link rel=[...]>).
The rule makes an exception for browser workaround scripts.
Request for decision:
Given that since WordPress 4.2, wp_script_add_data() exists, and browser workaround scripts now can be enqueued (see TwentySixteen), should the rule be changed to encompass all scripts and stylesheets?

The requirement will be changed once WP 4.6 is released. https://make.wordpress.org/themes/2016/07/26/meeting-notes-for-2016-july-26/

Fixed in 763e8e26ecffd15b7cf1d85eb13556b403181d8d

Issue should stay open until the handbook has been adjusted. I've added the missing action items for transparency.

The handbook has been updated


homeassistant loses the connection to homegear

Description of problem:
I am running the latest homeassistant (version 0.43.2) docker on my NAS (<IP_ADDRESS>) and homegear (version 0.6.20-987) on an rpi (<IP_ADDRESS>) with HM-MOD-RPI-PCB module. After a few days, homeassistant loses the connection to homegear, so that sensors are not updated anymore and changes made in HA are not propagated to my homematic devices.
the docker container is run with:
/usr/bin/docker run \
    --name=home-assistant \
    --net=host \
    --expose 8123 \
    -v /var/lib/docker-confs/home-assistant:/config \
    -v /etc/localtime:/etc/localtime:ro \
    --device=/dev/ttyUSB0:/mysensorsgw:rwm \
    homeassistant/home-assistant

The problem is reproducible but it usually takes a few days until the connection is lost. The last temperature value was logged at 11:59 on the 2017-04-28.
I attched the last few lines from homegear.err, the output of "grep "04/28/17" /var/log/homegear/homegear.log | grep RPC" between 11:00 and 13:00, and the output of "grep homematic  home-assistant.log | grep -v "websocket_api", also between 11:00 and 13:00 (it seems like the last entry is from 12:05:59 though).
(removed logfiles)
Home Assistant version (if applicable):
0.43.2
Problem-relevant configuration.yaml entries and steps to reproduce:
homematic:
  local_ip: <IP_ADDRESS>
  local_port: 34279
  hosts:
    wireless:
      ip: <IP_ADDRESS>
      resolvenames: metadata

logger:
    logs:
        homeassistant.components.homematic: debug
        pyhomematic: debug

Let me know if you need anything else!

The relevant log lines are:
homegear.err
04/28/17 11:23:05.086 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Warning: AES handshake failed for packet: 0D3EA6104DEEB9FD4A7D06010000F2
Removing server "homeassistant-wireless". Server has to send "init" again.

homegear.log
04/28/17 11:23:05.085 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "My-HM-MOD-RPI-PCB": Warning: AES handshake failed for packet: 0D3EA6104DEEB9FD4A7D06010000F2
04/28/17 11:23:05.086 RPC client: Info: Calling RPC method "error" on server <IP_ADDRESS>.

What happens is, that Homegear drops the connection because of the error with the failed AES handshake. This is outside of the scope of HASS and / or pyhomematic.
You can use the homematic.reconnect service to make HASS talk to Homegear again. If you have something like a brightness sensor that regularily reports the brightness, you could use an automation that executes the reconnect service as soon as that brightness-sensor has the same value for one hour.
Another approach would be to have some script that regularily looks at the homegear.err file to check id the same error has occured again, and if yes, reconnect.
To get this issue resolved permanently without any workaround, you probably have to create an issue over at the Homegear repo. pyhomematic is just a "man in the middle" between HASS and Homegear, and checking if the connection is still alive is not part of the tasks pyhomematic should take care of. And since neither the CCU nor Homegear tells pyhomematic that the connection has been dropped, there's no clean way to handle this besides simple re-connecting.

Turns out the error-method is already implemented in pyhomematic: https://github.com/danielperna84/pyhomematic/blob/master/pyhomematic/_hm.py#L152
So we'll just have to make HASS take those and fire an event with that data.

Wow, that was quick. Thanks a lot! If i understand your PR correctly, the homematic component will fire an event i can use in an automation to reconnect, right? Or does it reconnect automatically?

Yes, it will fire an event. Since I don't know which error codes Homegear will send you will probably have to observe the events for a while (notify yourself with all the event data), and once you know which error code is the one that leads to the dropped connection, use an automation to react on that specific error and trigger the reconnect.

OK, will do. Once i know the error code i will post it here, in case anyone else runs into this issue.

 There once was another user who had issues when using wifi, and switching to wired resolved the issue.
What's interesting are the last few lines of home-assistant.log:

17-05-02 00:09:36 DEBUG (Thread-13) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant-wireless, address = NEQXXXXXXX:4, value_key = VALVE_STATE, value = 0
17-05-02 00:09:36 INFO (Thread-13) [pyhomematic.devicetypes.generic] HMGeneric.event: address=NEQXXXXXXX:4, interface_id=homeassistant-wireless, key=VALVE_STATE, value=0
17-05-02 00:09:36 DEBUG (Thread-13) [pyhomematic.devicetypes.generic] HMDevice.event: Using callback <bound method HMDevice._hm_event_callback of <Entity BZ_Thermostat: auto>>
17-05-02 00:09:36 DEBUG (Thread-13) [homeassistant.components.homematic] BZ_Thermostat received event 'VALVE_STATE' value: 0
17-05-02 00:10:35 DEBUG (Thread-13) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant-wireless, address = MEQXXXXXXX:0, value_key = RSSI_DEVICE, value = -67
17-05-02 00:10:40 INFO (Thread-13) [pyhomematic.devicetypes.generic] HMGeneric.event: address=MEQXXXXXXX:0, interface_id=homeassistant-wireless, key=RSSI_DEVICE, value=-67
17-05-02 00:11:07 DEBUG (Thread-13) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant-wireless, address = MEQXXXXXXX:0, value_key = RSSI_DEVICE, value = -67
17-05-02 00:11:09 INFO (Thread-13) [pyhomematic.devicetypes.generic] HMGeneric.event: address=MEQXXXXXXX:0, interface_id=homeassistant-wireless, key=RSSI_DEVICE, value=-67
17-05-02 00:12:46 DEBUG (Thread-13) [pyhomematic._hm] RPCFunctions.event: interface_id = homeassistant-wireless, address = MEQXXXXXXX:0, value_key = RSSI_DEVICE, value = -67
17-05-02 00:12:59 INFO (Thread-13) [pyhomematic.devicetypes.generic] HMGeneric.event: address=MEQXXXXXXX:0, interface_id=homeassistant-wireless, key=RSSI_DEVICE, value=-67

Notice how before the last few RSSI_DEVICE events the other events always have at least two messages (1 debug, 1 info, sometimes more depending on device), which roughly happen at the same time. Throughout the logs those messages are never further apart than a second.
In the last few lines though it's 5, 2 and 13 seconds. To me this indicates, that maybe HASS is overloaded and struggeling to handle the events.
What I would suggest: add some sort of system monitor sensor to your HASS configuration and monitor the CPU load. Maybe there is something happening on your HASS machine that makes the HomeMatic thread stall, and because it takes too long to answer the event-message Homegear drops the connection. You're saying HASS is running within Docker on a NAS system. Have a look at the NAS logs too and see if maybe there is some sort of cron-job syncing whatever data. Or anything else. And most importantly: Have a look at the other non-HomeMatic components you are using in HASS. Maybe there's a buggy component that blocks all of HASS because of your ISP reconnect and nobody has discovered it yet.

Its wired
Aha, i havent spotted the delays, but it sounds reasonable. The NAS has a rather small CPU and runs quite a few containers, not all of them with particularly stable software, so (too) high CPU load is quite likely. I added a load sensor to corroborate this hypothesis. And will monitor the other containers more closely.
I dont think its a buggy HASS component, disabling everything but homematic was the first thing i tried but it still kept losing the connection. Anyway, many thanks for your help!


release 3.0.1-rc0

Affected Puppet, Ruby, OS and module versions/distributions

Puppet:
Ruby:
Distribution:
Module version:

How to reproduce (e.g Puppet code you use)
I'm currently unable to update to the most recent version of puppetlabs-registry because of dependency conflicts introduced by this module. These dependencies are updated in the latest RC version of this module, but it hasn't been released to the Forge yet.
What are you seeing
What behaviour did you expect instead
Output log
Any additional information you'd like to impart

Hi,
based on a discussion in https://groups.io/g/voxpupuli/message/449 we decided to archive this repository. I'm going to close all issues and PRs. If you're interested in maintaining the module, please respond to our mailinglist.


Automatic conversion of links to the blog posts

Is your feature request related to a problem? Please describe.
Notion uses [[ or @ to refer another pages. However, I find the nobelium could not conversion the notion links if it is refer to another posts within the blog. At the moment, it just jumps into notion pages.
Describe the solution you'd like
When I click the link, it could jumps into the correct post.

Hi, unfortunately, Automatic conversion of notion links to Nobelium pages will not be added for now.
Nobelium is a Blogging platform, rather than 3rd party notion client. That's why we add features based on the needs of a blogging platform rather than implement all notion features.


Techequilla disappears in dark mode

Describe the bug
When Techequilla is hovered over in the dark mode, it turns black and disappears.
To Reproduce
Steps to reproduce the behavior:

Go to the home page
Hover on Techequilla
See the bug

team femmetech
@sonalsk

This will be continued with the new UI


test: isolation tests judegment

Coverage remained the same at 100.0% when pulling a071b9d5fb94bc59ca4fe3cbd88baa41ba69753e on test/add_isolate_test into 3bc0e9afffaa6e834e61c1b06ed2c5e948e6ca5d on dev.


rename and rerelease sick_visionary_t

@ipa-fmw can you please check why this error is reported:
ERROR: test.test_build_caches.test_build_caches
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/travis/build/ros/rosdistro/test/test_build_caches.py", line 50, in test_build_caches
raise RuntimeError('\n'.join(errors))
RuntimeError: indigo: missing package.xml file for package "sick_visionary_t"
-------------------- >> begin captured logging << --------------------

Now it works.


As a user with ADHD I want an app with simple design

So that I can use it comfortably without major distraction

fixed by #153


CMake linking error

Required Info

Camera Model
T265

Firmware Version
<IP_ADDRESS>1

Operating System & Version
Windows 10

Platform
PC

SDK Version
2.35.2

Language
C++

Segment
Robot

Issue Description
My librealsense is installed at C:\rs (it is from the Intel.RealSense.SDK-WIN10-<IP_ADDRESS>7.exe installer, simply moved the folder from the Program Files x86)
I am using MinGW g++ and CMake with CLion, and my project is stored at C:\T265.
When trying to build the following
#include "../rs/include/librealsense2/rs.hpp"
int main(int argc, char * argv[])
{
    rs2::pipeline p;
    return 0;
}

with the CMakeLists:
cmake_minimum_required(VERSION 3.16)
project(RealSense_T265)
set(CMAKE_CXX_STANDARD 14)
add_executable(RealSense_T265 main.cpp)

I get the following error (when running):
====================[ Build | T265 | Debug ]====================================
"C:\Program Files\JetBrains\CLion 2020.1.2\bin\cmake\win\bin\cmake.exe" --build C:\T265\cmake-build-debug --target T265 -- -j 4
Scanning dependencies of target T265
[ 50%] Building CXX object CMakeFiles/T265.dir/main.cpp.obj
[100%] Linking CXX executable T265.exe
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: CMakeFiles\T265.dir/objects.a(main.cpp.obj): in function `ZN3rs25errorC2EP9rs2_error':
c:/rs/include/librealsense2/hpp/rs_types.hpp:90: undefined reference to `rs2_get_error_message'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:92: undefined reference to `rs2_get_failed_function'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:92: undefined reference to `rs2_get_failed_function'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:93: undefined reference to `rs2_get_failed_args'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:93: undefined reference to `rs2_get_failed_args'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:94: undefined reference to `rs2_get_librealsense_exception_type'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:95: undefined reference to `rs2_free_error'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: CMakeFiles\T265.dir/objects.a(main.cpp.obj): in function `ZN3rs25errorC1EP9rs2_error':
c:/rs/include/librealsense2/hpp/rs_types.hpp:90: undefined reference to `rs2_get_error_message'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:92: undefined reference to `rs2_get_failed_function'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:92: undefined reference to `rs2_get_failed_function'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:93: undefined reference to `rs2_get_failed_args'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:93: undefined reference to `rs2_get_failed_args'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:94: undefined reference to `rs2_get_librealsense_exception_type'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_types.hpp:95: undefined reference to `rs2_free_error'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: CMakeFiles\T265.dir/objects.a(main.cpp.obj): in function `ZN3rs25error6handleEP9rs2_error':
c:/rs/include/librealsense2/hpp/rs_types.hpp:141: undefined reference to `rs2_get_librealsense_exception_type'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: CMakeFiles\T265.dir/objects.a(main.cpp.obj): in function `ZN3rs27contextC1Ev':
c:/rs/include/librealsense2/hpp/rs_context.hpp:102: undefined reference to `rs2_create_context'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_context.hpp:102: undefined reference to `rs2_delete_context'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: CMakeFiles\T265.dir/objects.a(main.cpp.obj): in function `ZN3rs28pipelineC1ENS_7contextE':
c:/rs/include/librealsense2/hpp/rs_pipeline.hpp:375: undefined reference to `rs2_create_pipeline'
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/rs/include/librealsense2/hpp/rs_pipeline.hpp:375: undefined reference to `rs2_delete_pipeline'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[3]: *** [T265.exe] Error 1
mingw32-make.exe[2]: *** [CMakeFiles/T265.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles/T265.dir/rule] Error 2
mingw32-make.exe: *** [T265] Error 2
CMakeFiles\T265.dir\build.make:84: recipe for target 'T265.exe' failed
CMakeFiles\Makefile2:74: recipe for target 'CMakeFiles/T265.dir/all' failed
CMakeFiles\Makefile2:81: recipe for target 'CMakeFiles/T265.dir/rule' failed
Makefile:117: recipe for target 'T265' failed

Any suggestions?

@noamzaks , apparently the CMake lacks the references to librealsense:

cmake_minimum_required(VERSION 3.16)
project(RealSense_T265)
set(CMAKE_CXX_STANDARD 14)
find_package(realsense2)
target_link_libraries(${PROJECT_NAME} PRIVATE realsense2::realsense2)
add_executable(RealSense_T265 main.cpp)

#4277, #4388.

@ev-mp thank you very much!


Add COOP headers to index.mjs serving

This is needed for supporting SharedArrayBuffer, high-resolution performance.now(), and also for a strict renderer process separation for child iframes, which is important for the kalidokit implementation to be able to perform asynchronous GPU (model inference) work.
The end result is that if we do it this way, we will have faster mediapipe (pose model) inference, which does not interfere with the main game engine loop.
This is due to how the browser process architecture works (https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default).

In my testing I found that despite this PR we might still need to follow the strict site isolation origin policy of TLD +1. I was able to hitch the render process of the parent from the iframe regardless, as shown in the profile..

The fix therefore probably involves using another webaverse domain, like webaverse.link.


build: setup ML workspace and VM cluster provisioning via bicep scripts

Change Description

[ ] My PR includes a link to the issue that I am addressing

Solution Description

Code Quality

[ ] I have read the Contribution Guide
[ ] My code follows the code style of this project
[ ] My code builds (or compiles) cleanly without any errors or warnings
[ ] My code contains relevant comments and necessary documentation

Project-Specific Pull Request Checklists

Bug Fix Checklist

[ ] My fix includes a new test that breaks as a result of the bug (if possible)
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

New Feature Checklist

[ ] I have added or updated the docstrings associated with my feature using the NumPy docstring format
[ ] I have updated the tutorial to highlight my new feature (if appropriate)
[ ] I have added unit/End-to-End (E2E) test cases to cover my new feature
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

Documentation Change Checklist

[ ] Any updated docstrings use the NumPy docstring format

Build/CI Change Checklist

[ ] If required or optional dependencies have changed (including version numbers), I have updated the README to reflect this
[ ] If this is a new CI setup, I have added the associated badge to the README

Other Change Checklist

[ ] Any new or updated docstrings use the NumPy docstring format.
[ ] I have updated the tutorial to highlight my new feature (if appropriate)
[ ] I have added unit/End-to-End (E2E) test cases to cover any changes
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

Test Workspace Provisioned: https://ml.azure.com/?wsid=/subscriptions/e4f4cccd-ac89-41b8-aae6-896e5a8471e4/resourceGroups/autoradoc/providers/Microsoft.MachineLearningServices/workspaces/mlwautoratestenv4&tid=f6b6dd5b-f02f-441a-99a0-162ac5060bd2


How i can change zIndex of elements?

Hello guys,
I have two shapes rendered on my canvas, on click I want to change zindex of element and bring it to front.
Is there a method that can change zindex of stage children? Or I need to clear and render again the content of container?

Thank you!

var mapContainer = new PIXI.DisplayObjectContainer(),
    unitsContainer = new PIXI.DisplayObjectContainer(),
    menuContainer = new PIXI.DisplayObjectContainer();

mapContainer.zIndex = 5;
unitsContainer.zIndex = 10;
menuContainer.zIndex = 20;

/* adding children, no matter in which order */
stage.addChild(mapContainer);
stage.addChild(menuContainer);
stage.addChild(unitsContainer);

/* call this function whenever you added a new layer/container */
stage.updateLayersOrder = function () {
    stage.children.sort(function(a,b) {
        a.zIndex = a.zIndex || 0;
        b.zIndex = b.zIndex || 0;
        return a.zIndex - b.zIndex
    });
};

stage.updateLayersOrder();

Thank @tengotengo, nice solution.

Than @tengotengo , get it

If you're here looking for this feature in 2017; it's been implemented in Pixi as zOrder.
https://pixijs.github.io/examples/#/display/zorder.js

Thanks @loadedsith.
Does the zOrder works for each sprite or just for the sprites in DisplayGroup?

For sprites in DisplayGroup. Its special optimization: suppose you have 1002 sprites and you want to bring only 2 of them to front. Then sorting will work only for those 2, its much faster than for all 1002.
Also, there's new iteration of plugin: https://pixijs.github.io/examples/#/layers/lighting.js , its called pixi-layers

Thanks @ivanpopelyshev.
And if I have for example 10 sprites and I need to remove and add them multiple times but each sprite needs to be zOrdered. How to accomplish that?
I'm already using stage.addChildAt() method.
Can add each of them in DisplayGroup and zOrder DisplayGroup or?
Thanks

if you are using old "pixi-display":

create a PIXI.DisplayGroup with sorting enabled
assign it to a displayGroup field of sprites you want to sort
create a PIXI.DisplayList
assign it to some root container in "displayList" field

Every frame it'll sort them again, without changing their actual order in "children".

If you are using new "pixi-layers":

create PIXI.display.Group with sorting enabled.
specify it in "parentGroup" field of sprites you want to sort
create a PIXI.display.Layer and add it as a child somewhere
specify "layer.group = myGroup"

Now, every frame all sprites with same displayGroup will be sorted and then rendered inside that Layer.

Can you give more information about "pixi-layers", is it yours? is it better? is there a github page?
Thanks :)

right now its just a branch in pixi-display. Its new iteration that addresses issue of moving objects inside containers with filters & masks.
https://github.com/pixijs/pixi-display/tree/layers
The downside is that you have to create layer containers where elements with corresponding "parentGroup" or "parentLayer" will be rendered. The good side is that its optimal for lighting :) I'm gonna add examples with normal maps and other advanced lighting.

Great! Can You give some additional usage tips?
As I can see, we create a layer that extends container:
var layer = new PIXI.display.Layer();
Then we can add our sprites in that layer:
bunnySprite.parentLayer = layer;
"Layer can order elements inside of it, by zIndex increase and then by zOrder decrease."
bunnySprite.zIndex = 1;
cloudSprite.zIndex = 2;
badCloudSprite.zIndex = 2;
badCloudSprite.zOrder = 1;
layer.group.enableSort = true;

Can You explain this zIndex and zOrder a little better?
I need one layer to add all my sprites in it and then specify zOrder (if I'm right) - so that renderer knows which sprite to render over the other?
And what about PIXI.Container? Currently all my sprites are inside PIXI.Container.
var stage = new PIXI.container;
Just to change it to:
var stage = new PIXI.display.Layer();
.. and add sprites to stage using:
mySprite.parentLayer  = stage;
Thanks in advanced!

The idea is that you can combine your objects in containers whatever you like. Imagine that you are combining character, its nickname and its shadow in the same container, because its easy to move it, add it or delete it. Shadows go to one layer, character to another, and nickname to the third.
app.stage = new PIXI.display.Stage();

var myObjects = new PIXI.Container();
stage.addChild(myObjects);

var sortedLayer = new PIXI.display.Layer();
sortedLayer.group.enableSort = true;
stage.addChild(sortedLayer);

var someObj = createMyObject();
myObjects.addChild(someObj);
someObj.parentLayer = sortedLayer;

And you need to create PIXI.display.Stage, otherwise nothing will work.

That's how it works:

Stage looks into all elements, and adds them to corresponding layers as an "active children", its re-calculated every time.
When myObjects asks his child to render, the child goes "oh, wait, wrong time, I'll do it later"
When sortedLayer asks his "active children" to render, they draw themselves.

OK, I've got this, better analogy:
actual pixi children, addChild, removeChild - that's all are Homes/flats
layers are offices. Office for coders, office for electrics, and such.
groups are occupation. Office is for people with certain occupation.

@ivanpopelyshev -> mate You done a great job, I got it !!
** Your tips are very usefull =)
It's already implement in my code ;)
Thanks!

@ivanpopelyshev do i need to update pixi to some latest iteration to be able to use layers you describe? it's kind of confusing but i'm willing to figure it out. new to this. i was trying to come up with my own solution earlier, but at the moment, just trying to extract the layers of top-down tilebased terrain out so i can fit player in between them.

You must have PIXI.display.Stage as root
var stage = new PIXI.display.Stage();
var container = new PIXI.Container();
var topLayer = new PIXI.display.Layer();

stage.addChild(container);
stage.addChild(topLayer);

for (var i=0;i<10;i++) { container.addChild(new Sprite(myTexture)) }

container.children[7].parentLayer = topLayer
// 7-th child now rendered in topLayer instead of container, and its above everything else

renderer.render(stage);

Awesome thanks! Any advice on how to install your branch etc?

Just add this js file: https://github.com/ivanpopelyshev/pixi-legacy/tree/master/bin

Cool thanks for the help. One last question, what do you mean by removing pixi interactive from working with it? Will I still be able to do character collision or does it mean that something like a light filter you're using in your example just won't have collision for instance

Yeah, the problem is if character is interactive, and someone clicks on light sprite, event will bubble to character, you have to be aware of that, and amy be prevent it somehow.
Also, that plugin hacks interaction algorithm, it can be a bit buggy. However,  there were no issues with it so far :)

May be i'll have to add one more feature to groups: make all sprites of that group non-interactable

Alright cool. I'll have to look into using groups with Display. Right now I'm just rendering everything to a pixi container.

Why not implement z-order? pixi-layers is just a temp workaround. This issue should be reopened. @ivanpopelyshev

I hope to add pixi-layers in new pixi, v5.
The idea is that layers give much more functionality than just z-order, I dont know of any rendering libs that can do sorting through the tree.
As for simple solutions, https://github.com/pixijs/pixi-display/wiki - may be we can add SortableContainer to pixi?

Yeah it's very handy. I don't see any good way of doing proper draw call optimization with 'pure' pixi. We need z-index or layers to do that. let's say you have a player container, you put everything into that container. including the name text (font atlas). you end up with "roughly" 3 draw calls. now add 10 players. since it'll render one player at a time you will end up with about 30 draw calls, switching between your spritesheet and font atlas.
With pixi layers you could add 3 dedicated layers for your player rendering and do something like.
PlayerName.parentLayer = NameLayer;
PlayerHealth.parentLayer = HealthLayer;
PlayerBody.parentLayer = PlayerLayer;

So now we are back to 3 draw calls.

render all bodies
render all healthbars
render all names

Besides being great for optimization, layers adds some interesting possibilities as well.
We have layers for normal particles, particles with blendmode "add" etc. so most of our particles happens in two draw calls. We also made a special layer for displacement. so adding parentLayer = displacementLayer would instantly make our sprite displace the stage. and we can use alpha to adjust the displacement amount.
Check out this predator effect. all it does is render a "clone" of the tank in our displacement layer. then crossfade the alpha between the two tanks.

We are so heavily invested in pixi-layers that we wouldn't be able to migrate to v5 until layers work. Hopefully @GoodBoyDigital / @englercj (and everyone who has a vote in v5) will have a serious look at layers. It's really a great tool, and a missing feature.

This feature doesn't appear to be in the manual yet.* Is it available in 4.8.2?

unless i'm using the wrong manual: http://pixijs.download/release/docs/PIXI.DisplayObject.html#renderCanvas


Support hasconversion in EF core for filter

Problem
When you have a VO using HasConversion  like below, you need to do expressions in EF like x => x.Email == "thing" instead of x => x.Email.Value ==  "thing" vs using OwnsOne  where you would always use the full path.
        builder.Property(x => x.Email)
            .HasConversion(x => x.Value, x => new EmailAddress(x))
            .HasColumnName("email")
            .IsRequired(false);

        builder.OwnsOne(x => x.Email, opts =>
             {
                 opts.Property(x => x.Value).HasColumnName("email");
             }).Navigation(x => x.Email)
             .IsRequired();

so ideally, the parser defaults to using the whole path, but if you pass a config object, the parser respects the path you give, so this:
        var config = new QueryKitProcessorConfiguration(config =>
        {
            config.Property<TestingPerson>(x => x.Email).HasQueryName("email");
        });

would really resolve to x => x.Email == "thing"
i started looking at this and found i can tack something like this into LeftExprParser , but then the type isn't recognized in CreateRightExpr  when it calls TypeConversionFunctions, but you do need to know the type to do it right (e.g. if it's a guid or whatever)
            // Check if the nested property has a child property
            if (nestedPropertyExpression is MemberExpression memberExpression &&
                memberExpression.Expression is MemberExpression parentExpression)
            {
                return parentExpression;
            }

I think to make this work, i need to add a HasConversion()  extension myself that essentially mimics the EF core method?

Hey @pdevito3, any news on this feature?

Still in the backlog. Open to PRs of tie interested.


Proposal: Use HTMLParser in windicss as defaultExtrator

I found that the extract result has a little bit different between windicss cli and windicss-webpack-plugin. And I think the default behavior in @windicss/plugin-utils result in such different. As. windicss provides a HTMLParser which can get all classes too.
If ok, I can create a PR to handle it as soon as possible.

Yeap, I agreed on the current implementation is more suitable for the real-world app. But I think it is necessary to make generated CSS the same between all the Integrations. The situation is now two different logic to get class names from raw text, which consequence is defaultExtractor missing some class names, otherwise, they were detected using Windi CSS Cli


npm install with node v4 and npm v3

npm ERR! Linux 4.4.0-36-generic
npm ERR! argv "/home/victor/.nvm/versions/node/v4.2.6/bin/node" "/home/victor/.nvm/versions/node/v4.2.6/bin/npm" "install" "https://github.com/haadcode/go-ipfs-dep.git" "--verbose"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2

Arguments and versions ^
Seems like it's not installing properly. Gist of error here: Refusing to delete /home/victor/projects/misc/orbit/node_modules/go-ipfs-dep/node_modules/.bin/go-platform: containing path /home/victor/projects/misc/orbit/node_modules/go-ipfs-dep/node_modules/go-platform isn't under npm's control
Full install log here: https://ipfs.io/ipfs/QmWLeofnwHG3nws99LFuprygFojpTUXQRuHjdiZEANSQz3

Not sure why that is, never seen it before.
Also, please note that Orbit requires Node.js v6 as per requirements in README https://github.com/haadcode/orbit/tree/pubsub#requirements

I'm gonna close this as it concerns Node.js v4. If you still run into build problem, please do open new issues.


Bot can't start

What went wrong?
I can't start the bot.
Here the musicbot.log:
The bot c'ant start,
musicbot.log :
[30.875444412] 2022-11-30 14:55:40,416 - INFO - launcher: Starting sanity checks
[31.711101532] 2022-11-30 14:55:40,417 - INFO - launcher: Checking for Python 3.8+
[32.217025757] 2022-11-30 14:55:40,417 - INFO - launcher: Checking console encoding
[32.748937607] 2022-11-30 14:55:40,418 - INFO - launcher: Ensuring we're in the right environment
[375.282287598] 2022-11-30 14:55:40,760 - INFO - launcher: Required checks passed.
[376.074314117] 2022-11-30 14:55:40,761 - INFO - launcher: Optional checks passed.
[376.513004303] 2022-11-30 14:55:40,761 - INFO - launcher: Moving old musicbot log
######################### PRE-RUN SANITY CHECKS PASSED #########################
[0.7837531566619873] 2022-11-30 14:55:41,169 - INFO - musicbot.config | In config.py::MainThread(140478287841088), line 250 in run_checks: Using i18n: config/i18n/fr.json
[0.7858223915100098] 2022-11-30 14:55:41,171 - DEBUG - musicbot.bot | In bot.py::MainThread(140478287841088), line 281 in _setup_logging: Set logging level to EVERYTHING
[0.7914841175079346] 2022-11-30 14:55:41,176 - DEBUG - musicbot.json | In json.py::MainThread(140478287841088), line 9 in init: Init JSON obj with config/i18n/fr.json
[1.0448503494262695] 2022-11-30 14:55:41,430 - INFO - musicbot.bot | In bot.py::MainThread(140478287841088), line 105 in init: Starting MusicBot release-151221-10-g8e4ed91
[1.0452392101287842] 2022-11-30 14:55:41,430 - INFO - musicbot.bot | In bot.py::MainThread(140478287841088), line 111 in init: Loaded autoplaylist with 3628 entries
[1.063107252] launcher-ERROR: Error starting bot
Traceback (most recent call last):
File "run.py", line 411, in main
m = MusicBot()
File "/home/valentin/MusicBot/musicbot/bot.py", line 128, in init
self.aiosession = aiohttp.ClientSession(
File "/usr/local/lib/python3.8/dist-packages/aiohttp/client.py", line 225, in init
loop = get_running_loop(loop)
File "/usr/local/lib/python3.8/dist-packages/aiohttp/helpers.py", line 284, in get_running_loop
if not loop.is_running():
File "/home/valentin/.local/lib/python3.8/site-packages/discord/client.py", line 108, in getattr
raise AttributeError(msg)
AttributeError: loop attribute cannot be accessed in non-async contexts. Consider using either an asynchronous main function and passing it to asyncio.run or using asynchronous initialisation hooks such as Client.setup_hook
[1.080822468] launcher-INFO: All done.
How do we reproduce this?
Start the bot using review branch with Python 3.8.10
Which version of the bot are you using?
I am using the "review" branch
Which operating system are you using?
Ubuntu 18.04 or higher
Just checking...

[X] I have confirmed that my issue has not already been reported.
[X] I am using Python 3.8 or higher.
[X] I have updated my Python dependencies.

Same Issue

Likely resolved in https://github.com/Just-Some-Bots/MusicBot/commit/710164eefb145777b10bbfcb8b1b65c37a283a78


[Fabric] AbstractMethodError

Here's the log

at first I thought this was an issue with gradle, so I downgrade, but that didn't do anything, then I thought it was with loom so I downgraded that but same result; I realized I was using JDK 16 so I switch to 8 and same result.
already posted this on the discord, but why not here too.

It's on your end somewhere 🤷🏻 it's loading just fine here

This is not an issue from his side. I believe in newer versions of Fabric API 1.16.5 the abstract method ResourceReloader#reload(ResourceReloader.Synchronizer, ResourceManager, Profiler, Profiler, Executor, Executor). By the looks of the class GeckoLib's first anonymous class instantiates a new instance of IdentifiableResourceReloadListener which has the abstract methods IdentifiableResourceReloadListener#getFabricId() and IdentifiableResourceReloadListener#getFabricDependencies(). Thing is that it actually extends the ResourceReloader interface, with other words it an implementation of IdentifiableResourceReloadListener would need to override getFabricId(), getFabricDependencies() and reload(...). However as of now GeckoLib does not do that and subsequently causes a LinkageError (AbstractMethodError).

Nevermind

Yeah @Conclure I am testing on the newest and same version of Fabric API and loader as him and it's loading just fine

Although the issue persists. I think I found why.
	public static void initialize() {
		if (!hasInitialized) {
			ResourceManagerHelper.get(ResourceType.CLIENT_RESOURCES)
					.registerReloadListener(new IdentifiableResourceReloadListener() {
						@Override
						public Identifier getFabricId() {
							return new Identifier(GeckoLib.ModID, "models");
						}

						@Override
						public CompletableFuture<Void> reload(Synchronizer synchronizer, ResourceManager manager,
								Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor,
								Executor applyExecutor) {
							return GeckoLibCache.getInstance().reload(synchronizer, manager, prepareProfiler,
									applyProfiler, prepareExecutor, applyExecutor);
						}
					});
		}
		hasInitialized = true;
	}

The problem occurs here. GeckoLibCache#reload takes a ResourceReloadListener.Synchronizer instance whilst the unimplemented method specifies a ResourceReload.Synchronizer.

Needless to say I am uncertain whether I use the wrong version of it's you.

Thanks Fabric https://github.com/FabricMC/yarn/pull/2131 love your breaking changes, truly learning from Forge I see. Revert back to at least '0.29.4+1.16' for your ide, as shown the production version doesn't care so until I can fix my java issues thanks to Java 16, just do this for now.

Thanks Fabric FabricMC/yarn#2131 love your breaking changes, truly learning from Forge I see. Revert back to at least '0.29.4+1.16' for your ide, as shown the production version doesn't care so until I can fix my java issues thanks to Java 16, just do this for now.

I would like to say that you should rather revert back to yarn mappings version 1.16.5+build.3 to make it work. If you wanna use  GeckoLib as of now @LonelyMusicDisc.


MockFile.Delete does not throw exception when file does not exist

Unit test to reproduce:
var fs = new MockFileSystem();
fs.File.Delete(@"c:\someFilePath.txt");

The above code does not throw any exception, while the real File.Delete from System IO will throw

Additional clarification.. it looks like this will break some old tests as well. We'll need to add a directory in the failing tests.

Hello @jpreese, @fgreinacher . I have tried to fix the issue in my repository fork. Could you please check the result and tell me if something needs to be corrected?
https://github.com/peter-sereda/System.IO.Abstractions/pull/1

Hey @peter-sereda - thanks for taking care of this. Please open a PR against this repository so that we get test results.

@fgreinacher , done.
https://github.com/System-IO-Abstractions/System.IO.Abstractions/pull/379

@peter-sereda  @fgreinacher @jpreese  thanks a lot guys for your contribution. Really appreciated!


Specifying strand-specific sequencing?

It looks like you used an unstranded RNA-Seq protocol in your recent paper. You might want to add a setting to be able to specify strand-specific sequencing in the configuration, so that type of data can be analyzed properly.
Cheers,
AC

Yes, this is a good suggestion and something we've thought about. Happy to accept pull requests if you want to add this in the mean time.


Visualization is not working while recording on NextJS

Visualization is not working while recording on NextJS. I have tried with the example from this repo 👉🏻 https://github.com/YZarytskyi/react-audio-visualization
To Reproduce
Steps to reproduce the behavior:

Created a new nextjs app from cli.
Added new component as following:

"use client";

import { Button } from "@/components/ui/button";
import React, { useEffect } from "react";
import { useVoiceVisualizer, VoiceVisualizer } from "react-voice-visualizer";

export default function VoiceRecorder() {
  const recorderControls = useVoiceVisualizer();
  const { saveAudioFile, recordedBlob, error } = recorderControls;

  // Get the recorded audio blob
  useEffect(() => {
    if (!recordedBlob) return;

    console.log(recordedBlob);
  }, [recordedBlob, error]);

  // Get the error when it occurs
  useEffect(() => {
    if (!error) return;

    console.error(error);
  }, [error]);

  return (
    <>
      <VoiceVisualizer
        controls={recorderControls}
        mainBarColor="#FFFFFF"
        secondaryBarColor="#5e5e5e"
        width={"100%"}
        height={200}
        speed={3}
        barWidth={2}
        gap={1}
        rounded={5}
        isControlPanelShown={true}
        isDownloadAudioButtonShown={true}
        fullscreen={false}
        onlyRecording={false}
        animateCurrentPick={true}
        isDefaultUIShown={true}
        isProgressIndicatorShown={true}
        isProgressIndicatorTimeShown={true}
        isProgressIndicatorOnHoverShown={true}
        isProgressIndicatorTimeOnHoverShown={true}
      />
      <Button onClick={saveAudioFile}>Save Audio</Button>
    </>
  );
}

Import the component as dynamic for avoiding SSR issues:

"use client";

import dynamic from "next/dynamic";

const DynamicVoiceVisualizer = dynamic(
  () => import("@/components/voice-recorder"),
  {
    ssr: false,
  }
);

export default function Page() {
  return <DynamicVoiceVisualizer />;
}

Start recording and visualization not working.
Playback works as expected.

Expected behavior
It should be working as given demo of the library.

Same problem here... That's the error that I get:
ReferenceError: window is not defined
   at It (.../node_modules/react-voice-visualizer/dist/react-voice-visualizer.js:351:106)

Most likely, this component relies on browser-specific context, so it won't work with SSR frameworks like Remix or Nest.Js. I have tried to wrap this component into something like this:
  const ClientOnly = ({ children }: { children: React.ReactNode }) => {
    const [isMounted, setIsMounted] = useState(false);

    useEffect(() => {
      setIsMounted(true);
    }, []);

    return isMounted ? children : null;
  };

But still, it doesn't seem to be functioning properly, although it renders, which is kind of a win.


Error module missing from ANGLE backend

Building on windows fails when importing the ToWindowingApiError trait. The error module is not present in the repo.

Fixed by https://github.com/pcwalton/surfman/commit/724f4af0fbe7dc6dc5d946654d0615cb48ecd2fa.


I am running into a Maximum call stack size exceeded error when stringifying a big JSON object. Also, my provided callback will be fired multiple times then.
To reproduce, download http://static.transloadit.com/giant.json, then JSON.parse() its contents and try to stringify it using the module. It will throw that error.
Without this issue fixed, I cannot use the module even though I'd love to. : /
Kind regards,
Tim

I think the problem is that the handle() functions here https://github.com/ckknight/async-json/blob/master/lib/async-json.js#L80 and here https://github.com/ckknight/async-json/blob/master/lib/async-json.js#L142 have recursive calls. I think a setTimeout(function() {}, 0); should help node clear the stack and fix the problem. I will try that. If it works, I will submit a PR.

There you go fine Sir!

Could you please update the npm version so that we can benefit from the other solution easily?

:heart_eyes:

Whoops, forgot about that, @tim-kos. Will do.


Add initial pass of deprecation guide post RFC

This is a follow-on from the O3DE Deprecation Strategy RFC.
This is a first pass at creating a deprecation document engineers can use as a guide. It is not perfect nor exhaustive, but can be something we continue to refine and improve over time.
Signed-off-by: Tom Hulton-Harrop<EMAIL_ADDRESS>

As a writer, the near 100% omission of sentence-completing periods (".") raise an eyebrow 😉, but otherwise this is clearly written. I just have a few comments.

😅 sorry, I just picked a convention and tried to be consistent, I can go through and add them all (I just didn't want a mix of having some on some lines any not on others). Thanks for the feedback, will take a look back tomorrow 👍 Cheers!

I would like to see the timeline resolved (ie, 1 release, 1 full release cycle, or 2-3 months) before I am willing to sign off on the plan. Otherwise, looks good.

That's fair, I think at this stage in the project we should go with 1 release right now which is largely what engineers have been doing already. If/when releases become more regular we could adjust this but I think that's a good starting option. I'll updating the wording to clarify.

@willihay, @Ulrick28, @tonybalandiuk, @cgalvan - I've made some updates following your feedback. Once you're happy let me know and I'll get this merged. Thanks again for your time looking at this 👍

As an reader, IMHO the term deprecation can have a narrow view ie I should follow this guide when I am removing things, not when I am revising an API etc. Its also asking more cognitive process from non-english speakers.
Its probably healthier to have this focus on "Breaking changes ARE deprecation changes" ie deprecate the old thing, introduce the thing.
I would:

Have a lead in paragraph, that covers that "all breaking changes are deprecation changes", we want to as much as possible avoid breaking changes so you probably need to plan to deprecate old thing and introduce new thing whether its an API, a system or a data format.

Have a separate and highlighted, "this is how you should announce you are breaking something" section. Guide should also include letting impacted SIG(s) know in their Discord channels when possible. May want to also callout that if SIG(s) cannot reach agreement on deprecation approach, then issue should be raised with TSC. Ideally maintainers can link to this for PR approvals so we can nudge folks into following guide.

Format changes should also be in here, including provision of tooling to aid in format migration. Lots of code changes also introduce breaking format changes easily.

As an reader, IMHO the term deprecation can have a narrow view ie I should follow this guide when I am removing things, not when I am revising an API etc. Its also asking more cognitive process from non-english speakers.
Its probably healthier to have this focus on "Breaking changes ARE deprecation changes" ie deprecate the old thing, introduce the thing.
I would:
* Have a lead in paragraph, that covers that "all breaking changes are deprecation changes", we want to as much as possible avoid breaking changes so you probably need to plan to deprecate old thing and introduce new thing whether its an API, a system or a data format.

* Have a separate and highlighted, "this is how you should announce you are breaking something" section. Guide should also include letting impacted SIG(s) know in their Discord channels when possible. May want to also callout that if SIG(s) cannot reach agreement on deprecation approach, then issue should be raised with TSC. Ideally maintainers can link to this for PR approvals so we can nudge folks into following guide.

* Format changes should also be in here, including provision of tooling to aid in format migration. Lots of code changes also introduce breaking format changes easily.

@lmbr-pip There is a list of things that constitute a breaking change (see API Deprecation - Examples very near the top). I can add a lead in paragraph but I personally don't feel this is very ambiguous. I feel the information on 'what to do' is largely covered already when reading the enumerated steps. I can mention the point about the TSC, that's a good point about possibly contentious issues. The format changes (for data formats to not be confused with code formatting) were also deemed to be out of scope at least for now for this doc. We do mention having a migration path as being important but I'd rather another team own transitioning/changing data formats separately.
I'll make a couple of the updates you mentioned when I get time but then I'd really like to merge this at least as version 1.0. I'd then be happy for to to create a follow-up PR to make some additional changes/updates. Thanks!

@lmbr-pip I have made some additional changes regarding your feedback (see https://github.com/o3de/community/pull/141/commits/205ea1f8163769627aa658cf3f085f8e802b372c). I don't agree formatting changes should be included here, they are out of scope of the topic of deprecation. There is already information in the doc about how to deprecate things by notifying SIGs etc.
I would really appreciate if you could approve in the current state and if you would like to make further updates/additions please follow the process steps at the top of the doc. Thanks!

Am happy to disagree and commit on using deprecation but I still think its confusing and overly narrow. We really want folks to use this guide when renaming or adding breaking changes to an API, many folks are going to miss that this is "deprecation"
I have already had this confusion with one developer who renamed an API without a) deprecating the old API and b) add the new renamed API - they did not consider this to be a "deprecating" change as they weren't "removing" functionality but instead went straight to breaking the API.

Thanks for the feedback @lmbr-pip. I understand your concern, so would your proposed solution to be to rename the document? That seems like the biggest point of contention right now is that right? We could call is O3DE Breaking Changes Guide instead? And keep most of the rest of the content the same? Thanks!

@hultonha I didn't see your comment. I think we should publish this as is, so we can start using the guide. We can rename after the fact (or cover with linking overview documentation)

Okay thanks @lmbr-pip, I'm going to merge now. Thank you!


Fix 'Invalid update' crash when removing all cells in tableview.

When implementing a SearchBar and updating the results, a crash occurs with the message:
"Invalid update: invalid number of sections.  The number of sections contained in the table view after the update must be equal to the number of sections contained in the table view before the update, plus or minus the number of sections inserted or deleted."

Thanks for your PR. This bug has been fixed in the newest version. Please try it.


Added Scala cheatsheet

What does this PR do?
Add resource
For resources
Description
Scala cheat sheet
Why is this valuable (or not)?
Free
How do we know it's really free?
Can be verified through the link added
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Check the Alphabetical ordering. The second entry should come first

good addition.
Thanks, and welcome to free-programming-books!


Exec method doesn't support multiple statements (separated by semi-colon)

Exec method appears to not support multi line statement queries, it executes up until first ; then completes.
Minimal code required to reproduce.
db, err := sql.Open("libsql", url)
if err != nil {
  return nil, err
}
defer db.Close()

db.Exec(`create table foo (id integer primary key);
create table bar (id integer primary key);`)

My expectation would be the same behavior as other sqlite3 drivers mattn sqlite3  and modernc  where multi statement queries are executed fully when using Exec.
My current work around is at the template level to inject a separator symbol that I can split on and run Exec in a loop. This however isn't great for larger SQL scripts.

For me, it works for embedded replicas & syncing up to Turso, but does not work for a regular file:.db

I have the same issue when running migrations through goose with go-libsql as the driver. Only the first statement from each migration file is actually ran, without any errors indicating something went wrong

I have the same issue when running migrations through goose with go-libsql as the driver. Only the first statement from each migration file is actually ran, without any errors indicating something went wrong

I ran into this with Goose. But I fixed it by removing the -- +goose StatementBegin and -- +goose StatementEnd comments from the migration file. You can find further information at the No transaction section of this page: http://pressly.github.io/goose/documentation/annotations/#example

Yea we just ran into this and this is kind of a big deal because there is no batch methods either


Idea: Allow injecting code in the end of .gen.js file to enable comparing of imported types to generated ones

Rationale: It seems at the moment it's possible to import types from flow/ts source files but ReScript doesn't really know what they contain. It is also possible to generate flow/ts types with genType based on bindings or actual code. However it's not easy to compare the imported types to generated ones to make sure changes in flow/ts codebase keep getting reflected in bindings accurately
How about if it would be possible to manually add such "safety net" by using the flow/ts engine to do the work like this:
// First we import the types as they are defined in the original source
@genType.import("MyFlowOrTSComponent")
type importedProps

// Then we create bindings to that same component based on our understanding of the ReScript types
@bs.module("MyFlowOrTSComponent") @react.component
external make: (
  ~id: string,
  ~name: option<string>=?,
) => React.element = "default"
export default = make

// Finally we add some custom code to cause error in flow/ts if the types mismatch.
// Note that this can be arbitrary relaxed or strict and it can utilize all features available in flow/ts.
@genType.appendRaw(`
let map = (props: importedProps) => (props: Props)
`)

The last map function will cause flow/ts error if importedProps do not match to generated Props anymore. I doubt there is a generic solution to this, but allowing any flow/ts types/code would allow the developer to implement what they feel is necessary.
Ps. It might be possible to do this by importing the genType generated types into the flow/ts files and doing the work there but I feel like it might either cause import loops or at least force the developer to create extra files just for this purpose.
Any thoughts? Maybe it's already possible to achieve the same safety in some other way?

This is what @genType.import does: it generates code for the only purpose that it does not type check if there's a type mismatch.
That said, there are types that don't map over cleanly (e.g. anything that corresponds to a class). Perhaps for those cases, an escape hatch such as raw could help. Though, there's no guarantee that such a raw code stays up to date. E.g. one could change make and forget to adapt the raw string.

This is what @genType.import does: it generates code for the only purpose that it does not type check if there's a type mismatch.
That said, there are types that don't map over cleanly (e.g. anything that corresponds to a class). Perhaps for those cases, an escape hatch such as raw could help. Though, there's no guarantee that such a raw code stays up to date. E.g. one could change make and forget to adapt the raw string.

No immediate plans for this. But if there's a specific proposal + use case, feel free to reopen.


feat: update html and pdf rendering

Description

This PR fixes the issue found at https://github.com/thematerials-network/CoA-schemas/issues/57. It updates the functions localizeValue and localizeNumber in generate-html to allow values with trailing zeros to be passed in without any precision being lost by passing the value in as a string.
I have also added unit tests to verify that there has been no regression and that the localization happens as expected.
The helper localizeValuein generate-pdf-template-helpers has also been updated to allow values with trailing zeros, and the tests have been updated.
Update create-html-certificate.ts to handle partial maps and extra translations.
Update create-pdf-certificate.ts to handle extra translations.
Add CoA v1.0.0 fixtures and tests.
Fixes #174
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Refactor (a code change that neither fixes a bug nor adds a feature)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@eamon0989 The tests for for CoA v1.0.0 should be disabled (as the release v1.0.0 will not land right away) except the one using local resources, then for the latter you should update the PDF fixtures to make the test pass.

@eamon0989 The tests for for CoA v1.0.0 should be disabled (as the release v1.0.0 will not land right away) except the one using local resources, then for the latter you should update the PDF fixtures to make the test pass.

I've commented out the PDF test for now, the HTML test is passing so I've left it, if you want it removed let me know. SonarCloud is failing due to 0.0 perfect coverage, but the tests are there, it doesn't seem to recognize the lines they cover for some reason.


nx-vite:serve is not working with npm

A freshly created project with nx-vite:react is not working with nx serve command.. following error is coming from npm package manager which i still have from the default workspace settings. Do i need to use a different package manager?

Hi, I hava the same question, any solution here?

Sorry about this! We were using yarn in repos with this plugin. Thanks for the report.

Fix published in 0.4.2


Fix issue delete site extension by name

When cx run the Delete Site Extension API by providing the site extension name as siteExtensionId, there could be chance that for some thrid-parties site extension their name and id are different, which cause the Delete Site Extension API to fail.
Update the code logics so that customer can run Delete Site Extension API by providing site extension name or site extension id as value of siteExtensionId.
Update for both v1 and v2.
Tested private build of both happy and sad path, works as expect.

Please rebase/squash to one commit and let me know.

Please rebase/squash to one commit and let me know.

done


UPSTREAM: : update base image for OCP 4.15

depends on https://github.com/openshift/release/pull/45252

/retest

/lgtm


repository.AllowForking does not work in context of Repositories.Edit

I am creating a repo from template, then updating it with Edit:
	r, _, err := client.Repositories.CreateFromTemplate(ctx, templateOwner, templateRepo, &templateRepoReq)

        // update README with client.Repositories.UpdateFile

        // update CODEOWNERS with client.Repositories.UpdateFile

        // update settings
       	r.HasWiki = github.Bool(false)
	r.HasIssues = github.Bool(false)
	r.HasProjects = github.Bool(false)
	r.AllowForking = github.Bool(false)
	r.DeleteBranchOnMerge = github.Bool(true)

	r, _, err = client.Repositories.Edit(ctx, owner, *repoName, r)

The HasWiki, HasIssues, HasProjects and DeleteBranchOnMerge properties work as expected.
AllowForking has no effect. The repo in github always has AllowForking enabled, regardless of boolean value passed.
(Trying new feature introduced in v43.)

I recently discovered that it is not safe to send the fully-populated repo struct to this endpoint, and your issue confirms my suspicion.
Please see #2292 for details.
I highly recommend starting with a fresh (empty) &github.Repository{} struct as in this example and just fill in the fields you want to modify, then make the call.
Please report back in this issue if this solves your problem.  If so, we might want to make a PR to update the comment for this endpoint with this recommendation.

Using fresh Repository did not work
	r = &github.Repository{
		HasWiki:             github.Bool(false),
		HasIssues:           github.Bool(false),
		HasProjects:         github.Bool(false),
		AllowForking:        github.Bool(false),
		DeleteBranchOnMerge: github.Bool(true),
	}

I enabled curl debug 👍 :)
$ curl -X PATCH \
>   https://github.xyz.com/api/v3/repos/my-org/fooz \
>   -H 'Accept: application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json' \
>   -H 'Content-Type: application/json' \
>   -H 'User-Agent: go-github' \
>   -d '{"allow_forking":false,"delete_branch_on_merge":true,"has_issues":false,"has_wiki":false,"has_projects":false}
> ' -u ewan.chalmers@myco.com:$GH_TOKEN

{
  "id": 1239504,
  "node_id": "MDEwOlJlcG9zaXRvcnkxMjM5NTA0",
  "name": "fooz",
  "full_name": "my-org/fooz",
  "private": true,
  "owner": {  [...]  },
  "html_url": "https://github.xyz.com/my-org/fooz",
  [...]
  "has_issues": false,
  "has_projects": false,
  "has_downloads": true,
  "has_wiki": false,
  "has_pages": false,
  "forks_count": 0,
  "mirror_url": null,
  "archived": false,
  "disabled": false,
  "open_issues_count": 1,
  "license": null,
  "is_template": false,
  "visibility": "private",
  "forks": 0,
  "open_issues": 1,
  "watchers": 0,
  "default_branch": "master",
  "permissions": { [... ] },
  "allow_squash_merge": true,
  "allow_merge_commit": true,
  "allow_rebase_merge": true,
  "delete_branch_on_merge": true,
  "template_repository": {  [... ]  },
  "organization": {  [... ] },
  "network_count": 0,
  "subscribers_count": 1
}

So "delete_branch_on_merge": true, remains even with curl.

Did you try this?
-d '{"allow_forking":false,"delete_branch_on_merge":false,"has_issues":false,"has_wiki":false,"has_projects":false}

Thanks @gmlewis for your help
I can leave the code as-is, ready to work whenever enterprise github version is updated


new release ?

let's do a new release https://github.com/PrismarineJS/bedrock-protocol/blob/master/HISTORY.md ?

Opened #79 with 3.1.0, maybe it should be 4? But I don’t think 3.0 was functional.


Reinstate libfreetype install on JDK21

Fixes https://github.com/adoptium/temurin-build/issues/3624#issuecomment-1915272320 (hopefully!)
Note that I haven't adjusted redhat/src/main/packaging/microsoft/21/msopenjdk-21.spec which still has the rm
I have not tested this, so if a review can fdire off a test and see if the package contains libfreetype.so after this then that would be appreciated.

CC @joe-braley @d3r3kk to see if we need to do the same for MSFT installers.

Unable to test due to: https://github.com/adoptium/infrastructure/issues/3362

Running a test here: https://ci.adoptium.net/job/adoptium-packages-linux-pipeline_new/1201/

Could not compile settings file '/home/jenkins/workspace/adoptium-packages-linux-pipeline_new/linuxRedHat/settings.gradle'.

startup failed:
General error during conversion: Unsupported class file major version 65

Looks like a 'Code was compiled with Java version X vs being run as Java version Y problem

Could not compile settings file '/home/jenkins/workspace/adoptium-packages-linux-pipeline_new/linuxRedHat/settings.gradle'.

startup failed:
General error during conversion: Unsupported class file major version 65

Looks like a 'Code was compiled with Java version X vs being run as Java version Y problem

That is correct, although I'm surprised it hit it in this run because I mitigated that yesterday by changing the default java to be 8 on the machine (See https://github.com/adoptium/infrastructure/issues/3352#issuecomment-1914473806 - my understanding from a Slack conversion this week is that the version of gradle we've got needed 8 or something similar). That should not block merging of this PR as it's sure to be a machine specific issue.
https://ci.adoptium.net/job/adoptium-packages-linux-pipeline_new/1202/ is a re-run of Andrew's earlier job on aarch64 instead of x86-64 so will be a better test. I'll try and look at why that (new) machine is misbehaving tomorrow.

https://ci.adoptium.net/job/adoptium-packages-linux-pipeline_new/1202/ is a re-run of Andrew's earlier job on aarch64 instead of x86-64 so will be a better test. I'll try and look at why that (new) machine is misbehaving tomorrow.

That didn't work. Apparently the packaging job is forcing itself to run on an x64 docker host
Still waiting to schedule task
All nodes of label ‘[dockerBuild&&linux&&x64](https://ci.adoptium.net/label/dockerBuild&&linux&&x64/)’ are offline
Running on [dockerhost-equinix-ubuntu2004-x64-1](https://ci.adoptium.net/computer/dockerhost%2Dequinix%2Dubuntu2004%2Dx64%2D1/) in /home/jenkins/workspace/adoptium-packages-linux-pipeline_new

so even using the parameter to build for aarch64 it was still being scheduled on the new machine. I've re-enabled an equinix machine temporarily so we can test this on a known-working configuration - it's at https://ci.adoptium.net/job/adoptium-packages-linux-pipeline_new/1203/console

so even using the parameter to build for aarch64 it was still being scheduled on the new machine. I've re-enabled an equinix machine temporarily so we can test this on a known-working configuration - it's at https://ci.adoptium.net/job/adoptium-packages-linux-pipeline_new/1203/console

That ran green. It's past midnight for me so I've locked the job so the output won't get deleted and we can do some verification / comparison with the GA builds tomorrow (If anyone wants to do so before I go for it then, of course,  feel free :-) )

Merging, noting that the Alpine apk has the libfreetype.so included so is unaffected and doesn't need a modification.


skip spark 330 tests temporarily in nightly [skip ci]

Signed-off-by: Thomas Graves<EMAIL_ADDRESS>relates to https://github.com/NVIDIA/spark-rapids/issues/4031
Disable tests for now until we can fix. skip ci because this script not tested by premerge.

build

build


CAMEL-12286: Fix camel-milo client component

This change adapts the client to the changed behavior of
Eclipse Milo 0.2.x. It does an explicit call to connect and also allows
to configure the allowed security policies in order to still support
anonymous access when no keys are used.

This time I was faster than @davsclaus

Thanks!

Thanks again for the quick merge!

Thanks for your help!


Hints appear behind buttons in GitHub issue page in Firefox

Doesn't happen in Chrome.

I can't reproduce this any longer.


 But in all seriousness, this usually happens when too many entities (things that move) are in the world at once.

Old issue, closed.


Bump package versions on CI.

How Has This Been Tested?
CI.
Benchmark Results
N/A.
Related issue number
N/A.

Should we also update the submodule and bazel dependency to 2.4.1 ?

Should we also update the submodule and bazel dependency to 2.4.1 ?

Should we also update the submodule and bazel dependency to 2.4.1 ?

Ah nice, good idea, will do :+1:

Should we also update the submodule and bazel dependency to 2.4.1 ?

Ah nice, good idea, will do :+1:

Should we also update the submodule and bazel dependency to 2.4.1 ?

Ah nice, good idea, will do 👍

I opened #587 to do this.

Should we also update the submodule and bazel dependency to 2.4.1 ?

Ah nice, good idea, will do 👍

I opened #587 to do this.


[CLOUD-940] Expose the MAVEN_MIRROR_URL variable for JDV

If set, it will be used by s2i while building sources.

@jwendell did for this one, too - displayName now appears first.

Done.

Closing, replaced by #253


Update Composer dependencies (2024-07-27-00-10)

Visual regression test passed!
View the visual regression test report


[Bug] [EC][1.1.2]EC exit should and immediately clear the information in the Manager

Search before asking

[X] I searched the issues and found no similar issues.

Linkis Component
linkis-cg-engineConnplugin
What happened + What you expected to happen
When the EC exits, it should clear the information in the Manager immediately. When it is judged that the status is not Shutdown, it should initiate the cleanup. It should not rely on the Manager monitor to clean up. This cleanup is not timely enough.
EC 退出应该及立即清理在Manager的信息，当判断状态未Shutdown后就应该发起清理，不应该依赖Manager monitor来进行清理，这个清理不够及时
Relevent platform
all
Reproduction script
no
Anything else
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

I will fix this


Can't compile CSP1.0 with UART

I just installed CSP1.0 then I try to compile csp_server_client.c in examples, I use this command to compile :  gcc csp_server_client.c -lcsp -o csp
Then I got this :

How to solve this problems ?

Do you really need to use libcsp v1? Or do you just need CSP protocol version 1? If latter, please use the libcsp v2 or develop branch. Libcsp v1.0 is very old and not supported any more.

Do you really need to use libcsp v1? Or do you just need CSP protocol version 1? If latter, please use the libcsp v2 or develop branch. Libcsp v1.0 is very old and not supported any more.
There is a PR to activate protocol version 1 in the test. #709
This PR is good but it's just waiting for other bug to be fixed.
Hope this helps.

Do you really need to use libcsp v1? Or do you just need CSP protocol version 1? If latter, please use the libcsp v2 or develop branch. Libcsp v1.0 is very old and not supported any more.
There is a PR to activate protocol version 1 in the test. #709
This PR is good but it's just waiting for other bug to be fixed.
Hope this helps.

Yes I need to use libcsp v1 because my team are developing module for Cubesat then that Cubesat use libcsp v1 for communication protocol but Actually we will use CSP over CAN.
I just want to try to use CSP over UART if I can't fix this problem , I will use CSP over CAN.
Thanks for your reply

There are two things we version.

libcsp -- the library
CSP protocol -- the protocol

If you say I need to use libcsp v1, this means:
❯ git checkout v1.0

But I doubt it because you also says Cubesat use libcsp v1 for communication protocol.  The communication depends on the protocol version, not the library version.  As I said libcsp v2, the library, supports both protocol version 2 and 1.

How can I know protocol version and library version. I clone your libcsp from libcsp-1 branch what is protocol version and library version from this branch ?

if you checkout libcsp-1, do:
❯ git describe
v1.6-13-g7fba4018

This means you are using v1.6 with 13 more commits on top of it.  See https://git-scm.com/docs/git-describe
To set protocol version, read #709.

If I want to use CSP protocol 1 ,Which libcsp version I have to use ?
I am sorry If you have already answered my question but I don't understand.

If I want to use CSP protocol 1 ,Which libcsp version I have to use ?

You can use any libcsp version including develop branch.

How I know what protocol version that I use

You must know what protocol version you want to use.

Do I have to config it or not ?

Yes. Set csp_conf.version to 1.

int main()
{
    csp_conf.version = 1;
    csp_init();
        :
}

Thanks I got it.

Can I ask you more question
Now I am coding Sender and Receiver communication by CAN
If I want to protocol version 1 just add : csp_conf.version = 1;  before csp_init();  right ? or  I have to add csp_conf in some function ?
then csp_conf.version = 1;  I have to add it on sender or receiver or both

Can I ask you any question
Now I use CSP over CAN
Sender.c and Receiver.c
But When I set csp_conf.version = 1; both of Sender and Reciever
Reciever can't accept a connection
but when I change csp_conf.version = 2; both of Sender and Reciever
Reciever can accept a connection
I don't know what happen
this is my code my code
My code on Github I haven't add csp_conf.version but the code that I run ,I have already add csp_conf.version

See #708, #695, and #531

@poomravint The issue should have been fixed. Please try again and let us know how it goes.

Sorry for late reply I just try to fix it.
Now I can use CAN with CSP Protocol 1.0
I deleted union from csp_packet_t and It's work.

I just clone libcsp new version then I don't find my problems. Thanks


VSCode has call hierarchy which is similar to what this project does

https://code.visualstudio.com/updates/v1_33#_call-hierarchy
This is not an issue, just an FYI for others who get to this project.

hi,
Could you please tell me where the call hierarchy feature of vscode output the call graph  ( not just a hierarchy ) ?
Thanks

@kasra0 -- I'm unsure if that's a feature that exists in VS Code 🤔 -- I just don't know.
But I wanted to comment to prevent misunderstanding 😅 👍
My best guess is that VS Code does not output a call graph -- but just the hierarchy as seen in the screenshot.