Thaumcraft 6 Beta 19 does not start

Hi, I have installed Forge and tried to play TC6, but it just doesn't want to start. It's error I get
2018-07-24 23:05:59,612 main WARN Disabling terminal, you're running in an unsupported environment.
[23:05:59] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:05:59] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:05:59] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[23:05:59] [main/INFO] [FML]: Forge Mod Loader version <IP_ADDRESS>05 for Minecraft 1.12.2 loading
[23:05:59] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_161, running on Windows 10:x86:10.0, installed at C:\Program Files (x86)\Java\jre1.8.0_161
[23:06:00] [main/INFO] [FML]: Searching C:\Users\kubol\AppData\Roaming.minecraft\mods for mods
[23:06:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:06:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[23:06:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:06:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:06:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[23:06:03] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[23:06:03] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[23:06:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[23:06:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[23:06:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[23:06:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[23:06:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[23:06:05] [main/INFO] [net.minecraft.client.Minecraft]: Setting user: Doonak
[23:06:10] [main/WARN] [net.minecraft.client.settings.GameSettings]: Skipping bad option: lastServer:
[23:06:10] [main/INFO] [net.minecraft.client.Minecraft]: LWJGL Version: 2.9.4
[23:06:11] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (x86) version 10.0
Java Version: 1.8.0_161, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 105456440 bytes (100 MB) / 236695552 bytes (225 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build <IP_ADDRESS>85' Renderer: 'Intel(R) HD Graphics 4000'
[23:06:11] [main/INFO] [FML]: MinecraftForge v<IP_ADDRESS>05 Initialized
[23:06:11] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[23:06:11] [main/INFO] [FML]: Replaced 1036 ore ingredients
[23:06:12] [main/INFO] [FML]: Searching C:\Users\kubol\AppData\Roaming.minecraft\mods for mods
[23:06:13] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 143142532 nanos
[23:06:14] [main/INFO] [FML]: Forge Mod Loader has identified 8 mods to load
[23:06:14] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, baubles, jei, thaumcraft, thaumicjei] at CLIENT
[23:06:14] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, baubles, jei, thaumcraft, thaumicjei] at SERVER
[23:06:16] [main/INFO] [net.minecraft.client.resources.SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Baubles, FMLFileResourcePack:Just Enough Items, FMLFileResourcePack:Thaumcraft, FMLFileResourcePack:ThaumicJEI
[23:06:16] [main/INFO] [FML]: Processing ObjectHolder annotations
[23:06:16] [main/INFO] [FML]: Found 1170 ObjectHolder annotations
[23:06:16] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[23:06:16] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[23:06:16] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[23:06:16] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[23:06:17] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[23:06:17] [main/INFO] [FML]: OBJLoader: Domain thaumcraft has been added.
An unrecoverable stack overflow has occurred.
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x69a21377, pid=227248, tid=0x000383d4
JRE version: Java(TM) SE Runtime Environment (8.0_161-b12) (build 1.8.0_161-b12)
Java VM: Java HotSpot(TM) Client VM (25.161-b12 mixed mode windows-x86 )
Problematic frame:
C  [ig7icd32.dll+0x3f1377]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as:
C:\Users\kubol\AppData\Roaming.minecraft\hs_err_pid227248.log
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

2018-07-24-5.log

Did you install baubles

Yes I did. Minecraft shows when you lack submods and I think I have installed all of them

Is this still an issue?

Yes, I tried deleting all minecraft files and reinstalling, but the issue still occurs. I changed my version to beta 16, but still no luck.

2018-08-09 22:06:43,094 main WARN Disabling terminal, you're running in an unsupported environment.
[22:06:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:06:43] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:06:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[22:06:43] [main/INFO] [FML]: Forge Mod Loader version <IP_ADDRESS>05 for Minecraft 1.12.2 loading
[22:06:43] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_161, running on Windows 10:x86:10.0, installed at C:\Program Files (x86)\Java\jre1.8.0_161
[22:06:43] [main/INFO] [FML]: Searching C:\Users\kubol\AppData\Roaming.minecraft\mods for mods
[22:06:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:06:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:06:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:06:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:06:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:06:46] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[22:06:46] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[22:06:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:06:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:06:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:06:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:06:47] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:06:48] [main/INFO] [net.minecraft.client.Minecraft]: Setting user: Doonak
[22:06:52] [main/INFO] [net.minecraft.client.Minecraft]: LWJGL Version: 2.9.4
[22:06:53] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (x86) version 10.0
Java Version: 1.8.0_161, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 91257080 bytes (87 MB) / 258060288 bytes (246 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build <IP_ADDRESS>85' Renderer: 'Intel(R) HD Graphics 4000'
[22:06:53] [main/INFO] [FML]: MinecraftForge v<IP_ADDRESS>05 Initialized
[22:06:54] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[22:06:54] [main/INFO] [FML]: Replaced 1036 ore ingredients
[22:06:54] [main/INFO] [FML]: Searching C:\Users\kubol\AppData\Roaming.minecraft\mods for mods
[22:06:56] [main/WARN] [FML]: Mod codechickenlib is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version <IP_ADDRESS>5
[22:06:56] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 130118577 nanos
[22:06:57] [main/INFO] [FML]: Forge Mod Loader has identified 19 mods to load
[22:06:58] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, baubles, bloodarsenal, bloodmagic, codechickenlib, cofhcore, cofhworld, guideapi, jei, journeymap, millenaire, redstoneflux, thaumcraft, thermalexpansion, thermalfoundation, wawla] at CLIENT
[22:06:58] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, baubles, bloodarsenal, bloodmagic, codechickenlib, cofhcore, cofhworld, guideapi, jei, journeymap, millenaire, redstoneflux, thaumcraft, thermalexpansion, thermalfoundation, wawla] at SERVER
[22:07:01] [main/INFO] [net.minecraft.client.resources.SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Baubles, FMLFileResourcePack:Blood Arsenal, FMLFileResourcePack:Blood Magic: Alchemical Wizardry, FMLFileResourcePack:CodeChicken Lib, FMLFileResourcePack:CoFH Core, FMLFileResourcePack:CoFH World, FMLFileResourcePack:Guide-API, FMLFileResourcePack:Just Enough Items, FMLFileResourcePack:JourneyMap, FMLFileResourcePack:Millenaire, FMLFileResourcePack:Redstone Flux, FMLFileResourcePack:Thaumcraft, FMLFileResourcePack:Thermal Expansion, FMLFileResourcePack:Thermal Foundation, FMLFileResourcePack:What Are We Looking At
[22:07:01] [main/INFO] [FML]: Processing ObjectHolder annotations
[22:07:01] [main/INFO] [FML]: Found 1502 ObjectHolder annotations
[22:07:01] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[22:07:01] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[22:07:01] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[22:07:01] [Forge Version Check/INFO] [forge.VersionCheck]: [cofhcore] Starting version check at https://raw.github.com/cofh/version/master/cofhcore_update.json
[22:07:02] [main/INFO] [FML]: OBJLoader: Domain bloodmagic has been added.
[22:07:03] [main/INFO] [cofhworld]: Registering default Feature Templates...
[22:07:03] [main/INFO] [cofhworld]: Registering default World Generators...
[22:07:03] [main/INFO] [cofhworld]: Verifying or creating base world generation directory...
[22:07:03] [main/INFO] [cofhworld]: Complete.
[22:07:04] [main/INFO] [journeymap]: No plugins for JourneyMap API discovered.
[22:07:04] [main/WARN] [millenaire]: No need to redeploy Mill?naire as the millenaire folder is already at vesion 6.2.3.
[22:07:04] [main/INFO] [STDOUT]: [org.millenaire.common.config.MillConfigValues:readConfigFile:498]: Read config in config.txt. Logging: true/true
[22:07:04] [main/INFO] [STDOUT]: [org.millenaire.common.config.MillConfigValues:readConfigFile:498]: Read config in config-custom.txt. Logging: true/true
[22:07:04] [main/INFO] [FML]: CLIENT Starting new session. Mods: examplemod
[22:07:04] [main/INFO] [net.minecraft.client.resources.SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Baubles, FMLFileResourcePack:Blood Arsenal, FMLFileResourcePack:Blood Magic: Alchemical Wizardry, FMLFileResourcePack:CodeChicken Lib, FMLFileResourcePack:CoFH Core, FMLFileResourcePack:CoFH World, FMLFileResourcePack:Guide-API, FMLFileResourcePack:Just Enough Items, FMLFileResourcePack:JourneyMap, FMLFileResourcePack:Millenaire, FMLFileResourcePack:Redstone Flux, FMLFileResourcePack:Thaumcraft, FMLFileResourcePack:Thermal Expansion, FMLFileResourcePack:Thermal Foundation, FMLFileResourcePack:What Are We Looking At
[22:07:04] [main/INFO] [FML]: OBJLoader: Domain thaumcraft has been added.
An unrecoverable stack overflow has occurred.

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x676b1377, pid=99908, tid=0x00018660

JRE version: Java(TM) SE Runtime Environment (8.0_161-b12) (build 1.8.0_161-b12)
Java VM: Java HotSpot(TM) Client VM (25.161-b12 mixed mode windows-x86 )
Problematic frame:
C  [ig7icd32.dll+0x3f1377]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:
C:\Users\kubol\AppData\Roaming.minecraft\hs_err_pid99908.log

If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.


Match narrowing does not work for readonly in-lined types for certain cases

This issue can be related to #33694. Consider the following code.
import ballerina/io;

type T readonly & S;
type S [INT, string]|[STRING, string]|[FOO, string];

// It works if the type is inlined as below
// type T readonly & [INT, string]|[STRING, string]|[FOO, string];

const INT = 1;
const STRING = 2;
const FOO = 3;

public function main() {
    T t = [FOO, "hello"];
    match t {
        [STRING, var val] => {
            string s = val;
            io:println("str:" + s);
        }
        [INT, var val] => {
            string i = val;
            io:println("int:" + i.toString());
        }
        [_, var str] => {
            string varS = str; // error: type of str is any|error but it should be string
            io:println("foo:", varS);
        }
    }
}

Compiling the above code, gives the following error.
 [main.bal:(25:27,25:30)] incompatible types: expected 'string', found '(any|error)'

type T readonly & [INT, string]|[STRING, string]|[FOO, string];

is not the same as
type T readonly & S;
type S [INT, string]|[STRING, string]|[FOO, string];

The corresponding single type definition would be
type T (readonly & [INT, string]|[STRING, string]|[FOO, string]);

Doesn't work when this is the type either.

Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/34559.


Addressed Issue #210

Hi, I wanted to address the issue regarding the open command for URL's not being recognised by fuck.
The code I provided works for the more popular domain extensions and the tests. However, I actually originally wanted to do something along these lines:
def match(command, settings):
	#Unpopular Extensions
	ext = ['.ly', '.se', '.io', '.edu']
	return (command.script.startswith ('open')
			and 'does not exist' in command.stderr
			and ('http' in command.stderr
			or any(e in command.script for e in ext)))

I couldn't get the any syntax or anything that involves command.stderr to work with my code while testing though. It'd be great if you could shed some light on this issue for me so I could edit the code :) Thanks!

Thanks!


Service Principal Client Secret is not a required field, but deployment using Azure AD will fail without it

Deploy Kubernetes, Step "11. Enter the Service Principal Client Secret that you created when creating your service principal."
Service Principal Client Secret is not a mandatory field in the admin portal interface and no warning is presented if it is left blank, but this value is required for Azure AD (this doc) and the deployment will fail without it. Suggest updating this step to mention it is mandatory for Azure AD deployments. This was confirmed by PG.
This field is not mandatory because it is not required for AD FS deployment, which is covered in another doc.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b60c4726-881a-a32c-6a85-25ca65a31c00
Version Independent ID: a40334b6-dca7-52f7-62c3-3b8ecba6d606
Content: Deploy Kubernetes to Azure Stack using Azure Active Directory (Azure AD)
Content Source: azure-stack/user/azure-stack-solution-template-kubernetes-azuread.md
Service: azure-stack
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

@alexsmithMSFT Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@alexsmithMSFT Creating the service principle for a Kubernetes deployment is in the process for this doc and mentioned in the https://docs.microsoft.com/en-us/azure-stack/user/azure-stack-solution-template-kubernetes-azuread#create-a-service-principal section. In the context of using an Azure AD deployment with Kubernetes, the instructions have you create a secret in Create a service principal, Step 5, and then add the secret in Deploy Kubernetes, Step 11. Can you let me know which issue you encountered so that I can update the doc? Thanks! #in-progress

@alexsmithMSFT #Thanks again for your comment. If you need addition information, please let me know. #please-close

@alexsmithMSFT We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


space is not targetted for a user who has only OrgAuditor role on login

I feel even a user with OrgAuditor role alone supposed to have the read  capability of a particular organization users/quoats etc. If its according to design, please do let me know more information regarding the same. Please do find the traces & more info as below.
I have observed the same issue for a user with SpaceAuditor alone, but if a user has OrgAuditor & space Auditor then on login that users its targetted the org & space properly.
root@ubuntu102:~/workspace/diego-release# cf create-org sriniorg
Creating org sriniorg as admin...
OK
TIP: Use 'cf target -o sriniorg' to target new org
root@ubuntu102:~/workspace/diego-release# cf target -o sriniorg
API endpoint:   https://api.<IP_ADDRESS>.xip.io (API version: 2.34.0)
User:           admin
Org:            sriniorg
Space:          No space targeted, use 'cf target -s SPACE'
root@ubuntu102:~/workspace/diego-release# cf create-space srinispace
Creating space srinispace in org sriniorg as admin...
OK
Assigning role SpaceManager to user admin in org sriniorg / space srinispace as admin...
OK
Assigning role SpaceDeveloper to user admin in org sriniorg / space srinispace as admin...
OK
TIP: Use 'cf target -o sriniorg -s srinispace' to target new space
root@ubuntu102:~/workspace/diego-release# cf create-space devspace
Creating space devspace in org sriniorg as admin...
OK
Assigning role SpaceManager to user admin in org sriniorg / space devspace as admin...
OK
Assigning role SpaceDeveloper to user admin in org sriniorg / space devspace as admin...
OK
TIP: Use 'cf target -o sriniorg -s devspace' to target new space
root@ubuntu102:~/workspace/diego-release# cf create-space testspace
Creating space testspace in org sriniorg as admin...
OK
Assigning role SpaceManager to user admin in org sriniorg / space testspace as admin...
OK
Assigning role SpaceDeveloper to user admin in org sriniorg / space testspace as admin...
OK
TIP: Use 'cf target -o sriniorg -s testspace' to target new space
root@ubuntu102:~/workspace/diego-release# cf target -s srinispace
API endpoint:   https://api.<IP_ADDRESS>.xip.io (API version: 2.34.0)
User:           admin
Org:            sriniorg
Space:          srinispace
root@ubuntu102:~/workspace/diego-release# cf org-users sriniorg
Getting users in org sriniorg as admin...
ORG MANAGER
BILLING MANAGER
ORG AUDITOR
root@ubuntu102:~/workspace/diego-release# cf space-users sriniorg srinispace
Getting users in org sriniorg / space srinispace as admin
SPACE MANAGER
admin
SPACE DEVELOPER
admin
SPACE AUDITOR
root@ubuntu102:~/workspace/diego-release#
root@ubuntu102:~/workspace/diego-release# cf create-user  UserOrgAuditor PassOrgAuditor
Creating user UserOrgAuditor...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
root@ubuntu102:~/workspace/diego-release# cf set-org-role  UserOrgAuditor sriniorg OrgAuditor
Assigning role OrgAuditor to user UserOrgAuditor in org sriniorg as admin...
OK
root@ubuntu102:~/workspace/diego-release# cf org-users sriniorg
Getting users in org sriniorg as admin...
ORG MANAGER
BILLING MANAGER
ORG AUDITOR
UserOrgAuditor
root@ubuntu102:~/workspace/diego-release#
root@ubuntu102:~/workspace/diego-release# CF_TRACE=true cf login -u UserOrgAuditor -p PassOrgAuditor
API endpoint: https://api.<IP_ADDRESS>.xip.io
REQUEST: [2015-09-09T18:28:44+08:00]
GET /v2/info HTTP/1.1
Host: api.<IP_ADDRESS>.xip.io
Accept: application/json
Content-Type: application/json
User-Agent: go-cli 6.12.3-c0c9a03 / linux
RESPONSE: [2015-09-09T18:28:44+08:00]
HTTP/1.1 200 OK
Content-Length: 586
Content-Type: application/json;charset=utf-8
Date: Wed, 09 Sep 2015 10:28:44 GMT
Server: nginx
X-Cf-Requestid: 85b056e4-7fb4-47ef-77be-b913e1dc86db
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: e9b6a3b5-7770-4473-53e6-b816a725d89c::cea7a909-62ef-464b-b83c-621955e37f25
{"name":"vcap","build":"2222","support":"http://support.cloudfoundry.com","version":2,"description":"Cloud Foundry sponsored by Pivotal","authorization_endpoint":"http://login.<IP_ADDRESS>.xip.io","token_endpoint":"https://uaa.<IP_ADDRESS>.xip.io","min_cli_version":null,"min_recommended_cli_version":null,"api_version":"2.34.0","app_ssh_endpoint":"ssh.<IP_ADDRESS>.xip.io:2222","app_ssh_host_key_fingerprint":"a6:d1:08:0b:b0:cb:9b:5f:c4:ba:44:2a:97:26:19:8a","logging_endpoint":"wss://loggregator.<IP_ADDRESS>.xip.io:443","doppler_logging_endpoint":"wss://doppler.<IP_ADDRESS>.xip.io:4443"}
REQUEST: [2015-09-09T18:28:44+08:00]
GET /login HTTP/1.1
Host: login.<IP_ADDRESS>.xip.io
Accept: application/json
Content-Type: application/json
User-Agent: go-cli 6.12.3-c0c9a03 / linux
RESPONSE: [2015-09-09T18:28:44+08:00]
HTTP/1.1 200 OK
Content-Length: 650
Access-Control-Allow-Origin: *
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-cache, no-store, max-age=0
Content-Language: en-US
Content-Type: application/json;charset=UTF-8
Date: Wed, 09 Sep 2015 10:28:44 GMT
Expires: 0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Pragma: no-cache
Server: Apache-Coyote/1.1
Strict-Transport-Security: max-age=31536000
X-Cf-Requestid: deed7b39-fdfa-4eb6-7cf0-a837d03ac130
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
{"app":{"version":"2.5.1"},"createAccountLink":"https://console.<IP_ADDRESS>.xip.io/register","forgotPasswordLink":"https://console.<IP_ADDRESS>.xip.io/password_resets/new","zone_name":"uaa","links":{"uaa":"http://uaa.<IP_ADDRESS>.xip.io","passwd":"https://console.<IP_ADDRESS>.xip.io/password_resets/new","login":"http://login.<IP_ADDRESS>.xip.io","register":"https://console.<IP_ADDRESS>.xip.io/register"},"entityID":"login.<IP_ADDRESS>.xip.io","commit_id":"eae6724","idpDefinitions":[],"prompts":{"username":["text","Email"],"password":["password","Password"]},"linkCreateAccountShow":true,"fieldUsernameShow":true,"timestamp":"2015-08-05T00:00:41+0000"}
Authenticating...
REQUEST: [2015-09-09T18:28:44+08:00]
POST /oauth/token HTTP/1.1
Host: login.<IP_ADDRESS>.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: go-cli 6.12.3-c0c9a03 / linux
grant_type=password&password=[PRIVATE DATA HIDDEN]&scope=&username=UserOrgAuditor
RESPONSE: [2015-09-09T18:28:44+08:00]
HTTP/1.1 200 OK
Content-Length: 1903
Access-Control-Allow-Origin: *
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Wed, 09 Sep 2015 10:28:44 GMT
Expires: 0
Pragma: no-cache
Pragma: no-cache
Server: Apache-Coyote/1.1
X-Cf-Requestid: 0afd1a90-af7b-468f-6807-8e490fc2fb6c
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
{"access_token":"[PRIVATE DATA HIDDEN]","token_type":"bearer","refresh_token":"[PRIVATE DATA HIDDEN]","expires_in":599,"scope":"cloud_controller.read password.write cloud_controller.write openid","jti":"23bb5171-c8c7-4eb1-ae4e-9dce841f4d07"}
OK
REQUEST: [2015-09-09T18:28:44+08:00]
GET /v2/organizations HTTP/1.1
Host: api.<IP_ADDRESS>.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.3-c0c9a03 / linux
RESPONSE: [2015-09-09T18:28:44+08:00]
HTTP/1.1 200 OK
Content-Length: 1502
Content-Type: application/json;charset=utf-8
Date: Wed, 09 Sep 2015 10:28:44 GMT
Server: nginx
X-Cf-Requestid: 6952b636-6a49-4c9f-5380-0af290d20cb8
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 954a2949-2acb-4fa3-792f-e16772b01be9::33308695-26b7-491e-9597-752a9c8df0bb
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "94df7796-1bf4-4485-bb97-47e0d2eebd01",
"url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01",
"created_at": "2015-09-09T10:17:47Z",
"updated_at": null
},
"entity": {
"name": "sriniorg",
"billing_enabled": false,
"quota_definition_guid": "75e1cd9c-a3c1-49cc-98d8-95e28c81638f",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/75e1cd9c-a3c1-49cc-98d8-95e28c81638f",
"spaces_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/spaces",
"domains_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/domains",
"private_domains_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/private_domains",
"users_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/users",
"managers_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/managers",
"billing_managers_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/billing_managers",
"auditors_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/auditors",
"app_events_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/app_events",
"space_quota_definitions_url": "/v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/space_quota_definitions"
}
}
]
}
Targeted org sriniorg
REQUEST: [2015-09-09T18:28:44+08:00]
GET /v2/organizations/94df7796-1bf4-4485-bb97-47e0d2eebd01/spaces?inline-relations-depth=1 HTTP/1.1
Host: api.<IP_ADDRESS>.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.3-c0c9a03 / linux
RESPONSE: [2015-09-09T18:28:44+08:00]
HTTP/1.1 200 OK
Content-Length: 107
Content-Type: application/json;charset=utf-8
Date: Wed, 09 Sep 2015 10:28:44 GMT
Server: nginx
X-Cf-Requestid: 824e0b09-0450-405c-7b4b-37d899835937
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 553deda7-6cee-411e-6a83-8d287fdcfdb6::443dcc3b-90ed-4136-aa7c-1e3bfd777f75
{
"total_results": 0,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
]
}
API endpoint:   https://api.<IP_ADDRESS>.xip.io (API version: 2.34.0)
User:           UserOrgAuditor
Org:            sriniorg
Space:          No space targeted, use 'cf target -s SPACE'

@SrinivasChilveri I'm not sure I understand your question.
If you don't have permissions on a space, there are no spaces to target.
Currently an org auditor does not have permissions to view all spaces from the org.
There are plans to review in the future roles and how they work, but this is the current state.
Could you clarify what commands you're currently using and what you would expect?

Hi @dieucao , Thanks for your reply. I thought it already provides the view permissions to all the spaces of that organization in which the user is OrgAuditor. I think the view permissions to all spaces of that orgnization ( means org-users , all space users, quotas, quota usage, space quotas, space quota usages etc )...in general org auditor has permissions of space auditor of all the spaces of that organization. I would like to know the future plans regarding the same.
Thanks & Regards,
SriniCH.

@SrinivasChilveri Yes, that's a common confusion about how the roles work based on patterns that other websites have.  I think it would make sense if an org manager automatically has space manager privileges for all spaces in the org and similarly for an org auditor.  This is not work that we have prioritized in the next 3 months and requires some investigation as to how this type of change could be introduced and if it makes sense to the community.  It is possible we might look into this in the first half of next year, but it's hard to say at this point.  If you are very interested in this change, I could discuss with the team what approaches might be feasible and if it's something we could accept a PR on assuming the community agrees this is a change that makes sense.

Closing this issue as it's been 6 days. If you'd like to discuss doing this via PR, or have other questions please open a new issue.


Print out of memories metadata

Would like the ability to see some interesting data points of the memory repo such as:
file types - counts - total size in repo - percentage of repo by filetype - accumulated time taken to process these files by extension
benchmark times from past - present

#12

Enhancement has been implemented!


remove beta tag from webhook signatures section

🚀 Deployed on https://63ded031e4658567ec36b869--cozy-fox-0defec.netlify.app


Internal Server Error (500)

Every time I want to create a new account, the internal server error (500) appears but when I want to register the account again, it shows the user name is already registered.

If possible, can you please delete the account with the user name "gu", "gu0923" and "gu1994"? Those are ghost accounts that I just created. Thanks.

Dear StormyaP,
Thanks for reporting this error. We fixed it, and now you should be able to create an account.
With kind regards,
Christian


Textfield Label undesired padding-left

In a code like
<FormField>
  <Textfield id="firstname" label="First Name" />
</FormField>

the generated label tag gets "4px" as its padding-left style, which leads to an ugly look.

@fterradev, RMWC doesn't contain any of its ownstyles, it simply wraps the original material components provided by Google https://github.com/material-components/material-components-web/.
You are not required to wrap Textfields in the FormField component. According to the MDC docs, it's a helper for layout and RTL support. https://material.io/components/web/catalog/input-controls/form-fields/

Thank you.
I was trying to migrate from pure vanilla HTML/JS/CSS components to rmwc.
So I've followed this example from https://github.com/material-components/material-components-web/blob/master/docs/getting-started.md
And was trying to convert it to rmwc, which I thought could be:
import React, { Component } from 'react';
import { Button, Typography, FormField, Textfield } from 'rmwc';

class App extends Component {
  render() {
    return (

        <Typography use="display1" tag="h1">Tell us about yourself!</Typography>

        <form action="#" id="greeting-form">

            <FormField>
              <Textfield id="firstname" label="First Name" />
            </FormField>

            <FormField>
              <Textfield id="lastname" label="Last Name" />
            </FormField>

          <Button raised>Print Greeting</Button>
        </form>

        <Typography use="headline" tag="p"></Typography>

    );
  }
}

export default App;

But this way it shifts the line under the text field by 4px to the right. It can be seen as the green band below, to the left.

But I expected it to look like the vanilla version:

If I don't wrap the Textfields into FormFields, they get joined:

A   between them will do it. But I think it would be very nice if my React code can match my vanilla code as much as possible.
Furthermore without the FormField as wrapper the font gets bigger.
It's also worth mentioning that rmwc generates the textfield as something like:
<input type="text" class="mdc-textfield__input" id="firstname">First Name

And it seems like I'm not able to make it generate as:

              <input id="firstname" type="text" class="mdc-text-field__input">

                First Name

So the very root element is not what a user could need. The root element is label, even if the label attribute is undefined.
Thank you for your attention.

Thank you for more detail. MDC has multiple recommended ways to build the textfield markup. Let me see if using the other one fixes your issue.

@fterradev dug into this for you.
Turns out, the TextField component should not be placed inside of FormField per MDCs documentation. The FormField component only exists to provide some functionality when wrapping generic input label combos.

I've updated the docs to reflect this, I was showing incorrect usage
MDC 25 had a breaking name change. You'll have to change Textfield to TextField
You can layout the TextField component in a few ways

Use The layout grid https://jamesmfriedman.github.io/rmwc/layout-grid
Wrap it in a div or component that you can style that controls layout
Style it directly, just give the TextField a className and use standard CSS.

Just a heads up, I had a botched deploy with RC2 and missed some classnames. Make sure you upgrade to RC3.

Man, bad day for RMWC. That breaking name changed really screwed me up. 3 releases later they should be working as billed... Use RC4.

Seems to me like the FormField should work somehow with MDC input elements like TextField by reading documentation at
https://github.com/material-components/material-components-web/tree/master/packages/mdc-form-field
on MDCFormField.input, where it's assigned an MDCRadio instance.
Not sure though.

There documentation isn't always the most up to date. Even though they say it should work (and it really should), I found the reason why.

The selector they use is looking for a direct child. The TextField component has a div wrapper. I'll file a but with Material.

Ok.
Hey, rmwc now gives an error when wrapping TextField with FormField.
Code:
<FormField>
  <TextField id="firstname" label="First Name" />
</FormField>

Error:
×
TypeError: Cannot read property 'addEventListener' of null
registerInteractionHandler
C:/.../node_modules/@material/form-field/dist/mdc.formField.js:1007
1004 |
1005 | return new WEBPACK_IMPORTED_MODULE_1__foundation["a" /* default /]({
1006 |   registerInteractionHandler: function registerInteractionHandler(type, handler) {
> 1007 |     return this2.label.addEventListener(type, handler);
1008 |   },
1009 |   deregisterInteractionHandler: function deregisterInteractionHandler(type, handler) {
1010 |     return this2.label.removeEventListener(type, handler);
View compiled
MDCFormFieldFoundation.init
C:/.../node_modules/@material/form-field/dist/mdc.formField.js:1131
1128 | createClass(MDCFormFieldFoundation, [{
1129 |   key: 'init',
1130 |   value: function init() {
> 1131 |     this.adapter.registerInteractionHandler('click', this.clickHandler_);
1132 |   }
1133 | }, {
1134 |   key: 'destroy',
View compiled
MDCFormField.MDCComponent
C:/.../node_modules/@material/form-field/dist/mdc.formField.js:260
257 |   // this.root_ is defined and can be used within the foundation class.
258 |   /* @protected {!F} */
259 |   this.foundation_ = foundation === undefined ? this.getDefaultFoundation() : foundation;
> 260 |   this.foundation_.init();
261 |   this.initialSyncWithDOM();
262 | }
263 |

I know. Did you see the bug I just filed with MDC? This isn’t an issue on my end.

Ok.
Yes, I saw it, but I still thought it was something with rmwc. I mean, I thought rmwc would just not be able to render it accordingly due to that issue, but I didn't thought it would cause such error.
And now I've just noticed that in fact FormField is giving error whenever it has no direct child label tag.
BTW, remember to replace the for attribute by an htmlFor one in https://jamesmfriedman.github.io/rmwc/form-fields.

Cool, will do.
The reason it causes the error is because all of RMWC uses the Foundation javascript classes, and the error is with the actual MDC FormField constructor.
If you're just trying to layout with the form-field class, you can do the following:

    <TextField .../>

I could also just catch any errors caused by the MDC constructors to insulate against them. To my knowledge this is the only situation where one has broken.

@fterradev
I added a try catch around the MDC constructor. The bug still exists inside of MDC, but now at least RMWC will fail gracefully. Currently, it will put a warning in the console but your component will still render, it just won't have any of the MDC foundation class functionality.


Piping password to brew no longer working

brew doctor output
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  brackets
  liteicon
  profilecreator
  ui-browser
  vlc-webplugin

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
brew config
HOMEBREW_VERSION: 4.3.24-5-gbd3c7f8
ORIGIN: https://github.com/Homebrew/brew
HEAD: bd3c7f80530d21e791ccc01b02234b299941dd29
Last commit: 12 hours ago
Core tap JSON: 23 Sep 19:44 UTC
Core cask tap HEAD: 4bf04196d839f5ab7dee8b32df540b914ad29ff6
Core cask tap last commit: 7 hours ago
Core cask tap JSON: 23 Sep 19:44 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nano
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.3.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 16.0.0 build 1600
Git: 2.46.1 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.0-arm64
CLT: <IP_ADDRESS>.1.1724870825
Xcode: N/A
Rosetta 2: false

What were you trying to do (and why)?
I am piping the password for brew batch installations or brew batch updates in s script for years.
Unfortunately brew is not taking the piped password anymore. I checked that the password is still in the variable and works with other commands at the same point of the script.
Thanks for looking into it.
What happened (include all command output)?
SUDOPASSWORD="MY_PASSWORD"
builtin printf "$SUDOPASSWORD\n" | brew install --cask --force microsoft-teams
==> Upgrading 1 outdated package:
microsoft-teams 24231.507.3099.9636 -> 24231.507.3099.9636
==> Upgrading microsoft-teams
==> Downloading https://statics.teams.cdn.office.net/production-osx/24231.507.30
Already downloaded: /Users/tom/Library/Caches/Homebrew/downloads/bb85ce4d5b635b07c80fbf841354e2fc21c08cf40262d0a5fd66381d22223b06--MicrosoftTeams.pkg
All dependencies satisfied.
==> Removing launchctl service com.microsoft.teams.TeamsUpdaterDaemon
Password:

What did you expect to happen?
Running the installer without asking for the password again.
Step-by-step reproduction instructions (by running brew commands)
SUDOPASSWORD="MY_PASSWORD"
builtin printf "$SUDOPASSWORD\n" | brew install --cask --force microsoft-teams

Do you know roughly when it last worked?

SUDO_ASKPASS is probably a better fit here. If this was working before: it's been accidental rather than documented.

I don't think this ever worked given sudo doesn't get the password from /dev/stdin.
You should use a SUDO_ASKPASS script instead.

Ah, there is the -S switch which does read it from stdin, did we use that before?

Do you know roughly when it last worked?

It started a few weeks (perhaps months) ago, sorry I don't know exactly when.

I had a look at SUDO_ASKPASS and if I get it correctly it is another way to store the password.
But as stated above storing the password is not the problem, brew not using the piped password is.
And the way I do it worked for years until a few weeks, probably months ago.

But as stated above storing the password is not the problem, brew not using the piped password is.

You don't need to pipe anything to brew if you set SUDO_ASKPASS.
You just need a script which echoes your password and SUDO_ASKPASS needs to point to it, e.g.
echo '#!/usr/bin/env bash' >> my_super_secure_password_script.sh
echo 'echo password123' >> my_super_secure_password_script.sh
chmod +x my_super_secure_password_script.sh

export SUDO_ASKPASS="$(pwd)/my_super_secure_password_script.sh"

brew install something-that-needs-sudo

Here's how I do it by temporarily storing it in Keychain: https://github.com/reitermarkus/dotfiles/blob/f507934aafaf974ef74e8460f1718c6df468632a/.sh#L99-L125

And the way I do it worked for years until a few weeks, probably months ago.

No idea what changed, brew never used the -S flag as far as I know, so also no idea how it worked before in the first place.

Given the symptoms, I'm almost certain that:

it's a result of https://github.com/Homebrew/brew/pull/17694 (which was implemented for security reasons), and
@tiiiecherle's "it worked before" was because sudo was using cached credentials when invoked by brew, i.e. piping passwords to sudo never actually worked (unless you used -S).

I agree, thanks @gromgit. Closing, sorry.


Feature Request: Implementation for CancelRotateSecret is missing for secretsmanager

Currently the secretsmanager component is missing implementation for a few endpoints, CancelRotateSecret is one of them. I use this library extensivley and just recently came accross the requirement for this feature, happy to take a crack and submit a PR.

Sounds good to me, @geektype! PR's and support for more features are always welcome. There is a section in the docs on how to get started:
https://docs.getmoto.org/en/latest/docs/contributing/index.html
Let us know if you need any help!


Allow using --sudo option with user's home folder in knife bootstrap

Currently knife bootstrap with '--sudo' always sets the -H option to set ENV['HOME'] to root's home folder.  This adds a flag to change that behavior but doesn't change the default behavior.

:+1:

:+1:


Fix corruption

What this PR does
Corruption is bad, cache being corrupted is also bad, This PR fixes it ;)

