feat(scully): use typescript for config files

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/scullyio/scully/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[x] Yes
[ ] No

It now expects a config TS file, and will throw if its not there.
Other information

This pr removes  schematics/scully/package-lock.json.
Is it on purpose?

@atao60, yes, as we are in a mono-repo, and those are out of sync by definition.

@SanderElias, OK. What are your recommendation to resolve conflict with pr #531?


device.player_name return none, even though device answers

after creating a device with device = soco.SoCo('ip')
the call to device.group dumps the soap response (debug log) (with oldscool encoding &<t; > "):
but the answer ist None.
example:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetZoneGroupStateResponse xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><ZoneGroupState><ZoneGroups><ZoneGroup Coordinator="RINCON_5CAAFDF67FFA01400" ID="RINCON_5CAAFDF67FFA01400:3415358236"><ZoneGroupMember UUID="RINCON_5CAAFD5ED3AA01400" Location="http://<IP_ADDRESS>:1400/xml/device_description.xml" ZoneName="Küche" Icon="x-rincon-roomicon:kitchen" Configuration="1" SoftwareVersion="61.1-83170" SWGen="2" MinCompatibleVersion="60.0-00000" LegacyCompatibleVersion="58.0-00000" HTForwardEnabled="0" BootSeq="161" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="0" IdleState="0" MoreInfo=""/><ZoneGroupMember UUID="RINCON_5CAAFD5ED3A801400" Location="http://<IP_ADDRESS>:1400/xml/device_description.xml" ZoneName="Sofa" Icon="x-rincon-roomicon:masterbedroom" Configuration="1" SoftwareVersion="61.1-83170" SWGen="2" MinCompatibleVersion="60.0-00000" LegacyCompatibleVersion="58.0-00000" HTForwardEnabled="0" BootSeq="176" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="0" IdleState="0" MoreInfo=""/><ZoneGroupMember UUID="RINCON_5CAAFDF67FFA01400" Location="http://<IP_ADDRESS>:1400/xml/device_description.xml" ZoneName="Wohnzimmer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="61.1-83170" SWGen="2" MinCompatibleVersion="60.0-00000" LegacyCompatibleVersion="58.0-00000" HTForwardEnabled="0" BootSeq="139" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="0" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="1" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" VirtualLineInSource="airplay" IdleState="0" MoreInfo=""/></ZoneGroup></ZoneGroups><VanishedDevices></VanishedDevices></ZoneGroupState></u:GetZoneGroupStateResponse></s:Body></s:Envelope>

Could you describe your speaker configuration in a little more detail, please? What are the speakers involved, how are they grouped/paired/bonded, etc? Thanks.

i have removed the umlauf. same result.
this is my setup:
Python 3.7.3
SoCo Version: 0.11.1
I have three speakers (play 5 and two play 3), together in one group.
I wonder why I do not have version 0.20? I just pipped it to my raspberry...

i force upgrades to version 0.20, I works fine now. thanks for the hint. one more question, tough
soco.discover() returns None. Here's the debug output (my hue bridge is answering):
DEBUG:soco.discovery:Received discovery response from ('<IP_ADDRESS>', 1900): "b'HTTP/1.1 200 OK\r\nHOST: <IP_ADDRESS>:1900\r\nEXT:\r\nCACHE-CONTROL: max-age=100\r\nLOCATION: http://<IP_ADDRESS>:80/description.xml\r\nSERVER: Hue/1.0 UPnP/1.0 IpBridge/1.41.0\r\nhue-bridgeid: ECB5FAFFFE01FEB8\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:2f402f80-da50-11e1-9b23-ecb5fa01feb8\r\n\r\n'"

great software bye the way. thanks!

SoCo Version: 0.11.1

That would certainly cause some issues! :)

... one more question, tough soco.discover() returns None. Here's the debug output (my hue bridge is answering): ...

The response from the Hue is being (correctly) ignored.
There are two reasons I've come across for discover() returning None when there are Sonos devices on the network:

The MCAST request is being sent on the wrong interface(s): you can use (e.g.) discover(interface_addr="host_IP_address") to force discovery on a specific interface. You may also want to try increasing the timeout (although I doubt that's the issue).

The network is not passing SSDP multicast packets correctly. This can happen on complex networks with bridging where forwarding has not been set up correctly, or on some networks with routers that (e.g.) don't forward SSDP packets between the wired and wireless interfaces.

Is it possible you're encountering one of these problems? (Incidentally, both will be addressed in SoCo 0.21.)

great software bye the way. thanks!

Thanks, even if I can only take a very tiny amount of credit for that!

this might be a silly question, but how do i find out if a speaker is currently playing music?

thanks, everything ist working fine after the upgrade


gallery

When upload an image this show  a 'failed' message after this finished

that suggests that your server is not properly acknowledging the upload. see https://docs.fineuploader.com/branch/master/endpoint_handlers/traditional.html


attempt to add metal on mac

still needs testing.

Hey, I having a mac m1 happy to test if needed.

@philschmid, thanks for the offer, unfortunately I know it does not work at the moment. There's not much need for us (utilityai) to add mac support - so I've put up my attempt here in the hopes someone else brings it across the finish line.
There are examples for working build scripts in llm https://github.com/rustformers/llm  and shadowmint's llama-cpp-rs https://github.com/shadowmint/llama-cpp-sys/ but I have not been able to replicate them successfully.
You can see some documentation of my attempt in #8 if you (or anyone else) want to take a stab at adding metal support.

working on my m1 mac @24 tokens per second. Nice.
I also changed the c/cpp versions to 11, this lines up with what llama.cpp uses but seems to have broken the docker build. Investigating.


use string for Gem.paths

quick fix for the deprecation message coming from Gem.paths, this should be cleaned up; there's a round trip of splitting into array in java and then unsplitting the array in ruby...
close #117

Coverage remained the same at 76.87% when pulling a0c6c30e183fdd508b709ad12f56a98d5009bd10 on issue#117 into 2eb0da02887b7c0b0fa9c10a13a622e93062e126 on master.


Conda-Store trait for indexed channels

Currently the indexed conda channels are the same as the allowed channels. We should separate this logic so that we can control which channels have autocomplete even when we explicitly allow all channels.
These are the channels for which we know the packages that are available. This will fetch/prepopulate the available packages. I am completely open to a better trait name.

@costrouc can you give a reproduction scenario please ?

@pierrotsmnrd not sure entirely what you mean. Are you asking for a scenario where in the past things would not have worked?

Yes, so I can understand better what's going on

So current there is only one setting
c.CondaStore.allowed_conda_channels = ['conda-forge']

This has loaded behavior. It:

sets conda-forge as the only allowed channel
conda-store will search/index only this particular channel in it's package database tables.
if allowed_conda_channels is the empty list e.g. [] then all channels are allowed in conda-store ... but they conda-store doesn't know which channels to index

I'm proposing removing the "implicit" behavior of allowed_conda_channels where it is used for getting the channels to index and split into a indexed_conda_channels trait which is used.
So
c.CondaStore.allowed_conda_channels = []
c.CondaStore.indexed_conda_channels = ['conda-forge', 'defaults']

Would allow conda-store to "know" these are the particular channels that I should index and have available for searching. As you can tell with previous behavior c.CondaStore.allowed_conda_channels = [] would have made it so that conda-store doesn't know which channels to index.


Add fuzz tests

Signed-off-by: Wayne Zhang<EMAIL_ADDRESS>

Two issues remaining

there are a lot of text_format errors when running the fuzz tests.
not sure if the corpus files format is good.  since jwks is a JSON with double quote,  I used single quota. not sure if it works


Update package.json to include the repository key

With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your package.json REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information.
Published NPM packages with repository information:

webpage

Is there anything that is needed to land this pull request ?

ls there anything else I can do to land this pull request ?

Is there anything that is needed to land this pull request?


Unable to install terraform provider due to no hash available

Getting the error:
Initializing the backend...
Initializing provider plugins...

Finding a10networks/vthunder versions matching "1.4.2"...
Installing a10networks/vthunder v1.4.2...
╷
│ Error: Failed to install provider
│
│ Error while installing a10networks/vthunder v1.4.2: checksum list has no SHA-256 hash for
│ "https://github.com/a10networks/terraform-provider-thunder/releases/download/v1.4.2/terraform-provider-thunder_1.4.2_darwin_arm64.zip"
╵

Nevermind:
need to use thunder instead of thunder.

Closing


Crash Unwinding Packet{AttackEntity} After Ghast Fireball Explosion

Affected Product(s)
SpongeForge
Version
1.16.5-36.2.5-8.0.0-RC1105
Operating System
Linux
Java Version
Unknown
Plugins/Mods
LuckPerms-Sponge-5.4.18
Nope-Sponge-BETA-1.1.5

Describe the bug
I was fighting a Ghast two separate times and this error crashed the server both times when the ghast fireballs exploded.
Link to logs

This cannot be the error that crashed the server unless when you were fighting the Ghast, your server was in the process of shutting down.
Will need a full complete server log.

Sorry, this should be more helpful https://gist.github.com/pietelite/9e54b3d11442ca1550228d732bbaa1e4

Hmm no luck. There is one other way though...
Are you able to always reproduce this? Attacking Ghasts in the Nether? Moreso, with just SF itself?

Yep, I got it to happen again on a local server, using:

OS: Windows 10
java version "1.8.0_202"
forge-1.16.5-36.2.20
spongeforge-1.16.5-36.2.5-8.0.0-RC1105-universal

It didn't happen right away that time, I had to fight a few ghasts, but it eventually happened right when a fireball exploded on me.

How did you make it to the nether? By command or portal?

java.lang.NullPointerException: value
	at java.util.Objects.requireNonNull(Unknown Source) ~[?:1.8.0_202]
	at org.spongepowered.common.event.tracking.SpongeCauseStackFrame.addContext(SpongeCauseStackFrame.java:122) ~[spongeforge:1.16.5-36.2.5-8.0.0-RC1105]
	at org.spongepowered.common.event.tracking.phase.packet.player.AttackEntityPacketState.lambda$new$0(AttackEntityPacketState.java:55) ~[spongeforge:1.16.5-36.2.5-8.0.0-RC1105]
	at java.util.function.BiConsumer.lambda$andThen$0(Unknown Source) ~[?:1.8.0_202]
	at org.spongepowered.common.event.tracking.PhaseStateProxy.lambda$getFrameModifier$0(PhaseStateProxy.java:85) ~[spongeforge:1.16.5-36.2.5-8.0.0-RC1105]
	at org.spongepowered.common.event.tracking.PhaseTracker.checkProviders(PhaseTracker.java:765) ~[spongeforge:1.16.5-36.2.5-8.0.0-RC1105]
	at org.spongepowered.common.event.tracking.PhaseTracker.enforceMainThread(PhaseTracker.java:749) ~[spongeforge:1.16.5-36.2.5-8.0.0-RC1105]
	at org.spongepowered.common.event.tracking.PhaseTracker.pushCauseFrame(PhaseTracker.java:572) ~[spongeforge:1.16.5-36.2.5-8.0.0-RC1105]
	at net.minecraft.network.play.ServerPlayNetHandler.redirect$zgn000$impl$handlePlayerDisconnect(ServerPlayNetHandler.java:3501) ~[?:?]
	at net.minecraft.network.play.ServerPlayNetHandler.func_147231_a(ServerPlayNetHandler.java:1019) ~[?:?]
	at net.minecraft.network.NetworkManager.func_179293_l(NetworkManager.java:366) ~[?:?]
	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:149) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:865) ~[?:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291) ~[?:?]
	at net.minecraft.server.MinecraftServer.redirect$zca000$tracker$wrapUpdateTimeLightAndEntities(MinecraftServer.java:4268) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_202]

