N48: July 2023

Newsletter 48: July 2023
tags: newsletter
Editors: @ozkriff, @AngelOnFira, @scirin
Another month has gone by, so it's time to put together the Rust Gamedev newsletter with July's news!
Current Schedule
The deadline for all section PRs is 2023.08.23. (though this year we statistically release significantly later, sad)
We may still accept PRs that are submitted later than this, as long as they're ready before the newsletter's release, but this isn't guaranteed. If you want your section to be included, don't leave it till the last minute!
How to Contribute
If you want to help writing the newsletter:

Read CONTRIBUTING.md.
Choose one or more of the "🆓 free" sections listed below, and leave a comment letting us know you want to work on them.

The links in brackets (like "1, 2, 3") are suggestions of links to include in the section. Feel free to add more!
The username listed next to the section (like "@ozkriff?") is a suggestion of who may want to pick up the work (usually the project's developer, or someone who has expressed interest in the past).
You are not obligated to write a section if you're tagged or your project is listed! You're welcome to ask someone else to write the section, or to ask for your project to be excluded from this month's post.
Extra sections not listed in the plan are welcomed - just leave a comment and open a PR!

Write a short overview in the newsletter's Markdown file, making sure to follow the style guidelines (see below).
Send a PR to the source branch (example: #336).
Mention this issue in your PR's description to link it all together.

Style Guidelines
The full style guide is in CONTRIBUTING.md, but here are the most important rules:

Write in third-person perspective.
Each line must be 80 characters or less, for ease of reviewing/diffing.
Only one image per section is allowed.

The maximum size is 300kb for static images and 2.5mb for GIFs.
The image should come before the text, and must have alt text for accessibility.
Prefer static images to GIFs, to keep the page load times down.

Each section should be under 1000 characters, and under 6 paragraphs.

This only applies to the rendered text, not the markup.

Keep formatting minimal - no bold/italics/etc.
Avoid long/nested bullet point lists - no changelogs!

Please use these templates as a starting point:
Games/apps/libraries:
### [Game name]

![alt text](img)
_optional image label_

[Game name] ([GitHub], [Discord], [Twitter]) by [@nickname]
is... {short project description in one sentence}.

{An overview of the recent updates with links to more details}.

_Discussions: [/r/rust_gamedev](link), [Twitter](link), [etc](link)_

[Game name]: http://example.com

Articles/blog posts/videos/etc:
### [Article name]

![alt text](img)
_optional image label_

[@nickname] published an [article] about...
{overview what the resource is about}.

_Discussions: [/r/rust_gamedev](link), [Twiter](link), [etc](link)_

[Article name]: http://example.com

Current Structure & Status
Below is our current planned structure for the newsletter, and the status of each PR (which we'll try to keep updated).
This is not an exhaustive list - if you have your own project that you want to write about, just make a comment on this issue and open a PR!

Announcements

[ ] Rust GameDev Meetup - 🚧 WIP by @AngelOnFira

Game Updates

[ ] Veloren - 🚧 WIP by @AngelOnFira
[ ] Idu (1, 2, 3) - 🆓 free (@johann2?)
[ ] MiS80 (1, 2, 3) - 🆓 free (@LPGhatguy?)
[ ] Syn9Dev's JRPG (1, 2) - 🆓 free (@Syn-Nine?)
[ ] Colony (1) - 🆓 free (@ryankopf?)
[ ] HackeRPG (1, 2, 3) - 🆓 free
[ ] Tiny Glade (1, 2) - 🆓 free (@anopara @h3r2tic?)
[ ] xyzw's colony sim (1, 2, 3) - 🆓 free (@zaycev?)
[ ] Cargo Space (1) - 🆓 free (@johanhelsing?)
[ ] PatchGames' city builder (1, 2) - 🆓 free
[ ] snaked (1) - 🆓 free (@kuviman?)
[ ] rust shooter (1) - 🆓 free (@dobkeratops?)
[ ] Flesh (1, 2) - 🆓 free (@Im-Oab?)
[ ] maginet (1, 2) - 🆓 free (@evrimoztamur?)
[ ] Robo Instructus 4y (1) - 🆓 free
[ ] mochia.net (1) - 🆓 free
[ ] Sulis (1, 2) - 🆓 free
[ ] tiny-snake.rs (1) - - 🆓 free (@Rodrigodd?)
[ ] 8bit Duels (1) - 🆓 free (@thousandthstar?)
[ ] RecWars (1) - 🆓 free
[ ] Space Kitty (1) - 🆓 free (@ghashy?)
[ ] Cyber Gate 7.5 (1, 2, 3) - free (@cybersoulK?)
[ ] Digital Extinction (1) - 🆓 free (@Indy2222?)
[ ] Ant Colony Sim (1, 2) - 🆓 free (@bones-ai?)

Learning Material Updates

[ ] Gentle intro to GPUs for backend devs pt1 (1) - 🆓 free (@zaycev?)
[ ] Bevy's Android dev notes + iOS GH (1, 2, 3) - 🆓 free (@NiklasEi?)
[ ] Blender to Bevy workflow (1) - 🆓 free
[ ] PhaestusFox’s Bevy videos (1) - 🆓 free (@PhaestusFox?)

Engine Updates

[ ] Bevy (1, 2, 3) - 🆓 free (@cart?)
[ ] godot-rs (1, 2) - 🆓 free (@Bromeon?)
[ ] Fyrox (1) - 🚧 WIP by @ozkriff
[ ] ggez (1) - 🆓 free (@Vixeliz?)

Tooling Updates

[ ] Graphite - 🆓 free (@Keavon?)
[ ] glTF IBL Sampler UI (1, 2) - 🆓 free (@pcwalton?)
[ ] ruffle (1, 2) - 🆓 free
[ ] Rerun (1, 2) - 🆓 free (@Wumpf?)

Library Updates

[ ] bevy_xpbd (1, 2, 3, 4) - 🆓 free (@Jondolf?)
[ ] Sparsey (1) - 🆓 free (@LechintanTudor?)
[ ] Iced (1) - 🆓 free (@hecrj?)
[ ] bevy_vello (1) - 🆓 free
[ ] cuicui_layout (1) - 🆓 free
[ ] renet (1) - 🆓 free (@lucaspoffo?)
[ ] hanabi (1) - 🆓 free (@djeedai?)
[ ] hexx (1, 2) - 🆓 free (@ManevilleF?)

Other News

[ ] Bullet points of any interesting news that doesn't have its own section - by @ozkriff

Discussions

[ ] "Data Oriented architectures other than ECS?" (1)

Jobs
Publishing Steps

[ ] Final review - by everyone
[ ] Publish - by @ozkriff
[ ] Post on /r/rust, /r/rust_gamedev, /r/gamedev, URLO, twitter.com/rust_gamedev - by @ozkriff
[ ] Pin thread on Twitter - by @ozkriff
[ ] Add comment links - by @ozkriff
[ ] Add a draft of next month's newsletter - by @ozkriff

Sorry for starting the July newsletter especially late this time, there were some unfortunate family circumstances. Since the issue is so behind schedule, I've set the contributions deadline to a couple of days - I hope to publish the N48 issue by the end of the week and start N49 for August next week.

Thank you, @ozkriff 💞 We're gonna skip July, but we'll have some Tiny Glade stuff to show in the August newsletter!

I can write a section for bevy_xpbd tomorrow if I have time. Thanks for including it in the list :)

Hello! I see that my project tiny-snake.rs is included here.
I can gladly write the description for my own project, but that project is more like a demo for a very low level Rust programming (executing syscall's with inline assembly and such) than a actual game. Are you sure it fits in this Newsletter?

I'll skip this month. If things go smooth, we will have a bigger update next month.

I'll throw something together for my JRPG. Thanks for the tag!
On Tue, Aug 22, 2023, 4:08 AM Martin Indra @.***> wrote:

I'll skip this month. If things go smooth, we will have a bigger update
next month.
—
Reply to this email directly, view it on GitHub
https://github.com/rust-gamedev/rust-gamedev.github.io/issues/1420#issuecomment-1687687170,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOXEJXDAR6PRVBAPXOO7IMLXWRSGBANCNFSM6AAAAAA3YRA7DQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

leaving a message for notifications

@Rodrigodd while tiny-snake isn't a mainstream gamedev thing, I think it still fits here, yeah :)

Looks like I won't have time to put something together before the deadline
tomorrow. I'll try again next month. Thanks for asking though! -Syn9Dev
On Mon, Aug 21, 2023 at 11:05 AM Andréy Lesnikóv @.***>
wrote:

Newsletter 48: July 2023 tags: newsletter
Editors: @ozkriff https://github.com/ozkriff, @AngelOnFira
https://github.com/AngelOnFira, @scirin https://github.com/scirin
Another month has gone by, so it's time to put together the Rust Gamedev
newsletter with July's news!
Current Schedule
The deadline for all section PRs is 2023.08.23. (though this year we
statistically release significantly later, sad)
We may still accept PRs that are submitted later than this, as long as
they're ready before the newsletter's release, but this isn't guaranteed.
If you want your section to be included, don't leave it till the last
minute!
How to Contribute
If you want to help writing the newsletter:

Read CONTRIBUTING.md
https://github.com/rust-gamedev/rust-gamedev.github.io/blob/source/CONTRIBUTING.md.
Choose one or more of the "🆓 free" sections listed below, and
leave a comment letting us know you want to work on them.

The links in brackets (like "1 <#m_-8757142337512671891_>, 2
<#m_-8757142337512671891_>, 3 <#m_-8757142337512671891_>") are
suggestions of links to include in the section. Feel free to add more!
The username listed next to the section (like @.***
https://github.com/ozkriff?") is a suggestion of who may want to
pick up the work (usually the project's developer, or someone who has
expressed interest in the past).
You are not obligated to write a section if you're tagged or your
project is listed! You're welcome to ask someone else to write the section,
or to ask for your project to be excluded from this month's post.
Extra sections not listed in the plan are welcomed - just leave a
comment and open a PR!

Write a short overview in the newsletter's Markdown file, making
sure to follow the style guidelines (see below).
Send a PR to the source branch (example: #336
https://github.com/rust-gamedev/rust-gamedev.github.io/pull/336).
Mention this issue in your PR's description to link it all together.

Style Guidelines
The full style guide is in CONTRIBUTING.md
https://github.com/rust-gamedev/rust-gamedev.github.io/blob/source/CONTRIBUTING.md,
but here are the most important rules:

Write in third-person perspective.
Each line must be 80 characters or less, for ease of
reviewing/diffing.
Only one image per section is allowed.

The maximum size is 300kb for static images and 2.5mb for GIFs.
The image should come before the text, and must have alt text for
accessibility.
Prefer static images to GIFs, to keep the page load times down.

Each section should be under 1000 characters, and under 6
paragraphs.

This only applies to the rendered text, not the markup.

Keep formatting minimal - no bold/italics/etc.
Avoid long/nested bullet point lists - no changelogs!

Please use these templates as a starting point:
Games/apps/libraries:
[Game name]
optional image label
[Game name] ([GitHub], [Discord], [Twitter]) by @.***
is... {short project description in one sentence}.
{An overview of the recent updates with links to more details}.
Discussions: /r/rust_gamedev, Twitter, etc
[Game name]: http://example.com
Articles/blog posts/videos/etc:
[Article name]
optional image label
@.*** published an [article] about...
{overview what the resource is about}.
Discussions: /r/rust_gamedev, Twiter, etc
[Article name]: http://example.com
Current Structure & Status
Below is our current planned structure for the newsletter, and the status
of each PR (which we'll try to keep updated).
This is not an exhaustive list - if you have your own project that you
want to write about, just make a comment on this issue and open a PR!
Announcements

Rust GameDev Meetup - 🚧 WIP by @AngelOnFira
https://github.com/AngelOnFira

Game Updates

Veloren - 🚧 WIP by @AngelOnFira https://github.com/AngelOnFira
Idu (1 @.***/110776871627833108>, 2
https://epcc.itch.io/idu/devlog/565550/demo-version-11-vines-swimming-and-magic,

🆓 free @.*** https://github.com/johann2?)

MiS80 (1 @./110664424682458232>, 2
https://twitter.com/LPGhatguy/status/1681394664681635844, 3
https://twitter.com/LPGhatguy/status/1681753363795279873) - 🆓 free
@. https://github.com/LPGhatguy?)
Syn9Dev's JRPG (1
https://twitter.com/Syn9Dev/status/1676082920182755332, 2
https://twitter.com/Syn9Dev/status/1676969827980935172) - 🆓 free (
@Syn-Nine https://github.com/Syn-Nine?)
Colony (1
https://reddit.com/r/rust/comments/14p1fiw/opensourcing_my_rust_game_a_colony_simulator_game)
🆓 free @.*** https://github.com/ryankopf?)
HackeRPG (1 https://fellow-pablo.itch.io/hackerpg, 2
https://fellow-pablo.itch.io/hackerpg/devlog, 3
https://reddit.com/r/hackerpg/comments/1580run/game_for_coders_hackerpg_devlog_1)
🆓 free
Tiny Glade (1
https://twitter.com/h3r2tic/status/1677385971061620738, 2
https://twitter.com/anastasiaopara/status/1682762738710241281) - 🆓
free @.*** https://github.com/anopara @h3r2tic
https://github.com/h3r2tic?)
xyzw's colony sim (1
https://reddit.com/r/rust_gamedev/comments/14t8xgw/working_on_a_colonysim,
2 https://twitter.com/xyzw_io/status/1677340923292786689, 3
https://twitter.com/xyzw_io/status/1610083721666875394) - 🆓 free (
@zaycev https://github.com/zaycev?)
Cargo Space (1
@./110682668951960151>) - 🆓 free
@. https://github.com/johanhelsing?)
PatchGames' city builder (1
https://twitter.com/PatchGamesStdio/status/1677369018225680397, 2
@.***/videos>) - 🆓 free
snaked (1 https://twitter.com/kuviman/status/1678085582461841412)
🆓 free @.*** https://github.com/kuviman?)
rust shooter (1
https://reddit.com/r/rust_gamedev/comments/14wsnhx/rust_shooter_update_lighting_tweaks_and_vehicle)
🆓 free @.*** https://github.com/dobkeratops?)
Flesh (1 https://twitter.com/Im_Oab/status/1680027059509407745, 2
https://reddit.com/r/rust_gamedev/comments/15g1aw1/flesh_on_steam) -
🆓 free @.*** https://github.com/Im-Oab?)
maginet (1 https://twitter.com/evrimzone/status/1681623714683662336,
2 https://twitter.com/evrimzone/status/1681302065069559812) - 🆓
free @.*** https://github.com/evrimoztamur?)
Robo Instructus 4y (1
https://twitter.com/bigabgames/status/1680521753653661697) - 🆓
free
mochia.net (1
https://reddit.com/r/rust/comments/15c0j97/a_virtual_pet_site) - 🆓
free
Sulis (1
https://reddit.com/r/rust_gamedev/comments/15754yt/sulis_v100_released_turn_based_tactical_rpg,
2 https://github.com/Grokmoo/sulis/releases) - 🆓 free
tiny-snake.rs (1
https://reddit.com/r/rust/comments/15d89s5/tinysnakers) - - 🆓 free
@.*** https://github.com/Rodrigodd?)
8bit Duels (1 https://thousandthstar.github.io/posts/8bd/8bd-part7)
🆓 free @.*** https://github.com/ThousandthStar?)
RecWars (1
https://reddit.com/r/rust_gamedev/comments/1548teg/resumed_development_on_recwars)
🆓 free
Space Kitty (1
https://reddit.com/r/rust_gamedev/comments/14vormz/small_opensource_game_written_in_rust)
🆓 free @.*** https://github.com/ghashy?)
Cyber Gate 7.5 (1
https://discord.com/channels/676678179678715904/1023711201886212167/1129721723147784222,
2 https://youtube.com/watch?v=snCBjrPUM5U, 3
https://www.youtube.com/watch?v=dX21NfBmuV0) - free @.***
https://github.com/cybersoulK?)
Digital Extinction (1 https://mgn.cz/blog/de10) - 🆓 free (
@Indy2222 https://github.com/Indy2222?)
Ant Colony Sim (1 https://youtube.com/watch?v=98pUSZAM_7M, 2
https://github.com/bones-ai/rust-ants-colony-simulation) - 🆓 free
@.*** https://github.com/bones-ai?)

Learning Material Updates

Gentle intro to GPUs for backend devs pt1 (1
https://www.xyzw.io/posts/backend-gpu-p1) - 🆓 free @.***
https://github.com/zaycev?)
Bevy's Android dev notes + iOS GH (1
@._me/110679395102169525>, 2
https://nikl.me/blog/2023/notes_on_android_development_using_bevy, 3
https://nikl.me/blog/2023/github_workflow_to_publish_ios_app) - 🆓
free @. https://github.com/NiklasEi?)
Blender to Bevy workflow (1
https://itch.io/blog/564971/blender-to-bevy-workflow-physics-props)
🆓 free
PhaestusFox’s Bevy videos (1
@./videos>) - 🆓 free @.
https://github.com/PhaestusFox?)

Engine Updates

Bevy (1 https://bevyengine.org/news/bevy-0-11, 2
@.***/110685755721601977>, 3) - 🆓 free (
@cart https://github.com/cart?)
godot-rs (1
https://twitter.com/GodotRust/status/1677068270644363264, 2
@./110669301088668526>) - 🆓
free @. https://github.com/Bromeon?)
Fyrox (1 https://reddit.com/r/rust/comments/156pq0g/fyrox_0_31) -
🚧 WIP by @ozkriff https://github.com/ozkriff
ggez (1
https://reddit.com/r/rust_gamedev/comments/14v6x3z/ggez_news_090_released_and_more)
🆓 free @.*** https://github.com/Vixeliz?)

Tooling Updates

Graphite - 🆓 free @.*** https://github.com/Keavon?)
glTF IBL Sampler UI (1
https://github.com/pcwalton/gltf-ibl-sampler-egui, 2
https://twitter.com/pcwalton/status/1676655721818259456) - 🆓 free
@.*** https://github.com/pcwalton?)
ruffle (1
@.***/110697893762381822>, 2
https://reddit.com/r/rust/comments/14zvk2l/internet_archive_expands_flash_support_using)
🆓 free
Rerun (1
https://reddit.com/r/rust/comments/15bdk3a/introducing_rerun_0_8, 2
https://twitter.com/rerundotio/status/1684668023959924736) - 🆓
free @.*** https://github.com/Wumpf?)

Library Updates

bevy_xpbd (1 https://github.com/Jondolf/bevy_xpbd, 2
https://taintedcoders.com/bevy/xpbd/, 3
https://reddit.com/r/rust_gamedev/comments/14q9j9n/bevy_xpbd_a_physics_engine_for_the_bevy_game/,
4 https://reddit.com/r/rust_gamedev/comments/14zr5i5/bevy_xpbd_02) -
🆓 free @.*** https://github.com/Jondolf?)
Sparsey (1
https://reddit.com/r/rust_gamedev/comments/151aov9/sparsey_011) - 🆓
free @.*** https://github.com/LechintanTudor?)
Iced (1 https://reddit.com/r/rust/comments/15e82lr/iced_0_10) - 🆓
free @.*** https://github.com/hecrj?)
bevy_vello (1 https://github.com/vectorgameexperts/bevy_vello) -
🆓 free
cuicui_layout (1 https://github.com/nicopap/cuicui_layout) - 🆓
free
renet (1 https://github.com/lucaspoffo/renet/releases/tag/0.0.13)
🆓 free @.*** https://github.com/lucaspoffo?)
hanabi (1
https://github.com/djeedai/bevy_hanabi/blob/v0.7.0/CHANGELOG.md) -
🆓 free @.*** https://github.com/djeedai?)
hexx (1 https://github.com/ManevilleF/hexx/releases/tag/0.8.0, 2
https://github.com/ManevilleF/hexx/releases/tag/0.9.0) - 🆓 free (
@ManevilleF https://github.com/ManevilleF?)

Other News

Bullet points of any interesting news that doesn't have its own
section - by @ozkriff https://github.com/ozkriff

Discussions

"Data Oriented architectures other than ECS?" (1
https://reddit.com/r/rust_gamedev/comments/159zfye/data_oriented_architectures_other_than_ecs
)

Jobs Publishing Steps

Final review - by everyone
Publish - by @ozkriff https://github.com/ozkriff
Post on /r/rust, /r/rust_gamedev, /r/gamedev, URLO,
twitter.com/rust_gamedev - by @ozkriff https://github.com/ozkriff
Pin thread on Twitter - by @ozkriff https://github.com/ozkriff
Add comment links - by @ozkriff https://github.com/ozkriff
Add a draft of next month's newsletter - by @ozkriff
https://github.com/ozkriff

—
Reply to this email directly, view it on GitHub
https://github.com/rust-gamedev/rust-gamedev.github.io/issues/1420, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOXEJXDEJWQD63NZ2RJ4ULTXWN2MXANCNFSM6AAAAAA3YRA7DQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just made a PR for Ant colony simulation, Thanks for the ping :)

@ozkriff  Let's close this task?


Labels

I think this is actually not a good idea now, but I'll keep this PR open for reference later.

@pmarino90 @Lapixx  I'm merging this. With this we support  forward and backward references, both absolute and relative.


project show page should show project name at top, every time

could this be a bug in slack?

datapoint: in the logs, we see the fallback text in the right order, even when these are wrong in the slack UI

This was due to running an old version of Node (4.x). Upgraded and fixed!

Seen again at 9:19am PT Dec 18th


It doesn't indent properly when rendering nested  or

It's a good tool to render HTML as attributedString.
But I found a issue when rendering list.
When I writing

item1

item2

It doesn't indent properly.
Any idea on this?

When I was implementing list items, I found that NSAttributedString couldn't perfectly match list items as in HTML UL LI.
As a result, I'm using whitespace for indentation because I've hardcoded the implementation, without considering nested cases.
I'll continue my research, and if you have any implementation references, please provide them.
Thank you.

Thanks for your reply. NSParagraphStyle has property called headIndent and firstLineHeadIndent. Can we do some change on that?

Thanks for your reply. NSParagraphStyle has property called headIndent and firstLineHeadIndent. Can we do something on that? Actually, it shows a wrong head intent when encountering line break in LI.

I previously studied headIndent and firstLineHeadIndent (ref: https://www.objc.io/issues/9-strings/string-rendering/), but the results were not as expected. It is not as easy as HTML UL/LI to format the text. I remember having to calculate pixels to control the layout, which makes the scenario very complex, especially considering that the spacing between different languages may vary. In the end, I did not implement it.
If you have any demo code, I would appreciate it if you could provide it. I would be happy to study it again. Thank you.

In the latest version 1.8.0, the issues have been addressed. Thank you for your patience.


ipywidget handler

Self Q&A:

Are any comms opened or messaged on ipywidgets import?
No.

What happens during simple case: w = widgets.Checkbox(); w?
execute_request sent to Kernel
status (busy), execute_input, 3x comm_open, execute_result, status (idle).
The three comms are LayoutView, CheckboxStyleModel, and CheckboxModel. Each has state in the comm_open data payload. The execute_result has two mimetypes: text/plain showing Checkbox(value=False) and  application/vnd.jupyter.widget-view+json showing model_id (same as comm_id for the CheckboxModel comm).

What about display(w)?

display_data with same mimetype data as in the execute_result.

What about w.value = True

Cells with w displayed (via execute request or display()) show checked. On zmq, status -> execute_input -> comm_msg -> status. The comm_msg has data payload {'method': 'update', 'state': {'value': True}}

What about clicking the checkbox in the UI?

Both cells get unchecked. Frontend sent a comm_msg with data pyaload {'method': 'update', 'state': {'value': false}}, Kernel sent back over ZMQ  {'method': 'echo_update', 'state': {'value': False}}

What about an Output widget?  What if we say out = widgets.Output(); with out: print('foo')

Yes, it's nightmare fuel.
First, innocuous note that Output widgets have two comms instead of three: LayoutModel and OutputModel, no Style.
Alright so the execute starts as normal, execute_request goes out and we get status -> execute_input -> stream -> execute_reply -> status. Well, almost. it's status -> execute_input -> comm_msg -> stream -> (FE emits comm_msg) -> comm_msg -> execute_reply -> status -> status / comm_msg / status (for echoing FE emitted comm).
When we enter the context block, ipywidgets emits a comm_msg on the OutputModel comm with state: {'msg_id': <execute request msg id>}. At that point on the frontend, any display data such as stream, display_data, clear_output is captured and not rendered in the executing cell. It's applied to a virtual cell, and frontend sends over a comm_msg to update the OutputModel comm state with an outputs list.

What does this mean for kernel-sidecar?

Handlers will have to know about each other, or some special affordance needs to happen for Output comm's.

Implemented in https://github.com/kafonek/kernel-sidecar/pull/7 / https://github.com/kafonek/kernel-sidecar/pull/8, released in 0.4.0


feat: update docs

Исправление документации

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 82.455%

Totals

Change from base Build<PHONE_NUMBER>4:
0.005%

Covered Lines:
10579

Relevant Lines:
11725

💛  - Coveralls


change ccdl -> scpca for filtering and update template

A bit of a twofer here.
One part is updating the references to ccdl_filter to scpca, which is a bit more specific, and avoids some branding issues. (see https://github.com/AlexsLemonade/scpca-docs/pull/100/files/b23fbc57a2622d1b9a288b89b73602ee04d7c6eb..8b4bf0723a38e6d527e4485136bf55f557d72ed3#r1024292671)
The other is a small change to talk about cacheDir for singularity, which is a thing that has come up with updates to allow pre-pulling images (I should have fixed this in the last PR but missed it)

Just realized I think we also should update the metadata slot to be scpca_filter_method rather than ccdl_filter_method.

Just realized I think we also should update the metadata slot to be scpca_filter_method rather than ccdl_filter_method.

I thought I did that here?

Oh, it also needs to change in scpcaTools? Filed https://github.com/AlexsLemonade/scpcaTools/pull/145 for that just now


Setting up git/github safely with .ignore files

A key risk associated with using git/github for healthcare settings, involving working with identifiable or potentially identifiable patient level data, would be in not thinking carefully enough about project/repo structures and which locations to .gitignore within a project/repo. For example, if someone filters on a half dozen records from a secure database it's important no commit contains these records, even though they may want to include the code which performs the filter.
This suggests it's important to have both a clear understanding about how to .gitignore locations, and a priori agreement about which folders inside a project should contain what kinds of data. Some discussion about data security roles within an active repo might be important to include too, so there's not any kind of 'incident' involving this kind of accidental release of data, which could set back progress on collaborative coding and version control quite quickly and quite fast.

Could we add github actions/pre-commit hooks to this?  Someone in my team recently demoed this feature in our analytics template that is great as it looks for things that look like secrets, large (presumably data) files etc, with very little overhead once set up.

Yes, sounds good. Would the person who demoed this be interested in contributing?


Feature request: web API included

I would like to ask if is it possible to include an RESTful API for the server administration?
Thank you.

U can try this https://github.com/mindcollapse/SoftEtherPy

I know about SoftEtherPy but it is also true that there's no clear REST API for this project and it would be good to have some clean API or Documentation

hi,https://github.com/mindcollapse/SoftEtherPy

Superseded by #562.


Bumps the Terraform CLI to v1.5.5 and consumes the Terraform CLI from https://github.com/upbound/terraform/releases.
I have:

[ ] Run make reviewable to ensure this PR is ready for review.

How has this code been tested
Via uptest

/test-examples="examples/azure/resourcegroup.yaml"

/test-examples="examples/azure/resourcegroup.yaml"

/test-examples="examples/azure/resourcegroup.yaml"

/test-examples="examples/azure/resourcegroup.yaml"

/test-examples="examples/azure/resourcegroup.yaml"


Rename sqlparser_derive to sqlparser_procmacro, document features

Follow on from https://github.com/sqlparser-rs/sqlparser-rs/pull/765
rename crate to sqlparser_procmacro to be more consistent with other crates in the rust ecosystem

I plan to merge this once CI passes as I then plan to add CI tests for the other crate features

cc @tustvold

_derive is more consistent with the ecosystem as whole for a derive macro?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.985%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
13007

Relevant Lines:
15127

💛  - Coveralls

@tustvold  notes prior art serde_derive, parquet_derive, etc -- will leave this alone


Quality loss on zoom

Hi on version 1.0.65 you can zoom to 0 pixel without losing any quality but now on latest version when you zoom is as if your zooming an image.
what could be the issue.

Sorry, but could you explain your issue in other words? I cannot understand what you're saying.

What device are you using?
One of possible cause of the pixelation is out of memory. Or some kind of slow image processing.
And, do you see any exception or errors shown in debug console?

I m using Samsung S21 ultra, memory and storage is not the issue because it's just a testing device so everything is at 10%.

But the issue is before it was doing well on version 1.0.65

I'm testing pdfrx on slow devices but they do not behave like that.
According to the CHANGELOG, there are several changes that affects the rendering behaviors:
1.0.59

Fixes concurrency issue on PdfDocument dispose (#143)

1.0.58

Any API calls that wraps pdfium are now completely synchronized. They are run in an app-wide single worker isolate

This is because pdfium does not support any kind of concurrency and even different PdfDocument instances could not be called concurrently

1.0.57

FIXED: possible double-dispose on race condition (#136)
Add mechanism to cancel partial real size rendering (#137)

So could you try these versions 1.0.57, 1.0.58, 1.0.59, one by one to determine which version breaks your app's consistency?

This is how it behaves now.
[](https://ibb.co/VYDCRBp)

So, every versions works same way?

I just downgraded back to 1.0.65, I m solving some errors, I will update about this but since version 1 to 1.0.65 was fine until 1.0.65

Thank you again for providing such a good plugin. I downgraded to version 1.0.65, and it exhibited the same behavior. I then recalled removing a specific line of code earlier. After restoring that line, the plugin worked as intended.
It appears that the removed line was crucial for achieving the desired results. The page updates correctly when zoomed in, ensuring that the pixels are regenerated and the image quality is maintained.
I have updated to 1.0.74 and works as I needed to work.
layoutPages: (pages, params) {

>>> this line of code
> # if(!mounted){
>                                     setState(() {
>                                       totalPages = pages.length;
>                                     });
>                                   }
>>>
                                  final height = pages.fold(
                                          0.0,
                                          (prev, page) =>
                                              max(prev, page.height)) +
                                      params.margin * 2;
                                  final pageLayouts = <Rect>[];
                                  double x = params.margin;
                                  for (var page in pages) {
                                    pageLayouts.add(
                                      Rect.fromLTWH(
                                        x,
                                        (height - page.height) /
                                            2, // center vertically
                                        page.width,
                                        page.height,
                                      ),
                                    );
                                    x += page.width + params.margin;
                                  }

                                  return rx.PdfPageLayout(
                                    pageLayouts: pageLayouts,
                                    documentSize: ui.Size(x, height),
                                  );
                                },

Thank you again for providing such a good plugin. I downgraded to version 1.0.65, and it exhibited the same behavior. I then recalled removing a specific line of code earlier. After restoring that line, the plugin worked as intended.
It appears that the removed line was crucial for achieving the desired results. The page updates correctly when zoomed in, ensuring that the pixels are regenerated and the image quality is maintained.
I have updated to 1.0.74 and works as I needed to work.
layoutPages: (pages, params) {

>>> this line of code
> # if(!mounted){
>                                     setState(() {
>                                       totalPages = pages.length;
>                                     });
>                                   }
>>>
                                  final height = pages.fold(
                                          0.0,
                                          (prev, page) =>
                                              max(prev, page.height)) +
                                      params.margin * 2;
                                  final pageLayouts = <Rect>[];
                                  double x = params.margin;
                                  for (var page in pages) {
                                    pageLayouts.add(
                                      Rect.fromLTWH(
                                        x,
                                        (height - page.height) /
                                            2, // center vertically
                                        page.width,
                                        page.height,
                                      ),
                                    );
                                    x += page.width + params.margin;
                                  }

                                  return rx.PdfPageLayout(
                                    pageLayouts: pageLayouts,
                                    documentSize: ui.Size(x, height),
                                  );
                                },

Ah, the behavior change is on 1.0.70
1.0.70 calls re-layout logic on every zoom ratio changes to deal with #131.
Anyway, layoutPages should not call setState inside it. It must not have any kind of side effect except calculating page layout.

Thanks but removing that the behavi

Ah, the behavior change is on 1.0.70
1.0.70 calls re-layout logic on every zoom ratio changes to deal with #131. Anyway, layoutPages should not call setState inside it. It must not have any kind of side effect except calculating page layout.

Thank you, I have rechecked the issue, seems your right
I m using this code to update total pages for them to be displayed on the counter, when removing it, the zooming is fine but adding it is the problem.
Future.delayed(Duration.zero, ()=>setState(() {
totalPages = pages.length;
}));

Please note that layoutPages may be called several times during the page layout calculation and widget building process. So don't do anything except page layout.
To update number of pages, you can use PdfViewerParams.onViewerReady or such.

Please note that layoutPages may be called several times during the page layout calculation and widget building process. So don't do anything except page layout.
To update number of pages, you can use PdfViewerParams.onViewerReady or such.

Thank you


[SPARK-20558][CORE] clear InheritableThreadLocal variables in SparkContext when stopping it

What changes were proposed in this pull request?
To better understand this problem, let's take a look at an example first:
object Main {
  def main(args: Array[String]): Unit = {
    var t = new Test
    new Thread(new Runnable {
      override def run() = {}
    }).start()
    println("first thread finished")

    t.a = null
    t = new Test
    new Thread(new Runnable {
      override def run() = {}
    }).start()
  }

}

class Test {
  var a = new InheritableThreadLocal[String] {
    override protected def childValue(parent: String): String = {
      println("parent value is: " + parent)
      parent
    }
  }
  a.set("hello")
}

The result is:
parent value is: hello
first thread finished
parent value is: hello
parent value is: hello

Once an InheritableThreadLocal has been set value, child threads will inherit its value as long as it has not been GCed, so setting the variable which holds the InheritableThreadLocal to null doesn't work as we expected.
In SparkContext, we have an InheritableThreadLocal for local properties, we should clear it when stopping SparkContext, or all the future child threads will still inherit it and copy the properties and waste memory.
This is the root cause of https://issues.apache.org/jira/browse/SPARK-20548 , which creates/stops SparkContext many times and finally have a lot of InheritableThreadLocal alive, and cause OOM when starting new threads in the internal thread pools.
How was this patch tested?
N/A

cc @JoshRosen @rxin @zsxwing

Test build #76384 has started for PR 17833 at commit 310ad75.

Test build #76384 has finished for PR 17833 at commit 310ad75.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76384/
Test PASSed.

LGTM

I think it only cleans localProperties in the current thread. localProperties overrides childValue and always clones a new Properties for child threads.
In addition, I think it doesn't fix the flaky REPL tests. Last time I checked the head dump, I observed most of memory usage comes from REPL and it's class loader referred by SparkContexts. And the GC roots of SparkContexts are JVM internal threads in this thread pool: http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/lang/UNIXProcess.java#220 It's a cache thread pool. I could not figure out a fix except adding Thread.sleep to wait for these threads being killed automatically. That's why we can only observe OOM in REPL tests.

By the way, this PR is good to me since it does reduce a little memory footprint. But we still cannot close https://issues.apache.org/jira/browse/SPARK-20548 though.

In a second thought, for https://issues.apache.org/jira/browse/SPARK-20548 , we can just combine some tests into one test to reduce the SparkContexts and REPLs.

I think it only cleans localProperties in the current thread. localProperties overrides childValue and always clones a new Properties for child threads.

Yea, that's true. If some child threads are already there and cloned the local properties, we can't clean them. But we can avoid future child threads to inherit this local properties, which can reduce the memory footprint a lot if users create new SparkContext and stop it, and repeat this many times.
Anyway, I'll merge this PR and see if it can fix the flaky test.

merging to master/2.2/2.1/2.0

Are we still investigating the root cause? If not, perhaps try re-enabling the test in 2.2 to see if it's failing?


Use the new Robotoff Questions auth mechanism

Closes https://github.com/openfoodfacts/openfoodfacts-androidapp/issues/3024.

@huzaifaiftikhar : https://docs.google.com/document/d/1IoDy0toQrrqtWHvDYp2rEVw84Yq1J0x2pt-0RGTm7h0/edit#heading=h.lbdrybrecxlg

@teolemon was still testing, don't know why the request is not authenticated.

My bad, shoud've set it as a draft.

ok, +1 point for the branching strategy 🤣 @VaiTon


Fluent interfaces do not work

https://jsmonk.github.io/hegel/try#MYGwhgzhAEBCkEtgGEwmAV3AFwPYCdoBvAKGnOgDc0MBTALmgDsMBbAI1sIF5oAGANwkyFYLiYRs+DMDz4AFNRB1ovPgEpiIihWwALBBAB0Slb1O0hOgL7bomfPlpNsANRq156xiw5ctOjpO2Bj4TND6hiYeVhS2OmAAJonyuAAOXGBMiT5snPiapIG6BsYW0ADUvOmZ2bHFwaHhkRD10La2JKCQMADKwAjO2AgAZkio6FhgctC0AB7Yzokw8BDjaJg4BAH24pLSsgSKHqr8hXYQGBkKFuqx8dBrTF475C3RyrSnALLTekZPeTvW5tRphCKle4kTpiCTYaCJU5MWgAd2g-UGLlG60mWwUACZ1CIjEkUgBGInkAEIZ6U6BGBxOFzuT5eARAA
if a method returns this - it is inferred as the class where a method was defined, and this will break chaining if used with child class.
typescript has special type this that is polymorphic and solves this issues
it would be great if hegel would correctly infer this for such cases

Oh, thank you. It's an important thing. We will fix it soon.
Thank you a lot for your contribution ^_^.


Patch

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Docs
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Checklist

[ ] This PR will resolve #___
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary
[ ] It can be built on all targets and pass CI/CD.

Other information

I am not sure what is this PR is supposed to do, please explain


[Bug Report] tooltip

Element UI version
2.12.0
OS/Browsers version
Safari browser
Vue version
2.6.10
Reproduction Link
https://jsfiddle.net/qn2kgazf/
Steps to reproduce
open your safari browser with this URL.
https://jsfiddle.net/qn2kgazf/
What is Expected?
only need to show one tooltip
What is actually happening?
there is two tips in safari.


[feature request]move scattered controllers into yurt-manager

What would you like to be added:
As we have discussed on the community meeting, in order to improve the management of all repos in OpenYurt, and reduce the complexity of deploying OpenYurt. we will create a new component named yurt-manager for managing all controllers and webhooks. so we will move controllers in raven-controller-manager, yurt-app-manager, yurt-controller-manager, even yurt-edgex-manager into yurt-manager component.
After controllers and webhooks unify, only three components(yurt-manager, raven, yurthub) should be installed for OpenYurt(IoT components(yurt-device-controller) will be managed by yurt-iot-manager controlelr).
so following controllers will be moved into yurt-manager:

no.
component
controller/webhook
owner

1
yurt-controller-manager
csr approver
@rambohe-ch

2
yurt-controller-manager
daemon pod updater
@xavier-hou

3
yurt-controller-manager
pool-coordinator cert manager
@luc99hen

4
yurt-controller-manager
pool-coordinator delegate lease
@gnunu

5
yurt-controller-manager
pool-coordinator pod binding
@LindaYu17

6
yurt-controller-manager
service topology
@YTGhost

7
yurt-app-manager
nodepool(include webhook)
@kadisi

8
yurt-app-manager
united deployment(include webhook)
NA

9
yurt-app-manager
yurtappset(include webhook)
@huiwq1990

10
yurt-app-manager
yurtappdaemon(include webhook)
@theonefx

11
yurt-app-manager
yurtingress(include webhook)
NA

12
yurt-app-manager
static pod updater
@xavier-hou

13
raven-controller-manager
gateway controller
@DrmagicE

14
raven-controller-manager
dns controller
@River-sh

15
raven-controller-manager
service controller
@River-sh

if anyone have interest to migrate above controllers into yurt-manager, please reply in this issue and let me know which controller you will take over.
Why is this needed:

improve the management of all repos in OpenYurt, reduce the number of repos in OpenYurt community.
reduce the complexity of installation OpenYurt

Plan:
Now, OpenYurt v1.2 has been released, and we will complete these works in OpenYurt v1.3. After yurt-manager component completed, original components(like yurt-controller-manager, yurt-app-manager, raven-controller-manager) will be removed.
others
/kind feature

@JcJinChen @kadisi

we should make sure that k8s.io/kubernetes package will not be imported into Yurt-Controller-Manager when migrating controllers.

/assign @kadisi
I will design a new framework for controller and webhook based on the Controller-Runtime package, put it in the cmd directory, and then all the controller logic will be put in this framework。 cc @rambohe-ch

@rambohe-ch I wanna to take migration tasks about daemon pod updater and static pod updater.

I will  take migration tasks about dns controller and service controller (no. 14 and no. 15)

i will handle the csr approver controller migration(no. 1)

We can take 4 and 5:
4 | yurt-controller-manager | pool-coordinator delegate lease
5 | yurt-controller-manager | pool-coordinator pod binding

i will take yurtappset(include webhook)

i will handle the gateway controller migration(no. 13)

Maybe I can take the service topology(no. 6)

i will take yurtappdaemon (no. 10)

Information about the controller combination work of the OpenYurt IoT-sig

no.
component
controller/webhook
owner

16
yurt-iot-manager
yurtiotmanager(include webhook)

17
yurt-device-controller
device controller in edge side
@wawlian

I will handle the yurt-iot-manager(include webhook) migration(no. 16)


Freeze when typing some regex

Issue Type: Bug

Open a folder, open the Search panel, enable regex search
Type var(.*\n?)+, got some results
Type any char after the +, vscode freeze, got "The window is no longer responding" soon

VS Code version: Code 1.53.0 (8490d3dde47c57ba65ec40dd192d014fd2113496, 2021-02-03T20:36:38.611Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz (6 x 2904)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.93GB (5.86GB free)

Process Argv
--folder-uri file:///f%3A/Works/ygo233-dl --crash-reporter-id fa242f2f-7933-4ee6-9e43-fc268fb16acb

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30211402
vstry914:30250197
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt600cf:30251589

/duplicate of #30874
When you have opened tabs - global search will utilize JS based match on opened files. In your case its (.*\n?)+ that causes Catastrophic Backtracking which freezes main thread on files that are more than couple of short lines.
If there are no open tabs ripgrep will be used that doesn't have such problem.


Where do error messages go?

Hi all,
I'm using the following example:
https://github.com/rustls/tokio-rustls/blob/6f7373dad47df0b071c8f0f1a03376bed08331e7/examples/server.rs#L43
when the private key doesn't exist, how do you get that panic error message?
I'm using the example here https://github.com/SentryPeer/SentryPeer/blob/main/sentrypeer_rust/src/tls.rs#L180
and my  cargo test -- --nocapture never shows it or with RUST_BACKTRACE=1:
assertion failed: result.is_ok()
stack backtrace:
   0: rust_begin_unwind
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/std/src/panicking.rs:652:5
   1: core::panicking::panic_fmt
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/panicking.rs:72:14
   2: core::panicking::panic
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/panicking.rs:146:5
   3: sentrypeer_rust::tls::tests::test_listen
             at ./src/tls.rs:194:13
   4: sentrypeer_rust::tls::tests::test_listen::{{closure}}
             at ./src/tls.rs:180:21
   5: core::ops::function::FnOnce::call_once
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/ops/function.rs:250:5
   6: core::ops::function::FnOnce::call_once
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
test tls::tests::test_listen ... FAILED

this is probably my beginner mistake or misunderstanding or Tokio.
Any doc pointers you can share with me?
Thanks.

assert!(result.is_ok()); takes a Result and turns it into a bool by discarding all the error/success data it contained. How about just result.unwrap();?

Thanks. I didn't even think as basic as that. Much appreciated. Switching to result.unwrap(); instead of using an assert, I get:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

which is better...so definitely my beginner mistake.


Clean up the README

Updates the README to only reflect setting up as a dev. All docs are now in the system.
@champo you've just got set up, do you have any useful advice?

maybe something on how to fake a CI environment? danger local runs against a closed PR which isn't useful for testing things that need updating the PR as you test. I ended writing a small script that sets the env variables like it's travis.

This might make more sense as a feature? A way to let local run against PRs without relying on the merged PR aspect

ah, that makes a lot more of sense than writting it down! I've reported an issue on it https://github.com/danger/danger/issues/370. Also, it would be related to https://github.com/danger/danger/issues/368.


Return code is: 415 , ReasonPhrase:Unsupported Media Type

Fixed 'mvn deploy'.
Error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project hello-strongbox-maven: Failed to retrieve remote metadata org.carlspring.strongbox.examples:hello-strongbox-maven:1.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata org.carlspring.strongbox.examples:hello-strongbox-maven:1.0-SNAPSHOT/maven-metadata.xml from/to snapshots (http://localhost:8080/strongbox-webapp/storages/storage0/snapshots/): Failed to transfer file: http://localhost:8080/strongbox-webapp/storages/storage0/snapshots/org/carlspring/strongbox/examples/hello-strongbox-maven/1.0-SNAPSHOT/maven-metadata.xml. Return code is: 415 , ReasonPhrase:Unsupported Media Type. -> [Help 1]
The problem was that maven don't provide any ContentType with 'maven-metadata.xml' GET reuqest and Spring expects text/plain according to artifact download method.
It was found that Spring resolve empty ContentType as 'application/octet-stream' which was added to artifact download method.

Closing, as discussed.


Add the Tracking service

Oh nice !
Thanks @Tanariel ! I didn't expect any contribution on this repo :sweat_smile: !
I will take a deeper look and merge this tomorrow !


pgpool integration : passwordless SSH

Hi,
Would like to check if this part below is doable.
[all servers]# cd ~/.ssh
[all servers]# ssh-keygen -t rsa -f id_rsa_pgpool
[all servers]# ssh-copy-id -i id_rsa_pgpool.pub postgres@server1
[all servers]# ssh-copy-id -i id_rsa_pgpool.pub postgres@server2
[all servers]# ssh-copy-id -i id_rsa_pgpool.pub postgres@server3

[all servers]# su - postgres
[all servers]$ cd ~/.ssh
[all servers]$ ssh-keygen -t rsa -f id_rsa_pgpool
[all servers]$ ssh-copy-id -i id_rsa_pgpool.pub postgres@server1
[all servers]$ ssh-copy-id -i id_rsa_pgpool.pub postgres@server2
[all servers]$ ssh-copy-id -i id_rsa_pgpool.pub postgres@server3

I tried that and got the permission error.

So I'm wondering if this is possible or is there any other way of doing this inside the container?

Updated
from my pgpool server I'm trying to run a ssh-copy but got this error

pg-10 is where i'm running my container for postgres-12

The postgres images do not have an ssh server installed, nor would it run since there is no init in the container. Only the postgres server is running (after the entrypoint shell script finishes initial setup).

Thanks @yosifkit , but how about putting a script under docker-entrypoint-initdb.d ? after i install ssh server? like i extend the image itself? would that be a possible workaround?

Certainly you could start an ssh server in the background but it is definitely not a supported use of the initdb.d scripts. One large reason being that if you want to run multiple processes in a container, then you need to use something designed to be a supervisor in order to monitor/maintain those processes (supervisord, s6, etc).
Since there isn't a problem within the postgres image, I will close the issue. For further help, try the Docker Community Forums, the Docker Community Slack, or Stack Overflow.


I am getting an issue with this error

Hello Sir,
I am getting an issue with this error
A PHP Error was encountered
Severity: 8192
Message: __autoload() is deprecated, use spl_autoload_register() instead
Filename: PHPMailer/PHPMailerAutoload.php
Line Number: 45
Backtrace:
File: E:\XAMP\htdocs\Shop\application\libraries\SendMail.php
Line: 4
Function: _error_handler
File: E:\XAMP\htdocs\Shop\application\libraries\SendMail.php
Line: 4
Function: require
File: E:\XAMP\htdocs\Shop\application\third_party\MX\Loader.php
Line: 173
Function: _ci_load_library
File: E:\XAMP\htdocs\Shop\application\third_party\MX\Loader.php
Line: 190
Function: library
File: E:\XAMP\htdocs\Shop\application\third_party\MX\Loader.php
Line: 153
Function: libraries
File: E:\XAMP\htdocs\Shop\application\third_party\MX\Loader.php
Line: 65
Function: initialize
File: E:\XAMP\htdocs\Shop\application\third_party\MX\Base.php
Line: 55
Function: __construct
File: E:\XAMP\htdocs\Shop\application\third_party\MX\Base.php
Line: 60
Function: __construct
File: E:\XAMP\htdocs\Shop\application\third_party\MX\Controller.php
Line: 4
Function: require
File: E:\XAMP\htdocs\Shop\application\third_party\MX\Modules.php
Line: 123
Function: include_once
File: E:\XAMP\htdocs\Shop\application\core\MY_Controller.php
Line: 3
Function: spl_autoload_call
File: E:\XAMP\htdocs\Shop\index.php
Line: 292
Function: require_once

@senjoy11
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/86

@senjoy11
Or just get this fix :)  - https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/commit/14193ee12d225720c040ac681e50c97e9b924da8


Issues/#800 showing parts of load

This is basically a merge of PR #837  + @antw loads per tech + my experimental stacked view.
Things todo:

[ ] Incorporate loads per tech data in the stacked chart
[ ] Loads of testing
[ ] ... Fix what comes out of the above point

Some previews:

Switching between gas and electricity is working
You can switch from 'Total', 'Stacked' and 'Invdividual'
Strategies is something which needs to be tested (probably doesn't work yet) :sweat_smile:

Some more previews (strategies on/off):

:+1: Looking forward to try this out on some LESS's! :smiley:

Nice work @grdw!
I have some suggestions for improvement:

The legend can be structured better: the coloured square should be on the same line as the name of the technology it represents. Perhaps we can hide all technologies that have zero load to make the legend less cluttered?
The colours of technologies curves should not change with toggling between strategies 'on' and 'off' because that will confuse users.

The legend can be structured better: the coloured square should be on the same line as the name of the technology it represents. Perhaps we can hide all technologies that have zero load to make the legend less cluttered?

Ehm like this:
[ ] Test
[ ] Technology 1

Or spaced out like
[ ] Test         [ ] Technology 1
[ ] Technology 2 [ ] Test 2

The colours of technologies curves should not change with toggling between strategies 'on' and 'off' because that will confuse users.

Hmm.. agree. I did it to see if there actually changed anything. :smile:

Or spaced out like

I like this better because it will use the available space better.

Great work @grdw! My 2 cents: could you try to turn the colored square and the label around? Just like in etmodel:

And I think the hover over part with the numbers per series can be improved a bit. Now it kinda floats there: perhaps by giving it a (highly transparent?) backgroundcolor and a border?

I cleaned up the gitlog because it was a horrible mess. 700 merge conflicts later: tada! :dancers:

Exciting!

The charts look good. The triangular EV load here suggests I may still have some tweaking to do; I'll look into it and do some testing.
I'd like the weekly loads to be on beta for a few days before we merge this, so that people get a chance to test it and verify that everything is working as expected. That way when we do merge this one, if there are strange numbers, we know to blame my calculator changes and not the weekly calculation. :laughing:

I do spot some odd results in this overview..
Could be that it is actually correct but it seems highly unlikely.
This is the MV trafo (directly above the second chart):

This is the LV1 trafo (directly under the first chart):

What I see is that EV has taken up alot of load. Either this is correct or something doesn't really add up (also the shapes of the charts are different - total load and stacked load). Another thing I noticed is that my Solar PV y-values are returned as an array with zero's (that is before stacking them).

Great work @grdw! My 2 cents: could you try to turn the colored square and the label around? Just like in etmodel:

@dennisschoenmakers
The reason I aligned it to the right is purely estethic. When I align it to the left there's this white bar of nothing next to the chart which is really disturbing to the eye (see picture below). The reason that there's that much space at the left side of the chart is because of some LES's running their numbers into the 100.000's (like Lochem).

When I align it to the left there's this white bar of nothing next to the chart which is really disturbing to the eye (see picture below).

I don't find it that disturbing. Of course, it would be even nicer if we could left align the chart depending on the labels, but this is already good enough IMO.

I'm doing some sanity checking by comparing to production at the moment to see if the loads are somewhat the same.

Technology
Ok?

EV
See comment above

Solar Panel
See comment above

Buildings
All is fine

Households
All is fine

HP (Hot water air)
All is fine

HP (Hot water ground)
All is fine

HP (Space heating ground)
All is fine

HP (Space heating air)
All is fine

Power-to-Gas is something of a special case I guess. But there's something with negative loads which results in zero's..
Will be expanded

I'm fairly sure I know what causes the anomalous EV loads, and if so it will also be affecting the P2P battery. It's down to an implementation detail which allows those techs to release enemy into the network to be used by other technologies, but is reclaimed by the battery if is not used.
Unfortunately a solution eludes me at the moment. I'll keep thinking. :worried:


Add autocomplete for language codes to spoken and official language fields

Copy the autocomplete on localized names and labels to the two spoken and official language fields, too.

I added languages to the Tagify whitelist for the language inputs:

The name expansions continue to be hard to figure out, so I'm going to leave it as-is for now.

See also:

https://www.w3.org/International/articles/language-tags/
https://r12a.github.io/app-subtags/

WFM


Issue while sending response of proof request (Alice-Faber demo)

Hi,
(In Alice-Faber Demo)
I have modified the controller file in Aries python cloud agent demo with different attributes, till the issuance it works fine but while sending the response of proof request it fails at the proof holder agent with error as below -
#26 Send the proof to X
Farmer | 2019-08-21 12:14:06,857 aiohttp.server ERROR Error handling request
Farmer | Traceback (most recent call last):
Farmer | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 418, in start
Farmer | resp = await task
Farmer | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/web_app.py", line 458, in _handle
Farmer | resp = await handler(request)
Farmer | File "/home/indy/aries_cloudagent/messaging/presentations/routes.py", line 310, in presentation_exchange_send_credential_presentation
Farmer | presentation_exchange_record, body
Farmer | File "/home/indy/aries_cloudagent/messaging/presentations/manager.py", line 197, in create_presentation
Farmer | credential_definitions,
Farmer | File "/home/indy/aries_cloudagent/holder/indy.py", line 252, in create_presentation
Farmer | json.dumps({}), # We don't support revocation currently.
Farmer | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/indy/anoncreds.py", line 1412, in prover_create_proof
Farmer | prover_create_proof.cb)
Farmer | indy.error.CommonInvalidStructure

@rsbhardwaj - it looks like the error you are getting is from the Indy SDK, which suggests to me that the format of the data you are passing is incorrect.  Suggest comparing the flow and data between the proof done by Alice and the one you have done with Farmer.  If we can look at the fork you are using for this, we might be able to find the issue, but that's likely the area you should be looking.

Closing this issue. Let us know if you are still having an issue.


Adds extract metamacro for !!include

:point_up: May 13 2015 4:04
PM

sorry I pushed here the wrong one


"An unhandled error has occurred - reload" and app gone from Windows Store

Getting the above error on <IP_ADDRESS>. I thought I'd try updating, and the Windows Store (the app) says "The think you're looking for isn't here".

I am publishing a new version to the store now. In the meantime, can you try the nightly build?
https://presencelight.blob.core.windows.net/nightly/index.html

I just realized that the error has to do with the UI only - my lights are still changing colors according to my Teams status, despite the unhandled error.

Please provide the latest log file. You can download it from the Log area

Uhm... the UI is not loading :) Any other way to access the logs?

Logs are located here
C:\Users{username}\AppData\Local\PresenceLight

There's no PresenceLight folder in c:\users<myursername>\AppData\Local. I am running the Windows Store version (in case that matters).

sorry, try something like this
C:\Users{username}\AppData\Local\Packages\37828IsaacLevin.197278F15330A_zfcjmmeb3zeaa\LocalState\PresenceLight

Got it:
Every time I hit "Reload" in that error, I get a row like this in the log:
log-2022021516.zip
{"Timestamp":"2022-02-15T16:52:07.2598267-08:00","Level":"Information","MessageTemplate":"Error occured Loading Settings","Properties":{"SourceContext":"PresenceLight.Razor.Pages.Index","Application":"PresenceLight"}}

Well that is a bug for something else, should be disregarded. Can you provide your settings file?
C:\Users{username}}\AppData\Local\Packages\37828IsaacLevin.197278F15330A_zfcjmmeb3zeaa\LocalState\settings.json

@patrimal
Please try the latest nightly and tell me if you have any issues
https://presencelight.blob.core.windows.net/nightly/index.html

Here's my settings file (without all the clientIds and secrets):
settings.zip
I have already tried the nightly as you first suggested, and it works. Note that the nightly will "forget" all my settings, so that could be why it works. Can I copy the settings files somewhere so that nightly picks it up?

YMMV if you copy the settings but you can try. If you just copy LightSettings, you should be fine. If you delete the LocalState folder (backup settings first) after you uninstall the Store version, restart PC and install the Store version. If it works (without your settings), then the issue is related to your settings and you will have to either enter all the settings again via the App or copy them one by one (which may break the app).
If you can validate a completely clean version of the store, please let me know.

I'm out of town for a few days - will check next week. Thanks for the help!

From: Isaac Levin @.>
Sent: Thursday, February 17, 2022 8:48:27 AM
To: isaacrlevin/presencelight @.>
Cc: patrimal @.>; Mention @.>
Subject: Re: [isaacrlevin/presencelight] "An unhandled error has occurred - reload" and app gone from Windows Store (Issue #587)
YMMV if you copy the settings but you can try. If you just copy LightSettings, you should be fine. If you delete the LocalState folder (backup settings first) after you uninstall the Store version, restart PC and install the Store version. If it works (without your settings), then the issue is related to your settings and you will have to either enter all the settings again via the App or copy them one by one (which may break the app).
If you can validate a completely clean version of the store, please let me know.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fisaacrlevin%2Fpresencelight%2Fissues%2F587%23issuecomment-1043174384&data=04|01||ce0ec74390cc49a7bb1008d9f23557ed|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637807133213182334|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=cp%2BpuHjaSqon%2FV%2Fhv4cmISUtomOyyMISRDNByTL8Pw8%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACD6CDL6VQ64PNSNXUH45PTU3URFXANCNFSM5OM4LSXQ&data=04|01||ce0ec74390cc49a7bb1008d9f23557ed|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637807133213182334|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=n0RhSkxZoTks0phNNCWir1wqW0fY0AVw6nsKpUAql8A%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||ce0ec74390cc49a7bb1008d9f23557ed|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637807133213338564|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=mycz4p8YDpJMDyRlIlmPS%2FYljswhzNSaLmaUuqBBaIg%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||ce0ec74390cc49a7bb1008d9f23557ed|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637807133213338564|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=HQucCcYaRA16lzpFhzl9vtEAfO4qXll8SJBv2fFwMng%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

@patrimal any updates?

Ok, so I uninstalled the Windows version (kept a copy of my settings file) and reinstalled it, and it worked. I then replaced the "new" settings file with my old one, and it broke. So you're right, it's something with my settings file. I'll play around with it some more, as I'd prefer to not lose all my color settings (I had gone down to the activity level), but in the end it's no big deal...

You should just be able to copy the "LightSettings" section. Try that

Closing this issue

I hit the same issue. I fixed it by quitting PresenceLight and setting the AppType value to "Desktop" in settings.json. It was null.

Thank you!! That fixed it for me, too!


OPACBaseURL prefixed with http:// in admin/configure.tt

According to Koha systempreferences,  OPACBaseURL ... should be a complete URL, starting with http:// or https://.
However, in admin/configure.tt in this plugin, it's prefixed with http:// so retrieving authorization token doesn't work but instead opens new window. (To be honest, it still doesn't work after this change but at least it's a start). It doesn't work because most Koha installations have Intranet installed on different port than OPAC, so using OPACBaseURL to get intranet URL won't work.
Koha version:   <IP_ADDRESS>

It seems I just experienced this when configuring a Koha-EDS integration. However, it's just weird that instead I get http//opacbaseurl//plugin/Koha/Plugin/EDS/opac/eds-raw.pl... The colon is omitted. The intranet uses a different port (8080) and intranet has the same domain name. So in order to make update info work, I instead added :8080 to the URL created by the new window.

Fixed in v16110x+


Add python example

cargo-packager working well with python projects with combination of pyinstaller.
Adding python example will significantly benefit to python developers for packaging their python projects.

Hi @rakeshksr , I don't think we are currently planning to add Python support to the Cargo Packager.
Thank You

I'm interested in the same thing. If it has beforePackageCommand, all we need is to point the packager to execute the right exe in the right location. it would be awesome to add example for it or at least some inputs here.

@thewh1teagle, Packager.toml of my python project
name = "<project name>"
product-name = "<Long Name>"
version = "1.0.0"
authors = ["<author name>"]
publisher = "<publisher name>"
binaries = [{ path = "<main binary path>", main = true }]
identifier = "com.project.name"
before-packaging-command = "pyinstaller --clean --onefile --windowed --name <name> --add-data src/<name>/assets:assets --icon src/<name>/assets/app_icon.png src/<name>/__main__.py"
out-dir = "dist/bin"
binaries-dir = "dist"
icons = ["src/<name>/assets/app_icon.png"]


Add payment exp month and year to billing-detail

Add fields to billingDetail model.

I have released 0.0.16 with this patch


⚠ Bofrost.fr has degraded performance

In 59093f4, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1442 ms

Resolved: Bofrost.fr performance has improved in 2532f64 after 6 minutes.


spring-cloud-starter-azure-eventhub releases missing on maven central

Expected Behavior

Reference most current release: 1.1.0.RC5

                <groupId>com.microsoft.azure</groupId>
               <artifactId>spring-cloud-azure-starter-eventhub</artifactId>

Current Behavior

last version on maven central is 1.1.0.RC1

Possible Solution

update maven central

Steps to Reproduce (for bugs)

see: https://mvnrepository.com/artifact/com.microsoft.azure/spring-cloud-starter-azure-eventhub/1.1.0.RC1

Question

will there be a stable release soon?

could it be that you renamed the artifact?
to:
    <artifactId>spring-cloud-starter-azure-eventhubs</artifactId>

There will be a stable release soon and we have no plan to release 1.1.0.RC5 of spring-cloud-starter-azure-eventhub.  And we indeed renamed the artifact to spring-cloud-starter-azure-eventhubs. You can use it.


GLTF Loader - trouble with blender exports

I must be missing something simple.
I am able to spawn Suzanne and the other gltf files provided in the assets/models folder just fine.
However when I try to use a different gltf file it loads them without error however they do not seem to be rendered.
I have tried gltf files exported from Blender as well as from window's 3D Viewer. I have tried very simple meshes including the default cube and ensured UVs and normals exist. I have tried including a material and not. I have tired adding vertex coloring in case it mattered. I tried every export option I could see.
Not sure what I am missing but if any one has any ideas any help would be appreciated.
Thanks.

The current GLTF loader is pretty limited. It only loads the first mesh it finds. More complex multi-mesh files fill break down (among other things).
Could you attach an example of a cube exported from blender that doesn't load?

Thanks cart, included in the zip are two exported cube gltf files from blender 2.9, one using the embedded option and one using the separate assets option.
frames.zip

This should largely be resolved by #693

Seems like this bug reappear in 0.3, I attach the file which is not showing but no errors.
char1.zip

I'm seeing same problem: I can use blender exported glb file for scene, but if I try something as basic as:
        .spawn(PbrBundle {
            mesh: asset_server.load("test.glb"),
            ..Default::default()
        })

I don't get anything rendered.

asset_server.load("test.glb")

This load the whole GLB file, not just a mesh
If you're just interested in a mesh, you can target it specifically by adding #Mesh0/Primitive0 after the file name, check this example:
https://github.com/bevyengine/bevy/blob/f61e44db2824c0cc4b4815748c4d3f051002ada7/examples/asset/asset_loading.rs#L20
Or if you want to display a while scene from the file, check this example:
https://github.com/bevyengine/bevy/blob/f61e44db2824c0cc4b4815748c4d3f051002ada7/examples/3d/load_gltf.rs#L13

Where can I find the definition of the Scene? It sounds to me that scene is an entire level, and I've didn't see on spawn_scene how I can apply any transforms to the loaded data.
Thank you for helping!

to apply a transform on a scene, you can check this example : https://github.com/bevyengine/bevy/blob/main/examples/3d/update_gltf_scene.rs


Panic fix

tl;dr theres no synchronization on err in Restart() ( https://github.com/Shopify/sv-rollout/blob/master/svrestarter.go#L41-L81 )
I have a hunch the svrestarter has a race condition in where it might get both channels (preempt and restartDone) closed at the same time. If this happens we might be assigning err from restartCmd while already being exiting through preempt and thus never overriding with custom Error.
This might, or might not be, made worse by the dogstatsd call out. It's UDP so it should never block, but even still the command is not totally free.
Still have to debug this a bit further. But i've made some changes to make production better for now:

Separate dogstatsd to a goroutine to not cause any blocking
Remove the panic and handle weird cases by logging them
Make the returned err be rerr so it can be only set in one place

For review check https://github.com/Shopify/sv-rollout/pull/13/commits/713eab64344a804cc867e42053a767b1544961c3
This PR has the changes from https://github.com/Shopify/sv-rollout/pull/12 to get me running tests and builds easily :)
@Shopify/borg @camilo

LGTM :+1:

I think your theory for the race condition is spot on. I'd like to keep the panic(), but happy to assume you've fixed #9

Brought back panic and removed the goroutine around dogstatsd timer. Will merge and start testing in production


Bottom scroll bar on hint doesn't show on iPad

Describe the bug
Bottom scroll bar on hint doesn't show on iPad
Steps to reproduce the behavior

Navigate to https://arcade.makecode.com/beta
Open tutorial and click step one by one
Click on hint to look

Expect behavior
Bottom scroll bar on hint should show
Actual behavior
Bottom scroll bar on hint doesn't show on iPad
Additional context

OS: iPad mini4(landscape mode)
arcade version: 0.14.4
Microsoft MakeCode version: 5.21.6

@helen09 can you add a screenshot or gif?

The detail is as below screenshot and the bottom scroll bar on hint doesn't show expect user click on hint

fixed


Add Azure OAI secrets to gh actions

Adds required env vars for azure openai support.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.12%. Comparing base (a9124bd) to head (959cb38).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #142   +/-   ##
=======================================
  Coverage   80.12%   80.12%
=======================================
  Files          26       26
  Lines        1565     1565
=======================================
  Hits         1254     1254
  Misses        311      311

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


Optional feature gives access to Bitcoin Core's own script validator

Adds a feature "bitcoinconsensus" which if enabled links this library with rust-bitcoinconsensus project.
That project wraps Bitcoin Core's own script interpreter for Rust.  Use Transaction::verify and Script::verify methods to validate using Bitcoin Core's code.

@apoelstra please review

Can you rebase this and update the README commit to add

Removed old script interpreter and moved in-memory blockchain to rust-bitcoin-chain
Replaced Base58 traits with encode_slice, check_encode_slice, from and from_check functions in the base58 module

Because these are also big breaking changes that will go into 0.12.
We may also bring in bech32 support but I'll add that in a separate update to the README.

This is already rebased to current master

Can you rebase this to remove the merge commit and remove the patch.crates-io thing in Cargo.toml in the first couple commits?

@apoelstra would a squash merge not do the same thing?

@tamasblummer There is a merge commit in the PR; a squash merge would prevent an additional merge commit from appearing, but that one is not the one I'm concerned about.

@apoelstra rebased and squashed


Buffer switched after save buffer with undo-tree visualizer enabled

Buffer are being switched after saving buffer when undo-tree visualizer enabled. This only occurs when only editing with one window and not dual windows!

This seems to be undo-tree’s issue.
Fixed by this commit,<PHONE_NUMBER>1a86d1b2294d42248c08830095b75c.


Updated Keycloak JavaScript Adapter to 1.8.1

The build currently has problems with the Angular version. Once it's fixed, the Travis for this has to be re-executed. This version is the same as the one we have in the backend and should get rid of the "deprecated endpoint" warnings.

Merged #834


Restrict StateTransitionerFactory

Fixes

Fixes https://github.com/ethereum-optimism/roadmap/issues/202

Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

Hey @axchu! Integration tests are failing because this PR changes the constructor for OVM_StateTransitionerFactory, which means we'll also have to make changes to the deployment config.
Specifically, the following line:
https://github.com/ethereum-optimism/contracts-v2/blob/6bc0c48222579d9e49c70a5ad270c818c58cf24e/src/contract-deployment/config.ts#L143-L145
Should include the address manager as a parameter. You can see an example of how this is done here:
https://github.com/ethereum-optimism/contracts-v2/blob/6bc0c48222579d9e49c70a5ad270c818c58cf24e/src/contract-deployment/config.ts#L146-L149
Everything should be passing once this is done!

OK lgtm now!


Rebuild times

I have a medium complexity project on ESP32 with quite a few libraries in use.
The problem is, any time the file system changes in the PlatformIO folder structure it rebuilds all the libraries and core. This takes ages. Typically 10 times longer than if only one source file is recompiled.
I have removed all the code that creates and deleted the file .version_no_increment, and cut the build time back to original fast operations.
I recommend that instead of creating and removing the mentioned file, you keep the file system intact, use one static file with changing contents. Write a flag into the file, whether version increment is required or not.

@aly-fly  I can't reproduce, can you explain me a bit better how to reproduce it?
are you using the latest version of platformio?
do you have some sources that I can use to reproduce the issue?


SSAO color (or GTAO?)

this is what it should look like

with postprocessing: https://codesandbox.io/s/ball-pit-1-o5ir0

i know this isn't ground thuth AO but could we still set the AO color somehow? in this case i would like to make it red for instance.

could we still set the AO color somehow?

Yes, that should be possible. I'll look into it when I get a chance.

Added support for colorized ambient occlusion in<EMAIL_ADDRESS>

Sandbox for reference: https://codesandbox.io/s/ball-pit-1-vlhu6

thanks, it looks awesome! the sandbox you posted had a halo for some reason, but i updated mine and it's exactly the effect i looked for https://codesandbox.io/s/ball-pit-1-mvkqs?file=/src/App.js

@vanruesc from this question by @edankwan : https://twitter.com/edankwan/status/1280407226411290625 would that be possible, too? to deal out individual colors for objects?

I don't know if that can be done with the current scalable ambient obscurance algorithm. I'll try adding light bounce based on @gkjohnson's GTAO implementation when I find some time.

Opened a new issue for the light bounce feature: #214.

@vanruesc @drcmda just note that without actual surface information (diffuse color, roughness, metalness) of the objects before shadows are applied bounce light won't really be able to "reveal" any real information in shadowed areas. When I was working on it I found that it wound up muddying an image in more complex cases because of this but in simple cases it didn't look too bad. Perhaps one day we'll have deferred rendering and we'll have more information for these effects. I think it would be a good option, though!
The new AO color looks great, too.

@gkjohnson Thanks for the heads-up 👍


Missing Promises and Async

Just a suggestion :)

Asynchronous execution
Promises
A Promise a proxy to a value not known at the time it was created. A Promise can assume the following states:

pending: initial state, neither fulfilled nor rejected.
fulfilled/resolved: meaning that the operation was completed successfully.
rejected: meaning that the operation failed.

let myFirstPromise = new Promise((resolve, reject) => {
  setTimeout( function() {
    resolve("Success!")
  }, 250)
})

myFirstPromise.then((successMessage) => {
  console.log("Yay! " + successMessage)
});

Chained promises
The methods promise.then(), promise.catch(), and promise.finally() are used to associate further action with a promise that becomes settled. These methods also return a newly generated promise object, which can optionally be used for chaining;
const myPromise =
  (new Promise(myExecutorFunc))
  .then(handleFulfilledA)
  .then(handleFulfilledB)
  .then(handleFulfilledC)
  .catch(handleRejectedAny);

Async functions
The async and await keywords enable asynchronous, promise-based behavior to be written in a cleaner style, avoiding the need to explicitly configure promise chains. Async functions always return a promise.
Await expressions suspend progress through an async function, yielding control and subsequently resuming progress only when an awaited promise-based asynchronous operation is either fulfilled or rejected. Use of async / await enables the use of ordinary try / catch blocks around asynchronous code.
async function getProcessedData(url) {
  let data
  try {
    data = await downloadData(url)
  } catch(e) {
    data = await downloadFallbackData(url)
  }
  return data
}


[libexif] Does not create CMake targets

Is your feature request related to a problem? Please describe.
I am not sure if this is by design, but when using this port I have to do the below rather than using find_package way:
add_library(libexif
    SHARED IMPORTED GLOBAL
)
set_property(TARGET libexif PROPERTY IMPORTED_IMPLIB ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/libexif.lib)
set_property(TARGET libexif PROPERTY IMPORTED_LOCATION ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/bin/libexif.dll)
set_property(TARGET libexif PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include)

Is this the proper way to use this port?
Proposed solution
Port should provide CMake targets.
I assume this can be achieved via CMakePackageConfigHelpers? Happy to do the PR if this is the case.
Describe alternatives you've considered
No response
Additional context
No response

Hi,
This is because this CMakeLists.txt does not produce package config file.
Maybe it's better to contribute to original repo then https://github.com/libexif/libexif? You can start with backporting cmake scripts from this repo and then adding generation of cmake config file with approach you mentioned

This port is too old, we should update to the new build system Make and remove CMakeLists.txt 'cmake'.

I will update this. :)

Upstream uses autotools and provides pkg-config files. This can be used from CMake.

Thanks @FrankXie05 !


Add "Increase Headings(forced)" command

feat: https://github.com/k4a-l/obsidian-heading-shifter/pull/20/commits/483be4b013c71b64f79d3cccd599b920ab8512db

@apotenza92
The following file contains main.js with the “Increase Headings(forced)” command added.
main(2024-08-30 13-53).zip
Put it under .obsidian/plugins/obsidian-heading-shifter and check the operation.
*This is a development version, so it will be overwritten with the official version by updating from the obsidian application after the official release.
Please feel free to comment if the behavior is different from what you expect or if you have any suggestions on how to improve it.

Working perfectly thanks so much!

Thanks for the check.
I will release the official version within a few hours, so please use that from now on!


[Website] Load React Native Web Player from MaxCDN.

unpkg (nee npmcdn) will no longer serve HTML content with the text/html Content-Type. We need to switch to another provider to continue supporting the RN Web Player.

By analyzing the blame information on this pull request, we identified @dabbott to be a potential reviewer.

@facebook-github-bot shipit

Thanks for importing. If you are a Facebook employee, you can view this diff on Phabricator.

@grabbou it'd be great to get this change into 0.34 as otherwise we may end up with broken web players. Do you think you can help with cherry picking this into that release?
Ideally we'd do this for all past releases, not sure how much work that would entail.

For docs I think it's just a matter of checking out each 0.xx-stable branch, cherry-picking, and then pushing. Pretty easy and scriptable.

I have now cherry picked this commit into all the stable branches since the player was added in 0.29, and updated the latest tag to include it. IIRC this last step should get CircleCI to regenerate the site and pull in the changes for each of these releases.


Dashboard crashes when trying to edit or create a shipping method

What I'm trying to achieve
When I try to edit or create a shipping method, the shipping zone detail view crashes. I have saleor 3.0 setup, and for the dashboard, it was on tag 3.0.0-a.11 and again tried with 3.0.0-a.13, but same issue.
Steps to reproduce the problem

Open dashboard
Create a new shipping method
When it is redirected to newly created shipping method the dashboard crashes

What I expected to happen
Show the shipping details and option to update different fields
Screenshots

Console output

System information
Operating system:

Linux

Browser:

Chrome

Turned out to be caching issue. Strangely worked in the incognito mode.


Move to IPLD

Should this be moved to the IPLD organization? See https://github.com/ipld/ipld/issues/15.

yes, can we please move it?


Provider name needs to be quoted for vendor:publish

Without the quotes around the provider name, nothing is published.

Thanks, this was committed outside the conflicts of this PR
https://github.com/thecodingmachine/graphqlite/commit/3530955b20b939e518916ba6af107d4dae0c0d1a


Fix: Remediation text for the MCAST/UCAST check 1.1.6

It improves the remediation text for the MCAST/UCAST check 1.1.6.

@lee-martin could you please have a look?

@lee-martin could you please have a look?

@aleksei-burlakov  Sure, please see my comments above. Please comment me directly when you are done since I don't yet have a mail filter which sees when I'm being requested to review. This is still new to me :)

@aleksei-burlakov  thanks, this looks pretty good now. The only missing thing I can see is that the reference is " section 9.1.3 " specifically and not the general " section 9.1 ", but other than that, I'm good.
@arbulu89 & @stefanotorresi  following our conversation, it seems all we are missing here is the minor correction in the reference mentioned above, once we have that we are good to merge from my side

It fails, I think because the benchcommon checkers were removed.

It fails, I think because the benchcommon checkers were removed.

benchcommon has only be removed in the runner branch. This main branch should unaffected

@lee-martin changes done for the ansible implementation too: https://github.com/trento-project/trento/pull/225

@aleksei-burlakov @lee-martin
Closing this, as the text has been already ported to the ansible optoin


Invoke-WebRequest allow option to preserve orginal filename (even after redirect)

Summary of the new feature/enhancement
As a user downloading from an aka.ms URL, I want the filename of my downloaded file to automatically match that of the source file.
E.g. on Linux, if I do
wget https://aka.ms/downloadazcopy-v10-linux

It just works. The output file is created, and it has the right name. E.g. when the aka.ms link points to a file name AzCopy_linux-amd64-10.0.9.tar.gz, that's the name I end up with on disk.  When someone updates the aka ms link to point to, say AzCopy_linux-amd64-10.2.0.tar.gz, then I can run the same command as before, and this time I automatically get the updated name.
This is useful for cases where the filename conveys useful information (such as the version).
But in PowerShell, I can't automatically use the file's existing name. I have to specify a name. But because the URL is a redirect, via aka.ms, I don't actually know the name of the download file in advance. So I can't specify a meaningful name (e.g. I can't include the version number). I still get the file, but I lose any information that was in its original name
Proposed technical implementation details (optional)
Add a new command line parameter, called something like `PreserveFilename'.  So the PowerShell equivalent of the Linux command above would be
Invoke-WebRequest https://aka.ms/downloadazcopy-v10-linux --PreserveFilename

I've looked at this and decided that the Web Cmdlets would actually suffer in usability trying to add this. I can't find the issue, but this this is a duplicate of a closed issue. The web cmdlets are just not meant for downloading. They are meant for response body processing.
Instead, some of the wget/curl functionality will be implimented in a new cmdlet where this exact scenario will be addressed.

Please comment on https://github.com/PowerShell/PowerShell-RFC/pull/124 instead.

@JohnRusk, I think your suggestion makes perfect sense and has come up repeatedly; adding this functionality as an experimental feature first has been green-lit: see https://github.com/PowerShell/PowerShell/issues/11671#issuecomment-578904101


Handle Mapnik errors when creating VT

With recent Vector Tile v2 spec updates, Mapnik is now throwing on errors that previously did not throw.
This PR helps handle these errors gracefully with a more explicit error code EINVALID for expected errors (errors that do not need to throw).
cc @springmeyer @BergWerkGIS @rclark

Coverage increased (+0.09%) to 94.163% when pulling 6ccb6e4094ee7ac8ac87f8ce0394f39cbc937a8c on handle-error into 15e4501e49d436aeb57837be63a5effffa59c7ff on master.


Add CONSTANTSTART regular expression

Prior to this commit, the regular expression used in the proxy_path
method was hard coded. In addition to be inconsistent with the rest
of the regular expressions in CodeObjects::Proxy (which use the constants
defined in CodeObjects::Base), this also meant that it was not possible
to patch the regular expressions to accommodate namespaces in other
languages.
In order to fix these issues, add a CONSTANTSTART regex constant that
matches the first letter of constants that begin with an uppercase letter.

A bit of context on where this is coming from: I'm working on an extension for
YARD to document the Puppet DSL. However Puppet namespaces do not
require words to be capitalized. This means that our namespaces get all mangled.
I was able to trace this down to the proxy_path method.
I added another regular expression constant because patching this seemed like
a better solution that trying to patch a private method, and most of the other
regular expressions used for namespace matching have constants already. If
this is the wrong approach please let me know! Happy to try something else.

Looks good thanks!

Thanks so much @lsegal!
Do you happen to have an idea of when you'll be releasing the next version of the YARD gem? Just trying to plan out if we should have a temporary workaround or just wait if it's going to be in the next month or so.


Consider adding a changelog or release notes

Hey @nekoshita ,
You seem to have added valuable features recently, but it's not quite easy to take advantage of them because the relevant information is buried in the commit history.
Could you please consider adding a changelog or release notes ?
Cheers, and thanks for your work !

I added release note
https://github.com/nekoshita/obsidian-auto-card-link/releases/tag/1.2.3

Great, thanks !


API Rate Limiting

Resources

https://redis.com/glossary/rate-limiting/
https://engineering.ramp.com/rate-limiting-with-redis
https://www.makeuseof.com/express-rate-limit/

Completed with #85


Add second instance of BD Veritor device to capture Multiplex/Flu results

Background
Users who have selected the BD Veritor are currently forced to enter both COVID and Flu results, but the BD Veritor device does not always test for both (it can test for COVID only, or both COVID and flu)
Action requested
Please add a second instance of the BD Veritor device, similar to the workaround solution we provided for the Quidel Sofia 2:

Quidel Sofia 2 (Antigen) - testing for COVID only
Quidel Sofia 2 Multiplex (Antigen) - testing for both COVID and flu

Acceptance Criteria
Both instances of the BD Veritor device (one for COVID only, and one for COVID+flu) should be available to select from the "Manage facilities" > "Manage devices" dropdown.
Additional context
This request is in response to a support inquiry received on Monday, July 18th from Tanea Young:
We have the same issue coming in with the BD Veritor multiplex device and users submitting Covid only results.

The ask is to add a new covid-only version of the device and keep the existing device as a multiplex test.

a new device has been made / the existing test renamed according to the slack discussion here


can't install

Could you please describe more precisely how to install this project and add the MobileVLCKit.framework ?
I followed all the steps in the readme, but I still get the errors shown above. Thanks 👍

hi
https://github.com/xiongchuan86/react-native-vlcplayer/blob/master/nightlies.videolan.org/build/ios
page 404 :)
thanks

http://nightlies.videolan.org/build/iOS/

How to add the mobilekitvlc.framework into the project?
I downloaded it from http://nightlies.videolan.org/build/iOS/, unzipped it and copied the mobilevlckit.framework into the directory same level as my .xcodeproj file.
But how to add it into my project?


Redesigned GUIs

The input is the same.  GUIs are now stored in the player's PlayerGui as opposed to in the script, because button events won't fire in ScreenGuis parented to scripts.  The code was generated, and may not be as efficient or clean as possible.

Thanks! Have you tested them? I'd test it myself, but I'm at school :P

They've been tested by firing the AdminEvent, and worked fine.


Skill Details toggle gives no indication that it has focus

for keyboard navigation or mouse focus, the skill details toggle in the client display and my badges display gives no indication that the element has focus.

PR #1374

:+1:


Using dat with the http option has problems with syncing (deletion)

Steps to reproduce:

Add a folder on the master
Visit the folder in the browser and open one or more files in the browser (index.html or pdf files)
Delete the folder in master
The metadata syncs correctly and the folder is removed in the browser view but it's still there in the file system of the client's host (containing the files that were opened in the browser)

This problem doesn't seem to occur anymore. Don't know when it got fixed though.

OK, I just stumbled across this issue again. Seems like it's still there.

@beingalink are you on Linux or OSX?

@creationix The server is on linux (centos 7) and the client on os x.

Nevermind, I misunderstood the question.  I've seen a case where FS changes aren't detected at all and never get into the source dat.  This seems worse on linux.


⚠ Bofrost.de has degraded performance

In 71cfa63, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1511 ms

Resolved: Bofrost.de performance has improved in fcdd92a after 15 minutes.


AGALMiniAssembler doesn't support .rgba swizzling on any target.

Any sequence starting with r, g, b, or a gets removed (as well as the dot in front). This means "v0.r" becomes just "v0," so even though I tried to access only the first component, all four end up being copied.
To test this, I replaced line 64 with the following.

"mov v0.r, va1.r", which ought to throw an error.
"mov v0.rgb, va1.rrr", which ought to produce a grey-black-black triangle.
"mov v0.rgb, va1.rgg", which ought to produce a red-cyan-black triangle.
"mov v0.rzzz, va1.rzzz", which ought to produce erratic behavior as reported in issue #1460.

Instead of doing any of these things, every single example here produces the normal red-green-blue spinning triangle. I tested this on Flash, Neko, and Windows, and I assume it works the same everywhere else.

I think this is the newest AGALMiniAssembler from the Adobe Gaming SDK:
https://github.com/Gamua/Starling-Framework/blob/master/starling/src/com/adobe/utils/AGALMiniAssembler.as
(which I think is the same as https://github.com/adobe-flash/graphicscorelib/blob/master/src/com/adobe/utils/v3/AGALMiniAssembler.as)
Do you think this supports rgba color accessors, or do you think we had an error in porting?
I see "xyzw" in the regexes, but nothing for "rgba" or similar 😕

Huh... looks like Adobe's documentation is wrong. Never mind, then!

Do you think that they removed rgba from the AGAL specification, or do you think they just broke support in their assembler? We could patch it if the latter is the case

I suspect it was never in the specification in the first place, and whoever wrote the documentation got AGAL confused with GLSL.
That said, I wouldn't complain if you patched it in.

Hmm, I'm on the fence about it.
From the looks of it, I think we'd need to add "rgba" as acceptable letters in the regexes here:
https://github.com/openfl/openfl/blob/develop/openfl/utils/AGALMiniAssembler.hx#L230-L236
Then I believe we would need to update the "maskmatch" routine here to map "rgba" to the correct indices:
https://github.com/openfl/openfl/blob/develop/openfl/utils/AGALMiniAssembler.hx#L480
Or do a string replace in advance to translate to "xyzw" format

The string replace sounds easier to do and a lot easier to debug.


Bug: Faceting fails with levels  (easy to fix)

Faceting  example fails with levels
flatui = ["#9b59b6", "#3498db", "#95a5a6", "#e74c3c", "#34495e", "#2ecc71"]
g_simple = t.plot(x='lon', y='lat', col='time', col_wrap=3,
                  levels=[0, 12, 18, 30], colors=flatui)

The generated error is

ValueError: Can't specify both cmap and colors.

I tracked this down inside newplotfunc  to the line
 return _easy_facetgrid(**allargs)

which calls FacetGrid.map_dataarray
This function does not check if levels is assigned. And hence automatically adds a cmap on the second panel of the plot
        cmap_args = inspect.getargspec(_determine_cmap_params).args
        cmap_kwargs.update((a, kwargs[a]) for a in cmap_args if a in kwargs)

        cmap_params = _determine_cmap_params(**cmap_kwargs)

the check fails after that.

We would certainly appreciate a pull request to fix this!

Glad this got solved, thanks!


Add command for finding authentication role inconsistencies

To find users having wrong roles (FEE faculty + CTU impostor, year 2021 + year 2020 etc.) we could do a list of rules for each type and then filter all the users using this. The bot could show it on the web or as an output of a command
This would require us to download all the users from the server - enable new intent

I think this is not necessary at all.