Fix NAMESPACE typo on one of the deployment script

There is a typo where we need to capitalize NAMESPACE on one of the deployment scripts. The bug only occurs when on a non-default namespace.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Had tested Namespace before, so while I redeployed after the change to NAMESPACE the environment variables were still set and it worked when it shouldn't have. Thanks for paying attention.

It was my mistake :) Thanks for the review.


Add version and URL to cinderblock.xml

https://www.libcinder.org/docs/guides/cinder-blocks/index.html

Fixed by 3fc6b410593840d7ae642636b91cf3b27312cad0


Install docker, docker-compose, and pip

🚀 Feature Proposal
Install the following:

[ ] Docker
[ ] Docker-compose
[ ] pip for python2
[ ] pip for python3

Motivation
Docker and docker-compose are needed to run the Pentest Portal.
Pip to install tool dependencies.
Example
pip2 install -r requirements.txt

Pitch
These packages are need to run the Pentest Portal as well as install tool requirements. Installing them during the ansible provisioning process seems like the logical place.
Notes
We are currently installing the newest version of Docker-compose, version 1.25.4, manually as the version installed by apt-get is not compatible with the Pentest Portal.
We know python2/pip2 if EOF, but some tools have not made the switch yet.

Fixed via cisagov/kali-packer#12 and cisagov/ansible-role-docker#13.


Consider replacing OGDF

OGDF is too heavy.
Moreover it is not very stable on auto placement and loading from formats.
Maybe BGL?
See #82 for a gv document example which is imported without color information.

I like OGDF because It could be installed system-wise. Not a big deal for me. If it will be used by many packages, doesn't really bother. And there will be no need to supply some version of it within.

OGDF license is less permissive, I had to remove it when I incorporated QVGE into one of my tools. Could graphviz be an option?

current OGFD version is too unstable (it crashed quite oft)

OGDF 2020-02 seems to be more stable.

OGDF is too heavy.

This is not a problem per se.  The problem is that you're bundling it instead of depending like on any other system library, e.g. Qt.  In the FreeBSD port, I delete bundled (and outdated) copy on OGDF and link against our standard math/ogdf package, which is up-to-date and built separately.  This should probably work for popular GNU/Linux distributions as well.

I don’t think that would work on windows. It’s not a system library there.
On Sun, Jun 28, 2020 at 3:28 AM Alexey Dokuchaev<EMAIL_ADDRESS>wrote:

OGDF is too heavy.
This is not a problem per se. The problem is that you're bundling it
instead of depending like on any other system library, e.g. Qt. In the
FreeBSD port, I delete bundled (and outdated) copy on OGDF and link against
our standard math/ogdf package, which is up-to-date and built separately.
This should probably work for popular GNU/Linux distributions as well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ArsMasiuk/qvge/issues/83#issuecomment-650710808, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACAUPFTCWG5FAWNILN5WIDRY3WJPANCNFSM4LWFOMSA
.

--
cel:<PHONE_NUMBER>
http://www.gedalia.net
Fight Entropy!!!  Fight Entropy!!!  Figth Etnropy! !
iFgth Etnrop!y ! giFth tErno!py !  giFt htrEno!p y! --- Well maybe
not...

I don't think that would work on Windows. It's not a system library there.

Windows (because it lacks proper package manager) in an unfortunate edge-case and should be handled separately, e.g. by adding a note to README file where to obtain and unpack the tarball so the build glue would find those bits.  But it cannot be an excuse for bundling the entire source code of another project, which is generally a very bad idea and huge maintenance burden.

Bundling OGDF with qvge sources was an intended desision. The problem is
that OGDF API is changing from version to version. This means that qvge
code has to be changed as well if OGDF installed in the system doesn't
match those required by actual qvge version.
But on the other hand there is no need to build OGDF twice if the needed
version has already been installed. So I will make corresponding changes to
support linking against external OGDF installation.
On Sun, Jun 28, 2020, 09:28 Alexey Dokuchaev<EMAIL_ADDRESS>wrote:

OGDF is too heavy.
This is not a problem per se. The problem is that you're bundling it
instead of depending like on any other system library, e.g. Qt. In the
FreeBSD port, I delete bundled (and outdated) copy on OGDF and link against
our standard math/ogdf package, which is up-to-date and built separately.
This should probably work for popular GNU/Linux distributions as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ArsMasiuk/qvge/issues/83#issuecomment-650710808, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEWY5KA2LUAB6Y6KY4D4VCDRY3WJPANCNFSM4LWFOMSA
.

I’ve see OSS projects start using this actually
https://github.com/microsoft/vcpkg
Works pretty well for Tracy.
I was on this thread because I think it’s problematic that you can’t build
gvge with ogdf and non gpled code. I embedded qvge into my commercial
animation content editing tool as a FSM editor. Graphviz is more
permissive. The minimal way ogdf is used might make it possible to just
spit the network out to a file and have a different exe actually apply the
transforms.
On Sun, Jun 28, 2020 at 6:19 AM Alexey Dokuchaev<EMAIL_ADDRESS>wrote:

I don't think that would work on Windows. It's not a system library there.
Windows (because it lacks proper package manager) in an unfortunate
edge-case and should be handled separately, e.g. by adding a note to
README file where to obtain and unpack the tarball so the build glue
would find those bits. But it cannot be an excuse for bundling the entire
source code of another project, which is generally a very bad idea and huge
maintenance burden.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ArsMasiuk/qvge/issues/83#issuecomment-650729927, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACAUPHR7JGZA45F6FM7O5TRY4KK3ANCNFSM4LWFOMSA
.

--
cel:<PHONE_NUMBER>
http://www.gedalia.net
Fight Entropy!!!  Fight Entropy!!!  Figth Etnropy! !
iFgth Etnrop!y ! giFth tErno!py !  giFt htrEno!p y! --- Well maybe
not...

I was on this thread because I think it’s problematic that you can’t build gvge with ogdf and non gpled code. I embedded qvge into my commercial animation content editing tool as a FSM editor. Graphviz is more permissive. The minimal way ogdf is used might make it possible to just spit the network out to a file and have a different exe actually apply the transforms.

Hello,
Thanks for your feeback first!
Could you maybe explain a little bit more about your project & way how qvge is thought to be used there?
I unerstand that it is used to create some state diagrams, right?
And which kind of transforms via Graphviz do you mean? Auto layouting of nodes?

I'm the tech lead on DI-Guy a human character SDK
https://www.mak.com/products/visualize/di-guy
for a really long time we had an animation transition table that was a FSM
based off a NxN grid.
i.e. I'm walking and need to sit down, what's the animation I should pick
to get me from state A to B?
I'd been meaning to overhaul the system for years because it didn't scale
well. (Walk/run/step, all pretty much shared the same transition data but
grew the table 2N for every entry.
[image: image.png]
I modified qvge to be embedded in my animation authoring tool. Node edits
modify the underlying animation graph. It's similar to unreal's
blueprint tool https://i.imgur.com/k8lqBTB.png.
To be honest the artists will probably just lay stuff out by hand now. the
auto layout stuff changes too much most of the time. Although I have
another tool that is an animation blend tree editor, that would
benefit from the tree odgf layout option. So maybe it doesn't matter at
this point.

And which kind of transforms via Graphviz do you mean? Auto layouting of
nodes?
yup
-gedalia

http://i.imgur.com/k8lqBTB.png
On Sun, Jun 28, 2020 at 7:04 PM Ars Masiuk<EMAIL_ADDRESS>wrote:

I was on this thread because I think it’s problematic that you can’t build
gvge with ogdf and non gpled code. I embedded qvge into my commercial
animation content editing tool as a FSM editor. Graphviz is more
permissive. The minimal way ogdf is used might make it possible to just
spit the network out to a file and have a different exe actually apply the
transforms.
Hello,
Thanks for your feeback first!
Could you maybe explain a little bit more about your project & way how
qvge is thought to be used there?
I unerstand that it is used to create some state diagrams, right?
And which kind of transforms via Graphviz do you mean? Auto layouting of
nodes?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ArsMasiuk/qvge/issues/83#issuecomment-650834306, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACAUPDUIDMCE67JBRBLLOLRY7D6TANCNFSM4LWFOMSA
.

--
cel:<PHONE_NUMBER>
http://www.gedalia.net
Fight Entropy!!!  Fight Entropy!!!  Figth Etnropy! !
iFgth Etnrop!y ! giFth tErno!py !  giFt htrEno!p y! --- Well maybe
not...

well; I've also thought about GraphViz as a layouting alternative to OGDF...
but I'm still not sure if gv's API supports it.
I need to look deeper sometimes...

http://www.mupuf.org/blog/2010/07/08/how_to_use_graphviz_to_draw_graphs_in_a_qt_graphics_scene/
But it’s not a urgent thing for me anymore.
On Mon, Jun 29, 2020 at 1:27 PM Ars Masiuk<EMAIL_ADDRESS>wrote:

well; I've also thought about GraphViz as a layouting alternative to
OGDF...
but I'm still not sure if gv's API supports it.
I need to look deeper sometimes...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ArsMasiuk/qvge/issues/83#issuecomment-651257169, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACAUPBQOB7D2IFLTCKFBO3RZDFHNANCNFSM4LWFOMSA
.

--
cel:<PHONE_NUMBER>
http://www.gedalia.net
Fight Entropy!!!  Fight Entropy!!!  Figth Etnropy! !
iFgth Etnrop!y ! giFth tErno!py !  giFt htrEno!p y! --- Well maybe
not...

http://www.mupuf.org/blog/2010/07/08/how_to_use_graphviz_to_draw_graphs_in_a_qt_graphics_scene

Thank you for the link, I'll look in...

Well GraphViz can now be called directly from QVGE in order to run layout engines on a graph.
But it seems that it cannot coexist with ODGF because it leads to crashes.
One more point to get rid of OGDF...


Incompatible with Cardboard(bukkit4fabric)

Whelp - this is poorly filled out.
Description (2 problems, highlighted in bold)
When using ImmersivePortals and Cardboard (aka Bukkit4fabric), the world fails to generate.
I started the server for the first time with both of these plugins installed and got the following error...
[09:42:21] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.RuntimeException: Missing dimension immersive_portals:alternate1
        at com.qouteall.immersive_portals.McHelper.getServerWorld(McHelper.java:742) ~[0bd61809-81cd-494a-8a1c-87b9fc81d819.jar:?]
        at com.qouteall.imm_ptl_peripheral.alternate_dimension.AlternateDimensions.lambda$init$0(AlternateDimensions.java:102) ~[immersive-portals-0.55-mc1.16.4-fabric.jar:?]
        at com.qouteall.immersive_portals.my_util.Signal.lambda$emit$0(Signal.java:18) ~[0bd61809-81cd-494a-8a1c-87b9fc81d819.jar:?]
        at java.util.ArrayList.forEach(ArrayList.java:1541) ~[?:?]
        at com.qouteall.immersive_portals.my_util.Signal.emit(Signal.java:18) ~[0bd61809-81cd-494a-8a1c-87b9fc81d819.jar:?]
        at net.minecraft.server.MinecraftServer.handler$zil000$onServerTick(MinecraftServer.java:4323) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:894) ~[intermediary-server.jar:?]
        at net.minecraft.class_3176.method_3813(class_3176.java:312) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]

