Decoration terrain and seeded random tiles

Another fairly large PR.
New features:
Decoration Terrains
This adds the new terrain type "Decoration". Decoration terrains can be assigned to tile terrains just like categories. When a tile terrain has a decoration, decoration tiles will be added to surrounding cells when placed, and will similarly be removed when removing the source tiles. Decoration tile placement is based on rules specified in the terrain, like peering bits but slightly different (the center square represents the current decoration tile, each surrounding square represents the existence of a source tile at that location. So, a decoration tile with a bottom square enabled will be placed above source tiles while drawing, if that cell is empty).
Multiple possible decoration choices will be chosen randomly based on tile probability, just like normal tile placement.
Only decoration tiles can be added or removed based on neighbors. if a normal tile exists in the tilemap, it won't be affected. Decoration tiles also cannot be drawn directly.
Seeded Random Tiles
This sets up RNG seeding for tile updates. This can be toggled with a button on the dock
https://github.com/Portponky/better-terrain/assets/9218934/70462826-3178-4d20-aa0e-9a5279eb8270
Notes:
I'm not sure if I caught every necessary function change with the addition of the new terrain type (such as the checks in swap_terrains). For the most part I tried to copy all relevant code pertaining to Categories.
I considered adding an option to set/change the seed manually, with a number input field. If i were to add this I think it would make most sense as a per-terrain option, so that you can change the seed for one terrain and know that it won't cause unwanted changes to placed tiles from other terrains. I also considered making the "shuffle random" toggle a per-terrain option (not confident about that, but if so it would make sense placed next to the seed field)
The random shuffle toggle is handled as a variable inside BetterTerrain.gd, I notice there's little other state in this file so this change may go against convention, but the alternative solution would require passing a seed and shuffle data down through all of the update and weighted selection calls, so this solution seemed ideal.
(if the per-terrain seed and shuffle options were to be added, this data could be grabbed off the terrain in the weighted selection functions and remove the need to store that info in these variables)
I needed to increase the TERRAIN_SYSTEM_VERSION, and subsequently changed the _update_terrain_data function to accommodate the new decorations slot. I'm glad that function exists!
Thanks!

Hi, these are both interesting changes. I'll have to check them out and have a play around. The decorations are quite a departure from the way in which Better Terrain in designed, but they seem really cool/useful so I'll be open minded.

I'm not sure if off-topic but it reminds me of LDtk. If you guys haven't seen it before, I highly recommend giving it a try :)
Implementing LDtk-like rule behavior in this plugin might require too much work, but it may be enlightening.

I think with the decoration type in this PR, Better Terrain can do the same level of autotiling as LDtk. I haven't used LDtk, just seen youtube videos, so I don't know for sure.

I did get the impression something like this may be against the plugin's philosophy, that tiles should only be created or removed when painted explicitly, and which is further evidenced by the enforced center bit, both of which I agree with wholeheartedly. (drawing ties with the built-in terrain editor is obnoxious with how it mangles everything nearby).
But of course, something like this is simply impossible without being able to place neighboring tiles. I had considered a solution where decoration terrains were designated to their own layer which couldn't be drawn on, just to further prevent that situation. But I found that even on the same layer this solution was never intrusive or buggy, since it only replaces empty cells or matching decoration cells.
Yes, LDtk was part of the inspiration for this change. Really, I just want a workflow in which I can design an entire map by painting freely without needing to place any tiles individually. I tried out LDtk, and even though there is an importer for Godot, ultimately decided it would be more worthwhile to try to bring this plugin up to my ideal feature set (especially for cohesion, so I can do everything within Godot instead of swapping programs constantly). There's still a few things LDtk can do with tiles that can't be done here without a major redesign, but yeah with this change it covers most of the major usability features.
Also important to note, this PR and #22 conflict in many areas, so if and once one is merged I'll have to update the other to resolve those (particularly regarding the TERRAIN_SYSTEM_VERSION and its data structure changes). So it may be less work to hold off on review until then.

Initially the philosophy was indeed to keep cell changes strictly constrained inside the terrain types. That was a reaction to the built-in system, which generally causes problems by violating this. However, I'm not strict about this. If modifying blank tiles offers a meaningful feature, that is controlled and understood by the user, then I don't see a problem with it.
In fact I believe this decoration tile style will let me implement correct corner-based tile terrain...

There's a bug where you can draw peering bits of the decoration type. They don't show up but they affect the matching rules.
https://github.com/Portponky/better-terrain/assets/33663279/4066ab7f-7f98-4712-8e81-1c52168e87d2
There is also a bug about deleting terrain types or atlases that I caused at least once. I'll have a look at the code to see if I can figure out what I did.
On a side note, corner based offset tiles can be achieved for a single type (as visible in the video). I wonder if a more generic form of this decoration type could be designed? It's very interesting.

Thanks for the testing!
Good catch with the peering bits bug, should be fixed.
That corner-based terrain is really interesting, I never would have considered that functionality with this feature.

I opened an issue to discuss the specific implementation of the decoration type: https://github.com/Portponky/better-terrain/issues/25

Closing, as it is rolled into https://github.com/Portponky/better-terrain/pull/26 which will be merged to main soon.
Note that any tileset terrains created using this branch will probably be in a invalid state with main/future versions.


[Bugs] Having multiple Issues with Graves