Fixes #
Special notes for your reviewer

Release note

NONE

/cherry-pick release-1.3
/cherry-pick release-1.2
/cherry-pick release-1.1
/cherry-pick release-1.0

Generally looks good! I see another point of cache corruption in vmi controller. In particular in the CreateIfNeededAndUpdateVolumeStatus function. We pass the vmi (taken from cache) and update the status. Can we address it too? Thanks

This is addressed by @jean-edouard  in https://github.com/kubevirt/kubevirt/pull/12629

/lgtm

/approve

@xpivarc beware of the failed backports.

@xpivarc beware of the failed backports.

Scary they are. I was counting on them to fail


refactor: remove unused webhook handler

Remove handling of webhooks for without-webhooks example. Note that there's no other references to webhook inside the without-webhooks dir so this should be sufficient.

Thanks for improving this @kunal-mandalia !


Run multiple plugins in a single instance of CoreDNS

I have 2 independent clusters, each with their own ingress. Both clusters have the same root domain name, but they are seperated by a sub domain.
Is it possible to run 2 plugins, with 2 different zones and a lookup will check (and fallthrough if needed) both clusters? I have the following in my Coredns config file but I only get NXDOMAIN returns from the cluster-1 URLs. The 2nd instance (home context) seems to work with no issues.
 k8s_gateway cluster-1.FQDN.com {
   ttl 30
   kubeconfig /config/kubeconfig cluster-1
   fallthrough
 }
  k8s_gateway FQDN.com {
    ttl 30
    kubeconfig /config/kubeconfig home
    fallthrough
  }
}

