broken KDE 6.1.4

Describe the bug
All the default kde theme changed after installing global theme. And I want to know how to roll it back. Also it broke the settings and dark mode, as seen in the photo.
Broken settings:
keyboard shortcuts ,sound, display and monitor, bluetooth, thunderbolt,colour management
printers, wifi, wallpaper, global themes, text and fonts and more...
Steps to reproduce the behavior:

Execute the script
Execute global settings
Reboot

Expected behavior
Settings functioning well and dark mode enabled. Also a way to revert it
Screenshots

Additional context
I get it if it's not possible to revert it, but at least I want to show the errors I have it. Also I guess if I try to remove things maybe will it work(I don't want to restart the distro another time)

It attempts to set Breeze as a kvantum theme, when on arch and fedora at least, there is no kvantum theme named "Breeze" installed.

I deleted the packages that the global theme option installed, after a reboot it reverted back to my set theme.

Apparently an Breeze Kvantum theme straight up doesnt exist anywhere, and thats the core of this issue.
The Global Theme script attempts to put use the qt6-theme controll application as the global QT-Theme (which you do outside of KDE), and in the qt6 controll application, then sets kvantum (an theme-engine) as its theme. Still correct.
Then for kvantum, a non-existent kvantum theme is set, which is the issue. I cant exactly guess if its light mode or dark mode, but i presume its light mode, so rather than setting it to Breeze, the default KDE Theme that has no kvantum equivalent, it should be set to something else.
Now, here is where Chris' Preferences for themeing set in. I personally would replace that line setting the kvantum theme from breeze to KvArc, but thats my preference.

This is a duplicate of #165.
/close


Doc fixes

Improve documentation of Async::DNS::Server.

Removed old example for Server#initialize which referenced some kind of match method.
Added a top-level example copied from the README.
Added missing YARD tags.
Fixed a YARD warning in lib/async/dns/transaction.rb.
Tried my best to conform to your style (tab indentation, one-line @param tags, etc).

Types of Changes

Documentation.

Contribution

[x] I tested my changes locally.
[x] I agree to the Developer's Certificate of Origin 1.1.

Thanks!


Improve expression naming

I think that the following changes should be done:
floatAdd => add
...
floatSub => sub
property => prop
float => number

+1

Closed by #142

:+1:

"float => number" hasn0t been done yet

Done: https://github.com/CartoDB/renderer-prototype/commit/ba97707643ef5ad4d8e8724000fda84394a9585c

It would require docs too :slightly_smiling_face:

@Jesus89 update float docs with the new alias ;)

https://github.com/CartoDB/renderer-prototype/commit/9520e2f83ae75562583fadf079cccf494c4add2d :book:


OrientDB is at 2.1.4

Should the tests be made against that version? Or it doesn't matter?
Scott

Do you want to try and give this one a go Scott?

Hehe....ok. ODB is actually at 2.1.5 now and 2.1.6 is around the corner along with 2.2.0. Supposedly 2.2.0 is going to have some performance improvements in it too. I just wish they'd come up with a bit more stability.
Scott

Yeah and I've been following the progress of orient 3.0 and that's going well too.

Agreed. I'm away for the week, but Spider is just about the only thing on my list through the end of the year. I'll add this to my todos :)

Hmm...I am plucking away at this. Working with the develop branch and ODB 2.1.5, I ran into this.
S...........................................................PHP Fatal error:  Class 'brightzone\rexpro\Connection' not found in /opt/appserver/webapps/spider/tests/Fixtures/GremlinFixture.php on line 29

Fatal error: Class 'brightzone\rexpro\Connection' not found in /opt/appserver/webapps/spider/tests/Fixtures/GremlinFixture.php on line 29

So, I figured out the problem and I refactored the namespace to Brightzone\GremlinDriver, which fixed the above, but now I am running into this.
S............................................................S.  63 / 112 ( 56%)
..EE........S...............SS...................

Time: 19.9 seconds, Memory: 25.00Mb

There were 2 errors:

1) Spider\Test\Unit\Drivers\Gremlin\DriverTest::testWriteCommands
Brightzone\GremlinDriver\ServerException: The server processed the request but there is no result to return (e.g. an {@link Iterator} with no elements). :  >

/opt/appserver/webapps/spider/vendor/brightzone/gremlin-php/src/Connection.php:792
/opt/appserver/webapps/spider/vendor/brightzone/gremlin-php/src/Connection.php:333
/opt/appserver/webapps/spider/vendor/brightzone/gremlin-php/src/Connection.php:468
/opt/appserver/webapps/spider/vendor/brightzone/gremlin-php/src/Workload.php:78
/opt/appserver/webapps/spider/vendor/brightzone/gremlin-php/src/Connection.php:471
/opt/appserver/webapps/spider/src/Drivers/Gremlin/Driver.php:105
/opt/appserver/webapps/spider/src/Drivers/Gremlin/Driver.php:129
/opt/appserver/webapps/spider/tests/Unit/Drivers/BaseTestSuite.php:223

2) Spider\Test\Unit\Drivers\Gremlin\DriverTest::testTransactions | it rollbacks properly on transactional graph
Brightzone\GremlinDriver\InternalException: gremlin-php driver has thrown the following error : A graph object needs to be specified

/opt/appserver/webapps/spider/vendor/brightzone/gremlin-php/src/Connection.php:788
/opt/appserver/webapps/spider/vendor/brightzone/gremlin-php/src/Connection.php:542
/opt/appserver/webapps/spider/src/Drivers/Gremlin/Driver.php:233
/opt/appserver/webapps/spider/tests/Unit/Drivers/BaseTestSuite.php:250
/opt/appserver/webapps/spider/vendor/codeception/specify/src/Codeception/Specify.php:117
/opt/appserver/webapps/spider/vendor/codeception/specify/src/Codeception/Specify.php:54
/opt/appserver/webapps/spider/tests/Unit/Drivers/BaseTestSuite.php:269

Not sure what the issue is other than possibly my software on the gremlin side is outdated. I am going to play with the vagrant box now.
Scott

Hmm I merged a PR for this the other day :  96a6e9b89ebf9a5143633f017739a6d370e4faee
Did you pull the latest version and composer install?
Oh also you will need to use gremlin-server 3.0.2. I'm going to doublecheck the vagrant configuration right now to make sure it's in sync with the CI build

It isn't. I am playing around with the vagrant box right now and it has ODB 2.1.0 and Gremlin 3.0.0. Neo4J is also an older version too. What version Neo4J should it be installing?
I am not sure what I did merging Spider's upstream repo.
Develop is the branch I should be pulling from, isn't it?
Scott

Yes. I also just put the up the following PR: #100 which should address the gremlin-server version for vagrant.
The PR also reintroduces the composer.lock file which should ensure that you get the same dependencies as travis and myself when you composer install.

I just fired up the vagrant box and it is working. I haven't ran any tests yet. I'll get to that this evening.
There seems to be an issue with the way ODB is initially started. It isn't doing its proper initialization work. Not sure why, but I can tell, because ODB isn't updating the orientdb-server-config.xml file with the needed user elements. This, in turn, means Studio keeps annoyingly asking for htaccess credentials, when they aren't needed. Could it be a user permissions conflict, because the orientdb.sh doesn't have a user or dbroot path added?
It would also be nice in general, if the servers would be started as services, when working with them. (to start and stop them, when doing other work on the servers). I can get this done with ODB, but I am not sure about Gremlin or NEO4J. Should I attempt the ODB changes? Is this even important?
Scott

And now ODB is at 2.1.6
https://github.com/orientechnologies/orientdb/releases/tag/2.1.6
Scott

Okay, this is great. I'm not sure how to support this in automated testing, because I don't know that I only want to test against the most cutting edge implementations of all these databases. Teams are sometimes slow to upgrade. Any thoughts? I don't know how to make Travis test against multiple database versions (say the latest 3?)

From what I've been reading between the MongoDB and OrientDB communities, it seems quite often that users of databases hang behind quite a bit from upgrading. However, that being said, theoretically, patch versions should be backwards compatible too. So, even if Spider supports the current patch version, it should also work for older versions too.
Scott

For testing against different server versions it's pretty easy, you just have to add an env to the travis configuration. We can do:
env:
  - NEO4J_VERSION="2.2.5" GREMLINSERVER_VERSION="3.0.2" ORIENT_VERSION="2.1.6"
  - NEO4J_VERSION="2.2.4" GREMLINSERVER_VERSION="3.0.1" ORIENT_VERSION="2.1.0"
  #etc...

In general, I would vote for testing with the most current patch version or maybe only updating to the even numbered patch versions, to reduce having to reduce updating testing too often. There shouldn't be issues with BC breaks between the patch versions.
When a major point release or major release is out, I'd vote for supporting two versions, possible with a sunset scheme based on point releases.
Actually, since there are so many possible combinations, I am wondering if the database API should be a plug-in. So, each plug-in would be versioned and tested with their respective database? Hmm....
Thinking out loud here. LOL!
Scott

Yeah we originally thought of that but there were some drawbacks to operating like that as well.
I think the two latest minor versions (latest patch) should be supported. It might be cool to have a comprehensive error for features covered that don't exist in older versions but I'm not quite sure how you would accomplish that.

Yeah, supporting a number of databases, with different languages, adds a good bit of complexity.
Scott

I think the two latest minor versions (latest patch) should be supported. It might be cool to have a comprehensive error for features covered that don't exist in older versions but I'm not quite sure how you would accomplish that in php

I agree with the last two minor versions. In all reality, it would likely work for other versions and the community can help fill gaps if they need older versions. I will do some look into errors covered for features that don't exist. I think we are on the way with the UnsupportedException we already have. It would just be the driver's responsibility to alert the rest of the system that a feature is not supported in the current version.

I've been playing around and have some small changes made, to get the ODB 2.1.6 server running properly.
For now, when running the tests, I get these errors, which have nothing to do with ODB.

S............................................................S.  63 / 112 ( 56%)
..EE........S...............SS...................               112 / 112 (100%)

Time: 46.4 seconds, Memory: 28.50Mb

There were 2 errors:

1) Spider\Test\Unit\Drivers\Gremlin\DriverTest::testWriteCommands
Brightzone\GremlinDriver\ServerException: The server processed the request but there is no result to return (e.g. an {@link Iterator} with no elements). :  >

/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:800
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:341
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:476
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Workload.php:78
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:479
/var/www/public/Spider/src/Drivers/Gremlin/Driver.php:105
/var/www/public/Spider/src/Drivers/Gremlin/Driver.php:129
/var/www/public/Spider/tests/Unit/Drivers/BaseTestSuite.php:223