full log file - 2021-01-05-3.log.gz
This error came after the world was Done! generating.
I removed Cardboard, started the server, let the world generation complete, ensured I could log in and play, stopped the server, disabled the nether in server.properties, added Cardboard back in and ran into another issue.
No error is thrown, but the server halts on generating the end world - usually between 90%-100%. I unfortunately don't know how to get any more information on this.
[02:08:45] [Server thread/INFO]: Preparing level "world"
[02:08:45] [Server thread/WARN]: Unable to find spawn biome
[02:08:46] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[02:08:47] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:47] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:47] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:47] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:48] [Worker-Main-2/INFO]: Preparing spawn area: 48%
[02:08:48] [Worker-Main-2/INFO]: Preparing spawn area: 58%
[02:08:49] [Worker-Main-2/INFO]: Preparing spawn area: 61%
[02:08:49] [Server thread/INFO]: Time elapsed: 3296 ms
[02:08:49] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[02:08:49] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:50] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:50] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[02:08:50] [Worker-Main-2/INFO]: Preparing spawn area: 83%
[02:08:51] [Worker-Main-2/INFO]: Preparing spawn area: 83%
[02:08:51] [Worker-Main-2/INFO]: Preparing spawn area: 83%
[02:08:52] [Server thread/INFO]: Preparing spawn area: 91%
[02:08:53] [Server thread/INFO]: Preparing spawn area: 96%
[02:08:54] [Server thread/INFO]: Preparing spawn area: 96%
[02:08:54] [Server thread/INFO]: Preparing spawn area: 96%

full log file - latest.log
Versions Used

Fabric Installer Version: <IP_ADDRESS>
Minecraft Server Version: 1.16.4
Cardboard Version: build #140for MC 1.16.4 (see below for more information on this)
ImmersivePortals Version: 0.55-mc1.16.4 (based on file name)

Why did I use build 140 of Cardboard?
I had to use build 140 of Cardboard because later versions had issues on start-up. This is not related to ImmersivePortals since I was trying to start the server with Cardboard alone. They seem to be aware of this issue as their latest build includes a commit message that sounds related to the error I was receiving. I don't have any logs for this unfortunately.

Whelp - this is poorly filled out.
Description (2 problems, highlighted in bold)
When using ImmersivePortals and Cardboard (aka Bukkit4fabric), the world fails to generate.
I started the server for the first time with both of these plugins installed and got the following error...
[09:42:21] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.RuntimeException: Missing dimension immersive_portals:alternate1
        at com.qouteall.immersive_portals.McHelper.getServerWorld(McHelper.java:742) ~[0bd61809-81cd-494a-8a1c-87b9fc81d819.jar:?]
        at com.qouteall.imm_ptl_peripheral.alternate_dimension.AlternateDimensions.lambda$init$0(AlternateDimensions.java:102) ~[immersive-portals-0.55-mc1.16.4-fabric.jar:?]
        at com.qouteall.immersive_portals.my_util.Signal.lambda$emit$0(Signal.java:18) ~[0bd61809-81cd-494a-8a1c-87b9fc81d819.jar:?]
        at java.util.ArrayList.forEach(ArrayList.java:1541) ~[?:?]
        at com.qouteall.immersive_portals.my_util.Signal.emit(Signal.java:18) ~[0bd61809-81cd-494a-8a1c-87b9fc81d819.jar:?]
        at net.minecraft.server.MinecraftServer.handler$zil000$onServerTick(MinecraftServer.java:4323) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:894) ~[intermediary-server.jar:?]
        at net.minecraft.class_3176.method_3813(class_3176.java:312) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]

full log file - 2021-01-05-3.log.gz
This error came after the world was Done! generating.
I removed Cardboard, started the server, let the world generation complete, ensured I could log in and play, stopped the server, disabled the nether in server.properties, added Cardboard back in and ran into another issue.
No error is thrown, but the server halts on generating the end world - usually between 90%-100%. I unfortunately don't know how to get any more information on this.
[02:08:45] [Server thread/INFO]: Preparing level "world"
[02:08:45] [Server thread/WARN]: Unable to find spawn biome
[02:08:46] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[02:08:47] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:47] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:47] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:47] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:48] [Worker-Main-2/INFO]: Preparing spawn area: 48%
[02:08:48] [Worker-Main-2/INFO]: Preparing spawn area: 58%
[02:08:49] [Worker-Main-2/INFO]: Preparing spawn area: 61%
[02:08:49] [Server thread/INFO]: Time elapsed: 3296 ms
[02:08:49] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[02:08:49] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:50] [Server thread/INFO]: Preparing spawn area: 0%
[02:08:50] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[02:08:50] [Worker-Main-2/INFO]: Preparing spawn area: 83%
[02:08:51] [Worker-Main-2/INFO]: Preparing spawn area: 83%
[02:08:51] [Worker-Main-2/INFO]: Preparing spawn area: 83%
[02:08:52] [Server thread/INFO]: Preparing spawn area: 91%
[02:08:53] [Server thread/INFO]: Preparing spawn area: 96%
[02:08:54] [Server thread/INFO]: Preparing spawn area: 96%
[02:08:54] [Server thread/INFO]: Preparing spawn area: 96%

full log file - latest.log
Versions Used

Fabric Installer Version: <IP_ADDRESS>
Minecraft Server Version: 1.16.4
Cardboard Version: build #140for MC 1.16.4 (see below for more information on this)
ImmersivePortals Version: 0.55-mc1.16.4 (based on file name)

Why did I use build 140 of Cardboard?
I had to use build 140 of Cardboard because later versions had issues on start-up. This is not related to ImmersivePortals since I was trying to start the server with Cardboard alone. They seem to be aware of this issue as their latest build includes a commit message that sounds related to the error I was receiving. I don't have any logs for this unfortunately.

Try to disable the alternate dimension (in config/immersive_portals_fabric.json) and see what happens

Try to disable the alternate dimension (in config/immersive_portals_fabric.json) and see what happens

Whoops, I probably should've posted my config too...
{
  "maxPortalLayer": 5,
  "lagAttackProof": true,
  "portalRenderLimit": 200,
  "indirectLoadingRadiusCap": 8,
  "compatibilityRenderMode": false,
  "doCheckGlError": false,
  "portalSearchingRange": 128,
  "longerReachInCreative": false,
  "renderYourselfInPortal": true,
  "activeLoading": true,
  "teleportationDebug": false,
  "correctCrossPortalEntityRendering": true,
  "multiThreadedNetherPortalSearching": true,
  "edgelessSky": false,
  "mirrorInteractableThroughPortal": false,
  "looseMovementCheck": false,
  "pureMirror": false,
  "enableAlternateDimensions": false,
  "reducedPortalRendering": false,
  "visibilityPrediction": true,
  "chunkUnloadDelayTicks": 300,
  "forceMergePortalRendering": false,
  "dimensionRenderRedirect": {
    "immersive_portals:alternate1": "minecraft:overworld",
    "immersive_portals:alternate2": "minecraft:overworld",
    "immersive_portals:alternate3": "minecraft:overworld",
    "immersive_portals:alternate4": "minecraft:overworld",
    "immersive_portals:alternate5": "minecraft:overworld"
  },
  "netherPortalMode": "normal",
  "endPortalMode": "normal"
}

I just removed the values for dimensionRenderRedirect and left it as {}.
The server started but I got the same Failed to handle packet for /<my ip address>:53538 error as above when joining. I then tried turning on the debug flags to see if that would change anything but it caused the overworld generation to stop at 97%.
I have now replaced the config with what was above and it's halting again at overworld generation. Perhaps I'm facing other issues. It does say Unable to find spawn biome each time which seems odd.

Whoops, I probably should've posted my config too...
{
  "maxPortalLayer": 5,
  "lagAttackProof": true,
  "portalRenderLimit": 200,
  "indirectLoadingRadiusCap": 8,
  "compatibilityRenderMode": false,
  "doCheckGlError": false,
  "portalSearchingRange": 128,
  "longerReachInCreative": false,
  "renderYourselfInPortal": true,
  "activeLoading": true,
  "teleportationDebug": false,
  "correctCrossPortalEntityRendering": true,
  "multiThreadedNetherPortalSearching": true,
  "edgelessSky": false,
  "mirrorInteractableThroughPortal": false,
  "looseMovementCheck": false,
  "pureMirror": false,
  "enableAlternateDimensions": false,
  "reducedPortalRendering": false,
  "visibilityPrediction": true,
  "chunkUnloadDelayTicks": 300,
  "forceMergePortalRendering": false,
  "dimensionRenderRedirect": {
    "immersive_portals:alternate1": "minecraft:overworld",
    "immersive_portals:alternate2": "minecraft:overworld",
    "immersive_portals:alternate3": "minecraft:overworld",
    "immersive_portals:alternate4": "minecraft:overworld",
    "immersive_portals:alternate5": "minecraft:overworld"
  },
  "netherPortalMode": "normal",
  "endPortalMode": "normal"
}

I just removed the values for dimensionRenderRedirect and left it as {}.
The server started but I got the same Failed to handle packet for /<my ip address>:53538 error as above when joining. I then tried turning on the debug flags to see if that would change anything but it caused the overworld generation to stop at 97%.
I have now replaced the config with what was above and it's halting again at overworld generation. Perhaps I'm facing other issues. It does say Unable to find spawn biome each time which seems odd.

