Creating an aurora-mysql RDSInstance fails with allocatedStorage, dbInstanceClass missing bug

What happened?
Crossplane throwing an error when spinning aurora based DB, basically I would like to spin up DB that has read replicas and that is why I am chossing engine type aurora and aurora-mysql.
According to the provider-aws RDSInstance api doc, those field such as allocateStorage and dbInstanceClass is not required for aurora based DB.
So i did try without putting any of these 2 fields and i am hitting into parameters validation issue mentioning that those fields are required
And the i put in those variables to test and i am running into another issue:
Warning  CannotCreateExternalResource  27s (x15 over 34s)  managed/rdsinstance.database.aws.crossplane.io  (combined from similar eve
nts): cannot create RDS instance: InvalidParameterCombination: Invalid storage size for engine name oscar and storage type aurora: 20
           status code: 400, request id: af92dcd3-3d74-42ac-985c-606cb8976c33

Wierd thing is the log showing engine name transform to oscar, and storage type is aurora which is not defined anywhere in my manifests
How can we reproduce it?

Just a snippet of what are the Composition file:

apiVersion: apiextensions.crossplane.io/v1alpha1
kind: Composition
metadata:
  name: mysqlinstances.crd.aws.mydomain.com
  labels:
    provider: aws
    tier: default
    vpc: dev
spec:
  writeConnectionSecretsToNamespace: crossplane-system
  reclaimPolicy: Delete
  from:
    apiVersion: crd.aws.mydomain.com/v1alpha1
    kind: MySQLInstance
  to:
    - base:
        apiVersion: database.aws.crossplane.io/v1beta1
        kind: RDSInstance
        spec:
          forProvider:
            masterUsername: masteruser
            engine: aurora
            allocatedStorage: 20
            skipFinalSnapshotBeforeDeletion: true
            publiclyAccessible: true
            deletionProtection: false
            dbClusterParameterGroupName: "mydbclusterparametergroup"
          writeConnectionSecretToRef:
            namespace: crossplane-system
          providerRef:
            name: aws-provider
          reclaimPolicy: Delete
      patches:
        - fromFieldPath: "metadata.uid"
          toFieldPath: "spec.writeConnectionSecretToRef.name"
          transforms:
            - type: string
              string:
                fmt: "%s-mysql"
        - fromFieldPath: "spec.parameters.size"
          toFieldPath: "spec.forProvider.dbInstanceClass"
        - fromFieldPath: "spec.parameters.version"
          toFieldPath: "spec.forProvider.engineVersion"
      connectionDetails:
        - fromConnectionSecretKey: username
        - fromConnectionSecretKey: password
        - fromConnectionSecretKey: endpoint
        - fromConnectionSecretKey: port

Requirement file:

apiVersion: crd.aws.mydomain.com/v1alpha1
kind: MySQLInstanceRequirement
metadata:
  name: mysql-db1
  namespace: crossplane-tenant
spec:
  parameters:
    size: db.t2.small
    version: "5.6.10a"
    secretName: mydb-secret
  compositionSelector:
    matchLabels:
      provider: aws
      vpc: dev
      tier: default
  writeConnectionSecretToRef:
    name: mydb-conn

What environment did it happen in?
Crossplane version: 0.11.1

Cloud provider or hardware configuration: AWS EKS
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.6", GitCommit:"72c301
66b2105cd7d3350f2c28a219e6abcd79eb", GitTreeState:"clean", BuildDate:"2020-01-18T23:31:31Z"
, GoVersion:"go1.13.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.8-eks-e16311", GitCo
mmit:"e163110a04dcb2f39c3325af96d019b4925419eb", GitTreeState:"clean", BuildDate:"2020-03-2
7T22:37:12Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes distribution (e.g. Tectonic, GKE, OpenShift): EKS
OS (e.g. from /etc/os-release)
Kernel (e.g. uname -a)

Hi @kelvinwijaya ! From what I can tell, allocatedStorage field is not applicable to Aurora Engine. Here is an excerpt from its doc:
// AllocatedStorage is the amount of storage (in gibibytes) to allocate for the DB instance.
// Type: Integer
// Amazon Aurora
// Not applicable. Aurora cluster volumes automatically grow as the amount of
// data in your database increases, though you are only charged for the space
// that you use in an Aurora cluster volume.
...

That's probably why AWS rejects to create it. However, I couldn't really see where that oscar came from. Could you retry without specifying the allocatedStorage field?
On another note, I realized that the field dbClusterParameterGroupName should not be a field on RDSInstance resource since it's not an RDS DB cluster. So, you might want to use dbParameterGroupName field instead.

Hi @muvaf ,
Thanks for highlighting the dbparametergroupname and dbclusterparametergroupname differences, i have tried to substitute those fields and it seem the error with oscar still persist
Another thing is if we remove allocatedStorage, there will be some validation error and that is the reason why I put it back in first place , else will hit into followoing :
Warning  CannotCreateExternalResource  44s (x16 over 52s)  managed/rdsinstance.database.aws.crossplane.io  (combined from similar eve
nts): cannot create RDS instance: InvalidParameterValue: The parameter AllocatedStorage must be provided and must not be null.
           status code: 400, request id: 26645842-c333-4553-9105-3b0e9ff6c97a

Note: From the documentation, this field allocatedStorage is not supposed to be needed for aurora DB
Reason behind this testing is i need the read replicas db provisioning capability from crossplane, so initially i read thru the code and i didnt see CreateDBInstanceReadReplica  API in the provider-aws code and make me think to test out Aurora engine which come with Replicas capability:
And for RDS DB read replica which is non-Aurora , aws api is as following (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstanceReadReplica.html)
I also come by the documentation that aurora DB creation may be using different set of aws api other that usual CreateDBInstance API (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html)

Thanks for the additional information! If I understood correctly:

As per the documentation of CreateDBInstanceReadReplica call, it cannot be used for Aurora clusters, so, the right call for creating a read replica instance of Aurora is indeed CreateDBInstance, which is what's used in RDS controller.
RDSInstance supports only instance creation since it uses CreateDBInstance, not CreateDBCluster.

So, we should be able to create a read-replica for an existing Aurora cluster. From my reading of this doc, I believe if you enter spec.forProvider.dbClusterIdentifier field to specify which Aurora cluster this instance should connect to, it should work without entering allocatedStorage.

Hi @muvaf ,
Glad that you verify further more on the API documentation
So what can be achieve now with the RDSInstance crd is :

Create RDS DBInstance (non-aurora)
Attach RDS Read Replica (aurora) to existing manually pre-created DB cluster (in AWS console) by specifying spec.forProvider.dbClusterIdentifier--> but still with error which i think is related to crossplane constraint, interesting fact is AWS RDS allow us to attach aurora engine as read replicas to a non-aurora type RDS instance

ERROR is as follows:
The requested DB Instance will be a member of a DB Cluster. Set master user
      password for the DB Cluster.\n\tstatus code: 400, request id: e554b8ae-9ff7-4828-b811-03f053b88460"
    reason: Encountered an error during resource reconciliation

My suspect is because in crossplane, DB password is auto-generated by crossplane and this cause AWS API to throw Error 400
What cannot be achieve now with the RDSInstance crd is :

Create RDS DBInstance (aurora) as it need createcluster API
Create RDS Read Replica (aurora and non-aurora) as it need createcluster API and createreadreplica API for non-aurora DB

In summary, crossplane still does not have the creation of Read Replica capability now (either aurora and non-aurora)
I hope this can be added in future release as replicas is very common in DB use-cases

Thank you for the summary @kelvinwijaya ! I have opened https://github.com/crossplane/provider-aws/pull/273 to allow password entry to cover the use case and I was able to join an existing Aurora cluster with the YAML in that PR. Github didn't let me add you as reviewer but feel free to leave comments.

Hi @muvaf
Many thanks, i have read your PR that you have done some changes to allow the read replica joining use cases, just to clarify, the Aurora cluster you have created is from the AWS console or from crossplane CR?

@kelvinwijaya no problem!

the Aurora cluster you have created is from the AWS console or from crossplane CR?

I created it through the AWS Console. The PR added the ability to specify a password, which in turn allows you to supply an empty password so that the instance can join an existing cluster.


Prevent artifacts from containing files in /buildstream/build

In GitLab by @samthursfield on Aug 24, 2017, 12:33
Somehow, GENIVI AudioManager manages to install a file into $DESTDIR/buildstream/build. If this gets included in the artifact then subsequent builds fail (because Git refuses to clone the source repo into a non-empty directory).
We should check for this and error out when creating the problematic artifact.

In GitLab by @samthursfield on Aug 24, 2017, 12:46
mentioned in commit baserock/definitions@54e447a9f1a9e94d68e6f5f616617ce49682192a

In GitLab by @tristanvb on Sep 1, 2017, 18:29
Technically there is nothing special about directories in the sandbox which have the name "buildstream" in them, there remains little or no hard coded paths around this (so while mostly build elements work in /buildstream/{build,install}, they could equally be doing things in /pony/{build,install}).
Instead we should probably just error out when something becomes problematic, perhaps:

either warn or error out when attempting to stage artifacts in the sandbox when they shadow existing directory
Maybe also, either warn or error out if a BuildElement element installs something into: %{install-root}/%{build-root}

The latter case is pretty indicative that something can go wrong and the element is at fault, and the changes that an element wants to install something into /buildstream/build are fairly low...

In GitLab by @samthursfield on Sep 4, 2017, 11:50
Yes to both of these approaches... they are low priority though I guess.

In GitLab by @tlater on Sep 14, 2017, 14:21
created branch 74-prevent-artifacts-from-containing-files-in-buildstream-build

In GitLab by @tlater on Sep 18, 2017, 10:53
mentioned in merge request !93

In GitLab by @tristanvb on Oct 19, 2017, 14:44
closed via merge request !93


Added Classification Tests

Current accuracy is 38%.

Alright cleaned up the history (it was a bit rough) and changed the folder name.


Stack references created on wrong operand of LEA

Describe the bug
Given this asembly:
MOV        dword ptr [RBP + -0x4],0x0
MOV        ESI,dword ptr [RBP + -0x4]
LEA        RDI,[RBP + -0x4]

After running stack analysis (with useNewFunctionStackAnalysis enabled), the result is:
MOV        dword ptr [RBP + local_c],0x0
MOV        ESI,dword ptr [RBP + local_c]
LEA        RDI=>local_c,[RBP + -0x4]

The first operand to LEA has been marked as a reference to local_c, but it should be the second operand.  After fixing the reference manually, the assembly makes more sense:
LEA        RDI,[RBP + local_c]

Here is a simple test program that demonstrates the problem: test.zip
Environment (please complete the following information):

OS: macOS 10.14.5
Java Version: openjdk 11.0.2
Ghidra Version: 1cae5552f683291fe142a706c2efef91e3249da6

This reference is technically correct, as RDI will point to local_c after the instruction is executed.  In general I agree with the reference being placed on the second operand to keep it consistent with other placement calculations.  Just want to explain the reason the algorithm chooses the first operand.
The MOV instruction reference actually loads the value from the stack location, so the value is detected as an actual load reference to the stack.
In some cases the placement of references can be arbitrary and are placed where they can be detected which is sometimes not quite what would be visually expected.  LEA is sometimes used for addition, and the final reference would occur later in the code.  There is special code, as you noted in another ticket, to force there to be a reference on what is essentially an add instruction.  On the X86 it is generally used for loading an address but doesn't need to be.  The special code could be changed to force the reference on the second operand.
In general the reference following code attempts to place (store in the database) the reference on the actual location where the reference is used for a store or load so that interim calculations aren't marked up with spurious references.  The code to dynamically markup without storing these types of references to locations could be updated to display the reference here without storing the reference.
Where should the reference be placed on the following?
LEA   RDI, [RBP + -0x4]
MOV EAX, [RDI + -0x20]=>local_c.field_20

Should there be a reference on local_c on the LEA?
A more general placement algorithm that would work for other processors and references could be:
MOV        dword ptr [RBP + -0x4]=>local_c,0x0
MOV        ESI,dword ptr [RBP + -0x4]=>local_c
LEA        RDI=>local_c,[RBP + -0x4]=>local_c

The current algorithm attempts to replace the constant values to make the display less busy visually.  I agree with this for exact values, but maybe not for any offset values such as on the stack.  The value -0x4, really isn't even local_c other than as an equate for actual assembly as an offset reference.  And it might not even be valid if a stack frame isn't in use.  The value of local_c offset could change to some other value later on if the stack depth changes at that point.
Appologies for the long winded explanation, but a general placement of display references is tricky depending on the actual code.

Is there no way to manually fix the referenced variable? It can get really annoying when ghidra uses the wrong variable to reference something, and then all you see is casting pointers without knowing what they actually mean


fix: do not add executable to adapter in launch request

The adapter would add the executable property to the adapter regardless of whether the request was launch or attach. When attach was used, it would attempt to start dlv on the same port that it was attempting to configure.
This changes it so the executable is not added if attach is used and adds some protection code to prevent the random port assignment from being used with the attach configuration (where it wouldn't work anyway).
Fixes issue mentioned here: https://github.com/leoluz/nvim-dap-go/issues/35#issuecomment-2135780713
Solution suggested here: https://github.com/mfussenegger/nvim-dap/pull/1273#issuecomment-2192063929

@jsternberg Tks for your PR. I'll try to find time to review it in the coming days.

@jsternberg I am concluding a review in another PR (https://github.com/leoluz/nvim-dap-go/pull/78) that will probably cause some conflicts with the code implemented in this one. I'll let you know when that gets merged.

@jsternberg https://github.com/leoluz/nvim-dap-go/pull/78 is merged. Can you please rebase?

I'll probably have time to rebase this sometime this week.

On vacation and can't really test it that well right now, but I wanted to try and update the PR. The intention is that mode = remote is used if you've launched the program through dlv exec and want to attach to it through that method.

I encountered the same issue yesterday (and it took me about all day to figure out a working solution - only found this PR this morning when wanting to create my own PR).
I have a working version based on latest main branch. Should I provide it as a separate PR? Otherwise: the implementation of  setup_delve_adapter has changed into:
local function setup_delve_adapter(dap, config)
  local args = { "dap", "-l", "<IP_ADDRESS>:" .. config.delve.port }
  vim.list_extend(args, config.delve.args)

  dap.adapters.go = function(callback, client_config)
    local delve_config = {
      type = "server",
      port = config.delve.port,
      executable = {
        command = config.delve.path,
        args = args,
        detached = config.delve.detached,
        cwd = config.delve.cwd,
      },
      options = {
        initialize_timeout_sec = config.delve.initialize_timeout_sec,
      },
    }
    if client_config.port == nil then
      callback(delve_config)
      return
    end

    local host = client_config.host
    if host == nil then
      host = "<IP_ADDRESS>"
    end

    local listener_addr = host .. ":" .. client_config.port
    delve_config.port = client_config.port

    if client_config.request == "attach" and client_config.mode == "remote" then
      -- if we want to attach to an existing debugger only we have to remove the executable section
      -- otherwise nvim-dap will try to start a new debugger at the same port and fails (since port is already bound)
      client_config.executable = nil
    else
      delve_config.executable.args = { "dap", "-l", listener_addr }
    end

    callback(delve_config)
  end
end

I'm back from vacation so I can probably test out my own change today.

Any chance of this getting merged? I've also spent time fixing it 😆
Was just about to create an MR when I saw this. Have the code already pushed, went a slightly different path:
https://github.com/Nalum/nvim-dap-go/blob/fix-remote-debug/lua/dap-go.lua#L83-L107

@jsternberg ah no worries, I've create that PR now

https://github.com/leoluz/nvim-dap-go/pull/106

Closing this in favor of #106.


Players can see the Statblock Importer button and also private folders from the Actors tab

I can understand the usefulness of letting the players have access to the statblock importer, but when they do they are able to see the full list of folders from the Actors tab, which has spoilers! I don't see any way to disable this or customizer permissions. Am I missing something?

You're not missing anything. Your best bet is to turn off the module and only activate it when you need to add monsters.

Understood, thank you.


TypeError: error is not a function. (In 'error(newSQLError('database not open'))', 'error' is undefined)

My code runs well for iOS, but got below error in Android emulator.
I put the .db under android\app\src\main\assets(I created this folder). I use RN 2.0.1, my build.gradle shown in bottom.
Could anyone help? Also I couldn't reach breakpoints for SQLite.openDatabase, not sure why? Thanks!
E/ReactNativeJS: TypeError: error is not a function. (In 'error(newSQLError('database not open'))', 'error' is undefined)

    This error is located at:
        in NavigationContainer (at renderApplication.js:40)
        in RCTView (at AppContainer.js:101)
        in RCTView (at AppContainer.js:119)
        in AppContainer (at renderApplication.js:39)

my db.js:

'use strict';
import SQLite from 'react-native-sqlite-storage';
let conn = SQLite.openDatabase(
    {
        name: 'a.db',
        location: 'default',
        createFromLocation : 1
    },
    () => {},
    error => {
        console.log(error);
    }
);

class Database  {
    getConnection() {
        return conn;
    }
}

module.exports = new Database();

my build.gradle:

buildscript {
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 19
        compileSdkVersion = 28
        targetSdkVersion = 28
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.4.2")

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url("$rootDir/../node_modules/react-native/android")
        }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
        }

        google()
        jcenter()
        maven { url 'https://jitpack.io' }
    }
}

I didn't have 'www' folder. After guessing from the document about iOS and creating 'www' and moving my .db in, it worked. It's not clear in the Document for Android.


PHP Error and DB error