AFAIK, this is not possible but you can define multiple zones, e.g. k8s_gateway cluster-1.FQDN.com cluster-2.FQDN.com

AFAIK, this is not possible but you can define multiple zones, e.g. k8s_gateway cluster-1.FQDN.com cluster-2.FQDN.com

Both of those theoretical zones have different ingress IPs for all services and are located in different clusters (so different contexts in kubeconfig).
I'll figure some other way out. Its only temporary while I migrate things around anyway.

ah, I see. So at this point, the plugin assumes there's a single source of information, i.e. a single k8s cluster to sync with.
However, what I had in the past is this:
https://networkop.co.uk/img/d14.png
I had a hierarchy of plugins. The top plugin would receive all queries and then would forward them to one of its child plugins, syncing state from different k8s clusters.


Remove --ignore-optional flag in Dockerfile

We don't have to use this flag anymore since the spec tests are not an NPM package. However, I tried to delete the flag and the node did not start crashing with:
lodestar_1    |  ✖ SyntaxError: Cannot convert undefined to a BigInt
lodestar_1    |     at BigInt (<anonymous>)
lodestar_1    |     at NumberUintType.fromJson (/usr/app/node_modules/@chainsafe/ssz/src/types/basic/uint.ts:87:18)
lodestar_1    |     at forEach (/usr/app/packages/lodestar-params/src/utils.ts:11:66)
lodestar_1    |     at Array.forEach (<anonymous>)
lodestar_1    |     at createIBeaconParams (/usr/app/packages/lodestar-params/src/utils.ts:9:39)
lodestar_1    |     at getBeaconParams (/usr/app/packages/lodestar-cli/src/config/beaconParams.ts:70:37)
lodestar_1    |     at getBeaconParamsFromArgs (/usr/app/packages/lodestar-cli/src/config/beaconParams.ts:37:10)
lodestar_1    |     at getBeaconConfigFromArgs (/usr/app/packages/lodestar-cli/src/config/beaconParams.ts:29:30)
lodestar_1    |     at initializeOptionsAndConfig (/usr/app/packages/lodestar-cli/src/cmds/init/handler.ts:52:18)
lodestar_1    |     at Object.beaconHandler [as handler] (/usr/app/packages/lodestar-cli/src/cmds/beacon/handler.ts:25:45)