I wasn't looking carefully enough before - there's a crash reports dir so let me dump some of those in.
I just tried running things separately and things worked fine.
Before that I was getting some world generation issues, which I've found some logs on.
java.lang.NullPointerException: Exception generating new chunk
crash-2021-01-06_12.46.37-server.txt
Failed to handle packet for /<my ip>:57370
but with more debug logs
[12:50:55] [User Authenticator #1/DEBUG]: Opening connection to https://sessionserver.mojang.com/session/minecraft/hasJoined?serverId=-7af728760853ddf9a0d07282c766d58b6aea22f5&username=lauchlan105
[12:50:55] [User Authenticator #1/DEBUG]: Reading data from https://sessionserver.mojang.com/session/minecraft/hasJoined?serverId=-7af728760853ddf9a0d07282c766d58b6aea22f5&username=lauchlan105
[12:50:56] [User Authenticator #1/DEBUG]: Successful read, server response was 200
[12:50:56] [User Authenticator #1/DEBUG]: Response: {
  "id" : "cf5ad6319a304930859c763f7a1e3f51",
  "name" : "lauchlan105",
  "properties" : [ {
    "name" : "textures",
    "value" : "ewogICJ0aW1lc3RhbXAiIDogMTYwOTkzNzQ1NjE0NCwKICAicHJvZmlsZUlkIiA6ICJjZjVhZDYzMTlhMzA0OTMwODU5Yzc2M2Y3YTFlM2Y1MSIsCiAgInByb2ZpbGVOYW1lIiA6ICJsYXVjaGxhbjEwNSIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS9jOWYxYmU4Zjk0NmYxYWYzN2YzNjI5NjIyYWE5ZDJiMmQ2YzYyY2RjYjIzMjkwNjk5OTI2ZjhjZDk4NGYwYzYwIgogICAgfQogIH0KfQ==",
    "signature" : "ucu52Cr4IPbXh0+rA7gRVbrlDhHt2gQ/fC0Rc0CknTJwxEx4iB3fBuLLc6GvdCvdpfGn2Ehd9+k8YFHyhgj0T9jTS9hjFGSOCpb3lNFoPtiVduQSBJDalg2tJzizTEHimZdOwDM7sB3kl1McLt/zJ/g3VoEMR/n0BvaBaTNrR6zjWQQscogDO//UzUsE6B3HC08U5GDNmSHWe6YNiBbmgvx1RVbgINcDPMhHZ8uJfi62OwSucjdOx9WMXX1HnqkzWyEQg7j436cZpiE/iFkf4xdj4EW6yU2LXI0scBnGXrq+1UYwkr+ggqig+SFdHs3sjqx2x2NhFaPZBhJC/ji/pCEMF+UViUYgXkp/JgXq0em8BMnqab1SUTsI8BtF5XGHQBK6MFo+ETNMwQLnouk2zCpSPsn1JnF3PycZO873ULNvSMSXcRexuqrqxqJCzq0av9zeqX9VnlbLuvbZFmKwixS5L95NYWaAoU4n9hPC9KmT9CjYh++3Zdc+x2UQLJaUd+o7wxa1G4B1eZIvW0xM0+8OmyPnVWUeK11r6wxAdg92/s1/d9zy8B9voxKNKldCEjdntRfk1SVKnr0ivc3pWkHakJ7NiNuM4/hLmUHk0gYncY8dnMtMcfCtzxNLysy2YpLEYBxhSW73kquABLVRrDal46SAATR/Cy6rqUBsQhA="
  } ]
}
[12:50:56] [User Authenticator #1/INFO]: [STDOUT]: false / User Authenticator #1
[12:50:56] [User Authenticator #1/INFO]: UUID of player lauchlan105 is cf5ad631-9a30-4930-859c-763f7a1e3f51
[12:50:56] [Server thread/DEBUG]: Sent accepted channels to the client for "com.mojang.authlib.GameProfile@72a4d26b[id=cf5ad631-9a30-4930-859c-763f7a1e3f51,name=lauchlan105,properties={textures=[com.mojang.authlib.properties.Property@2a371cfd]},legacy=false] (/<my ip>:57370)"
[12:50:56] [Netty Epoll Server IO #2/DEBUG]: Handling inbound login query with id 0
[12:50:56] [Netty Epoll Server IO #2/DEBUG]: Received accepted channels from the client for "com.mojang.authlib.GameProfile@72a4d26b[id=cf5ad631-9a30-4930-859c-763f7a1e3f51,name=lauchlan105,properties={textures=[com.mojang.authlib.properties.Property@2a371cfd]},legacy=false] (/<my ip>:57370)"
[12:50:56] [Server thread/INFO]: lauchlan105[/<my ip>:57370] logged in with entity id 16 at (-12.232864996764633, 64.0, 83.19632809556113)
[12:50:56] [Server thread/WARN]: Failed to handle packet for /<my ip>:57370
java.lang.NullPointerException: The validated object is null
        at org.apache.commons.lang3.Validate.notNull(Validate.java:225) ~[intermediary-server.jar:?]
        at org.apache.commons.lang3.Validate.notNull(Validate.java:206) ~[intermediary-server.jar:?]
        at com.qouteall.hiding_in_the_bushes.MyNetwork.createDimSync(MyNetwork.java:119) ~[b5dc64a7-6a68-47b7-9298-2734a8d04422.jar:?]
        at net.minecraft.class_3324.handler$zim000$onConnectionEstablished(class_3324.java:2985) ~[intermediary-server.jar:?]
        at net.minecraft.class_3324.method_14570(class_3324.java:182) ~[intermediary-server.jar:?]
        at net.minecraft.class_3248.handler$zcg000$acceptPlayer_BF(class_3248.java:712) ~[intermediary-server.jar:?]
        at net.minecraft.class_3248.method_14384(class_3248.java) ~[intermediary-server.jar:?]
        at net.minecraft.class_3248.redirect$zhp000$handlePlayerJoin(class_3248.java:1062) ~[intermediary-server.jar:?]
        at net.minecraft.class_3248.method_18785(class_3248.java:65) ~[intermediary-server.jar:?]
        at net.minecraft.class_2535.method_10754(class_2535.java:228) ~[intermediary-server.jar:?]
        at net.minecraft.class_3242.method_14357(class_3242.java:173) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:882) ~[intermediary-server.jar:?]
        at net.minecraft.class_3176.method_3813(class_3176.java:312) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
[12:50:56] [Server thread/DEBUG]: Disabled auto read
[12:50:56] [Netty Epoll Server IO #2/DEBUG]: Enabled auto read
[12:50:56] [Server thread/INFO]: lauchlan105 lost connection: Internal server error
[12:50:56] [Server thread/INFO]: lauchlan105 left the game

I wasn't looking carefully enough before - there's a crash reports dir so let me dump some of those in.
I just tried running things separately and things worked fine.
Before that I was getting some world generation issues, which I've found some logs on.
java.lang.NullPointerException: Exception generating new chunk
crash-2021-01-06_12.46.37-server.txt
Failed to handle packet for /<my ip>:57370
but with more debug logs
[12:50:55] [User Authenticator #1/DEBUG]: Opening connection to https://sessionserver.mojang.com/session/minecraft/hasJoined?serverId=-7af728760853ddf9a0d07282c766d58b6aea22f5&username=lauchlan105
[12:50:55] [User Authenticator #1/DEBUG]: Reading data from https://sessionserver.mojang.com/session/minecraft/hasJoined?serverId=-7af728760853ddf9a0d07282c766d58b6aea22f5&username=lauchlan105
[12:50:56] [User Authenticator #1/DEBUG]: Successful read, server response was 200
[12:50:56] [User Authenticator #1/DEBUG]: Response: {
  "id" : "cf5ad6319a304930859c763f7a1e3f51",
  "name" : "lauchlan105",
  "properties" : [ {
    "name" : "textures",
    "value" : "ewogICJ0aW1lc3RhbXAiIDogMTYwOTkzNzQ1NjE0NCwKICAicHJvZmlsZUlkIiA6ICJjZjVhZDYzMTlhMzA0OTMwODU5Yzc2M2Y3YTFlM2Y1MSIsCiAgInByb2ZpbGVOYW1lIiA6ICJsYXVjaGxhbjEwNSIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS9jOWYxYmU4Zjk0NmYxYWYzN2YzNjI5NjIyYWE5ZDJiMmQ2YzYyY2RjYjIzMjkwNjk5OTI2ZjhjZDk4NGYwYzYwIgogICAgfQogIH0KfQ==",
    "signature" : "ucu52Cr4IPbXh0+rA7gRVbrlDhHt2gQ/fC0Rc0CknTJwxEx4iB3fBuLLc6GvdCvdpfGn2Ehd9+k8YFHyhgj0T9jTS9hjFGSOCpb3lNFoPtiVduQSBJDalg2tJzizTEHimZdOwDM7sB3kl1McLt/zJ/g3VoEMR/n0BvaBaTNrR6zjWQQscogDO//UzUsE6B3HC08U5GDNmSHWe6YNiBbmgvx1RVbgINcDPMhHZ8uJfi62OwSucjdOx9WMXX1HnqkzWyEQg7j436cZpiE/iFkf4xdj4EW6yU2LXI0scBnGXrq+1UYwkr+ggqig+SFdHs3sjqx2x2NhFaPZBhJC/ji/pCEMF+UViUYgXkp/JgXq0em8BMnqab1SUTsI8BtF5XGHQBK6MFo+ETNMwQLnouk2zCpSPsn1JnF3PycZO873ULNvSMSXcRexuqrqxqJCzq0av9zeqX9VnlbLuvbZFmKwixS5L95NYWaAoU4n9hPC9KmT9CjYh++3Zdc+x2UQLJaUd+o7wxa1G4B1eZIvW0xM0+8OmyPnVWUeK11r6wxAdg92/s1/d9zy8B9voxKNKldCEjdntRfk1SVKnr0ivc3pWkHakJ7NiNuM4/hLmUHk0gYncY8dnMtMcfCtzxNLysy2YpLEYBxhSW73kquABLVRrDal46SAATR/Cy6rqUBsQhA="
  } ]
}
[12:50:56] [User Authenticator #1/INFO]: [STDOUT]: false / User Authenticator #1
[12:50:56] [User Authenticator #1/INFO]: UUID of player lauchlan105 is cf5ad631-9a30-4930-859c-763f7a1e3f51
[12:50:56] [Server thread/DEBUG]: Sent accepted channels to the client for "com.mojang.authlib.GameProfile@72a4d26b[id=cf5ad631-9a30-4930-859c-763f7a1e3f51,name=lauchlan105,properties={textures=[com.mojang.authlib.properties.Property@2a371cfd]},legacy=false] (/<my ip>:57370)"
[12:50:56] [Netty Epoll Server IO #2/DEBUG]: Handling inbound login query with id 0
[12:50:56] [Netty Epoll Server IO #2/DEBUG]: Received accepted channels from the client for "com.mojang.authlib.GameProfile@72a4d26b[id=cf5ad631-9a30-4930-859c-763f7a1e3f51,name=lauchlan105,properties={textures=[com.mojang.authlib.properties.Property@2a371cfd]},legacy=false] (/<my ip>:57370)"
[12:50:56] [Server thread/INFO]: lauchlan105[/<my ip>:57370] logged in with entity id 16 at (-12.232864996764633, 64.0, 83.19632809556113)
[12:50:56] [Server thread/WARN]: Failed to handle packet for /<my ip>:57370
java.lang.NullPointerException: The validated object is null
        at org.apache.commons.lang3.Validate.notNull(Validate.java:225) ~[intermediary-server.jar:?]
        at org.apache.commons.lang3.Validate.notNull(Validate.java:206) ~[intermediary-server.jar:?]
        at com.qouteall.hiding_in_the_bushes.MyNetwork.createDimSync(MyNetwork.java:119) ~[b5dc64a7-6a68-47b7-9298-2734a8d04422.jar:?]
        at net.minecraft.class_3324.handler$zim000$onConnectionEstablished(class_3324.java:2985) ~[intermediary-server.jar:?]
        at net.minecraft.class_3324.method_14570(class_3324.java:182) ~[intermediary-server.jar:?]
        at net.minecraft.class_3248.handler$zcg000$acceptPlayer_BF(class_3248.java:712) ~[intermediary-server.jar:?]
        at net.minecraft.class_3248.method_14384(class_3248.java) ~[intermediary-server.jar:?]
        at net.minecraft.class_3248.redirect$zhp000$handlePlayerJoin(class_3248.java:1062) ~[intermediary-server.jar:?]
        at net.minecraft.class_3248.method_18785(class_3248.java:65) ~[intermediary-server.jar:?]
        at net.minecraft.class_2535.method_10754(class_2535.java:228) ~[intermediary-server.jar:?]
        at net.minecraft.class_3242.method_14357(class_3242.java:173) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:882) ~[intermediary-server.jar:?]
        at net.minecraft.class_3176.method_3813(class_3176.java:312) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670) ~[intermediary-server.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
[12:50:56] [Server thread/DEBUG]: Disabled auto read
[12:50:56] [Netty Epoll Server IO #2/DEBUG]: Enabled auto read
[12:50:56] [Server thread/INFO]: lauchlan105 lost connection: Internal server error
[12:50:56] [Server thread/INFO]: lauchlan105 left the game

Post the full log.

Post the full log.

I've already posted the full crash dump of the chunk exception - the rest of the logs for the connection error are just the normal server startup logs as far as I'm concerned, but sure... runtime.txt
Its 1am where I'm at so I'll be offline for a couple hours. I hope this helps.
If this isn't what you wanted just specify what it is you're after and I'll grab it tomorrow if I have the time.

I've already posted the full crash dump of the chunk exception - the rest of the logs for the connection error are just the normal server startup logs as far as I'm concerned, but sure... runtime.txt
Its 1am where I'm at so I'll be offline for a couple hours. I hope this helps.
If this isn't what you wanted just specify what it is you're after and I'll grab it tomorrow if I have the time.

Seems that immersive portals's injection on server loaded was not invoked because Start Completing Dimension Id Record does not show up in the log.

Seems that immersive portals's injection on server loaded was not invoked because Start Completing Dimension Id Record does not show up in the log.

In 1.16.1 I got cardboard and immersive portals working. But in newer versions it give errors again


Refactor out libxml-ruby because it is not maintained

You should refactor out your dependency on libxml-ruby because it is not actively maintained.  It also has a severe memory corruption bug when used with the more common XML parsing gem, nokogiri.
See https://github.com/sparklemotion/nokogiri/issues/1426

:+1:

Thanks for pointing this out, we have added this work to our backlog

Any updates on this?

Hi Chirag, unfortunately it is still part of our backlog. I will update the thread once we have it in our active plan.


Cleanup application struct

The application struct is supposed to define commands and queries which can be called externally. This is slightly different from normal approach but this is what we decided at some point. Because of this commands which are strictly internal were removed. This should reduce confusion from the bindings perspective.
Added a missing DownloadFeed command to the application struct.

Merging without code review as this is a simple change @czeslavo.


Python 2 urllib compatibility issue

Hi there,
Trying to run your package using Python 2.7.13, and having issues with import of urllib.request so I added a check that imports from urllib (Python2) if it can't find the Python3 version.
Thanks,
Brian

Thanks! I don't run 2.7 much but I suppose I should probably add it to travis.


Mixing map annotations with other properties

I may not have a great understanding of how the objects-as-maps type system should work, but it's strange to me that Flow lets you add map-violating properties to an object literal at time of creation, only to throw an error when you attempt to read from it.
For example:
var numToString: { [key:number]: string} = {
  foo: 'bar' // no error here, even though the key is not a number
};
numToString.foo; // throws an error because the key is a string
numToString['foo']; // throws an error because the key is a string

You get the same behavior if you include the property in the type annotation:
var numToString: { foo: string; [key:number]: string} = {
  foo: 'bar' // no error here
};
numToString.foo; // throws an error
numToString['foo']; // throws an error

With the current behavior, the only reason I can think of to allow mixing map annotations and specific-property annotations would be to mark some keys as required, and that would only work (as-is) if you're using a map from strings to something else.
Intuitively, my guess is that my first example should throw an error at the time of creation, but that my second should work throughout (i.e., adding specific-property annotations is way of white-list properties that don't adhere to the overall map type).

My understanding is that it only make sense for keys to be string, so the { [key: number]: string } type is not really worth supporting. In fact, I'd argue that providing a syntax to specify key types isn't very sensible.

I ran into this as well, and after a bit of digging, it looks like the cause is in the (ObjT, GetT) flow, which always compares the property with the indexer, without considering that the property could be in the prop map instead.

This no longer reproduces.


[FR]: include (de)activation scripts in venvs

What is the current behavior?
I've a repository with multiple python distribution packages. I have this rule at the root of my repo meant to create a venv for use by my IDE:
py_venv(
    name = "venv",
    deps = [
        ...
    ]
)

The venv produced by rules_py does not include (de)activation scripts. I'm using version 0.7.3 of the rules.
Describe the feature
Add activate/deactivate scripts in the venv as per regular venv creation.

I think it would still be useful to have the activation script for users who aren't using VSCode like integrations that handle this automatically. For example if you use vim and you want the env in that editor to point to the generated venv, you'd virtually have to write your own activation script AFAIUI

:+1: To request. For a concrete use case:
I use a mixture of VSCode integrations and the VSCode integrated terminal which can auto-activate the current venv. This nicely allows me to use dev tool CLIs without needing to be super careful about python location.
So if I'm bazeling with bazel test and see a failure, I can either click my way through VSCode's testing (with some hotkeys internalized) and set a debugger OR run pytest -k 'name of failing test' --pdb to poke around and find a good first place for the editor debugger.


Small corrections to SCCS739 & SCCS740

Added "Males" to name of variable SCCS739
Changed "Female" to "Females" in name of variable SCCS740; changed type from "ordinal" to "categorical"

Thanks Kate


"Go to definition" No Support static resources (png、svg...)

Vue - Official extension or vue-tsc version
v2.0.6
VSCode version
1.91.0
Vue version
latest
TypeScript version
latest
System Info
No response
Steps to reproduce

visit a website https://github.dev/johnsoncodehk/volar-starter
edit tsconfig.json、 vite.config.ts Configure aliases "@".

edit app.vue

- import HelloWorld from './components/HelloWorld.vue'
+ import HelloWorld from<EMAIL_ADDRESS>+ import iconLogo from<EMAIL_ADDRESS>

Use 'Ctrl'+'left mouse button' or 'F12' to click on two reference paths separately

.vue Correctly go to defined position. but .png  redirected to  client.d.ts
What is expected?
. png  Jump and open file resources
What is actually happening?
"Go to definition" No Support static resources (png、svg...)
Link to minimal reproduction
No response
Any additional comments?
No response

What is client.d.ts

What is client.d.ts

vite/client.d.ts。 It is in the vite npm package

I'd argue this is typescript's behavior. You may re produce this issue in a .ts file

I'd argue this is typescript's behavior. You may reproduce this issue in a .ts file

But I found that the '.vue' file to jump definition is implemented by the 'Vue - Official' plug-in. Only by enabling the plug-in can the '.vue' file definition be jumped. typescript should only handle '.ts' files

typescript should only handle '.ts' files

Your assumption is wrong see https://www.typescriptlang.org/docs/handbook/modules/reference.html

We follow typescript's behaviors. We don't modify them. If you still jumps to client.d.ts in a typescript file, it's not our fault then.
BTW this is how typescript's declare module works as reference by @RayGuo-ergou


Help Wanted: How can I get outputs from monorepo

I used matrix for monorepos, here is my workflow:
  release-please-release:
    runs-on: ubuntu-latest
    name: Release Please Release
    needs: change-finder
    if:  ${{ needs.change-finder.outputs.changed == 'true' }}
    strategy:
      fail-fast: false
      matrix:
        plugin: ${{ fromJson(needs.change-finder.outputs.plugins) }}

    steps:
      - name: Release Please Release
        uses: google-github-actions/release-please-action@v3
        id: release_please_release
        with:
          release-type: simple
          package-name: ${{ matrix.plugin }}
          path: ${{ matrix.plugin }}
          monorepo-tags: true
          command: github-release
          pull-request-title-pattern: 'chore${scope}: 🔖 release${component} ${version}'

I notified outputs for monorepo will have a prefix of package name.

I tried following ways to get outputs of monorepo, but they did not working, I also searched issues and google for help, but I did not find solutions.
${{ steps.release_please_pr.outputs.${{matrix.plugin}}--release_created' }}
${{ format('steps.release_please_pr.outputs.{0}--release_created', matrix.plugin) }}

Is there any way to get outputs with monorepo dynamic package names?

I used this way to resolve, sorry for the interrupt.
${{ steps.release_please_release.outputs[format('{0}--release_created', matrix.plugin)] }}


feat(Ads): Add content resume/pause requested events

This change simplifies the integration of HLS interstitials on platforms that do not support multiple video elements.

@shaka-bot test


Make DashboardOrderItem to be able to switch between course runs in a specific route

Purpose
Implement the following sketches

Tasks

[x] Refactor DashboardItemOrder to make it iterate over its target_courses instead of enrollments
[x] Move ad-hoc components outside of DashboardItem folder
[x] Remove DashboardItemEnrollmentFooter.tsx and use instead DashboardItemCourseEnrolling.tsx
[x] Update messages keys of DashboardItemCourseEnrolling.tsx + description field
[x] Show loader when updating enrollment
[x] Synchronize dashboard enrollments and syllabus ones
[x] Factorize code with CourseProductItem and similars
[x] Implements two kind of order view
[x] API calls and cache
[x] Fix red ::after of dashboard-sub-item-list__item
[x] Hide past course runs
[x] Back button must redirect to the courses list
[x] Do not show canceled orders
[x] Rebase master to use useResources
[x] Empty placeholder
[x] handles errors
[x] Remove session from useProduct
[x] Storybook
[x] Tester tunnel vente suite à la modification de useOrders

Finally ready for review 🚀


Add more auth detection support for LDAP and improved Oauth and more

Several key rules/patterns needed to address missing auth patterns for SAML, Basic Auth, a missing Microsoft login URL, active directory, Oauth, NTML, and more.

fixed with commit #37


Windows servercore containers: Not possible to delete files/folders that start with $

In windows servercore containers it is not possible to delete all files/folders that start with $.
If there is a folder containing folders/files that start with $, that is added via Dockerfile then the first file/folder (in alphabetical order) cannot be removed properly. There is no error message, but the file/folder is still listed in the folder. If you try to open the file / enter the folder, you receive an error message, that the file/folder does not exist.
To recreate the issue:

Create an Folder "context with the follwoing structure:context
|-- $abc
|-- $def
|-- $ghi
|-- files
|    |-- $abc.txt
|    |-- $def.txt
|    |-- $ghi.txt
Use this folder as context to build the following dockerfile
FROM mcr.microsoft.com/windows/servercore:20H2
ADD . context
Start an interactive container of this image and try to delete $abc, resp. $abc.txt

It doesn't matter if you use cmd or powershell, rmdir or remove-item, the file/folder will be listed after beeing removed.
This leads additionally to the fact that it is not possible to delete the folders 'files' or 'context' recursively, because windows detects a subfolder/file that it tries to delete, but cannot be deleted because it doesn't exist.
I tried this with mounted folders as well, but there is no error. The file/folder gets deleted like expected.
Are there any suggestions regarding this behavior. I would also appreciate a workaround.
Thank you

Hi @PNe-ins I tried to set up a repro environment. Rather than use 20H2-version images I opted for WS2022-versioned images. I was not able to repro this--I could delete both files and folders prefixed with a '$'. See below commands, is that what you tried?

Hi @cwilhit
Yeah that's pretty much the szenario. Tried the same command on a 20H2 image an got the same result as described at first:

Unfortunally, as we are using Windows Server 2019 Hosts, I cannot simply use 2022 Images.
Tried it with 2022 images anyway and it worked with 'remove-Item' in powershell, as well as with 'rmdir' in cmd. Seems to be fixed in server 2022. Now i know at least, that it will work as soon as we use server 2022.
Thank you 👍

You're welcome. I am going to mark this issue closed with recommendation for other users who might visit this issue to please roll forward to WS2022 if this is impacting them.


Smithy Protocol Test Generator

Description
This PR includes the Java plugin for the protocol test generator and 1 of each type of protocol test (request/response for each protocol). The protocol tests are defined in the [smithy repository] (https://github.com/smithy-lang/smithy/tree/main/smithy-aws-protocol-tests/model). The protocol tests are generated from smithy, but the structures and shapes used in the protocol tests are generated from C2J.
For the member of the smithy team reviewing this, rather than reviewing the generated C# code, I think a review of the java plugin for best practices / possible inefficiencies would be the best use of your time. We were guided not to use DirectedCodegen, since we are just building a Protocol Test Generator. If I'm using an api incorrectly or there is a more efficient way to do things, please comment on the PR.
For the .NET team, a look at the generated code / custom code in the protocol tests project is sufficient, but if you would like to review the java plugin that would be appreciated as well, but not required.
Please ignore all the gradlew stuff and the smithy-dotnet-codegen-test project
NOTE: Running and iterating on the broken protocols is not part of this task. We are merging into a feature branch if approved.
Motivation and Context

The .NET SDK has been around before the smithy protocol tests were defined, so while other smithy-based SDKs have onboarded to the smithy protocol tests, we have not. There are numerous cases defined in the internal smithy protocol tests design document which could've been avoided if we had implemented protocol tests. Due to it being an internal document I cannot paste it here.
Testing

Ran the protocol test generator to view the generated C# code and fixed any incorrectly generated test cases by tweaking the plugin. At this point I feel the test generator is close to complete
Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have read the README document
[x] I have added tests to cover my changes
[ ] All new and existing tests passed

License

[x] I confirm that this pull request can be released under the Apache 2 license

Can you add a new README in generator/ProtocolTestsGenerator covering how to install prerequisites and how to run the generator?

@ashovlin Thanks for the suggestions. I went ahead and added a READM as well as the test documentation as XML comments. I also broke out each test into Arrange vs Act vs Assert and fixed other styling details


JSON files fixed issue #62

Wrote a script that edited all JSON files so they fix issue #62. @umpirsky please review.

@kosanovic This repository uses https://github.com/umpirsky/list-generator to generate the list. So, the right thing to do would be to update https://github.com/umpirsky/list-generator/blob/master/src/Umpirsky/ListGenerator/Exporter/Format/Json.php to export according to new format and use that instead.
Reason: If we do it like you proposed, changes will be lost on next build.
So, here is how it goes:

We update https://github.com/umpirsky/list-generator/blob/master/src/Umpirsky/ListGenerator/Exporter/Format/Json.php.
Release new version of https://github.com/umpirsky/list-generator
We update this repo to use new version (composer update ...)
Then we build.

Thanks.


refactor(imports): path mapping for import on all possible files

Hi @dario-rodriguez, could you please take a look to this PR when you have some time?
Thanks!


improve add test

Coverage increased (+2.9%) to 70.937% when pulling 17589f1defc7f90e039c763fc6f4d7f91ad5fc55 on improve_add_test into ad0b7d4021ec5fe3a7444979b6b0bbdcde51f963 on master.

nice, the chunk of lines got cleaned 💃


refactor: init newIndexToOldIndexMap

I think this change enhances code readability and improves performance.
If it's unnecessary, just close it~

see https://github.com/vuejs/core/pull/408


[Feature Request]: Make Pulsar IO connector publish messages asynchronously

What would you like to happen?
Currently the connector publishes messages to pulsar in a synchronous way.
https://github.com/apache/beam/blob/master/sdks/java/io/pulsar/src/main/java/org/apache/beam/sdk/io/pulsar/WriteToPulsarDoFn.java#L48
We need to make this publishing process async in order to improve the performance and throughput.
Issue Priority
Priority: 2
Issue Component
Component: io-java-pulsar

https://github.com/apache/beam/pull/22026


Week i forgor

CRUD - retheme as well as other various additions
OOP as well as here
Grading
Extra - Added search profile function using API

.7 Model
.8 View
.7 CPT


Folder "logs" can not be created, if a symlink with same name exists.

Version Number
1.18.3-nightly170 (Docker)
What branch are you on?
nightly
Describe the Bug
Coming from here: https://github.com/meisnate12/Plex-Meta-Manager/discussions/1350
I'm not sure, this is really a bug, but -to be honest- I would like to have a nicer handling. So let me explain:
I'm trying to "move" the PMM logs folder to /tmp because they don't need to be permanent IMHO.
I stopped the container, deleted the old logs folder, created a symlink, restarted the container and started PMM:
root@UnRaid:~# docker exec -it pmm python plex_meta_manager.py --run -c config/config.yml --no-missing -is
Traceback (most recent call last):
  File "//plex_meta_manager.py", line 129, in <module>
    logger = MyLogger("Plex Meta Manager", default_dir, screen_width, divider[0], ignore_ghost, test or debug, trace)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/modules/logs.py", line 53, in __init__
    os.makedirs(self.log_dir, exist_ok=True)
  File "<frozen os>", line 225, in makedirs
FileExistsError: [Errno 17] File exists: '/config/logs'

I guess, the message tells me, that PMM can not create its logs folder, because something (the symlink?) is in the way.
There is a workaround, to tell the docker container config to use that /tmp path directly, like -v '/tmp/pmm.logs/':'/config/logs':'rw' , and then create a symlink, say logs2 which points to /tmp/pmm.logs , but PMM still creates its own logs folder.
So there is an empty logs folder and the user needs to use the symlinked logs2.
Not exactly nice/transparent.
So my request would be:
Can we have the option to let PMM use the symlink instead of quitting with an error?
Thank you.

Is this only a problem when running in docker, or does the native run also show it?  Is this a docker-specific thing unrelated to PMM?

Is this only a problem when running in docker, or does the native run also show it? Is this perhaps a docker-specific thing unrelated to PMM?

I have no idea, but I would be happy to test this, IF I knew how...
(I only got PMM installed via the unraid "docker manager" and can't see how to run it native)

@gitttt54 is this still an issue?

@gitttt54 is this still an issue?

Unfortunately, yes, there is not difference since my initial post:
I just reproduced it via:

I stopped the container, deleted the old logs folder, created a symlink, restarted the container and started PMM:

Traceback (most recent call last):
  File "//plex_meta_manager.py", line 168, in <module>
    logger = MyLogger("Plex Meta Manager", default_dir, run_args["width"], run_args["divider"][0], run_args["ignore-ghost"],
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/modules/logs.py", line 54, in __init__
    os.makedirs(self.log_dir, exist_ok=True)
  File "<frozen os>", line 225, in makedirs
FileExistsError: [Errno 17] File exists: '/config/logs'

I reverted the changes (removed link and created a log folder) and it worked flawlessly.

I noticed that you are using pmm.logs as the folder for symlink. Perhaps PMM is seeing the .logs and thinks it's a file rather that directory?
Do you have any change in behavior if you use '/tmp/pmm/logs'?

@gitttt54 can you test with the latest nightly i think i figured out a fix

@gitttt54 can you test with the latest nightly i think i figured out a fix

atm, I can‘t test. It‘ll take a month at least I think.
I‘ll reply again, when test is done.


Add new file for the api gateway conf params

Signed-off-by: at670475<EMAIL_ADDRESS>Description
Add new markdown to collect GW parameters which can be set during Zowe runtime

Shouldn't the new file be in the user-guide?
This doesn't really feel like that strongly linked to the extending of the API ML.

Shouldn't the new file be in the user-guide?
This doesn't really feel like that strongly linked to the extending of the API ML.

Yes, I think you're right. I will move it


Low coverage for 'lcm' algorithm

Steps to reproduce

Open and configure project coreutils
Choose target libcoreutils.a
Generate tests for file gl/lib/buffer-lcm.c
Only one test is generated
See logs

Source code
size_t
buffer_lcm (size_t a, size_t b, size_t lcm_max)
{
  size_t size;

  /* Use reasonable values if buffer sizes are zero.  */
  if (!a)
    size = b ? b : 8 * 1024;
  else
    {
      if (b)
        {
          /* Return lcm (A, B) if it is in range; otherwise, fall back
             on A.  */

          size_t lcm, m, n, q, r;

          /* N = gcd (A, B).  */
          for (m = a, n = b;  (r = m % n) != 0;  m = n, n = r)
            continue;

          /* LCM = lcm (A, B), if in range.  */
          q = a / n;
          lcm = q * b;
          if (lcm <= lcm_max && lcm / b == q)
            return lcm;
        }

      size = a;
    }

  return size <= lcm_max ? size : lcm_max;
}

Test
TEST(regression, buffer_lcm_test_1)
{
    unsigned long actual = buffer_lcm(0UL, 2UL, 1UL);
    EXPECT_EQ(1UL, actual);
}

Coverage

Note
At least one other branch is trivial and may be covered with any input which meets the condition a > 0 && b = 0

KLEE don't have enough time for generate second case. After increase timeout to 45 UTBot generate 3 cases.

Tests code
TEST(regression, buffer_lcm_old_test_1)
{
    // Construct input
    unsigned int a = 0U;
    unsigned int b = 1U;
    unsigned int lcm_max = 1U;

    // Expected output
    unsigned int expected = 1U;

    // Trigger the function
    unsigned int actual = buffer_lcm_old(a, b, lcm_max);

    // Check results
    EXPECT_EQ(expected, actual);
}

TEST(regression, buffer_lcm_old_test_2)
{
    // Construct input
    unsigned int a = 2U;
    unsigned int b = 0U;
    unsigned int lcm_max = 2U;

    // Expected output
    unsigned int expected = 2U;

    // Trigger the function
    unsigned int actual = buffer_lcm_old(a, b, lcm_max);

    // Check results
    EXPECT_EQ(expected, actual);
}

TEST(regression, buffer_lcm_old_test_3)
{
    // Construct input
    unsigned int a = 1U;
    unsigned int b = 0U;
    unsigned int lcm_max = 0U;

    // Expected output
    unsigned int expected = 0U;

    // Trigger the function
    unsigned int actual = buffer_lcm_old(a, b, lcm_max);

    // Check results
    EXPECT_EQ(expected, actual);
}


histogram zoom-in feature doesn't work on safari

@carlkesselman please provide more information..

I am closing the issue since it is not re-producible.


updated email validation function

hi, I just gave a try on this, do check it out
Thanks <3

Hi @goverdhan07 thank you for your code! Instead of making changes inside the Tests folder, you need to make the changes in the actual code folder, which you can find here. When you are done, submit the pull request to the csharp branch, please


Check-in Security Fixes

Description

Delete user email from check-in channel after check-in.
Update database with user details after successful check-in.

Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Discord
Checklist:

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

Database task yet to be done.

Make a new branch, after checking out from master, this pr is being rejected due to too many changes.


fix: Add missing derive(Debug) on adapters

As discussed in the chat, these derives from the main Bot are missing on the adapters making them incompatible.

Passes all core tests for me with cargo test --features full locally, I can squash the fixup commit or leave it as is, depending on your accepted PR workflow.

Fixed impl and squashed commits.


Fix: tde-387 fail on missing survey name

your pull request title should be fix: lower case for the conventional commit and TDE-...  upper case for ticket names, does linking work with lowercase tde-?


the object has been modified error for bicep-de during startup

Bug information
{"severity":"error","timestamp":"2023-11-16T22:29:42.656Z","name":"controller.controller","caller":"controller/controller.go:324","message":"Reconciler error","serviceName":"controller","version":"0.27","hostName":"controller-6645b974c5-j42l2","controller":"deployment","controllerGroup":"apps","controllerKind":"Deployment","Deployment":{"name":"bicep-de","namespace":"radius-system"},"namespace":"radius-system","name":"bicep-de","reconcileID":"0365d913-bc1d-4ae2-82a3-b67a2e58ab62","error":"Operation cannot be fulfilled on deployments.apps \"bicep-de\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:226"}
Steps to reproduce (required)
Run rad install kubernetes and watch Pod logs of ucp, bicep-de, controller, and applications-rp.
I have seen this error 3 times in the controller pod logs.
Observed behavior (required)
Seeing the error above.
Desired behavior (required)
Not sure if this is an edge case but just wanted to report just in case.
Workaround (optional)
System information
rad Version (required)
0.27.1
Operating system (required)
MacOS Apple Chip
Additional context
I have seen 3 errors and then no errors. Might be due to startup.
AB#10359

Thanks @ytimocin for opening this.
This kind of error occurs pretty often in Kubernetes controllers if another component is operating on the same object. In this case it's a Kubernetes Deployment so other controllers do operate on it.
@lakshmimsft we should look at all of the places in code where we make updates to the Deployment and see what the right thing is to do for error-handling. We can also look at using server-side-apply which won't have the same concurrency issues.

Tested this multiple times on v0.28.0 and was not able to reproduce the issue.
I believe the issue reported has been resolved with recent fixes and updates to Deployment Controller in PRs: https://github.com/radius-project/radius/pull/6864/files and https://github.com/radius-project/radius/pull/6853/files


fix: get params from reqeust object

The actual parameters are stored under '.params' not '.parameters'. Fixing that.

Does this code change not effect any unit tests? If not, can we add a test case to make sure it is parsing all the parameter options correctly?

Does this code change not effect any unit tests? If not, can we add a test case to make sure it is parsing all the parameter options correctly?

Didn't affect any existing unit tests, but shows that we weren't actually testing the merging of request parameters. Added a new test in the latest commit to test that this works properly.


[BUG] Cannot open files from Little File Explorer

Describe the bug
I can't open any files in Gallery if i try to access them from the Little File Explorer app. Gallery opens up, but the image is either fully black, or blank.
Using another gallery app (Camera Roll) i can open files from LFE, and using another file browser (File Explorer), i can open files with Gallery, so it's definitely a compatibility problem between Gallery and Little File Explorer.
To Reproduce
Steps to reproduce the behavior:

Download Little File Explorer
Browse through LFE to find an image
Open that image through the Gallery app

Expected behavior
Should open and show the picture.
Smartphone (please complete the following information):

Device: Nokia-TA1157
OS: Android 11
Version 2.0.0

Additional context
I originally reported this issue over at the LFE repository (see here) but since then, what i suspected was an LFE only problem might be something related to Gallery as well, that involves both apps. In that original issue, i tested it with yet anothe gallery app, Simple Gallery, which worked as well.
I'll tag its developer @martinmimigames (hi) for the sake of communication.

Confirmed


(compiler) erroneous collapse_shape in flux text encoder

What happened?
The flux-dev text encoder (CLIP + t5XXL) fails to lower in all precisions (fp32, bf16, fp16) with the following error:
iree-compile --iree-hal-target-device=amdgpu --iree-hip-target=gfx942 /home/eagarvey/shark-ai/flux_dev_te_bs1_512_fp16.mlir -o /home/eagarvey/shark-ai/flux_dev_te_bs1_512_bf16_amdgpu-gfx942.vmfb
/home/eagarvey/shark-ai/flux_dev_te_bs1_512_bf16.mlir:7548:15: error: 'tensor.collapse_shape' op expected the expanded type, 'tensor<77x77xf32>' to have a higher (or same) rank than the collapsed type, 'tensor<1x77x77xf32>'.
    %3124:2 = torch.operator "torch.aten._scaled_dot_product_flash_attention_for_cpu"(%3117, %3120, %3123, %float0.000000e00, %false_3737, %3072, %none_3738) : (!torch.vtensor<[1,12,77,64],f32>, !torch.vtensor<[1,12,77,64],f32>, !torch.vtensor<[1,12,77,64],f32>, !torch.float, !torch.bool, !torch.vtensor<[77,77],f32>, !torch.none) -> (!torch.vtensor<[1,12,77,64],f32>, !torch.vtensor<[1,12,77],f32>)
              ^
/home/eagarvey/shark-ai/flux_dev_te_bs1_512_bf16.mlir:7548:15: note: see current operation: %3221 = "tensor.collapse_shape"(%3145) <{reassociation = [[0, 1], [2], [3]]}> : (tensor<77x77xf32>) -> tensor<1x77x77xf32>

Steps to reproduce your issue
Download MLIR: fp16 bf16 fp32
run:
iree-compile --iree-hal-target-device=amdgpu --iree-hip-target=gfx942 --iree-hal-target-backends=rocm flux_dev_te_bs1_512_fp32.mlir -o flux_dev_te_bs1_512_fp32_amdgpu-gfx942.vmfb

What component(s) does this issue relate to?
Compiler
Version information
iree-org/iree@f82891431f
Additional context
No response

Here's a smaller reproducer for the tensor.collapse_shape error. It seems to be coming from torch-mlir.
Run with iree-opt repro.mlir --convert-torch-to-tmtensor

func.func public @main(%arg0: !torch.vtensor<[1,12,77,64],f16>, %arg1: !torch.vtensor<[1,12,77,64],f16>, %arg2: !torch.vtensor<[1,12,77,64],f16>, %arg3: !torch.vtensor<[77,77],f16>) -> !torch.vtensor<[1,12,77,64],f16> {
  %false = torch.constant.bool false
  %float0.000000e00 = torch.constant.float 0.000000e+00
  %none = torch.constant.none
  %0 = torch.aten.scaled_dot_product_attention %arg0, %arg1, %arg2, %arg3, %float0.000000e00, %false, %none, %false {name = "torch.aten._scaled_dot_product_flash_attention_for_cpu"} : !torch.vtensor<[1,12,77,64],f16>, !torch.vtensor<[1,12,77,64],f16>, !torch.vtensor<[1,12,77,64],f16>, !torch.vtensor<[77,77],f16>, !torch.float, !torch.bool, !torch.none, !torch.bool -> !torch.vtensor<[1,12,77,64],f16>
  return %0 : !torch.vtensor<[1,12,77,64],f16>
}

Here's a smaller reproducer for the f16 tensor.collapse_shape error. It seems to be coming from torch-mlir.
Run with iree-opt repro.mlir --convert-torch-to-tmtensor
func.func public @main(%arg0: !torch.vtensor<[1,12,77,64],f16>, %arg1: !torch.vtensor<[1,12,77,64],f16>, %arg2: !torch.vtensor<[1,12,77,64],f16>, %arg3: !torch.vtensor<[77,77],f16>) -> !torch.vtensor<[1,12,77,64],f16> {
%false = torch.constant.bool false
%float0.000000e00 = torch.constant.float 0.000000e+00
%none = torch.constant.none
%0 = torch.aten.scaled_dot_product_attention %arg0, %arg1, %arg2, %arg3, %float0.000000e00, %false, %none, %false {name = "torch.aten._scaled_dot_product_flash_attention_for_cpu"} : !torch.vtensor<[1,12,77,64],f16>, !torch.vtensor<[1,12,77,64],f16>, !torch.vtensor<[1,12,77,64],f16>, !torch.vtensor<[77,77],f16>, !torch.float, !torch.bool, !torch.none, !torch.bool -> !torch.vtensor<[1,12,77,64],f16>
return %0 : !torch.vtensor<[1,12,77,64],f16>
}
@monorimet were you having problems with f32 as well? I was able to get that compiling with iree @ ee6749d

I accidentally uploaded f32 MLIR with attention decomposed. Thanks for the catch.


Added to App Routing

Project URL

https://github.com/Zuikyo/ZIKRouter
Category

App Routing
Description

An interface-oriented router for discovering modules and injecting dependencies with protocol in OC & Swift, iOS & macOS.
Why it should be included to awesome-ios (optional)
ZIKRouter can handle route in a type safe way.
Checklist

[x] Only one project/change is in this pull request
[x] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 2 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

2930
301
http://nomad-cli.com redirects tohttps://nomad-cli.com/

2931
301
https://github.com/RahulKatariya/FrameworkTemplate redirects tohttps://github.com/RahulKatariya/SwiftFrameworkTemplate

  Generated by :no_entry_sign: Danger

Thanks for contributing 👍


Release the memory back into MemoryPool

The current KafkaConsumer code includes support for allocating buffers from MemoryPool when allocating bytes for requests to Brokers. However, the code doesn't release them back to the pool and hence, rendering pooling moot. Currently, it works because it uses MemoryPool.NONE which just mallocs buffer every time a buffer is requested. However, this won't work if a different memory pool implementation is used.
The consumer can't just release the pool back into the memory because the fetch requests keep on holding on to the references to the pool in CompletedFetch objects which live across multiple poll calls. The idea here is to use ref counting based approach, where the ClientResponse increments ref count every time a CompletedFetch object is created and decrement when the fetch is drained after a poll calls returning records.
For the rest of the things such as metadata, offset commit, list offsets it is somewhat easier as the client is done with the response bytes after response future callback is completed.
This PR also adds the ClientResponseWithFinalize class for debugging purposes as well protected by linkedin.enable.client.resonse.leakcheck flag. The class uses finalizer to check whether there is some issue in code due to which the buffer wasn't released back to the pool yet. However, during in an actual production setting, the finalizers are costly and hence, not enabled by default.
I have tested this by running this on one of the prod experimental boxes with finalizer enabled to make sure I didn't miss any usecases.

Thanks for the patch. Can you add a description to this PR, stating what is the problem it's addressing and how it's solved? It will help us in reviewing this better.

While the discussion for review has been happening here. The original PR to be approved exists at https://github.com/linkedin/kafka/pull/184


Updating default template to include metadata.rb and templates

There are a few Foodcritic rules that cover the metadata.rb file and template files that aren't covered by the existing matchers. This adds matchers for both.
Templates
FC034: Unused template variables
Metadata.rb
FC007: Ensure recipe dependencies are reflected in cookbook metadata
FC008: Generated cookbook metadata needs updating
FC031: Cookbook without metadata file

I've merged this into the upcoming release_1.10 branch.
Thanks for the patch


Get Zones

Can you separate the contract into zones?
In my Prosegur instalation, i have two zones with two alarms that can be individuality activated and deactivated.
When i use the HA integration, activating alarm makes it active into both zones.

Can you share the diagnostics from your integration ?
I don't have zones my self, so I need information about your install in order to understand If I can add that feature

Sure, i can share it, just need to see what needs to be redacted from the yaml.
From what i can tell you'll be interested in this fields (inside "data:"):
InstalationID ( is the same in both partition. Each partition has their own ID ( and )
      "services": [         {           "type": "V",           "statusCode": 200         },         {           "type": "CM",           "statusCode": 200         },         {           "type": "A",           "statusCode": 200         }       ],       "partitions": [         {           "id": someid1,           "installationId": anotherid,           "key": 1,           "name": "Casa1",           "status": "DA"         },         {           "id": someid2,           "installationId": anotherid,           "key": 2,           "name": "Casa2",           "status": "DA"         }       ],       "domoticDevices": [],       "latitude": "**REDACTED**",       "longitude": "**REDACTED**",       "contractId": "**REDACTED**",       "contractType": "V",       "address": "**REDACTED**"     },

From what I see, the two partitions should give place to 2 separate alarm panels...

But they don't, they only show one alarm panel that turns on/off both zones
A terça, 17/09/2024, 20:12, Diogo Gomes @.***> escreveu:

From what I see, the two partitions should give place to 2 separate alarm
panels...
—
Reply to this email directly, view it on GitHub
https://github.com/dgomes/ha_prosegur/issues/8#issuecomment-2356700086,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMJ3MJQDVRIBWS3NFPSII7LZXB5LJAVCNFSM6AAAAABOL2RRHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWG4YDAMBYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I was actually proposing 2 panels as a solution to the the separate areas.
I don't know how other alarm brands exposes areas in HA

Hi guys, did someone manage to make 2 zones in the contract?  I'm not a programmer, help me put two zones, I'll thank you))
And ... I haven't realized that that the video camera ( sensors) only give out the last photo from the archive, or how can I make a request for a new photo ?!
tnx!


Can't run freshly generated app: react-transform-hmr/lib/index.js could not be found

Description
I created a new project and tried to run it on an Android device connected to the computer (it has been authorized for debugging over ADB).
create-react-native-app MyApp
cd MyApp
yarn run android

After doing this I receive the following error on every launch:
21:07:51: Unable to resolve ./F:/Projects/Android/MyApp/node_modules/react-transform-hmr/lib/index.js" from "./C:\\Users\\szx\\Projects\\Android\\MyApp\\App.js`: The module `./F:/Projects/Android/MyApp/node_modules/react-transform-hmr/lib/index.js` could not be found"
21:07:51: Failed building JavaScript bundle

(same error on screen as well)
Expected Behavior
Expected the app to be started on the device.
Observed Behavior
Got this error:
Logs from serving your app will appear here. Press Ctrl+C at any time to stop.

21:07:51: Unable to resolve ./F:/Projects/Android/MyApp/node_modules/react-transform-hmr/lib/index.js" from "./C:\\Users\\szx\\Projects\\Android\\MyApp\\App.js`: The module `./F:/Projects/Android/MyApp/node_modules/react-transform-hmr/lib/index.js` could not be found"
21:07:51: Failed building JavaScript bundle
Building JavaScript bundle [=====================================================================================               ] 85%

The progress bar stops at 85% every time.
Environment

npm ls react-native-scripts:
`-- (empty)

npm ls react-native:
`--<EMAIL_ADDRESS>

npm ls expo:
`--<EMAIL_ADDRESS>

node -v:
v8.9.4

npm -v:
5.6.0

yarn --version:
1.5.1

watchman version:

bash: watchman: command not found
Also specify:

Operating system:
Microsoft Windows 10 Home
10.0.17134 Build 17134

Phone/emulator/simulator & version:
Android 4.4 KitKat

Reproducible Demo
https://drive.google.com/file/d/1t4UE19-cgZDzrcKt8pJzsWwy0mOt8Lqu/view?usp=sharing

I downloaded i used this version,
The version i had from react native scripts doesn't have a "lib" folder, so I downloaded and used the one below.
https://www.jsdelivr.com/package/npm/react-transform-hmr


Can support MSIs not on nodepool VMSS?

My understanding is that AAD pod identity can resolve any MSI that is in an RG for which the cluster identity has the identity operator role. See https://azure.github.io/aad-pod-identity/docs/getting-started/role-assignment/
az role assignment create --role "Managed Identity Operator" --assignee <ID> --scope /subscriptions/<SubscriptionID>/resourcegroups/<IdentityResourceGroup>

Does msi-acrpull also work this way? The readme appears to note that the MSI needs to be explicitly added to the nodepool VMSS.
Thinking about this some more, the nodepool approach has the advantage of limiting the access scope of the MSI to the nodepool. Maybe the best of both worlds would be if the nodepool MSI could optionally resolve MSIs that are in RG for which it has Managed Identity Operator role
:-)

Actually can you clarify which nodepool the comment refers to? The one that the deployment pods run or is it the node that the controller runs on... if it is the latter I guess that gives the entire cluster access to the entire set of identities right? (in which case my comment about access being scoped is invalid)

Actually can you clarify which nodepool the comment refers to? The one that the deployment pods run or is it the node that the controller runs on... if it is the latter I guess that gives the entire cluster access to the entire set of identities right? (in which case my comment about access being scoped is invalid)

The nodepool is the node that the controller runs on. And yes the entire cluster will be able to use the MSIs to generate image pull secrets.

My understanding is that AAD pod identity can resolve any MSI that is in an RG for which the cluster identity has the identity operator role. See https://azure.github.io/aad-pod-identity/docs/getting-started/role-assignment/
az role assignment create --role "Managed Identity Operator" --assignee <ID> --scope /subscriptions/<SubscriptionID>/resourcegroups/<IdentityResourceGroup>

Does msi-acrpull also work this way? The readme appears to note that the MSI needs to be explicitly added to the nodepool VMSS.
Thinking about this some more, the nodepool approach has the advantage of limiting the access scope of the MSI to the nodepool. Maybe the best of both worlds would be if the nodepool MSI could optionally resolve MSIs that are in RG for which it has Managed Identity Operator role
:-)

msi-acrpull and aad-pod-identity work in different ways. aad-pod-identity needs to have "Managed Identity Operator" role because it assigns/removes the MSIs to/from the nodepools dynamically. msi-acrpull doesn't do this.

because it assigns/removes the MSIs to/from the nodepools dynamically
So if I were to use both AAD Pod Id and this MSI-ACR pull would I be able to use the former to add MSI to the nodepool and then use the latter to use the newly added MSI to pull from ACR?

because it assigns/removes the MSIs to/from the nodepools dynamically

So if I were to use both AAD Pod Id and this MSI-ACR pull would I be able to use the former to add MSI to the nodepool and then use the latter to use the newly added MSI to pull from ACR?

I think it would work. As long as you created the correct AzureIdentity and AzureIdentityBinding before you create your AcrPullBinding because the correct AzureIdentity and AzureIdentiyBinding will signal aad-pod-identity to assign the correct MSI on the agent pool.
But it is important to note that aad-pod-identity intercept the call to get ARM token from IMDS endpoint so you should apply AzurePodIdentityException on the msi-acrpull pods
https://azure.github.io/aad-pod-identity/docs/configure/application_exception/

Seems like the question got answered here, closing.


Multiple detail panesl (sub grid) in different column ?

project object
{
  name: 'project 1',
  desc: 'project 1 desc',
  members: [user1, usr2]
  tasks: [task1, task2],
}

i want to show memebrs and tasks count on that column, and u can expend sub grid with them.
can we do something like this with ag-grid ?
this example only show 1 detail
https://www.ag-grid.com/javascript-grid-master-detail/exampleMasterDetail.html

it seems doesDataFlower work with this situation.
doesDataFlower(data) {
    return data
}

but i can't get parent colDef info with
fullWidthCellRenderer: DetailPanelCellRenderer

not sure what you mean by 'parent colDef info from parent colDef', as the rows all use the same column definitions.
unless you are using fullWidthCellRenderer, in which case there is no colDefs (as there are no columns), so again doesn't make sense.
if you want anything passed down to the child row, you should put it into your data (which you can access from the params).
ps closing, we want github for tracking issues with ag-Grid, not client applications.


GH-3032: RecoveryCallback on RetryingDeserializer

Fixes: #3032

Also missed an entry in the whats-new.adoc.
Thanks

Aren't we going to backport the change to 3.1.x though?

@artembilan How can I find when spring-kafka v3.1.2 will be included in a
  <parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-dependencies</artifactId>
    <version>...</version>
  </parent>

Should I assume in the next spring boot release? Is there a link with planned future spring boot releases?
Thanks again!


Node.contains

https://developer.mozilla.org/en-US/docs/Web/API/Node/contains

Data was added with #2875, still pending review.

Nice to see it was added. Any update on its review?

The "Data pending review" label was recently removed from #2875 (which had long been closed).
In addition, it looks like this is now covered by MDN data:
https://caniuse.com/mdn-api_node_contains
(via mdn/browser-compat-data#2603)


Small structure fixes

This needs to be backported to plone6-docs with a git cherrypick.
Please get into the habit of backporting the commit when it includes docs. If that is not possible, let's figure out another way to ensure doc changes get into Plone 6 Docs.


Better Readme with all Props

Environment
expo
Platforms
android
ios
Versions
9.1.0
First of all, thanks a lot for this great lib! I have an idea to making it a little better tough.
I think we could add some infos to README.md
i was facing the DarkMode on ios bug wich made my modal text dark look like this:

There is a lot of issues closed with this problem, i had to go through each one since i couldn't find a way to change this color on the lib props table (Readme). Then i went to source code and i found out that it passes 'otherProps' to '@react-native-community/datetimepicker'
Then i went to that lib to find out wich props were that. only then i found my way to change color (prop textColor) =(
I really think we could increment the props table with the props of '@react-native-community/datetimepicker'.
I dont have a lot of experience with RN or RN Community, so i simply ignored this line:

I Spent hours on issues and reading after resolving my problem:
const colorScheme = Appearance.getColorScheme()
const isDarkModePrefered = colorScheme === 'dark'

<DateTimePickerModal
        headerTextIOS="Selecione um horário"
        locale="en_GB"
        mode="time"
        is24Hour={true}
        isVisible={showTimePicker}
        date={value}
        textColor={isDarkModePrefered ? Colors.white : Colors.nightblack}
        isDarkModeEnabled={isDarkModePrefered}
        onCancel={() => setShowTimePicker(false)}
        onConfirm={time => {
          setState({ [valueKey]: time, showTimePicker: false })
        }}
      />

Please consider  making Readme better with those props.
I also think that this should be the default behaviour for handling dark mode.
Let me know if you find this proposal usefull or need any help

Hi @mtsmachado8 ! Thanks for the candid feedback :)
The reason why the README doesn't include all the community picker props, simply put, is because they're not in our control.
I think there are two issues here:

The dark mode issue you're mentioning shouldn't be there if you're using the latest versions of both this picker and the community picker. Are you sure you're using the latest versions of both of them?
We can add some more details to the line of the README you ignored in order to make it easier to understand.

What do you think? I'm open to contributions to the README 👍


delete_object method return 403 SignatureDoesNotMatch Error.

Describe the bug
I can use put_object method and get_object method successfully，but when I delete_object method return 403 SignatureDoesNotMatch Error.
error desicribe
thread 'uploader::tests::upload_file' panicked at src/uploader.rs:108:59:
called `Result::unwrap()` on an `Err` value: Http(403, "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error>SignatureDoesNotMatch<RequestId>tx0000000000000005782b9-0066164d99-57823ee-object-store-pool</RequestId><HostId>57823ee-object-store-pool-object-store-pool</HostId></Error>")
stack backtrace:

To Reproduce
test code like this
 #[tokio::test]
    async fn upload_file() {
        let region = Region::Custom {
            region: "".into(),
            endpoint: ENDPOINT.to_string(),
        };

        let credentials = Credentials::new(
            Some(&ACCESS_KEY.to_string()),
            Some(&SECRET_KEY.to_string()),
            None,
            None,
            None,
        )
        .unwrap();

        let mut bucket = Bucket::new(&BUCKET_NAME.to_string(), region, credentials)
            .unwrap()
            .with_path_style();

        let path = "test.txt";
        let content = Bytes::from_static(b"test content");
        let response_data = bucket.put_object(path, content.chunk()).await.unwrap();

        assert_eq!(response_data.status_code(), 200);

        let resp = bucket.get_object("test.txt").await.unwrap();
        assert_eq!(resp.status_code(), 200);

        let resp = bucket.delete_object("test.txt").await.unwrap();
        assert_eq!(resp.status_code(), 200);
    }

cargo.toml file
[package]
name = "aps"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
# -- Web
axum = "0.7.5"
tower-http = { version = "0.5.2", features = ["catch-panic", "trace"] }
http = "1.1.0"
# -- Serde
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.68"
# -- Async
tokio = { version = "1.0", features = ["full"] }
# -- Log
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# -- Database
sea-orm = { version = "0.12.15", features = [
    "debug-print",
    "runtime-tokio-native-tls",
    "sqlx-mysql",
    "mock",
] }

rust-s3 = { version = "0.33.0" }

# -- Others
toml = "0.7.4"
bytes = "1.6.0"
chrono = "0.4"
clap = { version = "4.5.4", features = ["derive"] }
tempfile = "3.10.1"

[dev-dependencies]
tower = { version = "0.4", features = ["util"] }
http-body-util = "0.1.0"
reqwest = "0.12.3"

Expected behavior
i expected delete successfully .thanks!
Environment

Rust version: [ 1.76]
lib version [0.33.0"]

@maojinhua, can't really be sure, DELETE has a pretty good test coverage, so I'd expect it to work. Not sure where you're running this, but a "" region will likely cause problems...


fix: typos in storage item declarations

@S0AndS0 @shibshib
Could you kindly take some time to review this PR?


Fix compile issues with NameId

I think it makes sense to use NameId directly in fea-rs, I'll add a commit that makes that change

This is blocking unless you patch crates so it would be really helpful if we could release nowish and do any further changes after.


Feature/balancing analysis

Adjusted grouping and facet to focus on portfolio also added command arg options

Now with command line args to open the config for ranges, etc, also flipped grouping and facets.  @wichtounet it is up to you where you want to take this.  I raised the PR just to get you the artifact most easily.  This version is more configurable but I plan to make at least a dozen other scripts for myself.  I can share those if you want later and maybe a PR is not the best way.  Please share your thoughts.

balancing_analysis.py localhost 8085 us_inflation 1000 30 4.0 1930 2010 5
Is an interesting result, confirming what I usually read.  There is no good answer to how to balance :).

Hi
It would be good to include this here for maximum exposure, but if you are going to include a dozen of scripts, it's probably not the best. Could you make one major script like I did, with options to select the feature?

Hello,
Agreed... but I may now choose another course of action.  This simulator has been so inspirational and the data you have curated is an easily overlooked gem.  I have become fascinated by the terminal values, some seem so unreal.  I have debugged through and I don't question their validity.
I think I'm going to compliment this fantastic simulator with something else, I will take the data and at least the SWR sim and port it to python.  Once there I can bring together so much more tech owing to all the incredible Python libs.  I know you favor cpp and perf, but the trade off for more functions and math at the fingertips is too much to ignore.  An ML model running on a T/GPU (google colab) with advanced vectorized math could be very snappy.
I'm not sure if this is something for exposure, ML is easy not to trust but fine to mess with as a hobbyist.  Again the data you have curated makes this effort worth it.  It would be cool to see how close an ML model can come to predicting the actual results from this FIRE sim.  Big companies probably have these sims many times over :).
I'm not FIRE by the way, I'm FINE, Financial Independence Next Endeavor... who can give up working in and around what you love too early?
All the best Baptiste


Update the encode function in BART hub_interface: to add an extra option for not always adding OOV tokens into vocabulary

Regarding this code line 62 in the encode function in BART hub_interface, in many cases (e.g. using a monolingual vocabulary reduced from an existing multilingual one), an OOV token should be aligned with <unk> index, rather than always being added as a new token type into the vocabulary.
Recent code: https://github.com/pytorch/fairseq/blob/main/fairseq/models/bart/hub_interface.py
    def encode(
        self, sentence: str, *addl_sentences, no_separator=True
    ) -> torch.LongTensor:
        tokens = self.bpe.encode(sentence)
        if len(tokens.split(" ")) > min(self.max_positions) - 2:
            tokens = " ".join(tokens.split(" ")[: min(self.max_positions) - 2])
        bpe_sentence = "<s> " + tokens + " </s>"
        for s in addl_sentences:
            bpe_sentence += " </s>" if not no_separator else ""
            bpe_sentence += " " + self.bpe.encode(s) + " </s>"
        tokens = self.task.source_dictionary.encode_line(bpe_sentence, append_eos=False) # Always add OOV token as new type
        return tokens.long()

Suggest to be as follows (https://github.com/datquocnguyen/fairseq/blob/main/fairseq/models/bart/hub_interface.py):
    def encode(
        self,
        sentence: str,
        *addl_sentences,
        no_separator=True,
        add_if_not_exist=True # Add an extra option
    ) -> torch.LongTensor:
        tokens = self.bpe.encode(sentence)
        if len(tokens.split(" ")) > min(self.max_positions) - 2:
            tokens = " ".join(tokens.split(" ")[: min(self.max_positions) - 2])
        bpe_sentence = "<s> " + tokens + " </s>"
        for s in addl_sentences:
            bpe_sentence += " </s>" if not no_separator else ""
            bpe_sentence += " " + self.bpe.encode(s) + " </s>"
        tokens = self.task.source_dictionary.encode_line(
            bpe_sentence, append_eos=False, add_if_not_exist=add_if_not_exist
        )
        return tokens.long()

With this suggested code, in the case mentioned above, encoding should be fairseq_model.encode(sentence, add_if_not_exist=False)
For mBART and the like, it still encodes and adds extra token types into the vocabulary (e.g. training for new languages) as before: fairseq_model.encode(sentence)

bump


Add s3:PutObjectAcl permission for production env sync user

The env-sync-and-backup project does a nightly sync of assets from the production S3 bucket to the staging and integration buckets. This is achieved using a env sync production user, govuk-assets-production-env-sync-user which has permission to get, put & delete objects in the target buckets. Unfortunately this meant the sync-ed objects had their owner set to the env sync production user. This in turn meant that the Asset Manager AWS user in staging & integration had no permission to do anything with the sync-ed objects - not even read them!
The way we've decided to fix this is to change the aws s3 sync command used in the env-sync-and-backup project to use the acl option set to bucket-owner-full-control (see https://github.com/alphagov/env-sync-and-backup/pull/37). However, in order to be able to use this option, we need to give the env sync production user permission to write object ACLs, i.e. by adding the s3:PutObjectAcl action to the relevant policy.
I tested these changes by applying the asset-manager project from master for production & integration against two different AWS accounts and then switching to the branch for this PR and applying the changes for the asset-manager project to both environments. The results were as expected, i.e in production the aws_iam_policy.asset-manager-env-sync-user was updated to include the s3:PutObjectAcl action for both staging & integration S3 buckets; and in integration the aws_s3_bucket_policy.asset-manager-env-sync-bucket was updated to include the s3:PutObjectAcl action for the production env sync user. See below for details:
AWS production changes
$ PROJECT_NAME=asset-manager DEPLOY_ENV=production rake apply
Initialized blank state with remote state enabled!
Remote state configured and pulled.
terraform apply -var-file=variables/production.tfvars /var/folders/h8/mjfyg9z90xsbtfq7jd8j62bw0000gn/T/tf-temp20171116-34500-6izbdx
aws_iam_role.asset-manager-backup: Refreshing state... (ID: asset-manager-backup-iam-role)
aws_iam_user.asset-manager-env-sync: Refreshing state... (ID: jm-govuk-assets-production-env-sync-user)
aws_iam_user.asset-manager: Refreshing state... (ID: jm-govuk-assets-production-user)
aws_iam_policy.asset-manager-backup: Refreshing state... (ID: arn:aws:iam::687105911108:policy/asset-manager-backup-iam-policy)
aws_s3_bucket.asset-manager-backup: Refreshing state... (ID: jm-govuk-assets-backup-production)
data.aws_iam_policy_document.asset-manager: Refreshing state...
data.aws_iam_policy_document.asset-manager-env-sync-user: Refreshing state...
data.aws_iam_policy_document.asset-manager-env-sync-bucket: Refreshing state...
aws_iam_policy.asset-manager: Refreshing state... (ID: arn:aws:iam::687105911108:policy/asset-manager-user-iam-policy)
aws_iam_policy.asset-manager-env-sync-user: Refreshing state... (ID: arn:aws:iam::687105911108:policy/asset-manager-env-sync-user-policy)
aws_iam_policy_attachment.asset-manager-env-sync: Refreshing state... (ID: asset-manager-env-sync-iam-policy-attachment)
aws_iam_policy_attachment.asset-manager: Refreshing state... (ID: asset-manager-user-iam-policy-attachment)
aws_iam_policy_attachment.asset-manager-backup: Refreshing state... (ID: asset-manager-backup-iam-policy-attachment)
aws_s3_bucket.asset-manager: Refreshing state...  Resources: 0 added, 1 changed, 0 destroyed.

The state of your infrastructure has been saved to the path
below. This state is required to modify and destroy your
infrastructure, so keep it safe. To inspect the complete state
use the `terraform show` command.

State path: .terraform/terraform.tfstate

AWS integration changes
$ PROJECT_NAME=asset-manager DEPLOY_ENV=integration rake apply
Initialized blank state with remote state enabled!
Remote state configured and pulled.
terraform apply -var-file=variables/integration.tfvars /var/folders/h8/mjfyg9z90xsbtfq7jd8j62bw0000gn/T/tf-temp20171116-36121-1i3kzss
aws_s3_bucket.asset-manager: Refreshing state... (ID: jm-govuk-assets-integration)
aws_iam_user.asset-manager: Refreshing state... (ID: jm-govuk-assets-integration-user)
data.aws_iam_policy_document.asset-manager: Refreshing state...
data.aws_iam_policy_document.asset-manager-env-sync-bucket: Refreshing state...
aws_iam_policy.asset-manager: Refreshing state... (ID: arn:aws:iam::699110273029:policy/asset-manager-user-iam-policy)
aws_iam_policy_attachment.asset-manager: Refreshing state... (ID: asset-manager-user-iam-policy-attachment)
aws_s3_bucket_policy.asset-manager-env-sync-bucket: Refreshing state...  Resources: 0 added, 1 changed, 0 destroyed.

The state of your infrastructure has been saved to the path
below. This state is required to modify and destroy your
infrastructure, so keep it safe. To inspect the complete state
use the `terraform show` command.

State path: .terraform/terraform.tfstate

@issyl0 has just applied these changes to integration, staging & production.


Is it possible to add a footer/signature to a org or a server

Not sure if this is the right place to ask?
Is it possible to add a footer/signature to a org or a server?

If you're talking about changing the UI and not email messages, you could update the haml files yourself to add what you need but any changes could get removed by future updates.


[KYUUBI #4535][FEATURE][UI] Split dev & release vite config

Why are the changes needed?

Close #4535
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[x] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

CC @pan3793 @zhaohehuhu

As reminder, seems vite.conf server won't affects build, i would submit another pr.