Made HardFork action drop all other actions

Description
Fixes #3693
Checklist

[x] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[x] When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
versioning process.
[x] The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
[x] All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
[x] Code is formatted with fourmolu (use scripts/fourmolize.sh)
[x] Cabal files are formatted (use scripts/cabal-format.sh)
[x] hie.yaml has been updated (use scripts/gen-hie.sh)
[x] Self-reviewed the diff

I'm thinking this wouldn't probably work the way I did it. We also somehow have to prevent adding new GAs after HF is ratified.

I'm thinking this wouldn't probably work the way I did it. We also somehow have to prevent adding new GAs after HF is ratified, probably by storing the RatifyStrategy for future epochs.

@Soupstraw It would work, you just haven't implemented it all the way
We need another flag in the enact state that would prevent new proposals whenever Ratify ended with a Drop strategy

I think it will be better to clear out all of the proposals during translation, which will be implemented in the next era after Conway.
It would make a little more sense if we were leaning towards delaying for two epochs, but since now this is changing, dropping proposals at the same time we do a hardfork makes the rule a bit more complicated than it should be.


instructions needed to customize bucket name

I ran athena-cfn.yaml with the default parameters and received an error stating that the bucket name was already taken. We should include a line of instructions to customize the name of the suffix so that it ensures uniqueness.

Can you elaborate? If the BucketName: !Sub "${AWS::StackName}-${SuffixWorkGroup}-${SuffixBucket}"  is already taken, that most likely means that someone has already tried to create this stack.
It may be wiser to tell them to figure out what happened, rather than blindly re-create anohter bucket.
In particular, if the stack failed the previous time without deleting the resources, they should probably clean that up first.


Scope should be configurable

I've been joining a table in BQ, to a federated one (looks like a BQ table, but its actually a Google Sheet). It throws the error: “Encountered an error while globbing file pattern”
I've found I needed to change:
scope = 'https://www.googleapis.com/auth/bigquery'
to:
scope = ['https://www.googleapis.com/auth/bigquery', 'https://www.googleapis.com/auth/drive']
though I suppose with other federated sources, the scope may need to be configurable.

Thanks for the report!
Closing this as a duplicate of https://github.com/pydata/pandas-gbq/issues/38


Firebase Apple 10.21.0 has no privacy manifest in FirebaseCore and Firebase Messaging  framework

Description
When I install Firebase Messaging of version 10.21.0.  I can not find my app has privacy manifest as expected.
Reproducing the issue
No response
Firebase SDK Version
10.21.0
Xcode Version
15.1
Installation Method
CocoaPods
Firebase Product(s)
Messaging
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Hi @wangyunico, this is a duplicate of #11490. Please refer to the aforementioned ticket for the progress. Thanks.


Add print styling for magna charta component

What
Adds display: none to print styling for specific elements within the magna charta bar chart component.
Why
To address a bug raised for print styles where bar charts will duplicate data on print due to the chart element and the original table both being visible.
Visual Changes
Before

After

Card

Whilst the perfect option would be to have printable charts, this is a good improvement - and the perfect shouldn't get in the way of the good shipping.
There's a whole issue about print stylesheets in the design system that's worth a read as well.

Whilst the perfect option would be to have printable charts, this is a good improvement - and the perfect shouldn't get in the way of the good shipping.
There's a whole issue about print stylesheets in the design system that's worth a read as well.

@injms That's a good point. I've made a note to look into this as a little objective to see if I can style it to look pretty and also have a go at applying what the user has picked at the point of pressing print eg: if there are 2 charts and the user switches one to table, the print styles produce 1 table and 1 chart. Until then, it's merge time.

@injms That's a good point. I've made a note to look into this as a little objective to see if I can style it to look pretty and also have a go at applying what the user has picked at the point of pressing print eg: if there are 2 charts and the user switches one to table, the print styles produce 1 table and 1 chart. Until then, it's merge time.


[gitlab] Fix e2e_installer_test_junit_upload job never running

What does this PR do?

Updates the rules of the e2e_installer_test_junit_upload so that it actually runs.
Motivation

The current rules:
  rules:
    - !reference [.except_mergequeue]

expand to:
  rules:
    - if: $CI_COMMIT_BRANCH =~ /^mq-working-branch-/
      when: never

which means the job is never run.
Additional Notes

n/a
Possible Drawbacks / Trade-offs

Check the presence of e2e_installer_test_junit_upload on the PR pipeline.
Describe how to test/QA your changes

/merge


Runtime Error on Deleting Snowflake Procedure After Updating to 0.51.0

What happened?
After updating the Pulumi Snowflake provider from version 0.46.1 to 0.51.0, I am encountering a runtime error when attempting to delete a Snowflake procedure. The error message indicates an "index out of range" issue within the NewSchemaObjectIdentifierFromFullyQualifiedName function.
Very strange since this was working perfectly when I was on 0.46.1.
Example
Here is the output of the logs:
panic: runtime error: index out of range [1] with length 1
    goroutine 555 [running]:
    github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/sdk.NewSchemaObjectIdentifierFromFullyQualifiedName({0x14000c1a2c0?, 0x100c62e18?})
        /home/runner/go/pkg/mod/github.com/!snowflake-!labs/terraform-provider-snowflake@v0.88.0/pkg/sdk/identifier_helpers.go:215 +0x344
    github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources.DeleteContextProcedure({0x102f21398, 0x1400013e5b0}, 0x1400093be00, {0x102a16900?, 0x14000c11738?})
        /home/runner/go/pkg/mod/github.com/!snowflake-!labs/terraform-provider-snowflake@v0.88.0/pkg/resources/procedure.go:703 +0xfc
    github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).delete(0x14000e415e0, {0x102f212f0, 0x14000fb0630}, 0xd?, {0x102a16900, 0x14000c11738})
        /home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20240229143312-4f60ee4e2975/helper/schema/resource.go:834 +0xe8
    github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x14000e415e0, {0x102f212f0, 0x14000fb0630}, 0x14000fb28f0, 0x1400093ba80, {0x102a16900, 0x14000c11738})
        /home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20240229143312-4f60ee4e2975/helper/schema/resource.go:883 +0x470
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Apply({0x1400009d860?, {0x0?, 0x0?, 0x0?}}, {0x102f212f0, 0x14000fb0630}, {0x1024ebb4e, 0x13}, {0x102f21a68?, 0x1400130a0f0}, ...)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.80.0/pkg/tfshim/sdk-v2/provider.go:122 +0x148
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Delete(0x140001f0c80, {0x102f212f0?, 0x14000fb0240?}, 0x1400009ce40)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.80.0/pkg/tfbridge/provider.go:1379 +0x4d8
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Delete_Handler.func1({0x102f212f0, 0x14000fb0240}, {0x102dae9c0?, 0x1400009ce40})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.112.0/proto/go/provider_grpc.pb.go:647 +0x74
    github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x102f212f0, 0x14000f6fec0}, {0x102dae9c0, 0x1400009ce40}, 0x1400067b660, 0x14000beb8f0)
        /home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x2e8
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Delete_Handler({0x102e99220?, 0x140001f0c80}, {0x102f212f0, 0x14000f6fec0}, 0x140000e7400, 0x1400004d0c0)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.112.0/proto/go/provider_grpc.pb.go:649 +0x12c
    google.golang.org/grpc.(*Server).processUnaryRPC(0x14000940000, {0x102f212f0, 0x14000f6fe30}, {0x102f36f40, 0x140012284e0}, 0x14000fa6360, 0x14000f56810, 0x1042b0688, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.62.1/server.go:1386 +0xba0
    google.golang.org/grpc.(*Server).handleStream(0x14000940000, {0x102f36f40, 0x140012284e0}, 0x14000fa6360)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.62.1/server.go:1797 +0xc70
    google.golang.org/grpc.(*Server).serveStreams.func2.1()
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.62.1/server.go:1027 +0x8c
    created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 83
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.62.1/server.go:1038 +0x150

  snowflake:index:Procedure (A_PROCEDURE):
    error: error reading from server: EOF

Output of pulumi about
Dependencies:
NAME               VERSION
@pulumi/gcp        7.18.0
@pulumi/pulumi     3.113.0
@pulumi/snowflake  0.51.0
remeda             1.59.0
@types/node        18.19.31
prettier           3.2.5

The rest is redacted for privacy.
Additional context
Using a custom GCP backend.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

I have also tried to:

delete the resource from state
import it using what's in the docs:

pulumi import snowflake:index/procedure:Procedure A_PROCEDURE 'DATABASE|SCHEMA|A_PROCEDURE|INT'

But I get the same error.
again, specific names redacted for privacy.

I've reproed this with the code at the bottom. I've also found a workaround:
Importing the resource in the following way works:
pulumi import --stack test1 snowflake:index/procedure:Procedure example "db-fbb462f.schema-97c8b1f.proc1(VARCHAR,DATE)"

e.g.
pulumi import --stack test1 snowflake:index/procedure:Procedure example "DB_NAME.SCHEMA_NAME.PROC_NAME(ARG1,ARG2)"

There's a few things going wrong here:

Seems like at some point the TF provider changed the way they identify resources.
The import string is incorrectly specified in both our docs and the upstream TF docs: https://www.pulumi.com/registry/packages/snowflake/api-docs/procedure/#import lists it as 'dbName|schemaName|procedureName|varchar-varchar-varchar', when in reality the code assumes . separated identifiers.
The TF provider handles these errors quite badly, there's quite a few issues upstream about it: https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues?q=is%3Aissue+is%3Aopen+index+out+of+range

Repro code:

Pulumi.yaml:
name: snowflake_panic_yaml
runtime: yaml
description: A minimal Pulumi YAML program
resources:
  db:
    type: snowflake:Database
  schema:
    type: snowflake:Schema
    properties:
      database: ${db.name}
      dataRetentionDays: 1
  proc:
    type: snowflake:Procedure
    properties:
      name: "proc${procName.result}"
      database: ${db.name}
      schema: ${schema.name}
      language: JAVASCRIPT
      arguments:
        - name: arg1
          type: varchar
        - name: arg2
          type: DATE
      comment: Procedure with 2 arguments
      returnType: VARCHAR
      executeAs: CALLER
      returnBehavior: IMMUTABLE
      nullInputBehavior: RETURNS NULL ON NULL INPUT
      statement: |
        var X=1
        return X
  procName:
    type: random:RandomString
    properties:
      length: 10
      special: false

outputs:
  dbId: ${db.id}
  schemaId: ${schema.id}
  procId: ${proc.id}
  procUrn: ${proc.urn}

repro.sh:
#!/bin/bas
set -euxo pipefail

pulumi stack init test1 || True
pulumi up --stack test1 --yes --refresh
eval "$(pulumi stack output --shell)"

pulumi state delete $procUrn --yes --stack test1

pulumi import snowflake:index/procedure:Procedure example "${dbId}|${schemaId}|proc1|VARCHAR-DATE"

I'll raise an issue about patching the docs.

Looks like https://github.com/Snowflake-Labs/terraform-provider-snowflake/pull/2450 changed the id semantics, not obviously intentional.
Reproed it in TF:

terraform {
  required_providers {
    snowflake = {
      source  = "Snowflake-Labs/snowflake"
      version = "0.88.0"
    }
  }
}

provider "snowflake" {
}

resource "snowflake_database" "db" {
  name                = "MYDB-2"
}

resource "snowflake_schema" "schema" {
  database            = snowflake_database.db.name
  name                = "MYSCHEMA-2"
  data_retention_days = 1
}

# resource "snowflake_procedure" "proc" {
#   name     = "SAMPLEPROC3"
#   database = snowflake_database.db.name
#   schema   = snowflake_schema.schema.name
#   language = "JAVASCRIPT"
#   arguments {
#     name = "arg1"
#     type = "varchar"
#   }
#   arguments {
#     name = "arg2"
#     type = "DATE"
#   }
#   comment             = "Procedure with 2 arguments"
#   return_type         = "VARCHAR"
#   execute_as          = "CALLER"
#   null_input_behavior = "RETURNS NULL ON NULL INPUT"
#   statement           = <<EOT
# var X=1
# return X
# EOT
# }

import {
  to = snowflake_procedure.example
  id = "MYDB-2|MYSCHEMA-2|SAMPLEPROC3|VARCHAR-DATE"
}

Confirmed the change was intentional: https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2722#issuecomment-2061936246
They've updated the docs and are releasing the fix today. We'll pick this up once we upgrade to that upstream version.

Just kicked off a release, this will get fixed in the docs with v0.52.0


KEP for decoupling KIC components

What this PR does / why we need it:
Previously we had considered KEP 1 declined due to other higher precedent priorities, but now as there are multiple related and synergistic features in flight such as the imminent preview release of Gateway support and the Kong Kubernetes Team considering a plan for what a v1 Operator release might look like and we're also getting recent updates on old (but still valid) issues such as https://github.com/Kong/kubernetes-ingress-controller/issues/702 and https://github.com/Kong/kubernetes-ingress-controller/issues/986 now seems like a good time to revamp and reconsider how we resolve some of the traditionally tightly coupled components in KIC.

Per https://github.com/Kong/kubernetes-ingress-controller/issues/986#issuecomment-1031851232 I'm skeptical of the benefit of separating the webhook. You'll still need to update it, and those updates still have the same outage characteristics, so we're effectively just moving the problem elsewhere. IMO a default PDB makes more sense, but I'm not sure if a MinAvailable of 1 would play nicely with our default single-replica Deployments. Brief research suggests the answer is "it doesn't", so we'd probably need to make that chart-only with a conditional MinAvailable if the replica count >= 2. This would probably be a breaking change due to our existing PDB configuration.
One->many DB-less instance management needs to address the security concerns with exposing the admin API in the simplest implementation, as there's no standard way to secure a DB-less admin API listen. I think we'd probably need to create a Golang implementation of the hybrid mode protocol and make the controller an imitation control plane node so we can benefit from its built-in mTLS requirement.

there's no standard way to secure a DB-less admin API listen

Are you ruling out NetworkPolicy to handle that? You could reject ingress to the Admin port from pods other than the ingress controllers.

NetworkPolicy should be viable, but it looks like it's off by default in the major providers (with bonus "bring your own CNI stack" on EKS):
https://cloud.google.com/kubernetes-engine/docs/how-to/network-policy#enabling_network_policy_enforcement
https://aws.github.io/aws-eks-best-practices/security/docs/network/#network-policy
https://docs.microsoft.com/en-us/azure/aks/use-network-policies#create-an-aks-cluster-and-enable-network-policy

it looks like it's off by default in the major providers

Yes, that's sad. We use it to good effect with Calico in our AWS-hosted clusters. In GKE, well, we have plans. We're not using the "V2 dataplane" yet.


Update check deployment

I simplified the deployment workflow.
Previously, I tried the issue comment approach which doesn't seem to fit our use case. So, I have removed and used a simple approach to use the pass-ci label to pass the ci.
Dependents:

https://github.com/iterative/iterative.ai/pull/718
https://github.com/iterative/dvc.org/pull/4169
https://github.com/iterative/mlem.ai/pull/260
https://github.com/iterative/cml.dev/pull/422

Maybe we want to change pass-ci to something more related to its intended purpose, i.e. deploy?

I also had a hard time choosing the name 😄 . It doesn't directly trigger the deployment. It just passed the ci in case of failed ci check. Yes, the indirect intended use is for deployment, but I don't want other people to think it will deploy and try failed attempts to use it for failed deployment, redeploy, etc.

We may also want to make the label used configurable.

Yes, but I think making it consistent will make it easier.


Validate body with tests in e2e test

Description
I've added tests that checks if Module DTO validates correclty input props.
For this, I've configured and created E2E tests.
Also, parametrized database config, so all the configuration is pulled from environment variables (we should use YAML or other config files instead in the future).
Finally, I've made minor corrections to the structure and files so the system works properly.
List any dependencies that are required for this change.
Fixes #8
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Related Issues
#8
#7
Additional Notes
All tests passed
Screenshots
Testing
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Endpoint Tests (for functionality)
Body validation (for error handling)

Also, all tests are using the parametrized database config
All Submissions
Before filling out the fields of the pull request, please make sure you meet the following requirements

[x] I have read the Contributor Guide
[x] I have read and agree to the Code of Conduct
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

CodeCov is down. Thats why coverage test is not working


updated unavailable groovesquid url with new versioned url

The old package download url was dead.
Added version info, licence and url to package.

To fix this, you use double quotes (" ") in the url stanza.

Thanks mate. That did the trick :)