How did you make it to the nether? By command or portal?

Portal

Here's just the Crash log .log file

@pietelite
Can you give me any more specifics? I am running the dead latest code for SpongeForge for 1.16.5 and I cannot reproduce this. I have killed several ghasts, been hit by explosions, etc in both creative and survival. No crashes.

Try redirecting the fireballs, that's what I was doing

I was doing exactly that :). Accidentally speaking, aiming with a touchpad is a chore.
Ahem, anyways, yes I did that too and no issue.

I am running Optifine and a shaders... Do you think that's relevant?

Nope, this is happening in server code.

I tried it a few more times and it happens on the first or second explosion. Here's the stack trace again, from one of the later times:
[23:30:19] [Server thread/ERROR] [sponge/]:  Something happened when trying to unwind Packet{AttackEntity}
[23:30:19] [Server thread/ERROR] [sponge/]:  PhaseContext :
[23:30:19] [Server thread/ERROR] [sponge/]:      - Source: ServerPlayerEntity['PietElite'/313, l='ServerWorld[key=ResourceKey[minecraft:dimension / minecraft:the_nether],worldType=minecraft:the_nether]', x=31.66, y=80.00, z=-11.65]
[23:30:19] [Server thread/ERROR] [sponge/]:      - CapturedTransactions: TransactionalCaptureSupplier[tail=GameTransaction[], head=GameTransaction[], effect=null]
[23:30:19] [Server thread/ERROR] [sponge/]:      - PacketPlayer: ServerPlayerEntity['PietElite'/313, l='ServerWorld[key=ResourceKey[minecraft:dimension / minecraft:the_nether],worldType=minecraft:the_nether]', x=31.66, y=80.00, z=-11.65]
[23:30:19] [Server thread/ERROR] [sponge/]:      - Packet: net.minecraft.network.play.client.CUseEntityPacket@69efdf48
[23:30:19] [Server thread/ERROR] [sponge/]:      - ItemStackUsed: 1 AirItem[name=null]
[23:30:19] [Server thread/ERROR] [sponge/]:  Phases remaining :
[23:30:19] [Server thread/ERROR] [sponge/]:    - Phase: General{Unwinding}
[23:30:19] [Server thread/ERROR] [sponge/]:      Context:
[23:30:19] [Server thread/ERROR] [sponge/]:      - Source: ServerPlayerEntity['PietElite'/313, l='ServerWorld[key=ResourceKey[minecraft:dimension / minecraft:the_nether],worldType=minecraft:the_nether]', x=31.66, y=80.00, z=-11.65]
[23:30:19] [Server thread/ERROR] [sponge/]:      - UnwindingState: Packet{AttackEntity}
[23:30:19] [Server thread/ERROR] [sponge/]:      - UnwindingContext: BasicPacketContext{isCompleted=true}
[23:30:19] [Server thread/ERROR] [sponge/]:          - Source: ServerPlayerEntity['PietElite'/313, l='ServerWorld[key=ResourceKey[minecraft:dimension / minecraft:the_nether],worldType=minecraft:the_nether]', x=31.66, y=80.00, z=-11.65]
[23:30:19] [Server thread/ERROR] [sponge/]:          - CapturedTransactions: TransactionalCaptureSupplier[tail=GameTransaction[], head=GameTransaction[], effect=null]
[23:30:19] [Server thread/ERROR] [sponge/]:          - PacketPlayer: ServerPlayerEntity['PietElite'/313, l='ServerWorld[key=ResourceKey[minecraft:dimension / minecraft:the_nether],worldType=minecraft:the_nether]', x=31.66, y=80.00, z=-11.65]
[23:30:19] [Server thread/ERROR] [sponge/]:          - Packet: net.minecraft.network.play.client.CUseEntityPacket@69efdf48
[23:30:19] [Server thread/ERROR] [sponge/]:          - ItemStackUsed: 1 AirItem[name=null]
[23:30:19] [Server thread/ERROR] [sponge/]:    - Phase: Packet{AttackEntity}
[23:30:19] [Server thread/ERROR] [sponge/]:      Context:
[23:30:19] [Server thread/ERROR] [sponge/]:      - Source: ServerPlayerEntity['PietElite'/313, l='ServerWorld[key=ResourceKey[minecraft:dimension / minecraft:the_nether],worldType=minecraft:the_nether]', x=31.66, y=80.00, z=-11.65]
[23:30:19] [Server thread/ERROR] [sponge/]:      - CapturedTransactions: TransactionalCaptureSupplier[tail=GameTransaction[], head=GameTransaction[], effect=null]
[23:30:19] [Server thread/ERROR] [sponge/]:      - PacketPlayer: ServerPlayerEntity['PietElite'/313, l='ServerWorld[key=ResourceKey[minecraft:dimension / minecraft:the_nether],worldType=minecraft:the_nether]', x=31.66, y=80.00, z=-11.65]
[23:30:19] [Server thread/ERROR] [sponge/]:      - Packet: net.minecraft.network.play.client.CUseEntityPacket@69efdf48
[23:30:19] [Server thread/ERROR] [sponge/]:      - ItemStackUsed: 1 AirItem[name=null]
[23:30:19] [Server thread/ERROR] [sponge/]:    - Phase: Plugin{DelayedTask}
[23:30:19] [Server thread/ERROR] [sponge/]:      Context:
[23:30:19] [Server thread/ERROR] [sponge/]:      - Source: net.minecraft.util.concurrent.TickDelayedTask@1543c8c6
[23:30:19] [Server thread/ERROR] [sponge/]:  Stacktrace:
[23:30:19] [Server thread/ERROR] [sponge/]:      java.lang.NullPointerException: value
[23:30:19] [Server thread/ERROR] [sponge/]:      java.util.Objects.requireNonNull(Unknown Source)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.SpongeCauseStackFrame.addContext(SpongeCauseStackFrame.java:122)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.phase.packet.player.AttackEntityPacketState.lambda$new$0(AttackEntityPacketState.java:55)
[23:30:19] [Server thread/ERROR] [sponge/]:      java.util.function.BiConsumer.lambda$andThen$0(Unknown Source)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.PhaseStateProxy.lambda$getFrameModifier$0(PhaseStateProxy.java:85)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.PhaseTracker.checkProviders(PhaseTracker.java:765)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.PhaseTracker.enforceMainThread(PhaseTracker.java:749)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.PhaseTracker.pushCauseFrame(PhaseTracker.java:572)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.context.transaction.TransactionalCaptureSupplier.lambda$generateEventForTransaction$2(TransactionalCaptureSupplier.java:292)
[23:30:19] [Server thread/ERROR] [sponge/]:      java.util.Optional.map(Unknown Source)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.context.transaction.TransactionalCaptureSupplier.generateEventForTransaction(TransactionalCaptureSupplier.java:291)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.context.transaction.TransactionalCaptureSupplier.batchTransactions(TransactionalCaptureSupplier.java:251)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.context.transaction.TransactionalCaptureSupplier.processTransactions(TransactionalCaptureSupplier.java:172)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.TrackingUtil.processBlockCaptures(TrackingUtil.java:450)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.phase.packet.player.AttackEntityPacketState.unwind(AttackEntityPacketState.java:103)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.phase.packet.player.AttackEntityPacketState.unwind(AttackEntityPacketState.java:50)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.PhaseTracker.completePhase(PhaseTracker.java:403)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.PhaseContext.close(PhaseContext.java:325)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.phase.packet.PacketContext.close(PacketContext.java:139)
[23:30:19] [Server thread/ERROR] [sponge/]:      org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:263)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.network.PacketThreadUtil.mdcca467$lambda$tracker$redirectProcessPacket$0$0(SourceFile:552)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.server.MinecraftServer.redirect$zca000$tracker$wrapAndPerformContextSwitch(MinecraftServer.java:4315)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:734)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:159)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:717)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:711)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:697)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:646)
[23:30:19] [Server thread/ERROR] [sponge/]:      net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232)
[23:30:19] [Server thread/ERROR] [sponge/]:      java.lang.Thread.run(Unknown Source)
[23:30:19] [Server thread/ERROR] [sponge/]:
[23:30:19] [Server thread/ERROR] [sponge/]:  Minecraft : 1.16.5
[23:30:19] [Server thread/ERROR] [sponge/]:  SpongeAPI : 8.0.0
[23:30:19] [Server thread/ERROR] [sponge/]:  Sponge : 8.0.0
[23:30:19] [Server thread/ERROR] [sponge/]:  SpongeForge : 1.16.5-36.2.5-8.0.0-RC1105