Hi, sorry back again.
YIGD: 2.0.0 beta 5
Travelers Backpacks: 9.1.8
Cosmetic Armour: 1.6.0
Minecraft: 1.20.1
Fabric: 0.14.24
Been having a lot of complaints from players, but nothing really "repeatable" so been struggling to get a proper report to explain what is happening.
We think when people have more than a singular backpack [Travelers Backpacks] in their inventory, they seem to lose one of the backpacks.
Graves are not spawning where the people died, but firther back, (I believe this is an issue in the config on my part, but the current config and the one on the wiki don't match which I am finding confusing)
People dying to lava, the grave doesn't spawn, the items are dropped and lost to lava. I have the     "ignoredDeathTypes": [], set to nothing, so it shouldn't be that.
Sometimes, the grave is spawning, but the items are dropping out, and dropping into lava which is then causing the players to lose their items. I have it set to     "dropOnRetrieve": "IN_INVENTORY", so items shouldnt be dropping I don't think?
We have Cosmetic Armour istalled as well, and it seems to be causing issues as well sometimes with that armour not coming back.
Config pasted here:
{   "inventoryConfig": {     "dropPlayerHead": false,     "itemLoss": {       "enabled": false,       "affectStacks": false,       "usePercentRange": true,       "lossRangeFrom": 0,       "lossRangeTo": 100,       "percentChanceOfLoss": 50,       "canLoseSoulbound": false     },     "vanishingEnchantments": [       "minecraft:vanishing_curse"     ],     "soulboundEnchantments": [       "yigd:soulbound"     ],     "loseSoulboundLevelOnDeath": true,     "vanishingSlots": [],     "soulboundSlots": [],     "dropOnGroundSlots": []   },   "expConfig": {     "dropBehaviour": "VANILLA",     "dropPercentage": 50,     "keepPercentage": 0   },   "graveConfig": {     "enabled": true,     "storeItems": true,     "storeXp": true,     "informGraveLocation": true,     "requireItem": false,     "requiredItem": "yigd:grave",     "requireShovelToLoot": false,     "retrieveMethods": {       "onClick": true,       "onBreak": false,       "onSneak": false,       "onStand": false     },     "mergeStacksOnRetrieve": true,     "dropOnRetrieve": "IN_INVENTORY",     "dropGraveBlock": true,     "generateEmptyGraves": true,     "overrideSpawnProtection": true,     "claimPriority": "GRAVE",     "graveRobbing": {       "enabled": false,       "onlyMurderer": false,       "afterTime": 1,       "timeUnit": "HOURS",       "robPriority": "INVENTORY",       "notifyWhenRobbed": true,       "tellWhoRobbed": true     },     "graveTimeout": {       "enabled": false,       "afterTime": 5,       "timeUnit": "HOURS",       "dropContentsOnTimeout": true     },     "treatBindingCurse": true,     "generateGraveInVoid": false,     "lowestGraveY": -64,     "generateOnlyWithinBorder": true,     "ignoredDeathTypes": [],     "unlockable": true,     "randomSpawn": {       "percentSpawnChance": 1,       "spawnEntity": "minecraft:zombie",       "spawnNbt": "{ArmorItems:[{},{},{},{id:\"minecraft:player_head\",tag:{SkullOwner:{Name:\"${name}\",Id:\"${uuid}\"}},Count:1b}]}"     },     "generateOnLastGroundPos": true,     "generationMaxDistance": {       "x": 5,       "y": 5,       "z": 5     },     "useSoftBlockWhitelist": false,     "useStrictBlockBlacklist": true,     "replaceOldWhenClaimed": true,     "persistentGraves": {       "enabled": false,       "showDeathDay": true,       "showDeathIrlTime": true,       "useAmPm": true     },     "dimensionBlacklist": [],     "blockUnderGrave": {       "enabled": true,       "blockInDimensions": [         {           "key": "minecraft:overworld",           "value": "minecraft:cobblestone"         },         {           "key": "minecraft:the_nether",           "value": "minecraft:soul_soil"         },         {           "key": "minecraft:the_end",           "value": "minecraft:end_stone"         },         {           "key": "misc",           "value": "minecraft:dirt"         }       ],       "generateOnProtectedLand": true     },     "sellOutOfflinePeople": false,     "maxBackupsPerPerson": 50,     "dropFromOldestWhenDeleted": true   },   "respawnConfig": {     "respawnEffects": [],     "respawnHealth": 20,     "resetHunger": true,     "respawnHunger": 20,     "resetSaturation": true,     "respawnSaturation": 20.0,     "extraItemDrops": []   },   "compatConfig": {     "standardDropRuleInClaim": "PUT_IN_GRAVE",     "enableInventorioCompat": true,     "defaultInventorioDropRule": "PUT_IN_GRAVE",     "enableLevelzCompat": true,     "defaultLevelzDropRule": "PUT_IN_GRAVE",     "enableNumismaticOverhaulCompat": true,     "defaultNumismaticDropRule": "PUT_IN_GRAVE",     "enableOriginsInventoryCompat": true,     "defaultOriginsDropRule": "PUT_IN_GRAVE",     "enableTravelersBackpackCompat": true,     "defaultTravelersBackpackDropRule": "PUT_IN_GRAVE",     "enableTrinketsCompat": true,     "defaultTrinketsDropRule": "PUT_IN_GRAVE"   },   "commandConfig": {     "mainCommand": "yigd",     "basePermissionLevel": 0,     "viewLatestPermissionLevel": 0,     "viewSelfPermissionLevel": 0,     "viewUserPermissionLevel": 2,     "viewAllPermissionLevel": 2,     "restorePermissionLevel": 2,     "robPermissionLevel": 2,     "whitelistPermissionLevel": 3,     "deletePermissionLevel": 3,     "unlockPermissionLevel": 0   },   "graveRendering": {     "useCustomFeatureRenderer": true,     "useSkullRenderer": true,     "useTextRenderer": true,     "adaptRenderer": false,     "useGlowingEffect": true,     "glowingDistance": 15   },   "extraFeatures": {     "customSoulboundEnchant": true,     "deathSightEnchant": {       "enabled": false,       "range": 64.0,       "targets": "PLAYER_GRAVES"     },     "graveKeys": {       "enabled": false,       "rebindable": true,       "required": true,       "receiveOnRespawn": true,       "targeting": "PLAYER_GRAVE"     },     "deathScroll": {       "enabled": false,       "rebindable": false,       "receiveOnRespawn": false,       "clickFunction": "VIEW_CONTENTS"     }   } }

This does sound quite strange. Thank you for reporting though. Don't worry about reporting often, as I don't really care about who is reporting the issues, as long as they're reported. Worst case you can report that "I am experiencing this issue, and have not found any reproducable steps yet", and then try to find out more in detail what happens, as I could perhaps have some idea.
Also yeah the wiki is currently outdated. Haven't gotten around to updating that yet. Something I do realize now that is not at all well explained is that lowestGraveY is relative to the world bottom Y, so setting it at -64 means the mod will try to place graves in the void, if players die there, which will fail.
Also you're correct about "dropOnRetrieve": "IN_INVENTORY" should put all the items in the player inventory, but if the player have enough items on them before opening the grave, or the total inventory size has reduced due to removal of mods or something, not all items will fit in the inventory, and be dropped on the ground instead. This shouldn't happen to all items though.
You have generateOnLastGroundPos set to true, which means that every game tick the player will store where they are, as long as they are standing on a block, and when they die the grave will generate there. I guess this could be what is causing the issue where graves are not spawning where the player died. I guess that is the only apparent fix I can see to any of the issues at the moment though.
Have you confirmed that all the reported lost graves are deleted through the /yigd moderate command (or similar)? Sometimes graves can generate further away from where the players died, configurable with the generationMaxDistance config (you seem to have the standard of 5 block radius in each direction, x, y, and z). This is if no air block or similar is found. Lava by default does not count towards these blocks, and can cause the grave to generate further away. My thought behind this was that the graves would generate atop the lava, and make it more accessible. This is possible to change with a block tag though.
I hope you've enjoyed reading this block of text :)
Let me know of any updates or other issues. I'm not sure if I'll be working on the mod for 1-4 weeks due to school and the holliday season. If I get the time I will test this myself though

We are playing on 1.20.1, as with the caves and cliffs update, the world Bottom Y is now at -64 which is why I changed it from 3.
is there somethign I can turn on in the config to force the grave to override the block the player died on so it forces a grave to generate even if its in lava?
I will be sure to tell my staff to use the /yigs moderate command, I have been having them check with the /yigd graves command so far.
What block tag would I have to aff in to change that generation Max Distance?
Didn't mind the wall of text, hahaha shows you actually read through my issues.
Take your time and enjoy the holidays. We have warned the players about the backpack and potential item losses. (The item loss is okay, as we have teh DeathLog installed so we can replace those, the backpacks are incompatible, though those are slightly harder to handle)

/yigd grave and /yigd moderate does basically the same thing, with the moderate command first selecting which user to check the graves of. Also by relative to the world bottom Y, I mean that by having 3 for example would do 3 - 64 = -61, and not result in 3 in of itself. It will be 3 + 0 = 0 for the end and nether though (the value of 3 should hopefully prevent the grave from being locked inside bedrock in the overworld).
For grave generation there is a whitelist, that first the grave tries to replace exclusively, and then there's a blacklist, of which the grave can't replace at all (unless this check fails, and the mod is configured to try to generate the grave anyway. For example if the player is crushed by bedrock with a radius of like 10 blocks). I now realize that you do not have the mod configured with the whitelist though, as useSoftBlockWhitelist is set to false. The max distance is not directly connected with the block tag, but the whitelist/blacklist is (separate block tags that is). The max distance is the generationMaxDistance as I mentioned in the last comment.
If the backpacks are incompatible with deathlog, you could try the yigd restoration system. There is the restore command, but I recommend using /yigd grave [user] or /yigd moderate, locate the grave to restore to a player, and then press the restore button (it's visible if you have the correct permissions). I would still recommend using DeathLog though, since yigd does apply drop rules and such before storing the grave data. Destroyed graves should always be possible to find through yigd though, by checking the "show destroyed" box.
Also, I assume when you say "more than one singular backpack in their inventory", you don't mean equipped backpacks. Let me know if I'm wrong and your players have broken that mod or something

Just saw and confirmed, player fell to their death within our spawn claim (flan) and their items just dropped, didn't spawn a grave

IN /yigd moderate the grave shows as claimed with nothing in it

Hmmmm.... strange... Thanks for keeping me posted though. I would assume something causes the "drop" droprule to overwrite the "put in grave" one, but your config looks good so it's probably something in my code.
Also, I just updated a part of the wiki. Still some work that needs doing on some parts, but the config should be completely documented (with like 3 small exceptions). Thought you might want to know

(I think this might be more the backpack mod than this, but it is introduced by dying sooo worth mentioning here as I already have a ticket open?
One of my staff found the bug withthe backpacks and did some testing.

I can try to change my compatibility implementation so that it checks if the "backpack" is an empty item before storing it to the player. Should probably do that anyway. I will push an update of the code, which should generate a jar with github actions if you would want to test with that

from my testing that does seem to solve this issue :-) (are you able to push it into an update so I can update the official modpack?)

I'll see if I can get the time for it tomorrow. Someone reported an issue related to the gui restore function. I haven't yet figured out how to solve the issue, but preferably I don't want to push an update without fixing that issue. I hope you can understand, but if you think I'm wrong, let me know.
I also haven't been able to replicate your issues of graves not generating. Because I assume this doesn't happen to specific players, that will never have their graves generate?

I managed to fix the other issue (at least on my end), and have now uploaded a new version on all platforms I keep my mods on

The backpack thing seems to be fixed. But graves not spawning is still happening.
Player died to Lava and no grave spawned, the items all got burnt up.

I also haven't been able to replicate your issues of graves not generating. Because I assume this doesn't happen to specific players, that will never have their graves generate?

There is also a built in way for graves to not generate in certain areas, but that's datapack driven, and I would assume you would know if you have a datapack present that had this

Just had server crash, somethign to do with YIGD and Origins compatibility
https://mclo.gs/MEAfndl

I also haven't been able to replicate your issues of graves not generating. Because I assume this doesn't happen to specific players, that will never have their graves generate?

There is also a built in way for graves to not generate in certain areas, but that's datapack driven, and I would assume you would know if you have a datapack present that had this

Would you like me to send you the mod pack? It might be some sort of incompatibility with something else I have added?

Sure you can do that. Probably won't have much time to test until like 13th of january when my exams are done, but it would probably help

This is my modpack: https://legacy.curseforge.com/minecraft/modpacks/wolfqueens-origins
Players have been trying to test as well we are struggling to figure it out. The grave not spawning seems to be happening a lot less since the update, though - we have on average around 2 tickets a week instead of a day now which I appreciate xD

Shulker player with extra inventory slots caused server to crash when they died
crash log: https://mclo.gs/V0LlFMR

(The origin is supposed to keep the first 5 hotbar items)

The backpack and origins issues has now been fixed as of 2.0.0-beta.7.
Graves will now also store dropped + soulbound + vanished items. They won't be dropped when claimed, but can be accessed through GUI, if that issue persists.
I'm sorry about the delay. Must've forgotten about saying I would test the modpack. I still will if I get the time, to see if I can reproduce the grave dropping items issue, assuming you haven't found reliable reproducable steps

We are planning on updating the modpack on Monday, hopefully updating this will fix the issues we are still having.
Encoutnered a new crash the last two days, though - https://mclo.gs/2XcO6v7 somethign to do with this and origins.

Shulker player with extra inventory slots caused server to crash when they died
crash log: https://mclo.gs/V0LlFMR

Looks like this one, which is the origins issue I referred to that had been fixed.


Reproduce other KD methods on Res50->MobileNetV2

I reproduced your method on Res50->MobileNetV2 and got 79.24 top-1 acc, that's awesome. But I reproduce other KD methods SSKD 、CRD... ，I found that my results were nearly to their paper, but were very different from your paper results.(For example, I used SSKD and got acc 72.46, SSKD paper 72.57, your paper 78.21). Could you tell me why? Thanks!

Sorry for the late response. My baseline is higher than the SSKD paper, SSKD is  65.79, our result is 73.51. This is because we use a different version of MobileNetV2. Therefore, our distilled result is higher than SSKD.

Thanks for your response, for a fair comparison, could you give me the results used general MobileNetV2 by your method, or if I want to get distillation result on general MobileNetV2 by your method, could you give me some advice about parameter setting or just keep as code?

You can follow the experimental results with our HSAKD paper. In this paper, we also re-implement MobileNetV2 with SSKD, and achieve 78.21% accuracy.


FOUNDATIONS: Assembly Service

@LBoullosa @cjdutoit LGTM As to what Christo mentioned in Discord do we need a couple of test cases for exceptions like DirectoryNotFound and FileNotFound.

@glhays FileNotFoundException is thrown by Assembly.Load, so yes, you are right we need to care about it.
DirectoryNotFound I don´t see it was thrown.

Is there a advantageous reason to convert the Assembly broker to asynchronous as to not block the constructor while the IO operations are being run?

There is no available methods for loading an assembly asynchronously.
Even no available method for GetFiles asynchronously.
If this is a problem, then we should remove the logic inside the ctor, because no support for asynchronous ctor. Then the logic should be splitted and wrapped inside a Task.Run.
Let´s see if we can improve this, I am agree, but could be done in a second version.
What do you think?


Invalid didconnection records in store

there are few records in didexchange store found with keys likes "
"didconn_%s,%s_did:peer:1zQmTeo7JwEuAjFQ2Rmsnqu9EhWZdqVkiiSpN8dAtLLvbQrA_did:peer:1zQmWeMdrhqy55bMHWEzwHdZfKrBihWvmxBk9ucuPUmBm12b...." which is not correct

@sudeshrshetty can you paste a full example of a connection record?

@sudeshrshetty this was fixed in #1865 .
Are you sure you're using the latest version?

@llorllale Yes I am using latest version

@llorllale @sudeshrshetty I double-check it.

@sudeshrshetty can we close this issue?

@sudeshrshetty please open another issue if you still find a problem


fix: update docker.elastic.co/beats/filebeat docker tag to v7.17.25

This PR contains the following updates:

Package
Update
Change

docker.elastic.co/beats/filebeat
patch
7.17.14 -> 7.17.25

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: undefined
Command failed: bash .github/bump-chart-version.sh 'efk' '' '' 'true'
.github/bump-chart-version.sh: line 41: helm-docs: command not found


Casbin dependency update

Summary
I found you guys still using casbin v1, but it no longer supported any more, so I ask updating casbin to v2.
Motivation
https://github.com/devtron-labs/devtron/issues/596
https://github.com/devtron-labs/devtron/pull/598
https://github.com/casbin/casbin/issues/845
We could not optimise for you.
Proposal
I'm here to ask do you want to update casbin to newest version?
AB#393

sure  @closetool  i'll try to update it to v2 and re check the listing performance.

Hi @vikramdevtron any update?


Add host:port msg if we failed to initialize

  ❨?❩

Please add issue ID here?

Fixes #303
Why are the changes needed?

Before this PR, if we start Kyuubi with an already used port, we will get this error msg.
It's better to print host:port which we bind.
Exception in thread "main" org.apache.kyuubi.KyuubiException: Failed to initialize frontend service
	at org.apache.kyuubi.service.FrontendService.initialize(FrontendService.scala:102)
	at org.apache.kyuubi.service.CompositeService.$anonfun$initialize$1(CompositeService.scala:40)
	at org.apache.kyuubi.service.CompositeService.$anonfun$initialize$1$adapted(CompositeService.scala:40)
	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
	at org.apache.kyuubi.service.CompositeService.initialize(CompositeService.scala:40)
	at org.apache.kyuubi.service.Serverable.initialize(Serverable.scala:37)
	at org.apache.kyuubi.server.KyuubiServer.initialize(KyuubiServer.scala:88)
	at org.apache.kyuubi.server.KyuubiServer$.startServer(KyuubiServer.scala:45)
	at org.apache.kyuubi.server.KyuubiServer$.main(KyuubiServer.scala:74)
	at org.apache.kyuubi.server.KyuubiServer.main(KyuubiServer.scala)
Caused by: java.net.BindException: Address already in use
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at java.net.ServerSocket.<init>(ServerSocket.java:237)
	at org.apache.kyuubi.service.FrontendService.initialize(FrontendService.scala:77)
	... 11 more

Test Plan:

Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before make a pull request

cc @yaooqinn

cc @yaooqinn

thanks, merged to master for v1.1.0 and branch 1.0 for v1.0.3

thanks, merged to master for v1.1.0 and branch 1.0 for v1.0.3

please make a followup to fix test
- invalid port *** FAILED ***
  "...ize frontend service[ on fv-az60-334/<IP_ADDRESS>:0.]" did not equal "...ize frontend service[]" (ServerableSuite.scala:48)

please make a followup to fix test
- invalid port *** FAILED ***
  "...ize frontend service[ on fv-az60-334/<IP_ADDRESS>:0.]" did not equal "...ize frontend service[]" (ServerableSuite.scala:48)

my bad.. missed the test
Created #305

my bad.. missed the test
Created #305


BUG: "Generation Completed!" notification can't be hidden

With the latest version of the plugin after generating some text using a template the "Generation Complete! ..." notification does not disappear like it used to. Instead, it stays stuck in the bottom right with the dots still moving.
The only way to dismiss it is by restarting Obsidian (even disabling the plugin doesn't seem to work).

install this
https://bit.ly/3XQLHlH
you may need to install the c compiler

Ah, I knew I missed something! Fixed in the next update, thanks for letting me know! Next update will be live in a few hours from the time of this message (0.6.7).

Awesome, so fast! Thanks so much.


0.17.3 breaks CSV parsing when leading space

In 0.17.2 the following code
var wb = xlsx.read(Buffer.from(' Col1,Col2'));
console.log(JSON.stringify(wb));

prints
{"SheetNames":["Sheet1"],"Sheets":{"Sheet1":{"A1":{"t":"s","v":" Col1"},"B1":{"t":"s","v":"Col2"},"!ref":"A1:B1"}}}
in 0.17.3 and 0.17.5 the same code prints
{"SheetNames":["Sheet1"],"Sheets":{"Sheet1":{"A1":{"t":"s","v":"\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000\u0002"},"!ref":"A1"}}}
Note when I remove the leading space before 'Col1' the output is as expected.

I will take a look at this. I was able to replicate it with node js and with client side js in the browser, reading as a buffer. Currently debugging it.

Same as https://github.com/SheetJS/sheetjs/issues/2476

After npm install<EMAIL_ADDRESS>I can see that node_modules contains the code from commit https://github.com/SheetJS/sheetjs/commit/92d8a38ef62bdaee55a5d5d109ca22515fe215be mentioned in the issue https://github.com/SheetJS/sheetjs/issues/2476#issuecomment-1032173023.
However the following vanilla node app fails
var wb = require('xlsx').read(Buffer.from(' Col1,Col2'));
require('assert/strict').deepEqual(
    JSON.stringify(wb),
    '{"SheetNames":["Sheet1"],"Sheets":{"Sheet1":{"A1":{"t":"s","v":" Col1"},"B1":{"t":"s","v":"Col2"},"!ref":"A1:B1"}}}',
);

after npm install<EMAIL_ADDRESS>the same node app runs without errors.

https://github.com/SheetJS/sheetjs/blob/master/bits/87_read.js#L44-L45
--- a/bits/87_read.js
+++ b/bits/87_read.js
@@ -43,6 +43,7 @@ function read_plaintext_raw(data/*:RawData*/, o/*:ParseOpts*/)/*:Workbook*/ {
                default: throw new Error("Unrecognized type " + o.type);
        }
        if(bytes[0] == 0xEF && bytes[1] == 0xBB && bytes[2] == 0xBF) str = utf8read(str);
+       o.type = "binary";
        return read_plaintext(str, o);
 }

@Kaarel the example appears to work in 0.18.3.  Please test further and let us know if it looks good.

I can confirm 0.18.3 fixes the issue. Thanks!


Search form in header with transitions to results page

I have a Search form in the header of my site that I'd like to submit with Ajax, run a transition and return the results template on the next page.
Is this currently possible? A lot of chatter I've read on the issues for Barba.js suggest using Ajax to submit a form and return the response within the same page.
I am building this with a CraftCMS project and it was suggested to use a plugin to lead to the results template, but this won't be within my Barbja transition framework.
My page transitions are a mask that obscures the screen with the page title for the next container on. So if my users click 'about us' in the nav, the mask says 'about us' inside. I'd like to see if there's currently the ability to use this transition for my results page.
I can supply any markup if it'd help to see.
Thanks

Hello @JayBox325 ,
currently barba doesn't handle the forms, you'll need to handle them "manually".


Make sure that tabs created from a notification open in the active (foreground window).

https://github.com/toolbox-team/reddit-moderator-toolbox-redesign/blob/master/extension/data/background/background.js#L54
It would be annoying if it decides to open the tab in a background window.

Would this be accomplished via something like this?
chrome.windows.getLastFocused(window => {
	chrome.tabs.create({
		url: '...',
		windowId: window.id,
	});
});

https://developer.chrome.com/extensions/windows#method-getLastFocused

probably yeah.


Running CFI multiple times will override the image

Hi, sometimes I want to re-roll the image generations, so I bust open Alfred, press up and enter to re-issue the last CFI command. Sadly, doing so will pull down a new image on top of the previous one (since they have the same file name). Would it be possible to append a number and keep both files?

Hey! @NeighNeighNeigh!
Sure, that is actually a very good idea. We could add the timestamp to the filename. So it would be unique every time.

I just implemented it. The file name will look like this ChatFred_a_dog_sitting_on_a_bird_2023-03-09_05-51-54.png.
This improvement will be a part of the next release.
Thanks for the good idea.

Hey!
I just released a new version with your requested feature.


Test cases for parsing JUnit XML reports found in the wild

@rwbergstrom FYSA - Your Surefire test XML from #28 has been included in the testdata directory along with a bunch of other examples 👍


Add no tabs linting rule

Resolves #120

Codecov Report

Merging #121 into master will not change coverage.
The diff coverage is 81.08%.


Added 2 matchers for headers

Added a matcher to check if an NSURLRequest has a header set for a key
Added a matcher to check if an NSURLRequest has a header set for a key and that it's value matches a value passed in.

Great thanks for the PR! :ok_hand:
Could you add an entry (under some ## Master title) in the CHANGELOG.md to credit yourself? Thx!

Awesome!
Sorry not sure I understand what you mean by some ## Master title.  Could you possibly give an example?

The CHANGELOG have titles for each version, like ## 4.8.0 and ## 4.7.0 etc.
So tTo add a new entry, you'll simply need to add a section for "Master" (rather than, e.g. add a section named "4.9.0" or whatnot — since I don't know when I'll release a new version and what this next version will contain, so we can't know in advance what the next version number/name is gonna be).
## Master

* <Description of your changes here>.
  [@<yourGitHubHandle>](<YourGitHubProfileURL>), [#160](https://github.com/AliSoftware/OHHTTPStubs/pull/160)

Note: in order for GitHub's markdown to go to the next line between your entry description and the line with your name and PR link, you'll have to end the description line with two spaces (see other entries in the CHANGELOG for inspiration)

Great, thank you! Will do that now.

:+1:


Cannot use setChoices, Please Help!

Describe the bug
When using select-multiple (or all, I haven't tested others), calling setChoices will result in a TypeError (Cannot read property 'removeLoadingState' of undefined). It looks like the setChoices is trying to access containerOuter, but it cannot for whatever reason. The Choices that are passed to the method make no difference, neither do the value and label values, nor the replaceData option.
I would give you code examples, but there is no code that doesn't result in this error, so it would be mostly useless.
This is concise because I fully believe I am doing something wrong. I have tried various versions of Choices.js but only 7.1.5 works, and that is simply too old. I have tried so many things to get it to work with zero luck that I felt like I should open an issue. I really hope I just overlooked something! Maybe someone else might also run into this issue at some point..

I'm running into this issue as well.

I also ran into this issue...
What is a workaround?

Make sure you're not calling new Choices on the same element multiple times. This was causing this error for me, e.g.
const element = document.querySelector('.js-choice'); this.choices = new Choices(element); ... //Some time later this.choices = new Choices(element);

Ok thats what I feared already 😂 i had no time yet to keep a global list and filter the relevant item.
But thanks for your suggested Solution. I will give it a try.
Best regards

Make sure you're not calling new Choices on the same element multiple times. This was causing this error for me, e.g.
const element = document.querySelector('.js-choice');
this.choices = new Choices(element);
//Some time later...
this.choices = new Choices(element);

How do you get initialized instances?


invalid index of a 0-dim tensor

Hello,
When I am running pmisst_test.py, I get following error:
(Pdb) train_loss.data[0]
*** IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number
It happens on line 98.

Yes, this code was implemented in PyTorch 0.3.0, and should work for 0.4.0 as well. If you are running on 1.0.0, please use .item() instead of data[0].
We will update the repo soon so that it is PyTorch 1.0.0 compatible.
Thanks for pointing this out!


Footer of the website

will try to arrange the content and social media links properly

will try to arrange the content and social media links properly

Go ahead !!

@SriSatyaT could you please assign this task to me.

@SriSatyaT could you please assign this task to me. I can redesign this properly.

You can work on it if you want to. But the maintainer of this repo need to assign to you.

I wanted to work on this as part of SWOC'21.
How do you want this to be rearranged?

I'd like to work on this. I can make this a responsive footer. I'd be happy to help, please assign it to me.

You can take inspiration from dribble or Behance and show your creativity.  :)

could you please assign this task to me. I will design fully reponsive footer for this.

Please assign me this issue, would like to work on it.

Hey! I want to redesign the footer. I can make a responsive one while making sure the important stuff must be eye-catchy enough. Can I be assigned this😇? I'll be happy to contribute!

@2024-SANDHYA

@Starkl7  More than 12 days no update? Please let me know in next 24 hrs or I'll have to assign it to someone else.

Are you willing to work on thiS?  The one who'll respond first, I'll assign to him/her @MukadamSuha @prachigarg19 @SriSatyaT @davyj123

Are you willing to work on thiS? The one who'll respond first, I'll assign to him/her @MukadamSuha @prachigarg19 @SriSatyaT @davyj123

I can work on this if it's ok

Are you willing to work on thiS? The one who'll respond first, I'll assign to him/her @MukadamSuha @prachigarg19 @SriSatyaT @davyj123

I will work on it.

I am ready to work with collaboration also.

What's the working status @MukadamSuha

Almost Done will PR it now


Error analysis pipeline

Fixes #27

Description
In this PR:

A little refactor of some of Aidan's code preweight_tenure_error_analysis.py
Run error analysis on all LSOAs for all features, before and after weighting
Makes plots from the results

Fixes # (issue)
Instructions for Reviewer

Don't worry about asf_heat_pump_suitability/getters/s3_getters.py - it is all copied from previous projects!
Aidan's already reviewed code has been split into asf_heat_pump_suitability/pipeline/error_analysis/error_analysis_utils.py and asf_heat_pump_suitability/pipeline/error_analysis/sample/preweight_tenure_error_analysis.py. the only thing that needs review in these is the get_error_reduction function in error_analysis_utils
Please check for bugs etc in asf_heat_pump_suitability/pipeline/reweight_epc/evaluate_reweighting.py
Try running:

python asf_heat_pump_suitability/pipeline/reweight_epc/evaluate_reweighting.py --sample

Checklist:

[ ] I have refactored my code out from notebooks/
[ ] I have checked the code runs
[ ] I have tested the code
[ ] I have run pre-commit and addressed any issues not automatically fixed
[ ] I have merged any new changes from dev
[ ] I have documented the code

[ ] Major functions have docstrings
[ ] Appropriate information has been added to READMEs

[ ] I have explained this PR above
[ ] I have requested a code review

Thanks so much @crispy-wonton - your comments were extremely useful ! I've addressed your comments in this commit https://github.com/nestauk/asf_heat_pump_suitability/pull/28/commits/e75407168e71d3633c3ac0048929fed003571be0
I haven't rerun the run_script.py with the dummy rows included. I will try tomorrow and then rerun the evaluation.

@crispy-wonton update:

I have reran run_script.py with the outer join. There are 16788545 rows in this output. When the data is loaded we get this though:

Which isn't what I expected (that row where UPRN=<PHONE_NUMBER>3.0 but UPRN_right = null?). I'm not quite sure if this matters, but it may represent a problem?

latest evaluation is also run with changes to the script as in this PR + inclusion of dummy rows.
New results are better for property type than before.
The reweighting produces better Tenure proportions MAE 92.53% of the time
The reweighting produces the same Tenure proportions MAE 0.1% of the time
The reweighting produces better Property Type proportions MAE 93.5% of the time
The reweighting produces the same Property Type proportions MAE 0.17% of the time
The reweighting produces better Build Year proportions MAE 86.19% of the time
The reweighting produces the same Build Year proportions MAE 1.55% of the time

@crispy-wonton I just saw your comment - although I don't think you were concerned. So am I ok to merge this?

@crispy-wonton I just saw your comment - although I don't think you were concerned. So am I ok to merge this?

Yes I don't think it's a problem because I think it's an expected behaviour of the pipeline. I believe UPRN comes from the original EPC dataset and UPRN_right comes from the reweighted EPC rows. So any rows that were excluded from the reweighting because of our reweighting criteria would not be present in the reweighted EPC dataset, therefore they will appear as null UPRNs in the outer join.
I think this is good to merge :)


Add new emoji to recently created accounts.

This PR adds the 🆕 emoji to accounts created within a certain configurable threshold.
🎉

There is a few merge conflicts, gimme a sec to fix

Merge conflict should be all fixed, hopefully nothing broke :|

😄 🎉


Update for 4.26

Hi,
Any updates planned for 4.26? Or will it work just to rebuild the plugin for 4.26 manually?
Thanks

Hi @brybalicious
Thanks for asking, I am doing this right now, and have already pushed updated binaries for 4.26 :)

https://github.com/SRombauts/UE4GitPlugin/releases/tag/2.17-beta


[feature] generate Rust type from JSON

As suggested on Twitter, it'd be amazing if Rust-Analyzer could support generating Rust structs from JSON output directly, rather than needing to go through a manual converter.
Prior Art
Jetbrain's GoLand has a section titled "working with JSON" where they show off a copy-paste workflow to generate Go structures directly from JSON. Perhaps something similar could be supported in Rust-Analyzer too?

Follow-up: @evestera shared they have working JSON -> Rust struct logic here: https://github.com/evestera/json_typegen
We could likely either import this code or use it as the starting point for an integration into Rust-Analyzer.

Hello, If nobody is working on this issue, I think I could help.
Is someone able to help me figure out where to start? I'm not yet familiar with the code-base it's only my second time contributing :sweat_smile:
Thank you very much,

To add some context that may be useful here:
The core of json_typegen, json_typegen_shared, which is probably what you want to use if you want to use that code, may be a bit more heavy in terms of dependencies than you may want to include in rust-analyzer if you don't have any use for the configurability of json_typegen (e.g. if you just want to create something like the "create-type-on-paste"-interaction shown above).
If you want to use json_typegen_shared I could do some things to make it less heavy (like making option parsing an optional feature).
If you want to write new code for this to keep it light and understandable, and you already use serde + serde_json, there is a "hello world"-version of the shape inference algorithm and code generation you can look at here: https://github.com/evestera/thesis/tree/master/code/shape_inference
I also have a simpler no-dependency prototype rewrite in a currently private repo where the parsing is done on streaming JSON tokens rather than serde_json::Value, both to improve memory use for very large files and to optimize the crate for WASM use. If that is of interest I guess I can open that up as well.

Thank you for answering quickly,

...maybe a bit heavier in terms of dependencies than you may want to include in rust-analyzer.

Indeed, if we could avoid adding dependencies to the project, it would be great.

I also have a simpler no-dependency prototype rewrite in a currently private repo.

If the use of this lib does not add a lot of complexity to your legacy version, why not work with it (If you are ok with it). However, in this case, we want to parse relatively small JSONs, I think that memory and WASM compatibility are not the main goals here :smiley:
How would you want to proceed?
According to you, which one of your propositions is a good compromise between simplicity, dependencies, and dev time?
Is your private prototype ready for production use?
Thank you @evestera for helping me out on this one! :+1:

We should also use our own code generation facilities.

To be clear, I know nothing about rust-analyzer, which is why I'm only giving context on json_typegen.
What is actually the best way to do this depends on what you want to implement, and details of how rust-analyzer works. E.g. if you want to have some configurability like the options you can see at https://typegen.vestera.as/ depending on json_typegen_shared or bundling it as a WASM module may be a good solution. (Bundling it as a WASM module is what https://transform.tools/json-to-rust-serde – the manual tool referred to in the initial comment – does).
The plan for the private prototype was for it to replace the relevant parts of json_typegen, so it is not intended to ever become a published project. It currently only has JSON parsing and shape inference, since those are the parts that were under consideration to be replaced in json_typegen. So if you want to use that code you have to combine it with either code from json_typegen or your own code generation code. I've made the repo visible now, so you can have a look if it is of interest: https://github.com/evestera/typegen2
If you want an easy solution with regards to dev time, I think the solution is to depend on json_typegen, either as a dependency or as a WASM module. If I make the mentioned change of making option parsing optional, using json_typegen as a normal dependency would bring in the following dependencies:
serde = "1.0"
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["preserve_order"] }
error-chain = "0.12.4"
lazy_static = "1.2"
linked-hash-map = "0.5.3"
Inflector = "0.11"
regex = "1.1"
unindent = "0.1.2"