Can you please squash everything into a single commit.

ok. I will squash commits after few suggested changes by @vitorgalvao

Everything looks fine. Squashing is the last thing that remains, now.

squashed them. cheers

Actually, you created more. Want to try again?

Sorry for that, fixed it.

Thank you.


CHEBI:28638, 2-methylpropanenitrile, please CHECK

Hi,
Please check the above compound as it is needed for an IUBMB reaction. Please also add the name 2-methylpropanenitrile.
Cheers,
Kristian

Hi Kristian,
Now done.
Kind regards,
Gareth


Check for naming collision with Effect.after and Effect.done

If you make an effect named after or done, that'll be a naming collision with the auto-generated functions of the same name.
We should special-case those and report them as a Problem!

I don't think we need to worry about this anymore, since hosted is going away.


DTS clocks added to peripherals: GPIO, PWM, SPI, SPIXIP, UART and other minor updates

Closing this since the changes are merged through https://github.com/sifive/sifive-blocks/pull/122


Java util concurrentException - Elastalert + Signal

Hi Team,
Getting the following error when I'm trying to run signal-cli with Elastalert
java.util.concurrent.ExecutionException: java.lang.AssertionError: Unknown version: 0
Context -
We have around 57 rules in Elastalert.
This is the error stack we're seeing -
INFO SignalAccount - Config file is in use by another instance, waiting…
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:32 IST)" was missed by 0:00:06.870720
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:28 IST)" was missed by 0:00:06.795217
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:31 IST)" was missed by 0:00:06.345277
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:29 IST)" was missed by 0:00:05.747670
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:32 IST)" was missed by 0:00:05.613329
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:29 IST)" was missed by 0:00:05.516942
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:33 IST)" was missed by 0:00:04.478928
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:32 IST)" was missed by 0:00:04.004185
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:31 IST)" was missed by 0:00:03.361035
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:36 IST)" was missed by 0:00:02.816232
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:35 IST)" was missed by 0:00:02.745537
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:38 IST)" was missed by 0:00:01.228720
WARNING:apscheduler.executors.default:Run time of job "ElastAlerter.handle_rule_execution (trigger: interval[1:00:00], next run at: 2021-03-03 11:18:37 IST)" was missed by 0:00:01.220974
INFO SignalAccount - Config file is in use by another instance, waiting…
INFO SignalAccount - Config file is in use by another instance, waiting…
Failed to send group message: java.util.concurrent.ExecutionException: java.lang.AssertionError: Unknown version: 0
INFO SignalAccount - Config file lock acquired.
Failed to send group message: java.util.concurrent.ExecutionException: java.lang.AssertionError: Unknown version: 0
INFO SignalAccount - Config file lock acquired.
Failed to send group message: java.util.concurrent.ExecutionException: java.lang.AssertionError: Unknown version: 0
INFO SignalAccount - Config file lock acquired.
Failed to send group message: java.util.concurrent.ExecutionException: java.lang.AssertionError: Unknown version: 0

Is there a limit to sending messages concurrently in signal-cli?
Or is this an issue with JVM?
JVM-
openjdk version "11.0.10" 2021-01-19 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.10+9-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9-LTS, mixed mode, sharing)

We also have a set of 8 alerts, these have no issues, possibly due to only 1 or a maximum 2 alerts are triggered at the same time.
In htop the 8 alerts use only 0.7% of system memory however the 57 alerts use 14% ram, which means it's not dumping the memory after a run if I'm not wrong?

Yelp/elastalert is no longer maintained. Please use jertel elastalert. Questions to the discussion below
https://github.com/jertel/elastalert/discussions


quantification and correlation script

Not my PR and not work I was supervising, please remove me from it, @thom-OG . You should ping Guillaume to see if he wants to keep it.


doesn't work with nvm

/bin/sh: 1: npm: not found

I can't reproduce this - it works fine for me.
Can you share the output of nvm -v nvm current and npm run tauri info please?
Also if you just installed nvm/node/npm you may need to restart your apps/system for all environment variables to be found.


Simple Outline with Tree Architecture

Example:  Show 3 levels of tree in outline, and parsing is done with simple syntax:
zz.xxx.yyy   (1.1.)
+#1.------------------Title 1
+#1.1-------------------Ttitle 1.1
+#1.1.2 ----------------Titlte 1.1.2
Reasons: sometimes we have a very long code file, having collapsing tree would be good
to jump into the right piece of code.
2.) For performance reason, manual update of outline.

Sorry, I don't think we're going to implement this. Moving through a long file is going to be improved in Spyder 3.0 thanks to a function and file switcher, very similar to the Sublime text one.
For reference, see section 3 of this post:
http://filipminev.com/post/14262857223/9-reasons-you-must-install-sublime-text-2-code