Video: https://streamable.com/2jsyzo

Update: My server has crashed multiple more times on this same place (5 times total in the past 4 days) just doing normal stuff. One of them was right after I was fighting drowners in the ocean, I think it happened as I was hitting my boat (the source of the AttackEntityPacket?) Of course, some of them were during fighting the Ghast.

https://github.com/SpongePowered/Sponge/blob/api-8/src/main/java/org/spongepowered/common/event/tracking/phase/packet/player/AttackEntityPacketState.java#L55
expects to have a USED_HAND via PacketContext
https://github.com/SpongePowered/Sponge/blob/api-8/src/main/java/org/spongepowered/common/event/tracking/phase/packet/PacketContext.java#L101
which would have been set by
https://github.com/SpongePowered/Sponge/blob/api-8/src/main/java/org/spongepowered/common/event/tracking/phase/packet/player/AttackEntityPacketState.java#L82
maybe the context changed or got reset? @gabizou

I found a way to reproduce the crash with a 100% success rate:

Summon fireball right next to some blocks.
Hit the fireball into those blocks using an autoclicker (or just by clicking rapidly), so that it explodes immediately.

Also, I think this is related to #3669.

The two are the same issue as far as I can tell.

maybe the context changed or got reset?

It never got set. If the ServerboundInteractPacket has an invalid entityId (say zero, or the ID of an entity that has since been removed from the server), then isPacketIgnored returns true and the context just isn't populated.
The modifier already accounts for this for the entity itself, so we'll just account for the hand not being available too.


Enhancement: Simple script for Qualtrics link generation for WCCFL conference

Description

Full stand alone script for WCCFL Qualtrics links

See #171

Initial version of generate_wccfl_qualtrics_links script
Add get_articles_list function
Add use of urls module for tinyurl links
Add csv-file argument in script

Test plan

Update Changelog

[x] README.md, changelog

Slated for 03/12/21 or 03/15/21


Add support for Python 3.9 and 3.10. Drop 3.6

This PR depends on: https://github.com/kpn/py-timeexecution/pull/52


Please update the tutorial

This tutorial:
https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-get-started-python
points to the wrong github repository and contains many errors. Please update to be consistent with your github account and to successfully execute all commands. Thank you.

@SyntaxC4 Looks like this is another case of pivate repo. Can you make it public? I would but I'm having trouble relogging in when it prompts me for security.

I think it would also be a good idea to have someone try to run through the tutorial.
I found many instances where python was capitalized as Python. These simply were never actually run... just written.

Could someone please update this repository!!

I can't deploy Django with Python 3.x

@letanloc1998 don't use these samples you will have to create your own and then deploy. This might help as well.
https://stories.mlh.io/deploying-a-basic-django-app-using-azure-app-services-71ec3b21db08

@letanloc1998 don't use these samples you will have to create your own and then deploy. This might help as well.
https://stories.mlh.io/deploying-a-basic-django-app-using-azure-app-services-71ec3b21db08

I read this page about 10 times. It deploy on Linux. But Linux has no MySQL in app.
I overnight more 1 week to deploy on Windows. No document exact to deploy on Windows
~~

https://www.codementor.io/aswinmurugesh/deploying-a-django-application-in-windows-with-apache-and-mod_wsgi-uhl2xq09e Here's how to deploy on a windows server. @letanloc1998

https://www.codementor.io/aswinmurugesh/deploying-a-django-application-in-windows-with-apache-and-mod_wsgi-uhl2xq09e Here's how to deploy on a windows server. @letanloc1998

I deploy web app azure. Not windows server


[cglm] New port

Describe the pull request

What does your PR fix?
Adds new port for cglm

Which triplets are supported/not supported? Have you updated the CI baseline?
Note sure yet, Yes

Does your PR follow the maintainer guide?

Yes