What may be happening here?
To recreate
Remove flag from these two lines
https://github.com/ChainSafe/lodestar/blob/8c860b334a73ece8b310f86c58487104dd8976b3/Dockerfile#L7
https://github.com/ChainSafe/lodestar/blob/8c860b334a73ece8b310f86c58487104dd8976b3/Dockerfile#L10
docker-compose up --build

I confirm this issue after:

cloning lodestar in fresh machine, docker-compose build -> :white_check_mark:
Do only the change of removing --ignore-optional from Dockerfile
docker-compose build -> :heavy_multiplication_x:

@wemeetagain Can you take a look? I can't find anything suspicious

Root issue -> https://github.com/ChainSafe/lodestar/issues/2120


can't retrieve my device after bad_alloc exception

The following program does 3 successive calls to the "test" function where a few thrust operations are executed. Each one of these 3 calls provides a different size to the manipulated arrays:

3,000 elements for the first call;
300,000,000 for the second call;
3,000 again for the third call.

The second call is expected to fail with a bad alloc, but the third one should be successful (as is the first one) if I properly cleaned up the status of my GPU with cudaReset and cudaSetDevice. But it also fails. Moreover, successive calls would also result in a failure. I have to end my process and restart it to be able to operate the device again.
Here is my example code:
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#include <stdio.h>
#include <cuda.h>
#include <thrust/system_error.h>
#include <thrust/device_vector.h>
#include <thrust/sort.h>
#include <thrust/execution_policy.h>