Have you looked at the outline pane ? It already has a tree architecture (not with numbered titles though).
I feel obligated to mention that the recommended way of structuring code is via functions or class, not with comment headers. Sometimes the problem is in the files, not in the IDE :smile:


Implement interpreter for mikro-orm

[ ] this interpreter should be part of a new package @ucast/mikro-orm (put it in packages/mikro-orm)
[ ] it should support the same operators as js interpreter from @ucast/js (the most complex is  $elemMatch)
[ ] it should allow to pass custom operators
[ ] it should use createInterpreter function from @ucast/core to create interpret function
[ ] the return value of interpret function is a query builder
[ ] it should take initial query builder as an argument
[ ] when it finds condition.field with dots inside it's a hint that this property may be a relation to another table. Using mikro-orm API we should be able to understand and if a field construct query for JSON field and if it's a relation add INNER JOIN + where conditions

I can take a stab at this.

Awesome! Let me know if you have any questions!

Hi @ujwal-setlur
Do you have any news on the progress?

@stalniy, unfortunately, I got busy with work, but I will definitely get to this this week..
--ujwal
On Jul 12, 2020, 11:45 PM -0700, Sergii Stotskyi<EMAIL_ADDRESS>wrote:

Hi @ujwal-setlur
Do you have any news on the progress?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ujwal-setlur , do you have free time for this task now?

Interpreter for Objectionjs was finished and it may be a very good reference implementation for mikro orm

Hi, I wonder if there is any progress on this?
And if I would try to do this, where would I start so I could get a better understanding of ucast? Since I am a little confused about what it does right now.

Hi @Asoftyn
No any progress on this. Your help would be very useful!

The best way to start is to read this https://github.com/stalniy/ucast/tree/master/packages/core
UCAST is a universal conditions translator. It allows to translate conditions from one language to another. More formally, there are 3 things:

Parser. parses language which we want to translate into intermediate language (i.e., object structure called AST)
Intermediate language (AST). Recursive composition of objects that represent conditions
Interpreter. Function that interprets intermediate language (AST) in some way.

What does this allow?
@ucast/mongo contains a parser that translates MongoDB into AST. Now, we need an interpreter that can convert this AST into mikro-orm query builder

Sorry folks, I got extremely busy on my day job. Any help would be appreciated. I hope to get a break at work in a couple of weeks