A PHP Error was encountered
Severity: Warning
Message: mysqli::real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES)
Filename: mysqli/mysqli_driver.php
Line Number: 203
Backtrace:
File: C:\xampp\htdocs\SHOP\application\third_party\MX\Loader.php
Line: 109
Function: DB
File: C:\xampp\htdocs\SHOP\application\third_party\MX\Loader.php
Line: 65
Function: initialize
File: C:\xampp\htdocs\SHOP\application\third_party\MX\Base.php
Line: 55
Function: __construct
File: C:\xampp\htdocs\SHOP\application\third_party\MX\Base.php
Line: 60
Function: __construct
File: C:\xampp\htdocs\SHOP\application\third_party\MX\Controller.php
Line: 4
Function: require
File: C:\xampp\htdocs\SHOP\application\third_party\MX\Modules.php
Line: 123
Function: include_once
File: C:\xampp\htdocs\SHOP\application\core\MY_Controller.php
Line: 3
Function: spl_autoload_call
File: C:\xampp\htdocs\SHOP\index.php
Line: 292
Function: require_once

A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: C:/xampp/htdocs/SHOP/application/third_party/MX/Base.php
Line Number: 55

@becool2099
Open the application/config/database.php and add your mysql credentials to the database


contrib/kube-prometheus: add -f to rm in build.sh

According to the man pages of rm and the -f option:

Attempt to remove the files without prompting for confirma- tion,
regardless of the file's permissions.  If the file does not exist, do
not display a diagnostic message or modify the exit status to reflect an
error.  The -f option overrides any previous -i options.

This patch prevents the build.sh script from failing if files do not
exist when attempting to delete them.

lgtm :+1:

actually just seconds after I merged I realized, but can you just re-embed this into the readme in kube-prometheus? looks like our generation make target is not picking that up


(maint) support consistent coding style across users

If the user adds an editorconfig plugin to their editor or IDE,
editorconfig auto-applies the correct coding style.

CLA signed by all contributors.


could not provision a certificate on twistedmatrix.com

We ran into a few issues.
First, https://github.com/glyph/txsni/issues/8 caused a lot of spurious noise and we needed to keep old, expired certificates around in order to trigger renewal attempts.  It would be good to get that fixed.
Then we got lots of these:
2017-03-23 01:00:40-0600 [-] PANIC! Unable to renew certificate for: u'twistedmatrix.com'
        Traceback (most recent call last):
          File "/srv/t-web/virtualenv/site-packages/treq/client.py", line 80, in _deliverWaiting
            waiter.connectionLost(reason)
          File "/srv/t-web/virtualenv/site-packages/treq/content.py", line 38, in connectionLost
            self.finished.callback(None)
          File "/srv/t-web/virtualenv/site-packages/twisted/internet/defer.py", line 459, in callback
            self._startRunCallbacks(result)
          File "/srv/t-web/virtualenv/site-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/srv/t-web/virtualenv/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/srv/t-web/virtualenv/site-packages/txacme/client.py", line 593, in repoll
            raise AuthorizationFailed(authzr)
        txacme.client.AuthorizationFailed: AuthorizationFailed(<Status(invalid) Identifier(typ=IdentifierType(dns), value=u'twistedmatrix.com') [Error(typ=u'urn:acme:error:connection', title=None, detail=u'Failed to connect to <IP_ADDRESS>:443 for TLS-SNI-01 challenge')]>)

After hours of banging on fail2ban and otherwise attempting to figure out why it couldn't connect (you can try this yourself, that ip/port will happily respond from anywhere in the world I have access to for TLS), we tried LETS, and got errors about CAA records instead.
Eventually I fell back to https://github.com/zenhack/simp_le and manually provisioned a cert with the http-01 challenge instead, and just installed that manually.  But it would be good to get to the bottom of this; at the very least, it would be nice to automate #31 for whatever case this is.

@markrwilliams helped with this and might also have some insight.

glyph/txsni#8 is somewhat of a red herring; you get this error from txsni if you touch an empty pem, and then a client tries to connect before txacme has issued a real cert for you, but it shouldn't affect the txacme issuance at all.
The problem with CAA records appears to be a bug in twistedmatrix.com's nameserver software:
mithrandi@lorien ~> host -t caa twistedmatrix.com ns1.twistedmatrix.com
Using domain server:
Name: ns1.twistedmatrix.com
Address: <IP_ADDRESS>#53
Aliases:

Host twistedmatrix.com not found: 2(SERVFAIL)
mithrandi@lorien ~ [1]> host -t caa twistedmatrix.com ns2.twistedmatrix.com
Using domain server:
Name: ns2.twistedmatrix.com
Address: <IP_ADDRESS>#53
Aliases:

Host twistedmatrix.com not found: 2(SERVFAIL)

The expected response to an unknown record type is an empty response, not SERVFAIL, which host will present like this:
mithrandi@lorien ~ [1]> host -t caa mithrandi.net
mithrandi.net has no CAA record

If I query for a different record type for which there are no records, for example:
mithrandi@lorien ~> host -t a6 twistedmatrix.com
twistedmatrix.com has no A6 record

Let's Encrypt does not require a CAA policy, but if it finds one for the domain in question, it will respect it, so I guess this failure to look it up constitutes a permanent failure in the authorization process.

Closing this because there doesn't seem to be an active issue with txacme, but happy to continue discussing / diagnosing as needed.

"Falling back" to the http-01 challenge isn't really possible with the endpoint as it stands; implementing http-01 requires hooking into your Site hierarchy, not your TLS protocol, so that's at a totally different level of the stack. You can do this by instantiating a HTTP01Responder, putting .resource in the right place for it to be served from http://yourdomain.com/.well-known/acme-challenge, and then instantiating an AcmeIssuingService with this responder; if you have any suggestions about making this easier, perhaps we should take those to another issue.
I'm not able to reproduce an empty file causing twistd web or twist web to exit on startup, even if issuing fails.  Unable to renew certificate for: u'acme-testing-nonexistent.mithrandi.net'
        Traceback (most recent call last):
          File "/home/mithrandi/deployment/virtualenvs/tempenv-286d39431d6/site-packages/treq/client.py", line 80, in _deliverWaiting
            waiter.connectionLost(reason)
          File "/home/mithrandi/deployment/virtualenvs/tempenv-286d39431d6/site-packages/treq/content.py", line 38, in connectionLost
            self.finished.callback(None)
          File "/home/mithrandi/deployment/virtualenvs/tempenv-286d39431d6/site-packages/twisted/internet/defer.py", line 459, in callback
            self._startRunCallbacks(result)
          File "/home/mithrandi/deployment/virtualenvs/tempenv-286d39431d6/site-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/home/mithrandi/deployment/virtualenvs/tempenv-286d39431d6/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/home/mithrandi/deployment/virtualenvs/tempenv-286d39431d6/site-packages/txacme/client.py", line 593, in repoll
            raise AuthorizationFailed(authzr)
        txacme.client.AuthorizationFailed: AuthorizationFailed(<Status(invalid) Identifier(typ=IdentifierType(dns), value=u'acme-testing-nonexistent.mithrandi.net') [Error(typ=u'urn:acme:error:connection', title=None, detail=u'DNS problem: NXDOMAIN looking up A for acme-testing-nonexistent.mithrandi.net')]>)

Trying to hit the server with curl during or after this process provokes the txsni bug, but this doesn't cause anything other than some harmless log messages as far as I can tell. Were you using the latest txacme and Twisted versions from PyPI, or something else?


Add hover effect on rating

Please add hover effect on stars

have anyone found the solution for adding hover effect?

I had the same problem and fixed it :
You can set initial state like this: tempRate: null and use onStarHover props to set tempRate value.
So, in StarRating component set the value props like this : value={tempRating ? tempRating : rating}.
I hope solve your problem.

Hover Example - https://codesandbox.io/s/tailwind-star-rating-heroicons-lixtc?file=/src/App.js


Image Size

const fs = require('fs')
const bmp = require('bmp-js');

const buffer = fs.readFileSync('./exampleImages/windows95.bmp')
const data = bmp.decode(buffer)

const outBuffer = bmp.encode(data)
fs.writeFileSync('test.bmp', outBuffer.data)

console.log(buffer.byteLength, data.data.byteLength, outBuffer.data.byteLength)

OUTPUT:
129078<PHONE_NUMBER>54

almost a 3x increase!

yes，your bmp file encoding with 8bit maybe，due tobmp-js's default encoding is 24bit，so you get 3x increase of bytes

@hipstersmoothie sorry about it. I writed 24bit encoding as default encoding,not write other mode.but you can write other encoder for it.

do you think the current encoder could be extended to do 8 and 16 bit? or is it pretty hard coded to 24?


Update requirements.txt to bump up econml to 0.13.0

Description
Update requirements.txt to bump up econml to 0.13.0
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1499 (f06bb14) into main (a34530c) will decrease coverage by 11.98%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1499       +/-   ##
===========================================
- Coverage   87.57%   75.58%   -11.99%
===========================================
  Files         110       10      -100
  Lines        5093      258     -4835
===========================================
- Hits         4460      195     -4265
+ Misses        633       63      -570

Flag
Coverage Δ