#define CUDA_CALL(x)do { if((x) != cudaSuccess) { return -11;}} while(0)

typedef typename thrust::device_vector<size_t>  tDevVecInt;
typedef typename thrust::device_vector<float>   tDevVecFlt;

struct modSim : public thrust::unary_function<int, int>
{
    int szMat;
    int p;
    modSim(int in1, int in2)
    {
        this->p = in1;
        this->szMat = in2;
    }
    __host__ __device__ int operator()(const int &x)
    {
        return (x/szMat)*p+(x%p);
    }
};

 int test(size_t szData)
{
    modSim moduloCol(3, 33);
    CUDA_CALL(cudaSetDevice(0));
    try
    {
        tDevVecFlt devRand(szData);
        tDevVecInt devIndices(szData);
        tDevVecFlt devData(szData);
        thrust::sequence(devRand.begin(), devRand.end());
        thrust::tabulate(devIndices.begin(), devIndices.end(), moduloCol);
        thrust::sort_by_key(devIndices.begin(), devIndices.end(), devRand.begin());
    }
    catch(std::bad_alloc &e)
    {
        std::cout << e.what() << std::endl;
        CUDA_CALL(cudaDeviceReset());
        CUDA_CALL(cudaSetDevice(0));
        return -3;
    }
    catch(thrust::system_error &e)
    {
        std::cout << e.what() << std::endl;
        CUDA_CALL(cudaDeviceReset());
        CUDA_CALL(cudaSetDevice(0));
        return -2;
    }
    CUDA_CALL(cudaDeviceReset());
    return 0;
}

int main(void)
{
    size_t n = 3000;
    int retVal = test(n);
    std::cout << retVal << std::endl;
    n = 300000000;
    retVal = test(n);
    std::cout << retVal << std::endl;
    n = 3000;
    retVal = test(n);
    std::cout << retVal << std::endl;
    return(0);
}

Here is my setup:

Windows 8;
NVIDIA GeForce 820m with 2GB dedicated VRAM;
CUDA 7.0;
Command line for compilation: $nvcc -arch=compute_20 test.cu -run

And here is the output I get:
0
bad allocation: out of memory
-3
after cub_::DeviceRadixSort::SortPairs(1): out of memory
-2

As mentioned above, the third call shouldn't have failed as it is identical to the successful first call.
This failure seems to be a consequence of the previous call (the one that issued a bad alloc) but I cleaned everything up with a cudaDeviceReset() and a cudaSetDevice() so the device should be available again.

Thanks for the report. I can reproduce the behavior, but I can't explain it.
My feeling is that this is probably an issue with cudaDeviceReset or the CUDA runtime more generally. To my knowledge, there's no way for Thrust's implementation to do something that would cause cudaDeviceReset to behave strangely.

Ok thanks for your comment! :)
It's good to hear you can reproduce it.I was turning mad on that one!
Do you mean I should report somewhere else on the general CUDA side or do you guys know each other?

Yes, please report it so that you can stay updated on its status. You can access CUDA's bug tracker by becoming a registered developer. In the bug report, I would frame it as an issue with cudaDeviceReset to ensure that a runtime engineer sees it.
For what its worth, I'm not sure a cudaMalloc failure requires resetting the entire device -- allocation failures are recoverable, as far as I know.

Ok, thanks for the remark, I'll take good note of it.
I just sent a bug report on the CUDA side.

The result of this (which was resolved elsewhere) is that there was no bug in either Thrust or the CUDA runtime. The user needs to explicitly clear the current CUDA error using cudaGetLastError() before calling cudaDeviceReset().


Implement cats when Clifford has phase pi

Implement cat decomposition when Clifford spider in state being decomposed has phase $\pi$.
Fix bug in sign of term produced in gen_catlike_term.

Can you please add a test to test_simulate.py that fails without your change and passes with it?

@dlyongemallo done.


Make Extract SSR compatible

Fixes #631

👋 Thanks for creating a pull request! 🚀 Checkout the storybook we've created for it:


Trend Lines on Degradation Chart

Anyone have any ideas on how to easily add trend lines to the degradation chart? It's been a while since I've worked with Grafana.
Thanks, and great project!

There is a blog article here https://grafana.com/blog/2019/02/14/visualizing-the-future-with-grafana/
You search for something like a moving average function. AFAIK; Grafana just shows the values, but does not have anything like a moving_average function. InfluxDB can do that, postgres can do it aswell (https://www.compose.com/articles/metrics-maven-calculating-a-moving-average-in-postgresql/) and Grafana can be used to show it.


Replace text - Challenge 109

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes #8868

Description
Text in Challenge 109 Line 548 Replaced

@daphneppl, this is a duplicate of #8884. The text you changed, wasn't the proposed one in the issue. Closing, sorry! Checkout other first-timers-only here: https://github.com/FreeCodeCamp/FreeCodeCamp/labels/first-timers-only


operator [N] sn-operator (0.2.1-test)

Thanks for submitting your Operator. Please check the below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Have you considered whether you want to use semantic versioning order?
[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description of the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/test 4.10-deploy-operator-on-openshift

/test 4.12-deploy-operator-on-openshift

/test 4.11-deploy-operator-on-openshift

/test 4.10-deploy-operator-on-openshift

/test 4.11-deploy-operator-on-openshift

/test 4.12-deploy-operator-on-openshift

/retest

/merge possible

/merge possible

/merge possible

/merge possible

/merge possible

@FushuWang does this need to be merged or is it just a test?

@mporrato it's just a test PR, you can close it. thx.


Fixed BuildDeps step with versioned packages #465

Looks good. Hopefully ubuntu test will not break soon...


Sette opp ny route til Enkeltrettigheter

Description
Denne oppgaven handler om å forberede routing til Enkeltrettigheter.
Den er todelt:

Lag ny enum i Router-paths for bruk til Enkeltrettigheter og omdøp den allerede eksisterende enumen til å infikere dens bruk i ApiDelegering (Forslag: ApiDelegationRoute)
Undersøk om det er gunstig å ha flere enn én router (en per hovedfeature). Hvis det er det, sett opp for ulike på Api-delegering og Enkeltrettigheter. (Obs: Test antall renders som skjer or routing-element)

Design review
Sjekk at alle flytene og navigeringsknapper fungerer som de skal

In a typical React application, it is generally recommended to have a single Router component that handles the routing for the entire application. This is because the Router is responsible for managing the application's URL and mapping it to different components or views.
Having multiple Router components can lead to conflicts and unexpected behavior, as each Router maintains its own routing state. It can result in difficulties in managing nested routes, maintaining consistent URL synchronization, and coordinating navigation across different parts of the application.
However, there might be specific scenarios where you may have a valid use case for multiple routers. For example, if you have a large application with distinct sections that are completely separate from each other and don't need to share routing information, you could potentially use multiple routers.
But in most cases, a single top-level Router, such as the BrowserRouter or HashRouter from React Router, is sufficient to handle routing for the entire application. It provides a centralized and consistent way to manage navigation and URL changes across different components and views.
Remember to design your application's routing structure carefully and consider the overall architecture to determine the appropriate usage of routers.

sjekket ok


Fixed reverse highlight in Multibrowser Live Preview

Ran Live preview unit tests and checked Multi Browser live preview manually.  Merging this PR.


Terminal styling off when moved to sidebar

background color does not change
split terminals are still horizontal layout

To Verify:

Open terminal in panel
Split the terminal
Drag terminal to the sidebar
Verify that the background color matches the sidebar and that split terminals reflow vertically.

note if your theme sets terminal bg color explicitly, this will be used instead of the sidebar color and will not match.


Const registry groups no longer work

After recent commits (last week or month), any groups created from const registry are empty or invalid.
auto group = registry.group< CompA, CompB >();
EXPECT_TRUE( !group.empty() );  //Ok

but, with the same registry state:
const auto& c_reg = registry;
auto group = c_reg.group< const CompA, const CompB >();
EXPECT_TRUE( !group.empty() ); //Fails

Same with non-owning or partially-owned groups
//tested on latest MSVC yet

🤔 isn't there a test for it? Really?

🤔 isn't there a test for it? Really?

🤔 isn't there a test for it? Really?

🤔 isn't there a test for it? Really?

@skypjack ofc! I'll be glad to help ^_^
Finally I figured out why your tests are passing!!!
Typically in your tests, you create non-const groups before const ones, which changes the behavior.
TEST( NonOwningGroup, AnotherConstGroupTest )
{
    entt::registry registry;
    const auto e0 = registry.create();
    registry.emplace< int >( e0 );
    registry.emplace< char >( e0 );

    //auto group = registry.group( entt::get< int, char > );
    auto cgroup = std::as_const( registry ).group( entt::get< const int, const char > );
    ASSERT_FALSE( cgroup.empty() );
}

This one will fail, until you uncomment commented line ;)

@skypjack ofc! I'll be glad to help ^_^
Finally I figured out why your tests are passing!!!
Typically in your tests, you create non-const groups before const ones, which changes the behavior.
TEST( NonOwningGroup, AnotherConstGroupTest )
{
    entt::registry registry;
    const auto e0 = registry.create();
    registry.emplace< int >( e0 );
    registry.emplace< char >( e0 );

    //auto group = registry.group( entt::get< int, char > );
    auto cgroup = std::as_const( registry ).group( entt::get< const int, const char > );
    ASSERT_FALSE( cgroup.empty() );
}

This one will fail, until you uncomment commented line ;)