This may sound confusing and complicated but in fact, interpreter is a simple set of functions. Take a look at @ucast/objection implementation (https://github.com/stalniy/ucast/blob/master/packages/objection/src/interpreters.ts#L11) which is similar thing for Objection.js ORM.
Let me know if you have further questions

I had a look around and from what I understand is that mikro-orm has support for mysql, postgresql, sqlite and mongo and is using knex.
So I was thinking that an mongodb interpreter already exists and so does one for the others using objection.js with knex. So wouldn't the interpreter part already be kinda done? Could we Frankenstein something together using code from those interpreters for the mikro-orm interpreter?

I thought about similar possibilities, this requires implementation of Adapter pattern that will unify interfaces of different query builders. As a result this adds additional level of abstraction, basically another query builder interface. The issue is that for some edge cases this abstraction won't work well:

to generate raw queries. Different ORMs may use even different binding parameters.
to wrap SQL expressions in brackets. Some supported nested query builder and others - not. So, this will make implementation of Adapter pattern for some ORMs more complicated then it should be. For example, sequelize uses objects to construct query. So, instead of merging conditions using regular Array, we will need to create an instance of nested query builder.

Being able to implement operators for particular ORM may allow to simplify and optimize implementation for particular situation.
I'd like to start with this approach at least for now, and find out/refactor as we go

I have been trying and looking around at the code for a few hours but i cant get my head around it. So I sadly wont be of any use since i do not quite understand it.
I wish you all good luck with this.

Guys, actually yesterday I tried to implement interpreter for pure SQL. and have pretty good results. Tested it with objectionjs and it works really good.
today, I plan to try it with mikro orm and sequelize and if it works good I’ll publish it and close this issue as won’t fix

Im not sure i understand the "as won't fix" part but good luck.

I guess it means it’s generic enough to cover all the SQL ORMs?

right, I believe that all ORMs in one or another way allow to combine raw sql with their query builder interface, this allows to implement conversion to SQL and use this SQL to set conditions.

close in favor of #8


Flip emulation horizontally

Disclaimer: I'm unsure whether this was due to a Discord update, or if this is Manjaro Linux dependent.
This change resolves the video from being shown horizontally reversed.

You are the one only one who sees the preview flipped, it will be okay for your interlocutor


Azure.Communication.NetworkTraversal tests failing on Mac

Trying to merge #27399 but getting consistent test failures on tests in the test fixture CommunicationRelayClientLiveTests e.g. (sampled):
Error message
Expected: True
But was:  False

Stack trace
   at Azure.Communication.NetworkTraversal.Tests.CommunicationRelayClientLiveTests.GettingTurnCredentialsGeneratesTurnCredentialsWithTtl(AuthMethod authMethod, String[] scopes) in /Users/runner/work/1/s/sdk/communication/Azure.Communication.NetworkTraversal/tests/CommunicationRelayClient/CommunicationRelayClientLiveTests.cs:line 159
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()

For now I'll ignore the fixture to unblock tests against Azure.Core with a link to this issue.
Looking at related commits from the merge-base, it may be that dates are causing an issue. If this is the case, you might consider not asserting them, or update each time they are re-recorded. I do the latter in a couple places with the Key Vault SDK because I specifically want to make sure times are deserialized properly in a few odd cases.

/cc @AriZavala2


Migrated to bevy 0.11

Thanks for this library!
I migrated to bevy 0.11.
I am new in Rust, so I can not implement more features, however at least current tests work.

Overflow style is changed.
However I can not implement it.
When I uncomment these lines 44 and 85:

let overflow = quote_enum(style.overflow);

I see following issue:
error[E0223]: ambiguous associated type
   --> examples/colors.rs:255:33
    |
255 |                         .insert(styled!("h-18 w-full flex-row items-center justify-between"))
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `styled` (in Nightly builds, run with -Z macro-backtrace for more info)
help: if there were a trait named `Example` with associated type `Overflow` implemented for `Overflow`, you could use the fully-qualified path
    |
255 |                         .insert(<Overflow as Example>::Overflow)

So I assume that Overflow after macro can not be resolved, I do not know how to print somewhere generated macro code to fix the issue, because it fails to build macro...
As a solution to fix missing fields for now I added ..Default::default().

Additional improvements required for CSS Grid. At least parsing into Vec should be done, in case someone need this.

Replaced all clicked with pressed to be consistent with bevy update.

Hey, sorry, I missed this PR. I released version 0.4 of bevy_ui_styled which now supports bevy 0.11.


Bug (ish): tagName: ElementType is too wide

Problem
Exported components accept a tagName prop to determine which element type to use for its DOM elements.
This is currently typed as ElementType, but this is a bit too wide as it allows any Element. For example, this allows tags like svg, which don't have the attributes needed for the library to work and cause runtime errors. I think only HTMLElements work.
It's hard to imagine a situation in which this would ever actually cause problems, but it's nice to have correct types of course.
Proposal 1
Narrow the type to of tagName so that it only accepts tags for HTMLElements. It looks like the way to do this is keyof HTMLElementTagNameMap:
export type PanelProps = Omit<HTMLAttributes<keyof HTMLElementTagNameMap>, "id" | "onResize"> &
  PropsWithChildren<{
    ...
    tagName?: keyof HTMLElementTagNameMap;
  }>;

I was surprised to not find a direct type e.g. HTMLElementType. Also, JSX.IntrisicElements includes non-HTML elements, so that doesn't help.
Proposal 2
Really narrow the type down to just a handful of specific tags - like div, span, etc. Feels a bit restrictive, and not future-proofed.
Proposal 3
Just update the docs with a warning.

I don't feel strongly about this one. If you want to submit a PR, I'll look it over. Probably won't do anything myself for this though.

The PR you submitted is an improvement (thanks!) although I'm wondering about the distinction between HTMLAttributes and AllHTMLAttributes. It looks like some attributes (like value  for HTMLDivElement) are excluded from HTMLAttributes whereas others (like defaultValue) are included. AllHTMLAttributes includes both, but I'm not sure how to refine it based on the specified tag name.
For example:
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAJQKYEMDGMA0cDecCCANoQBIAqAsgDL4wxTABGArjEgM7bnW31OsdsaKKjYBRQkhBIAdvAC+cAGZQIIOACIR6GBoDcAKAMwAnmCRxuVMigDmAORTS4AXjgBrJCYhLLlKhJSsjA2Dk5IFChghgZKzDIYwBAycABCqigAJgDCapAywQA8oY7OSAAebDKZ7H7UJeEAfAAUOAZwcDB2pUiY7XAAdEMi7DAG8gBcBMRWvAwsbOzF3U1wAGS4-V1h0lMN0uMAlJsdIjDMUCnCokiB0nLN2z3YIzCHhvJGcQkwSSmOUFUAHdcuBkkV9hYKlUanVrCtpC02h0nuE+h0hgNXuMprM6PMBEtIY11idOgikHsKUcyWcLldtOJJPcYI8KS8OG8PkZkXBCukIFlQflguSdkgXBpgDIwKwNJ1gDBJJLFro4AA3FCEZgSnAARgATABmRQAeka4wMvMKAOBwvBcjFPUl0tlat+SolGlV8s12t1hpNcHNlqt-VNprgAAEYOwALQVcwYBOA6D9fkZHJ5B3wVHSSWZYDq+Ue5Xezm+rU6lz641mi2fMMdCPR2MJ8pJmAp1RQdO2iAg7MFR15r2F4sKz0qisaqsBuvBhsGIA
Maybe this is a limitation of TypeScript or maybe just a gap in my knowledge. Going to poke at it some more before making a release.

Maybe this is not worth the effort and I should just stick with the incremental improvement of your change.
Published<EMAIL_ADDRESS>

I played around a bit but it's beyond me. If a user needs this degree of type safety they will have a good puzzle.
Thanks for the review and extra investigation.


Fix cli caching spec to not fail when PWD contains hyphen

When the current working directory (returned by fs.get_current_dir()) contains a hyphen (e.g. /home/flynn/luacheck-0.22.0), the spec "cli caching caches results" fails, because "-" is interpreted as
pattern item.
This commit fixes this problem by escaping "-" together with "[" and "]" inside the template after abspath{...} is substituted.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #164   +/-   ##
=======================================
  Coverage   97.76%   97.76%
=======================================
  Files          35       35
  Lines        4842     4842
=======================================
  Hits         4734     4734
  Misses        108      108

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 58f9f95...0c93262. Read the comment docs.

I've noticed that this fix doesn't cover other special characters, but testing showed that for some other characters breakage is much less localized ([..] within PWD breaks everything globbing related), so I'm merging this. Thanks!


Implement as generics for SOMASparseNDArrayReader

Issue and/or context:
#1453
Changes:

Add coerce functions for SOMASparseNDArrayReader and TableIter
Update vignettes to reflect changes and make them more R-like
Add tests
Update some tests

Notes for Reviewer:

@aaronwolen for visibility and general approval
@mojaveazure Please take a look at the changes with close attention to the vignettes, let me know if these are good for the general R user
@eddelbuettel please let me know if the implementation of the method for the as generics is correct

Usage
A more R-like behavior is enabled for $read()
library(tiledbsoma)

human_experiment = load_dataset("soma-exp-pbmc-small")
soma_df <- human_experiment$obs
soma_sparse <-  human_experiment$ms$get("RNA")$X$get("data")

as.data.frame(soma_df$read())
# # A tibble: 80 × 9
#    soma_joinid orig.ident  nCount_RNA nFeature_RNA RNA_snn_res.0.8 letter.idents
#          <int> <chr>            <dbl>        <int> <chr>           <chr>
#  1           0 SeuratProj…         70           47 0               A
#  2           1 SeuratProj…         85           52 0               A
#  3           2 SeuratProj…         87           50 1               B
#  4           3 SeuratProj…        127           56 0               A
#  5           4 SeuratProj…        173           53 0               A
#  6           5 SeuratProj…         70           48 0               A
#  7           6 SeuratProj…         64           36 0               A
#  8           7 SeuratProj…         72           45 0               A
#  9           8 SeuratProj…         52           36 0               A
# 10           9 SeuratProj…        100           41 0               A
# # ℹ 70 more rows
# # ℹ 3 more variables: groups <chr>, RNA_snn_res.1 <chr>, obs_id <chr>
# # ℹ Use `print(n = ...)` to see more rows

arrow::as_arrow_table(soma_df$read())
# Table
# 80 rows x 9 columns
# $soma_joinid <int64 not null>
# $orig.ident <large_string>
# $nCount_RNA <double>
# $nFeature_RNA <int32>
# $RNA_snn_res.0.8 <large_string>
# $letter.idents <large_string>
# $groups <large_string>
# $RNA_snn_res.1 <large_string>
# $obs_id <large_string>

arrow::as_arrow_table(soma_sparse$read())
# Table
# 4456 rows x 3 columns
# $soma_dim_0 <int64 not null>
# $soma_dim_1 <int64 not null>
# $soma_data <double not null>

as.data.frame(soma_sparse$read())
# # A tibble: 4,456 × 3
#    soma_dim_0 soma_dim_1 soma_data
#         <int>      <int>     <dbl>
#  1          0          1      4.97
#  2          0          5      4.97
#  3          0          8      6.06
#  4          0         11      4.97
#  5          0         22      4.97
#  6          0         30      6.35
#  7          0         33      4.97
#  8          0         34      6.57
#  9          0         36      4.97
# 10          0         38      4.97
# # ℹ 4,446 more rows
# # ℹ Use `print(n = ...)` to see more rows

as(soma_sparse$read(), "TsparseMatrix")[1:5, 1:5]
# 5 x 5 sparse Matrix of class "dgTMatrix"
#
# [1,] . 4.968821 . .        .
# [2,] . .        . 4.776153 .
# [3,] . .        . .        .
# [4,] . .        . .        .
# [5,] . .        . 4.074201 .

as(soma_sparse$read(), "CsparseMatrix")[1:5, 1:5]
# 5 x 5 sparse Matrix of class "dgCMatrix"
#
# [1,] . 4.968821 . .        .
# [2,] . .        . 4.776153 .
# [3,] . .        . .        .
# [4,] . .        . .        .
# [5,] . .        . 4.074201 .

as(soma_sparse$read(), "RsparseMatrix")[1:5, 1:5]
# 5 x 5 sparse Matrix of class "dgTMatrix"
#
# [1,] . 4.968821 . .        .
# [2,] . .        . 4.776153 .
# [3,] . .        . .        .
# [4,] . .        . .        .
# [5,] . .        . 4.074201 .

Codecov Report
Patch coverage has no change and project coverage change: -11.96 :warning:

Comparison is base (6efb735) 64.05% compared to head (820391b) 52.10%.

:exclamation: Current head 820391b differs from pull request most recent head ff657d8. Consider uploading reports for the commit ff657d8 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1458       +/-   ##
===========================================
- Coverage   64.05%   52.10%   -11.96%
===========================================
  Files         103       72       -31
  Lines        8254     5729     -2525
===========================================
- Hits         5287     2985     -2302
+ Misses       2967     2744      -223

Flag
Coverage Δ

python
?

r
52.10% <ø> (-0.16%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 36 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thanks @eddelbuettel you got here a little earlier than expected, I wanted to take a final look before opening it up for reviews since opened the PR very late yesterday. I did a final review and everything looks good.
I'll address your comments shortly.

Thanks @mojaveazure for all the recommendations!

I'm curious as to the reason for implementing this at the SparseArrayRead level instead of the SparseArray level; I would think that as(array, "RsparseMatrix") would be more user-friendly than as(array$read(), "RsparseMatrix")`
That's not to say the SparseArrayRead coercions can't exist, the array-level could simply be [...]

Yes I thought about this and there's a compromise, if we add them at SparseArray level we don't have access to the arguments of read() importantly coords and value_filter. I could add coercions to all: SOMASparseNDArray SOMASparseNDArrayReader TableIter, we would get good coverage although the ux maybe a little confusing.
What do you think?

if we add them at SparseArray level we don't have access to the arguments of read() importantly coords and value_filter

That's true, and is the reason why we built as.sparse() in Seurat
One option that I'm toying with is using as.matrix() instead of methods::as() for coercion. The formals for as.matrix() are x and ..., which gives us the flexibility to add new parameters to the method definition (so long as x is first and ... are present), to give access to coords, value_filter, reindex (once that gets implemented), and repr
The odd thing would be that our as.matrix() methods would return sparse matrices from Matrix rather than standard S3 matrices. I'd argue that there's (some) precedent for this, though, as as.data.frame() on Arrow tables returns tibbles, not standard S3 data frames, but not enough to actually recommend this without hearing from @eddelbuettel and @aaronwolen

I am mostly confused at this point.  Just as I was getting used to method chaining (which we tamed nicely now) we revert to the (to me still more familiar converters ie as(...) or as_...().  I don't actually have that much practical experience crafting these those not sure if there are S3 / S4 / R6 intersection pitfalls waiting for us.
(And yes: not a fan that as.data.frame() return a tibble here:
> arr <- tiledb_array("/tmp/tiledb/penguins", return_as="arrow")
> class(as.data.frame(at))
[1] "tbl_df"     "tbl"        "data.frame"
>

My preference would be to update the vignettes to leverage the new iterated reader in a separate PR so we can discuss those changes in isolation.

I incorporate some of @mojaveazure suggestions. I still want to include a few more things suggested in comment and do some testing
In addition, after a conversation with @aaronwolen I will hold on merging this PR. He has asked me to hold until a broader strategy is created for R generics across all TileDB-SOMA.


Client Allocation Request for: YuetAu

Client Allocation Questions
Core Information

Name: YuetAu
Website / Social Media: https://yuetau.net/
Region: Asia excl. GCN
DataCap Requested: 2 TiB
Addresses to be Notarized: f1j2u7ryypwbtv2r4xdycxu3psctqp4hgzug4ixla
Notary Requested: IreneYoung

This is a personal request.
Type of Data will be User Content (Personal Backup) and is currently store at external cloud provider.

Hi @YuetAu  - Thanks for your application. Please answer the following questions to let us know about you, your company, and further information about the DataCap allocation.
Basic Info
What's your name and your position in your company?
Please introduce yourself and your team briefly. How many team members do you have in your R&D or core team? Could you provide several Github accounts or email addresses of them?
For your organization, Please describe its business, its history since inception, registration country, scale, employee counts, operation regions, named executive officers, relevant projects, industry reputation, etc.
Please show us some of your web pages, Github, social media accounts such as Twitter, Facebook, Naver blog, WeChat official account, etc. Please include as many relevant details to provide contextual information (with external links) to show your Web3 reputation or external reputation.
Please provide your company's business registration license. If you have any presentation documents about your business, please provide them to us. And also could send me via email for privacy concerns. My contact<EMAIL_ADDRESS>How long have the team core members been engaged in development?
What types of data do you plan to store with the DataCap and how many do you need? Could you please send us some of your sample data?
Regarding the data you intend to store, What’s the original source of those data, and do you have any proof of the ownership or authorization?
Where is your data stored now? Whether the data is stored on a server or a cloud service provider?
Track Record
Has your organization obtained DataCap before? if so, please answer the following sub-questions.
1.1 Please share all the links and recordings of your applications before.
1.2 How about your DataCap usage? Is there any remaining? Is there any information on the deals you've done and the miners you've allocated your DataCap to?
1.3 What was your allocation strategy plan then and how did you execute it?
Are there any disputes open against you from your previous DataCap allocations? If any, please describe any of your honors or disputes in the field of Filecoin.
Allocation Plan
Please describe your plan to use the DataCap as detailed as possible, including use case, amount, timespan, geography, storage providers, partners, etc.
How many regions do you plan to store the data in?
How many storage providers you intend to make dealing with?
Do you plan to record your allocation decisions and execution details in public? And how to realize it?
Do you agree to use the DataCap to only store data that abide by local regulations and is in compliance with the recipient miner’s terms of service?
We may further ask some questions and then give an accurate score to the application. Thank you for your cooperation!

Type of Data will be User Content (Personal Backup) and is currently store at external cloud provider.

1.What types of data do you plan to store with the DataCap? Are these data contents publicly available? Could you please show some of your sample data?
2.How many storage providers you intend to make dealing with? How many regions you intend to store data in？

Plan to store user-generated images and videos. These data will be encrypted before uploading and thus I am unable to show you sample data.
Currently planning on making deals with 2 storage providers on 2 regions.

@YuetAu The initial score of your DataCap request is 3.
2 TiB DataCap are being granted to you. Congratulate!
See more details here: https://docs.google.com/spreadsheets/d/18lHIGwLK6SwXochV2-yOCP0hk604LT0cHxrOOEokJH4/edit#gid=0

Well received. Lots of thanks!
It seems that I don't have permission to view the spreadsheet.

@YuetAu Your application has been approved, you can check it out here: https://filfox.info/en/message/bafy2bzacebprzhotdmtozorhksggvuubrxrjm3wmbugikw2hbeefj6gptj6js


Generate element name with hyphen in it

In order to use https://github.com/github/markdown-toolbar-element I need to generate markup that looks like this:
<markdown-toolbar for="textarea_id">
  <md-bold>bold</md-bold>
  <md-header>header</md-header>
  <md-italic>italic</md-italic>
</markdown-toolbar>

I tried:
markdown-toolbar[for="body"] {
}

and
"markdown-toolbar"[for="body"] {
}

but neither worked. Is this possible with markup.rs? If not, do you think the quoted syntax makes sense? If it does I could have a go at implementing it. Edit: I realised the quoted string is a string literal already, so that won't work.

I have found a workaround for my project. Since I don't have a need for HTML elements with underscores in them I replace _ with - when generating mark-up:
diff --git a/markup-proc-macro/src/generate.rs b/markup-proc-macro/src/generate.rs
index ccd6fbc..65d05c5 100644
--- a/markup-proc-macro/src/generate.rs
+++ b/markup-proc-macro/src/generate.rs
@@ -112,8 +112,9 @@ impl Generate for Element {
             children,
             close,
         } = self;
+        let element_name = name.replace('_', "-");
         stream.raw("<");
-        stream.escaped(name);
+        stream.escaped(&element_name);
         if let Some(id) = id {
             stream.raw(" id=\"");
             stream.expr(id);
@@ -154,7 +155,7 @@ impl Generate for Element {
         children.generate(stream);
         if *close {
             stream.raw("</");
-            stream.escaped(name);
+            stream.escaped(&element_name);
             stream.raw(">");
         }
     }

That allows this:
            markdown_toolbar[for="body"] {}

to render as desired:
<markdown-toolbar for="body"></markdown-toolbar>

It does impose an extra allocation per element, which could be avoided in the common case with a wrapper function that returns a Cow if there are no '_' present. If you'd be open to a PR exploring this change I'd be happy to polish it up and submit one.

Optimised it a bit more and pushed the changes to my fork: https://github.com/wezm/markup.rs/commit/19cfdf889d8e580bd0133d8a4d3a869f8250d518

I've added a syntax that also fixes #11. Your example can now be written as:
$"markdown-toolbar"[for="textarea_id"] {
    $"md-bold" { "bold" }
    $"md-header" { "header" }
    $"md-italic" { "italic" }
}


Prepare cairo1 vm for entrypoint call

This change is

Current dependencies on/for this PR:

main

PR #464   👈

This comment was auto-generated by Graphite.


Artifactory Release Lifecycle Management - Add include dependencies option to release bundle creation

[x] All tests have passed. If this feature is not already covered by the tests, new tests have been added.
[x] The pull request is targeting the dev branch.
[x] The code has been validated to compile successfully by running go vet ./....
[x] The code has been formatted properly using go fmt ./....

Depends on https://github.com/jfrog/jfrog-cli-core/pull/1123

Commented out the part of the test that is failing due to distribution, and commented out the functions that are used there so that static analysis won't fail.


PKCE flow issue with other than supabase code query in URL

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I am using the @nuxtjs/supabase package and I encounter a bug described in this issue.
I am not able to use other PKCE flows because each time the third app redirects to my main app, GoTrueClient tries to refresh the session with the incorrect code parameter in the URL despite using detectSessionInUrl at initialization of GoTruClient.
I believe this function _isPKCEFlow should only watch specific URLs to manage other PKCE flows.
To Reproduce

Setup a project with nuxt/supabase.
Build a simple authentification system.
On any page, use a query parameter ?code=random.

Expected behavior
Automatically, the GoTrueClient will try to set up a session at initialization and logout current user which is problematic.
Screenshots

I just used flowType: "implicit" on initialization.

I have been able to reproduce this and have left a screen recording showing it happen.
https://github.com/user-attachments/assets/d1251841-1d9d-4bd9-95e8-1377164bb248


Add checking directory structure of the project

PR #2
Checking functional is implemented in class Project.
It is needed to prepare test data and write test codes.

[x] Prepare test data.
[ ] Write test code for the checking functional.
[ ] Check if the given manifest file exists or not.
[ ] Check if directory book/ exists in the project.

Poetry sets pytest up by default. So I have to write test codes with pytest.
Pytest does not provide mechanism that stores test data, but the document says some plugins are available.
https://docs.pytest.org/en/6.2.x/fixture.html#sharing-test-data

Write test code for the checking functional.
The class Project checks the existence of the given manifest file and the book directory when it is instantiated. If they does not exist, an exception is raised.


Address python2 / python3 unicode issue

@javrasya  Python 3 should be returning _str_ (python3) so in order to support Python 2 and Python 3 i added these changes according to https://docs.djangoproject.com/en/1.10/topics/python3/#str-and-unicode-methods.

Coverage increased (+0.1%) to 88.889% when pulling 63bfda897e4df802494492ba2c22ad2dee3067f7 on psychok7:fix_python3_unicode_methods into 18cf27ff5a09515fcf37240e2af3a0cf1bcc86bd on javrasya:master.

@psychok7 Thank you for the PR

@javrasya no problem, when are you releasing a new version on pypi??

I will look at other active issues and release it this weekend. master branch can be used untill that time.


Not able to import GPyOpt

Hi,
I have installed GPyOPT using pip, apparently with no problems as I got the following message:
“Successfully installed GPy-1.9.8 gpyopt-1.2.5”.
However, when I tried to import GpyOpt in a Jupyter notebook I got the following message:
“numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject”
I have a python version 3.6.6 and a scipy version '0.18.1'
Could anyone figure out what the problem is?
Thanks

That appears to be numpy versioning issue. Check out this: https://github.com/scikit-image/scikit-image/issues/3655 . StackOverflow also has several threads about this error.


Rework makefile

Reworked Makefile to add more granularity to build and image targets. Now it;s possible to build either all binaries or one specific binary.
Build all binaries:
$ make build

Build only gpu_plugin:
$ make gpu_plugin

Build all Docker images:
$ make images

Build only intel-gpu-plugin image:
$ make intel-gpu-plugin

Also a specific package can be tested with coverage.html autogenerated
$ make WHAT=internal/deviceplugin test

Codecov Report

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

@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   75.89%   75.89%
=======================================
  Files           3        3
  Lines         278      278
=======================================
  Hits          211      211
  Misses         60       60
  Partials        7        7

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 749b3f7...bf82dad. Read the comment docs.

looks good.

Should we update Travis-CI config to test new make targets?

There're no new untested targets. This make images is just a restructured version of make container which isn't tested currently. I would add make images in a separate PR.

I meant 'make gpu_plugin' 'make fpga_plugin' etc.

Those are tested implicitly through make (since make is an alias of make all, make all depends on make build and make build depends on both make gpu_plugin and make fpga_plugin and whatever else is going to be added in the cmd folder).

Looks good Guys!


Redistributing licenses and notices

Must redistribute all NOTICE files from Apache 2 licensed projects (can concatencate them)
Must redistribute the license text and details on sources from OpenSceneGraph as used in trackerviewer.

Fixed via https://github.com/OSVR/OSVR-win-installer/commit/aa7cd9177271c465dc86c82af96c8dd721ae462f


generateChangeLog fails

Users are not currently able to use generateChangeLog successfull

HI @kataggart - generation of changelog was added recently. Can please retest.

@bimission I don't have a set up to test this, but I will check with someone here who can. Thanks!


Where's the match data?

Hey,I see other issues mentioning match data,but I can't seem to find the csv files for match data. If I'm missing something obvious let me know. Thanks.

@Tormenator1 you can see match data inside of each event folder, for example https://github.com/the-blue-alliance/the-blue-alliance-data/tree/master/events/2018/2018arli
We have not updated the CSV data with 2019 data yet, you can see the last commit was January 11th, 2019: https://github.com/the-blue-alliance/the-blue-alliance-data/commits/master
Are you looking for 2019 match data? For now, it's available via the Read API: https://www.thebluealliance.com/apidocs

Alright. Thank you.


training with the pretrained model 'resnext-101-kinetics-hmdb51_split1.pth', cannot success

`    if opt.resume_path:
print('loading checkpoint {}'.format(opt.resume_path))
checkpoint = torch.load(opt.resume_path)
assert opt.arch == checkpoint['arch']
    opt.begin_epoch = checkpoint['epoch']
    model.load_state_dict(checkpoint['state_dict'],strict=False)
    if not opt.no_train:
        optimizer.load_state_dict(checkpoint['optimizer'])

`
the last line 'optimizer.load_state_dict(checkpoint['optimizer'])' cannot success, and the error is
ValueError: loaded state dict has a different number of parameter groups
hope to give some instructions, thanks!

the problem is solved, thanks

hi @cs-heibao , may i know how you solve your issue? thanks.


Changing locale doesn't change locale text for inline datepicker

I have a following component:
import React from 'react';
import VendorDatePicker from 'react-datepicker';
import { connect } from 'react-redux';

import { currentLanguageSelector } from 'stores/routes/selectors';

const mapStateToProps = state => ({
  currentLanguage: currentLanguageSelector(state),
});

const DatePicker = ({ currentLanguage, ...props }) => (
  <VendorDatePicker
    inline
    locale={currentLanguage}
    {...props}
  />
);

export default connect(mapStateToProps)(DatePicker);

Expected behavior
When in redux currentLanguage is changed, new locale prop is passed to DatePicker and locale texts should be translated to a new language.
Actual behavior
When in redux currentLanguage is changed, new locale prop is passed to DatePicker and locale texts is not translated to a new language. Only for example after DatePicker internal state like selected value is changed, text is translated.
Steps to reproduce
Use DatePicker component in inline version and pass dynamic locale. After changing it, you will notice that datepicker text remains the same.

Same to me with the following setup:
<DatePicker
    inline
    locale={locale}
/>

If I change the locale prop, it won't update current translation unless I change the selected date with mouse click or update the "selected" prop.

Same problem by my side, the locale text changes when choosing another date only !
It seems that the locale change is not listened by the DatePicker Component

Same issue

A bit of a hack, but this is a quick fix:
<DatePicker
  inline={true}
  key={locale}
  locale={locale}
/>

Has anyone resolved this issue?


Update console-plugin.yaml

Updated to reflect that latest version of gpu operator requires "service" contents to be nested under "backend" along with "type: Service".

@bstrauss84 This doesn't appear to match the spec for:
apiVersion: console.openshift.io/v1alpha1
kind: ConsolePlugin

Can you provide more detail about what version of OpenShift you are using etc?


Complete examples

Looking for an example of the 'next step', i.e. theh POST to https://api.fitbit.com/oauth2/token after the first round trip.

Hi @rmccown,
This stackoverflow link might be helpful if you are looking for more info about the omniauth refresh token flow. http://stackoverflow.com/questions/21707734/refresh-token-using-omniauth-oauth2-in-rails-application

@codebender
I think what @rmccown was referring to is after you successfully get back the "code" from the first example request, how do you initiate the Access Token Request with the code using omniauth-fitbit-oauth2? I'm currently trying to figure this out. I see you have the token_ur in the omnioauth strategy. Whenever you get time maybe you could show me the light? Thank you in advanced!

@drobsokc,
It sounds like you might be making a lot of the OAuth2 calls by hand, but all the magic is done by omniauth-oauth2.  It does all the handshaking. Take a looks at the example sinatra app
To run the example app:

register a fitbit app at dev.fitbit.com
set the Callback URL - http://localhost:9292/auth/fitbit_oauth2/callback
clone the repo - git@github.com:codebender/omniauth-fitbit-oauth2.git
change to the example sinatra app directory - cd omniauth-fitbit-oauth2/example
run the app - FITBIT_CLIENT_ID=<Your Fitbit OAuth 2.0 Client ID> FITBIT_CLIENT_SECRET=<Your Fitbit Client (Consumer) Secret> rackup

For that example, visiting the uri http://localhost:9292/ will bring the user to the fitbit login prompt, after logging in you will be redirected back to the url specified as the dev.fitbit.com Callback URL. In the example app that matches the path /auth/:provider/callback. At this point the full OAuth2 handshank is complete. You have the all important token to start making calls to the fitbit API for user data.
Does that help?

@codebender
Thank you for getting back to me! I did indeed fire up your sinatra example app and was able to get everything back from the request parameter like you described. Although it's not like that in my rails app?
All I have done is added the below code to the omniauth.rb file. I do have  your gem in my Gemfile and done a bundle install.
Rails.application.config.middleware.use OmniAuth::Builder do
 provider :fitbit_oauth2, 'client_id', 'secret',
       :scope => 'profile activity', :expires_in => '2592000'
end

created a route
get 'auth/fitbit_oauth2/callback' => 'api#receive'

My callback URL is good in my dev.fitbit.com profile. And configured my controller:
def receive
 @params = MultiJson.encode(params)
  render json: @params
end

And the only thing I get back in my rails app is this json string:
    {"state":"c9933580ffb06ad0a9a67305d9568ed7ee46","code":"bf8f41deebfd4bb9d653ee0","controller":"api","action":"receive"}

From the looks of your sinatra example and your gem it should be just that easy! No need for extra oauth calls by hand. Any ideas what I need to do with my rails app to get the same callback with the token and the user data that you get in your Sinatra app? Thank you!

Alright, so I was rendering the params and not the request.env. Everything I need is inside the request. I just changed my controller to look like below for now so I can see what is inside the request and the string looks more like your example Sinatra app. Thank you again for your reply. Cheers!
 def receive
  @request = request.env
  render json: @request.to_s
 end

@drobsokc cheers! I'll add a Rails example app to help out everyone.


Have Prompt's when also take a function with nextLocation

Version
4.0.0
Can we have Prompt's when also be a function that takes in the next location, like message.  I have a use case where I want to prompt block when a user leaves the root of a certain path.  For example, I'd allow navigating from /foo/1 to /foo/2 or /foo, but not /bar or /bar/1.
If I take the topics example and put the following at the Topics root, it will prompt on all transitions going forward, when I just want it to prompt whenever it leaves Topics.  I think this would be easiest if when supported a function, but there are likely other solutions.
    <Prompt
      when={true}
      message={'Exit?'}
    />

Dupe of #4743

Hey @timdorr.  Thanks for following up on this issue so quickly.  I See #4743 is closed.  Is this something that's awaiting a PR?  Or is something @ryanflorence wasn't interested in adding?


Avzomend can't be rescaled, with scale to eyes is set to true target height is detected as negative

This is unrelated to my previous issue. Rindo model that I use can be scaled completely fine (although it requires manual bone mapping).
Model that I am trying to adjust is Avzomend: https://yorshkasencho.booth.pm/items/4118550
I can't really tell what might be causing issues by looking at armature, I even did some manual adjustments to the rig, since by default it has several issues.
Bones have been mapped manually.
Blender version: 3.4.1
CATS version: latest development https://github.com/absolute-quantum/cats-blender-plugin/commit/d837be3688da748444bc5ae06e902cf4f0477129
Immersive scaler: latest as of writing this message
Error message, happens regardless of Scale to Eyes setting:
TypeError: must be real number, not complex
Error: Python: Traceback (most recent call last):
  File "C:\Users\Asovrix\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\immersive_scaler\operations.py", line 630, in invoke
    return self.execute(context)
  File "C:\Users\Asovrix\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\immersive_scaler\operations.py", line 612, in execute
    rescale_main(self.target_height, self.arm_to_legs / 100.0, self.arm_thickness / 100.0, self.leg_thickness / 100.0, self.extra_leg_length, self.scale_hand, self.thigh_percentage / 100.0, self.custom_scale_ratio, self.scale_eyes, True )
  File "C:\Users\Asovrix\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\immersive_scaler\operations.py", line 512, in rescale_main
    scale_to_floor(arm_to_legs, arm_thickness, leg_thickness, extra_leg_length, scale_hand, thigh_percentage, custom_scale_ratio, legacy)
  File "C:\Users\Asovrix\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\immersive_scaler\operations.py", line 366, in scale_to_floor
    arm_scale_ratio = calculate_arm_rescaling(arm, rescale_arm_ratio, legacy)
  File "C:\Users\Asovrix\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\immersive_scaler\operations.py", line 256, in calculate_arm_rescaling
    arm_change = (math.sqrt((head_arm_change * total_length - neck_length) * (head_arm_change * total_length + neck_length)) / arm_length) - (shoulder_length / arm_length)
TypeError: must be real number, not complex

Turns out I was using older version of IMScale (0.3.0). Issue originally is caused because of both meshes and armature having unapplied rotations and scale.
Version 0.3.1 and onwards are not affected by this issue.


Action plan for updating master

To update master per #3569 (or something else if that doesn't make it)

[x] merge the policy change - #3569
[x] fast-forward master to 1.15.0-dev
[ ] set the versions in configure.ac and src/clientversion.h to 1.14.99 (this is similar to what Bitcoin Core does; reflect the last released major version, but reserve .99 for the unstable main branch) - #3621
[x] re-hang all pull requests to master
[ ] delete 1.15.0-dev
[ ] fix release notes:

move doc/release-notes.md to doc/release-notes/release-notes-1.14.7.md
pull doc/release-notes.md from v1.14.8 into doc/release-notes/release-notes-1.14.8.md

[ ] update CONTRIBUTING.md

I will delete both 1.15.0-dev and 1.14.8-dev after #3621 is merged and the full change is effectuated.

If we've released and tested binaries from those branches and if we haven't made any other changes, they're "stable" in the sense that we've gone through the release and testing process.
"Unstable" means "not ready for release".
"Stable" isn't the same as "maintained" or "supported", however. Perhaps that distinction is more useful?

unstable/stable is just another way of saying "may change/will not change".

In this case it means: "will receive commits outside of releases" / "will not receive commits outside of releases".
The thing that makes it "unstable" is that today you check out the branch, you may get different results than when you check out the branch tomorrow, because it's actively being worked on. Whereas stable branches only change rarely - at release time (or in the case of archive branches, hopefully never.)

The change will be that strings will be frozen on master for a bit instead of on the -dev branch. This is easy to do. I don't see an issue.

what do?

Fix it.


Add test coverage for pkg/tarsum

Add some coverage on pkg/tarsum.
# From
+ go test -test.timeout=30m github.com/docker/docker/pkg/tarsum
PASS
coverage: 70.0% of statements
# To
+ go test -test.timeout=30m github.com/docker/docker/pkg/tarsum
PASS
coverage: 90.3% of statements

And removing unused code. I was also wondering about the following :

tarsum.go :
NewTarSumHash could be non exported (for now)
NewTarSumForLabel is never used, except for the tests
fileinfosums.go:
SortByPos is never used, except for the tests
versionning.go:
GetVersions is never used, expect for the tests

Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

ping @vbatts

thanks. ./pkg/tarsum will slowly get phased out, but these tests are fine.
As for your questions, usually the libraries in ./pkg/... API are a bit fixed, because we allow for outside tooling to use them. So, while those may not be used in docker's source, we'll leave them.

overall, LGTM

LGTM thanks!

I'll wait for the couple of questions and suggestions before merging.

hum DockerSuite.TestCliStatsNoStreamGetCpu seems to fail randomly :( (failed on janky here, on windows there https://github.com/docker/docker/pull/13501)

thanks @vdemeester


Postgres improvements

Move data inside containers (don't mount volumes in the data directory anymore)
Update reset command to wipe containers (keeping config only)
Fix bugs with reset command
Add -f flag to reset command to force the operation

Does this mean data is no longer persistent if the stack is stopped?

Does this mean data is no longer persistent if the stack is stopped?

The data is saved in the Docker volume. The volume will be preserved until you run ff reset or ff remove (or Docker specific commands to delete the volume). Stopping the stack will not purge the database.


0.27 Zwave: Breaks Thermofloor(heat-it) & Danfoss units

Home Assistant release (hass --version):
0.27
Python release (python3 --version):
3.4
Component/platform:
Docker image
home-assistant/home-assistant
Description of problem:

Both floor thermostat and radiator thermostat is unable to read set temperature.
Danfoss unit had problems in 0.26 but, a fix was posted in #2982
Expected:
To be able to read set temp.

Fixed with #3017

Applied the patches from #3017, im able to read the temp.
For thermofloor you can only read the default min value as set temp, current set is not read.
Setting new temp is updated in the UI.
For Danfoss it seems to be working

The thermoflooor is that zwave? if so could you provide the state attributes, what entities it creates, and the zwcfg_xxxxx.xml for that unit.

Yes, its zwave
zwcfg node info
http://pastebin.com/raw/D05Mh4As
entities:

climate.thermofloor_as_heatit_thermostat_tf_021_co_mode_36	15.0	current_temperature: 25
friendly_name: ThermoFloor AS Heatit Thermostat TF 021 Co Mode
max_temp: 35
min_temp: 7
node_id: 36
operation_list: Off,Cool,Heat,Heat Econ
operation_mode: Heat
temperature: 15
unit_of_measurement: °C
climate.thermofloor_as_heatit_thermostat_tf_021_cool_36	15.0	current_temperature: 25
friendly_name: ThermoFloor AS Heatit Thermostat TF 021 Cool
max_temp: 35
min_temp: 7
node_id: 36
operation_list: Off,Cool,Heat,Heat Econ
operation_mode: Heat
temperature: 15
unit_of_measurement: °C
climate.thermofloor_as_heatit_thermostat_tf_021_eco_mode_36	15.0	current_temperature: 25
friendly_name: ThermoFloor AS Heatit Thermostat TF 021 Eco Mode
max_temp: 35
min_temp: 7
node_id: 36
operation_list: Off,Cool,Heat,Heat Econ
operation_mode: Heat
temperature: 15
unit_of_measurement: °C

Try latest fix #3023

@turbokongen Great, this seems to have fixed the thermofloor device.
Temp of 24C can be read now (which is the current set temp)
But it seems like it broke the Danfoss thermostat, it has gone back to value null

could you provide the state attributes for the danfoss?

Sure
ZWCFG
http://pastebin.com/LBJWq9q4

climate.danfoss_z_thermostat_014g0013_heating_1_39	unknown	temperature: null
max_temp: 35
min_temp: 7
battery_level: 96
unit_of_measurement: °C
current_temperature: null
node_id: 39
friendly_name: Danfoss Z Thermostat 014G0013 Heating 1

note that the danfoss thermostat is a bit wierd, it doesn´t report the current temp over z-wave. It keeps the info to it self.

New commit for the danfoss and other devices without thermostat mode commandclass

Pulled the latest commit, but it still reads as null.

New commit

it worked, but reverted the fix for thermofloor.
Thermofloor now list the min value again

The zwcfg for the thermofloor please :)

its in comment 4?
http://pastebin.com/raw/D05Mh4As

New commit

now everything broke.
Both danfoss and thermofloor (heat-it)
Returning value null

Thermofloor now works again, danfoss broken

Now.....

thermofloor now list min value (not working)
danfoss working.

seems to be working, will do more testing and report back

:heart:

@turbokongen
Reading set value works on both thermofloor and danfoss
Setting temp on thermofloor works
Danfoss you cant change the value on, manual change on the device is replicated to HA instant.

Just issued a new commit for that.

wait

Now

pulled commit 17a7678, seems to be working fine now :)
Tested both thermofloor and danfoss
Thanks for all the work you put into the z-wave platform @turbokongen


GroupWidget rendering issue

Hi, finally found the problem.
This code works without problems (just renders one Groupwidget with one ComboBox):
from flexx import flx, ui, event, config

class GBX(flx.GroupWidget):
    CSS = f"""
        .flx-GBX legend {{
            font-family: Helvetica;
            font-size: 16px;
            font-weight: bold;
        }}
    """

class Test(flx.Widget):
    def init(self):
        with flx.VBox(padding=0, spacing=10):
            with flx.HBox(padding=0, spacing=0):
                    with GBX(title="SOME LONG GROUPBOX TITLE", flex=1):
                        with flx.VBox():
                            flx.ComboBox(
                                editable=False,
                                options=["ONE", "TWO", "THREE"],
                                selected_index=0,
                            )
            flx.Widget(flex=1)
test_app = flx.App(Test, title="TEST")
test_app.serve('')
flx.start()

But change the line class Test(flx.Widget): to class Test(flx.PyWidget):, and about 4 out of 10 times the GroupWidget layout is messed up like so:

P.S.:
Simplified the example code.

I can reproduce this. Could you try to make your example minimal? I noticed you can remove a lot without losing this behaviour..

It seems like the order of the inline css is different for PyWidget than for Widget.
For the simplest example the order with Widget is:

_widget.css
_layout.css
_hv.css
_dropdown.css
_group.css

While for PyWidget:

_widget.css
_group.css
_layout.css
_hv.css
_dropdown.css

Manually adding a copy of the contents of _group.css at the end fixes the issue. Even if you only add the .flx-GroupWidget > .flx-Layout rule. Does this rule only work properly after styling of .flx-Layout? This is beyond my CSS knowledge. It seems like a good idea though that css is loaded in the same order regardless of Widget or PyWidget to avoid these kind of issues @almarklein

I can indeed reproduce this. Thanks @jrversteegh to confine the issue to the order that Flexx defines the assets. I looked into that part, and the cause seems to be in the difference between how a PyComponent and JsComponent are initialized. It does not seem to be a problem specific to PyWidget.
When a JsComponent (e.g. Widget), gets instantiated in Python, it registers itself with the session (via _register_component). The session will resolve its dependencies (modules), as derived from the source code of that class, and will push the CSS and JS sources to the browser the in the correct order, the module that defines the instantiated JsComponentlast (e.g.main`).
When a PyComponent gets instantiated, the same thing happens, but in this case the source is not used to derive depenendencies - it's a Py-Component, so it does not undergo the magic transpilation step. At some point (usually during the init(), it will instantiate a JsComponent, and the above paragraph applies.
In the example at the top post, this means that the __main__ module gets loaded first, but since it depends on flx.GroupWidget (via the GBX class), the flexx.ui.widgets._group.css gets loaded "too soon" too.
I'm not sure how feasible a solution would be to ensure consistent loading. But a way to make things work is to put the sources of your custom non-py widgets (e.g. GBX) in a separate module.

put the sources of your custom non-py widgets (e.g. GBX) in a separate module

That may not be sufficient. Without custom js widgets, you can still get this behaviour e.g.:
from flexx import flx

class Test(flx.PyWidget):
    def init(self):
        with flx.GroupWidget(title="SOME LONG GROUPBOX TITLE"):
            with flx.VBox():
                flx.ComboBox(options=["ONE", "TWO", "THREE"], selected_index=0)

entry = flx.App(Test, title='')
entry.serve('')
flx.start()

Since GroupWidget comes first, its CSS will be loaded first? If the order of the css is indeed important then it seems to me some kind of dependency tracking is required... Or GroupWidget should not be allowed to have a "non layout" parent or something, so it can never occur in source before a layout.
Regarding the second: seems I've been bitten by parenting issues before ( #501 ). I Think beginners would be helped by errors or warnings in case of "bad parenting" ;)

Since GroupWidget comes first, its CSS will be loaded first

oh ... I think you might be right. In that case, a better solution would be to update the CSS for the groupwidget so it won't be overrriden.

.flx-box.flx-vertical in _hv.css appears to be its competitor.
Like so? #595

Yes, I confirmed that it worked, and merged your PR :)


How to align text ?

Hi! Love the clock!
I would like to align it to the left so the time is sitting in the upper left corner of my dashboard. I already managed to make it transparent using card-mod however I can’t seem to change the text alignment. Thanks !

Found it ! thanks to the Text Height solution mentioned using card-mod I simply added a text-align:left; and it worked !


Mark done task as not done (undo)

Hi,
Would it be possible to include a method to mark a done tag as not done? Basically, some kind of undo command for if I accidentally mark a task as done.
It might be logical for the command to only be available while inside the 'done' context.

Command undone added in 8ce5ed909575230c17e0a1404bebf6cf051408a7. It will be present in the next release. Thanks for the good idea :)

Feature added in v0.4.0 :tada:


MVA NewsApp not in Samples

The Microsoft Virtual Academy "Getting Started with Template 10" mentions that the NewsApp will be in the samples. I'm not seeing it there. I'd like to checkout a couple things, particularly the 'favorite' feature of the app.

This perhaps what you looking for https://github.com/Windows-XAML/2016MVA-Template10

Doh!
Thanks!


RM-1199 New version code preparations

CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are the manifests (crd/bundle) regenerated if needed?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PG version?
[ ] Does the change support oldest and newest supported Kubernetes version?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.9 out of 10 committers have signed the CLA.:white_check_mark: hors:white_check_mark: nmarukovich:white_check_mark: tplavcic:white_check_mark: cap1984:white_check_mark: egegunes:white_check_mark: hubvu:white_check_mark: eightseventhreethree:white_check_mark: inelpandzic:white_check_mark: ptankov:x: dforsteYou have signed the CLA already but the status is still pending? Let us recheck it.

Test name
Status

upgrade
passed

version-service
failed

scheduled-backup
passed

demand-backup
passed

init-deploy
passed

smart-update
passed

scaling
passed

recreate
passed

affinity
passed

monitoring
passed

self-healing
passed

operator-self-healing
passed

clone-cluster
passed

tls-check
passed

users
passed

ns-mode
passed

data-migration-gcs
passed

We run 17 out of 17

commit: https://github.com/percona/percona-postgresql-operator/pull/622/commits/6687716174c7975cc0c0e373e059fb2039e424c7
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-apiserver
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-event
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-rmdata
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-scheduler
image: perconalab/percona-postgresql-operator:PR-622-668771617-postgres-operator
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-deployer

Test name
Status

init-deploy
passed

scaling
passed

recreate
passed

affinity
passed

monitoring
passed

scheduled-backup
passed

version-service
failed

self-healing
passed

operator-self-healing
passed

clone-cluster
passed

upgrade
passed

tls-check
passed

demand-backup
passed

smart-update
passed

users
passed

ns-mode
passed

data-migration-gcs
passed

We run 17 out of 17

commit: https://github.com/percona/percona-postgresql-operator/pull/622/commits/6687716174c7975cc0c0e373e059fb2039e424c7
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-apiserver
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-event
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-rmdata
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-scheduler
image: perconalab/percona-postgresql-operator:PR-622-668771617-postgres-operator
image: perconalab/percona-postgresql-operator:PR-622-668771617-pgo-deployer

Test name
Status

demand-backup
passed

init-deploy
passed

upgrade
passed

scheduled-backup
passed

version-service
passed

smart-update
passed

scaling
passed

recreate
passed

affinity
passed

monitoring
passed

self-healing
passed

operator-self-healing
passed

clone-cluster
passed

tls-check
passed

users
passed

ns-mode
passed

data-migration-gcs
passed

We run 17 out of 17

commit: https://github.com/percona/percona-postgresql-operator/pull/622/commits/c308cc84fa52a431a31095a1ce95647214ca0072
image: perconalab/percona-postgresql-operator:PR-622-c308cc84f-pgo-apiserver
image: perconalab/percona-postgresql-operator:PR-622-c308cc84f-pgo-event
image: perconalab/percona-postgresql-operator:PR-622-c308cc84f-pgo-rmdata
image: perconalab/percona-postgresql-operator:PR-622-c308cc84f-pgo-scheduler
image: perconalab/percona-postgresql-operator:PR-622-c308cc84f-postgres-operator
image: perconalab/percona-postgresql-operator:PR-622-c308cc84f-pgo-deployer


Issues discovered while building the conda package

https://github.com/conda-forge/bloptools-feedstock/pull/18
The build log is here.
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/bloptools_1709400615201/test_tmp/run_test.py", line 62, in <module>
    import blop.experiments.nsls2.iss
  File "/home/conda/feedstock_root/build_artifacts/bloptools_1709400615201/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.11/site-packages/blop/experiments/nsls2/iss.py", line 5, in <module>
    from blop.tasks import Task
ModuleNotFoundError: No module named 'blop.tasks'

@thomaswmorris, was it fixed in the codebase?

This seems to be resolved.


raftstore: Refactor SplitObserver.adjust_key()

What problem does this PR solve?
The SplitObserver.adjust_key() is outdated and no longer adjust keys. So removed the function and move the checks of keys to the on_split().
Check List
Tests

Unit test
Integration test

Release note
None

You may misunderstand adjust_key, test cases should show you what it does.

@BusyJay I see, encode_bytes(decode_bytes(key)) does not always equal to key because it may strip timestamp for the key. So I added the side effect back.

/run-all-tests

/test

/run-integration-common-test

/run-all-tests

/run-all-tests

/merge

/merge

/run-all-tests

/test


IllegalArgumentException in 2.4 using stage task

I’m having trouble upgrading with swagger Play Java from 2.3 to 2.4.  It worked fine for me with 2.3.
The issue I’m having is accessing the routes file.  In SwaggerPlugin.scala line 119 there is this line, where the routes file is parsed.
val parsedRoutes = RoutesFileParser.parse(new File(app.classloader.getResource(routesFile).toURI))
This is running fine for me in the IDE (IntelliJ) or via activator run.  However, after running activator compile stage, and then executing it via the generated launcher script in target/universal/stage/bin  it fails.  The error I’m getting is thrown from the Guice at startup, but the nested exception is this.  Line numbers are slightly off due to my adding some println statements.
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
	at java.io.File.<init>(File.java:418)
	at play.modules.swagger.SwaggerPluginImpl.play$modules$swagger$SwaggerPluginImpl$$parseRoutesHelper$1(SwaggerPlugin.scala:122)
	at play.modules.swagger.SwaggerPluginImpl.parseRoutes(SwaggerPlugin.scala:137)
	at play.modules.swagger.SwaggerPluginImpl.<init>(SwaggerPlugin.scala:104)
	at play.modules.swagger.SwaggerPluginImpl$$FastClassByGuice$$de7219b8.newInstance(<generated>)
	at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)

I’ve hacked into SwaggerPlugin and added a print statement.  The URL begin passed to the File constructor is
jar:file:/Users/lanceo/heroku/dev/target/universal/stage/lib/server.server-1.0-SNAPSHOT.jar!/routes
That looks to me like a valid jar: protocol, but this SO indicates that is not allowed with the File contractor.  http://stackoverflow.com/questions/10144210/java-jar-file-use-resource-errors-uri-is-not-hierarchical
Running the app with the stage command is a supported deployment method (https://www.playframework.com/documentation/2.4.x/Production).  It is how Heroku runs a Play app.  Any ideas on work arounds?

fixed in #64 and version 1.5.2


Uniform coloring of arrows

I thought that it would be better to unify the color of the arrows, but how do you feel?

Hmm, I think you are right that "Special" is better to use than "Identifier"


[SMALLFIX] Clean up formatting in SpaceReserver.

Not sure why the check style missed this.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16289/
Test PASSed.


Sidenav md-sidenav-container and hammer.js swiperight event

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Swiperight  event (hammer.js) fires on the android device within the google chrome v56
What is the current behavior?
Swiperight  event (hammer.js) fires on the desktop with the google chrome v56 but doesn't fire on the android device
What are the steps to reproduce?
Note: In both plunkers the 'swiperight' event should open the sidenav
Plunker that reproduce the problem. The 'swiperight' event of the md-sidenav-container element does not fire on the mobile device
https://plnkr.co/edit/jYurh5UjMS1l4p80YDS4?p=preview
Here is example where the 'swiperight' event of the div element fires, event on the android device
https://plnkr.co/edit/a715XrdYk0z4b0hlzpwk?p=preview
Which versions of Angular, Material, OS, browsers are affected?
Android 6.0
Google Chrome v56

I ran into the same issue too, with Chrome 58.0 on Android (whereas the standard browser on the device (MIUI8)) had no problems):
https://plnkr.co/edit/uJ3n8XedvCCdeUHXKpwX?p=preview
The same page works on iOS Chrome.

It sounds like an issue with hammer.js, I recommend filing an issue there: https://github.com/hammerjs/hammer.js/issues


NLconstraints fail with memory allocation issue

I'm trying to use SCIP.jl to solve a simple nonlinear optimization, but so far any nonlinear constraints cause the same memory allocation failure. For example:
using JuMP, SCIP

m = Model(solver=SCIPSolver())
@variable m -5 <= x <= 5
@NLconstraint m x <= 2
solve(m)

fails with:
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/blockmemshell/memory.c:1052] ERROR: Insufficient memory for allocation of<PHONE_NUMBER>3701163096 bytes.
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:12244] ERROR: Insufficient memory for new chunk.
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:12244] ERROR: No memory in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:12766] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:15381] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/scip/cons_nonlinear.c:8424] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/scip/cons.c:1584] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/scip/cons.c:6670] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/scip/prob.c:1318] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/scip/prob.c:571] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/scip/scip.c:13987] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/scip/scip.c:15978] ERROR: Error <-1> in function call
[/home/rdeits/apps/scipoptsuite-5.0.1/scip/src/scip/scip.c:16198] ERROR: Error <-1> in function call
CSIP: failing with retcode 2 at /home/rdeits/.julia/v0.6/SCIP/deps/src/CSIP-0.5.0/src/csip.c:997

I built the scipoptsuite from source following the instructions in the SCIP.jl readme, and I'm using the version of CSIP which is automatically downloaded by Pkg.build("SCIP").
I've also run the full test suite for scipoptsuite with ctest, and the only tests which fail are the ones which require the MA27 solver. I've likewise run the tests for CSIP with make test and again, all of those tests pass except the ones requiring MA27.
Can you help?

I can reproduce this, at least.
The amount of memory in the error message is very large, but I would not know where this comes from. I'm also a little surprised because I thought that we had nonlinear tests both in CSIP as well as SCIP.jl (through JuMP).
Recompiling SCIP and CSIP in debug mode might give more insight, I will try that later.
PS: I did not know any SCIP tests require MA27, but maybe that is just an indicator for requiring IPOPT?

When I run the above Julia snippet with SCIP compiled in Debug mode, this assertion fails:
julia: /home/rs/opt/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:12749: exprgraphAddExpr: Assertion `expr->nchildren > 0' failed.
[...]
exprgraphAddExpr at /home/rs/opt/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:12749
SCIPexprgraphAddExprtreeSum at /home/rs/opt/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:15381
consActiveNonlinear at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/cons_nonlinear.c:8424
conshdlrActivateCons at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/cons.c:1584
SCIPconsActivate at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/cons.c:6670
SCIPprobAddCons at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/prob.c:1318
SCIPprobTransform at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/prob.c:571
SCIPtransformProb at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/scip.c:13985
SCIPpresolve at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/scip.c:15978
SCIPsolve at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/scip.c:16198
CSIPsolve at /home/rs/src/CSIP/src/csip.c:997
optimize! at /home/rs/.julia/v0.6/SCIP/src/mpb_interface.jl:59
[...]

@fserra: I guess the expression graph is not constructed correctly in CSIP, then?

yes. The problem was that there was no objective function, however Julia was calling CSIPsetNonlinearObj with an empty expression and there were no checks for this in CSIP.
I will fix this in CSIP

Thank you!

Fix will be completed in new release after https://github.com/JuliaLang/METADATA.jl/pull/14691 is merged.


Implement divide functionality for Vec2, Vec3 and Vec4 classes

Currently we have:

mul - multiplies vector by vector
scale - multiplies vector by scalar

We should consider similar functionality for divide operation.

How about if the API was like this:
Vec3#mulScalar(n: number)
Vec3#mul(vec: Vec3)
Vec3#mul2(vec1: Vec3, vec2: Vec3)

Vec3#divScalar(n: number)
Vec3#div(vec: Vec3)
Vec3#div2(vec1: Vec3, vec2: Vec3)

Vec3#addScalar(n: number)
Vec3#add(vec: Vec3)
Vec3#add2(vec1: Vec3, vec2: Vec3)

Vec3#subScalar(n: number)
Vec3#sub(vec: Vec3)
Vec3#sub2(vec1: Vec3, vec2: Vec3)

And we deprecated Vec3#scale.

sounds good but not sure we need these, it's not common to do that:
Vec3#addScalar(n: number) : Vec3
Vec3#subScalar(n: number) : Vec3

Maybe we should add these:
Vec3#mulScalar2(n: number, vec: Vec3)
Vec3#divScalar2(n: number, vec: Vec3)

Won't it become many ways of doing the same thing?
.scale - is very common across all various math libs and languages. .scale(1/s) is same as .div(s).
Although "div" is conflicting name in the web with DOM div.
For readability of code, I rarely see Devs using mul2.

@Maksims This issue originated from here: https://forum.playcanvas.com/t/dividing-vectors/18583/6
The problem is that, for you or I, it's obvious that div(x) is scale(1/x). But to some developers, it's just not obvious, or even intuitive if you are using code complete in the code editor. It seems reasonable that a lot of developers will think "I want to divide this vector" and start typing vec.div to bring up autocomplete (only to find it doesn't exist). I think we're just used to the current API.


Clean up PyCharm issues

Goals
Issues pointed out by PyCharm are cleaned up, in particular:

[ ] Missing imports
[ ] Unused imports
[ ] Unused variables
[ ] Typos

Oops, sorry, my bad, wrong repository


Scheduled maintenance: June 5, 2021

Maintenance for: AXG-DE1, AXG-DE2, AXG-FR2.
Expect downtime or degraded performance.

Maintenance for: AXG-DE1, AXG-DE2, AXG-FR2.
Expect downtime or degraded performance.

Effective start: 08:00.
Effective end: 08:15.
No downtime.


⚠ API - Lens has degraded performance

In aaff9c4, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 504
Response time: 10619 ms

Resolved: API - Lens performance has improved in 7fca926 after 8 minutes.