unittests
75.58% <ø> (-11.99%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ponsibleai/databalanceanalysis/balance_measures.py

...onsibleai/_tools/shared/attribute_serialization.py

...tabalanceanalysis/distribution_balance_measures.py

.../responsibleai/_managers/error_analysis_manager.py

responsibleai/responsibleai/managers/__init__.py

raiwidgets/raiwidgets/__init__.py

...iwidgets/raiwidgets/model_performance_dashboard.py

...sponsibleai/responsibleai/rai_insights/__init__.py

erroranalysis/erroranalysis/_internal/__init__.py

raiutils/raiutils/dataset/__init__.py

... and 90 more

Continue to review full report at Codecov.

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


(ＷＡＴＣＨ VIDEO𝕊) Viral! Ms sethi ᴠɪᴅᴇᴏ ʟᴇᴀᴋᴇᴅ Circulates on X and Telegram

The recent surge of interest surrounding Ms sethi latest video showcases the massive impact that viral moments can have on a digital creator’s reach. As a rising figure in Original media, her innovative approach and unique content—most notably her recent Spiderman-themed video—are driving vibrant discussions and enthusiasm on platforms like Instagram, X (formerly Twitter), and Discord. This viral wave highlights how quickly content can elevate creators to new levels of visibility, fostering strong connections between them and their audiences. Social media continues to be a powerful tool, propelling creators into the spotlight and keeping fans eagerly anticipating their next moves.


refactor: use LazyLock for the config

LazyLock makes it into std lib with the upcoming release.
Generally, this adds a nice way to handle the config of an application, I think.
Edit:
The current solution might be sufficient as the config is handled pretty early already and evaluated with the args into the parameters of a run. It's not like it is heavily coupled and needs to be passed around as additional argument.
The draft atm adds a clone of the config struct. It should be possible to solve it using a lazy locked mutex.

@tobealive
What about the branch; shall it be kept in the repository or can it be removed?


Response show Query

Response include queries

how can i remove it?

Code snippet of problem
System details

Laravel Version 6
Laravel-Datatables Version 9

The queries output is only if debug is turned on in your app using the APP_DEBUG environment variable, turn off debug in production and it'll never show.


[VBE] Graphics 4MB memory limit

Buffer can be more 4 MB or very much less than 4 MB so we have to take care of size before updating the main buffer.
//File: Atomix.Kernel_H.drivers.video.VBE.cs
public static void Update()
{
#warning *4MB* is not good size
    //Copy 4MB of data from Secondary Buffer to Virtual Frame Buffer
    Core.AssemblerCode.Add(new Mov { DestinationReg = Registers.ESI, SourceRef = "static_Field__System_Byte__Atomix_Kernel_H_drivers_video_VBE_SecondaryBuffer", SourceIndirect = true });
    Core.AssemblerCode.Add(new Mov { DestinationReg = Registers.EDI, SourceRef = "static_Field__System_Byte__Atomix_Kernel_H_drivers_video_VBE_VirtualFrameBuffer", SourceIndirect = true });
    Core.AssemblerCode.Add(new Mov { DestinationReg = Registers.ECX, SourceRef = "0x100000" });
    Core.AssemblerCode.Add(new Cli());
    Core.AssemblerCode.Add(new Literal("rep movsd"));
    Core.AssemblerCode.Add(new Sti());
}

Paging.cs
Function: AllocateMainBuffer and AllocateSecondayBuffer


Check for FORCE_AWKWARD1 to point dependency at awkward v1

Coffea 0.7.x needs awkward 1, so it's useful to be able to install serviceX without bringing along conflicting
versions.

As a general question, why do we depend on awkward in the ServiceX client at all? Client-side data type conversion?

@gordonwatts this is a proposed change to the 2.0 frontend... what do you think?

Alternatively, Gordon proposed this:
https://github.com/ssl-hep/ServiceX_frontend/issues/390

Do we intend any further v2 client changes? Should we just close this now?


Add assigncommand tests

This tests includes AssignCommandTest.java and AssignCommandParserTest.java

Same as issue #143 , Completed in #163


backspace and arrow keys not handled by ImGui

Typing backspace, or tab has no effect on ImGui interface, including text fields.
Arrow keys also do not effect the cursor.

Fixed in commit 6c5f4ac


chore: update all hashicorp/aws versions from 4.67 to 5.44

Combination of the following PRs created by

[ ] #2905
[ ] #2906
[ ] #2907
[ ] #2913

In order for this PR to be merged the following conflict needs to be resolved:
Here's some documentation that might be useful: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-5-upgrade#resourceaws_wafv2_web_acl
module.arpa_audit_report_security_group.random_id.rule_change_forces_new_security_group[0]: Refreshing state... [id=5TVm]
Error: Unsupported block type

  on .terraform/modules/website.waf/rules.tf line 364, in resource "aws_wafv2_web_acl" "default":
 364:             dynamic "excluded_rule" {

Blocks of type "excluded_rule" are not expected here.

Error: Unsupported block type

  on .terraform/modules/website.waf/rules.tf line [36](https://github.com/usdigitalresponse/usdr-gost/actions/runs/8622653276/job/23634379794?pr=2922#step:15:37)4, in resource "aws_wafv2_web_acl" "default":
 364:             dynamic "excluded_rule" {

Blocks of type "excluded_rule" are not expected here.

Error: Unsupported block type

  on .terraform/modules/website.waf/rules.tf line 364, in resource "aws_wafv2_web_acl" "default":
 364:             dynamic "excluded_rule" {

Blocks of type "excluded_rule" are not expected here.

Error: Unsupported block type

  on .terraform/modules/website.waf/rules.tf line 364, in resource "aws_wafv2_web_acl" "default":
 364:             dynamic "excluded_rule" {

Blocks of type "excluded_rule" are not expected here.

This is going to cause a cascade of dependency updates which is going to be a larger change. We are not going to prioritize this at the moment.


cut a release

I want to depend on this library and if I want to deploy my library to clojars I can't include rcf in the pom because maven doesn't support git packages like deps.edn does. Asking end users to include it by hand is pushing the burden onto the end user.
AFAIU rcf can't be included as a test dependency since the implementation code requires it into its namespace and uses at least the tests macro. So I have to include it as a runtime dependency whether the tests are run or not. For that reason I'd like to see a release, even marked as alpha, doesn't matter. Is that reasonable?
Thanks!

Will do, sorry about that, it's been on the todo list for a while

Does anyone have a recommended tools.build plugin for this? We may just write the pom.xml by hand

@seancorfield's build-clj looks really nice tho I haven't had a chance to use it yet.

@seancorfield's build-clj looks really nice tho I haven't had a chance to use it yet.

Feel free to ask Qs about it -- and take a look at https://github.com/seancorfield/honeysql for an example of a clj/cljs project that automatically builds a JAR and releases it to Clojars when a release is cut on GitHub (via GitHub Actions -- it also pushes a SNAPSHOT release on every commit that passes the test suite).

The stable version of RCF is released: com.hyperfiddle/rcf {:mvn/version "20220405"}
Sean we're using your build-clj, thank you!


Merge release to master

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/gooddata-public-demos/job/gooddata-public-demos-validation/76/ : SUCCESS in 14s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-oss-check/87/ : SUCCESS in 5s

Sonar scan result

No issue found. Congratulations!

More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gooddata-public-demos-gate-PR35
To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/gooddata-public-demos/job/gooddata-public-demos-validation/77/ : SUCCESS in 7s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-merge-compliance-check/34/ : SUCCESS in 24s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-sonarqube-scan-zuul-gate/32/ : SUCCESS in 34s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-fossa-scanning-zuul-el7/32/ : SUCCESS in 1m 28s (non-voting)


Kafka ACL username does not allow to contain periods, service_user does

Hi
I wanted to ask, if its in purpose that the aiven_kafka_acl username does not allow periods. eg: user.name
But at aiven_service_user username periods are allowed.
Is this restriction because of kafka?
Thank you very much for your help.
Best regards
Flo

Hi @FloHeinle, aiven_service_user applies to any service type on the Aiven platform, and it has more loose requirements when aiven_kafka_acl is more specific for Kafka, and yes - it has these restrictions because of Kafka.

Hi @ivan-savciuc, thank you very much for clarification.


gps tfusion

Hi @kushangPango, I am going to close this since this looks like something you are working on for yourself rather than trying to get it merged here.


set working directory for node

As far as I know there is no command line option for node to change the work dir.
Only way to change it is to { cwd: 'path'} variable in execa options. This api cant pass this option to execa, right? Or am I missing something?

@Xenorage happy to add that as a SpawnOption, was trying not to expose the internals of execa.

Thx, that would be great! Was thinking to do it myself but I'am lazy :P
Should be implemented so you can pass all exaca options. Who knows what people will need...

@Xenorage specific process spawn options interfere are not compatible with the specific protocol transport method, which is why I didn't just assign the options or expose everything.  I'm open to rethinking how to do this to make it more flexible, I've trying to keep the layers of this library separate, majority of the actual code is in @tracerbench/protocol-transport which has no expectations of environment, can be used in a browser or node or whatever runs JS and can adapt something to the message-transport interface.


YARN-11052. Improve code quality in TestRMWebServicesNodeLabels

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 46s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
36m  0s

trunk passed

+1 :green_heart:
compile
1m 15s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m  4s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 51s

trunk passed

+1 :green_heart:
mvnsite
1m  6s

trunk passed

+1 :green_heart:
javadoc
0m 57s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 47s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
2m  7s

trunk passed

+1 :green_heart:
shadedclient
23m  4s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 55s

the patch passed

+1 :green_heart:
compile
0m 56s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 56s

the patch passed

+1 :green_heart:
compile
0m 49s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 49s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 37s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 7 new + 1 unchanged - 1 fixed = 8 total (was 2)

+1 :green_heart:
mvnsite
0m 52s

the patch passed

+1 :green_heart:
javadoc
0m 40s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 36s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 54s

the patch passed

+1 :green_heart:
shadedclient
20m 43s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
96m 34s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

192m 30s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3812

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux b6d9a3114695 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 09918451db43f608b7f3432c8c5d2a91ad98bcd1

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/1/testReport/

Max. process+thread count
945 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 46s

trunk passed

+1 :green_heart:
compile
1m  5s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 58s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 47s

trunk passed

+1 :green_heart:
mvnsite
1m  4s

trunk passed

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 54s

trunk passed

+1 :green_heart:
shadedclient
20m 58s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 52s

the patch passed

+1 :green_heart:
compile
0m 56s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 56s

the patch passed

+1 :green_heart:
compile
0m 50s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 50s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 39s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 4 new + 1 unchanged - 1 fixed = 5 total (was 2)

+1 :green_heart:
mvnsite
0m 54s

the patch passed

+1 :green_heart:
javadoc
0m 39s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 37s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 57s

the patch passed

+1 :green_heart:
shadedclient
20m 57s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
96m 27s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

187m 36s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3812

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 1e3874009449 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / a23435aa455c775dd31f434548fcc0ed4b970466

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/2/testReport/

Max. process+thread count
995 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 43s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 56s

trunk passed

+1 :green_heart:
compile
1m  5s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
0m 58s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 49s

trunk passed

+1 :green_heart:
mvnsite
1m  4s

trunk passed

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 52s

trunk passed

+1 :green_heart:
shadedclient
21m  5s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 55s

the patch passed

+1 :green_heart:
compile
0m 58s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
0m 58s

the patch passed

+1 :green_heart:
compile
0m 49s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 49s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 38s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 3 new + 1 unchanged - 1 fixed = 4 total (was 2)

+1 :green_heart:
mvnsite
0m 52s

the patch passed

+1 :green_heart:
javadoc
0m 43s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
0m 38s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 54s

the patch passed

+1 :green_heart:
shadedclient
21m 36s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
145m 45s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-server-resourcemanager in the patch passed.

-1 :x:
asflicense
0m 32s
/results-asflicense.txt
The patch generated 1 ASF License warnings.

237m  0s

Reason
Tests

Failed junit tests
hadoop.yarn.server.resourcemanager.TestClientRMService

hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerQueueACLs

hadoop.yarn.server.resourcemanager.TestApplicationACLs

hadoop.yarn.server.resourcemanager.security.TestClientToAMTokens

hadoop.yarn.server.resourcemanager.security.TestAMRMTokens

hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriorityACLs

hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerQueueACLs

hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerUtils

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3812

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux b361f2cf753a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / ad405a23112b7c11cfe0b8306d0b9701480b26b7

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/3/testReport/

Max. process+thread count
946 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 55s

trunk passed

+1 :green_heart:
compile
1m  6s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
0m 57s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 47s

trunk passed

+1 :green_heart:
mvnsite
1m  4s

trunk passed

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
0m 47s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 54s

trunk passed

+1 :green_heart:
shadedclient
21m  4s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 53s

the patch passed

+1 :green_heart:
compile
0m 57s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
0m 57s

the patch passed

+1 :green_heart:
compile
0m 47s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 47s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 37s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 3 new + 1 unchanged - 1 fixed = 4 total (was 2)

+1 :green_heart:
mvnsite
0m 53s

the patch passed

+1 :green_heart:
javadoc
0m 38s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
0m 38s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m  0s

the patch passed

+1 :green_heart:
shadedclient
23m  3s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
96m 32s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 34s

The patch does not generate ASF License warnings.

200m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3812

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux d2ec8fee620d 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / ad405a23112b7c11cfe0b8306d0b9701480b26b7

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/5/testReport/

Max. process+thread count
960 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/5/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 44s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 34s

trunk passed

+1 :green_heart:
compile
1m  8s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 59s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 47s

trunk passed

+1 :green_heart:
mvnsite
1m  4s

trunk passed

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 47s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 54s

trunk passed

+1 :green_heart:
shadedclient
20m 59s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 54s

the patch passed

+1 :green_heart:
compile
0m 59s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 59s

the patch passed

+1 :green_heart:
compile
0m 50s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 50s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 38s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 7 new + 1 unchanged - 1 fixed = 8 total (was 2)

+1 :green_heart:
mvnsite
0m 54s

the patch passed

+1 :green_heart:
javadoc
0m 41s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 39s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 55s

the patch passed

+1 :green_heart:
shadedclient
21m  6s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
111m 45s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 34s

The patch does not generate ASF License warnings.

203m  7s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3812

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 78df972274e8 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / c2ecd1f3f37b58a2be754d5bbb5faec71bfe3c35

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/6/testReport/

Max. process+thread count
991 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3812/6/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thanks @szilard-nemeth for the contribution. Thanks @goiri and @brumi1024 for the reviews. Merged into trunk, closing this PR.


Question: Can I set airflow configuration parameters from the environment?

I am running airflow under a heroku-like PaaS.  Can I somehow use environment variables to specify configuration like the sql_alchemy_conn and broker_url variables?

Funny, I was just looking at this today. As far as I know ConfigParser doesn't support env var interpolation; it has to be coded explicitly.
In the past we've used code like this to do a one-time override with env vars during import:
config = configparser.ConfigParser()

# load config file
config.read_file(airflow_config)

# Check for env vars that overwrite config vars.
# Env vars have the format "airflow_{section}_{key}"
# For example core:sql_alchemy_conn would be overwritten by
# $AIRFLOW_CORE_SQL_ALCHEMY_CONN
for section in config.sections():
    for key, value in config[section].items():
        env = 'AIRFLOW_{s}_{k}'.format(s=section.upper(), k=key.upper())
        if env in os.environ:
            config.set(section, key, os.getenv(env))

However, Airflow already uses a custom ConfigParser that checks for default values, so it might be simpler to add the env var check to its get() method.

I'd approve a PR that does that well. I'm fine env vars having precedence as long as they namespaced in a way that would prevent any collision. There should be an obvious direct mapping with the configuration section and key.
Maybe AIRFLOW__SECTION__VALUE (note the double underscores)


Provide Node.parseTreeNode extension method/property?

Since we have withParseTreeNode (setter) we could also have a getter that avoids us having to write node.origin as ParseTreeOrigin?)?.parseTree or something like that.

Makes sense


coco_karpathy_train.json is broken

Hi! The coco_karpathy_train.json file seems to end up unexpectedly.  The following is at the end of the file:
{"caption": "A clock on a lamp post stands beside a white building with a wood balcony, surrounded by a green bush and a dark shadow.", "image": "train2014/COCO_train2014_000000024019.jpg", "image_id": "coco_24019"}, {"caption": "Two men, one wearing a white shirt and blue jeans, walk down a street lined with metal and concrete fences. A brick pill

Hi, thank you for bringing this to our attention. The issue with the file has been fixed.


Examples directory missing?

The readme mentions "More examples can be found in the examples directory of the source distribution", but I don't see that directory in the repo. Am I looking in the wrong place?

My intention was to provide examples, but the synopsis and documentation seem to have been enough for all these years. You're actually the first to ask about this. I should probably update the document, or would you like to see some specific example?

Specifically, I was looking for information on how to remove a file from a zip archive.  The readme mentions being able to do that, too, and the old rubyforge docs show a #remove_entry method but I don't see that in the newer code.
I can fake it using this code:
Archive::Zip.open(zip_filename, :w) do |zip|
  zip.instance_eval { @entries.reject!{|m| m.zip_path == file_i_want_to_delete} }
end

But that's a really brittle solution that could break in later versions.

A better way is to think of the zip archive like any other file you wish to edit.  The process is to create a new file with the edited content and then delete the old file.
Archive::Zip.open(src_filename, :r) do |src|
  Archive::Zip.open(dst_filename, :w) do |dst|
    src.each do |entry|
      dst << entry unless entry.zip_path == file_i_want_to_delete
    end
  end
end
File.unlink(src_filename)
File.rename(dst_filename, src_filename)

The efficiency of this solution isn't great though because each entry is extracted in memory and then archived again.  Making this operation efficient would require some hackery unfortunately, but at least this solution should work safely.
I haven't tried this code, but see if it works for you.

Thanks, I'll check that out. For the time being I'm doing the even less efficient thing: extract the whole archive to disk, remove the file and archiving it all up again. You can see the madness I have created here.
This work is for a gem I am working on that provides a standard interface to whatever zip/unzipping gems are currently available on your system.


Every time I initiate a request to query the data in the database, I want to delete the last query request. Is there this method?

Every time I initiate a request to query the data in the database, I want to delete the last query request. Is there this method?

比如我每次 input 输入框输入就请求 数据库的查询 然后返回缓存的数据渲染页面，但是有时候 返回的数据不正确，类似我每次发起请求拿接口数据的时候取消之前的请求， 所以我想问的是 如何保证我频繁请求查询数据库的方法， 只发起当前最新的的请求去查询数据库的数据？也就是要每次查询数据库都是返回的最新的查询结果，也就是 我每次发起查询数据库的数据，要删除上次的的查询请求，请问有这个方法么？

For example, every time I enter the input box, I request a query from the database and then return to the cached data rendering page, but sometimes the returned data is incorrect, similar to canceling the previous request every time I initiate a request for interface data, so I want to ask How to ensure that I frequently request the method of querying the database, and only initiate the latest request to query the data of the database? That is to say, every time I query the database, the latest query result is returned. That is, every time I query the database data, I want to delete the last query request. Is there this method?


⚠ Bofrost.de has degraded performance

In 643d6bd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1453 ms

Resolved: Bofrost.de performance has improved in 9b6859c after 55 minutes.


Does TALON database contain the alignments ?

 I may have used the non-TranscriptClean alignments to build the database (somehow?). It was a while ago and my notes aren't terribly clear as I've lost the config file I used to read in the alignment files.
I wanted to confirm this by reading in the database in Python and querying but wasn't even sure if it keeps the original alignments or just keeps annotations assigned to each read.

Partially related is there a way to keep the Q-scores in the sam/bam files after TranscriptClean?

Does the read_length column in the talon_read_annot files give the length of the original alignment?
The read_start and read_end doesn't match the length. So was confused by this.  It looks like the read length stored is the raw query length from your alignment files. The read start and read ends look like they're genomic coordinates, so they wouldn't represent the total read length anyway due to splicing. I think your best bet is probably just to check if your query read lengths are the same as what's reported in the read_annot file.

TY I'll see what I can gather.


Properly parse big integer

Hi !
I encountered an error in parsing big integer.
For example, 123.45E4 is integer and this should be parsed as 1234500 but this fails.
Rust cannot parse 123.45E4 as integer but can parse as float.
So with this change, we at first accept data as float and then cast it as integer.

Hi Komi. Sorry for this late answer, i was in PTO. I don't think this PR completely corrects the problem. What happens with an integer near i64: MAX? It would be better to try parsing the number as i64 and if that fails try parsing it as f64, then convert it to i64. Thus big integers do not lose in precision.

Definitely! I tried to parse big integer as f64 but something goes wrong.
I'll fix as you pointed out.
Thanks !


Laravel 10 support

The dependencies conflict with Laravel 10.
I am still learning about how resumable uploads work and I don't know enough about this package to know if a simple dependency update would break anything.
Thanks.

Currently we haven't tested it on Laravel 10, in fact we are pinning to Laravel 9. That's why Composer is telling that you cannot install it with Laravel 10. As of know I don't see required changes to support Laravel 10 except allowing it in composer.json. Would you be so kind to help us by submitting a pull request with that changes and test it?

Hi @avvertix, I’ll go ahead and create a PR for this tomorrow morning UTC. ✌


How to know the OSDM version of the caller/requestor ?

Hello,
Is it a way to know the OSDM version of the caller/requestor?
And vice versa, is there a field in the header (for example) to give the OSDM version used ?
Best regards,
Nicolas A.

Hello,
currently there isn't any indication of called or provider API version. There are few versioning improvements opened but that were not discussed currently in detail.
Ideally, any provider should support two latest major versions, e.g. now 2.x and 3.x, and soon 3.x and 4.x with possibility to enforce version using versioning header in request Content-Type header Accept: application/json; profile="https://osdm.io/3.4" or Accept: application/vnd.uic.osdm+json; version=3.4


Move code cells in jupyter notebook by pulling

It'd be nice if we could move cells associated by levels( please forgive me if it's not the right terminology) pulling them from the left side bar.
For example, all cells below a  # or a ##, etc... around my pulling them, up and down. This can be seen in the attached image, where it'd be nice if I could that set of parse_l cells to below parse_c and above sc.

You can move cells by dragging and dropping, does that not work for you?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Investigate alternatives to Mermaid

Mermaid is great for creating diagrams in Markdown files. However, it's not very well packaged for most SSGs, including Astro and Sphinx.
We currently use rehype-mermaidjs to extract Mermaid diagrams and display them. This package has the following issues:

It depends on playwright to loop through the diagrams and convert them to SVGs. This dependency is very large and leads to multiple failures in deployments
The resulting diagrams can't be globally themed, which results in issues when switching to dark themes.

Given that diagramming in Mermaid is something fairly new to our writers, we may instead consider simply creating diagrams in draw.io and storing the code for these diagrams in the repository to make changes simpler. There is a very good VS code extension which facilitates this process very nicely.
Breaking our dependency on Mermaid also enables us to make use of Astro's upcoming optimized assets support to serve diagrams much more efficiently.

After discussions with KK, we've decided that using Figma to draw these is going to fit our workflow and l10n flow best. Assets will be served using Astro's Image syntax as outlined.


My computer turned off the display, when I came back this error was on screen

Microsoft PowerToys version
0.77.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Unfortunately I'm not sure what the steps to reproduce are. This happened while I was away from my computer. The display had turned off.
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.22631.0
IntPtr Length: 8
x64: True
Date: 9/4/2024 05:53:54
Exception:
System.Runtime.InteropServices.COMException (0x80263001): {Desktop composition is disabled} The operation could not be completed because desktop composition is disabled. (0x80263001)
   at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
   at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

2024-09-04.txt
✔ Expected Behavior
To not get an error popup while I was away from my desk
❌ Actual Behavior
I got this error popup while I was away from my desk
Other Software
Windows 11
OS build: 22631.3958
Version: 23H2
Experience: Windows Feature Experience Pack 1000.22700.1026.0

Duplicate of #33211


How to set  breakpoint to debug the react extension in vscode?

Set  breakpoint to debug is more powerful than Console.log, is there has a method to achive it.  I search google, youtube.. but I can find a useful info.

Same here, debug doesn't work for me. Either on the localhost:3000 and chrome extension.

+1
I don't see the points of using these templates when debugging isn't available. Complexity comes with debuggability tradeoffs.


main

Feel free to add a description of what you haveaccomplished so far.As a reminder,you have: created a branch, created a file and made a commit, and opened a pull request

gvh


hotfix: replace biomart with PRIDE API

The PRIDE BioMart will be retired by the end of this year. This PR replaces the BioMart API call with a similar PRIDE API call.
This can't be merged yet, because the API call we're using isn't in production yet. This should be the case by the end of november and can be checked at http://www.ebi.ac.uk/pride/ws/archive/.
There currently isn't a way to load all peptides at once, so we just use a very big number. The PRIDE people warned us about this:

To get all results at once (although we would discourage this use), you
have to use a high enough value or the value of the result count, which
you can get with /peptide/count/assay.
Although it might be possible to download all peptides at once, this is
a much heavier operation than with the pages result. We did not have
very good experiences with it. You may run into timeouts or our server
into memory issues. If we notice that this kind of requests cause
problems on our side, we may forbid them and set a maximum limit.

Since PRIDE has a proper API, we could do the call from JavaScript instead of using the unipept server as a proxy. (#434)
Original pull request by @bmesuere on Wed Nov 19 2014 at 13:39.
Merged by @bmesuere on Mon Dec 01 2014 at 16:44.

email from 20 november:

Hi Bart,
just to let you know: our new web service has gone live today.
We have not moved the full stack of our new applications, so there is
still a small chance that some issue may force us to revert this, but I
guess that can always happen.
We will retire the BioMart service this year (as we have a hard deadline
by end of December). However, due to people going on holiday that can
happen a lot sooner.
You don't have to switch your production services within the next two
weeks or so (and I would probably wait a week or two), but please let us
know when you feel ready to switch.

Original comment by @bmesuere on Tue Nov 25 2014 at 10:37.


how to hide db password for jdbc input

oracle db password is in plaintext, how to hide?

#127 will resolve this by using environment variables


Improve private data logging

Changed following warning to debug message:
WARN The PvtRwset of PvtSimulationResultsWithConfig for txID [...] is nil. Skipping.
In v2.x peer attempts to retrieve private data from transient store one collection at a time.
If peer is eligible for multiple collections in a transaction,
and each transient store entry has one collection,
some of the retrieved records will have all collections filtered out and therefore the above message
is expected in v2.x and should not be a Warning (in v1.x this should not happen
since each transient store record was filtered against ALL eligible collections, therefore it
was a legitimate unexpected Warning message in v1.x).
Suppressed the following confusing message when there IS NO private data in a block:
INFO Successfully fetched all eligible collection private write sets for block [31]
When there IS private data in the block, replaced the message with a more useful message like this:
INFO Successfully fetched all 2 eligible collection private write sets for block [35] (0 from local cache, 1 from transient store, 1 from other peers)
And if peer can't fetch all the private data in a block, you'll now get this message:
WARN Could not fetch all 2 eligible collection private write sets for block [36] (0 from local cache, 1 from transient store, 0 from other peers).
Will commit block with missing private write sets.
Finally, removed some of the redundant or not useful debug messages.
Signed-off-by: David Enyeart<EMAIL_ADDRESS>

@Mergifyio backport release-2.2


Allure cross browser reports

Hello,
I'm not sure if this is the right place to ask this question - please redirect me if not!
We are using the allure reports with our tests, and its working really well.
We run the same tests against multiple browsers.
I was wondering if anyone could share an approach for this - should we be creating one report per browser? Is there anyone to have one report that shows each test run against multiple browsers?
Thanks,
Dave

Hi,
IMO your choice should depend on multiple things. That's a good idea to have a relatively small report so it's possible to investigate it fast. So if you have 10000 cases for each browser I would generate separate reports. If that's not the case simply use @Features or @Stories to group cases by browser.

btw you can use our gitter chat (https://gitter.im/allure-framework/allure-core) or stackoverflow for such questions)

Thanks guys - i'll raise on future questions on SO or gitter in future


Install fails on Mac

OS and version used: Mac

Python runtime used: Any

SDK version used: Current

Description of the issue:
No way to use the python SDK on mac.
No package and can't build it.
ANDYs-MBP:iot-data-open-hack andyluong$ pip install azure-iothub-service-client
Collecting azure-iothub-service-client
  Could not find a version that satisfies the requirement azure-iothub-service-client (from versions: )
No matching distribution found for azure-iothub-service-client
ANDYs-MBP:iot-data-open-hack andyluong$

Still a problem:
$ pip install azure-iothub-service-client
Collecting azure-iothub-service-client
Could not find a version that satisfies the requirement azure-iothub-service-client (from versions: )
No matching distribution found for azure-iothub-service-client
$ pip --version
pip 10.0.1 from /anaconda3/lib/python3.6/site-packages/pip (python 3.6)


 The .dll is failing to be loaded.

Is it working now ?


Add LTR/RTL support to locales

To simplify working with locales, KeyboardLocale and Locale should have more properties for detecting LTR, RTC, Top-to-bottom and Bottom-to-top directions.

This can be tested in master


feat: Update start over warning modal copy

Summary
Resolves #164.
Implementation details
Simply updates the copy in the "Start Over" warning modal.

How to validate this change
Record a journey, then click "Start Over" and see the updated copy in the modal.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-04-21T19:29:20.796+0000

Duration: 15 min 53 sec

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

The label for the Delete and start over button to be Start over

Thanks for noticing that, I've updated the copy.


Fix EntityCommandElement parsing of playernames, tab completion, and …

…selectors.;
Fixes https://github.com/SpongePowered/SpongeAPI/issues/1294

@zml2008 Can you please review this

Please update the target branch to bleeding (Edit this PR and change the target branch) and reopen.

For what it's worth @Deamon5550 I can not re-open this branch, will need to be done by someone on Sponge's side.

I know this is still a problem so could you update this when you have a chance?


Specs Export button doesn't work in Sketch 63.1

No reaction on the Export button

This modal is not even launching for me in Sketch 63.1 @utom please address!


Add C3 support

I am honestly tired of doing this just to know that randomly at some point, for no predictable reason, GitHub will suspend my account, whether at 6 PM or 10 PM. I probably should go change my main email to something that isn't outlook before they delete my account again.
Also, the accounts with the default profile is because it can't find the profile of my suspended account.
Checklist:

[X] I am adding a new language.

[X] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

.c3: https://github.com/search?q=(path%3A*.c3)+AND+fn+AND+(module+OR+macro+OR+io%3A%3A+OR+import+OR+struct+OR+extern+OR+usz)+AND+NOT+owner%3Ac3lang+NOT+is%3Afork&type=code
.c3i: https://github.com/search?q=(path%3A*.c3i)+AND+fn+AND+(module+OR+macro+OR+io%3A%3A+OR+import+OR+struct+OR+extern+OR+usz)+AND+NOT+owner%3Ac3lang+NOT+is%3Afork&type=code
.c3i: https://github.com/search?q=(path%3A*.c3t)+AND+fn+AND+(module+OR+macro+OR+io%3A%3A+OR+import+OR+struct+OR+extern+OR+usz)+AND+NOT+owner%3Ac3lang+NOT+is%3Afork&type=code
All: https://github.com/search?q=(path%3A*.c3+OR+path%3A*.c3i+OR+path%3A*.c3t)+AND+fn+AND+(module+OR+macro+OR+io%3A%3A+OR+import+OR+struct+OR+extern+OR+usz)+AND+NOT+owner%3Ac3lang+NOT+is%3Afork&type=code (596 files... in 4 seconds...)

[X] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

The C3 standard library, all of it.

Sample license(s):

MIT (the compiler is licensed under LGPL, however)

[X] I have included a syntax highlighting grammar: [URL to grammar repo]
[X] I have added a color

Hex value: #7C3AED
Rationale: It's the end of the gradient of the C3 logo from the C3 website. See c3lang/c3-web/public/logo.svg#17

[X] I have updated the heuristics to distinguish my language from others using the same extension.

"Hey, we don't support this query when searching in X mode, would you like to search in X mode instead?"

Some files seem to be using .c3t as a JSON file (in the context of 3D / 2D models?). I think maybe later JSON should have C3T as a file, but that does mean that this would need heuristics.

This is the search that should get most of the C3T files being used as JSON Models:
https://github.com/search?q=(path%3A*.c3t)+AND+{+AND+(id+OR+version+OR+(meshes+AND+attributes))+NOT+is%3Afork&type=code


Zombie processes from key_bindings commands execution

Which operating system does the issue occur on?
OS X 10.12.6 (16G29)
My alacritty.yml configuration contains such strange thing:
key_bindings:
  - { key: LBracket, mods: Command|Shift, command: { program: "/usr/local/bin/tmux", args: ["prev"] } }
  - { key: RBracket, mods: Command|Shift, command: { program: "/usr/local/bin/tmux", args: ["next"] } }

Each time I trigger command execution with Cmd+Shift+[ or ] I'm getting more and more zombie processes of tmux in my system. Unfortunately I have very small ulimit on processes (1000 hard) and after some time I'm hitting fork error in all shell windows. Re-launching alacritty works (all processes are collected by system on alacritty exit). Seems that alacritty doesn't wait for spawned processes.
If you need any additional information or debug logs, feel free to ping me here.
Thanks.

I still have this issue. macOS High Sierra 10.13.4 (17E199) and latest alacritty from github.

The fix from @jwilm was to run the process as a daemon, it might be possible that this is not supported on MacOS or has a different syntax.
Instead of setting up the command as a daemon, it should be possible to wait for the child, which will read the exit status and free the zombie process for reaping.
The method is documented here: https://doc.rust-lang.org/std/process/struct.Child.html#method.wait
The issue with this would be that alacritty has to keep track of the process and probably spawn a new thread for waiting on the output. But if that works and daemon mode does not, it's probably an improvement.

Not really a solution to the issue, but this can be worked around. Here's a small snippet from my config:
  - { key: Key1,     mods: Command,       chars: "\x01\x31" }

This makes pressing Cmd-1 send C-a 1, which my tmux recognises (C-a is my tmux prefix). You can rewrite all your tmux bindings in alacritty config to send raw char data instead of invoking tmux processes.
To see character codes, you can use xxd:
$ xxd -psd
^A1
01310a

I know that @zacps has added ignored the daemon mode in his Windows PR (only when built on Windows). So currently there's the Windows version (I think it's just spawned without awaiting), the Linux version where it's spawned as daemon and it works and the MacOS version where it's spawned as daemon and does not work.
As far as I know the wait call should be present on all platforms (correct me if I'm wrong please), so that might still be a good option. Alternatively it's probably possible to orphan the spawned process to allow init to wait for the process to exit.


OpenAI - Need to generate FromResponse methods in serialization

https://github.com/joseharriaga/openai-in-typespec/blob/main/.dotnet/src/Generated/Models/AssistantThread.Serialization.cs#L207-L211

We generate this as an explicit cast so we don't need the static method.


[Core] Improve OperationHelpers

Currently our OperationHelpers class doesn't do much, and Long-Running Operation classes in general are very repetitive. Most of the logic could be shared.
Goals

Move repetitive bits to the OperationHelpers class.
If possible, write OperationHelpers in a way that ensures thread-safety (related discussion).
Implement the polling in a way that:

The default polling time can be overwritten individually by each operation type.
The default polling time can be set to zero by our test framework to improve playback runs. If possible, avoid Reflection.
Look for the retry-after property returned by the service when deciding the next polling time.

Make sure all Track 2 data plane libraries with LROs make use of the new OperationHelpers whenever possible. All these libraries are exhaustively listed below.
Consider:

Keeping OperationHelpers as an extension class.
Making OperationHelpers as part of the Azure.Core library.
Implementing the OperationHelpers functionality as part of the abstract Operation<T> class.

Track 2 data plane libraries that make use of LROs

FormRecognizer
KeyVault.Administration
KeyVault.Certificates
KeyVault.Keys
KeyVault.Secrets
MixedReality.RemoteRendering
Storage.Blobs
Synapse.Spark
TextAnalytics

Suggestion: we can use the ArmOperationHelpers class used by the resource manager libraries as a reference. Their LROs seem to follow a stricter pattern than the ones used in data plane libraries, so it may be a bit harder on our side.

+1 on checking the Retry-After header, which Key Vault does send and we're not using currently.


[web] Some buttons not working when compiling with dart2js

Piggybacking off troubleshooting/discussion in #32347, I'm experiencing the following issues with buttons when I compile with dart2js / webdev serve -r (with or without minify), and not seeing any errors in Chrome Dev Tools console:

CheckboxListTile won't check
Can click (InkWell appears) but nothing happens

IconButtons in CheckboxListTile.secondary or ListTile.trailing
CloseButton in AppBar.leading

Well, I think I know why CloseButton isn't working, since it's not working when I compile with DDC either:
class CloseButton extends StatelessWidget {
  /// Creates a Material Design close button.
  const CloseButton({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return IconButton(
      icon: const Icon(Icons.close),
      tooltip: MaterialLocalizations.of(context).closeButtonTooltip,
      onPressed: () {
        // TODO(ferhat): wire up once Navigator is moved in
        // Navigator.maybePop(context);
      },
    );
  }
}

I think Navigator.maybePop(context); can be uncommented now, yes?

Should be fixed now.


TwigSourceParser stack overflow error

I have a few twig files that I can't open with the Twig plugin installed.
I'm using Zend Studio 9.1 with the Symfony add-on.
The files will throw this error when I attempt to open them...
com.dubture.twig.core.documentModel.parser.TwigSourceParser: input could not be parsed correctly at position 14234
java.lang.StackOverflowError

does this happen on any twig file? if not, can you paste a file where this error occurs?

No, it's really weird... it only started happening on a few twig files.  There is something specific within the file that is making the parser angry; because I tried copying the content to another file and got the same error.  But I wanted to rule out any kind of file corruption.
This is the code that causes the error...
http://pastebin.com/abNA28Fa

i can reproduce it with that template. it's still weird though, as soon as i remove a single line somewhere the error is gone. investigating...


Add .NET 4.7 sample

Changed approach for directory structure.
Adopted .NET Core CLI compatible project format.
Reliant on https://github.com/Microsoft/dotnet-framework-docker/pull/19

I like the proposed directory structure.  Thoughts on refactoring the existing samples to do the same?

cc @MichaelSimons
@richlander  LGTM. Any plan of porting this to dockerhub branch ? I believe there will be a need to update the build definition for building & pushing tags to dockerhub too.

cc @MichaelSimons ,
@richlander , can you respond to my pervious query? Also, who is making the necessary change to build definition to produce 4.7 tag?

good question @rakeshsinghranchi. I am not. I am hoping @mcy94w will do it.
/cc @shirhatti


train and eval on cpu?

hello do you train and eval on cpu?

GPU

where can change the gpu id !!!?

I have only one gpu so did not set this... You need to add this code.


fix broken link

The link of proto dir looks broken.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #13   +/-   ##
======================================
  Coverage    72.5%   72.5%
======================================
  Files          15      15
  Lines         742     742
======================================
  Hits          538     538
  Misses        185     185
  Partials       19      19

Continue to review full report at Codecov.

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


Finish Country Unit Tests

Finish off unit tests for Country endpoint
This is going to be a bit difficult since the JSON that gets returned can change the order its in for some reason which is breaking string comparisons.

This was done some time ago. With the GeoLite 2 redo tests will need to be ripped apart anyway.


Label resources with responsible team for use with alert rules

To aid with writing of Prometheus rules we should expose the "responsible team" label onto pods and similar resources so alerts can be built around those defined teams rather than the current process of excluding metrics based on container names (for example).
First step is to have team name added to all relevant places, e.g.:

Label your chart with the team name https://github.com/giantswarm/prometheus-meta-operator/blob/master/helm/prometheus-meta-operator/Chart.yaml#L8
Propagate this label in helpers https://github.com/giantswarm/prometheus-meta-operator/blob/master/helm/prometheus-meta-operator/templates/_helpers.tpl#L26
Label your resources with it https://github.com/giantswarm/prometheus-meta-operator/blob/e2ce696f4769d5032c12b8[…]92bc677/helm/prometheus-meta-operator/templates/deployment.yaml

(Note: This value shouldn't be used as part of the selector labels as team ownership and names can change, selectors cannot)
Once the values are in place, alerts can be set up to filter based on the value of the label_application_giantswarm_io_team label on the metric. E.g.
We could replace the following:
    - alert: ManagementClusterContainerIsRestartingTooFrequentlyAWS
      expr: increase(kube_pod_container_status_restarts_total{container=~"aws-admission-controller.*|aws-node.*|aws-operator.*|cluster-operator.*|route53-manager.*"}[1h]) > 6
      for: 5m
      labels:
        area: kaas
        severity: page
        team: phoenix

With the more flexible:
    - alert: ManagementClusterContainerIsRestartingTooFrequentlyAWS
      expr: increase(kube_pod_container_status_restarts_total{label_application_giantswarm_io_team="phoenix"}[1h]) > 6
      for: 5m
      labels:
        area: kaas
        severity: page
        team: phoenix

(as a very basic example, this might not be exactly what we'd need for this specific alert)
Finally, once this is done there's likely to be some edge cases to handle - such as where the provider team would want to be alerted rather than the team responsible for the application.

Relevant Slack thread: https://gigantic.slack.com/archives/CLPMFRVU6/p1663940343761819

I've created a follow-up for Atlas here: https://github.com/giantswarm/roadmap/issues/1544


Disable auto-updating of JS bundle for Android

Disable auto-updating of JS bundle for Android

Remove generated/AppConstants.java from .gitignore
Update AppConstants.java to set ARE_REMOTE_UPDATES_ENABLED to false (similar to areRemoteUpdatesEnabled in EXShell.plist for iOS, which was already correct). Also make sure the JS bundle for Android is using the correct Expo version (32 instead of 31).

NOTE: AppConstants.java is initially generated when ejecting to ExpoKit, and is then updated during builds, but, not all app.json properties are reflected to the already initially generated AppConstants.java file, which seems like an Expo bug. (We already did have updates disabled in app.json.) After initial ejection it seems only the embedded response for the embedded JS bundle is updated. This happens during 'expo publish'. That published JS bundle is then embedded as a resource in the app. With this change, the Android app (like iOS) should no longer try to auto-update to JS bundles published after the .apk build completed and the JS bundle was embedded in that .apk.
See: https://trello.com/c/sYiATRO0

 Disable Auto-update, which was turned on in Tidepool Mobile bld 41100


Add abracad.avro/data-file-stream

This parallels the existing data-file-reader in constructucting an
org.apache.avro.file.DataFileStream which is useful for streaming
access to (potentially-remote) files. We've found this useful for reading
files on e.g. S3.

That does look useful! Even though the code looks straightforward, I would like a basic unit test just to prevent regressions during refactoring etc.  If you can add one, I'll merge once you've done so and force-pushed a squashed commit.

I've pushed a first crack at a simple test; happy to revise as necessary!

Merged!  I'll cut a new release in the next day or two.


KAFKA-4596: Throttled Replica Reassignment Error

Fixes a logic error in the Reassignment process which throws an exception if you don't rebalance all partitions.

@ijuma Can you add this to your review list fella

retest this please

Failure doesn't look related:
Test Result (1 failure / +1)
org.apache.kafka.streams.integration.QueryableStateIntegrationTest.queryOnRebalance[0]

Thanks for the updates, LGTM. Merged to trunk and 0.10.2 branches.


Switch to ncipollo/release-action for generating our Nightly releases

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description
Test release can be found here: https://github.com/pajlada/chatterino2/releases/tag/nightly-build
I also made the deb-creation script fall back to version 0.0.0-dev in case no git tag was found - useful for forks that have no tags

I noticed one thing:
In the current main Chatterino the deb file is called Chatterino-x86_64.deb and in the version of the PR source it is called Chatterino.deb


⚠ AsianCinema has degraded performance

In a0b77b8, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 523
Response time: 1614 ms

Resolved: AsianCinema performance has improved in 1738be8.


Remove unused namespaces from Worker template Program.cs

Follow-up to https://github.com/aspnet/AspNetCore/commit/17344cd37f0b43b28c93c58cba667e55bd680624
Original PR: https://github.com/aspnet/AspNetCore/pull/8355

Tests will be added in https://github.com/aspnet/AspNetCore/issues/7974, which is in preview4.

Merging optimistically. This came up from a template review where there was clearly the right change.