Ahaaaaaa. Yeah, so, this is an intricate topic actually.
The registry must be const thread safe for . This is roughly speaking the same guarantee you've from all the containers in the standard library.
The upstream version works like this instead:

registry::view and registry::group: create pools and return fully initialized views/groups (the easy point 🙂).
registry::view const and registry::group const: don't create pools, return broken empty views/groups (that's fine, if the pool doesn't exist, views and groups are empty anyway, but they won't be fixed if stored aside).

Where does your case fall?
You're requesting a group that was never used nor created before from a non-const registry. In this case (and only in this case) the group doesn't even create the control structure to use to keep track of the elements in the group, nor it can touch the pools to initialize the group for the first time.
So, what you obtain is a completely invalid object and this is somewhat expected. 😄
Now, I see how it is not in fact. Let's try to make a step further.
I've just introduced full support for custom pools. I'm working (on a private branch) to introduce the multi_storage_tag aside the already existing dense_storage_tag and empty_storage_tag.
This will be used to put aside default pools a new set of storage classes that work with multiple types. For example, tables but also fully interdependent types and so on. What else? Groups. Groups are a special case of the interdependent types where an entity can have only one of them.
So, groups are about to become a custom pool, the control block is about to disappear and the group class will go away as well. With the multi_storage_tag and another couple of things, we'll also be able to use groups to speed up views under the hood, though transparently.
So what? So, it doesn't worth it IMHO to invest in something that will be removed with the next release.
That is, the const thread safe registry is nice to have and I'm fine with paying the price for it until groups become a custom pool.
Though, again, I see how having a broken group isn't optimal in the meantime.
My guess is that we could either remove the const registry::group overload or assert when the control block doesn't exist.
Users can still announce the group in the meantime and have it work properly from the const overload, until all this is turned into something to configure at component level with custom pools and that's all.
Feedback? Suggestions?

Ahaaaaaa. Yeah, so, this is an intricate topic actually.
The registry must be const thread safe for . This is roughly speaking the same guarantee you've from all the containers in the standard library.
The upstream version works like this instead:

registry::view and registry::group: create pools and return fully initialized views/groups (the easy point 🙂).
registry::view const and registry::group const: don't create pools, return broken empty views/groups (that's fine, if the pool doesn't exist, views and groups are empty anyway, but they won't be fixed if stored aside).

Where does your case fall?
You're requesting a group that was never used nor created before from a non-const registry. In this case (and only in this case) the group doesn't even create the control structure to use to keep track of the elements in the group, nor it can touch the pools to initialize the group for the first time.
So, what you obtain is a completely invalid object and this is somewhat expected. 😄
Now, I see how it is not in fact. Let's try to make a step further.
I've just introduced full support for custom pools. I'm working (on a private branch) to introduce the multi_storage_tag aside the already existing dense_storage_tag and empty_storage_tag.
This will be used to put aside default pools a new set of storage classes that work with multiple types. For example, tables but also fully interdependent types and so on. What else? Groups. Groups are a special case of the interdependent types where an entity can have only one of them.
So, groups are about to become a custom pool, the control block is about to disappear and the group class will go away as well. With the multi_storage_tag and another couple of things, we'll also be able to use groups to speed up views under the hood, though transparently.
So what? So, it doesn't worth it IMHO to invest in something that will be removed with the next release.
That is, the const thread safe registry is nice to have and I'm fine with paying the price for it until groups become a custom pool.
Though, again, I see how having a broken group isn't optimal in the meantime.
My guess is that we could either remove the const registry::group overload or assert when the control block doesn't exist.
Users can still announce the group in the meantime and have it work properly from the const overload, until all this is turned into something to configure at component level with custom pools and that's all.
Feedback? Suggestions?

Ohh.. i see
The problem is, that i pass const registry& to every function that shouldn't change any component data (e.g. rendering stuff), and yes, sometimes these groups have not yet been "touched".
I was a little shocked when about half of the render effects disappeared yesterday: D: D
And when i call .group<A,B,C> i expect to get something and not to create the group under the hood. (ofc I understand what's happening and why)
//but it's about logical constness vs "physical"
More thread-safety is awesome, but IMHO current behavior is not very intuitive from a "user" point of view.
Interesting problem actually!
Idk... maybe i should stick with older versions right now, unitl new stuffs are finally done )

Ohh.. i see
The problem is, that i pass const registry& to every function that shouldn't change any component data (e.g. rendering stuff), and yes, sometimes these groups have not yet been "touched".
I was a little shocked when about half of the render effects disappeared yesterday: D: D
And when i call .group<A,B,C> i expect to get something and not to create the group under the hood. (ofc I understand what's happening and why)
//but it's about logical constness vs "physical"
More thread-safety is awesome, but IMHO current behavior is not very intuitive from a "user" point of view.
Interesting problem actually!
Idk... maybe i should stick with older versions right now, unitl new stuffs are finally done )

Maybe instead of const overload we can have function named registry.group_if_exist ?

Yeah, I like group_if_exists more than group_unsafe, mainly because the latter would require to break the thread safe const contract.
Being only for a transitional period and still having the possibility to announce the group to be able to use it from a const registry, it seems to me a good compromise.

Maybe i should stick with older versions right now, unitl new stuffs are finally done

Dunno, it's up to you. Unless you're using some private function of a groups that isn't available otherwise, I would probably switch to a view in the meantime or announce the group.
Consider that the final model in EnTT will be view-only, so the former is likely to be the right choice until new stuff is finally done. 😉

Maybe instead of const overload we can have function named registry.group_if_exist ?

Yeah, I like group_if_exists more than group_unsafe, mainly because the latter would require to break the thread safe const contract.
Being only for a transitional period and still having the possibility to announce the group to be able to use it from a const registry, it seems to me a good compromise.

Maybe i should stick with older versions right now, unitl new stuffs are finally done

Dunno, it's up to you. Unless you're using some private function of a groups that isn't available otherwise, I would probably switch to a view in the meantime or announce the group.
Consider that the final model in EnTT will be view-only, so the former is likely to be the right choice until new stuff is finally done. 😉


calculate kd ratios by piece values

forked off of https://github.com/bennyrubanov/chessanalysis/pull/48

closing, changes added to most recent branch #52


Update README.md to correct module addition

The correct statement for adding a submodule is git submodule add, not git add submodule.

Awesome! Thank you for catching that.

@all-contributors please add @somaniarushi for doc


removes undefined objects from modules array, see issue #2382

closes #2382
Fix removes undefined objects from modules array.

wasn't there someone trying to run the UI on a non-es6 platform.. older ios..

wasn't there someone trying to run the UI on a non-es6 platform.. older ios..

yes, IOS 9 or something. There was a PR for reverting soem stuff but michmich already declined that.

ok..


[Support] Backups failing

Everytime the auto-scheduled backup tries to backup my world it fails. But when I run the command it works just fine. Any help?
[10:25:10 INFO]: [Backuper] Backup process has been started
[10:26:52 ERROR]: Failed to save level ./world
java.nio.file.AccessDeniedException: ./world/level12129492956281235418.dat
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?]
at java.nio.file.Files.createFile(Files.java:658) ~[?:?]
at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?]
at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?]
at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?]
at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?]
at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?]
at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
[10:26:52 ERROR]: Failed to save level ./world_nether
java.nio.file.AccessDeniedException: ./world_nether/level14966274231964192496.dat
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?]
at java.nio.file.Files.createFile(Files.java:658) ~[?:?]
at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?]
at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?]
at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?]
at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?]
at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?]
at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
[10:26:52 ERROR]: Failed to save level ./world_the_end
java.nio.file.AccessDeniedException: ./world_the_end/level14422186950764156848.dat
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?]
at java.nio.file.Files.createFile(Files.java:658) ~[?:?]
at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?]
at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?]
at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?]
at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?]
at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?]
at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430]
at java.lang.Thread.run(Thread.java:840) ~[?:?]

This is usually due to the fact that the server was once shut down during the backup. You need to go to the server folder and enable writing option in the world, world_nether and world_the_end folders by going to the settings of these folders (right-click on the folders).

Let me know if you couldn't figure it out

Also came to the same conclusion after I posted this. I changed the permission code to 777 so when the auto backup tries again in a couple hours I'll lyk. I don't want to change anything with the timing to keep the testing consistent.

So have you tested it?

Sorry been a little busy. Seems to be working now. Thanks!