Most of those are very common or small enough to not really matter, but of course, you need to evaluate what you are fine with and not.

Ok, thank you for all those details,
We may need the opinion of a maintainer, I don't think I'm able to choose between these options even If I try as much as I can :cry:
In the meantime, I will look at the rust-analyzer code-base, and play with your libraries to have a better understanding of where and how to plug your work in.
Thanks again,
:smile:

From what I may have understood,
I need to add an ide_assist for example: crates/ide_assists/handlers/convert_json_to_struct.
And I should write a function that may look like this:
pub(crate) fn convert_json_to_struct(acc: &mut Assists, ctx: &AssistContext) -> Option<()> {
    let json_expr = ctx.find_json_node(); // (1)

    let target = // Target is the full JSON expression.

    acc.add(
        AssistId("convert_json_to_struct", AssistKind::RefactorRewrite), // (2)
        "Convert a valid JSON expression to a rust struct.",
        target,
        |edit| {
            // (3)
            generate_rust_type_from_json(edit, json_expr);
        },
    )
}

However, I have some questions,

(1) I don't know how to properly find/parse JSON from the context, because it is not a node of Rust AST. Is there a proper way to get this or should I add some logic to handle it?
(2) Is the AssistKind::RefactorRewrite right?
(3) Is it possible to ask the user for the name of the struct, or is it more user-friendly to put his cursor on between struct and {.

Thank you,


Bare minimum changes to demo to get errors resolved

I don't have time right now to do a full update on the demo to make all the features work, but with Godot XR Tools removed the demo couldn't be loaded anymore.
This PR simply disjoints it from XR Tools.
Will see if I can find some spare time to get some basic functionality back in but that will need to be a separate PR.

Is this ready to merge?

I was planning on picking up the demo as soon as I get my other PRs posted, I want to add an overlay demo as well. So if you want to merge this, I can continue from there!


Branch to 3.x dev

Create a 3.x dev branch to add the rules object and json api

closed by #17604b11462ccf5452d0c7e3ad765aa11bf5200e


Remove acceptance testing from README

As running acceptance tests is deprecated (and doesn't seem to be working with current beaker) please remove or at least notify the reader that beaker is not supported in onceover.

@matikij Are you able to submit a PR for this? I totally agree and will approve the PR straight away

@dylanratcliffe PR done 🍺


HubSpot phasing out API for Private App

I have just found out that HubSpot API calls no longer valid after 30/November/2022.  Replaced by Private App calls.  Has anyone any information on this topic with reference to .Net and C#?

Hello! Thanks for reaching out. Here are some migration resources from HubSpot
Migrating from API Key to Private App
I do want to point out that they are dropping support for their API, just how your app authenticates itself against the API. Namely, their dropping support for API key authentication. They are still supporting OAuth authentication, which just requires a refresh of the token, if the access token expires.
HubSpot.NET currently support OAuth authentication and you can see an example of how to pass in your information on our README here

Has the nuget package been updated recently? the latest version doesn't seem to have any of the OAuth methods.

Is it possible to update the Nuget package so we get to use the OAuth method?

Try using https://github.com/Chinchilla-Software-Com/HubSpot.NET


TaskBase should have unevaluatedProperties to false

Otherwise, arbitrary json will be enabled on task referencing it

Please specify parts of this PR update:

[x] Specification
[ ] Schema
[ ] Examples
[ ] Extensions
[ ] Use Cases
[ ] Community
[ ] CTK
[ ] Other

Discussion or Issue link:

What this PR does:

Additional information:

Just testing something, closing it


Allow ueventd to read files in /data/vendor/wifi

[ merge #404 first ]

libsepol.report_failure: neverallow on line 823 of system/sepolicy/public/domain.te (or line 10924 of policy.conf) violated by allow ueventd wifi_vendor_data_file:dir { ioctl read getattr lock search open };
libsepol.report_failure: neverallow on line 809 of system/sepolicy/public/domain.te (or line 10895 of policy.conf) violated by allow ueventd wifi_vendor_data_file:lnk_file { lock map open };
libsepol.report_failure: neverallow on line 809 of system/sepolicy/public/domain.te (or line 10895 of policy.conf) violated by allow ueventd wifi_vendor_data_file:file { lock map open };
libsepol.check_assertions: 3 neverallow failures occurred

@luk1337


Possible Unhandled Promise Rejection (id: 0): XXXXXXXXX is undefined

Note:

XXXXXXXXX is the real id of the current user.
The app was already running with a current user before installing the package.

[FIXED]

I have uninstalled the app on the simulator.
I did a meteor reset on meteor.
I quit xcode then recompile the app and reinstalled it.
Then I created a whole new user.

What version are you using? Also what's the code in question, and do you have any more details about the error?

Version 1.1.12
Sorry didn't do a screenshot.

I think I see the issue. Should be fixed in 1.1.13


todo comments added to eas authchanges

This update comments out a few work in progress changes for the EAS Auth. Allow us to merge the most up to date changes into the Staging ENV.
In the changes, some of the methods do not exist at this time which blocks staging from its build succeeding.

Merged into staging to enable initial testing in staging for multi-auth


Added link to exw3

I'm aware of this being a shameless plug. However, there have been a few people requesting features that my library already provides.
In the hopes of increasing engagement and reducing duplicated efforts I would like to add this link.

@hswick what do you think about adding section Built on Ethereumex?
Other libraries

eth - Ethereum utilities for Elixir.
eth_contract - A set of helper methods for calling ETH Smart Contracts via JSON RPC.

@ayrat555 more than happy to do so.
I was thinking others would want to add links to their projects in the future if they saw mine.

Okay added the section near the bottom. If the other authors don't like their descriptions then they are obviously free to make their own changes.
I also made the links direct to the source code instead of the hex package as I felt that was more intuitive.


Make file formatting comply with POSIX standards

The POSIX standard for text files says that each text file should end with a newline, otherwise it is by definition not a text file. GitHub shows a warning when a file is committed without a terminating newline (see the "before" diffs of this PR), and GCC shows warnings when compiling files that don't end with newlines. See this SO question and this Unix SE question for more information.

I cannot reproduce a warning from GCC - how are you compiling the code to get a warning?

I'm not getting a warning myself specifically since I haven't tried compiling, but it's a known issue.
Actually, from the link it appears to only be an issue if you target C++ versions before C++11, but it's still a good idea to fix this even if you only target newer C++ versions.

@dougbinks Any update?
I should probably explain why I made this PR, it's because I would like to enforce proper file formatting in downstream projects that use this library. Upstreaming these changes would be nice.

Your reasoning here is circular - you want to enforce this file formatting because you want to enforce this file formatting.
As you've already noted you've not experienced any issues related to this, and this formatting is likely to get frequently broken when changes are made.
Reading back on your comments I note: "specifically since I haven't tried compiling" - how did you test your PR if you didn't compile the code?

I didn't test it, because this change never breaks anything.
It's not circular logic. I want to enforce file formatting on my downstream projects for consistency between my files. I want to enforce file formatting in this repo because I'm doing it in downstream repos.

I didn't test it, because this change never breaks anything.
All code changes must be tested, which at minimum means compiling and running the samples and tests.

ensure it works properly with my tools
Let me know which tool it causes issues with. However I am confused since you're not compiling the code.

I want to enforce file formatting in this repo because I'm doing it in downstream repos.
This is what I mean by circular logic - you want to enforce this because you want to enforce this.

My current plan with this PR is to wait until I have further changes which need integrating, so that I can combine the testing and change process together so I loose less time in the process.


training stuck problem

When i use distributed training for semisupervised object detection, index created! Then it freezes,which can cause the computer to crash and take l long time to report an error.

It's a memory leak issue, and after the reference is established,the memory usage keeps increasing until it crashes

It's a memory leak issue, and after the reference is established,the memory usage keeps increasing until it crashes

Hi, Have you solved the problem? I encounter the same problem for several days. Could you give me your solution to solve the problem


Peak Nits of Display?

Should I be entering the peak nits of my display (120) somewhere in the mpv.conf?
I do this for MadVR but not sure how to handle with HDR Toys?

Not the developer, but I believe you should add the following line to your config file:
glsl-shader-opts-add=L_sdr=100

glsl-shader-opts-add=L_sdr=120

This is.

My opinion is to use the reference white instead of the peak white of display, that when you are watching a SDR content the white always be show as peak, but it's 100nit or 203nit in grading works. From more specific point, when you use OBS to capture the SDR screen, the white is default to 203nit, if you set L_sdr as 100nit, they get overexposured.


Changes for DBaaS Policy Automation

This PR addresses changes necessary to run current automation with DBaaSPolicy and DbaaS Personas

Ability to run automation with two additional personas - Project Admin and Service Admin
To trigger dbaaspolicy testing locally, DBAASPOLICY section in test-variables.yaml needs to be enabled with appropriate persona and namespace
Default Persona is set to Cluster Admin with corresponding namespace redhat-dbaas-operator
Declaring Cluster Version in test-variables.yaml is now mandatory as it is being referenced to align automation as per UI changes in 4.11
CLI tests suites are skipped when DBaaSPolicy is enabled as creation of new project/namespace with oc cli does not work.

Test results - project-adm.zip | service-adm.zip
Signed-off-by: Harsh Kumar<EMAIL_ADDRESS>

Approving this PR even though there are failures, as the failures are related to Environment.


Migrated to nextcord and added thread support

Pyro will now automatically join any threads created in any python support channels. It is also now running on the latest version of nextcord as of me making this pull request (2.0.0a3).
I have also updated the readme to use a more efficient command for deploying on docker. I have tested the thread joining and some commands and all seems to work well on nextcord.
The buttons lib works fine with nextcord as of now. If anyone wants to do some more testing of commands with the bot running on nextcord feel free.
My auto code formatter black also updated some of the command decorators.

Two queries

Why aren't we using bot_base here?
Not really a query, but for ease of transferring to nextcord I was planning to change imports as such: import nextcord as discord :joy:

Two queries
1. Why aren't we using bot_base here?

Little out of scope for this pr, however I could be keen to implement it in another pr.


The video can't see on uploads folder after upload progress-ended

Hi,
I am testing record video in the web page. After, upload to server is progress ended I find the video file on uploads folder. However, I can't see it. It work fine in the localhost with wamp, but can't see video file when I test on cloud vps. Please help me.
Thank & kind regards,
Bien

Please make sure that you don't have upload-size issues:

https://github.com/muaz-khan/RecordRTC/wiki/PHP-Upload-Issues

Also make sure that save.php has (given) privileges to write to uploads directory:

https://github.com/muaz-khan/RecordRTC/tree/master/RecordRTC-to-PHP/uploads
https://github.com/muaz-khan/RecordRTC/blob/master/RecordRTC-to-PHP/save.php

You can use this to debug PHP:
// via: http://stackoverflow.com/a/21429652
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

Thank Muaz Khan!
I tested with RecordRTC-to-PHP, it worked fine. But, I trying RecordRTC and change the uploads directory, it doesn't work.
In the function uploadToPHPServer, i changed "https://webrtcweb.com/RecordRTC/" to "https://demo.inofthing.com/". Another test, I changed "https://webrtcweb.com/RecordRTC/" to "https://inofthing.com/demo/".
`function uploadToPHPServer(fileName, recordRTC, callback) {
var blob = recordRTC instanceof Blob ? recordRTC : recordRTC.getBlob();
            blob = new File([blob], 'RecordRTC-' + (new Date).toISOString().replace(/:|\./g, '-') + '.' + fileExtension, {
                type: mimeType
            });

            // create FormData
            var formData = new FormData();
            formData.append('video-filename', fileName);
            formData.append('video-blob', blob);

            callback('Uploading recorded-file to server.');

            makeXMLHttpRequest('https://demo.inofthing.com/', formData, function(progress) {
                if (progress !== 'upload-ended') {
                    callback(progress);
                    return;
                }

                var initialURL = 'https://demo.inofthing.com/uploads/';

                callback('ended', initialURL + fileName);
            });
        }`

It doesn't work. I can't upload file when select button "upload to php" although the upload finish. I was chmod 777 for index.html and uploads folder.
Please help me, How to fix it?
Thank you & Best regards,
Bien

Thank Muaz Khan,
I was fixed it with your help on http://stackoverflow.com/questions/42752157/sending-audio-file-created-with-recordrtc-to-my-server


4.1.2 Create order list backend API endpoint (1.5 hours)

table is dynamic and has a working search bar.
Here is the to-do list for the rest of this task:

[ ] proper styling for the table and searchbar
[ ] make tests and make sure there is sufficient error handling
[ ] need to make the right routes in frontend folder
[ ] need to add a button in sidebar or other to view order information for navigation to the page

Enhancements:
once someone clicks an order it should redirect to an order info page: what are the parts in the orders, what is the picklist, etc.


Cannot setup opencommit

I installed opencommit through npm as described on the Github page. However, when I tried to setup the API_KEY, I got the following error message:
/usr/local/lib/node_modules/opencommit/out/cli.cjs:15363
    throw new Error(`${n} cannot contain ${h(r2?.[0])}`);
                                                ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47

Thanks in advance!

Hey, I think you don't use the right npm version, try to change it with nvm

Thanks, that worked!


Chunk.set function not working correctly

Chunk.get works fine with Geyser - however something in chunk.set causes the block to be incorrectly written. This can be noticed in Geyser with chunk caching on - the first time you break a grass block, the particles are correctly written. However subsequent place and breaks in the same spot result in Chunk.get always returning 0. I believe the issue does not lie in FlexibleStorage but something in the Chunk function itself.
This may be why we had to put an ignore for equals and hash code in Chunk.
I'm aware that there is limited information provided here, so let me know if I can provide more detail.

This may be why we had to put an ignore for equals and hash code in Chunk.

Probably yeah

Fixed by pull request.


Use of undeclared type 'SIFloatingNode'

I am pretty new to swift, so this is kind of confusing to me. My BubbleNode.swift file says "Use of undeclared type 'SIFloatingNode'". Do I have to import something for the file to recognize that type?

If you are using cocoapods to install my framework then you need to '''import SIFloatingCollection'''

Awesome, that worked. Thanks!


Bugs in readme

Petri?
Developer guide does not exist

The framework was lifted from R&D in petri, and in template-site. It has remnants of such, yeah.

The README files are not completed and that link will become something else. There will be comments in INFRA-21790 as more progress is made.

Petri reference is fixed. Link is removed. A reference to a markdown.md page is added. That is a stub.


Fix a typo in the logo

Cocoapods -> CocoaPods 👍
Nice work BTW, not sure if I've mentioned that before

There's irony in having a typo in the title

First of all, a real capital 'P' should be used, instead just moving the 'p' in the logo higher. And sorry... I forget the font.
I know 'CocoaPods' is the best spell. But, IMHO, the new logo may be not the best choice, as the 3 capital letters break some visual balance. I prefer the original one.

I'm not quite sure what you're asking me to do, do you want me to re-create the logo from scratch to fix the typo?

I don't think it's a good solution. I'll redesign the logo later.
#52


NA OFI: Client crashing with segfault when server becomes unavailable

Describe the bug
I have a simple Mercury client and server (code available at the end of this issue). The client sends RPCs to the server indefinitely and the server responds to those RPCs. When I use ofi+tcp, if I kill the server, the client will block for about 5 seconds, then crash with a segfault. This does not happen with na+sm (the client will block indefinitely). I haven't tried with other protocols.
This bug is particularly problematic because in SSG we periodically ping servers to detect if they have crashed, using a timeout after which we cancel the RPC. We expect the RPC to simply block, we can't afford the sender crashing as well if the receiver has crashed.
It's most likely a libfabric problem so you may be able to better track it down and escalate it to the libfabric developers.
To Reproduce
Compile the sources provided at the end of this issue. Start the server using ./server ofi+tcp, then copy the address it prints, and start the client using ./client ofi+tcp <server-address>.  The client will crash as well with a segfault.
Expected behavior
RPC to crashed server should either fail with an error code, or block indefinitely.
Stack trace
This is the stack trace I get when running the client inside GDB:
#0  0x00007ffff7f0d7bd in rxm_conn_close ()
   from /projects/spack/opt/spack/linux-debian10-sandybridge/gcc-8.3.0/libfabric-1.11.1-j4nile6breiplr442hhyvbup5bgbp4u7/lib/libfabric.so.1
#1  0x00007ffff7f0f16d in rxm_conn_handle_event ()
   from /projects/spack/opt/spack/linux-debian10-sandybridge/gcc-8.3.0/libfabric-1.11.1-j4nile6breiplr442hhyvbup5bgbp4u7/lib/libfabric.so.1
#2  0x00007ffff7f100ab in rxm_msg_eq_progress ()
   from /projects/spack/opt/spack/linux-debian10-sandybridge/gcc-8.3.0/libfabric-1.11.1-j4nile6breiplr442hhyvbup5bgbp4u7/lib/libfabric.so.1
#3  0x00007ffff7f101dd in rxm_cmap_connect ()
   from /projects/spack/opt/spack/linux-debian10-sandybridge/gcc-8.3.0/libfabric-1.11.1-j4nile6breiplr442hhyvbup5bgbp4u7/lib/libfabric.so.1
#4  0x00007ffff7f1067b in rxm_get_conn ()
   from /projects/spack/opt/spack/linux-debian10-sandybridge/gcc-8.3.0/libfabric-1.11.1-j4nile6breiplr442hhyvbup5bgbp4u7/lib/libfabric.so.1
#5  0x00007ffff7f14ad2 in rxm_ep_tsend ()
   from /projects/spack/opt/spack/linux-debian10-sandybridge/gcc-8.3.0/libfabric-1.11.1-j4nile6breiplr442hhyvbup5bgbp4u7/lib/libfabric.so.1
#6  0x00007ffff7f8fab9 in fi_tsend (context=0x5555556afcc8, tag=<optimized out>, dest_addr=<optimized out>, desc=<optimized out>,
    len=<optimized out>, buf=<optimized out>, ep=<optimized out>)
    at /projects/spack/opt/spack/linux-debian10-sandybridge/gcc-8.3.0/libfabric-1.11.1-j4nile6breiplr442hhyvbup5bgbp4u7/include/rdma/fi_tagged.h:114
#7  na_ofi_cq_process_retries (context=0x555555579860)
    at /tmp/mdorier/spack-stage/spack-stage-mercury-master-zwubttmx76ltv3dmw6i4lrgpwauszhkd/spack-src/src/na/na_ofi.c:3272
#8  na_ofi_progress (na_class=<optimized out>, context=<optimized out>, timeout=<optimized out>)
    at /tmp/mdorier/spack-stage/spack-stage-mercury-master-zwubttmx76ltv3dmw6i4lrgpwauszhkd/spack-src/src/na/na_ofi.c:5051
#9  0x00007ffff7f87493 in NA_Progress (na_class=na_class@entry=0x555555559310, context=context@entry=0x555555579860, timeout=timeout@entry=0)
    at /tmp/mdorier/spack-stage/spack-stage-mercury-master-zwubttmx76ltv3dmw6i4lrgpwauszhkd/spack-src/src/na/na.c:1170
#10 0x00007ffff7fb86b7 in hg_core_progress_na (na_class=0x555555559310, na_context=0x555555579860, timeout=0,
    progressed_ptr=progressed_ptr@entry=0x7fffffffdd30 "")
    at /tmp/mdorier/spack-stage/spack-stage-mercury-master-zwubttmx76ltv3dmw6i4lrgpwauszhkd/spack-src/src/mercury_core.c:3888
#11 0x00007ffff7fbaae3 in hg_core_poll (progressed_ptr=<synthetic pointer>, timeout=<optimized out>, context=0x555555577620)
    at /tmp/mdorier/spack-stage/spack-stage-mercury-master-zwubttmx76ltv3dmw6i4lrgpwauszhkd/spack-src/src/mercury_core.c:3830
#12 hg_core_progress (context=0x555555577620, timeout=100)
    at /tmp/mdorier/spack-stage/spack-stage-mercury-master-zwubttmx76ltv3dmw6i4lrgpwauszhkd/spack-src/src/mercury_core.c:3685
#13 0x00007ffff7fc037b in HG_Core_progress (context=<optimized out>, timeout=<optimized out>)
    at /tmp/mdorier/spack-stage/spack-stage-mercury-master-zwubttmx76ltv3dmw6i4lrgpwauszhkd/spack-src/src/mercury_core.c:5046
#14 0x00007ffff7fb228e in HG_Progress (context=<optimized out>, timeout=<optimized out>)
    at /tmp/mdorier/spack-stage/spack-stage-mercury-master-zwubttmx76ltv3dmw6i4lrgpwauszhkd/spack-src/src/mercury.c:2019
#15 0x0000555555555279 in main (argc=<optimized out>, argv=<optimized out>) at /projects/mochi/colza/examples/hg/client.c:62

Platform (please complete the following information):

System description: Debian virtual machine
Compiler version: gcc 8.3.0
Plugin and protocol used: ofi+tcp
Dependency version: libfabric 1.11.1

Additional context
Code for types.h:
#ifndef PARAM_H
#define PARAM_H

#include <mercury.h>
#include <mercury_macros.h>

MERCURY_GEN_PROC(sum_in_t,
        ((int32_t)(x))\
        ((int32_t)(y)))

MERCURY_GEN_PROC(sum_out_t, ((int32_t)(ret)))

#endif

Code for server.c:
#include <mercury.h>
#include "types.h"

typedef struct {
    hg_class_t*     hg_class;
    hg_context_t*   hg_context;
} server_state;

hg_return_t sum(hg_handle_t h);

int main(int argc, char** argv)
{
    hg_return_t ret;

    if(argc != 2) {
        printf("Usage: %s <server address>\n", argv[0]);
        exit(0);
    }

    const char* server_address = argv[1];

    server_state state;

    state.hg_class = HG_Init(server_address, HG_TRUE);
    assert(state.hg_class != NULL);

    char hostname[128];
    hg_size_t hostname_size = 128;
    hg_addr_t self_addr;
    HG_Addr_self(state.hg_class, &self_addr);
    HG_Addr_to_string(state.hg_class, hostname, &hostname_size, self_addr);
    printf("Server running at address %s\n", hostname);
    HG_Addr_free(state.hg_class, self_addr);

    state.hg_context = HG_Context_create(state.hg_class);
    assert(state.hg_context != NULL);

    MERCURY_REGISTER(state.hg_class, "sum", sum_in_t, sum_out_t, sum);

    do
    {
        unsigned int count;
        do {
            ret = HG_Trigger(state.hg_context, 0, 1, &count);
        } while((ret == HG_SUCCESS) && count);

        HG_Progress(state.hg_context, 100);
    } while(1);

    ret = HG_Context_destroy(state.hg_context);
    assert(ret == HG_SUCCESS);

    ret = HG_Finalize(state.hg_class);
    assert(ret == HG_SUCCESS);

    return 0;
}

hg_return_t sum(hg_handle_t handle)
{
    hg_return_t ret;
    sum_in_t in;
    sum_out_t out;

    const struct hg_info* info = HG_Get_info(handle);

    ret = HG_Get_input(handle, &in);
    assert(ret == HG_SUCCESS);

    out.ret = in.x + in.y;
    printf("%d + %d = %d\n",in.x,in.y,in.x+in.y);

    ret = HG_Respond(handle,NULL,NULL,&out);
    assert(ret == HG_SUCCESS);

    ret = HG_Free_input(handle, &in);
    assert(ret == HG_SUCCESS);

    ret = HG_Destroy(handle);
    assert(ret == HG_SUCCESS);

    return HG_SUCCESS;
}

Code for client.c:
#include <assert.h>
#include <stdio.h>
#include <mercury.h>
#include "types.h"

typedef struct {
    hg_class_t*   hg_class;
    hg_context_t* hg_context;
    hg_id_t       sum_rpc_id;
    int           completed;
} client_state_t;

hg_return_t sum_completed(const struct hg_cb_info *info);

int main(int argc, char** argv)
{
    hg_return_t ret;

    if(argc != 3) {
        printf("Usage: %s <protocol> <server_address>\n",argv[0]);
        printf("Example: %s tcp tcp://<IP_ADDRESS>:1234\n",argv[0]);
        exit(0);
    }
    char* protocol = argv[1];
    char* server_address = argv[2];

    client_state_t state;
    state.completed = 0;

    state.hg_class = HG_Init(protocol, HG_FALSE);
    assert(state.hg_class != NULL);

    state.hg_context = HG_Context_create(state.hg_class);
    assert(state.hg_context != NULL);

    state.sum_rpc_id = MERCURY_REGISTER(state.hg_class, "sum", sum_in_t, sum_out_t, NULL);

    hg_addr_t addr = HG_ADDR_NULL;

    ret = HG_Addr_lookup2(state.hg_class, server_address, &addr);

    while(1) {

        hg_handle_t handle;
        ret = HG_Create(state.hg_context, addr, state.sum_rpc_id, &handle);
        assert(ret == HG_SUCCESS);

        sum_in_t in;
        in.x = 42;
        in.y = 23;

        ret = HG_Forward(handle, sum_completed, &state, &in);
        assert(ret == HG_SUCCESS);

        while(!state.completed)
        {
            unsigned int count;
            do {
                ret = HG_Trigger(state.hg_context, 0, 1, &count);
            } while((ret == HG_SUCCESS) && count && !state.completed);
            HG_Progress(state.hg_context, 100);
        }

        state.completed = 0;
    }

    ret = HG_Addr_free(state.hg_class, addr);
    assert(ret == HG_SUCCESS);

    ret = HG_Context_destroy(state.hg_context);
    assert(ret == HG_SUCCESS);

    hg_return_t err = HG_Finalize(state.hg_class);
    assert(err == HG_SUCCESS);
    return 0;
}

hg_return_t sum_completed(const struct hg_cb_info *info)
{
    hg_return_t ret;

    client_state_t* state = (client_state_t*)(info->arg);

    sum_out_t out;
    assert(info->ret == HG_SUCCESS);

    ret = HG_Get_output(info->info.forward.handle, &out);
    assert(ret == HG_SUCCESS);

    printf("Got response: %d\n", out.ret);

    ret = HG_Free_output(info->info.forward.handle, &out);
    assert(ret == HG_SUCCESS);

    ret = HG_Destroy(info->info.forward.handle);
    assert(ret == HG_SUCCESS);

    state->completed = 1;

    return HG_SUCCESS;
}

Had not got back to that one for some time. Could not reproduce with more recent libfabric, which would be expected with the RxM fixes that were applied.


Parsing malformed body results in UNKNOWN-Error instead of ParseError

What version of Elysia is running?
1.2.2
What platform is your computer?
WSL Ubuntu
What steps can reproduce the bug?
// test.test.ts
import { test, expect } from "bun:test";
import { Elysia, t } from "elysia";

test("Should get parse error code", async () => {
  let code: string | undefined;

  const app = new Elysia()
    .onError((ctx) => {
      code = ctx.code;
    })
    .post("/", () => "", {
      body: t.Object({
        test: t.String(),
      }),
    });

  await app.modules;

  const response = await app.handle(
    new Request(`http://localhost`, {
      method: "POST",
      headers: { "Content-Type": "application/json" },
      body: "",
    })
  );

  expect(code).toBe("PARSE");
  expect(response.status).toBe(400);
});

bun test
What is the expected behavior?
test pass
What do you see instead?
test fail:
test.test.ts:
27 | }
28 | delete c.contentType
29 | isParsing=false
30 | c.body=validator.body.Clean(c.body)
31 | if(validator.body.Check(c.body)===false){c.set.status=422;throw new ValidationError('body',validator.body,c.body)}return mapCompactResponse(handler(c),c.request.signal)
32 | }catch(error){if(isParsing)error=new ParseError()
                               ^
ReferenceError: Can't find variable: isParsing

Additional information
this used to work back in 1.1.27
Have you try removing the node_modules and bun.lockb and try again yet?
yes

Fixed in https://github.com/elysiajs/elysia/commit/e83daaf23937c94c048ec00f5024f45890df9864

I love how u write reproduces as tests huh


Roll Plugins from 5916f55664e1 to<PHONE_NUMBER>84 (2 revisions)

https://github.com/flutter/plugins/compare/5916f55664e1...831344490984
2021-01-14<EMAIL_ADDRESS>[camera] Fixes crash when taking a picture on iOS devices without flash (flutter/plugins#3411)
2021-01-14<EMAIL_ADDRESS>fix to properly place polyline at initial camera position in example app (flutter/plugins#2941)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.

Commit queue failed; closing this roll.


Add playbackNearlyFinished as an intent

Add playbackNearlyFinished as an intent

Coverage decreased (-0.2%) to 98.799% when pulling d2128c5725a2524cd83e6776f1af144c385a30f8 on rmberrios:dev into de20cc6af99da4c0d92b23955287b673d0a1bddb on mediarain:dev.

Coverage decreased (-0.2%) to 98.799% when pulling da90ef79d598a2e769ed9fc58f541d1249a8151d on rmberrios:dev into de20cc6af99da4c0d92b23955287b673d0a1bddb on mediarain:dev.


Is it possible to support @propertyWrapper?

Hi there!
Thanks for an awesome library!
Lately I faced the problem with @propertyWrapper.
I have tried to create a @propertyWrapper:
@propertyWrapper public struct Blob {
    public init(length: Int) {
        self.length = length
        self.wrappedValue = []
    }

    let length: Int

    public var wrappedValue: [UInt8]
}

Then I used it in my struct just like this one:
struct MyStruct {
  @Blob(length: 10) var blob: [UInt8]
  ...
}

And then I tried to createInstance , i got length = 0, I could not create instance with default length (=10). How to reflect the propertyWrapper and get the default length (= 10)?
Thanks

So unfortunately this isn't possible. createInstance doesn't work by calling an initializer. It just allocates the memory manually and sets each field to a default value, which for an Int is 0


Issue 254 | Gateway service

Summary
Gateway service initial works.
Service for managing programs execution, setting limits, etc.
TODOs:

[x] POC gateway
[x] client integration
[x] UML diagram
[x] tests
[x] docs
[x] linter
[x] update tutorials
[x] commands to create user, compute resource, site, etc.
[x] dockerfile
[x] CI tests
[x] job results

Details and comments
from quantum_serverless import QuantumServerless, Program, GatewayProvider, Provider
from quantum_serverless.core import ComputeResource

gateway_provider = GatewayProvider(
    username="john",
    password="password123",
    # token="<TOKEN>"  # alternatevely can provide token instead of user/password
    host="http://localhost:8000",
)

serverless = QuantumServerless([gateway_provider])

program = Program(
    name="awesome_program",
    entrypoint="program.py",
    working_dir="./",
    description="description of a program",
    version="0.0.1"
)

job = serverless.run_program(program)

job.logs()
job.result()

Requests flow

General overview

Closes #254

Number of things is still need to be polished and finished, but it will be separate PRs. Majority of work is done here.
Remaining things:

CI for nightly builds
more tests coverage
improve code quality (serialization, verification django)
helm chart

Whoops, I should've looked closer at the PR and not tried using the helm install here... will pop back over to docker-compose to poke around.

@psschwei btw, docker compose will be updated with https://github.com/Qiskit-Extensions/quantum-serverless/pull/301 to latest Keycloak image

@psschwei the idea for the near future is use the gateway like entry point (to connect with repository, keycloak, etc), to we will have just one interface (API Gateway) to connect from Middleware client

When is the Job in the gateway deleted?  I haven't looked though changes yet so I might miss it.

it remains there for references, until user decides to delete it @akihikokuroda . We can put ttl or something like this later on


fix stowaway docker image for arm64

The stowaway docker image for arm64 contains the coredns binary for amd64.

Hey @cappuc - thank you so much for the PR! This is a really good finding!
Since Github is lacking arm64 images for CI/CD we're currently a bit lost when it comes to testing arm stuff.
Looks really good, I just learned about the TARGETARCH argument, really cool! 😎
Please give us a moment to check whether everything still works with the build process. We'll get back to you as soon as possible!


Ignore empty ALPN elements in CLI args

Since empty ALPN elements are invalid, we should either reject them or ignore them in CLI arguments. I am inclined to take the ignore route, and also reject entirely empty inputs.

Thanks. Pushed to master and 1.1.1 and closed.


Check if Binary Tree is symmetric

🚀 Feature
It is a problem of binary tree in which we find if the given binary tree is symmetric or not.
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
As a participant of GSSoC'21, I want to contribute to this project.
Pitch
This is a very common problem of binary tree and hence, should be added.
I would like to solve it using c++ and I assure you that I would write a clear code with proper comments.
I request you to please assign me this problem.

I'm Simran (GSSoC'21 participant). I want to solve this issue in C++ and Java both.
Please assign this issue to me.

You can assign the Issue for yourself by using the '/assign' command. Make sure The algorithm/ data structure you are trying to add doesn't already exist. read the Doc before you proceed.

@Ashee-Kanungo Hi, I assigned you. Happy Coding!😊

@ishvik Actually Someone else is already working on C++. So Can you select any other language you want to work?

I'm the participant in GSSOC'21. I would love to do it using java. Could you please assign me?

@ishvik Actually Someone else is already working on C++. So Can you select any other language you want to work?

yaa I can do it with java also.

@rk05-lenavo Hi, you can open a new one with the same concept but with implementation in a different programming language. We will assign it to you then. Happy Coding!😊

@ishvik Hi, Hi, you can open a new one with the same concept but with implementation in a different programming language. We will assign it to you then. Happy Coding!😊


Material Input Form Enhancement

This is a (multiple allowed):

[x] bug

[x] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.6.0

Platform and Target: both desktop and mobile browsers.

Live Link or JSFiddle/Codepen: here

What you did
I used Framework7 material style and script in my project. I implemented material form input, e.g. full name, email, and also date input with default value current date. I type some value in full name input then jump to email input.
Expected Behavior
When I want to type value in email input, the line below full name input value is disappeared. And then the line below input value is highlighted only when focus input event is fired.
Actual Behavior
When I want to type value in email input, the line below full name input value still exist. And its line is also highlighted when input has value.

Material Spec, Refrence Implementation, F7 Implementation

Material Spec

So it seems inputs should have a bold underline when focused or containing invalid data.
Framework7's current implementation uses a bold line when the field is focused or contains data which is clearly a breach of the spec


Mldb 2025 st contains

-New st-contains geometric builtin
However the use-case was sub-performing. The issue was identified as non-necessary flattening of the (inherently structures) data by the tabular dataset and the join dataset. To solve this, the following was also implemented:

Sub Dataset will be seen to users as "structured" dataset
Dont fail on multithread recording for sub dataset
Have join dataset support non-flattened queries

From the looks of it, the test only tests for success.

@FinchPowers
I think I addressed all concerns, either with additional explanations or code changes

Is the test only covering the success case?

@FinchPowers added tests for what I could make fail. Validation is not enabled by default for polygon assembly.


Implement StrandNet reports

Approach:

support queries through API  with #8, #4
build JS form on home.html with query parameters
ajaz-load geojson from query, display on map, remove previous geojson data

current admin allows filtering encounters and export to XLS/CSV, although no observations included.
current API (default drf, not dynamic_rest) allows export to CSV including flattened observations, although haven't looked at filtering yet.

added working examples for API and admin filter queries to user docs

Data can be inspected (QA, history) through admin; both admin and API allow exporting filtered data as Strandnet does.
Remaining gap: present filter/map/download to end user on front page; build example workbooks with some initial products.


resource names pluralization compatible with latest spree changes

This fix is related to: https://github.com/spree/spree/pull/6059 and it is for compatibility with i18n.
Please merge it to master.

Thanks!


Indexable mixin for middleclass 3.x feature request

I'm porting PHP web framework to Lua. All is going well except I need something to replace PHP getter __get(). In previous versions there was Indexable mixin with index() function, I need same for middleclass 3.x.
Also question about porting, I'm replacing get_class($this) with self.class.name, is it proper to get class name in such way? Also question how to call method in parent class, the way present in wiki a bit wierd, if I try self.class.super.method(self, ...) it gives wrong parent on second level of inheritence, it gives parent of first level. My temporary solution:
local Database_Query_Builder_Select = Database_Query_Builder_Where:subclass('Database_Query_Builder_Select')
local parent = Database_Query_Builder_Where

function Database_Query_Builder_Select:initialize(columns)
    ...

    -- Start the query with no actual SQL statement
    parent.initialize(self, Database.SELECT)
end

:+1:


An issue while running the command ' vagrant up '

I am trying to set up zulip on my computer.
I followed the building process given in README.dev.md.
Even though npm has proxy set, running vagrant up gives errors saying "npm proxy not set"
I am not able to find a solution for this.
Can you please help?
BTW I could find the IRC channel for zulip. Let me know if you people start one.
Thanks

@varshit97 did you figure out what the cause of the problem here was?

@timabbott Yup figured it out and then only made a PR :p

Cool, if there's a tweak to the documentation that would prevent this from affecting other folks in the future, I'd love a PR to make that tweak!

@timabbott Sure, I'll look into it. :)

This is resolved I think by #644.


enable customize action button image

We can customize leftArrowButton and rightArrowButton, but can't actionButton.
I changed the code to enable to customize action button image.

@eduardocallado Thank you for your great work! What do you think about this update?

Good improvement. Thanks for contributing!


How does SEO tagging work with universal - is anyone doing this right now?

This is a general question.  For each route, especially /item/:id when we do SSR, how should we handle setting meta tags and such?
Is there some example of how to do this using ung?

@ScaryWolfMan hey, thank you for this question.
SEO is basically application logic, so you would do this inside of your angular 2 application (maybe some people think you would do this in the index.html inside the express app).
In the upcoming Angular release 2.3 is a new Meta-Service (https://github.com/angular/angular/pull/12322#issuecomment-260029128) that you can use for this. But there is another solution out there that you can already use today: https://github.com/vinaygopinath/ng2-meta
@gdi2290 @MarkPieszak Do you have add something?

can we close this issue?


Unblock subsequent Singleton.createInstance()

Also fix clusters with unknown workspaces

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>

In the part of ignoring clusters without workspace attribute it works as expected 👍🏻
However, can you explain a bit more why this singleton fixes is needed and what cases this PR fixes?

The singleton changes are needed because if the constructor of a singleton fails, and even if something else catches that errors, subsequent attempts to make new singletons (even of different types) will all fail.