2) Spider\Test\Unit\Drivers\Gremlin\DriverTest::testTransactions | it rollbacks properly on transactional graph | examples index 0
Brightzone\GremlinDriver\InternalException: gremlin-php driver has thrown the following error : A graph object needs to be specified

/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:796
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:550
/var/www/public/Spider/src/Drivers/Gremlin/Driver.php:233
/var/www/public/Spider/tests/Unit/Drivers/BaseTestSuite.php:250
/var/www/public/Spider/vendor/codeception/specify/src/Codeception/Specify.php:118
/var/www/public/Spider/vendor/codeception/specify/src/Codeception/Specify.php:55
/var/www/public/Spider/tests/Unit/Drivers/BaseTestSuite.php:269

And ideas @PommeVerte?
Scott

Both of those tests are from corrupted Gremlin Databases. We had the problem before. They are local problems because you and I needed to rebuild or wipe clean the gremlin data-store. So, the errors shouldn't pop up anywhere else :)
PS: I am back pretty full time to Spider on Monday, I hope. Thank you both for your work this week :)

How can I fix the issue so my local tests will work? I haven't done much. More playing and learning than anything else.
Scott

what version of the server are you running?

export NEO4J_VERSION="2.2.4"
export GREMLINSERVER_VERSION="3.0.2"
export ORIENT_VERSION="2.1.6"

Scott

ok I had a closer look at your errors. It looks like there are two separate issues. The first one is that your graph isn't instantiated. The second is that the transactional (neo4j) graph isn't instantiated.
In essence it sounds like your configuration isn't right. Have you followed all the steps here : https://github.com/spider/spider/blob/master/docs/contributing.md
The individual files (and download link) will need updating but you can find the configuration files here : https://github.com/PommeVerte/gremlin-php/tree/master/build/server (or in the vendor/brightzone/gremlin-php/build/server/ folder)

I'll give it a try to see what is missing or wrong for Gremlin. However, I thought the vagrant box was supposed to be set up to run everything necessary for testing automatically. I had pulled in your branch into my local repo, to get the update to Gremlin 3.0.2. Maybe I made a mistake with that?
Scott

Ok.

the REST API doesn't bind to all network interfaces, so I had to change the neo4j properties to allow my browser access. Then I could change the password to "j4oen". Why not use the standard password for testing? It would save the step.

That being done, now I am getting these errors.
S...........................................................EEE  63 / 112 ( 56%)
EEEEEEEEEEE.S...............SS...................               112 / 112 (100%)

Time: 44 seconds, Memory: 27.75Mb

There were 14 errors:

1) Spider\Test\Unit\Drivers\Gremlin\DriverTest::testFormatPath
Brightzone\GremlinDriver\ServerException: The script submitted for processing evaluated in the ScriptEngine with errors and could not be processed. Check the script submitted for syntax errors or other problems and then resubmit. : No such property: g for class: Script1 >

/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:800
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:341
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:476
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Workload.php:78
/var/www/public/Spider/vendor/brightzone/gremlin-php/src/Connection.php:479
/var/www/public/Spider/tests/Fixtures/GremlinFixture.php:33
/var/www/public/Spider/tests/Unit/Drivers/Gremlin/DriverTest.php:22

All 14 errors are the same.
I am stuck again.
Scott

Why not use the standard password for testing

Last I tried Neo4j complained that the password needed to be changed before operations could be performed. Hence the changing of the password.

I had pulled in your branch into my local repo, to get the update to Gremlin 3.0.2. Maybe I made a mistake with that?

Chances are my branch wasn't suffisent to get gremlin-server 3.0.2 working. That's why I needed you guys to confirm.

All 14 errors are the same.

This error indicates that when the server was turned on it didn't populate the variable g with the traversal object. It's hard to debug this without the server output (that should give a warning)

Can you manually turn the server off and back on again? via cd $GREMLIN_DIR; bin/gremlin-server.sh conf/gremlin-php-server.yaml ?

Last I tried Neo4j complained that the password needed to be changed before operations could be performed. Hence the changing of the password.

Hmm... yes. Before you can continue with the server, it asks for a new password. Maybe we could  automate this step by replacing the neo4j /data/dbms/auth file with a preconfigured one?
Checking to see if we can go to Gitter......
Scott

@chrismichaels84 - Hey Chris. I was having issues with ODB working properly and I fixed it by adding chown to the bootstrap.sh to make the ODB files root owned. For some reason they were installing as user "501". I still also had issues with permissions and found out if I started ODB with orientdb.sh instead of server.sh, it also works properly.
Do you know what might actually be the core issue? I made some changes, which are in this PR. See what you think.
https://github.com/spider/spider/pull/103
Scott

I've merged the PR, but I think this must be an OrientDB Core issue. It shouldn't have any bearing on the provisioning and I can't see why this would be desired behavior.
I'm closing this issue for now. I think it needs to be split up a bit.


Fix/esxi rebuild

这个 PR 实现什么功能/修复什么问题:

Remove 'Destory' operation that is unnecessary for VirtualDiskManager

