Zen 352 retheme updates - Part 1

Ticket: ZEN-352
Notes

This is Part 1 of the changes being made. The changes were starting to build up, so I figured this is a good break-point
All parts are fully functional, and should work as expected
Some parts need some adjustments, which will come in the next pull request
There is a matching tap-events-force pull request, will be coming shortly

Context/Goal

Events force is defining their styles in CSS
Their clients can define custom CSS as well
Currently, the tap, using re-theme, is only compatible with JSON style objects
We need to be able to pull styles from stylesheets already applied to the DOM and apply them to keg-components

Updates
Keg-Core

repos/keg-core/core/configs/webpack.config.js

Update to pull the web export of re-theme
Webpack is only used in a web context, so updating the webpack build will not effect native
Re-Theme

rollup

Updated dependencies in package.json for rollup
Updated .babelrc to be babel.config.js
Updated to export platform to separate folders
Split the export into multiple exports

Not all apps will need the styles-parser or the ReThemeHeadProvider
These can be exported separately
All other exports should work same as before

Removed old builds and folder structure

folder structure now looks like this

build/<output type>/<platform>/*

output type = esm || cjs
platform = web || native

Added tests for a number of files

Still more to add, which will come in the next pull request

src/hooks/useCss.js - new hook

Dynamically builds the data-class attribute, and pulls the styles from the theme
This is all based off the passed in theme-reference, See Theme Reference section below for more details

src/styleParser/styleSheetParser.js

Accepts an array of class names
Parses styles sheets found on the dom and looks for matching class-names
Any found will be passed to a callback, or use the default callback
Default callback converts the matching class-names into data-class attributes

src/theme/restructureTheme.js

Updated to extracts the $className || $class from the theme

Normalizes it to be just $class
Adds it to the merged theme after platforms have been merged

Rename context and provider to reThemeContext and reThemeProvider for clarity

They are no longer the only context and provider with the Head code added

Added src/head/*

Creates a new context and provider to allow attaching styles to a Dom Stylesheet
Allows using css sudo classes among other things

Theme Reference && useCss

A new attribute ($class || $className) can be added to the theme object to define the root-class-name for a component
When used with the useCss hook we can do a number of things:

Attach the styles to the Dom Header attribute instead of inline styles

Which allows us to use css sudo classes like :hover and :active

Dynamically build the data-class=* attribute based on the root class

The dataSet no longer needs to be defined within the Component
The data-class=* is dynamically built for a components based on the themeRef.$class attribute of the theme

The $class can also be overwritten with a passed in id

Can be used with the styleSheetParser helper to merge all styles together

This will allow for custom Events-Force styles to be merged in with our Theme

Workflow

On App Init, we use styleSheetParser to pull matching classes from the dom

This will return a CssInJs object that can be merged in with our theme

With in the theme the $class key is added, which should match the classes returned from the styleSheetParser

This then allows us to map the parsed styles from the dom with the theme styles where they should be applied

In the components where needed, use the useCss hook to build the data-class for the components, and apply the styles to the dom
We now have a merged theme with custom styles, and with out loss of functionality

Example

Code looks like this => http://snpy.in/psqWfU

In code see tap-events-force/src/components/SessionTime/sessionTime.js

Dom looks like this => http://snpy.in/mmuNiG

Testing

Docker Package url => keg evf pack run docker.pkg.github.com/simpleviewinc/keg-packages/tap:zen-352-css-updates

Ensure the style tag gets added to the dom head element, see image above for how it should look
Ensure the styles are applied to the ef-session-date-time-content-text data class => http://snpy.in/ybSQ3k

Run tests for the Tap and ReTheme

To Run Tap tests

keg evf pack run docker.pkg.github.com/simpleviewinc/keg-packages/tap:zen-352-css-updates test

Ensure all tests pass

To Run Re-Theme tests

Pull this branch keg retheme && keg pr 8
yarn install && yarn test

Ensure all tests pass

Waiting to merge - until https://github.com/simpleviewinc/tap-events-force/pull/46 is merged


Require flour be processed in a millstone

Updated both flour and cornmeal to require either the Quern or Millstone.  Added all the recipes for the Quern to the Millstone as well.  Removed the Quern as an object you can actually make, so really, all these are millstone recipes now.


X11 cross-domain prep work

Prep work for the X11 channel type that does not strictly implement the code. This will be a dependency of #213.
Most of this is implementing support for sharing file handles between the FS code and the GPU code, to implement fence passing. Please let me know if this approach looks sensible.

Note that the original code is also arguably buggy in that it's not handling the fence properly in the EOF case (it should requeue a HandleFence job to allow processing to continue without sending out a ring message), though in practice this doesn't make much difference since EOF wasn't signaled anyway so it's going to hang.


New warning in nc4info.c

I am using master + v4.6.2-release-branch.wif and I see this warning:
nc4info.c: In function ‘NC4_free_provenance’:
nc4info.c:496:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(prov->propattr.properties != NULL);
     ^~
nc4info.c:497:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  nclistfreeall(prov->propattr.properties);
  ^~~~~~~~~~~~~

See pull request https://github.com/Unidata/netcdf-c/pull/1169


Add help parsing for functions in type annotations

Add help parsing for functions in type annotations

this was covered covered in issue https://github.com/aastopher/stack/issues/1

this was covered covered in issue #1


Added scraper for patent trial and appeal board

Used https://www.uspto.gov/patents-application-process/patent-trial-and-appeal-board/precedential-informative-decisions, which lists all precedential and some informative decisions.
This source occasionally refers to different Papers within the same case as different decisions with different download links. For the time being, I have included an optional Paper number in parentheses following the docket number (e.g. docket_numbers = 2019-00062 (Paper 11), but I'm not sure that this is the desired behaviour.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@varun-magesh Thanks for submitting this but Im struggling to get this to run.  It looks like it's mixed OpinionSite and OpininoSiteLinear as well.  Happy to work on an updated version though.


fix(linter): not use new_inline with flexible str

Current dependencies on/for this PR:

main

PR #2106   👈

This stack of pull requests is managed by Graphite.


Howto stop command

Hi Gregor,
i tried to use the stop: command in my yaml but to no avail. To test it i used

stop: echo test > $HOME/test.log

Am i missing something?
Thx, s.

Hi,
did you try wrapping that 'inline' shell command in a single executable script file? That should work for sure.
Cheers,
Gregor

That was it. Many thanks man.

I guess it should be stated more clearly in the documentation that the command has to be an executable and is not invoked in a shell itself.


Avoid mutation of operationSpec.baseUri

https://github.com/Azure/ms-rest-js/blob/master/lib/serviceClient.ts#L187
It looks like we sometimes modify the operationSpec to assign the baseUri of a particular service client. I don't think this is safe-- multiple service clients with different baseUri could be in use, mutating the same shared operationSpec object.
@daschult thoughts on this?

It might be best to mark all properties readonly on OperationSpec, and also use ReadOnlyArray<T> over T[], etc.


Is there any plans for scala 2.13 support ?

Is there any update on this?

Hi @ivan-brko,
Sorry for the late reply.
I want to attempt to run an experiment of bazel build of greyhound with scala 2.13.
I will update this issue the moment I perform it. hope I get to it this week...

Any chance to have a build with 2.13 scala version?

I'm sorry for the delay.
I still haven't tried doing the workaround with bazel...
I'll try to re-prioritize it and update here when done

I'm sorry for the delay. I still haven't tried doing the workaround with bazel... I'll try to re-prioritize it and update here when done

Sorry to bug you in this issue also lol. This is also a bit of a problem for us in the future since we plan to migrate to 2.13 at some point and would be hard to onboard this lib otherwise :(

So sorry, plan to work on this middle of June.
The code is already compatible to 2.13


fix: fix tabs transition

The transition-all was apparently being applied to the outline as well, which was causing unnatural behavior.
This was causing unnatural behavior, which was improved by changing it to transition.
before:

after:

Thanks, I have this fixed in my larger rewrite I believe but will merge this in the meantime!


adr - version:bump to v1.31.1

Backstage release v1.31.1 has been published, this Pull Request contains the changes to upgrade adr to this new release
Please review the changelog before approving, there may be manual changes needed:

Changelog: v1.31.1
Upgrade Helper: From 1.30.2 to 1.31.1

Created by Version Bump<PHONE_NUMBER>1

Hi @kuangp, going to need your 👀 on this one. Mostly not sure how you want to manage and communicate the TokenManager change in the search collator.

@kuangp, can you give this another look? Just want to be sure I got it right.


maybe a bug in Cesium3DTilePass.js

hi,  @na9da , there maybe a bug in Cesium3DTilePass.js
the pass option key is Cesium3DTilePass.PRELOAD,  but the assignment of pass is Cesium3DTilePass.SHADOW
as follows:
passOptions[Cesium3DTilePass.PRELOAD] = Object.freeze({
pass: Cesium3DTilePass.SHADOW,
isRender: false,
requestTiles: true,
ignoreCommands: true,
});

Thanks for catching this, @yipiaojun!


⚠ BCR Bot has degraded performance

In 231c78f, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 904 ms

Resolved: BCR Bot performance has improved in a625dcb.


1.1.4 breaks previous config

Hi, first off; thank you for this excellent binding mod (binding all our favourite custom mods into PMMO).
Please note, it seems like 1.1.4 is messing around with previous configs. I'm playing my own custom modpack with the idea of eventually releasing it. I'm currently using a TiC all wooden pickaxe that went from not requiring Mining (just getting the green "Tool" in the tooltip) before updating this mod to requiring Mining 30 (red in the tooltip as I"m currently only on Mining 6.89). I'm using the configs from your examples library and exporting with the slash command shows that the item's details are still the same.
Emptying out "req_tool_nbt.json" makes the pickaxe require Mining 10, so PMMO-and-NBT-Compat seems to be looking at the configs but also seems to be calculating them a lot differently now.
Downgrading to 1.1.3 and without touching the newly generated "xp_value_*_nbt.json" files seems to resolve my problem but obviously I'd like the benefit of the new features as well, please.
Also, I do have quite a few other mods loaded... total 442 at the moment. Yeah, I'm going for a "SuperPack"
Please advise if I can add any additional information (I forgot to get the logs before restarting after downgrading but am willing to upgrade again to get them for you if you need them).
Thanking you in advance,
Kato

Kato, thank you for bringing this to my attention. Could you please provide the re_tool_nbt.json that was working in 1.1.3 but not 1.1.4? I would like to test this on my end and see what created this breaking change.

Thanks for the quick response, Caltinor. Here you go, from my currently active instance. I just tacked the .txt on for GitHub's sake.
req_tool_nbt.json.txt

this has been fixed in https://github.com/Caltinor/PMMO-and-NBT-Compat/commit/5c14ee54836102aacabc7f30a6a026a3d5047a86 and is now released on CF as 1.1.4a.  thank you for bringing this to my attention.

Thank you (apologies if this comment reopens the issue, if it does and I can, I'll just close it again, otherwise please just close it)


Get-DscConfiguration failes with a casting error

On a WMF 4 machine I get the following error after running get-dscconfiguration (test works fine)
This event indicates that failure happens when LCM is processing the configuration. ErrorId is 0x1. ErrorDetail is The SendConfigurationApply function did not succeed.. ResourceId is [xAdcsCertificationAuthority]ADCS and SourceInfo is C:\WAP\SetupActiveDirectory\Config\Config-SetupActiveDirectory.ps1::85::9::xAdcsCertificationAuthority. ErrorMessage is Unable to cast object of type 'System.Management.Automation.PSCredential' to type 'Microsoft.Management.Infrastructure.Native.InstanceHandle'.
Parameter name: value.

@FrodeOA - I haven't seen an error like this before. Are you able to paste a copy of the xAdcsCertificationAuthority component of the config that is running?

Yeah sure, I'm just having a look at the CPS workload stuff for WAP to see what I can adapt for my own use. I've made some modifications with placement of stuff in other component and added encryption of the credentials but otherwise it's unmodified:
param
(
[String]$DomainName,
[String]$DomainNetbiosName,
[PSCredential]$Credential,
[PSCredential]$DomainCredential,
[PSCredential]$SafeModeAdministratorPassword,
[string]$EncryptionCertificateThumbprint
)
#endregion
#region Config Data
$certificate = dir Cert:\LocalMachine\my$EncryptionCertificateThumbprint
$certificatePath = Join-Path -path $PSScriptRoot -childPath "EncryptionCertificate.cer"
Export-Certificate -Cert $certificate -FilePath $certificatePath | Out-Null
$configData = @{
AllNodes = @(
@{
Nodename = "$env:COMPUTERNAME"
CertificateFile = $certificatePath
Thumbprint = $EncryptionCertificateThumbprint
ServerRole = 'Active Directory Domain Controller'
DomainName = $DomainName
DomainNetbiosName = $DomainNetbiosName
PSDscAllowPlainTextPassword = $false
Credential = $Credential
DomainCredential = $DomainCredential
SafeModeCredential = $SafeModeAdministratorPassword
Script1 = "Script1"
RegistryPath = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FirstPartWorkload"
}
)
}
#endregion
#region First DC Configuration Script
if ((test-path C:\Windows\temp\First.txt) -eq $True)
{
configuration FirstDomainController
{
Import-DscResource -ModuleName xComputerManagement, xActiveDirectory, xAdcsDeployment
node $AllNodes.Where{$_.ServerRole -eq 'Active Directory Domain Controller'}.Nodename
{
    WindowsFeature AD-Domain-Services
    {
        Ensure = 'Present'
        Name = 'AD-Domain-Services'
    }

    WindowsFeature RSAT-DNS-Server
    {
        Ensure = 'Present'
        Name = 'RSAT-DNS-Server'
        DependsOn = '[WindowsFeature]AD-Domain-Services'
    }

    WindowsFeature RSAT-ADDS-Tools
    {
        Ensure = 'Present'
        Name = 'RSAT-ADDS-Tools'
        DependsOn = '[WindowsFeature]RSAT-DNS-Server'
    }

    xADDomain PrimaryDC
    {
        DomainAdministratorCredential = $Node.Credential
        DomainName = $Node.DomainName
        SafemodeAdministratorPassword = $Node.SafeModeCredential
        DatabasePath = "C:\NTDS"
        LogPath = "C:\NTDS"
        SysvolPath = "C:\SYSVOL"
        DependsOn = "[WindowsFeature]AD-Domain-Services","[WindowsFeature]RSAT-DNS-Server"
    }

    WindowsFeature ADCS-Cert-Authority
    {
        Ensure = 'Present'
        Name = 'ADCS-Cert-Authority'
        DependsOn = '[xADDomain]PrimaryDC'
    }

    xAdcsCertificationAuthority ADCS
    {
        Ensure = 'Present'
        Credential = $node.Credential
        CAType = 'EnterpriseRootCA'
        DependsOn = '[WindowsFeature]ADCS-Cert-Authority'
    }
    WindowsFeature ADCS-Web-Enrollment
    {
        Ensure = 'Present'
        Name = 'ADCS-Web-Enrollment'
        DependsOn = '[WindowsFeature]ADCS-Cert-Authority'
    }

    xADCSWebEnrollment CertSrv
    {
        Ensure = 'Present'
        Name = 'CertSrv'
        Credential = $node.Credential
        DependsOn = '[WindowsFeature]ADCS-Web-Enrollment','[xADCSCertificationAuthority]ADCS'
    }

    Registry DeploymentComplete
    {
        Ensure = "Present"
        Key = $Node.RegistryPath
        ValueName = $Node.Script1
        ValueData = "Done"
        ValueType = "String"
        DependsOn = '[xADCSWebEnrollment]CertSrv'
    }

    LocalConfigurationManager
    {
        CertificateId = $node.Thumbprint
        ConfigurationMode = 'ApplyandAutoCorrect'
        RebootNodeIfNeeded = $True
    }
}

}
FirstDomainController -ConfigurationData $configData -OutputPath $PSScriptRoot
}

That all looks fine to me.
Can you confirm the $Credential parameter that is being passed in is a valid PSCredential object? E.g. usually created using something like this:
$Password = (ConvertTo-SecureString 'Somepassword' -AsPlainText -Force)
$Credential = New-Object System.Management.Automation.PSCredential 'Administrator', $Password

I know that is probably pretty unlikely the cause because the $Credential is used earlier on in the script.
I use this resource in my own projects, but I usually add a few more parameters to it:
        xADCSCertificationAuthority ConfigCA
        {
            Ensure = 'Present'
            Credential = $Node.Credential
            CAType = 'EnterpriseRootCA'
            CACommonName = "LABBUILDER.COM Root CA"
            CADistinguishedNameSuffix = "DC=LABBUILDER,DC=COM"
            OverwriteExistingCAinDS  = $True
            CryptoProviderName = 'RSA#Microsoft Software Key Storage Provider'
            HashAlgorithmName = 'SHA256'
            KeyLength = 4096
    }

Are you able to try with the additional parameters I've added here? If I can identify the difference that causes it to work on my nodes and not yours then I might be able to resolve it. :)

I gave it a go and I got the same error. I also tried the configuration with and without encryption just to give it a go and I got the same error.
The credential is built using this:
$LocalAdminCredential = New-Object System.Management.Automation.PSCredential ($($Credential.split(":")[0]), $(ConvertTo-SecureString -String $Credential.split(":")[1] -AsPlainText -Force)) so it's a valid credential object, $credential is a string passed from the SPF server in a $username:$password format hence the splitting.

Is the AD CS node Windows Server 2012 or 2012 R2? I've only used this on 2012 R2 and 2016 myself.
Are you able to post a copy of the full verbose output from Start-DSCConfiguration here?

It's a 2012 R2 node.
Here's the logs:
VERBOSE: Performing the operation "Start-DscConfiguration: SendMetaConfigurationApply" on target "MSFT_DSCLocalConfigurationManager".
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendMetaConfigurationApply,'className' = MSFT_DSCLocalC
onfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer  with user sid S-1-5-21-48010005-1724078836-467140477-500.
VERBOSE: []: LCM:  [ Start  Set      ]
VERBOSE: []: LCM:  [ Start  Resource ]  [MSFT_DSCMetaConfiguration]
VERBOSE: []: LCM:  [ Start  Set      ]  [MSFT_DSCMetaConfiguration]
VERBOSE: []: LCM:  [ End    Set      ]  [MSFT_DSCMetaConfiguration]  in 0.1410 seconds.
VERBOSE: []: LCM:  [ End    Resource ]  [MSFT_DSCMetaConfiguration]
VERBOSE: []: LCM:  [ End    Set      ]    in  0.3284 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Set-DscLocalConfigurationManager finished in 0.601 seconds.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfi
gurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer  with user sid S-1-5-21-48010005-1724078836-467140477-500.
VERBOSE: []: LCM:  [ Start  Set      ]
VERBOSE: []: LCM:  [ Start  Resource ]  [[WindowsFeature]AD-Domain-Services]
VERBOSE: []: LCM:  [ Start  Test     ]  [[WindowsFeature]AD-Domain-Services]
VERBOSE: []:                            [[WindowsFeature]AD-Domain-Services] The operation 'Get-WindowsFeature' started: AD-Domain-S
ervices
VERBOSE: []:                            [[WindowsFeature]AD-Domain-Services] The operation 'Get-WindowsFeature' succeeded: AD-Domain
-Services
VERBOSE: []: LCM:  [ End    Test     ]  [[WindowsFeature]AD-Domain-Services]  in 1.5160 seconds.
VERBOSE: []: LCM:  [ Start  Set      ]  [[WindowsFeature]AD-Domain-Services]
VERBOSE: []:                            [[WindowsFeature]AD-Domain-Services] Installation started...
VERBOSE: []:                            [[WindowsFeature]AD-Domain-Services] Continue with installation?
VERBOSE: []:                            [[WindowsFeature]AD-Domain-Services] Prerequisite processing started...
VERBOSE: []:                            [[WindowsFeature]AD-Domain-Services] Prerequisite processing succeeded.
VERBOSE: []:                            [[WindowsFeature]AD-Domain-Services] Installation succeeded.
VERBOSE: []:                            [[WindowsFeature]AD-Domain-Services] successfully installed the feature AD-Domain-Services
VERBOSE: []: LCM:  [ End    Set      ]  [[WindowsFeature]AD-Domain-Services]  in 33.7500 seconds.
VERBOSE: []: LCM:  [ End    Resource ]  [[WindowsFeature]AD-Domain-Services]
VERBOSE: []: LCM:  [ Start  Resource ]  [[WindowsFeature]RSAT-DNS-Server]
VERBOSE: []: LCM:  [ Start  Test     ]  [[WindowsFeature]RSAT-DNS-Server]
VERBOSE: []:                            [[WindowsFeature]RSAT-DNS-Server] The operation 'Get-WindowsFeature' started: RSAT-DNS-Server
VERBOSE: []:                            [[WindowsFeature]RSAT-DNS-Server] The operation 'Get-WindowsFeature' succeeded: RSAT-DNS-Server
VERBOSE: []: LCM:  [ End    Test     ]  [[WindowsFeature]RSAT-DNS-Server]  in 1.2390 seconds.
VERBOSE: []: LCM:  [ Start  Set      ]  [[WindowsFeature]RSAT-DNS-Server]
VERBOSE: []:                            [[WindowsFeature]RSAT-DNS-Server] Installation started...
VERBOSE: []:                            [[WindowsFeature]RSAT-DNS-Server] Continue with installation?
VERBOSE: []:                            [[WindowsFeature]RSAT-DNS-Server] Prerequisite processing started...
VERBOSE: []:                            [[WindowsFeature]RSAT-DNS-Server] Prerequisite processing succeeded.
VERBOSE: []:                            [[WindowsFeature]RSAT-DNS-Server] Installation succeeded.
VERBOSE: []:                            [[WindowsFeature]RSAT-DNS-Server] successfully installed the feature RSAT-DNS-Server
VERBOSE: []: LCM:  [ End    Set      ]  [[WindowsFeature]RSAT-DNS-Server]  in 10.8020 seconds.
VERBOSE: []: LCM:  [ End    Resource ]  [[WindowsFeature]RSAT-DNS-Server]
VERBOSE: []: LCM:  [ Start  Resource ]  [[WindowsFeature]RSAT-ADDS-Tools]
VERBOSE: []: LCM:  [ Start  Test     ]  [[WindowsFeature]RSAT-ADDS-Tools]
VERBOSE: []:                            [[WindowsFeature]RSAT-ADDS-Tools] The operation 'Get-WindowsFeature' started: RSAT-ADDS-Tools
VERBOSE: []:                            [[WindowsFeature]RSAT-ADDS-Tools] The operation 'Get-WindowsFeature' succeeded: RSAT-ADDS-Tools
VERBOSE: []: LCM:  [ End    Test     ]  [[WindowsFeature]RSAT-ADDS-Tools]  in 0.2970 seconds.
VERBOSE: []: LCM:  [ Start  Set      ]  [[WindowsFeature]RSAT-ADDS-Tools]
VERBOSE: []:                            [[WindowsFeature]RSAT-ADDS-Tools] Installation started...
VERBOSE: []:                            [[WindowsFeature]RSAT-ADDS-Tools] Continue with installation?
VERBOSE: []:                            [[WindowsFeature]RSAT-ADDS-Tools] Prerequisite processing started...
VERBOSE: []:                            [[WindowsFeature]RSAT-ADDS-Tools] Prerequisite processing succeeded.
VERBOSE: []:                            [[WindowsFeature]RSAT-ADDS-Tools] Installation succeeded.
VERBOSE: []:                            [[WindowsFeature]RSAT-ADDS-Tools] successfully installed the feature RSAT-ADDS-Tools
VERBOSE: []: LCM:  [ End    Set      ]  [[WindowsFeature]RSAT-ADDS-Tools]  in 12.1560 seconds.
VERBOSE: []: LCM:  [ End    Resource ]  [[WindowsFeature]RSAT-ADDS-Tools]
VERBOSE: []: LCM:  [ Start  Resource ]  [[xADDomain]PrimaryDC]
VERBOSE: []: LCM:  [ Start  Test     ]  [[xADDomain]PrimaryDC]
VERBOSE: []:                            [[xADDomain]PrimaryDC] Resolving 'frode.local' ...
VERBOSE: []:                            [[xADDomain]PrimaryDC] Current node is not running AD WS, and hence is not a domain controller.
VERBOSE: []: LCM:  [ End    Test     ]  [[xADDomain]PrimaryDC]  in 1.0310 seconds.
VERBOSE: []: LCM:  [ Start  Set      ]  [[xADDomain]PrimaryDC]
VERBOSE: []:                            [[xADDomain]PrimaryDC] Checking if domain 'frode.local' is present ...
VERBOSE: []:                            [[xADDomain]PrimaryDC] Verified that domain 'frode.local' is not already present, continuing ...
VERBOSE: []:                            [[xADDomain]PrimaryDC] Domain 'frode.local' is NOT present. Creating forest 'frode.local' ...
VERBOSE: []:                            [[xADDomain]PrimaryDC] Active Directory Domain Services Setup
VERBOSE: []:                            [[xADDomain]PrimaryDC] Validating environment and parameters...
WARNING: []:                            [[xADDomain]PrimaryDC] Windows Server 2012 R2 domain controllers have a default for the security setting named
"Allow cryptography algorithms compatible with Windows NT 4.0" that prevents weaker cryptography algorithms when establishing security channel sessions.
For more information about this setting, see Knowledge Base article 942564 (http://go.microsoft.com/fwlink/?LinkId=104751).
WARNING: []:                            [[xADDomain]PrimaryDC] This computer has at least one physical network adapter that does not have static IP add
ress(es) assigned to its IP Properties. If both IPv4 and IPv6 are enabled for a network adapter, both IPv4 and IPv6 static IP addresses should be assigned to both
IPv4 and IPv6 Properties of the physical network adapter. Such static IP address(es) assignment should be done to all the physical network adapters for reliable Do
main Name System (DNS) operation.
WARNING: []:                            [[xADDomain]PrimaryDC] A delegation for this DNS server cannot be created because the authoritative parent zone
cannot be found or it does not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this
DNS server in the parent zone to ensure reliable name resolution from outside the domain "frode.local". Otherwise, no action is required.
VERBOSE: []:                            [[xADDomain]PrimaryDC] ----------------------------------------
VERBOSE: []:                            [[xADDomain]PrimaryDC] The following actions will be performed:
VERBOSE: []:                            [[xADDomain]PrimaryDC] Configure this server as the first Active Directory domain controller in a new forest.
The new domain name is "frode.local". This is also the name of the new forest.
The NetBIOS name of the domain is "FRODE".
Forest Functional Level: Windows Server 2012 R2
Domain Functional Level: Windows Server 2012 R2
Site: Default-First-Site-Name
Additional Options:
Read-only domain controller: "No"
Global catalog: Yes
DNS Server: Yes
Create DNS Delegation: No
Database folder: C:\NTDS
Log file folder: C:\NTDS
SYSVOL folder: C:\SYSVOL
The DNS Server service will be installed on this computer.
The DNS Server service will be configured on this computer.
This computer will be configured to use this DNS server as its preferred DNS server.
The password of the new domain Administrator will be the same as the password of the local Administrator of this computer.
VERBOSE: []:                            [[xADDomain]PrimaryDC] ----------------------------------------
VERBOSE: []:                            [[xADDomain]PrimaryDC] Active Directory Domain Services Setup
VERBOSE: []:                            [[xADDomain]PrimaryDC] Validating environment and parameters...
WARNING: []:                            [[xADDomain]PrimaryDC] Windows Server 2012 R2 domain controllers have a default for the security setting named
"Allow cryptography algorithms compatible with Windows NT 4.0" that prevents weaker cryptography algorithms when establishing security channel sessions.
For more information about this setting, see Knowledge Base article 942564 (http://go.microsoft.com/fwlink/?LinkId=104751).
WARNING: []:                            [[xADDomain]PrimaryDC] This computer has at least one physical network adapter that does not have static IP add
ress(es) assigned to its IP Properties. If both IPv4 and IPv6 are enabled for a network adapter, both IPv4 and IPv6 static IP addresses should be assigned to both
IPv4 and IPv6 Properties of the physical network adapter. Such static IP address(es) assignment should be done to all the physical network adapters for reliable Do
main Name System (DNS) operation.
WARNING: []:                            [[xADDomain]PrimaryDC] A delegation for this DNS server cannot be created because the authoritative parent zone
cannot be found or it does not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this
DNS server in the parent zone to ensure reliable name resolution from outside the domain "frode.local". Otherwise, no action is required.
VERBOSE: []:                            [[xADDomain]PrimaryDC] ----------------------------------------
VERBOSE: []:                            [[xADDomain]PrimaryDC] The following actions will be performed:
VERBOSE: []:                            [[xADDomain]PrimaryDC] Configure this server as the first Active Directory domain controller in a new forest.
The new domain name is "frode.local". This is also the name of the new forest.
The NetBIOS name of the domain is "FRODE".
Forest Functional Level: Windows Server 2012 R2
Domain Functional Level: Windows Server 2012 R2
Site: Default-First-Site-Name
Additional Options:
Read-only domain controller: "No"
Global catalog: Yes
DNS Server: Yes
Create DNS Delegation: No
Database folder: C:\NTDS
Log file folder: C:\NTDS
SYSVOL folder: C:\SYSVOL
The DNS Server service will be installed on this computer.
The DNS Server service will be configured on this computer.
This computer will be configured to use this DNS server as its preferred DNS server.
The password of the new domain Administrator will be the same as the password of the local Administrator of this computer.
VERBOSE: []:                            [[xADDomain]PrimaryDC] ----------------------------------------
VERBOSE: []:                            [[xADDomain]PrimaryDC] Press CTRL-C to: Cancel
VERBOSE: []:                            [[xADDomain]PrimaryDC] Active Directory Domain Services is now installed on this computer for the domain "frode
.local".
This Active Directory domain controller is assigned to the site "Default-First-Site-Name". You can manage sites with the Active Directory Sites and Services admini
strative tool.
VERBOSE: []:                            [[xADDomain]PrimaryDC] Created forest 'frode.local'.
VERBOSE: []: LCM:  [ End    Set      ]  [[xADDomain]PrimaryDC]  in 88.3020 seconds.
VERBOSE: []: LCM:  [ End    Resource ]  [[xADDomain]PrimaryDC]
VERBOSE: []:                            [] A reboot is required to progress further. Please reboot the system.
VERBOSE: []: LCM:  [ End    Set      ]    in  194.1032 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 153.19 seconds
[]:                            [] A pending configuration exists. DSC will process a set request on the pending configuration.
[]:                            [] Starting consistency engine.
[]: LCM:  [ Start  Test     ]  [[WindowsFeature]AD-Domain-Services]
[]: LCM:  [ Start  Resource ]  [[WindowsFeature]AD-Domain-Services]
[]:                            [[WindowsFeature]AD-Domain-Services] The operation 'Get-WindowsFeature' started: AD-Domain-Services
[]:                            [[WindowsFeature]AD-Domain-Services] The operation 'Get-WindowsFeature' succeeded: AD-Domain-Services
[]: LCM:  [ End    Resource ]  [[WindowsFeature]AD-Domain-Services]
[]: LCM:  [ Skip   Set      ]  [[WindowsFeature]AD-Domain-Services]
[]: LCM:  [ End    Test     ]  [[WindowsFeature]AD-Domain-Services]  in 14.5110 seconds.
[]: LCM:  [ Start  Test     ]  [[WindowsFeature]RSAT-DNS-Server]
[]: LCM:  [ Start  Resource ]  [[WindowsFeature]RSAT-DNS-Server]
[]:                            [[WindowsFeature]RSAT-DNS-Server] The operation 'Get-WindowsFeature' started: RSAT-DNS-Server
[]:                            [[WindowsFeature]RSAT-DNS-Server] The operation 'Get-WindowsFeature' succeeded: RSAT-DNS-Server
[]: LCM:  [ Start  Resource ]  [[WindowsFeature]RSAT-ADDS-Tools]
[]: LCM:  [ End    Resource ]  [[WindowsFeature]RSAT-DNS-Server]
[]: LCM:  [ End    Test     ]  [[WindowsFeature]RSAT-DNS-Server]  in 0.4850 seconds.
[]: LCM:  [ Skip   Set      ]  [[WindowsFeature]RSAT-DNS-Server]
[]: LCM:  [ Start  Test     ]  [[WindowsFeature]RSAT-ADDS-Tools]
[]:                            [[WindowsFeature]RSAT-ADDS-Tools] The operation 'Get-WindowsFeature' started: RSAT-ADDS-Tools
[]: LCM:  [ End    Resource ]  [[WindowsFeature]RSAT-ADDS-Tools]
[]: LCM:  [ Start  Resource ]  [[xADDomain]PrimaryDC]
[]: LCM:  [ Skip   Set      ]  [[WindowsFeature]RSAT-ADDS-Tools]
[]:                            [[WindowsFeature]RSAT-ADDS-Tools] The operation 'Get-WindowsFeature' succeeded: RSAT-ADDS-Tools
[]: LCM:  [ End    Test     ]  [[WindowsFeature]RSAT-ADDS-Tools]  in 0.2040 seconds.
[]: LCM:  [ Start  Test     ]  [[xADDomain]PrimaryDC]
[]:                            [[xADDomain]PrimaryDC] Resolving 'frode.local' ...
[]:                            [[xADDomain]PrimaryDC] Domain 'frode.local' is present. Looking for DCs ...
[]:                            [[xADDomain]PrimaryDC] Found domain controller '' in domain 'frode.local'.
[]: LCM:  [ Start  Test     ]  [[WindowsFeature]ADCS-Cert-Authority]
[]: LCM:  [ End    Test     ]  [[xADDomain]PrimaryDC]  in 2.2370 seconds.
[]:                            [[xADDomain]PrimaryDC] Current node '' is already a domain controller for domain 'frode.local'.
[]: LCM:  [ End    Resource ]  [[xADDomain]PrimaryDC]
[]: LCM:  [ Skip   Set      ]  [[xADDomain]PrimaryDC]
[]:                            [[xADDomain]PrimaryDC] Found parent domain '', expected ''.
[]: LCM:  [ Start  Resource ]  [[WindowsFeature]ADCS-Cert-Authority]
[]:                            [[WindowsFeature]ADCS-Cert-Authority] The operation 'Get-WindowsFeature' started: ADCS-Cert-Authority
[]: LCM:  [ Start  Set      ]  [[WindowsFeature]ADCS-Cert-Authority]
[]:                            [[WindowsFeature]ADCS-Cert-Authority] The operation 'Get-WindowsFeature' succeeded: ADCS-Cert-Authority
[]: LCM:  [ End    Test     ]  [[WindowsFeature]ADCS-Cert-Authority]  in 3.2300 seconds.
[]:                            [[WindowsFeature]ADCS-Cert-Authority] Installation started...
[]:                            [[WindowsFeature]ADCS-Cert-Authority] Continue with installation?
[]:                            [[WindowsFeature]ADCS-Cert-Authority] Prerequisite processing started...
[]:                            [[WindowsFeature]ADCS-Cert-Authority] Prerequisite processing succeeded.
[]:                            [[WindowsFeature]ADCS-Cert-Authority] Installation succeeded.
[]: LCM:  [ Start  Test     ]  [[xAdcsCertificationAuthority]ADCS]
[]: LCM:  [ End    Resource ]  [[WindowsFeature]ADCS-Cert-Authority]
[]:                            [[WindowsFeature]ADCS-Cert-Authority] successfully installed the feature ADCS-Cert-Authority
[]: LCM:  [ Start  Resource ]  [[xAdcsCertificationAuthority]ADCS]
[]: LCM:  [ End    Set      ]  [[WindowsFeature]ADCS-Cert-Authority]  in 29.5440 seconds.
[]:                            [[xAdcsCertificationAuthority]ADCS] Calling InitializeDefaults method on the setup object.
[]:                            [[xAdcsCertificationAuthority]ADCS] Setting the AllowAdministratorInteraction property to False.
[]:                            [[xAdcsCertificationAuthority]ADCS] Certification Authority will be installed with a new key.
[]:                            [[xAdcsCertificationAuthority]ADCS] Setting the CAType property to EnterpriseRootCA.
[]: LCM:  [ Start  Set      ]  [[xAdcsCertificationAuthority]ADCS]
[]: LCM:  [ End    Test     ]  [[xAdcsCertificationAuthority]ADCS]  in 0.6130 seconds.
[]:                            [[xAdcsCertificationAuthority]ADCS] Calling InitializeDefaults method on the setup object.
[]:                            [[xAdcsCertificationAuthority]ADCS] Certification Authority will be installed with a new key.
[]:                            [[xAdcsCertificationAuthority]ADCS] Setting the CAType property to EnterpriseRootCA.
[]:                            [[xAdcsCertificationAuthority]ADCS] Setting the AllowAdministratorInteraction property to False.
[]:                            [[xAdcsCertificationAuthority]ADCS] Calling install method.
[]: LCM:  [ Start  Test     ]  [[WindowsFeature]ADCS-Web-Enrollment]
[]: LCM:  [ Start  Resource ]  [[WindowsFeature]ADCS-Web-Enrollment]
[]: LCM:  [ End    Set      ]  [[xAdcsCertificationAuthority]ADCS]  in 1.1290 seconds.
[]: LCM:  [ End    Resource ]  [[xAdcsCertificationAuthority]ADCS]
[]:                            [[WindowsFeature]ADCS-Web-Enrollment] The operation 'Get-WindowsFeature' started: ADCS-Web-Enrollment
[]:                            [[WindowsFeature]ADCS-Web-Enrollment] The operation 'Get-WindowsFeature' succeeded: ADCS-Web-Enrollment
[]: LCM:  [ End    Test     ]  [[WindowsFeature]ADCS-Web-Enrollment]  in 0.2030 seconds.
[]:                            [[WindowsFeature]ADCS-Web-Enrollment] Installation started...
[]: LCM:  [ Start  Set      ]  [[WindowsFeature]ADCS-Web-Enrollment]
[]:                            [[WindowsFeature]ADCS-Web-Enrollment] Continue with installation?
[]:                            [[WindowsFeature]ADCS-Web-Enrollment] Prerequisite processing started...
[]:                            [[WindowsFeature]ADCS-Web-Enrollment] Prerequisite processing succeeded.
[]: LCM:  [ End    Resource ]  [[WindowsFeature]ADCS-Web-Enrollment]
[]: LCM:  [ Start  Resource ]  [[xAdcsWebEnrollment]CertSrv]
[]:                            [[WindowsFeature]ADCS-Web-Enrollment] successfully installed the feature ADCS-Web-Enrollment
[]: LCM:  [ End    Set      ]  [[WindowsFeature]ADCS-Web-Enrollment]  in 37.1880 seconds.
[]:                            [[WindowsFeature]ADCS-Web-Enrollment] Installation succeeded.
[]: LCM:  [ Start  Test     ]  [[xAdcsWebEnrollment]CertSrv]
[]:                            [[xAdcsWebEnrollment]CertSrv] Calling InitializeDefaults method on the setup object.
[]: LCM:  [ Start  Set      ]  [[xAdcsWebEnrollment]CertSrv]
[]: LCM:  [ End    Test     ]  [[xAdcsWebEnrollment]CertSrv]  in 0.0470 seconds.
[]:                            [[xAdcsWebEnrollment]CertSrv] Calling InitializeDefaults method on the setup object.
[]:                            [[xAdcsWebEnrollment]CertSrv] Calling install method.
[]: LCM:  [ End    Resource ]  [[xAdcsWebEnrollment]CertSrv]
[]: LCM:  [ End    Set      ]  [[xAdcsWebEnrollment]CertSrv]  in 0.4220 seconds.
[]: LCM:  [ Start  Resource ]  [[Registry]DeploymentComplete]
[]: LCM:  [ Start  Test     ]  [[Registry]DeploymentComplete]
[]: LCM:  [ Start  Set      ]  [[Registry]DeploymentComplete]
[]:                            [[Registry]DeploymentComplete] Registry key 'HKLM:\software\microsoft\firstpartworkload' does not exist
[]: LCM:  [ End    Test     ]  [[Registry]DeploymentComplete]  in 0.6400 seconds.
[]:                            [[Registry]DeploymentComplete] (SET) Create registry key 'HKLM:\software\microsoft\firstpartworkload'
[]: LCM:  [ End    Set      ]  [[Registry]DeploymentComplete]  in 0.1880 seconds.
[]: LCM:  [ End    Resource ]  [[Registry]DeploymentComplete]
[]:                            [[Registry]DeploymentComplete] (SET) Set registry key value 'HKLM:\software\microsoft\firstpartworkload\Script1' to 'Done' of type 'String'
[]:                            [] Consistency check completed.

@FrodeOA - if you are about and still having trouble with this, are you able to try with the <IP_ADDRESS> version of this resource? I reworked a lot of it to make it play a bit nicer.

I ran a test and it seems to be working fine with WMF 5, I haven't been able to recreate the bug

HI @FrodeOA - that is great to hear. Is it OK to close this issue? You can always reopen it if it reoccurs.

Closing this issue.


[CU-86861jfwa] Contest collection

Missing here only the new notifications when items are accepted/rejected. I was checking how these notification systems worked so I can add one. Seems simple enough but I can't think :D so gonna finish up tomorrow.

Task linked: CU-86861jfwa Updates to contest collections

Task linked: CU-86861jfwa Updates to contest collections

Task linked: CU-86861jfwa Updates to contest collections


Simplify tp+pp example by using pippy.all_compile

pippy.all_compile would output the stage module, hence easier for TP.

Cc @fduwjj @wanchaol


Do not fail pod status update if failed to get host IP

This is similar how it used work in pod_cache.
This fixes #6046
@dchen1107

LGTM

LGTM, build is green.


SMTP configuration not loading

I cloned the repo and edited the following files with my Mailgun credentials but when i go to Grafana Server Setting, i still see SMTP not enabled and default values.
manifests/alertmanager/configmap.yaml
manifests-all.yaml
Any idea where and how to enable smtp ?

Hi,
Grafana SMTP setting is different from alertmanager's one.
Grafana config is described here In general: https://grafana.com/docs/installation/configuration/
To pass these values in grafana pod, I added followings at 'env' 427-th line at manifests-all.yaml:
...
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: grafana-core
  namespace: monitoring
  labels:
    app: grafana
    component: core
spec:
  ...
  template:
    metadata:
      labels:
        app: grafana
        component: core
    spec:
      containers:
      - image: grafana/grafana:6.3.5
        ...
        env:
          - name: GF_AUTH_BASIC_ENABLED
            ...
          # SMTP setting
          - name:               GF_SMTP_ENABLED
            value:              'true'
          - name:               GF_SMTP_SKIP_VERIFY
            value:              'true'
          - name:               GF_SMTP_HOST
            valueFrom:
              configMapKeyRef:
                name:           grafana-configmap
                key:            GF_SMTP_HOST
          - name:               GF_SMTP_FROM_ADDRESS
            valueFrom:
              configMapKeyRef:
                name:           grafana-configmap
                key:            GF_SMTP_FROM_ADDRESS
          - name:               GF_SMTP_USER
            valueFrom:
              secretKeyRef:
                name:           grafana-secret
                key:            GF_SMTP_USER
          - name:               GF_SMTP_PASSWORD
            valueFrom:
              secretKeyRef:
                name:           grafana-secret
                key:            GF_SMTP_PASSWORD

And define these values at additional ConfigMap and Secret like the followings:
---
apiVersion:             v1
kind:                   Namespace
metadata:
  name:                 monitoring
---
apiVersion:             v1
kind:                   ConfigMap
metadata:
  name:                 grafana-configmap
  namespace:            monitoring
data:
  GF_SERVER_DOMAIN:     ...
  GF_SMTP_ENABLED:      "true"
  GF_SMTP_HOST:         ...
  GF_SMTP_FROM_ADDRESS: ...
---
apiVersion:             v1
kind:                   Secret
metadata:
  name:                 grafana-secret
  namespace:            monitoring
stringData:
  GF_SMTP_USER:         ...
  GF_SMTP_PASSWORD:     ...

Hope this helps


[FEATURE]EKS NodeGroups scalability

Is your feature request related to a problem? Please describe.
Related to modules/compute/eks
Describe the solution you'd like
The current manifests deploy EKS Managed node groups with desired count of atleast 1. Test if the workloads can scale with 0 as the starting capacity, so we can save $ for customers

@a13zen Feel free to add more context about the ask here

Testing by setting the desired/minimum to 0 sees the ASG terminating but then deploying 2 nodes again. This could be due to the base workload deployed by the EKS module

Hey @a13zen I was able to test the workflow and here is an update:

when a GPU (for example) nodegroup (NG) is requested via the eks module manifest, the user is expected to declare the labels. for ex: usage: gpu. The EKS module will add those labels to the NG and also add them as tags as described here, which is required by Cluster Autoscaler (CA) to scale from Zero.

    k8s.io/cluster-autoscaler/node-template/label/usage: gpu
Expectation: when a user launches a GPU pod/job (for this context), the CA will query the tags on the GPU NG and scale out appropriately, thereby running the GPU pod/job. When the GPU NG is launched, it is expected behavior that aws-cni, kube-proxy, nvidia-device-plugin will be launched. Once the GPU pod functionality is executed, the EC2 instance will be terminated by CA.
Having said the above, i am thinking off a design where i would refactor the EKS module to launch a system NG with m5.large instance type always to accommodate drivers, system pods etc and let the user declare the required NGs as per requirement. Thoughts?

Yes, having a simple system NG with small instances could be a good middle ground for sure. Do we know if m5.large would be sufficient for the default services deployed by the EKS module?

From my understanding, m5.large (2vCPU, 8gb RAM) should be sufficient, but depending on the number of plugins/drivers we/user deploys, the count of them should be >1. So starting with instance count = 2 should be a safe bet. Thoughts?


Multiline strings aren't converted correctly

describe 'regular brush', ->
  before ->
    render """
        hello world
        how are things?
    """

gets translated to
describe('regular brush', function() {
  return before(function() {
    return render("""
        hello world
        how are things?
    """);
  });
});

Fixed in v1.40.9.

Oops, this is incorrect. It appears CoffeeScript eats all leading whitespace in triple-quoted strings:
describe('regular brush', function() {
  return before(function() {
    return render("hello world\nhow are things?");
  });
});

Fixed (again) in v1.40.11.

Also, this should apply just as much to interpolated strings:
describe 'regular brush', ->
  before ->
    render """
        hello #{name}
        how are things?
    """

describe('regular brush', function() {
  return before(function() {
    return render(`hello ${name}
how are things?`);
  });
});

Third time's the charm, I hope. Fixed in v1.40.12:
describe('regular brush', function() {
  return before(function() {
    return render(`hello world
how are things?`);
  });
});

One more fix for triple-quoted strings with interpolation released in v1.40.13.


don't support running binary directly: too confusing with feature flags

https://discord.com/channels/1186394868336038080/1186421052071477428/1194770302018793502

https://github.com/uqbar-dao/necdev/pull/9/commits/2a45fca137e66f184c1c5c9c880db37e686c0166


parsing bug fix: no newline at end of .fj file

Fixed.
Also fixed the fj op of only-expr to get the line number from its expression


Re-render actor directory when world actor's level is changed

Flattening the context before supering it up seems odd but....whynot. If a module subclasses it it'll do it after the system does anyways.

It's because upstream doesn't do it since foundry had no reason to care about any properties that aren't top-level


[Bug] Minimum/maximum pages filter half broken (Exhentai)

Steps to reproduce

go to exhentai
open filter section
include the tag "milf"
set the minimum pages to 9
start the search
go back to the filter section, to the maximum pages box, you will see that it is auto filled cloning the value of "minimum pages"

https://user-images.githubusercontent.com/75091899/212743626-a3a0b139-88cf-481a-bfde-e9659167ced3.mp4
Expected behavior
Maximum pages value does not auto fill
Actual behavior
Maximum pages value auto fills itself when I start the filtered search
Crash logs
No response
Tachiyomi version
r498
Android version
Android 8 miui 8
Device
Huawei p8 lite 2017
Other details
If i DON'T include a tag, so setting only the minimum pages to 9, the maximum pages value will not auto fill itself
https://user-images.githubusercontent.com/75091899/212744191-01b81c5d-a34d-44ab-9fe0-b3bd2a6dc795.mp4
Acknowledgements

[X] This is a TachiyomiSY specific issue that does not happen in Tachiyomi Preview.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.8.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

I cannot reproduce this issue on my device/emulator, everything is working as it should

I cannot reproduce this issue on my device/emulator, everything is working as it should

Try disabling the extension exHentai

then when you re-enable it the app should ask you to login again from exhentai website. iirc the bug appeared rifht after i did that.

None of that would have any effect on the source filters, so I cannot see how that would help reproduce this bug. Does it still happen on your end?

OH strangely it doesn't happen anymore so ???. If it happens again i will report it again kr just reinstall the app.


vc struct

Codecov Report

Merging #6 (1b24ad0) into main (8d74ce4) will decrease coverage by 2.84%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main      #6      +/-   ##
========================================
- Coverage   8.69%   5.85%   -2.84%
========================================
  Files          3       4       +1
  Lines        161     239      +78
========================================
  Hits          14      14
- Misses       144     222      +78
  Partials       3       3

Impacted Files
Coverage Δ

sdk/src/ssi/model.go
0.00% <0.00%> (ø)

sdk/src/ssi/util.go
10.71% <0.00%> (-6.94%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Setting SelectionFollowsFocus causes focus rect to not render

Describe the bug

When NavigationView's SelectionFollowsFocus="Enabled", the menu items no longer render focus rects while they have keyboard focus.
Steps to reproduce the bug

Steps to reproduce the behavior:

Create new test app with

    <muxc:NavigationView PaneDisplayMode="Auto" SelectionFollowsFocus="Enabled">
        <muxc:NavigationView.MenuItems>
            <muxc:NavigationViewItem Icon="Play" Content="Menu Item1" Tag="SamplePage1" />
            <muxc:NavigationViewItem Icon="Save" Content="Menu Item2" Tag="SamplePage2" />
        </muxc:NavigationView.MenuItems>
        <Frame x:Name="contentFrame">
            <Grid>
                <Button>Hello</Button>
            </Grid>
        </Frame>
    </muxc:NavigationView>

Tab through the controls in the app
Note that the focus rect disappears between  hamburger and settings buttons.
Change SelectionFollowsFocus to Disabled.
Note focus draws as expected.

Expected behavior

When one of the MenuItems has keyboard focus, a focus rect is drawn around it.
Screenshots

Additional context

Copied from internal bug

I would like to look into this.


MFA secret key issue

@Shakevg can you please help me out on this... thankyou
I was trying to bypass MFA in one of my CRM application using the secret key, I did everything right the steps ask to, but it seems to be stuck on the OTP screen can you please help me out ....

Framework doesn't support such a method with push notification.
But the workaround may be (It will require some code update, you can do it locally):

Click 'I can't use my Microsoft Authenticator app right now' link
Select 'Use a verification code'

Type code

thankyou @Shakevg i changed it to verification code and it is working fine now. Also, i have this issue while delete a Lead it gives out an error indicating it cannot find the element. Is it xpath issue ? i tried using the xpath inspecting the browser but did not find a match, so i tried my own xpath and still got the same error. Can you plz help me out on this as well .... thankyou [my xpath: //div[@class='ms-StackItem truncatableText-409']]
Message:
Test method Microsoft.Dynamics365.UIAutomation.Sample.UCI.UpdateLeadUCI.UCITestUpdateActiveLead threw exception:
OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@tabindex='0' and @role='checkbox']"}
(Session info: MicrosoftEdge=123.0.2420.53)
Stack Trace:
BrowserCommand1.Execute[T1,T2,T3,T4,T5,T6,T7,T8,T9](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9) line 140 BrowserCommand1.Execute(IWebDriver driver) line 35
BrowserPage.Execute[TResult](BrowserCommandOptions options, Func`2 delegate) line 182
WebClient.OpenRecord(Int32 index, Int32 thinkTime, Boolean checkRecord) line 1535
Grid.OpenRecord(Int32 index) line 32
UpdateLeadUCI.UCITestUpdateActiveLead() line 35

DotaABhash Are you using develop branch?

@Shakevg yes i am using develop branch...

I see there is no link "'I can't use my Microsoft Authenticator app right now' link" on screen.
NikitaShah24 Can you change MFA method from push to code in MS account settings?
What app do you use for MFA? Can you change it to MS authenticator?

Hello @Shakevg I am using microsoft authenticator but in my options there is no code option I can choose. The only options I have is, phone or app authenticator.

I suppose it is not possible to login using EasyRepro on this case


added rust documentation in CI

test is failing because of the zexe submodule which will disappear once we move to arkworks, I'll wait for that to rebase


HTTPS calls from lua filter through envoy_on_request and request_handle:httpCall

Title: HTTPS calls from lua filter through envoy_on_request
Description:
I am using the envoy as an internal router, I need to make an API call to an external app every time a route is resolved. I was able to use envoy_on_request and request_handle:httpCall to forward this to an envoy cluster that is pointing to the external app. Everything was working perfectly until the external app got rid of the HTTP endpoint. Now it supports only HTTPS and request_handle:httpCall is not making an HTTPS request.
Is there a way I can configure it to use HTTPS instead of HTTP?

httpCall just uses the configuration for the target cluster. Configure TLS on the target cluster.

@mattbailey Will I be able to configure the TLS for this cluster since it is for an external app?

Sorry, @mattbailey for the ping out of nowhere 😅

Finally solved the issue, for the noobs like me (and as a reference for future me) adding the solution here
For the HTTPS cluster we have to configure the transport_socket like this:
      - name: external_api_endpoint
        connect_timeout: 0.25s
        type: LOGICAL_DNS
        lb_policy: ROUND_ROBIN
        load_assignment:
          cluster_name: external_api_endpoint
          endpoints:
          - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: external_api_endpoint.app.io #replace with your external server host name
                    port_value: 443 #ssl port
        transport_socket:
          name: envoy.transport_sockets.tls
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext

This will enable the SSL traffic from the envoy cluster to the configured external endpoint
Also, in the documentation for request_handle:httpCall it is said to pass the :authority header, and the documentation passes the cluster name as the value for :authority. In my case this was not working and I had to pass the actual endpoint host as the authority value. Like this:
function envoy_on_request(request_handle)
  local headers, body = request_handle:httpCall(
         'external_api_endpoint',
         {
              [':method'] = 'POST',
              [':path'] = '/api',
              [':authority'] = 'external_api_endpoint.app.io',
              ['set-cookie'] = { 'lang=lua;', 'type=binding; Path=/api' }
        },
      '{}',
       5000
  )
end

that was it, and the external calls are working like a charm from the per route filter 🎉
Thanks to @mattklein123 for pointing me in the right direction and mattbailey(not tagging him) for entertaining a random ping 😂


Stop CircularProgressView animation?

Hello, thank you for the great lib. I was wandering how to stop the animation of the circularprogressview. The only way i found is just setting its visibility to GONE. Is there a way to stop the animation? Or if i miss something can you point me the right way? I'm quite new to android. So my worries are if it just hide the animation and doesn't stop it, won't it eat the resources of the device? Thank you.

CPV doesn't have a way to do this yet. Pausing the animation calculations was only added in API level 19, so that's not really feasible. However, I suspect Android doesn't call paint() on hidden Views.
I'm not the most experienced with Android either so I don't have a clear answer for you.

I see. Thank u very much for your quick response! All the best.


Color-coded texts

Is it possible to have the texts in the terminal color coded? maybe black for the user, blue for the AI?

Thanks for your feedback.
We will look into it, and hopefully do it in our future releases.


Pull in master changes to revert reshape function changes

Pulling in changes to the 0.7 branch for: https://github.com/tensorflow/swift-apis/pull/667

Just meant to pull in the changes to reshaped.  Sorry.


[1.8.x] Don't create mongo folders unless ENABLE_MONGO is true

Change Description

https://github.com/EOSIO/eos/issues/7561
Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

This should target release/1.8.x not master


Added pandas_ndim FUTURE flag

🚀 Pull Request
Description

In preparation for breaking changes to be made to iris.pandas.as_dataframe() and iris.pandas.as_series() - #4669.
QUESTION: how should future flags be documented? The existing datum_support flag is not documented but that might just be an oversight?

Consult Iris pull request check list

how should future flags be documented?

Example from Ye Olden Dayes
https://scitools.org.uk/iris/docs/v1.13.0/iris/iris.html?highlight=future#iris.Future


Incorporate Prometheus package and create API endpoints for its metrics

Description:
As early adopters of the SRE setup of Sysdig monitoring (using Prometheus to collect the metrics):

Incorporate Prometheus package and create API endpoints for its metrics

Add annotation (tag) for the deployment of pltsvc-app for Prometheus to be able to find the pods to collect metrics.

The articles describing the process:
https://sysdig.com/blog/monitoring-custom-metrics/
https://developer.gov.bc.ca/docs/default/component/platform-developer-docs/docs/app-monitoring/user-defined-monitoring/
Repository which would help:
https://github.com/siimon/prom-client
3 metrics:

Network duration bucket(collectDefaultMetrics)

Billy will provide more information on the requirements and what metrics he'd like to see on the Sysdig side

Iryna to clarify with Billy as this could be done already as part of Zhanna's work.

confirmed with @w8896699 this ticket is still relevant but it is very low priority.


Filter by age

With all the ways you can filter profiles, I'm very surprised I can't filter by age. Or perhaps I'm just blind?

I really would like to have a age filter honestly it really helps a lot! Because you might wanna make some friends with furs who are either close to or are your own age, but it’s hard to do when there is no age filter

This existed in a previous version of the app. I don't know why it was removed.

Well I think they should put it back in the app
On Thursday, May 13, 2021, Soatok Dreamseeker @.***>
wrote:

This existed in a previous version of the app. I don't know why it was
removed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/howlrapp/howlr-app/issues/10#issuecomment-840701488,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATY7E3X26BJ2W3E4CED56YLTNQB2BANCNFSM42WDPNPQ
.

The new age range filter is done and will be deployed in the next version, thanks for your suggestion!

Thank you so much!
On Wed, Jul 28, 2021, 2:11 AM Sushi @.***> wrote:

The new age range filter is done and will be deployed in the next version,
thanks for your suggestion!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/howlrapp/howlr-app/issues/10#issuecomment-888070311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APEU65EXXQ5QWAHJVWOJ2WLTZ6URPANCNFSM42WDPNPQ
.


IR discussion for public inputs, periodic columns, random values, and aux constraints

This purpose of this PR is for a high-level discussion of the IR for public inputs (#10), periodic columns (#11), random values (#14), and auxiliary constraint handling (#15). These are the rest of the features required for v0.1.
Once we've agreed on the general approach for the IR, I'll split this into smaller PRs instead. The relevant files for discussion are the ones in the ir crate, and this is probably most easily viewed directly rather than via diffs. The one major change to the parser was to split the ast::Expr expression type into BoundaryExpr and TransitionExpr.
notes:

this hasn't been cleaned up or documented yet - I'll tidy it up when splitting into separate PRs.
The IR still makes use of the same BoundaryExpr struct that is declared in parser::ast. It feels cleaner for the IR to have its own type, but we don't actually need anything different, so the same type is used in the parser, ir and codegen. We could move the type definition to the ir instead and then import it to the parser. Thoughts?
the TransitionConstraintDegree that this uses is almost exactly the same as in Winterfell. We're not using min_blowup_factor or get_evaluation_degree, but we may want that in the future when we're supporting verifier code in Miden assembly and solidity. Any thoughts about clean reuse of this or a different approach?

Closing this PR, as the work has been moved to #28, #32, and #33


fix: build.json增加打包后产出文件地址，方便配置

npm run build 后产物默认在“build”目录下，不知道哪里改配置

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.xielixing seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@henryxie2093 感谢 PR...
BUT
这个变更看起来好像意义不是那么大啊。。。😭


Link "Install Litmux Operator" is not working

I am trying to install litmux and experiments for K8s PODs in AWS

Link "Install Litmux Operator" is not working
This yaml is not working
kubectl apply -f https://hub.litmuschaos.io/api/chaos/2.0.0?file=charts/generic/experiments.yaml
kubectl apply -f https://hub.litmuschaos.io/api/chaos/2.0.0?file=charts/kube-aws/experiments.yaml

kubectl apply -f experiments.yaml
unable to recognize "experiments.yaml": no matches for kind "ChaosExperiment" in version "litmuschaos.io/v1alpha1"
unable to recognize "experiments.yaml": no matches for kind "ChaosExperiment" in version "litmuschaos.io/v1alpha1"
unable to recognize "experiments.yaml": no matches for kind "ChaosExperiment" in version "litmuschaos.io/v1alpha1"
unable to recognize "experiments.yaml": no matches for kind "ChaosExperiment" in version "litmuschaos.io/v1alpha1"
unable to recognize "experiments.yaml": no matches for kind "ChaosExperiment" in version "litmuschaos.io/v1alpha1"
unable to recognize "experiments.yaml": no matches for kind "ChaosExperiment" in version "litmuschaos.io/v1alpha1"

Can you please help to find why this error and help to resolve it ?
Thanks,
Sai

Hi, @brsvpr  have added @uditgaurav  for some comments on this, meanwhile feel free to join the LitmusChaos slack and ask the same to the community! Cheers!
To join the slack please follow the following steps!
Step 1: Join the Kubernetes slack using the following link: https://slack.k8s.io/
Step 2: Join the #litmus channel on the Kubernetes slack or use this link after joining the Kubernetes slack: https://slack.litmuschaos.io/

Closing this inactive issue. Hoping @uditgaurav's suggestion solved your issue


Add LanguageTool

This PR introduces an option to install an LSP for Language Tool ltex-lsp. This is especially useful for writing LaTeX or Markdown since it identifies potential grammatical errors.

Looks interesting. Will wait a few more days/weeks until the config is more stable and tested https://gist.github.com/lbiaggi/a3eb761ac2fdbff774b29c88844355b8

Hi ! Any news on when this is to be merged ? Looks exciting !
Thanks for the work btw !

Hi ! Any news on when this is to be merged ? Looks exciting !

I think this would be merged if this PR is ready.

Thanks for the work btw !

Thanks!

Hi ! Any news on when this is to be merged ? Looks exciting !

I think this would be merged if this PR is ready.

Thanks for the work btw !

Thanks!

Yes indeed


Don't show queue length and items count if its 0

Currently we show stuff like Queue Length: 0:00 (0 songs) in the "now playing" embed footer, which isn't ideal.

Should be implemented in #66, @Biscuitmunch.


Automatic bound re-ordering, possibly a buggy fallback

When constructing Between the lower and upper bounds are automatically set to make the bound feasible. I am not sure this is good behavior because I would expect an error to be thrown when solving a problem with Between(0, -2) but this is automatically fixed to Between(-2, 0).
https://github.com/COBREXA/ConstraintTrees.jl/blob/396020852797c4de4d01246912fe32483b5f53a4/src/bound.jl#L94

This is the outcome of super userfriendly design choices from before :D You can just use BetweenT which does not do the reordering (it can't).


My browser just hangs when I hit Allow.  There is some hint that it is waiting for localhost... when I try to run this code.

Expected Behavior
I expect to get data from cells in my Google Sheet
Actual Behavior
After I click Allow to let Quickstart to "View your Google Spreadsheets" it just hangs
Steps to Reproduce the Problem
Follow all the code and set up the project
Specifications

Python version (python --version)  2.7.14
OS (Mac/Linux/Windows) WIndows Chrome PyCharm

Are you running the quickstart as-is, or have you modified it? What version of Python are you using? Does the browser's console show any errors?

Any update @BrianKayWalker?
Can you provide a bit more detail as to browser errors or code modifications?

Closing due to inactivity.


feat: flagd in-process evalator improvements

This PR
Improves in-process evaluator with,

Adding selector field for gRPC sync connection ^1
Allow unknown fields in flagd flag structure: future-proofing when flag sources change

Allow unknown fields in flagd flag structure: future-proofing when flag sources change

Probably a good idea.


Add tab switcher data store for saving the announcement banner data

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4743  👈
#4734
#4719
feature/ondrej/rearranging-tabs

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @0nko and the rest of your teammates on  Graphite

@malmstein, @anikiki I’ve refactored the way we query for new users in a023d94. The logic is a little bit different but for our purposes it should have the same result.
To account for returning user, there’s now an additional condition in the tab manager (27d86fb).
Just to recapitulate what the definition of a new user is here — a new user is someone who's never installed the app (so not a returning user).


Keemei is by an 'Unverified developer' on Google

I recently did a security checkup with Google, and got the following warning:

Can we become a verified developer so that folks don't get this warning?
P.S. Mailchip (a very big company) was also listed as an unverified developer so maybe this is fine. 🤷

Keemei is now a verified add-on; the "unverified" warning should no longer appear.


Update Chinese JSON file

Description
This PR provides the translation for Krux-installer from English to Chinese. It ensures that the UI and instructional text are fully localized for Chinese-speaking users, enhancing usability and accessibility.

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

@theBillLee, I approved and then disaproved your PR since an error occured on lint process, so i will ask (when you can) to fix it (sorry about that, I did not observe adequately in this aspect).
It's a little one: in the lines 104 and 105 there is a duplicate of "Flash with" key:
"unzip_stable_screen": {
    "Flash with": "通过刷入",
--->"Flash with": "通过刷入",
    "Air-gapped update with": "通过气隙隔离更新",
    "Unziping": "解压缩",
    "Unziped": "已解压"
  }

after commit your change, i suggest to run the following commands:
poetry run poe lint
poetry run poe test

i all runs ok, then commit and push your change


Add "delete" to the 'apikey' command

Why
Currently there's no way of deleting API keys (expired or otherwise) using the CLI (or the API).
This will lead to the API key DB table to keep growing indefinitely.
Description
I propose adding a delete subcommand to the apikey command.
Suggested flags:

--prefix to delete a specific key (expired or not)
--all to delete all keys (expired or not)
--expired to delete all expired keys

All flags can be coupled with a "are you sure"-prompt - skippable with --force.
I'm happy to contribute a PR.
Half the work is already done, as the DB function is already implemented.

This would be very useful since I have several active one-time use api keys that were created because I had to redo tags on servers.  I imagine this is common so having a way to clean them up easily would be great, or even just the ability to delete one at a time.  Something like headscale preauthkeys prune would be awesome to delete the keys that aren't actively being used.

Indeed, this is absolutely necessary."

Until then, you can stop download a copy of your database, open it using 'db browser for sqlite' (if using built in db) and run the following sql command, verify verify verify that whats needed to be gone is gone, then write and close the database, stop headscale server and replace the original with your new one (making sure to copy the original somewhere else), then up the headscale server.
DELETE FROM api_keys
WHERE expiration < datetime('now');

This works as I have tested with a few keys.

This has been added in #1702 by @pallabpain


Fix webview positioned partially offscreen (#638)

Task/Issue URL: #638
Tech Design URL:
CC: @CDRussell
Description:
After this change, bottom-anchored content in web pages will display anchored to the bottom of the screen, rather than being partially hidden offscreen.
Steps to test this PR:

Navigate to reddit.com or m.youtube.com

Internal references:
Software Engineering Expectations
Technical Design Template

Ideally the WebView would always top-align with the bottom of the omnibox and bottom-align with the bottom of the screen

I think top-aligning with the bottom of the omnibox, yes. Basically want to replicate how Chrome handles this as it does it well.

Hello 👋
I was going to open an issue regarding this but I believe this PR is addressing it 🤔
Tested on latest release + develop (that doesn't have the bottom bar anymore 😢 ) and have the same unexpected behavior


Problems with tests in PhantomJS

Hi,
I´m creating tests for a hal application using karma, jasmine and sinon. It works fine using Chrome as browser but when I change to Phantom the following exception appears:
PhantomJS 1.9.8 (Windows 7 0.0.0) Grid Get data FAILED
        TypeError: 'undefined' is not a function (evaluating 'abortTraversal.bind(traversalState)')
            at createInitialTraversalState (D:/git/repository/grd/testes-aceitacao/node_modules/traverson/browser/dist/traverson.js:985)
            at getResource (D:/git/repository/grd/testes-aceitacao/node_modules/traverson/browser/dist/traverson.js:893)
            at D:/git/repository/grd/testes-aceitacao/src/test/js/testes-aceitacao-spec.js:19

The scripts that I include in the tests are:

        'node_modules/jquery/dist/jquery.js',
        'node_modules/traverson/browser/dist/traverson.js',
        'node_modules/traverson/browser/dist/traverson.external.js',
        'node_modules/traverson-hal/browser/dist/traverson-hal.js',
        'node_modules/traverson-hal/browser/dist/traverson-hal.external.js'

Did I miss something?

First, you should not include traverson.js and traverson.external.js. Same goes for traverson-hal.js and traverson-hal.external.js. For each pair, use only one. Have a look at https://github.com/basti1302/traverson/blob/master/user-guide.markdown#browser.
If you are not using browserify (I guess you are not) than the files without external are what you want.
Not sure if this is related to your problem. Do you have the complete repo in a public place? Then I could take a look what's wrong. It's really hard to tell from what you posted. I don't know what abortTraversal is. Is it a function? Or an object? Is it even supposed to have a bind method?

Sorry, I think I opened an issue in the wrong project. Should have been be traverson. I will setup a public project and open the issue in the correct project.


Fix raster tests for multiple CI configs

This test is failing in CI in two different ways:
08:20:21   1) raster2pgsql acceptance tests keeps the original table unaltered regardless of overviews
08:20:21      Failure/Error: }).first
08:20:21      Sequel::DatabaseError:
08:20:21        PG::Error: ERROR:  invalid input syntax for type double precision: "0.148148148148133,10"
08:20:21        CONTEXT:  SQL function "_raster_constraint_info_scale" statement 1
08:20:21      # ./services/importer/spec/acceptance/raster2pgsql_spec.rb:134:in `block (2 levels) in <top (required)>'
08:20:21
08:20:21 Finished in 2 minutes 15.09 seconds
08:20:21 29 examples, 1 failure, 7 pending

08:49:34 Failures:
08:49:34
08:49:34   1) raster2pgsql acceptance tests keeps the original table unaltered regardless of overviews
08:49:34      Failure/Error: metadata[:srid].should eq 4326
08:49:34      NoMethodError:
08:49:34        undefined method `[]' for nil:NilClass
08:49:34      # ./services/importer/spec/acceptance/raster2pgsql_spec.rb:135:in `block (2 levels) in <top (required)>'
08:49:34
08:49:34 Finished in 4 minutes 7.4 seconds
08:49:34 35 examples, 1 failure

This should have been fixed a long time ago, closing it.


goctl gen model with pg and cache leads to a column "xxx" does not exist error

Describe the bug
I use the code generated by goctl model pg datasource -url="postgresql://postgres@localhost:5432/postgres?sslmode=disable" -table="xxx" -c
the ddl is below and there is a unique index
CREATE TABLE tx_status (
    id integer GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
    network character varying(255) NOT NULL,
    hash text NOT NULL,
    status character varying NOT NULL,
    receipt jsonb NOT NULL DEFAULT '{}'::jsonb,
    "createAt" timestamp with time zone NOT NULL,
    "updateAt" timestamp with time zone NOT NULL
);

-- Indices -------------------------------------------------------

CREATE UNIQUE INDEX tx_network_hash_uniq_index ON tx_status(network text_ops,hash text_ops);

To Reproduce

The code is
	res, err := l.svcCtx.DB.FindOneByNetworkHash(l.ctx, network, in.Hash)

The error is
{"@timestamp":"2022-09-21T15:03:22.197+08:00","caller":"sqlx/utils.go:140","content":"stmt: select id,network,hash,status,receipt,createAt,updateAt from \"public\".\"tx_status\" where network = 'xxx' and hash = 'xxx' limit 1, error: pq: column \"createat\" does not exist","level":"error","span":"754988c3cdf31f51","trace":"d69c8f5d160d9b30dbab024f1b353bd4"}

It's strange while in the log the column  is camelcase , but in the error message the column is lowercased.
Expected behavior
no error
Screenshots

Environments (please complete the following information):

OS: macos 12.5.1
github.com/zeromicro/go-zero v1.4.1
goctl version 1.4.0 darwin/amd64

The fields are from :
	txStatusFieldNames          = builder.RawFieldNames(&TxStatus{}, true)
	txStatusRows                = strings.Join(txStatusFieldNames, ",")

I can hack this time. But it's not the right way to solve this problem forever.

This error also happens in FindOne  function.
{"@timestamp":"2022-09-22T10:23:00.305+08:00","caller":"sqlx/utils.go:139","content":"stmt: select id,network,hash,status,receipt,createAt,updateAt from \"public\".\"tx_status\" where id = 16268 limit 1, error: pq: column \"createat\" does not exist","level":"error","span":"7cbb99e9939a30e0","trace":"ebdd9781527ac4e87500db7ea60e2d29"}

Postsql is case sensitive, just change the uuutest field name to lowercase

Postsql is case sensitive, just change the uuutest column name to lowercase. https://stackoverflow.com/questions/20878932/are-postgresql-column-names-case-sensitive

Do you see the sql statement above ?
It's the right case.

Anyone follow this issue ?

Hey, is anyone following this issue ?

See #2100

See #2100

So what about the column uuuTest ?

Can you have a look at this issue? It's been a long time.
@anqiansong  @kevwan


[feature] Allow plugins to edit BlockNodes

Allow plugins to edit BlockNodes
Plugins can't edit block nodes after BlockProcessor run, since blocks are locked. I mention specifically BlockProcessor because it adds very useful data to MethodNode (loops, dominators etc). These information can used to edit control flows For example I've used loops information from method node to find switch cases and manipulated control flow to recover it from obfuscator link
We can move mth.finishBasicBlocks(); out of BlockProcessor to another visitor lets say BlockFinisher. Then plugins can attach into .before('BlockFinisher') to manipulate blocks. I have a PR ready for this if its okay.
Also writing document to give general information about visitors for deobfuscation (or general) plugins will be very useful. For example if a deobfuscator plugin does MBA simplification to deobfuscate instructions when it should run? Which visitor gives best information ? I think generic cases for deobfuscation would be instruction editing, control flow editing, string deobfuscation

We can move mth.finishBasicBlocks(); out of BlockProcessor to another visitor lets say BlockFinisher.

Sure, that's a good start.
Also, we need to add some method to "recalculate everything" so custom pass can call it after changing block tree overwise next plugin will get outdated info.

Also writing document to give general information about visitors

Yeah, I should add some docs on passes, but I am awful at writing, I started many times and still not finished it :rofl:

Also, we need to add some method to "recalculate everything" so custom pass can call it after changing block tree overwise next plugin will get outdated info.

Yes good idea! I'm manually removing unused blocks and calling BlockProcessor again to reassing attributes.

@eybisi I have added method to update blocks data:
BlockProcessor.updateBlocksData(mth);

Also, jadx libs snapshot updated, hope it works fine :slightly_smiling_face:


Simlpcal

accept

Thanks for the PR. It has been merged.
I'll be glad if you can leave a star on this repository.


For routingconnectionfactory, the publisherreturns and ispublisherconfirms fields cannot be set

When I use simpleRoutingConnectionFactory as my default connection factory, I also want to set the default target connection factory separately The values of publisherreturns and ispublisherconfirms of the objects in targetconnections factores determineconfirmsreturn scaabi rabbitTemplate.invokeAction (args) method this.determineConfirmsReturnsCapability (connection factory), the incoming routingconnectionfactory is not caching connectionFactory, so we can't make a correct judgment. I think this is a bug. How can I solve it? Thank you.

re edit


Crash using any GPU other than GPU 0

Continuing https://github.com/mitsuba-renderer/mitsuba3/issues/808 here.
Dr.Jit fails for multi-gpu setups, specifically leading to CUDA_ERROR_ILLEGAL_ADDRESS and inconsistent device access across multiple threads. Specifically the test case shown at the end of this comment fails in a similar way to how Mitsuba 3 fails for running on a different device than GPU 0.
Breaking down the problem, the issue stems with how Dr.Jit handles the CUDA device context and handles it on a per-thread basis. While this works for simple single-threaded programs where the device is set once, it fails for programs where the device changes during runtime and multi-threaded programs. This becomes most apparent in Mitsuba 3 where setting the device to a non-zero GPU index prior to loading a scene leads to the main thread loading the scene into GPU 1s memory and worker threads loading the scene into GPU 0s memory.
For the multithreaded case, the issue partly stems from the fact that worker threads will only call jitc_init_thread_state only when required and this function, by default, initialises the thread to use GPU 0:
https://github.com/mitsuba-renderer/drjit-core/blob/25dd7a5cb96ee58d65cc1499f47de76f6140ff36/src/init.cpp#L378-L386
In the single-threaded case, when the device changes, the next kernel launch on the GPU that reuses pre-allocated memory or a pre-compiled kernel leads to a crash - I haven't fully tracked down the cause, but it is partly caused by the use of memory pointers belonging to the wrong device. For the latter pre-compiled kernel case, I think in my setup with two GPUs that have very different compute capabilities (as below) the kernel compiled for one GPU is invalid on the other.
jit_cuda_init(): enabling CUDA backend (version 12.2)
 - Found CUDA device 0: "NVIDIA GeForce RTX 3090" (PCI ID 0c:00.0, compute cap. 8.6, 82 SMs w/99 KiB shared mem., 24 GiB global mem.)
 - Found CUDA device 1: "NVIDIA GeForce GTX 1080" (PCI ID 05:00.0, compute cap. 6.1, 20 SMs w/48 KiB shared mem., 8 GiB global mem.)

One solution I have found is to first create a global tracking of which CUDA device is in use by making it part of the State struct and then using that as a reference for updating each subthread's device. Secondly, by synchronising all threads and flushing the malloc and kernel caches before setting the device, I can get both of the above cases working.
The multi-device test case I'm using is an updated version of triangle.cpp test case with the following additions after line 273.
void worker_thread ()
{
    demo();
}

void set_device_with_sync_and_flush(int device_id) {
    jit_flush_malloc_cache();
    jit_flush_kernel_cache();
    jit_cuda_set_device(device_id);
}

int main(int, char **) {
    jit_init((int) JitBackend::CUDA);
    // jit_set_log_level_stderr(LogLevel::Trace);
    init_optix_api();
    set_device_with_sync_and_flush(0);
    std::cout << "Set device to 0" << std::endl;
    demo();
    set_device_with_sync_and_flush(1);
    std::cout << "Set device to 1" << std::endl;
    demo();
    for (int i = 0; i < jit_cuda_device_count(); ++i) {
        set_device_with_sync_and_flush(i);
        std::cout << "Set device to " << i << std::endl;
        std::thread t1(worker_thread);
        t1.join();
    }
    set_device_with_sync_and_flush(0);
    std::cout << "Set device to 0" << std::endl;
    demo();

    // Shut down Dr.Jit (will destroy OptiX device context)
    jit_shutdown();
    return 0;
}

The alternative to using a global CUDA device for all threads, is to track which device each device pointer belongs to and handle the case where there is a mismatch between devices by, e.g. copying memory buffers to the right device.

Hi @Microno95
Thanks for digging into this :100: !
From what you've shown, and digging a bit more on my end, my impression is that Dr.Jit already contains all the necessary low-level utilities to handle multi-GPU setups. The main issue seems to be that none of it is handled smoothly out-of-the-box, and the burden lies on the user to properly manage the different thread states and memory migrations between devices. (In addition, Mitsuba has a few obvious spots, like the scene loading, where we also do not manage this situation correctly).
From my point of view, I think the very least we should provide is a way for users to set their device at runtime without any sharp bits. Most likely this would be implemented as a global synchronization point that would completely reset the JIT (or if technically feasible migrate all allocated memory to the new device).
More intricate use cases, where a user might want to "partially migrate" to some device for a specific set of threads to run come computation would still be possible and allowed, but would require a lot more fine control from the user.

Hey @njroussel,
I've been digging into (and tinkering with) Dr.Jit as well and it's definitely the case that all the machinery is there to enable multi-GPU setups. I experimented further with the single global CUDA device solution, but ultimately found that it behaved strangely in some cases and wasn't super robust to device changes - especially in an OptiX context.
Instead, I've been tinkering with a variation of Dr.Jit that also tracks the device a variable belongs to. With some further tweaks to how the global state and per-thread states like cuda contexts and such are handled, I've got most of the test suite (all the basics, vcall and mem tests, a third of the loop and reductions tests) working on a multi-GPU setup with changes to the device during runtime without having to jit_init/jit_shutdown in between. I'm using a version of the test suite where the test function is run on all available CUDA devices which should enable proper testing integration if a multi-GPU system is available.
As for how to deal with loading data onto different devices during runtime, it depends on whether the GPUs belong to the same generation (i.e. same compute architecture) in which case Unified Addressing should handle it (if I haven't misread the docs), or if they are in different generations, in which case the data has to be staged through host memory manually. An alternative is to duplicate memory onto all devices (of a users choosing). That way rendering could be accelerated through the use of multiple GPUs.

I have pushed a rudimentary implementation to a fork of the repo on my github here: https://github.com/Microno95/drjit-core/tree/feature/device-tracking

Hey @njroussel, I don't know how much of a look you've been able to have, but I've been thinking about how a more streamlined treatment of devices could be implemented specifically in regards to how computation is scheduled and then submitted.
At the moment, each computation is scheduled on the device specified in ThreadState which means if a variable is on a different device, an error can occur. As an alternative, I was thinking about separating the concept of a device being specifically bound to a state, but rather to a computation graph and thus the device in the ThreadState only decides the initial device that a variable is bound to, but mechanisms could be introduced to enable moving data between devices.
I have a similar idea about attaching CUDA streams to variables (only when there is a write, multiple streams can safely read from the same memory in most cases) thus enabling a single device to run multiple computations concurrently (where kernels permit) via multiple CUDA streams. This could be used not only for greater hardware efficiency by permitting overlaps between memcpy operations and kernels, but also better occupancy when kernels are too small to saturate each SM. Multiple streams is not possible at the moment as each thread shares the same compute stream for a given device.
I realise this is additional complexity and thus my implementation above is still barebones other than the inclusion of some bugfixes, a more robust test setup and better error messages on windows (such as when libraries cannot be loaded). But I wanted to broach the topic as it's a feature that I'd be interested in implementing and follows somewhat naturally from supporting multiple devices.


Fix bandit argv in tubes ssh example

Fix bandit port and argv. Not specifying absolute path to executable raises an AttributeError

Thank you!


Blog author linking broken on Twenty Twenty

See https://bonnie.hcommons.org/musings/. The link to the blog author profile is showing as html.

Addressed by https://github.com/MESH-Research/humanities-commons/commit/c2b736450d0c3f9c1c20d8c45ba4705f38cef937


Client price?

Per the GitHub spirit, everything we raise as an issue:
The Client is just too much $$$
If I only intend to use the client to manage my docker containers, shouldn't I be able to download a "Community" version for free? Besides given its use, I now declare Minecraft should under the Devs division on par with Visual Studio so that eventually we get VSCraft.
Edit: Anyone interested donate a copy to me I'll extend/modify features you want. :)

DockerCraft does not maintain minecraft.

Minecraft is well worth the relatively low price of $26.95 US. Whether you use it for this purpose or for the purpose it was intended.

@Chnkr yes that's common sense.
@ghostsquad it's 17.95 £ in the UK. But you need to change your angle to people who is NOT into Minecraft before who in the first time of their life saw the light is coming. Or is it general rule all Devs/DevOps by default should have MineCraft on their PC?

Lol... I dunno. I love Minecraft. I found out that about a dozen people at
work like it too. We play Minecraft daily. ☺
On Thu, Nov 19, 2015, 1:31 AM Dong Xie<EMAIL_ADDRESS>wrote:

@Chnkr https://github.com/Chnkr yes that's common sense.
@ghostsquad https://github.com/ghostsquad it's 17.95 £ in the UK. But
you need to change your angle to people who is NOT into Minecraft before
who in the first time of their life saw the light is coming. Or is it
general rule all Devs/DevOps by default should have MineCraft on their PC?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/dockercraft/issues/16#issuecomment-158001900.

@ghostsquad That's exactly what I guessed, that you guys play MC all day long and code a bit for break.
Now we need a channel to ask Microsoft to give us free licenses for dockercraft development...

Im pretty sure microsoft doesnt have anything to do with minecraft either ...

@xied75 lol - not quite.
@joranbeasley - google search "Microsoft Buys Minecraft for $2.5 billion"

Closing this issue as the Minecraft client is outside of our control