Can you please confirm that the following looks correct? (The upstream instructions use add_subdirectory :(

Yes that should be correct but I have not tested it. They do write in their README (albeit without an example):

or you can use find_package to configure cglm

In their tests, they link with
target_link_libraries(${TEST_MAIN} PRIVATE cglm)

but I assume this is equivalent to linking with cglm::cglm.


Error Handling

Error handling, and the many possible edge cases that can occur, needs thorough testing and review. Only superficial testing has been done on this. I'm pretty certain we have bugs in this area.

Just remembered one of them ... pretty certain this is a problem: https://github.com/ReactiveSocket/reactivesocket-java/blob/4032fbdd60a19cf0e1b6e6ab06316b15f36f5e97/src/main/java/io/reactivesocket/ReactiveSocket.java#L358

Indeed, this looks like a problem.
My next task will be to focus on testing the error handling.

I think PublisherUtils.errorPayload is problematic. This is the default implementation for some RequestHandler methods until overriden. It seems to just send e.getMessage().getBytes(Charset.defaultCharset()) as a successful response.
For a String based request/response payloads, it doesn't seem clear that you can tell the difference from a legitimate response.  Shouldn't these be error frames for that stream?
Are these known TODOS?

Shouldn't these be error frames for that stream?

Certainly should be but the RequestHandler does not return Publisher<Frame> so it should just return a Publisher which emits error. This would in turn send error frames.
I do not see the use of an errorPayload method, errorFrame should be sufficient.

0.5.x does handle errors correctly. I will close this since it is too generic an issue, will file specific issues if there are cases missing.


build: add support for function parameter aliases

Please's build language permits function parameters to have aliases, which are specified after any type but before any default value, using the & operator:
def fn(name:str&altname="value"):
    # ...

Support this syntax in the parser, and print aliases without any whitespace surrounding identifiers and & operators, in line with Please's conventions.

This would be really helpful!

Thanks!


⚠ Bofrost.fr has degraded performance

In 0aef5e7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1625 ms

Resolved: Bofrost.fr performance has improved in 022ee1b after 6 minutes.


New package

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/98799
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" b5b80fca0d36df43b157e69eab8d59eb495e2fae
git push origin v0.1.0


For versions >0.8.2 learning rate is zero for last epoch (potentially a logging bug)

🐛 Bug
Version 0.8.2 and above changed the behavior of either my learning rate scheduler or the WandbLogger logger. I am using a linear warmup and decay scheduler. However, the learning rate graph produced by the LearningRateLogger is as shown below ever since version 0.8.2:

The period where the learning rate is zero corresponds to the last epoch of training as you can see below:

This graph raises another issue. The first epoch appears to take twice as many steps as the second and third epoch. I specified max_epochs=3. During training, each epoch takes the same amount of time, so this seems like a logging issue.
Note that the above graphs are for a model that had its training stopped early. So the last epoch is slightly shorter than the second to last. This is not the issue.
Both of these issues (the 0 learning rate and the twice-as-long epoch) do not exist in version 0.8.1, and both graphs look as they should.
These issues could be caused by the logger or they might actually occur and be logged correctly. I have looked through the changelog and I am guessing that these bugs are caused by "Changed epoch indexing from 0 instead of 1" (#2289). I also may be relying on the fact that epoch indexing started at 1 somewhere in my code, but I do not believe this to be the case.
To Reproduce
Reproducing this problem may be difficult since I can't provide the script and data I used. I used the WandbLogger logger and LearningRateLogger callback. I trained with 1400 warmup steps and accumulate_grad_batches set to 2.
I can provide additional code samples or information that you may need.
Code sample
def lr_lambda_func(current_step, num_warmup_steps, num_training_steps):
    if current_step < num_warmup_steps:
        return float(current_step) / float(max(1, num_warmup_steps))
    return max(
        0.0,
        float(num_training_steps - current_step)
        / float(max(1, num_training_steps - num_warmup_steps)),
    )

t_total = int(len(self.train_dataloader_object) * self.hparams.max_epochs // self.hparams.accumulate_grad_batches)

lr_lambda = partial(
    lr_lambda_func,
    num_warmup_steps=self.hparams.warmup_steps
    * self.hparams.accumulate_grad_batches,
    num_training_steps=t_total,
)

scheduler = LambdaLR(optimizer, lr_lambda, -1)
scheduler_dict = {"scheduler": scheduler, "interval": "step"}
return ([optimizer], [scheduler_dict])

Expected behavior
The learning rate should warmup and decay in versions greater than 0.8.2 the same way it does in versions less than 0.8.2. Each epoch should be the same number of steps.
The below graphs highlight the expected behavior. They are from a different model so they are not directly comparable, but their shape is as expected since they were captured from a model trained with pytorch_lightning version 0.8.1.

Environment

CUDA:

GPU:

Tesla P100-PCIE-16GB

available:         True
version:           10.1

Packages:

numpy:             1.18.5
pyTorch_debug:     False
pyTorch_version:   1.5.1+cu101
pytorch-lightning: 0.8.4
tensorboard:       2.2.2
tqdm:              4.41.1

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.6.9
version:           #1 SMP Wed Feb 19 05:26:34 PST 2020

it would be good to know whether this can be observed with the other loggers as well. Could you run your example also with TensorboardLogger?

Hey! I believe problem lies in configure_accumulated_gradients() when accumulate_grad_batches is integer, scheduler is set to use it from current_epoch=1, but Trainer starts from current_epoch=0, so trainer.accumulate_grad_batches = self.scheduling.get(self.epochs[i]) sets accumulate_grad_batches to default value (1) for this epoch.

Update: When accumulate_grad_batches is an integer, Scheduler gets {1: accumulate_grad_batches} as input, and then scheduling.update({0: 1}) inserts "default" 1 for first epoch.

@HHousen You could do workaround and set accumulate_grad_batches={0: <your value>} in pl.Trainer (I did so), but you might have problems with restoring from checkpoint, as n_accum = 1 if self.accumulate_grad_batches is None else self.accumulate_grad_batches in restore_training_state will try to use dict in division.

@szymonzareba Yep, setting args.accumulate_grad_batches to {0: 2} fixed this problem (I create my pl.Trainer like so: trainer = Trainer.from_argparse_args(args)). Both the learning rate and epoch graphs are now correct. It seems like your reasoning is correct.

@HHousen mind send a PR?

Sure

#2490 fixes this. There was a problem with the tests/trainer/test_lr_finder.py::test_accumulation_and_early_stopping test. See #2490 for more information.


Lost the distance measures when drawing (except for circle)

Chrome V58
Windows 10
Leaflet 1.0.3
Leaflet-draw 0.4.9
As shown below, with leaflet 1.0 and leaflet draw 0.2.4 I was getting text distance for lines, and area for rectangles.
Now I only get the area for circles, but the others do not show anything. Is this just me, and why does the below no longer work?
(I.e. I no longer see the 1425.65 km as shown below).

function addDrawLayer() {
    var options = null
    var map = MAP.map
    var drawings = new L.FeatureGroup()
    MAP.drawLayer = drawings
    map.addLayer(drawings)

    options = {
        shapeOptions: {
            showArea: true,
            clickable: true
        },
        metric: true,
        edit: {
            featureGroup: drawings
        }
    }
    var drawControl = new L.Control.Draw(options)
    map.addControl(drawControl)
    map.on('draw:created', function (e) {
        var type = e.layerType
        var layer = e.layer
        if (type === 'marker') {
            layer.bindPopup('A popup!')
        }
        drawings.addLayer(layer)
    });
}

Are you still having this issue? @DrYSG

Thanks for asking. Yes. I wanted to setup a codepen to show you, but  as you can see from the codepen and the comments in Stack Overflow, there are bigger issues with Leaflet and Leaflet.draw:
https://stackoverflow.com/questions/44874563/leaflet-draw-0-4-9-control-not-working-with-leaflet-1-1-0/44895306#44895306

You should still be able to use Leaflet 1.0.x in codepen, specifically we should use draw 0.4.10 as well since there were some patches.

https://jsfiddle.net/mvp7hgou/7/
Leaflet 1.0.3 and Draw 0.4.10 - issue is still present.

@ddproxy , in  stack overflow, you commented that

ShapeOptions are part of each draw item may have a shapeOption for that draw tool.

But I don't see that in your fiddle. Is there something more that I don't grok yet?

I think I had a different fiddle set up to work on that but I didn't share it because it wasn't working. The documentation for these options need a bit of work and cleanup.

I am seeing the similar  behavior.
Chrome 60
Firefox 54
macOS 10.12.6
Leaflet 1.2.0
Leaflet-draw 0.4.10

Firefox does properly show the tooltip for a line.
The area does not show for rectangle or area on either Chrome or Firefox.
Circle works on both.
Not seeing the area of polygon on this fiddle but my own code does show on both Chrome and Firefox.

For polylines, it looks like this is because L.Draw.Polyline never shows the length in the tooltip if the browser supports touch events, which Chrome for desktop seems to do. I understand why this was done, but I'm not sure about the best solution here.
For rectangles and polygons, it's a matter of setting the right options:
const drawOptions = {
  draw: {
    rectangle: {
      showArea: true
    },
    polygon: {
      showLength: true,
      showArea: true,
      allowIntersection: false  // Otherwise, area would not be shown
    }
  }
};

Thanks, @berti. This isn't the first time I've seen stuff break or behave differently because the browser has touch support (even if the screen doesn't). All modern browsers should have support for touch events now, so maybe someone should rethink how that changes lots of functionality for non-touch users.
In this case, I might agree that showing distances isn't all that useful when drawing with your fingers - but it's still very useful when drawing with a mouse (or a stylus). Maybe it's better to just show the distance even when drawing using touch, rather than disable it outright because there's a remote possibility that the user might use touch?


Dashboard: missing function on survey page (breaks Safari)

Seems to be fixed? Surveys seem to load fine.


New version: gaphor.gaphor version 2.23.1

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @Exorcism0666,
This manifest adds Apps and Features entries that aren't present in previous PR versions. Should these entries also be added to the previous versions?
(Automated response - build 556.)


Feature - Ignore abstract classes

With this PR, the ModelFinder will ignore abstract classes.

Thank you!


"an unknown file upload error occured" while uploading attachment bigger than 1MB

I have tested with a email software that I can send big attachment (10MB) without a problem, so this problem is not mail server (postfix) related, but rainloop/apache related. I have increased the "Attachment size limit" to 100MB in rainloop admin panel and changed the php.ini file to increase the upload_max_filesize = 200M; post_max_size = 500M. Then I restarted the container and docker and refresh the admin panel page to make sure the size is changed. But after all these still I got "an unknown file upload error occured" message when uploading attachment file bigger than 1MB. any idea please?

issue is solved by adding LimitRequestBody 10485760 in the httpd.conf file


Does not highlight symbols when using #if statements

I've got a bunch of code that I block out using statements like:
#if !TARGET_OS_IPHONE
...
#elif TARGET_OS_IPHONE
...
#endif
It seems that the plugin randomly misses out on symbols that are in fact 'active'.

This plugin gets symbols from Xcode, so it is probably due to Xcode issue.

Is your code fully indexed by Xcode?
When you put the cursor on a symbol, is there a dash line under the symbol?
Maybe Clean or Delete DerivedData then Build can fix the issue?


command dialog layout/height update to fit in different terminal heights

Signed-off-by: Navid Yaghoobi<EMAIL_ADDRESS>

LGTM


Do not fail JSONWebKey.UnmarshalJSON() if jwks contains keys with unsupported algorithms

It seems go-jose cannot unmarshal jwks key sets which contain keys with unsupported algorithms.
coreos/go-oidc uses go-jose to unmarshal jwks key sets fetched from a OIDC provider's jwks URL. This unmarshalling happens in https://github.com/coreos/go-oidc/blob/v3/oidc/jwks.go#L242 :
...
	var keySet jose.JSONWebKeySet
	err = unmarshalResp(resp, body, &keySet)
	if err != nil {
		return nil, fmt.Errorf("oidc: failed to decode keys: %v %s", err, body)
	}
	return keySet.Keys, nil

And in https://github.com/coreos/go-oidc/blob/a8ceb9a2043fca2e43518633920db746808b1138/oidc/oidc.go#L511 :
func unmarshalResp(r *http.Response, body []byte, v interface{}) error {
	err := json.Unmarshal(body, &v)
	if err == nil {
		return nil
	}
	ct := r.Header.Get("Content-Type")
	mediaType, _, parseErr := mime.ParseMediaType(ct)
	if parseErr == nil && mediaType == "application/json" {
		return fmt.Errorf("got Content-Type = application/json, but could not unmarshal as JSON: %v", err)
	}
	return fmt.Errorf("expected Content-Type = application/json, got %q: %v", ct, err)
}

If the jwks contains keys with unknown / unsupported algorithms, this unmarshalling fails for the whole jwks key set.
One such unsupported jwk algorithm seen in real world is the "kty": "OKP" with "crv": "X25519", as in:
{"kty": "OKP", "use": "enc", "crv": "X25519", "kid": "...", "x": "..."}

Could go-jose unmarshal such unsupported jwk keys into JSONWebKey structures for which JSONWebKey.Valid() would return false? This way upper layers could filter out invalid jwk keys from the jwks key set.

Ran into the same issue. Used your commit. Thanks @samiponkanenssh

Fixed in v4.0.3 by #130. Thanks for the report!

The fix was reverted in v4.0.4 as a breaking change. We'll have to find another way to solve this. Reopening.

any roadmap for a v5?


jax.nn.onehot: require integer indices

Fixes #15882

Probably worth running global presubmits for this.

Probably worth running global presubmits for this.

Agreed, will do.

Global presubmits led to a number of failures; I'm going to abandon this for now.


macOS native: fix destructors accessing freed .NET objects

What does the pull request do?
This PR makes sure that the COM objects referenced by ComPtr fields in the Avalonia.Native library are released while the managed code still runs.
The native destructors then don't run on freed objects.
What is the current behavior?
Currently, when a macOS Avalonia app terminates, the native side still has some COM references to objects created in the managed side, like AvnDispatcher. When the ComPtr's destructor runs, after Main() returns, the CLR has already freed the objects, causing an exception. For some reason, probably because the process is exiting, it isn't visible.
However, if a .NET debugger is attached, the process hangs: this is #11159.
Details
Here's the callstack of the hanged process:
frame #0: 0x00000001098130fe libcoreclr.dylib`Thread::DoAppropriateWaitWorker(int, void**, int, unsigned int, WaitMode) + 558
frame #1: 0x000000010980e600 libcoreclr.dylib`Thread::DoAppropriateWait(int, void**, int, unsigned int, WaitMode, PendingSync*) + 48
frame #2: 0x000000010992afff libcoreclr.dylib`CLREventBase::WaitEx(unsigned int, WaitMode, PendingSync*) + 63
frame #3: 0x0000000109b3bd98 libcoreclr.dylib`WaitForEndOfShutdown() + 56
frame #4: 0x0000000109768da0 libcoreclr.dylib`CrstBase::ReleaseAndBlockForShutdownIfNotSpecialThread() + 80
frame #5: 0x0000000109a43fb4 libcoreclr.dylib`Debugger::LockForEventSending(Holder<Debugger*, &Debugger::AcquireDebuggerLock(Debugger*), &Debugger::ReleaseDebuggerLock(Debugger*), 0ul, &int CompareDefault<Debugger*>(Debugger*, Debugger*), true>*) + 36
frame #6: 0x0000000109a3b286 libcoreclr.dylib`DebuggerController::DispatchPatchOrSingleStep(Thread*, _CONTEXT*, unsigned char const*, SCAN_TRIGGER) + 534
frame #7: 0x0000000109a3c57f libcoreclr.dylib`DebuggerController::DispatchNativeException(_EXCEPTION_RECORD*, _CONTEXT*, unsigned int, Thread*) + 511
frame #8: 0x0000000109a49999 libcoreclr.dylib`Debugger::FirstChanceNativeException(_EXCEPTION_RECORD*, _CONTEXT*, unsigned int, Thread*) + 89
frame #9: 0x0000000109959f86 libcoreclr.dylib`HandleHardwareException(PAL_SEHException*) + 454
frame #10: 0x00000001096e014b libcoreclr.dylib`SEHProcessException(PAL_SEHException*) + 315
frame #11: 0x000000010971a609 libcoreclr.dylib`PAL_DispatchException + 137
frame #12: 0x000000010971a293 libcoreclr.dylib`PAL_DispatchExceptionWrapper + 10
frame #13: 0x0000000110a7448e
frame #14: 0x0000000109fbb4ad libAvaloniaNative.dylib`ComPtr<IAvnDispatcher>::~ComPtr() [inlined] ComPtr<IAvnDispatcher>::~ComPtr(this=<unavailable>) at comimpl.h:85:19 [opt]
frame #15: 0x0000000109fbb49f libAvaloniaNative.dylib`ComPtr<IAvnDispatcher>::~ComPtr(this=<unavailable>) at comimpl.h:82:5 [opt]
frame #16: 0x00007ff8009d3ba1 libsystem_c.dylib`__cxa_finalize_ranges + 409
frame #17: 0x00007ff8009d39bb libsystem_c.dylib`exit + 35
frame #18: 0x00007ff800b198d3 libdyld.dylib`dyld4::LibSystemHelpers::exit(int) const + 11
frame #19: 0x00007ff8007a8458 dyld`start + 1960

In frames 14-16 we can notice the ComPtr destructors running, calling into the CLR (frame 13), causing an exception that's passed to the .NET debugger (frame 6-12).
Then we've got what seems to be a deadlock in the debugger waiting for the process to finish the shutdown (frames 0-5). I didn't investigate that part since fixing the cause is enough, but that's probably a bug in the CLR.
How was the solution implemented?
The AvaloniaNative class in native code now releases in its destructor the COM objects passed by the managed code.
Its corresponding proxy stored in the managed AvaloniaNativePlatform is now disposed when the dispatcher shutdowns, effectively releasing the last reference and calling the destructor.
Dispatcher.ShutdownFinished doesn't feel like the best place to dispose the native object though. Ideally, the native platform should not have any static part and be disposable, with Dispose being the perfect place to release everything (but when should we call it?). That's a bit larger refactoring, which I'm not sure is worth it since the dispatcher usually has the same lifetime as the app.
Regarding the native code, it was my first time with Objective-C so please tell me if anything feels wrong. Those 10 lines of code were... an experience, let's say it that way.
Fixed issues
Fixes #11159

You can test this PR using the following package version. 11.0.999-cibuild0037900-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

Could we use AppDomain.CurrentDomain.ProcessExit instead of dispatcher?

Could we use AppDomain.CurrentDomain.ProcessExit instead of dispatcher?

Used ProcessExit, it seems to work fine.
Note that it isn't called if the process is terminating due to an exception. but that's expected: no need to clean up in this state. The native destructors won't be called anyway due to the SIGABRT.

You can test this PR using the following package version. 11.0.999-cibuild0037913-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


error caught undefined exception during ionic state restore

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Note: for build related issues you can open up an issue on the ionic-app-scripts repo
https://github.com/driftyco/ionic-app-scripts
Short description of the problem:
ionic state restore
Attempting to restore your Ionic application from package.json
Restoring Platforms
cordova platform add android
cordova platform add ios
Restore platforms is complete
Restoring Plugins
cordova plugin add cordova-plugin-device
Caught exception:
undefined
What behavior are you expecting?
expect to add all cordova plugins included in the package.json
Steps to reproduce:
1.
2.
3.
insert any relevant code between the above and below backticks

Post the output of ionic info below please
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.

I'm also having the same issue when running automated builds via buddybuild.

cordova plugin add cordova-plugin-device
Caught exception:
undefined
Mind letting us know? https://github.com/driftyco/ionic-cli/issues

Here is the output from ionic info:

Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Please install your Cordova CLI to version  >=4.2.0 npm install -g cordova
Install ios-deploy to deploy iOS applications to devices.  npm install -g ios-deploy (may require sudo)

Your system information:
Cordova CLI: You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.4.0
Ionic Framework Version: 1.3.0
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X El Capitan
Node Version: v4.2.1
Xcode version: Xcode 7.3.1 Build version 7D1014

Looks like it might be a cordova related issue? Strange because there is a call to either install or update cordova prior to ionic info being called, ie:
echo '=== Start to run : npm install npm -g'
npm install npm -g

if hash cordova 2>/dev/null; then
	echo '=== Detected cordova command, run npm update -g cordova'
	npm update -g cordova
else
	echo '=== Can not detect cordova command, run npm install -g cordova'
	npm install -g cordova
fi

if hash ionic 2>/dev/null; then
	echo '=== Detected ionic command, run npm update -g ionic'
	npm update -g ionic
else
	echo '=== Can not detect ionic command, run npm install -g ionic'
	npm install -g ionic
fi

echo '=== Start to run : npm install'
npm install

echo '=== Start to run : bower install'
bower install

echo '=== Start to run : ionic info'
ionic info


cask/audit: allow the homepage https audit to have exceptions

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

This PR adds a cert_error_allowlist audit exception for the audit that checks HTTPS availability for cask homepages.
This list is designed to be used to allow audits to pass for the formulae affected by the Cloudflare issue we've been having.
CC: @bevanjkay and @GregBrimble
Corresponding homebrew/cask PR: https://github.com/Homebrew/homebrew-cask/pull/112093 (can be merged in either order)

Review period will end on 2021-10-05 at 23:30:17 UTC.

The latest commit also refactors the tap_audit_exception methods that existed as (essentially) duplicates in formula_auditor.rb, utils/shared_audits.rb, and cask/audit.rb into a single method Tap#audit_exception. This required some other minor refactoring. I've tested almost all the lists and believe everything is still working as expected.

This PR adds a cert_error_allowlist audit exception for the audit that checks HTTPS availability for cask homepages.
This list is designed to be used to allow audits to pass for the formulae affected by the Cloudflare issue we've been having.

Code looks good to me! Might just want to name it something like homepage_audit_skiplist or something to make clearer what the code is doing (rather than the intent).

I think this is fine without adding tests FWIW

The problem is that it breaks existing tests (but because the tests no longer set the formula being tested up correctly rather than because this PR breaks functionality)


macOS seg fault

So I was just starting to mess around with VVC enc and dec and got this crash right away. Encoded a raw I420 video with vvencapp --preset faster -i video6.iyuv -s 360x360 -o video6.266 --framerate 10 --bitrate 125000 and then tried to decode it with vvdecapp --bitstream video6.266 --output video6-dec.yuv - got a crash in void offsetBlock_SIMD<(X86_VEXT)4>(int, ClpRngTemplate<short> const&, int, int*, int, short const*, short*, long, long, int, int, bool, bool, bool, bool, bool, bool, bool, bool, std::__1::vector<signed char, std::__1::allocator<signed char> >*, std::__1::vector<signed char, std::__1::allocator<signed char> >*, bool, int*, int*, int, int).
video6.266 and crash report attached.
vvdec-crash.zip

The problem has to do with unaligned SIMD loads in SAO implementation. Will be fixed in the next update. Thanks for reporting.


Fix warnings

I'm getting too many warnings here, these commits should address them. Each commit addresses one class of warning.

thanks


Update Kotlin to 1.4

Updated Kotlin version, kotlinx.coroutines version, and rule_kotlin version

This change is

I changed both the PR description and the commit message from Updated to Update. Didn't see that squash and merge as the default so I force pushed it.

a discussion (no related file):
Previously, SanjayVas (Sanjay Vasandani) wrote…
Make sure you get approval from at least one reviewer external to Google prior to merging.

Which reviewers are external to Google?

src/main/kotlin/org/wfanet/measurement/duchy/DuchyPublicKeys.kt, line 45 at r1 (raw file):
Previously, oliver-amzn (Oliver) wrote…

maxBy

Is this change intended?

maxBy was deprecated in 1.4 and maxByOrNull is the replacement.

WORKSPACE, line 66 at r1 (raw file):
Previously, oliver-amzn (Oliver) wrote…

"v1.5.0-alpha-3"

Is this the new Kotlin version? Or is it 1.4.20 from a few lines below?

1.4.20 is the new Kotlin version. This is the corresponding rules_kotlin version.

WORKSPACE, line 66 at r1 (raw file):
Previously, oliver-amzn (Oliver) wrote…
Might as well just go with the latest 1.4.x version to get all those bug fixes? @tristanvuong2021 - if you prefer 1.4.20 then that's fine

I updated it to 1.4.32.

I changed the rules_kotlin version to a slightly older version because the newest version has an issue with kotlinx_coroutines: https://github.com/bazelbuild/rules_kotlin/issues/500.

WORKSPACE, line 66 at r1 (raw file):
Previously, oliver-amzn (Oliver) wrote…
Thanks!

Done.


set webhooks failure policy to Ignore

We are still facing many issues with inaccessible webhook blocking
creation of VMs and especially pods. Let's make our failure policy
ignore for now and investigate mentioned issues only in test
environments for now.

I think it would be useful to state in the commit message the recently reported mode of failure: macpool prevented the upgrade of OpenShiftSDN. starting the SDN Pod requires the macpool, but the macpool uses SDN addresses, which are unavailable when the SDN is down.
I suspect we have to add a test for SDN recovery when macpool is enabled.

can we change the PR to ignore only on the pods?

can we change the PR to ignore only on the pods?

I clearly recall a promise: "on the next blocker bug we go to Ignore". It was assertive with no questions ;-)
I'm all for testing granular changes, and solving all bugs, but I think that we have waited enough. I vote for Ignore everywhere - but we should file an Issue to track a proper solution.

@dankenigsberg commit message updated, issue opened https://github.com/K8sNetworkPlumbingWG/kubemacpool/issues/70

@dankenigsberg @SchSeba lot of our tests expect failure to happen. We are blocking not only cases where Kubernetes fails to reach the webhook, but also cases where the validation simply fails.

Oh, that's bad. I suspect there is no IgnoreOnlyIfNonresponsive.
I don't see a way around this. Currently we can:

disable macpool
ignore VM&Pod failures and skip negative tests
ignore only Pod failures and skip some tests

Earlier I voted against the third option, but it does allow us to save SOME face. Can we reconsider it?
Either

I will go over the test we'd need to skip tomorrow to see if it makes sense.

+1 on the "ignore only Pod failures and skip some tests"

@SchSeba would it be possible register the webhook so that it ignores openshift-* namespaces?

@dankenigsberg we looked into it. You can (de-)select Namespaces only based on their labels, not names. And AFAIK, openshift-* namespaces don't have any specific label. Worth double-checking though.

@dankenigsberg we can list all namespaces we want to ignore. However, I think we should just set ignore (and revert shortly after release).

@dankenigsberg we looked into it. You can (de-)select Namespaces only based on their labels, not names. And AFAIK, openshift-* namespaces don't have any specific label. Worth double-checking though.

We can't do it.
For now we can only specify a label on a namespace that if it exist we skip or we enforce.
But not on the namespace name.

@dankenigsberg we can list all namespaces we want to ignore. However, I think we should just set ignore (and revert shortly after release).

We can run on every start on all the namespaces check for openshift-* and update the namespace with a label but we can't control if someone (operator) remove or update that namespace labels

However, I think we should just set ignore (and revert shortly after release).

Go go go, then.

@dankenigsberg @SchSeba please review


Custom Elements/Custom Events

Hey there here I am with the first questions.
I'll set a little bit of context first:
I'm quite a fan of custom elements and standards-based web dev in general so one of the first things that comes to my mind when trying out a web framework is how well are those supported.
This is a vanilla js use case I'd like to be able to do with vide
<sl-tab-group>
  <sl-tab slot="nav" panel="general">General</sl-tab>
  <sl-tab slot="nav" panel="custom">Custom</sl-tab>
  <sl-tab slot="nav" panel="advanced">Advanced</sl-tab>
</sl-tab-group>
<button>Select advanced tab</button>

And in my js something like
const btn = document.querySelector("button")
const tabGroup = document.querySelector("sl-tab-group")
btn.addEventListener('click', () => tabGroup.show("advanced"));

// here event is a CustomEvent<{ name: string }> event
tabGroup.addEventListener('sl-tab-show', (event) => { console.log("tab selected", event.detail.name) }

I'm not sure if that is possible with vide right now I tried to find something in my limited experience at the moment but no luck so far
Here's how my pseudo code for vide would ideally look like
let MyTabsComponent() = vide {
  custom "sl-tab-group" {
    // custom element version to provide the generic
    custom.oncustom<{| name: string |}>("sl-show", (fun event -> printfn "%A" event.details.name))

    // alternative non-generic version as one can emit non-generic events as well
    custom.onevent("sl-show", (fun (event: Event) ->
      let ev = (Event :?> CustomEvent<{| name: string |}>)
      printfn "%A" event.details.name))

    custom "sl-tab" {
      custom.slot "nav"
      custom.attr("panel", "general")
      "General"
    }
    custom "sl-tab" {
      custom.slot "nav"
      custom.attr("panel", "custom")
      "Custom"
    }
    custom "sl-tab" {
      custom.slot "nav"
      custom.attr("panel", "advanced")
      "Advanced"
    }
  }
  button {
    "Select Advanced Tab"
    button.onclick (fun _ ->
      // get a ref somehow here?
      ref.show "advanced"
  }
}

In this case I'm not very familiar with the DSL yet but if this is an area I can contribute to I'd gladly step in to see what I can do.
In the case of the typings I don't mind if everything is string * obj there's a "generator" project I had for Sutil for these kinds of web component libraries, I might be able to revive it to let it generate a fully typed vide DSL as well, but my concerns are more in the out of the box experience and how can we consume these standard features that are not so F# friendly
I'll keep dropping more questions as I keep trying vide but for the moment let me know what you think about that

Hey Angel,
thanks for the input. There are currently several ways of doing this, which I'll describe.
I added some small convenience functions and published 0.0.15
Untyped (ad-hoc) custom elements
The e function creates an element with the given tag name. It provides all global attributes and events, and it's possible to set attributes using attr / attrBoolean or register event handlers using on. The e function is just a shorthand:
let e (tagName: string) = HtmlGARenderRetCnBuilder<HTMLElement>(tagName)

Here's an example how to use it:
vide {
    div {
        (e "untyped-custom-elem")
            .attr("untyped-custom-attribute", "Hello there")
            .on("untyped-custom-event", fun evt -> ()) {
                "Hello there again"
        }
    }
}

Typed custom elements
Like any other HTML element builder available in the Vide.Fable library, it is possible to specify custom element builders using similar pattern. How does that look like?
module MyCustomElementDefinitions =
    open Browser.Types
    open Vide
    open Vide.HtmlElementBuilders

    type typedCustomElementBuilder() =
        inherit HtmlGARenderRetCnBuilder<HTMLElement>("typed-custom-element")
        member this.myAttribute(value: string) =
            this.attr("myAttribute", value)
        member this.myBooleanAttribute(value: bool) =
            this.attrBoolean("myBooleanAttribute", value)
        member this.onMyEvent(handler) =
            this.on("myEvent", handler)

    [<AutoOpen>]
    type MyCustomElements =
        static member inline typedCustomElement = typedCustomElementBuilder()

Here, a typed-custom-element is defined by inheriting from HtmlGARenderRetCnBuilder that is based upon the HTMLElement dom interface. Custom events and attributed are added as members, which use the same attr, attrBoolean, and on methods.
As convenience, another type MyCustomElements specifies a static property to allow omitting () when using the custom element in a view.
Using the element then looks like this:
open Vide
open type Vide.Html
open MyCustomElementDefinitions

let view =
    vide {
        div {
            typedCustomElement
                .myBooleanAttribute(false)
                .myAttribute("Hello")
                .onMyEvent(fun evt -> ()) {
                    "typedCustomElement can have content because it inherits from HtmlGARenderRetCnBuilder."
                    "if you don't like that, inherit from HtmlGARenderRetC0Builder."
                }
        }
    }

There's a demo here.
Template / Slot
I just added the slot element and slot global attribute (template element already existed), but I never used it and don't know if it will work.
I'm not sure if all of your ideas are addressed. At least I think this is missing, and I don't understand what is your intention:

// get a ref somehow here?

I'd be happy to discuss this issue further, and I appreciate more of those use cases. Thank you so much, @AngelMunoz for your help and input!


"docker save" failure on Win10: "Error response from daemon: digest not found"

Output of docker version:
David@noe MINGW64 ~/extvol
$ docker version
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 22:37:33 2016
 OS/Arch:      windows/amd64

Server:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 22:37:33 2016
 OS/Arch:      linux/amd64

David@noe MINGW64 ~/extvol
$

Output of docker info:
David@noe MINGW64 ~/extvol
$ docker info
Containers: 2
 Running: 1
 Paused: 0
 Stopped: 1
Images: 21
Server Version: 1.10.2
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 37
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 4.1.18-boot2docker
Operating System: Boot2Docker 1.10.2 (TCL 6.4.1); master : 611be10 - Mon Feb 22 22:47:06 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 996.1 MiB
Name: default
ID: 226R:TS6B:7ZBR:LRVK:UP2Y:HY6M:3L2N:XYK5:7QIH:4TIJ:AIO6:ULTN
Debug mode (server): true
 File Descriptors: 18
 Goroutines: 32
 System Time: 2016-02-25T22:45:17.889222018Z
 EventsListeners: 0
 Init SHA1:
 Init Path: /usr/local/bin/docker
 Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
 provider=virtualbox

David@noe MINGW64 ~/extvol
$

Provide additional environment details (AWS, VirtualBox, physical, etc.):

Recent installation using docker-machine on Windows 10.

List the steps to reproduce the issue:

created data volume /var/lib/postgresql/data  in container based on debian:8.2 for use by known working image based on postgres:9.4.5
using docker-compose, successfully brought up postgres instance
tried to run docker save on container with data volume

Describe the results you received:
David@noe MINGW64 ~/extvol
$ docker save data_vlpd > data_vlpd.tar
Error response from daemon: digest not found

David@noe MINGW64 ~/extvol
$ docker save -o data_vlpd.tar data_vlpd
Error response from daemon: digest not found

David@noe MINGW64 ~/extvol
$

Describe the results you expected:

Successful creation of tar file suitable for docker load

Provide additional info you think is important:
David@noe MINGW64 ~/extvol
$ docker inspect data_vlpd
[
    {
        "Id": "670c9cd8f575d153916731df5737580ffbde19c3e6591f57b3110bfefee5c12a",
        "Created": "2016-02-25T22:14:52.202469992Z",
        "Path": "/bin/bash",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2016-02-25T22:14:52.265589014Z",
            "FinishedAt": "2016-02-25T22:38:11.92949432Z"
        },
        "Image": "sha256:c648cd6a73969d01003f84dcb558aa19f153fdbb63f6e7bc096cf204c1d46280",
        "ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/670c9cd8f575d153916731df5737580ffbde19c3e6591f57b3110bfefee5c12a/resolv.conf",
        "HostnamePath": "/mnt/sda1/var/lib/docker/containers/670c9cd8f575d153916731df5737580ffbde19c3e6591f57b3110bfefee5c12a/hostname",
        "HostsPath": "/mnt/sda1/var/lib/docker/containers/670c9cd8f575d153916731df5737580ffbde19c3e6591f57b3110bfefee5c12a/hosts",
        "LogPath": "/mnt/sda1/var/lib/docker/containers/670c9cd8f575d153916731df5737580ffbde19c3e6591f57b3110bfefee5c12a/670c9cd8f575d153916731df5737580ffbde19c3e6591f57b3110bfefee5c12a-json.log",
        "Name": "/data_vlpd",
        "RestartCount": 0,
        "Driver": "aufs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "ShmSize": 67108864,
            "ConsoleSize": [
                74,
                120
            ],
            "Isolation": "",
            "CpuShares": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "KernelMemory": 0,
            "Memory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null
        },
        "GraphDriver": {
            "Name": "aufs",
            "Data": null
        },
        "Mounts": [
            {
                "Name": "072328f994a29c5e903c07fb0648a80c063c2887d5936c492f49a60ab75fa462",
                "Source": "/mnt/sda1/var/lib/docker/volumes/072328f994a29c5e903c07fb0648a80c063c2887d5936c492f49a60ab75fa462/_data",
                "Destination": "/var/lib/postgresql/data",
                "Driver": "local",
                "Mode": "",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "670c9cd8f575",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": true,
            "OpenStdin": true,
            "StdinOnce": false,
            "Env": null,
            "Cmd": [
                "/bin/bash"
            ],
            "Image": "debian:8.2",
            "Volumes": {
                "/var/lib/postgresql/data": {}
            },
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {},
            "StopSignal": "15"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "9c2fced15068545453c8fe1f9690245a39e1b4e789f1231ddfae06cf69823e86",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": null,
            "SandboxKey": "/var/run/docker/netns/9c2fced15068",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "f9a87752a895e269a37b2f675b16d5cf85d6decd4851c459db15c37f6ea217a4",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": ""
                }
            }
        }
    }
]

David@noe MINGW64 ~/extvol
$ docker logs data_vlpd
root@670c9cd8f575:/# exit

David@noe MINGW64 ~/extvol
$

Was that image created/built on Docker 1.10, or created on 1.9 (before updating to 1.10)?

The image was built immediately prior using docker-compose with the same installation as ran: 1.10.2. This PC never had a previous installation of Docker.

ping @tonistiigi can you have a look at this?

Oh, wait; you're trying to save a container, not an image?

Because docker save is for saving an image, not a container; https://docs.docker.com/engine/reference/commandline/save/
Also, realize that the data stored in volumes (/var/lib/postgresql/data in your example) is not stored in the containers filesystem, so won't be part of an image of you're committing the container to an image

Oops. Now I'm embarrassed. I even RTFM'd beforehand. I should have been following https://docs.docker.com/engine/userguide/containers/dockervolumes/#backup-restore-or-migrate-data-volumes . I guess I would suggest an enhancement to give an error message that the name given wasn't an image. Closing.

Yes, I think that error message can be improved; feel free to open a new issue for that, so that someone can look into that

Because I got tricked as well by that message, and thought something was corrupt in the image store :smile:

Done. Filed #20709 .


Feat apply tdp versioning to branch 3.2

Apply Tdp versioning to branch 3.2-TDP

If you can delete the .github/workflows directory in TDP branch, it will avoid running build and test.


Question about peerDependencies

Greetings.
monaco-vim lists a peer dependency of monaco-editor at "^0.14.0 || ^0.15.0", but 0.16 and 0.17 are available. Is monaco-vim incompatible with these newer versions of monaco-editor? If not, can we simply update the peerDependencies listing to include those newer versions? I'm happy to create a PR if so.
Thanks!

Unless there is some breaking change in monaco api, this should work with any version of monaco. You can try locally if you want.


Integration with SourceKitten

I was hoping if we could get autocomplete working with sourcekitten which outputs autocomplete results as json for a given query. Is it already integrated, as I installed the extension but didn't saw autocomplete, snippets works correctly though ?

For new visitors — see https://github.com/vknabel/vscode-swift-development-environment for autocomplete!

Not planned, sorry.


zcfan causes freeze on ThinkPad T16 Gen 1 AMD

Hi!
I know it shouldn't happen at all, not sure if it's directly related to zcfan but thinkpad_acpi.
Anyhow, it manages to crash my system when I enable zcfan.
Sometimes it just happens at the first boot, sometimes happens 4h after using it.
Not sure if laptop it's too much new and it doesn't have a good support as other ThinkPads do.
This works more as a warning for those users loosing their minds on why their systems keep freezing than a real issue.

Hey there!
Wow, that's... bizarre. It almost certainly must be a bug in thinkpad_acpi. Does the same thing happen with thinkfan?

I'm going to close this as this should be tracked as part of thinkpad_acpi. Thanks for the report, though.


[tool_crash] SocketException: Send failed, OS Error: No route to host, errno = 65

Command
flutter run --machine --start-paused -d 00008130-001025EC14F2001C --devtools-server-address http://<IP_ADDRESS>:9100/ --target /Users/dis/projects/riverpod_learn/lib/main.dart

Steps to Reproduce

...
...
...

Logs
SocketException: Send failed, OS Error: No route to host, errno = 65
#0      _NativeSocket.send (dart:io-patch/socket_patch.dart:1275:34)
#1      _RawDatagramSocket.send (dart:io-patch/socket_patch.dart:2590:15)
#2      MDnsClient.lookup (package:multicast_dns/multicast_dns.dart:219:22)
#3      MDnsVmServiceDiscovery._pollingVmService (package:flutter_tools/src/mdns_discovery.dart:232:66)
<asynchronous suspension>
#4      MDnsVmServiceDiscovery.firstMatchingVmService (package:flutter_tools/src/mdns_discovery.dart:188:56)
<asynchronous suspension>
#5      MDnsVmServiceDiscovery.getVMServiceUriForLaunch (package:flutter_tools/src/mdns_discovery.dart:433:50)
<asynchronous suspension>
#6      Future.any.onValue (dart:async/future.dart:628:5)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.24.4, on macOS 15.0 24A335 darwin-arm64, locale ru-KG)
    • Flutter version 3.24.4 on channel stable at /Users/dis/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 603104015d (8 days ago), 2024-10-24 08:01:25 -0700
    • Engine revision db49896cf2
    • Dart version 3.5.4
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/dis/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.95.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.100.0

[✓] Connected device (5 available)
    • iPhone (mobile)                 • 00008130-000C64E40E61001C • ios            • iOS 17.3.1 21D61
    • iPhone Ilya (mobile)            • 00008130-001025EC14F2001C • ios            • iOS 17.7 21H16
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.0 24A335 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 15.0 24A335 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 130.0.6723.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 2663184aa79047d0a33a14a3b607954f8fdd8730
Plugins
path_provider-2.1.4
path_provider_android-2.2.12
path_provider_foundation-2.4.0
path_provider_linux-2.2.1
path_provider_windows-2.3.0
sqflite-2.4.0
sqflite_android-2.4.0
sqflite_darwin-2.4.1-1

Closing this as a duplicate of https://github.com/flutter/flutter/issues/150131

@IADis Can you confirm this is fixed after following these instructions?
System Settings -> Privacy & Security -> Local Network -> [Find your IDE] -> Toggle ON, then restart your phone.


Getopt fixes

I'm sorry that this pull requests has so many commits. It's okay with me if we do a formal review if this is better.
This pull requests fixes:

5316 (with support for arrays in addition to associative arrays)
5228 (provides specific exceptions for getopt)
5762

Issue #6335 should be closed as well. Since I cannot reproduce it.
Besides these fixes this request clarifies short vs. long options and strives to provide a consistent behavior to the user.
The updated documentation can be found at http://jkm.github.com/phobos/phobos-prerelease/std_getopt.html.
In particular I'd like to get feedback regarding documentation because I'm not a native English speaker.

Sorry for the mails I generated. But I had to add fix comments. Otherwise I would have lost track.

I'm unsure about the deprecation path. Currently I have one breaking API change, which is the addition of specific exceptions. Just renaming getopt to getOptions and deprecating getopt is not straightforward. Because exceptions are thrown at different sites. How would you go about it?
I think providing specific exception is not that much of a breaking API change because client code that used to catch Exception will still work.

The e-mails are fine. That's just how github works. It would probably be possible to turn them off if I wanted to.
As for breaking changes, as it stands, code could be specifically catching ConvException (I have code which does that), but I'm not sure that that's enough to make us change the function name. If we do change the default config options though (e.g. making noSpaceOnlyForShortNumericOptions the default), then we need to create a new function. Personally, I'd love it if bundling and case sensitive were the default (since they appear to not be the defaults in spite of the fact that that's how Posix programs generally are), but that really should be discussed in the newsgroup, and I'm not excited about getting into such a discussion after the mess that was the discussion about getting rid of the mutable global variables.
I suppose that the question is how strongly you think noSpaceOnlyForNumericOptions should be the default. If it's fairly clear that we'd be better off as the default (or you think that there are any other defaults that we really should change), then I can bring it up in the newsgroup. But if it's not clear whether we'd be better off or not changing any of the defaults, then we may want to just leave them as-is. I would like to change some of them though, so perhaps I should just start up a thread on it.
By the way, you should make it so that the Config enum's docs clearly state which options are default, since it's not at all clear to me looking at the docs which are and which aren't. When I was tweaking one of my applications the other day and added short options which were case sensitive, I was very surprised to find that the code was treating them insensitively, and it's not at all clear to me reading the current docs which is supposed to be the default.

I also fear that changing the defaults may not be worth it. But since we change the exceptions that are thrown we have to change it anyway. Before we do this breaking change I'd like to work on some code that generates usage messages. I also planned to add something like reading flags from files or the environment. I don't like breaking the code now and then later again.
I already clarified the documentation regarding the default options (see http://jkm.github.com/phobos/phobos-prerelease/std_getopt.html#config).

I see two options then. Either do no breaking changes now and postpone them until you have all of the breaking changes at once, or do all of your breaking changes now.
As for reading flags from files or the environment, you should probably bring that up for discussion in the newsgroup first. It seems like overkill to me personally, and it ties getopt to the command line whereas right now it can be completely divorced from it if a program wants it to be. If such a feature were added, I'd suggest that it be added as a separate function which reads in that data which could then be appended to the array passed to getopt rather than making getopt do it internally. And if that's the case, it can be done completely separately from any changes to getopt.

I ended up with 5 commits. See https://github.com/jkm/phobos/commits/getopt-fixes2.

Yes. It's not going to be done inside getopt. Rather it's another function that's using getopt. I'm just not sure whether I can do it without changing getopt. That's my main concern.

Okay. Since, you have further stuff that you'd like to do to getopt before merging in changes, I see no reason to leave this pull request open. You're going to want a new one when you're ready with all of your changes anyway, since that's the only way that it's going to get proper scrutiny. Adjustments to older pull requests which have been sitting around for a while don't get much visibility.

Yes, you're right. I hope to make these changes soon. I'm sorry.


fix: collector update mint/unlock blockNumber and status

Codecov Report

Merging #171 (001717c) into main (6e5a570) will decrease coverage by 3.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   41.08%   37.92%   -3.17%
==========================================
  Files          23       17       -6
  Lines        1969     1743     -226
  Branches       48        0      -48
==========================================
- Hits          809      661     -148
+ Misses       1160     1082      -78

Impacted Files
Coverage Δ

...ules/eth-contracts/contracts/libraries/Address.sol

...les/eth-contracts/contracts/libraries/SafeMath.sol

...ain-modules/eth-contracts/contracts/test/ERC20.sol

...es/eth-contracts/contracts/libraries/SafeERC20.sol

...th-contracts/contracts/libraries/MultisigUtils.sol

...in-modules/eth-contracts/contracts/ForceBridge.sol

Continue to review full report at Codecov.

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


Popup enhancements: #209

Not consider popup idle when map is moving,
Hide map popup when cursor is away,
Expand map popup on feature click

@justinanderson fixed with the usage of onAllMapMouseMove. Padding approach didn't work that easy as we needed to keep popup following when moving mouse down, more changes were needed.


Experimental feature/form error handling

Since we are not displaying any field errors here is something similar to what I've used before in other projects

This is a very good starting point! I would like to refine it a little bit before merging.
I'll move the card you added in muffi to the backlog so we can get this done.

I'll rebase this improvement on the main branch.
Then we can get this merged without having to wait for the user admin PR - which will likely take a little while longer (though I'm working on it)


[SUPPORT] - DeltaStreamer with AWS Glue Schema Registry

Hi Team,
We are trying to use Hudi DeltaStreamer with AWS Glue Schema Registry.
If we are using schemaprovider  =  class org.apache.hudi.utilities.schema.SchemaRegistryProvider than it won't work because it requires url.
AWS Glue Schema Registry does not expose a URL to work with. The reason for it works through API request not through HTTP request.  https://github.com/awslabs/aws-glue-schema-registry/issues/20
How can we use DeltaStreamer with AWS Glue Schema Registry?
Thanks,
Andor Markus

@umehrot2 : Can you take this up or loop in someone who could assist here.

I have created a JIRA to track this feature request: https://issues.apache.org/jira/browse/HUDI-1595. It would require some level of intgeration within hudi to use the serde libraries provided by Glue schema registry, and use the appropriate deserializer to consume the record https://github.com/awslabs/aws-glue-schema-registry/blob/master/README.md. For now you have the option of using confluent schema registry.
I would also encourage you to open a feature request with AWS EMR team if you are trying to get this working on EMR. Helps us prioritize based on customer asks.

Hi @umehrot2
Im more than happy to open a feature request with AWS EMR team. We are fully in AWS EMR running on m6g instances. I need some guidance how to do it.
Should I raise here? https://github.com/awslabs/aws-glue-schema-registry/blob/master/README.md
Or should I raise through AWS Support
How the ticket should look like?
AWS EMR support of Glue Schema Registry?
Thanks

Yeah just cut a ticket to AWS Support. You can just mention something like Glue Schema Registry not supported with Apache Hudi on EMR and you want to know if and when it will be integrated.

Closing this out as we have a AWS ticket open. Please do reach out to us if you have more questions. Thanks for helping improve Hudi for better :)


🐞 Index page of documentation misses new release

Observed in version
v2024-04-08
Description
The new release is not listed in the release-list on https://nfdi4cat.github.io/voc4cat/. I though it will update automatically...

The new release is correctly detected and inserted into the index-page according to the job-log.
However, the updated index.html is not copied over to the directory that is deployed.

Solved by updating gh-action Publish via a template-update (https://github.com/nfdi4cat/voc4cat/commit/6524d1c2bcf3529668daeb41c53609714a32ad34).


Add a "back to top" arrow on doc pages

We should have a "back to top" arrow next to  headings on doc pages. The TOC code in common.js that we have today is trying to do this by using a caret-up class thingy, but it's not wired up properly and doesn't work.

Don't need this anymore since we have a fixed TOC instead.


Re-implement handling of RolloverCompleted for taker

I am currently testing this locally. Will report back with the results. It should definitely be a step forward so feel free to merge @luckysori !

I am currently testing this locally. Will report back with the results. It should definitely be a step forward so feel free to merge @luckysori @klochowicz !

Not quite working as expected but at least it doesn't crash anything!
2021-12-30 18:11:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:16:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:21:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:26:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:28:30 DEBUG daemon::monitor: Got notification for new block block_height=2133660
2021-12-30 18:31:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:36:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:41:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:46:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:48:30 DEBUG daemon::monitor: Got notification for new block block_height=2133661
2021-12-30 18:51:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 18:56:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 19:00:00 DEBUG daemon::oracle: Fetching announcement for /x/BitMEX/BXBT/2021-12-31T09:00:00.price?n=20
2021-12-30 19:01:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 19:06:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 19:08:50 DEBUG daemon::monitor: Got notification for new block block_height=2133662
2021-12-30 19:11:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 19:16:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 19:21:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 19:26:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1
2021-12-30 19:28:50 DEBUG daemon::monitor: Got notification for new block block_height=2133663
2021-12-30 19:31:50 DEBUG daemon::model::cfd: Rollover was not started: The Cfd was just rolled over order_id=7a00c9cf-9896-4836-b782-c5d1eb4da3c1

@thomaseizinger @luckysori perhaps we could close this PR if we've cherry-picked all the relevant bits?

Woops, forgot to close it. Thanks, @klochowicz!


Folder and file names completion on console using cd and edit returns unexpected options

Problem Description
Inside the console, the completion (tab) of the command cd returns multiple options all containing the first folder name. The completion of the command edit returns multiple options all containing the last file name. I observe this problem only on the Mac OS, it runs smoothly on my Linux (Pop-OS) machine.
What steps reproduce the problem?

Create multiple folders with the same start (eg.: mkdir toto_1 toto_2 toto_3)
On the console type: cd toto_ and press tab

What is the expected output? What do you see instead?
toto_1
toto_2
toto_3
Versions

Spyder 4.1.2
Python 3.7.6 64-bit
Qt 5.9.6
PyQt5 5.9.2
Darwin 19.4.0 (Mac OS Catalina)

Has anyone else experienced the same issue, is it related to the OS?

@silveira-lucas thanks for the report. I just checked and I see another space related issue (but might be related)
I have a bunch of screenshots on the Desktop and I get this:

So there is definitely an issue!

Note: Probably this needs to be fixed over QtConsole


Not only libc.so.6

For some security research, we not only need the libc.so.6, but also need the corresponding ld.so.
In your amazing project I find that it has already downloaded all libs but only reserved libc.so.6.
Maybe it should reserve all those libs.
Is it an acceptable idea to make a directory for each version of libs in db ?

I think this goes beyond the original purpose of the problem this project was meant to solve: Given a leaked function address, identify which libc is running on the other end. It is not meant to be a collection of ROP gadgets or similiar, so I'm not sure this is all to helpful. Can you describe a scenario in which this would be needed?

Once I was solving a pwn challenge without libc.
I figured out the libc version by a leak. But my exploit didn't work on remote target. So I needed to debug this libc. Then I struggled for a while to find the corresponding ld.so for debugging. As is known, loading libc.so without a right ld.so would trigger segfault.
Also, some challenges need libpthread.so.
Maybe this is a little off-topic, as you reminded.

OK, I understand your use case better now, and I think it would be nice as well. But wouldn't the compiler version also have to match to a certain degree? I always though the compiler/loader/libc combination had to match to run an executable. Maybe we can store the source URL inside db/X/ and provide an easy way to fetch and extract the original debian package on demand, in case more libraries are needed? I would be happy to receive a PR for this

Originally, an elf is initially loaded by ld.so. ld.so loads libc.so and others. When ld.so finished, rip goes to the entry point of the elf program.
I change the interpreter of elf binary from /lib64/ld-linux-x86-64.so.2 to /tmp/ld.so to do this. That trick is written in my welpwn.
I will make a PR later  :P

In that case, it would probably be cool to bundle patchelf or a similar tool and have a script that downloads the loader and modifies a given binary so that it can run locally.

Ideally in a temporary directory.