Hey again, it seems like pterodactyl keeps changing the permission from 777 to 755 after a couple hours. I asked in the official discord but it so far seems to be no help. Was hoping you know how to fix this

With 755 does the same error appear?

Backuper changes the permissions on the folder so that everything goes well during the backup, but afterwards it returns the permissions

Please send me your config, server core and OS

And your world folder weight

Im currently not home but once I do get home Ill send you everything you need. The error does occur when the files permission code is 755. Also where can I find the server core and world folder weight. The os is ubuntu 22.04.3

You can see the weight of the world folder by right-clicking on the folder

I still could not find the weight of the folder or the server core. Heres the config
https://easyupload.io/yemi3x

Can you send the config just text, not a link to the file?

DO NOT CHANGE
configVersion: 5.0
lastBackup:<PHONE_NUMBER>
lastChange:<PHONE_NUMBER>
Automatic backup once in a specified period
autoBackup: true
Full directory where backups will be stored
backupsFolder: plugins/Backuper/Backups
Backup time (0 - 23). Backups will be made at this time every day. (backupPeriod will be automatically set to 24 hours). -1 to disable backup time fixation
backupTime: -1
Backup period in MINUTES. To change this value you need to set backupTime to -1
backupPeriod: 480
What to do after backup, (STOP, RESTART, NOTHING)
afterBackup: NOTHING
The backup will only occur if the world has been changed since the last backup. If the world has not been changed, this backup cycle will be skipped
skipDuplicateBackup: true
Max backups in backups folder, 0 to make it unlimited
maxBackupsNumber: 0
Max backups folder weight in MB, 0 to make it unlimited
maxBackupsWeight: 0
Should backups be packaged in a zip archive
zipArchive: true
Better logging
betterLogging: false

I can see the line:
[10:25:10 INFO]: [Backuper] Backup process has been started
but is there the line "Backup process has been finished" somewhere after an error?

Ok, thanks for your report, but I have to say that its not really an error. Backuper prevents world folders from modifying during the backup process because it might break your backup, so just ignore this error

Ok I see, sorry for the trouble


Test with Node v10

The yo-install seems to work without any problems, but Gulp and Webpack are throwing ugly errors. Test and Fix!

OK, errors didn't appear on following runs, so...


Feature/langsmith

Simple langsmith implementation with some readme context.

Changes were implemented in a different pull request.


Improve JWTs for FLEx auth

Related to #145.
We need to polish up how using JWTs in FLEx works.

We want the tokens to expire
We don't want weird errors when using an expired token
We want tokens to use the refresh token
If a user is added to another project, they need a new token
etc.

I'm going to just roll these changes into #442 since it makes way more sense to just include it with that


QSV decode fails for H264 files with constrained baseline profile

The below FFMPEG command for QSV decode failed (Error attached as a screenshot) for H264 input files with constrained baseline profile.
ffmpeg -hwaccel qsv -c:v h264_qsv -i <h264(constrained baseline)_file> -c:v h264_qsv -b:v 5M output.mp4
Also attached the compressed input file.
Objects.zip

It seems to be the same issue which was discussed in https://github.com/Intel-Media-SDK/MediaSDK/issues/582 . @Alexandr-Konovalov , can you please post details of investigation to prove.
So, let's wait for merge of

Input stream is 3840x2160, while level_idc is set to 30 in SPS. To meet the resolution, MSDK in CalculateDPBSize() upgrade level_idc to 40.
As result, later in MFXVideoDECODE_DecodeFrameAsync() callchain, MFXTaskSupplier::DecodeHeaders() returns UMC_NTF_NEW_RESOLUTION, because CodecLevel that sets by ffmpeg (30) is lower than level_idc upgraded by MSDK (40). And in VideoDECODEH264::DecodeFrameCheck() UMC_NTF_NEW_RESOLUTION turns to MFX_ERR_INCOMPATIBLE_VIDEO_PARAM. So the error message on ffmpeg side.

Sorry for the delayed response.
I have tried applying the said patch to the ffmpeg. However, I am still facing the same issue again.

@ankit22july Strange, it works for me. Which version on ffmpeg are you using? Is diagnostic exactly

Error during QSV decoding.: incompatible video parameters (-14)

I am using ffmpeg from [https://github.com/fulinjie/ffmpeg with Commit ID 1afe5f049d940b6db68f20425a3a9cc57cb03894. I have applied the said patch to the same and the error reported is still observed.

@ankit22july Strange, I can't find 1afe5f049d940b6db68f20425a3a9cc57cb03894 in https://github.com/fulinjie/ffmpeg.
Nevertheless, I applied patch from https://patchwork.ffmpeg.org/patch/11809/ to aceb9131 (current head of master of https://github.com/fulinjie/ffmpeg). It can't be build without ff_qsv_map_picstruct() that I got from https://patchwork.ffmpeg.org/patch/11807/. Resulted ffmpeg successfully transcodes Objects.mp4

@Alexandr-Konovalov
As suggested by you, applying both the patches to current head of https://github.com/fulinjie/ffmpeg works fine. Thank you very much.
However, if I use ffmpeg from https://github.com/intel-media-ci/ffmpeg/pull/24, I observe the same issue. If I apply https://patchwork.ffmpeg.org/patch/11809/ and https://patchwork.ffmpeg.org/patch/11807/ patch to https://github.com/intel-media-ci/ffmpeg/pull/24, I get Unsupported pixel format error. Attached is the screenshot of the error.
Please help me out.

It works fine for me with Objects.mp4 that you provided. Could you shared the problem stream with me?

@ankit22july Is there any news?

@ankit22july Are you still interested in this?

Closing the issues as there seems to be no activity or interest from customers side throughout last 3 motnths. In case any new issues feel free to submit a new one with  updated info


Drip not dripping?

Is the drip api still working? I tried this jsfiddle and also curl but it seems like the data gets delayed until the end. Perhaps your CDN is waiting for the request to complete or so?
curl https://httpbin.org/drip?duration=5&numbytes=5000

It could be Heroku's proxy that is doing this. I am confident the endpoint is written correctly because I've stolen the basic ideas for other flask projects I've written.

Could be. I am seeing Server:nginx, is that Heroku? I'd be interested to know how nginx needs to be configured to support dripping/streaming.

Er, put it like this. Last I checked, @Runscope/httpbin 's engineers who manage the deployment were still using Heroku. If you run httpbin locally, do you still see the same issue? My guess is no. (I don't have time to check right now.)

Actually yes I do see the same problem locally.

That's bizarre. According to Flask's documentation, our endpoint should work correctly.
I wonder if Flask/werkzeug behave differently if there's a Content-Length header. Can you modify your local copy to get rid of that?

That doesn't seem to fix it.

Interesting

Same issue.  I see 8s for TTFB when I send a delay of 0 and a duration of 8.

https://github.com/postmanlabs/httpbin/issues/252
https://github.com/postmanlabs/httpbin/issues/348
https://github.com/postmanlabs/httpbin/issues/417
https://github.com/postmanlabs/httpbin/issues/541


[Task] Test the composite action using github action

What should be done
We need to add a way to test the composite action using github action on: pull-request
Technical recommandation
To be sure that each jobs still working after editions.
Originally posted by @shiipou in https://github.com/lenra-io/github-actions/issues/3#issuecomment-1536349603

Talked with the team, we can omit this one for the actions for now.


Added headless prompt guidance.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/skills/cortana-device-type.md
:white_check_mark:Succeeded

docs/skills/design-principles.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/skills/cortana-device-type.md
:white_check_mark:Succeeded

docs/skills/design-principles.md
:white_check_mark:Succeeded

docs/skills/mva71-share-skill.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fixes 'batch_size' may be used uninitialized

clang++-3.6: warning: 'batch_size' may be used uninitialized in this function

Can one of the admins verify this patch?

Jenkins, test this please.


Request Terraform resource for PROJECTION POLICY