Separate detach disk and delete disk when rebuilding.
In previous versions, set
`removeSpec.FileOperation = types.VirtualDeviceConfigSpecFileOperationDestroy'
to delete disk indirectly.
But, when its parent has only one child, the parent will be deleted along with it.
And the consequence is failure to reinstall the system.
Now, detach disk without deleteing backing file and then remove backing
file via datastore's operation.

针对问题2：
之前为了修复振华的问题做的修改：#4994
现在来看没有测试以下情况：image_cache中的某个image (简称IM） 只有一个vm在用，重装vm就会触发问题，因为 IM 会被删除掉。
另外，此次修改需要在振华的环境中测试一下[正在进行中]，看看 #4994 中的问题是不是也会被修复，因为 换了 datastore delete disk 的方式。

是否需要 backport 到之前的 release 分支:

release/3.0
release/3.1
release/3.2

/area esxiagent
/cc @swordqiu @zexi

Codecov Report

Merging #6420 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #6420   +/-   ##
=======================================
  Coverage    7.18%    7.19%
=======================================
  Files         646      646
  Lines      108626   108638   +12
=======================================
+ Hits         7808     7819   +11
  Misses     100219   100219
- Partials      599      600    +1

Flag
Coverage Δ

#aFlag
7.19% <0.00%> (+<0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/multicloud/esxi/storage.go
0.00% <0.00%> (ø)

pkg/multicloud/esxi/vdisk.go
0.00% <0.00%> (ø)

pkg/multicloud/esxi/virtualmachine.go
0.00% <0.00%> (ø)

pkg/cloudcommon/validators/validators_cert.go
39.77% <0.00%> (ø)

pkg/cloudcommon/cronman/cronman.go
53.95% <0.00%> (+5.11%)
:arrow_up:

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 bbeb6be...1e7c4c6. Read the comment docs.


[vault-operator] Cannot use AWS IAM Role to access s3 bucket

Describe the bug:
Using IAM role ARN to auth against s3 is not working for me (using OIDC provider in eks). I am using vault-operator and when I follow https://banzaicloud.com/docs/bank-vaults/cloud-permissions/ vault is not able to access s3 bucket. But, if I use envsConfig and use aws credentials for IAM user created from the same IAM Policy its working fine(also had to put aws_secret and aws_key to s3 backend config)
Here are my files I use for configuration:
vault.tf
resource "aws_s3_bucket" "bank_vaults_ct_test" {
  acl    = "private"
  bucket = "bank-vaults-test-eu"
  region = "eu-central-1"
}

resource "aws_iam_role" "vault_test_eu" {
  name = "vault-test-eu"

  assume_role_policy = <<EOF
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Federated": "${module.eks-test-eu.oidc_provider_arn}"
      },
      "Action": "sts:AssumeRoleWithWebIdentity"
    }
  ]
}
EOF
}

resource "aws_iam_policy" "vault_test_eu" {
  name        = "VaultTestEuIAMPolicy"
  path        = "/"
  description = "Vault secrets policy"

  policy = <<EOF
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "kms:*"
            ],
            "Resource": [
                "KMS KEY ARN"
            ]
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:*"
            ],
            "Resource": [
                "${aws_s3_bucket.bank_vaults_ct_test.arn}/*"
            ]
        }
    ]
}
EOF
}
resource "aws_iam_role_policy_attachment" "vault_test_eu" {
  role       = aws_iam_role.vault_test_eu.name
  policy_arn = aws_iam_policy.vault_test_eu.arn
}

vault.yaml
apiVersion: "vault.banzaicloud.com/v1alpha1"
kind: "Vault"
metadata:
  name: "vault"
spec:
  size: 1
  image: vault:1.4.2
  bankVaultsImage: banzaicloud/bank-vaults:latest
  unsealConfig:
    aws:
      kmsKeyId: "<KMS KEY ID>"
      kmsRegion: "eu-central-1"
      s3Bucket: "<BucketNAME>"
      s3Prefix: "vault-operator/"
      s3Region: "eu-central-1"
  serviceAccount: vault
  config:
    storage:
      s3:
        region: "eu-central-1"
        bucket: "<BucketNAME>"
        kms_key_id: "<KMS KEY ID>"
    listener:
      tcp:
        address: "<IP_ADDRESS>:8200"
        tls_cert_file: /vault/tls/server.crt
        tls_key_file: /vault/tls/server.key
    api_addr: https://vault.vault:8200
    telemetry:
      statsd_address: localhost:9125
    ui: true
  externalConfig:
    policies:
      - name: allow_secrets
        rules: path "*" {
          capabilities = ["create", "read", "update", "delete", "list"]
          }
    auth:
      - type: kubernetes
        roles:
          - name: default
            bound_service_account_names: default
            bound_service_account_namespaces: ["*"]
            policies: allow_secrets
            ttl: 1h

rbac.yaml
kind: ServiceAccount
apiVersion: v1
metadata:
  name: vault
  annotations:
    eks.amazonaws.com/role-arn: MY_ROLE_ARN

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: vault-secrets
rules:
  - apiGroups:
      - ""
    resources:
      - secrets
    verbs:
      - "*"
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: vault-secrets
roleRef:
  kind: Role
  name: vault-secrets
  apiGroup: rbac.authorization.k8s.io
subjects:
  - kind: ServiceAccount
    name: vault
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: vault-auth-delegator
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:auth-delegator
subjects:
  - kind: ServiceAccount
    name: vault
    namespace: vault

As I said After using envsConfig with aws secrets credentials in vault.yaml and also adding those credentials into s3 backend config it works like a charm, but really I do not want to use those.
Can you guys see or help me what I did wrong or it is really not working atm?
Thank you.
LOGS
container: vault
Error initializing storage of type s3: unable to access bucket "<my BUCKET NAME>" in region "eu-central-1": AccessDenied: Access Denied
	status code: 403, request id: XXX host id: XXX

container: bank-vaults
time="2020-07-25T15:31:11Z" level=fatal msg="error initializing vault: error testing if vault is initialized: Get \"https://<IP_ADDRESS>:8200/v1/sys/init\": dial tcp <IP_ADDRESS>:8200: connect: connection refused"

Environment details:

Kubernetes version (1.16):
Cloud-provider/provisioner (EKS):
bank-vaults version (latest):
Install method (manifests):

The main issue here is that you are using vault:1.4.2 which doesn't support IAM Role based authentication on AWS, which was fixed in vault:1.5.0.
Please check: https://www.vaultproject.io/docs/release-notes/1.5.0

https://www.vaultproject.io/docs/release-notes/1.5.0


Poster's name missing from journal results

Looks like the parsing have have broken for that at some point. Profile name and profile link are still good, but name is broken.
Picking random numbers until I found a valid journal as an example:
https://faexport.boothale.net/journal/233442.json
  "name": "\n                                        \n                                    ",
  "profile": "https://www.furaffinity.net/user/xids/",
  "profile_name": "xids",

(I've got a bunch of feature requests I would love too, but.. I shall put them in their own issue, once I gather them up.. Or maybe try and submit a PR, I have been wanting to learn Ruby!)

Yeah, they made an update that broke the parser.  Just fixed it in 824ac814e224f07fdb676954111f259b50b1921c
(looking forwards to seeing your ideas/code)

Don't hold your breath, but I would love to have a go over the weekend at least, provided I get stuff in my project working. I'm currently struggling with making far too many requests to your API (Sorry about that!) hoping to pull that request limit down a bit first

You can always run your own copy of it if you don't want to deal with the rate limiting.


The sriov-cni component is more than 1 year behind the latest version

The Type of Document Issue
Outdated
What's wrong with this document?
The sriov-cni component is more than 1 year behind the latest version

current version
The latest version

sriov-cni
v2.7.0
v2.8.0

https://github.com/spidernet-io/spiderpool/pull/3733


Project with multiple webpack entries crashes in production

Describe the issue / bug.
When webpack is provided with multiple entry points (link1 & link2) the project starts and works just fine when running in development, builds perfectly fine, however it crashes on startup after install.
Repo with source code to reproduce the error.
How can I reproduce this problem?
Run yarn run dev and application starts without any problems, run yarn run build followed up by app install & run and it crashes.
If visual, provide a screenshot.
(please ignore the fact that screenshot is from another app)

Tell me about your development environment.

Node version: 8.4.0
NPM version: 5.3.0
yarn version: 0.27.5
vue-cli version: 2.8.2
Operating System: Windows 7 Ultimate x64

@BonusPlay
When you added the addition loader entry point, you also renamed the renderer to main, which is also the name of the main process entry point. So during the webpack build, the actual main process script is getting overwritten with the main you defined in the renderer setup.
Changing L26 & L119 back to the name of renderer will fix the issue.


Add scroll with overflow content.

If you want to put more information on one screen you can set the page-container container's width and height what do you want, and the v-fullpage command will adapt the width and height of the parent element. After that you have the scrolling page to fill the full screen. When you reach the bottom of the page the scroll will turn on normal mode move between pages and you can proceed with the next page, just slide as before.
It function works on desktops and mobile devices.
Hope you will like it :yum: See you on GitHub :octocat:

"IsScrollHandler" is not needed, About scroll in page, please see scroll

great! that's What I'm Looking For

still cannot scroll in wechat @river-lee

@chas125 We told about it to @river-lee, our Pull Request has it! Look into it and try yourself 😋

@chas125 @NikolasMelui add options overflow.fix touchmove 'e.preventDefault' unable to slide.lookhttps://github.com/river-lee/vue-fullpage/blob/master/examples/scroll.html
Fullpage.defaultOptions = {     start: 0,     duration: 500,     loop: false,     dir: 'v',     der: 0.1,     movingFlag: false,     /**      * beforeChange      * @params      *     element {Element} current element      *     currenIndex {Number} current number      *     next    {Number}  next nummober      *               * @type {Boolean}      */     beforeChange: noop,     /**      * afterChange      * @params      *     element {Element} current element      *     currenIndex {Number} current number      *               * @type {Boolean}      */     afterChange: noop,     animateClass: 'anim',     /*      *    There are scroll bars in the page,      *   autoDetect any element in page       *   scrollOnly detect current page      *   hiddenignores the scroll bar in the page      *   @default hidden       */     overflow: 'hidden' };

sorry,maybe i should open a issue，it's a different question.
options "overflow" still cannot work in WeChat , even the buttons above the example page are broken in WeChat .
NikolasMelui's solution wont work either :( @NikolasMelui
WeChat (微信) is the most popular instant messaging app in China.  @river-lee

@chas125 You add a iuess to handle the wechat problem. scroll demo I tested part of the IOS system, WeChat apps. Tell me about your version and OS.

i tested in MIUI 9 ( based on Android 7.1) and WeChat Devtools(v0.7.0) on PC


Fix gas oracle

Codecov Report

Merging #155 (1c9663f) into develop (f4ecb78) will increase coverage by 17.79%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop     #155       +/-   ##
============================================
+ Coverage    71.73%   89.52%   +17.79%
============================================
  Files           68       33       -35
  Lines         2257     1079     -1178
  Branches       335      150      -185
============================================
- Hits          1619      966      -653
+ Misses         638      113      -525

Flag
Coverage Δ

batch-submitter
?

contracts
89.52% <ø> (ø)

core-utils
?

data-transport-layer
?

message-relayer
?

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

Impacted Files
Coverage Δ

packages/core-utils/src/l2context.ts

packages/core-utils/src/provider.ts

...kages/batch-submitter/src/batch-submitter/index.ts

...ices/l1-ingestion/handlers/state-batch-appended.ts

...kages/data-transport-layer/src/utils/validation.ts

...ices/l1-ingestion/handlers/transaction-enqueued.ts

...layer/src/services/l1-ingestion/handlers/errors.ts

packages/batch-submitter/hardhat.config.ts

.../batch-submitter/src/transaction-chain-contract.ts

packages/core-utils/src/fees.ts

... and 25 more

Continue to review full report at Codecov.

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


Update orientation of microsoft azure logo

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~5 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit 6e3e3fc139052e50b293e2867f80cc3793b36d78
https://deploy-preview-1424--landscape.netlify.com

Thanks for the PR but you were an hour too late!
https://landscape.cncf.io/format=card-mode&grouping=organization&organization=microsoft
The new, stacked logo looks much better.

Thanks @dankohn you beat me to it!


feat: 🎸 upgrade polkadot.js to 8.9.1

Description
Upgrade polkadot.js to get access to BTreeSet typegen supoort
Breaking Changes

JIRA Link
DA-368
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 15.0.0-alpha.14 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 15.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 15.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-11-25)
Features

initial Commit (1180f7b)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.0
:sunflower:


Certain components cause issues when used in web extensions

For the most part components work with no issues, but certain components cause issues when used.  In particular, I noticed Dialogs and Popper type components.  After use, they cause the page to start throwing this error.
Error: Permission denied to access property "apply"

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
The page works normally until a dialog or popper component is used.
Then it starts to interfere with normal scripts on the page, throwing things like:
Error: Permission denied to access property "apply"

Expected Behavior 🤔
Honestly, I'm okay if web extensions are not a supported use case for MUI.  I'm more wondering if someone has insight into why these components cause issues.  For now I'm rolling a custom modal / popup that doesn't cause issues.
Steps to Reproduce 🕹
Hard to include steps on this.  Basically you need to have a web extension on a page, open a dialog in the extension, then use the page and see the error.
Context 🔦
Using MUI in a web extension.
Your Environment 🌎
Firefox

Tech
Version

Material-UI
v4.9.5

React
Experimental (concurrent mode)

Browser
Firefox 74

Hard to include steps on this. Basically you need to have a web extension on a page, open a dialog in the extension, then use the page and see the error.

We need a complete repro for this. It's the first time I've heard about issues in web extensions so we don't have the bandwidth to debug these one-off use cases without some help from contributors.

I'll try and figure out a way to reproduce it without extensions.  It may require installation of a web extension though.  Would that be okay for a reproduction?
Basically I think I could make a code sandbox, but in addition one would have to install an extension.

@andrewkfiedler This sounds like a violation of a security constraint. Let us know if you find the origin of the problem. Closing until then.

👍 Sounds good.  I'll do some more digging.


[MM-49587] Fixing layout issue when banner appears

Summary
Fixing layout issue when banner appears on the following pages:
/login
/access_problem
/signup_user_complete
/should_verify_email
/do_verify_email
Ticket Link
https://mattermost.atlassian.net/browse/MM-49587
Screenshots

Release Note

NONE

It looks like it's still broken for smaller screens.
Kapture.2023-01-13.at.20.40.03.mp4

Nice find!

It looks like it's still broken for smaller screens.
Kapture.2023-01-13.at.20.40.03.mp4

Fixed, the announcement banner also completely broke the mobile view of channels too

This probably fixes more issues, for example: https://mattermost.atlassian.net/browse/MM-49501

E2E tests not automatically triggered, because the PR is not in a mergeable state. Please update the branch with the base branch and resolve outstanding conflicts.

@amyblais @furqanmlk Closing this PR as it was already fixed here https://github.com/mattermost/mattermost-webapp/pull/11867


Command buffers, queues, queue families

First of all: cmd buffers, queues and families are purely GPU objects, so I see no point in having CPU and GPU counterparts.
Command pools
ICommandBuffer design is in the UML, however command buffers comes along with command pools. Command pools are opaque Vulkan objects used to minimize cost of acquaring/allocating resources for a set of cmd buffers assigned to a cmd pool. Also they in case of concurrency they require external synchronization. So what I'm thinking is that we don't expose command pools for users at all. Instead [under Vulkan backend], under the hood there can be created one command pool per queue family per thread. This can be done dynamically (when there's a need for such, i.e. cmd buffer is created by some thread using some queue family). This obviously means that all command buffers created by thread X and using queue family at index Y are "bounded to" the same command pool. In GL backend command pools would be non-existent at all.
Major engine API change needed (maybe not that major)
I think we'll need to redefine what device is in Nabla. Currently is the main class to which (upon creation) we're passing what backend we want to use, then it's creating IVideoDriver, IAssetManager, IFileSystem etc... AFAIK Nabla doesnt let user choose the device, not even talking about using more than one device (GPU) at a time. There should be such possibility and then by device we mean something that will hold VkPhysicalDevice handle. device will create driver object that will hold VkDevice handle and, while creating, deciding what queue objects will be created (and more).

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceQueueCreateInfo.html
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceCreateInfo.html

Queue families
Same as Vulkan API does it. We can even use the same struct VkQueueFamilyProperties. We can query all queue families offered by current physical device with vkGetPhysicalDeviceQueueFamilyProperties. So at engine startup we query those to smart_refctd_dynamic_array or something and let user device->getQueueFamilyProperties() them. There's no need for anything like IQueueFamily engine-API objects.
In result API normalization between backends boils down to what is returned from getQueueFamilyProperties(). For Vulkan it's obvious. For GL we can for example report that there exists just one queue family with all (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueueFlagBits.html) capabilities with one queue. I dont know. Is there a way to query such things via GL API? Like whether our device supports graphics (maybe it's compute-only)? Not even asking about specific queues and their capabilities, I'm sure OpenGL hides it from user.
Queues
If queue family properties are queried from device as described above (via get*()), then obviously driver creation must be deferred (not instantly created on device construction). IQueue objects are then created automatically by engine based on info given for driver creation (VkDeviceQueueCreateInfos). Driver should have an API function to access them.
Actual UMLs and more design I'll post tomorrow.

https://app.genmymodel.com/api/repository/crisserpl2/Cmd bufs and queues
Things to watch out for: a single logical device (driver) can be created from multiple physical devices if all of them belong to the same device group.

First of all: cmd buffers, queues and families are purely GPU objects, so I see no point in having CPU and GPU counterparts.

Maybe command buffers at some point but not right now.

Major engine API change needed (maybe not that major)

That's another stage, see my code snipped about swapchains. Swapchains and devices need to be implemented together, right now we can treat IDriver or IVideoDriver as a default device.

There's no need for anything like IQueueFamily engine-API objects.

IQueueFamily no, but IQueue yes.
We actually need the queues explicitly, even for the GL implementation, that's where the GL (offscreen) context will live.

For GL we can for example report that there exists just one queue family with all (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueueFlagBits.html) capabilities with one queue. I dont know. Is there a way to query such things via GL API? Like whether our device supports graphics (maybe it's compute-only)? Not even asking about specific queues and their capabilities, I'm sure OpenGL hides it from user.

Yes, OpenGL will only have one queue family.

If queue family properties are queried from device as described above (via get*()), then obviously driver creation must be deferred (not instantly created on device construction). IQueue objects are then created automatically by engine based on info given for driver creation (VkDeviceQueueCreateInfos). Driver should have an API function to access them.

Why can't we first create the driver and then the queues?

Why can't we first create the driver and then the queues?

Because of Vulkan API here
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDevice.html
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceCreateInfo.html
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceQueueCreateInfo.html
Queues we want to use have to be known at device creation. If you mean to create all possible queues as Vulkan objects, and then engine objects later - ofc it's possible. But I guess there is some advantage of not creating all of them if Vulkan gives such an option
As of API design, if above would be a good idea:

IQueueFamily no, but IQueue yes.

Looking on your code snippet here https://github.com/buildaworldnet/IrrlichtBAW/issues/7#issuecomment-679280914 ...
auto* family = gpuAPI->getQueueFamily();
auto queue = family->createQueue();

This looks neat, so I think we could have IQueueFamily which would be just a container for IQueues + family properties (flags, queue count...). So we have 2 options: this or not having IQueueFamily at all and operating on family indices and SQueueFamilyProperties only.

Thanks for pointing out that the queues need to be known before device creation, it seems that we need to be able to differentiate between an Instance an a Device just like how Vulkan does it.
I'm fine with declaring up-front how many queues (and swapchain) we'll have, this is actually how we do it now with the AuxGLContexts, you could see the auxilary contexts as a "kind-of" queue.
Makes it easier to manage OpenGL, the query about families can return only one queue family and its nice to know how many GL contexts we should create up-front.

We need to discuss semaphores, events and barriers (does vulkan have more sync primitives?)

The logical device (vkDevice, not vkPhysicalDevice) will create Semaphores, Fences and Events
Naturally on OpenGL all need to be emulated with a GLsync object,
Semaphores
Created by the logical device, starts in signallable state, we will not allow external imported semaphores yet, and certainly not in OpenGL.
The OpenGL signallable state means that the underlying GLsync object is missing/invalid, waitable means its valid, when semaphore is deleted and is in the waitable state, glDeleteSync must be called. In DEBUG mode if the semaphore is in the waitable state, and user is attempting to delete, we should call glClientWaitSync with a 0 timeout and assert that the fence is complete.
When a semaphore is signalled, a glDeleteSync is issued to release the previous GL object (if any), semaphore is back in the signallable state, then a glFenceSync call is issued after the appropriate point in the GL command stream and semaphore is in the waitable state, followed by a glFlush.
When a semaphore is waited upon, it is waited upon by glWaitSync(fence,0,GL_TIMEOUT_IGNORED) but only if the GLsync was placed on a different queue to the one waiting (same OpenGL context waiting on itself makes no sense in the presence of a glMemoryBarrier). Finally an appropriate glMemoryBarrier is always issued right after.
Even though glWaitSync will timeout after GL_MAX_SERVER_WAIT_TIMEOUT nanoseconds, that value is between 2^30 and 2^31 on all platforms that report it, so its probably safe to use it (to timeout, the time between GPU driver encountering the submitted wait command and the completion of the previously flushed commands followed by a signal, would have to be 1 second+). Furthermore the subsequent glMemoryBarrier will ensure some execution dependencies on the GPU.
Should we encounter any problems, we can always resort to a glClientWaitSync on a loop with a few us timeout before submitting commands to the GPU.
Queue Command Buffer Submissions to queues and sparse bindings take lists of semaphores to wait on and semaphores to signal.
Under OpenGL we take a bitwise OR of all pWaitDstStageMask, we need a function which maps destination pair<VkPipelineStageFlags,VkAccessFlags> (for QueueSumbit the accesss scope is everything) and to GL_*_BARRIER_BIT for use with glMemoryBarrier.
Queue Swapchain Presents takes a list of semaphores to wait on.
Swapchain Acquire takes only one semaphore to signal,

Fences

Events

Pipeline Barriers ( and FUTURE Subpass Dependencies )
A pipeline barrier is basically a glMemoryBarrier with appropriate barrier bits deduced from the arguments to vkCmdPipelineBarrier. There will always ever be 1 glMemoryBarrier because OpenGL does not do that granularity level tracking.
We can issue glMemoryBarrierByRegion instead of glMemoryBarrier here, but we actually dont need to issue glMemoryBarrier that frequently in the first place. Also *ByRegion is only available under GL 4.5, ES 3.1 or with ARB_ES3_1_compatibility.
Basically we need a painfully complicated function that given the source and destination stage masks + memory barriers (buffer, image, etc) access masks, can figure out the bitfields on glMemoryBarrier to use.

@Crisspl PR opened against old repo
https://github.com/buildaworldnet/IrrlichtBAW/pull/540

We should have a separete COpenGLSync to allow for refcounted OpenGL sync objects, so that there's no hundreds of glFenceSync being placed when there are hundreds of semaphores, fences and events to signal.

Closing but we should probably open another issue for emulating Events and figuring out the PipelineBarriers which are local (by region/viewport)


feat: add temp_schema option for table_diff

So far, table_diff will create a temp table in sqlmesh_temp schema.
However in some environments, the user might want to use an existing schema for that because he either don't want to create and manage another schema or he doesn't have the rights to do so.
The PR introduces a CLI parameter --temp-schema <catalog>.<schema> or --temp-schema <schema> to write the temp tables inside that catalog and/or schema.
To do list:

[x] Check that works as expected
[ ] Ensure it works with API Endpoint
[x] Add related documentation

I forgot to delete a small part I added in the doc (following a Copilot suggestion 🙈).
I clean it up, I think it should be good to go 👍


Replace '/// Returns' with '/// @returns'

@mavam: I addressed issue 1

@mavam: The 80 character rule violations are fixed


Custom file input normalization

Gradle's input normalization currently supports only a small set of built-in strategies. These can be configured via annotations (like @InputFiles, @PathSensitive etc.) or via the runtime API (TaskInputFilePropertyBuilder.withNormalizer() etc.):

unordered raw content with absolute paths
unordered raw content with relative paths
unordered raw content with file names only
unordered raw content ignoring paths
ordered Java compile classpath
ordered JVM runtime classpath with JAR/ZIP comprehension and ignore rules for the project

It should be possible for user code to define custom normalization for input files. This is probably the way we want to implement compile avoidance for JVM languages including Kotlin and Java (see https://github.com/gradle/gradle/issues/5226).
The idea is that for a file input property of a work item (task, artifact transform) the user can specify a custom TransformAction type to execute. The transform takes the original data as input, and produces files that will represent the normalized output.
These normalized outputs can be stored in the build cache and reused between machines and builds.
Binding the property to the normalizing transform can happen in two ways:

via annotations:
abstract class MyTask extends DefaultTask {
  // ...

  @MyCustomNormalization
  abstract ConfigurableFileCollection sources
}

class MyCustomNormalizingTransformer implements TransformAction<None> {
  @PathSensitive(PathSensitivity.NONE)
  @InputArtifact
  abstract Provider<FileSystemLocation> getInput()
}

registerNormalizer(MyCustomNormalization, MyCustomNormalizingTransformer)

or via runtime API:
task.inputs.files(...)
  .withNormalizer(MyCustomNormalizingTransformer)

Some considerations:

the work item still receives the original, non-normalized inputs; the transformed output is only used to calculate the fingerprints for the property inputs,
the normalizing transform cannot influence the order of the entries, or filter them,
the normalizing transform cannot receive parameters.

cc: @gradle/execution

Note that the above ☝ is not a final plan but some ideas thrown together that could be useful to form a plan when we get to implementing this.

Yes please! I just bumped into this.
My use case is:

I have a shell script that runs a basic smoke test.
The input of this smoke test is the compiled WAR file.
However, the compiled WAR file contains a build-info.properties file, and that file in turn contains the git commit and the build timestamp. In order to determine if the WAR file has changed or not, this file needs to be ignored for the purpose of the smoke test task.


Confusions on Usage

Hi! I'm new to gpt2 and also this project. Thanks for sharing this awesome project! I got problems when I want to run the code following the usage section.

After preparing datasets, you can train GPT-2 by using as follows:
$ python -m gpt2 train --train_corpus           build/corpus.train.txt \ ...

Here you use gpt2 as a python module which is not metioned in previous usage section. I want to know what I can do to run this code and pretrain the gpt2 model. Looking forward to your reply!

You should run gpt2 with python -m. Make sure PYTHONPATH contains the path of gpt2 package (i.e. GPT2/src) so python can import gpt2 module.
$ export PYTHONPATH=GPT2/src
$ python -m gpt2 train ...

Thanks! After some installation I made it but another error accured.
python -m gpt2 train --train_corpus build/corpus.train.txt --eval_corpus build/corpus.test.txt --vocab_path build/vocab.txt --save_checkpoint_path ckpt.pth --batch_train 128 --batch_eval 128 --seq_len 64 --iterations 1000000 --warmup_iters 10000 --eval_iters 500 --save_iters 5000 usage: gpt2 [-h] {train,evaluate,generate,visualize} ... gpt2: error: unrecognized arguments: --iterations 1000000 --warmup_iters 10000 --eval_iters 500 --save_iters 5000

Check out the updated training example in README.md.


Expose only get and isValid methods from resin.token object

Connects-To: #429
Change-Type: major
Depends-On: https://github.com/resin-io/resin-ui/pull/1536#pullrequestreview-76399453
---- Autogenerated Waffleboard Connection: Connects to #429

@pimterry , the failed test for this PR is also failing for the current master.

@pimterry , ok, now I understand wh

@p


Bug: use of a measurement in diff_eq_func doesn't seem to work correctly

If you use a measurement in your diff_eq_func, you may not need all of the state variables as arguments, which is currently required. It should at least be documented that the function is required to take in all of the state variables. The error is something like <state_var> not in list which is a little confusing.

Using a measurement inside the diff_eq_func doesn't seem to generate the correct result. Example:

from resonance.nonlinear_systems import SingleDoFNonLinearSystem

sys = SingleDoFNonLinearSystem()

sys.constants['m'] = 1
sys.constants['k'] = 100
sys.coordinates['x'] = 1
sys.speeds['v'] = 0

def f(x, k):
    return k * x

sys.add_measurement('spring_force', f)

def rhs(x, v, m, spring_force):
    xdot = v
    vdot = -spring_force / m
    return xdot, vdot

sys.diff_eq_func = rhs
sys.free_response(5).plot(subplots=True)

Replacing the use of spring_force above with just calling f directly generates the correct trajectories, including the measured spring force.

The easiest fix would be to disallow measurements in the rhs function.
This will take some digging...

May have figured this out. The design of _generate_array_rhs_eval_func is such that new state values update things properly but the measurements never get updated. Probably a simple fix there.


Don't store deprecated auto_translate property

With the introduction of Node.auto_translate_mode, Control.auto_translate becomes a proxy for it.
But auto_translate is currently still stored in tscn files. This results in unexpected behavior: If a parent node is set to have disabled translate mode, all child nodes will set the mode to "disabled" when that scene is instantiated (instead of keeping "inherit") .
This PR makes Control.auto_translate property not stored. It is still OK to open old scenes using auto_translate. But the property will not exist anymore once the scene is saved.
CC @YeldhamDev

To reproduce the problem, save the following script and run godot --headless -s /path/to/mrp.gd.
mrp.gd
extends SceneTree

func _process(delta: float) -> bool:
    var parent := Node.new()
    parent.name = "Parent"
    root.add_child(parent)
    var child := Control.new()
    child.name = "Child"
    parent.add_child(child)
    child.owner = parent

    print("=== Init State ===")
    _show_state(parent)

    print("=== Disable Parent ===")
    parent.auto_translate_mode = 2
    _show_state(parent)

    print("=== Instantiated ===")
    var packed := PackedScene.new()
    packed.pack(parent)
    var scene := packed.instantiate()
    _show_state(scene)
    scene.free()

    return true

func _show_state(node: Node) -> void:
    var mode: String
    match node.auto_translate_mode:
        0:
            mode = "Inherit"
        1:
            mode = "Always"
        2:
            mode = "Disabled"

    if node is Control:
        print("%8s\tMode:%8s\tAuto:%s" % [node.name, mode, node.is_auto_translating()])
    else:
        print("%8s\tMode:%8s" % [node.name, mode])

    for child in node.get_children():
        _show_state(child)

Output:
=== Init State ===
  Parent	Mode: Inherit
   Child	Mode: Inherit	Auto:true
=== Disable Parent ===
  Parent	Mode:Disabled
   Child	Mode: Inherit	Auto:false
=== Instantiated ===
  Parent	Mode:Disabled
   Child	Mode:Disabled	Auto:false

The "Instantiated" section should be the same as the "Disable Parent" section.

Thanks!


Possible fix for #1516 [phab:D1154]

Created by zarko at 2016-11-15 01:21:17:
Lots of sarcasm about "'linker' input unused".

salguarnieri wrote at 2016-11-15 01:32:36:
Gets my update command to work

salguarnieri accepted this revision at 2016-11-15 01:32:36

shahms commented inline (context lost during migration) at 2016-11-15 03:40:11:
I think you can also mark the rule "local" to have to run outside the sandbox, which might be more reliable.  Not sure if bazel will rebuild the target if the genrule_strategy is different but nothing else has changed.

zarko wrote at 2016-11-15 20:21:35:

Use local=1 instead of genrule_strategy

zarko closed via commit 9e196f2f05395a46a0c521d6191ceb166d1ca07b at 2016-11-15 20:34:36


Make modules container collapsable

[ ] Add 'collapse' icon (fa-angle-double-left)
[ ] Add collapse functionality
[ ] Check responsiveness

Per comment from @oszkarnagy

Pickers can stay in the same position
Default should always be open on all devices

Coverage remained the same at 100.0% when pulling 12aba6a4bd5bc7d704f826e8acbbcd7ea5269bad on bp323:issue-298 into 315be617df6406e04639e531f544b4bbde9f39d1 on CUL-DigitalServices:master.

Reassigning to @Coenego for review.

Some minor comments left. Back to @bp323 for follow-up

Back to @Coenego


Add Spanish to Fuzzy Clock

Description
Someone requested that Spanish be added to the Fuzzy Clock.
https://discuss.tidbyt.com/t/spanish-readable-clock/5669/3
I am not fluent in Spanish so it would be nice if someone else could verify that the changes make sense to Spanish speakers.
cc @mtimkovich
Copilot

🤖 Generated by Copilot at 1d0964c
Summary
🌐🕒🛠

Add Spanish language option to fuzzy_clock app. Improve text layout for better readability.

Fuzzy_clock of doom, no time to spare
The hour of the beast, in Spanish you declare
One o'clock is singular, the rest are plural forms
Choose your language wisely, or face the wrath of storms

Walkthrough

Add support for Spanish language to the fuzzy clock app (link, link, link, link)
Reduce padding around fuzzy clock text to fit better on the display (link)

The code is good 👍 Can't speak to the veracity of the Spanish


Fix all "Arithmetic overflow" static analysis warnings from MSVC

Pretty sure we just have to assign to a temporary value first so it's clear that we expect it to not overflow.
Tracking issue for:

[x] https://github.com/fildesh/fildesh/security/code-scanning/2
[x] https://github.com/fildesh/fildesh/security/code-scanning/7
[x] https://github.com/fildesh/fildesh/security/code-scanning/8
[x] https://github.com/fildesh/fildesh/security/code-scanning/9
[x] https://github.com/fildesh/fildesh/security/code-scanning/10
[x] https://github.com/fildesh/fildesh/security/code-scanning/16
[x] https://github.com/fildesh/fildesh/security/code-scanning/17
[x] https://github.com/fildesh/fildesh/security/code-scanning/18
[x] https://github.com/fildesh/fildesh/security/code-scanning/19
[x] https://github.com/fildesh/fildesh/security/code-scanning/24
[x] https://github.com/fildesh/fildesh/security/code-scanning/28
[x] https://github.com/fildesh/fildesh/security/code-scanning/38
[x] https://github.com/fildesh/fildesh/security/code-scanning/42
[x] https://github.com/fildesh/fildesh/security/code-scanning/46
[x] https://github.com/fildesh/fildesh/security/code-scanning/47
[x] https://github.com/fildesh/fildesh/security/code-scanning/53
[x] https://github.com/fildesh/fildesh/security/code-scanning/57
[x] https://github.com/fildesh/fildesh/security/code-scanning/71
[x] https://github.com/fildesh/fildesh/security/code-scanning/72
[x] https://github.com/fildesh/fildesh/security/code-scanning/73
[x] https://github.com/fildesh/fildesh/security/code-scanning/74
[x] https://github.com/fildesh/fildesh/security/code-scanning/75
[x] https://github.com/fildesh/fildesh/security/code-scanning/17

No. It's too much. Too many false positives. I am fixing fix some if it becomes worthwhile in the future but will not be fixing all cases.
It does seem worthwhile when restricted to the compat/ directory though. See https://github.com/fildesh/fildesh/issues/64 for that.


hdfs3-0.2.0 undefined symbol: hdfsConcat

Since update to hdfs3-0.2.0 connections to HDFS are failing:
$ python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from hdfs3 import HDFileSystem
>>> hdfs = HDFileSystem(host='localhost', port=8020)

File "/usr/local/lib/python2.7/dist-packages/hdfs3/core.py", line 75, in __init__
    self.connect()
  File "/usr/local/lib/python2.7/dist-packages/hdfs3/core.py", line 94, in connect
    get_lib()
  File "/usr/local/lib/python2.7/dist-packages/hdfs3/core.py", line 604, in get_lib
    from .lib import _lib as l
  File "/usr/local/lib/python2.7/dist-packages/hdfs3/lib.py", line 408, in <module>
    hdfsConcat = _lib.hdfsConcat
  File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libhdfs3.so: undefined symbol: hdfsConcat

System is Ubuntu 14.04 with libhdfs3 version 2.2.31-1 from Pivotal (https://github.com/Pivotal-Data-Attic/pivotalrd-libhdfs3/releases)

hdfs3 0.2.0 now depends upon https://github.com/martindurant/libhdfs3-downstream (this is reflected in the conda requirements, I am unaware of how to enforce it for a pure .so via pip).

Hi @martindurant possible to include this dependency without conda?

@sethusabarish , you are welcome to build you own, but I see no reasonable way to "include" it. Dropping a 10MB .so/.dylib into the wheels does not feel like a very pythonic way to handle this, especially when the conda version would specifically exclude it again. Building libhdfs3 as part of the setup script is far too daunting.


PayIn by direct debit with a mandate - FAILED

Hello!
Our tests are failing because the PSP is throwing an error on Sandbox mode when creating payment Direct PayIn with mandate, this is the response body:
Response object: stdClass Object
(
[Id] => 20988259
[CreationDate] =><PHONE_NUMBER>
[AuthorId] => 20729052
[CreditedUserId] => 20728636
[Status] => FAILED
[ExecutionDate] =>
[Type] => PAYIN
[Nature] => REGULAR
[CreditedWalletId] => 20728637
[DebitedWalletId] =>
[CreditedFunds] => stdClass Object
(
[Currency] => EUR
[Amount] => 290
)
[DebitedFunds] => stdClass Object
    (
        [Currency] => EUR
        [Amount] => 300
    )

[Fees] => stdClass Object
    (
        [Currency] => EUR
        [Amount] => 10
    )

[ResultCode] => 009199
[ResultMessage] => PSP technical error
[PaymentType] => DIRECT_DEBIT
[ExecutionType] => DIRECT
[Tag] =>
[MandateId] => 20931473
[StatementDescriptor] => PrelÃ¨vement sur le compte de Accu2

)

Hi @raBlanc, the StatementDescriptor can only accept alphanumeric characters, and it looks like this might not be the case with your example.


constFeature implementation for DAAL RF memorySavingMode

Description
DAAL RF code currently only allows for constant features to not be used when memorySavingMode = False.  This uses the splitting functions themselves to find constant Features and add them to the constant feature list.
Changes proposed in this pull request:

Adds constFeature bool to findBestSplitForFeature()
Adds code for checking for constant data to CategoricalFeature and OrderedFeature in splitter classes in Regression and Classification
Removes certain if statement memorySaveMode checks

/intelci: run

/intelci: run

/intelci: run

There seems to be an seg fault issue when running it in sklearn tests. I want to hold off on this until I have more time to find out possible causes. Until then, ExtraTrees will move to the hist method due to maturity in the underlying code.


Fixes #1681 - Python repository URL's with environment variables are broken

Fixes #1681. Also I'm not a rubyist at all, so please let me know if I'm doing something stupid!
This method nearly works, so I took the path of least resistance. config_variable_urls is a list of authenticated URLs, like<EMAIL_ADDRESS>it's just that the current regular expression that's resolved doesn't match them at all.
So the change I made was to construct the regex differently. Rather than stripping out the entire ${env}@ structure I replace it with .*@, which will match any value. Technically this won't work if you define two separate repositories with the same path but with different credentials, but that's such a silly thing to do that I don't think we care about that.
All other environment variable interpolations are replaced with .+, which makes sense. I chose to use .*@ instead of .+@ for the credentials as it's possible the credentials are empty, and it would be good if this worked in that case and selected the correct registry URL.
Here's how the regex is constructed:
> url =<EMAIL_ADDRESS>> url_regex = url.sub(%r{(?<=://).+@}, "@")
                           .split(ENVIRONMENT_VARIABLE_REGEX).
                           map { |part| Regexp.quote(part) }
                           .map { |part| part.sub("@", ".*@") }.join(".+")
<EMAIL_ADDRESS>
This regex correctly matches against a fully authenticated URL:
> "https://user:pass@lol.my_place.com".match?(url_regex)
true

I'm not sure how to add tests for this, but I'll give it a go later.

Any updates on this? I still need this patch to run script agains private pypi

Any updates on this one? Like @SVilgelm, I need this to run Dependabot against a private Pypi.

@hmarr @feelepxyz @greysteil @orf please

@SVilgelm sorry for dropping this! We've been heads down working on the new github integration. Will take a proper look next week. Want to understand the current behaviour a bit better as we have quite a complex auth setup involving multiple strategies.

I'm sorry - I likely will not have the time or energy to bring this MR to completion. @SVilgelm did you say that the current fix works for you?

Hi @orf, yes this fix works for me. It will be great If you can merge it

@orf any news about this?

@orf / @SVilgelm - Is there any update on this one?  I'd love to see this merged in too.

@orf / @SVilgelm - Is there any update on this one?  I'd love to see this merged in too.

Also I should add @orf thanks for the hard work on this. The team was very understaffed for a while and stuff slipped through the cracks. We are now staffed up a bit more, so although we can't debug every issue, if someone else is willing to take the time to debug and put together a PR we will do our best to be more responsive.


[Docs] Fix OR messages glossary

@vvbandeira Fixes bug in OR messages glossary, where newlines parsed from files will mess up the markdown table.
https://openroad.readthedocs.io/en/latest/user/MessagesFinal.html
Before

After

@vvbandeira Can you review this?

Before
https://openroad.readthedocs.io/en/latest/user/MessagesFinal.html
After
https://openroad--4552.org.readthedocs.build/en/4552/user/MessagesFinal.html


secrets.yaml not detected as SOPS file (again)

Hi,
I'm using sops to encrypt secrets.yaml file used when specifying values for helmfile releases. I'm using sops command line directly to edit encrypted files like this:
EDITOR=kwrite sops /path/to/secrets.yaml
...and this works. But since I'm using IDEA to edit other files, I wanted to try this plugin. It doesn't detect the secrets.yaml file to be SOPS encrypted file and doesn't show the status line with a link to "Edit" it in decrypted form. The encrypted file structure does contain the following at the end:
sops:
    kms: []
    gcp_kms: []
    azure_kv: []
    hc_vault: []
    age: []
    lastmodified: "2023-07-07T14:22:35Z"
    mac: ENC[...redacted...]
    pgp:
        - created_at: "2023-06-13T15:47:51Z"
          enc: |-
            -----BEGIN PGP MESSAGE-----
               ...redacted...
            -----END PGP MESSAGE-----
          fp: ...redacted...
    unencrypted_suffix: _unencrypted
    version: 3.7.3

Somewhere I read that users put a .sops.yaml file in the project's root folder. I don't have such file. I added an empty .sops.yaml file into project's root folder and the plugin then recognized the SOPS encrypted file and allowed me to start editing it in decrypted form. But when saving the modified decrypted tab and upon closing it, I get the following error and original file is left intact:
Sops error
config file not found and no keys provided through command line options

Should I put some content into .sops.yaml file in the project's root and what? I didn't need that file for editing encrypted files using sops command line directly.

After wrestling for a while with ChatGPT which persistently tried to convince me to use something like this:
creation_rules:
  - path_regex: '.*'
    kms: arn:aws:kms:us-west-2:123456789012:key/12345678-1234-1234-1234-123456789012

...although I hinted that I'm using local GPG key, I finally read the sops docs and came up with the following:
creation_rules:
  - path_regex: '.*'
    pgp: 'GPG key fingerprint'

Which works! Thanks for listening anyway.


Avro

Avro case classes, new topic names and minor logic fix to timeouts

This PR was successfully deployed to production by CircleCI build 41 at 2016-11-28 12:37 GMT.


Where are metrics stored?

For a newcomer, the article gives the impression the metrics are stored (by default) in CosmosDB - is that the case?

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

ID: f8e951c2-65b8-2bf2-5c67-f4b57fbab467
Version Independent ID: e369876f-650d-c9f0-9f3b-d25c92e111cf
Content: Architecture & key concepts - Azure Machine Learning
Content Source: articles/machine-learning/concept-azure-machine-learning-architecture.md
Service: machine-learning
Sub-service: core
GitHub Login: @sdgilley
Microsoft Alias: sgilley

@eyast
Thanks for the feedback! We will update you shortly.
Cc: @RohitMungi-MSFT

@eyast Yes, the training metrics are stored in Cosmos DB database maintained in the MS subscription for your Azure ML workspace.

@eyast We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.


feat: add WithRequestContentType config option for the Server

closes #197
Figured it was better to do this in the BaseRoute than and if statement in the RegisterOpenAPIOperation. I think we should strive to always limit the complexity in RegisterOpenAPIOperation.
Cheers!

Hey @EwenQuim just getting through my WIP. Any thoughts on this? It's okay if you haven't had the time.
Thanks

As usual, very good work, thank you again!


Fix bad module reference.

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Find motif matches within a read

For constructing the position-dependent profile of motif occurrences and counting the reads that match individual motifs (issues #18 and #19), we need a functionality of finding where a specific motif occurs within a read. We could do this by sliding the motif from left to right, starting from a minimum overlap between motif end and read start and ending at some minimum overlap between motif start and read end, reporting all of the consistent matches as a list of tuples, (position:fraction of motif matched). Running this function over all reads and all motifs will be time-consuming, so minimize the number of tests that are done to decide whether the motif matches or not.

I would like to work with this issue

Thanks @ymoon06, assigned you

I would like to join in on this issue

OK, assigned, please talk to each other

Dear dhryata, can you send me whatsapp number again? By the time you gave number to me, the host finished the zoom, so I couldnt see your number properly. I tried several things but it seems not the case. Sorry about this.

Hi! @ymoon06 it is +91<PHONE_NUMBER>. See you in class :)


Add GHA workflows to build and lint the cmapisrv-mock

Successful run with image push: https://github.com/cilium/scaffolding/actions/runs/9681290574/job/26711523516?pr=85


Update code excerpts in README.md files

This change updates code samples in README.md files:

Update the README.md of the core-CreateNewComversation sample to reflect changes made in the SurveyTriggerer.cs. The current version of SurveyTriggerer.cs uses IDialogTask instead of IDialogStack, and additionally, the original version contained a typo on line 53: IDialogStack stack = stack = scope.Resolve<IDialogStack>();

Update the README.md of the core-CustomState sample to reflect changes in the Global.asax.cs. This code excerpt is updated to use Conversation.UpdateContainer rather than builder.Update(Conversation.Container) which is obsolete.

Thank you for your contributions, sorry for the extended delay.


fixing Amazon Linux 2 support

Fixes #21
Not sure if it was meant to support the "old" Amazon linux as well but with this patch it will at least support Amazon linux 2 as the error message implies.

Hey @erik-frontify,
I know this is a bit late. Stumbled over this PR and your issue. I have done some maintainence on this module, can you let me know if this PR is still needed? If so, would you be willing to rebase this and adapt to make it fit? :)

@zilchms Thank you for looking into this. Yes, I'd say that's still needed. We just use my fork, currently, but happy to switch to the new release once this is included.

Just figured it's not needed any more, as Amazon Linux 2 is similar to RedHat default.


fix: update the go-versions format for the gha

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
invalid go-version matrix for the gha
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Release note:

/kind failing-test

/approve
/lgtm

@dims  I'm requesting member, could you sponsor me? thank you very much~


vim8.2 issue with neocomplete and spf-13

After upgrading vim to vim8.2 in my debian box I am facing this issue with neocomplete with comes in spf-13 as default plugin
and is configured in its "$HOME/.spf13-vim-3/.vimrc"  file and is inside "$HOME/r/.vim/bundle/neocomplete.vim".
How do I fix this issue? I am left with not (auto)completion now  :-1:
Vim keeps showing "Vim 8.2.1066 is not backwards compatible" every few minutes
https://www.reddit.com/r/vim/comments/i5wfuj/vim_keeps_showing_vim_821066_is_not_backwards/

At first suggest for you is to use this fork from me: https://github.com/jtuz/spf13-vim, it works well with deoplete(the new one instead neocomplete), just be aware the install  requirements, in this case:
Note: deoplete requires Neovim (0.3.0+ and of course, latest is recommended) or Vim8.1 with Python 3.6.1+ and timers enabled. See requirements if you aren't sure whether you have this.
But if you want to use the original Steve Francia's repository follow the install requirements as he describes on README:
To make all the plugins work, specifically neocomplete, you need vim with lua.

@jtuz Hi thx a lot for your spf13 fork. I did not know that it ever exited
I will try it for sure. Although I already have fixed the issue of autocompletion....

same, my vim has +lua, when run :NeoCompleteEnable it shows neocomplete does not work with Vim 8.2.1066+.


Documentation: problem on the first page

if we open the link https://verstack.readthedocs.io/en/latest/
we will see on the first page "veratack package contains the following tools"
Looks like a wrong name.

I've just checked - the link seems to be working correctly.
Try a different browser, try from your mobile (disconnected from wifi) just to doublecheck.

Good catch! It's verstack. I will correct the documentation.

Did you manage to see all the docs?

Sure.

fixed it, thanks!


fix: prevent a potential buffer overflow

When the total number of read octets is greater than the max return buffer size in bytes, we return a failure status (-1) instead of jumping out of the loop. Otherwise, a number larger than the maximum return buffer size might be returned upon success, which if unchecked by the caller, might cause a buffer overflow.
Note that the call to reader.read(&mut ret_buffer[total_bytes_read..]) might return a value less than or equal to the available space in ret_buffer, which would make total_bytes_read no larger than the max return buffer size. However, we'd like not to make the code safer by not depending on an assumption on the implementation of the read method.

Sounds good - thanks for the PR :+1:


Error deploying stacks with build context specification

Bug description
When trying to deploy a docker-compose file that has the following spec:
    build:
      context: <some subfolder>

We receive the following message:
build path /data/compose/5/<said subfolder> either does not exist, is not accessible, or is not a valid URL.\n
Expected behavior
It should pull the Dockerfile from the subfolder and build the stack.
Portainer Logs
2021/08/15 18:39:22 http error: build path /data/compose/5/<subfolder> either does not exist, is not accessible, or is not a valid URL.
 (err=build path /data/compose/5/<subfolder> either does not exist, is not accessible, or is not a valid URL.
) (code=500)

Steps to reproduce the issue:

Go to 'Stacks'
Click on 'Add Stack'
Click on 'Upload'
Select a docker-compose that has a service with the option build->context with some subfolder name as a value (the folder should have a Dockerfile inside)
Try to deploy the stack
See the error

Technical details:

Portainer version: 2.6.2
Docker version (managed by Portainer): 20.10.7, build 20.10.7-0ubuntu1~20.04.1
Platform: Linux Mint 20.1 Cinnamon
Command used to start Portainer: docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
Browser: Google Chrome
Have you reviewed our technical documentation and knowledge base? Yes

Additional context
The problem probably is that the stack is being built outside the context of the docker-compose file folder. If that's so, we should be able to work around this issue by cd'ing into that folder, or something like that.

Hi @yagodorea
You are correct in that it is being built outside the folder context. Try using the git method, that way all the files are pulled into the Portainer Container's file system and should work.

@samdulam how can I do that? I couldn't find any reference of this use case in the docs. My docker-compose.yml isn't in any git repository yet.
Also, I really think that's a bug, not just me doing it the wrong way...

@yagodorea
When you add a stack in Portainer, the compose file (only the compose file) is stored in Portainer's container in the /data folder. Portainer proxies the stack create request to the host. This is by design.
At the moment the only way to get context files etc into the same place is to use git method. Upload all your files into a git repo so Portainer can pull all the files down.
https://documentation.portainer.io/v2.0/stacks/create/
Look for Deploy from Github Repository example in this page.


VS 2015 Python interpreter should work fast and a complete offline installer should be there so that no internet connection is required.

This issue has been moved from a ticket on Developer Community.

Migrated from Visual Studio IDE UserVoice forum  Python Interpreter seems very slow. It should be faster.
Again, Visual studio 2015 installation takes a long time than VS 2010.
It also required internet connection while installing  though it is 5.92 GB itself. So, a complete offline installer should be there like VS 2010, VS 2008, VS 2005 etc

Original Comments
Fredy Canaveral on 2/13/2020, 00:54 PM:
I think this apps or windows be good for us

Thanks for the feedback! However, we don't have plans on changing VS 2015 functionality.


Allow que to be started with no listen/notify usage

Resulting in jobs being picked up purely from polling
We have seen issues with listen/notify usage at scale, need to test if
polling only improves the situation.

Closing this PR as this change is already on the v1.0-pre-with-deadlock-fix branch.


Added url shortcut feature

Added a feature for url shortcuts, instead of supplying the full url, a shortcut name can now be supplied.
Example configuration:
config.toml:
[shortcuts]

D105 = "example_url"

If you now call the program with the URL argument D105, the shortcut name will be substituted by the shortcut value example_url, if no shortcut is found, the original argument will be used.
Just remember not to accidentally push non-public urls.

@cernyd Interesting idea but I don't think this feature is really fundamental or necessary for usage of this... and because I want to keep this repo as far from the usage as possible I am not liking the thought of merging this... if you have any good points about this feature please do comment. Will close PR in 14 days if no comment will be provided.


Missing ambient lighting in some of the 3d scene on macOS

Not sure this is a bug in Godot 4 itself as I have only found bug ticket related to 3.5.x;
https://github.com/godotengine/godot/issues/55754
But the behavior was the same, no ambient lighting results in complete black shadow in shaded area. Not all scenes are affected so I guess it's a certain type ambient lighting sources that are broken on macOS.
Will check the source project later.
broken:

working (as far as I can tell):

Thanks for pointing this out, sorry for only getting to this now - I missed the notification. Closing as this is an engine-side issue.


UI <-> Controller Bindings

Create and setup bindings from extension controllers to UI components. This could be done via a redux pattern or something simpler.

@kautukkundan Can you share the simplified redux package you mentioned to me awhile back here?

here - https://easy-peasy.vercel.app

This was solved in #217 / #243.
E.g. to update state you call rpc like quill.rpc.addHDAccount here: https://github.com/web3well/bls-wallet/blob/main/extension/source/Home/Wallet/Wallets/WalletWrapper.tsx#L28


strip purl npm defaults

this PR got rejected,
because the javascrpt implementation is not NPM specifig - therefore no npm-spcifics must ocurr.


perf pipeline needs a dedicated cluster to running on

In order to provide better resources and avoid noises, we need to have a dedicated cluster to run our perf pipeline jobs.

https://github.com/istio/test-infra/pull/2251


How to pair a Firefly wallet?

I've tried scanning both QR codes that pop up on the Firefly screen when first booting. One of them is the device's address and the other is some pairing code? How can I pair the Firefly to Ethers wallet?

Heya!
I've got a video that demonstrates the process, but I am waiting for an update before posting it, and Apple has had my update in appeal for over a week.
I can describe the steps here, but the video will be easier to follow. :)

Install Ethers Wallet on your iPhone
From that iPhone, click this link: https://ethers.io/app-link/#!firefly
This will launch Ethers Wallet to an experimental Firefly configuration screen
Enable Firefly support
Now in the Accounts page (top-left button on the dApps screen), tap "edit" and "+" to add an account
There is now a third option, "Pair Firefly Hardware Wallet"

The on-screen instructions from here should get you the rest of the way, but you basically hold the button on the Firefly until it enters pairing mode and scan it.
In the future, once this is no longer experimental, steps 2-4 won't be necessary.

Worked perfectly, just took a little bit of time for the transaction to be sent to the Firefly.
https://etherscan.io/tx/0x24467a15c0a0517d3e69a807213bebe90803d8cf8344662d3f88d7e4870ba54f

That's awesome! I'm glad to see it working out in the real world! :)
How long did it take to send to the Firefly? Also, what iOS version and iPhone are you using?
I've found with the iPhone X it transfers immediately, but I am wondering if older phones sweep through the BLE advertising frequencies more slowly. Something I need to research and test on various devices and OS versions.
It may also be impacted by the number of advertising BLE devices in the area, although I haven't had that problem in downtown Toronto, but I need to test it in various real world locations too.

Huh, last 2 times it took maybe 20-30 seconds, but this last time it did it
almost instantly.
I'm using an iPhone 6s on 11.2.5
On Fri, Feb 9, 2018 at 11:00 PM, Richard Moore<EMAIL_ADDRESS>wrote:

That's awesome! I'm glad to see it working out in the real world! :)
How long did it take to send to the Firefly? Also, what iOS version and
iPhone are you using?
I've found with the iPhone X it transfers immediately, but I am wondering
if older phones sweep through the BLE advertising frequencies more slowly.
Something I need to research and test on various devices and OS versions.
It may also be impacted by the number of advertising BLE devices in the
area, although I haven't had that problem in downtown Toronto, but I need
to test it in various real world locations too.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ethers-io/EthersWallet-ios/issues/24#issuecomment-364623958,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZdK2jUyvWrA6ncjDTiaPC8lZQMuCIa3ks5tTRRDgaJpZM4SAyG0
.

I definitely need to do lots of research and testing. :)
My partner is setting up an automatic test system, so we will be able to collect a lot more data and make sure everything is functioning against our 20,000 (ish) test vectors we use for ethers.js. :)

Sounds great, I saw that the code included a place for data in the transaction, so that means we’ll be able to interact with contracts?
If so, is there a certain limit to the transaction size the Firefly can support?

On Feb 9, 2018, at 11:05 PM, Richard Moore<EMAIL_ADDRESS>wrote:
I definitely need to do lots of research and testing. :)
My partner is setting up an automatic test system, so we will be able to collect a lot more data and make sure everything is functioning against our 20,000 (ish) test vectors we use for ethers.js. :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yupp, data totally works. The limit is around 700 bytes (depending on the actual details in the transaction), so for complex contract deployment, it likely won't work, but I have a video using it with CryptoKitties which will be posted once the AppStore update is live. :)
Also, signing messages (binary and ASCII) work fine too.

1.while I'm sending currency from my phone to Firefly, there is no option for Authorized with Firefly wallet
2.My phone is not communicating with wallet


Streamline build

This pull request adds the standard project structure for SMAPI mods. This lets developers compile the code on any computer without changes, automatically deploys the mod files to the game folder, and adds debugging support.
Let me know if you want me to make any changes. :)

Oh thank you! :)


[DISCUSS] chart and dashboard ownership

[this came up recently at a community meetup and wanted to start a DISCUSS thread here]
So currently, the security model assumes that each chart and each dashboard has one or many owners.
Owners are the only people who can alter their objects, or expand the ownership of objects.
Now dashboards are collections of charts, and when an owner wants to extend ownership to another person, we also grant ownership of the collection of charts in the dashboard. Every time a dashboard is saved, we make sure that all charts are owned by [at least] all the owners of the dashboard.
The idea is that it's confusing and unintuitive to own a dashboard, be able to change the layout, but not be able to change the charts.
Related shortcomings / thoughts

when saving a chart and adding it to the dashboard in the "save" modal, the ownership is not extended to that dashboard's owner. Note that typically the person will go and alter the layout and save the dashboard, which solves that issue. If we change that to fit the model, people might not understand the ownership implications of "adding to dashboard"
when people alter a chart, they might not know that this chart is in any or multiple dashboards, and can alter things beyond of their intended scope, this seems addressed in this design:

more generally, should a chart always live in the context of a dashboard(?), that may bring more clarity to the concept of ownership

A few thoughts:

If you become an owner of a chart after adding it to a dashboard, what exactly is the purpose of ownership? Anyone who has rights to create a dashboard has the ensuing ability to edit any chart they can view, no?
Should ownership be part of the permissions model, or more of a label on an object indicating who is responsible for it? Ownership should probably stand firmly on one side of that spectrum, and not in the middle. If we need both "permissions" ownership and "responsibility" ownership, maybe those should be two separate things.
What if there was a flow to easily replace someone else's chart in your dashboard with a clone that you own? Or to assign a dashboard as an "owner" of a chart? I think it's possible to find a solution that fits all user needs.
Superset needs a user testing/feedback infrastructure to verify these kinds of ideas.

Some answers:

Only owners of the dashboard can add charts to them. The behavior I wanted to describe: say if both you and I are the owner of a dashboard, and I create a brand new chart and add it to this dashboard, you'd become the owner of it. Currently this would only happen once I go in the dashboard and save it (it cascades ownership to charts). It's very likely I would go and position that new chart in the dash and save it, so the gap here is pretty small. Also you saving that dashboard for whatever reasons would cascade ownership too.
Currently ownership is part of the models ifself (many-to-many) while other non-resource-specific perms like can-read, can-modify, can-delete are part of RBAC. Business logic applies all required checks on actions. Seems ok to me. Ownership and ownership checks are [mostly] consistent across object types (charts, query, dashboard) and the same model / logic applies.
sounds tricky / complicated, users own chart seem better than dashboard owns chart
more tests around RBAC / ownerships would be great, I think we do make sure that non-owners cannot update / delete things, but not sure how well that's covered in tests

I think the current model that is "if you own the dashboard, we make you also own all of the charts in it" is good. We need to make it clear that this is the case (at least when adding owners to a dashboard).
I have yet to hear a user say "I really want to make this user an owner of my dashboard, but only want to allow that person to modify a subset of the charts in my dashboard". Personally I don't think we need to support that for now, and that it leads to confusing situations / more complex UI to enable that.

Possibly a side note here, but something that I think complicates this is the many to many relationship between charts and dashboards. If when adding to a dashboard a chart got cloned so that every chart is only owned by either 0 or 1 dashboards, ownership data would no longer need to be stored on the chart once it becomes associated with a dashboard.
In general, it might be worthwhile to remove the concept of ownership from a chart totally (as @suddjian mentioned). If the chart is on a dashboard, it inherits from the dashboard's owners. If the chart is not on a dashboard, it is only editable by the creator.

I tend to think of this in the [bigger] context of content lifecycle management. I can think of a case where either scenario is desired, i.e. chart ownership is / is not altered by the action of the chart being added to a dashboard. I can think of scenarios where retaining the full ownership of a chart is desired. For example for a "certified" chart, that is used as the company-wide source of truth, and the risks of inadvertent edits by additional owners is high. So I think the default behavior should be that charts do not automatically become owned by the dashboard owner and there should be a separate, intentional act of taking/conferring ownership of charts in a specific dashboard - which may need to be a specific permission.


Look into possiblity to add "Plus for Trello" integration

It would be very handy if Toggl would also automatically control the timer of "Plus for Trello" or better post the spent time also as a work log item in the card using the special form.

http://www.plusfortrello.com/p/about.html

This would be amazing

Absolutely

Did you have any breakthrough?


STY: Simplify style in conditional.

Coverage decreased (-0.05%) to 87.169% when pulling bb1b3e39e7583a1c07fea0c3d5f6108e95876525 on nitpick-some-more-why-dont-you into 70b5d675ce6c0dc4298f4720a5b60a46f0304057 on master.


PHP Fatal error:  Uncaught Error: Call to undefined method Sentry\State\Hub::getCurrent()

I'm trying to create my own transport per https://docs.sentry.io/platforms/php/configuration/transports/ however am getting the error of call to undefined method getCurrent();
$transportFactory = new \Intersolve\Sentry\Transport();

$builder = \Sentry\ClientBuilder::create([
    'dsn' => $_ENV['SENTRY_DSN'],
    'environment' => $_ENV['SENTRY_ENV']
]);
$builder->setTransportFactory($transportFactory);

\Sentry\State\Hub::getCurrent()->bindClient(
    $builder->getClient()
);

What am I doing wrong?

Hi there,
I believe the docs are wrong here, let us figure it out so we can update them!
I believe it should be this:
$transportFactory = new \Intersolve\Sentry\Transport();

$builder = \Sentry\ClientBuilder::create([
    'dsn' => $_ENV['SENTRY_DSN'],
    'environment' => $_ENV['SENTRY_ENV']
]);
$builder->setTransportFactory($transportFactory);

\Sentry\SentrySdk::getCurrent()->bindClient(
    $builder->getClient()
);

@stayallive Thank you for your code. That definitely helped.
Just to be complete it has to be getCurrentHub:
\Sentry\SentrySdk::getCurrentHub()->bindClient(
    $builder->getClient()
);

Excellent, I'll get on a PR for the docs to change that right away! Will update this issue once that is done, thanks!


从源代码编译提示缺少类: [MissingClass] android:name=".TouchHelperServiceReceiver"

btwl@btwl-virtual-machine ~/c/Android-Touch-Helper (master) [1]> ./gradlew build

> Task :app:lintDebug FAILED
Lint found 2 errors, 101 warnings. First failure:

/home/btwl/code/Android-Touch-Helper/app/src/main/AndroidManifest.xml:50: Error: Class referenced in the manifest, com.zfdang.touchhelper.TouchHelperServiceReceiver, was not found in the project or the libraries [MissingClass]
            android:name=".TouchHelperServiceReceiver"
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~

   Explanation for issues of type "MissingClass":
   If a class is referenced in the manifest or in a layout file, it must also
   exist in the project (or in one of the libraries included by the project.
   This check helps uncover typos in registration names, or attempts to rename
   or move classes without updating the XML references
   properly.

   https://developer.android.com/guide/topics/manifest/manifest-intro.html

The full lint text report is located at:
  /home/btwl/code/Android-Touch-Helper/app/build/intermediates/lint_intermediate_text_report/debug/lint-results-debug.txt

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintDebug'.
> Lint found errors in the project; aborting build.

  Fix the issues identified by lint, or create a baseline to see only new errors:

  android {
      lint {
          baseline = file("lint-baseline.xml")
      }
  }

  For more details, see https://developer.android.com/studio/write/lint#snapshot

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 11s
72 actionable tasks: 1 executed, 71 up-to-date

Android-Touch-Helper/app/src/main/AndroidManifest.xml] 改成 (android:name=".UserPresentReceiver")


fix wasm build according to skia m105 build

cc: @SergeevPavel  (github doesn't show your nickname in reviewers list :( )


Add summary page for member

1. Added My summary button at the account popover

2. Member summary page
If the role is admin then click the button will route to the RA summary page. If not then it will route to the member's summary page.

the button is changed to smaller size

and the naming for that module is changed from members to personalSummary

Update
1. Connect to Database
Now Name, Status, Bio, and UserType(True=ADMIN, False=Member) will be saved and get from db.

2. Edit Account
The placeholder box and title style has been changed. And the information will be saved to data base after clicking SAVE button.

3. Success toast
After saving successfully, a toast will show to the user.

4. Database modify
Add a column in Public.Users called status which will store users self-wrote word

Close
This will close issue #44


Testing with k8s 1.30 1.31

:tada: This PR is included in version 1.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fixed the UX issue in https://github.com/vector-im/vector-ios/issues/249

A popup is shown if the user presses the create room buttom while a creation is already in progress.

lgtm


Support using jax.Device as dict keys with tree_util

jax.sharding.addressable_devices_indices_map returns a dict with jax.Device keys, so I thought this would also be a nice way to store my per-device arrays, i.e., with dict[jax.Device, np.ndarray].
Unfortunately this doesn't work with jax.tree_util, because jax.Device doesn't implement comparison operations:
import jax
import chex

chex.set_n_cpu_devices(2)
devices = jax.devices()
jax.tree_util.tree_map(lambda x: x, {d: 1 for d in devices})

TypeError: '<' not supported between instances of 'google3.third_party.tensorflow.compiler.xla.python.xla_extension.Device' and 'google3.third_party.tensorflow.compiler.xla.python.xla_extension.Device'
I think this would be pretty easy to fix, at least for devices of the same type.

You can use arr.addressable_shards to get this mapping!


Add psychedopps to Contributors List

Hi  @psychedopps, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Thanks for approving the pull request Roshanjossey. I feel more confident going into further projects. Cheers!

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


Feature request: Add search box in HTML documentation

For obvious reasons, it would be very useful to have a search box in the HTML documentation generated by this tool.

We are heavily using Articles and seems more and more necessary to be able to search by the Article text, not only namespaces, types and members.
For the speed purposes there could be search source selector or separate search box "on the top of the page" to separate Fast API search and slow full text search...