Use Cases or Problem Statement
Want the ability to create/alter/destroy PROJECTION POLICY using Terraform .
Request Terraform resource for PROJECTION POLICY (https://docs.snowflake.com/en/sql-reference/sql/create-projection-policy)
Category
category:resource
Object type(s)
No response
Proposal
No response
How much impact is this issue causing?
Medium
Additional Information
No response
Would you like to implement a fix?

[ ] Yeah, I'll take it 😎

Hey @ramprasads108. Thanks for reaching out to us.
This resource is not the part of the scope for the V1. For now, you can use https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/unsafe_execute (please read the docs first).
Alternatively, we are open for contributions (check https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/CONTRIBUTING.md).

HI @sfc-gh-asawicki , We are not allowed to use unsafe_execute in our environment. Therefore, we request this to be prioritized in your roadmap

cc: @sfc-gh-sthyagaraj

@ramprasads108 projection policies turned GA just recently, so they are not a part of the V1 scope. We plan to support them after reaching the V1.


Coding Conventions

As a contributor or moderator, consistency of styling simplifies package maintenance and cuts down on pull request review lines of code since editors can adhere to standardization.
The project should consider:

Declare a coding standard (recommend PSR-2)
Include a .editorconfig file for automated editor configuration
Include a CI code linter (recommend Codacy)

Just on-boarded codacy.


[OneExplorer] Refactor Node as class

This commit refactors Node interface.
It converts Node interface to class
as it requires more functionality thus it needs OOP.
ONE-vscode-DCO-1.0-Signed-off-by: Dayoung Lee<EMAIL_ADDRESS>

@jyoungyun @hyunsik-yoon I have added you as reviewers as we have discussed about uri and path on other PR. PTAL 😄


CI: Warning unable to re-allocate ingress IPv6 when Ingress controller is enabled

Happens in the Clustermesh workflow from time to time when the Ingress controller is enabled.
level=warning msg="unable to re-allocate ingress IPv6." error="provided IP is not in the valid range. The range of valid IPs is fd00:10:244::/64" sourceIP="fd00:10:244:2::d87d" subsys=daemon

Example: https://github.com/cilium/cilium/actions/runs/11807468374/job/32894359458.

If you're fixing this, don't forget to remove the exception from the list: https://github.com/cilium/cilium/blob/21ad13700b0f295e4997ffe4d204a9dbcd4cf309/cilium-cli/connectivity/tests/errors.go#L55


Persist Store

First of all, thank you for this wonderful library!
Any plans on adding a persist layer? I find it super useful for my redux based web applications.
Something similar to this: https://github.com/rt2zz/redux-persist

Sorry missed #110, closing this.


Advantage to NZ users

As more people are using "scripts" one thing to highlight is the advantage New Zealand users have over foreign users. This is because it takes longer for people with a higher latency between their device and the servers in wellington (or wherever they are in NZ) to send the request for a room. If you have access to a computer physically in New Zealand it will be at an advantage to find spots over one further away.  This reminds me of how the NYSE has 38 miles of extra wire for connections that are in the building to increase their latency and reduce the time advantage they have for trades. This maybe something to add to the documentation.

I believe I first read about this in Flashboys, a great read on the topic!


InventoryPanel::_is_valid_filter could return wrong value

So far how function is written now it only searches for any substring in filter string. This though could return false positive in case that given type is a substring of type in filter. As an example let's say there are two types Coal and CompactedCoal if you want to make machine (maybe same goes for recipes i did not check that case) that takes only CompactedCoal you are out of luck as _filter.find("Coal") search will be positive even though there is filter for CompactedCoal only.
Simple proposed solution would be to make filter either array of strings and do equal compare or split _filter string in _ready to make it a array so you can make whole filter little bit more strict.
I'am sorry if it is too soon to report such stuff. I just can't wait for course so i'am just going through code and thought processes behind commits trying out how stuff works in advance :D Looking forward to final tutorial :-) great work!

I had thought of the problem, but didn't come up with a great solution yet. Using String.split is a good solution, though. Thanks~

No problem, I will try to report stuff If I run into more. I managed to break inventory ui when I was playing with it as well (like no sprite item in backpack for example. Even crash once. But I don't have repro for these, I was just messing around for a minute or two when these happened)


ERC-6492 Predeploy Signature Verification

Enables smart accounts to sign messages and auth as themselves without requiring deployment.

PR-Codex overview
This PR focuses on enhancing the Thirdweb wallet functionality by implementing ERC-6492 signature verification, adding new classes for multicall operations, and improving contract interaction methods, including support for encoding function calls.
Detailed summary

Added ERC-6942 verification in Thirdweb.SmartWallet.Tests.cs.
Introduced Multicall3_Call3, Multicall3_Result, and Erc6492Signature classes in AATypes.cs.
Enhanced SupportsInterface method in ThirdwebExtensions.cs.
Implemented CreateCallData method in ThirdwebExtensions.cs.
Modified cache key generation in ThirdwebRPC.cs to include _rpcUrl.
Created EncodeFunctionCall method in ThirdwebContract.cs.
Updated IsValidSignature method in SmartWallet.cs for ERC-6492 verification.
Added SerializeErc6492Signature method in Utils.cs.
Defined constants for magic values and addresses in Constants.cs.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Codecov Report
Attention: Patch coverage is 91.01124% with 8 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@b75f909). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

...irdweb/Thirdweb.Wallets/SmartWallet/SmartWallet.cs
83.33%
6 Missing and 2 partials :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage        ?   78.20%
=======================================
  Files           ?       28
  Lines           ?     4488
  Branches        ?      619
=======================================
  Hits            ?     3510
  Misses          ?      812
  Partials        ?      166

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


feat(Keyboard): Add a tracked controller based keyboard input system

WIP
This is an early work in progress for #899. General comments and ideas are welcome, please add them to the issue.
Current State
Keyboard Layout:

The keyboard layout scriptable object is implemented
The editor for keyboard layouts is mostly implemented

VRTK_Keyboard:

Should process key presses (untested)
Accepts a fixed InputField or one being set by an actor
Tells the renderer if enter should be enabled
Editor interface can be used to intuitively create the necessary layout calculator and layout renderer components

Key Layout Renderers:

Abstract base class with common code
A Canvas Key Layout renderer with basic functionality for populating a canvas with sized and positioned templates

Calculations required to apply RenderableKeyboard Rects to RectTransforms
A keyTemplate used to create UI.Button objects from a template
keyTemplate UI.Button overrides/modifications:

The UI.Button's OnClick
The UI.Text's text
The UI.Image's sourceImage/sprite

Rule based image/sprite definition for keyset modifier keys
specialKeyTemplate handling

Renderable Key Layouts:

RenderableKeyboards are mostly implemented (a meta layout containing Rect locations for areas and keys)
Most of the base class code is finished except copying metadata from keyboard layout objects
Split row handling is implemented
A "Simple" even spaced keyboard layout calculator that can be used to create plain grid-like keyboard layouts with options for spacing in between areas, keys, and rows
Single area option for grid key layout calculator (can be used to create plain a-z grid keyboards)

Future work

Move keyboardLayout reference in KeyboardLayoutCalculators to a VRTK_KeyboardLayoutSource that extends a VRTK_BaseKeyLayoutSource

In the VRTK_Keyboard editor (or the editor of whatever depends on a Key Layout Source) allow a key layout source to be selected in the same way as renderers are selected. However, allow the registration attribute applied to a source class to designate an alternative editor/list source to show up in place of that item. In the case of the KeyboardLayout source include a dropdown or long list that allows the keyboard layout to be selected directly and implicitly added when the component is created.

KeyboardLayout Editor:

Move more button press responses into lambdas with block local variables to reduce possibility of edge case errors

Canvas Renderer:

Keyset modifier key handling
Special key text overrides
Use of CanvasGroups for keysets

Possible flexibility to allow an animation to be applied for the keyset -> keyset transition (eg: fade using the CanvasGroup's opacity)

Disable/make non-interactable the enter key when not usable

Add option to swap it with a done key

Split canvas handling
Optional LongPress component to handle subkeys
Add an alternate UI Layout based canvas renderer:

Doesn't use calculators to calculate the layout
Creates row containers instead of placing keys directly in areas for maximum flexibility
Creates VerticalLayoutGroups in areas, HorizontalLayoutGroups in rows, and LayoutElements in keys
Allows you to specify values to use in these group and element scripts
Allows overrides of some of those values to be specified for some of the keys

The ability to associate a keyset with an InputField.ContentType

On InputField select the content type would pass through KeyboardActor -> Keyboard -> Renderer
If there is an ideal keyset that would become active implicitly
This could allow InputField.ContentTypes like IntegerNumber and DecimalNumber to implicitly switch to a number pad keyset on a keyboard.

Insertion of a spacebar/done row
(Maybe) A mesh/collider based key/keyboard implementation (Anyland appears to have something like this)

(Maybe) As an experiment, a physics based mesh keyboard that interacts using small rigid bodies by using VRTK_Button

RenderableKeyLayout calculators should output two "interaction regions" for the canvas areas to map the Steam Controller style trackpad cursors
A physical keyboard style StaggeredKeyboardLayoutCalculator
A variable key size keyboard layout calculator that can space things similarly to the Steam VR/Controller keyboard
A keyboard actor responsible for displaying a keyboard on demand in response to text fields
An additional script optionally responsible for overriding controls when a keyboard is displayed and implementing a Steam VR/Steam Controller style dual touchpad + trigger style interaction for the keyboard canvas.

There were the following issues with your Pull Request

Commit: 5d7807bf14f0eac6055579dd8dc8ffc43d917a6b

Your commit message body contains a line that is longer than 72 characters

Commit: 4d0486a62a132eedafb5f5a60e8e91869d309147

Your commit message body contains a line that is longer than 72 characters

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: 5f0022d763783422e6e49dee942be1c1cb320734
Your commit message body contains a line that is longer than 72 characters

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com

Looks like a lot of work is going into this!
Let me know when you think it's ready for review.
Also, before merging it should probably be squashed into as few commits as possible.

Since I ended up having to create 2 class structure implementations for keyboard layouts (VRTK_KeyboardLayout=A row+key based structure you edit, VRTK_RenderableKeyboardLayout=An area+key based structure with rect placements for all keys used for displaying) I wanted to at least try to abstract away that implementation fact with interfaces (so code only has to work with an IKeyset instead of a VRTK_KeyboardLayout.Keyset and a VRTK_RenderableKeyboardLayout.Keyset, etc...).
Sadly it seems I've ran headlong into the fact that Unity doesn't support covariant interfaces and may have to give up on that or think of something else:
https://github.com/dantman/VRTK/compare/feat/Keyboard...feat/Keyboard-interfaces

[...] Sadly it seems I've ran headlong into the fact that Unity doesn't support covariant interfaces [...]
Yeah. And it doesn't look like their compiler upgrade will be done anytime soon.

I wonder if I could get away with using interfaces in this case by manually casting/cloning each object in VRTK_KeyboardLayout and VRTK_RenderableKeyLayout to interfaces or something more generic. It would be a little inefficient since I'd essentially have to iterate over and duplicate each list.
But there are only about 3 places I need covariance to cast interfaces:

The editor that needs to get the names of keysets available in the key layout being used (only executed in the editor)
The keyboard layout calculator when it passes a VRTK_KeyboardLayout to the renderable layout builder (called once when rendering the keyboard)
The key layout renderer when it asks for a key layout to render from the calculator (called once when rendering the keyboard)

In game, rendering a keyboard only happens once when the keyboard is created; or whenever you force it to render if you're doing something like dynamically replacing the KeyboardLayout with something else (eg: You have an option to switch from QWERTY to Dvorak).

I'm going to start closing these, we can reopen them if anyone raises it