different execution efficiency on arm64 platform

Hello.
Thank you for the great work.
I tested the RTF on Android device(arm64) by following https://github.com/wenet-e2e/wenet/blob/main/runtime/device/android/wenet/README.md. the RTF was less than 1 and the CPU utilization was nearly 100% with the Multi-CN model, that was perfect. Then i compiled the program on Ubuntu(arm64, share the same hardware with Android), run  ./build/bin/decoder_mainwith the same wav file and model file Android did, but the RTF was larger than 1 and the  CPU utilization was nearly 500%. The difference performances on the same hardware with difference OS confused me.
I know /runtime/server/x86/bin/decoder_main.cc is for x86, but it can be compiled on arm64 too.
I wonder if there are any settings that affect ./decoder_main performance on x86 and Android.

We do not have the arm64 ubuntu, and I have no idea about it. What runtime did you use? ONNX or LibTorch?

LibTorch.
Are there any settings that can control ./decoder_main performance on x86 and Android?

https://github.com/wenet-e2e/wenet/blob/main/runtime/core/bin/decoder_main.cc#L33 controls how many threads we use for decoding for decoder_main,  seems you have used more than 1 threads, so the CPU utilization is over 100%.


user_management - error adding admin and other users

Admittedly I'm relatively new to chef and am in the process of using the mongodb-cookbook. I've got the process of actually creating a standalong mongodb instance working fine. It's understanding how to use the subsequent user_management recipe to create the initial admin user and regular users.
When I add "default['mongodb']['config']['auth'] = true" to the attributes/default.rb file, and run the mongodb::default recipe, the db is created and authentication is on. However I'm getting this error when running the user_management recipe.
Error executing action `add` on resource 'mongodb_user[admin]'
============================================================================
NameError
---------
uninitialized constant Mongo::MongoClient

The stacktrace is shown below.

Generated at 2015-07-07 17:10:16 -0700
NameError: mongodb_user[admin] (mongodb::user_management line 14) had an error: NameError: uninitialized constant Mongo::MongoClient
/var/chef/cache/cookbooks/mongodb/providers/user.rb:62:in `retrieve_db'
/var/chef/cache/cookbooks/mongodb/providers/user.rb:9:in `add_user'
/var/chef/cache/cookbooks/mongodb/providers/user.rb:71:in `block in class_from_file'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/lwrp_base.rb:138:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/lwrp_base.rb:138:in `block in action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:118:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource.rb:625:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:49:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:96:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:80:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:429:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:494:in `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:199:in `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `fork'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:183:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:302:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:294:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:294:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23:in `<main>'

This is probably the issue fixed by PR #29 .
It can be also fixed from a wrapper cookbook:
node.default['mongodb']['ruby_gems'] = {
  :mongo => '~> 1.12',
  :bson_ext => nil
}

@gtaber Can you confirm you are on the latest version of the cookbook and it contains the changes listed here https://github.com/chef-brigade/mongodb-cookbook/pull/29.  Does the issue still persist?

actually @triccardi-systran Wouldn't this same issue we just closed apply here? https://github.com/chef-brigade/mongodb-cookbook/pull/39  We removed chef_gem for usage in a few recipes but didn't update the user_management recipe.

I do have the most current pull from the repo and this may be simply a situation of me not using the recipe properly. In order to fire off the user_management recipe, I’d need to have "node['mongodb']['config']['auth'] = true” set within the recipe user_management or in another location?
On Jul 8, 2015, at 07:10, Larry Zarou <notifications<EMAIL_ADDRESS>wrote:
actually @triccardi-systranhttps://github.com/triccardi-systran Wouldn't this same issue we just closed apply here? #39https://github.com/chef-brigade/mongodb-cookbook/pull/39 We removed chef_gem for usage in a few recipes but didn't update the user_management recipe.
—
Reply to this email directly or view it on GitHubhttps://github.com/chef-brigade/mongodb-cookbook/issues/41#issuecomment-119592377.

@gtaber You will want to set that variable likely at another level as you won't want to edit the user_management recipe directly.  You can try setting that attribute in a role or wrapper cookbook.  I included a sample role that you can apply to that node setting that attribute true while also including the user_management recipe.
name "mongo_user"
description "role for mongodb user management"
run_list %w[
recipe[mongodb::user_management]
]
default_attributes(
  mongodb: {
    config: {
      auth: true
    }
  }
)

Thanks. So I've included this recipe in this new role and I'm still getting the exact same error related to "uninitialized constant Mongo::MongoClient".
  "name": "mongodb_user",
  "description": "Role for MongoDB Usermanagement",
  "json_class": "Chef::Role",
  "default_attributes": {
    "mongodb": {
      "config": {
        "auth": true
      }
    }
  },
  "override_attributes": {
  },
  "chef_type": "role",
  "run_list": [
    "recipe[mongodb::user_management]"
  ],
  "env_run_lists": {
  }
}```

Currently I'm using this setup:
roles/mongodb.json
{
  "name": "mongodb",
  "json_class": "Chef::Role",
  "description": "MongoDB instance",
  "chef_type": "role",
  "run_list": [
    "mongodb::default",
    "mongodb::user_management"
  ],
  "default_attributes": {
    "mongodb": {
      "install_method": "10gen",
      "config": {
        "auth": true
      },
      "admin": {
        "username": "admin",
        "password": "xxxxxxxxxxxx",
        "roles": ["root", "userAdminAnyDatabase", "dbAdminAnyDatabase"],
        "database": "admin"
      },
      "users": [
        {
        "username": "username",
        "password": "xxxxxxxxxxxxx",
        "roles": ["dbOwner"],
        "database": "mydatabase"
        }
      ]
     }
   }
}

Anyways I'm going to check this with the last merges, just in case…

Can you manually check that the version in your cookbooks/mongodb includes these changes ?  https://github.com/chef-brigade/mongodb-cookbook/pull/29/files

Thanks. I've created a new role using your code below (changing the passwords) and I'm still getting the same error when running this role to spin up a new single mongodb instance with those users. The DB is created perfectly but the script bombs when it tries to create the users. Same error as before.
Can you spin up a new DB and have those users created successfully?
On Jul 8, 2015, at 3:37 PM, Luis Hdez <notifications<EMAIL_ADDRESS>wrote:
Currently I'm using this setup:
roles/mongodb.json
{
"name": "mongodb",
"json_class": "Chef::Role",
"description": "MongoDB instance",
"chef_type": "role",
"run_list": [
"mongodb::default",
"mongodb::user_management"
],
"default_attributes": {
"mongodb": {
"install_method": "10gen",
"config": {
"auth": true
},
"admin": {
"username": "admin",
"password": "xxxxxxxxxxxx",
"roles": ["root", "userAdminAnyDatabase", "dbAdminAnyDatabase"],
"database": "admin"
},
"users": [
{
"username": "username",
"password": "xxxxxxxxxxxxx",
"roles": ["dbOwner"],
"database": "mydatabase"
}
]
}
}
}
Anyways I'm going to check this with the last merges, just in case...

Reply to this email directly or view it on GitHubhttps://github.com/chef-brigade/mongodb-cookbook/issues/41#issuecomment-119750848.

I've pulled the latest and confirmed the correct version 0.16.3, and that those changes are already in place in the default.rb and user_management.rb. With the role mentioned earlier in place, I'm still getting this error when running the role that includes both mongodb::default and mongodb::user_management.
NameError
uninitialized constant Mongo::MongoClient
Can you confirm you can spin up a new DB instance with those users created successfully?
Stacktrace shown below from this morning's run.
NameError: mongodb_user[admin] (mongodb::user_management line 14) had an error: NameError: uninitialized constant Mongo::MongoClient
/var/chef/cache/cookbooks/mongodb/providers/user.rb:62:in `retrieve_db'
/var/chef/cache/cookbooks/mongodb/providers/user.rb:9:in `add_user'
/var/chef/cache/cookbooks/mongodb/providers/user.rb:71:in `block in class_from_file'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/lwrp_base.rb:138:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/lwrp_base.rb:138:in `block in action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:118:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource.rb:625:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:49:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:96:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:80:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:429:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:494:in `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:199:in `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `fork'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:183:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:302:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:294:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:294:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23:in `<main>'```

Hi @gtaber I've setup this project for testing https://github.com/luishdez/cookbook-mongodb-playground using the master branch.
It looks ok. I've run librarian-chef install && vagrant up and everything went fine.
I've only tested with CentOS 6 though…

for sure dumb question but you're using this repo in  your Cheffile… right ?
cookbook "mongodb",
  :git => "https://github.com/chef-brigade/mongodb-cookbook.git",
  :ref => "master"

I've tested with Ubuntu, Centos … and went ok.
@gtaber tested in a new VM with no problem. So I guess he has some conflicts with ruby and its gems
I'm closing this.


fix(workitem): update workitem Title Bold value on all workitem edits

[ ] What does this PR do? [Mandatory]
Update/Add a Workitem:
workitem title will be bold if it's matching the current filter

[ ] What issue/task does this PR references? [Mandatory]

https://github.com/openshiftio/openshift.io/issues/2823
[ ] Are the tests Included? [Mandatory]

YES
[ ] Is the documentation Included?

[ ] Are the Release Notes included?

[ ] Is/Are the @mention(s) to reviewer(s) included

@sahil143 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2593 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2593 and visit http://localhost:5000 to access it.

@Raunak1203 We can do this and we would need a proper notification message for this. Although, if a workitem is not matching filter we have been showing its title light. So, I think change in bold value is enough to indicate that workitem is not matching current filter anymore.
@nimishamukherjee

@sahil143 @Raunak1203 we can use the bold (to denote matching) and unbold (to denote not matching) items.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@cd1f237). Click here to learn what that means.
The diff coverage is 15%.

@@           Coverage Diff            @@
##             master   #2593   +/-   ##
========================================
  Coverage          ?   9.55%
========================================
  Files             ?     215
  Lines             ?   13726
  Branches          ?    1916
========================================
  Hits              ?    1311
  Misses            ?   12344
  Partials          ?      71

Impacted Files
Coverage Δ

src/app/effects/work-item.effects.ts
1.15% <0%> (ø)

src/app/effects/work-item-utils.ts
20% <20%> (ø)

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 cd1f237...2462805. Read the comment docs.

[test]

@sahil143 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2593 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2593 and visit http://localhost:5000 to access it.

@sahil143 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2593 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2593 and visit http://localhost:5000 to access it.


added ability to use config file to shard vicuna

you can now pass a config file generated with github.com/nod-ai/SHARK/blob/main/shark/shark_generate_model_config.py

@dan-garvey / @PhaneeshB please review / merge

I added comments.
Also, I realized that the embbeding and decoding layers weren't configurable, so I added in functionality for that


Add to the README a section of requirements or dependencies to run the project

Summary

Transcript this guide of the official Dojo Engine Book about the prerequisites to run a Dojo project into our README.

Hey @danielcdz, I'm a software engineer from Costa Rica, I would love to help with this issue. Can I work on it?

@diegoTech14 go for it!

Thank you sir! I will start ASAP


Golangci-lint v1.17.1 docker build failure on OdroidHC2

Trying to build a docker image (current master) on Odroid HC2 (XU4) running Armbian Linux (Debian Buster) on 4.14.150-odroidxu4 kernel with Docker version 19.03.5, build 633a0ea docker.
Building fails with:
Step 1/14 : FROM golang:1.13-buster AS builder
 ---> 1a37b9efe7b6
Step 2/14 : RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
 ---> Running in 3d99c1fda6d9
golangci/golangci-lint info checking GitHub for tag 'v1.17.1'
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/armv7
The command '/bin/sh -c curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1' returned a non-zero code: 1

Bumping up golangci-lint version to 1.18.0 or 1.23.6 makes this problem go away
Expected Behavior
Build to finish.

Current Behavior
Building fails with
Step 1/14 : FROM golang:1.13-buster AS builder
 ---> 1a37b9efe7b6
Step 2/14 : RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
 ---> Running in 3d99c1fda6d9
golangci/golangci-lint info checking GitHub for tag 'v1.17.1'
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/armv7
The command '/bin/sh -c curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1' returned a non-zero code: 1

Possible Solution
Bump golangci-lint version to 1.23.6

Steps to Reproduce (for bugs)

Clone/checkout oauth2_proxy repo
docker build - < Dockerfile.armv6

Context

Your Environment
Odroid HC2 (xu4) SBC running Armbian LInux (essentially Debian Buster with odroid kernel)
$ uname -a
Linux hc2 4.14.150-odroidxu4 #2 SMP PREEMPT Mon Oct 28 08:07:45 CET 2019 armv7l GNU/Linux

Version used: Current "master" tree or 5.0.0

Looks like we can just bump the version being installed across all of our dokcerfiles and this should be fixed? Anyone got time to raise a PR for this?

Looks like this will be fixed by #419

Thank you. Closing this one for now and waiting for #419 to go through.


Complex data

Reference Issues/PRs
#64
What does this implement/fix? Explain your changes.
Casting both data1 and data2 into real part solved the complex data saving issue.

@sepandhaghighi Please review again.


chore: reduce go depbot to weekly

Hey,
if you look at the recently closed "deps" PRs, all of them were closed this year (2 months period). With that, I propose to reduce frequency from daily to weekly to reduce notifications load on the team. Urgent security issues go through Red Hat Security Response Team anyway, we should not depend on dependanbot for this reason. Weekly notification is still a good reminder to not stop updating deps and get stuck.

We are not doing it after all?

Well I fixed most of the dependencies so we are able to catch up. I do prefer doing this weekly but the team liked it daily in a Slack thread.


RNG bug

On some Nitro machines and intermittently, requesting entropy from within the enclave by whether reading /dev/random or sending a getrandom syscall results in failure: the function call hangs and does not return immediately (or ever). This might be due to entropy shortage or incorrect entropy initialisation. Might be related to https://github.com/aws/aws-nitro-enclaves-sdk-c/issues/41.
So far I have found two machines exhibiting this behaviour. Rebooting doesn't seem to make any difference.
I understand the recommended solution is to use the NSM library, but forking dependencies is not ideal.
Is there a good reason why NSM's RNG is not plugged into /dev/*random directly? I thought this was implemented in https://github.com/aws/aws-nitro-enclaves-sdk-bootstrap/pull/9 but this change to the NSM kernel module is already deployed into the Nitro CLI tool I'm using (v1.1.0).
Here is my PCR1 fwiw:
c35e620586e91ed40ca5ce360eedf77ba673719135951e293121cb3931220b00f87b5a15e94e25c01fecd08fc9139342

The NSM is now plugged into the HWRNG system and automatically seeds entropy (see #9), but this version of the driver is shipped with nitro-cli 1.2.0, and is not available in nitro-cli 1.1.0.

If it's the same PCR1, was the image built on another machine with nitro-cli 1.1.0 perhaps?
Unless I mistakingly modified something on my test instance, I get
"PCR1": "bcdf05fefccaa8e55bf2c8d6dee9e79bbff31e34bf28a99aa19e6b29c37ee80b214a414b7607236edf26fcb78654e63f" with the nitro-cli 1.2.0 blobs.

Also, with nitro-cli 1.2.0, you should be able to gain a bit more context into what the image is, via nitro-cli describe-eif command.
nitro-cli describe-eif --eif-path hello.eif
{
  "EifVersion": 4,
  "Measurements": {
    "HashAlgorithm": "Sha384 { ... }",
    "PCR0": "297caf40f22a444b7ac98e8ee68768b5c86480559bedab11ebfda0feebe8453ec7cc966d862920fb553857e0b1b554ff",
    "PCR1": "bcdf05fefccaa8e55bf2c8d6dee9e79bbff31e34bf28a99aa19e6b29c37ee80b214a414b7607236edf26fcb78654e63f",
    "PCR2": "5a10913645be73e780072fe38b25b386b0f6e1bbfc35ec076e5e10d21f14d8a5fc409316b0eebd6bb8d3c7c0b1abed15"
  },
  "IsSigned": false,
  "CheckCRC": true,
  "ImageName": "hello-world",
  "ImageVersion": "feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412",
  "Metadata": {
    "BuildTime": "2022-10-10T14:09:32.994323426+00:00",
    "BuildTool": "nitro-cli",
    "BuildToolVersion": "1.2.0",
    "OperatingSystem": "Linux",
    "KernelVersion": "4.14.256",
    "DockerInfo": {
      "Architecture": "amd64",
      "Author": "",
      "Comment": "",
      "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
          "/hello"
        ],
        "Domainname": "",
        "Entrypoint": null,
        "Env": [
          "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "ExposedPorts": null,
        "Hostname": "",
        "Image": "sha256:b9935d4e8431fb1a7f0989304ec86b3329a99a25f5efdc7f09f3f8c41434ca6d",
        "Labels": null,
        "OnBuild": null,
        "OpenStdin": false,
        "StdinOnce": false,
        "Tty": false,
        "User": "",
        "WorkingDir": ""
      },
      "Created": "2021-09-23T23:47:57.442225064Z",
      "DockerVersion": "20.10.7",
      "Id": "sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412",
      "Os": "linux",
      "Parent": "",
      "RepoDigests": [
        "hello-world@sha256:62af9efd515a25f84961b70f973a798d2eca956b1b2b026d0a4a63a3b0b6a3f2"
      ],
      "RepoTags": [
        "hello-world:latest"
      ],
      "Size": 13256,
      "VirtualSize": 13256
    }
  }
}

If it's the same PCR1, was the image built on another machine with nitro-cli 1.1.0 perhaps? Unless I mistakingly modified something on my test instance, I get "PCR1": "bcdf05fefccaa8e55bf2c8d6dee9e79bbff31e34bf28a99aa19e6b29c37ee80b214a414b7607236edf26fcb78654e63f" with the nitro-cli 1.2.0 blobs.

You're correct, I got confused by the fact that the image was built on a different machine from the one running it.
I'm gonna update nitro-cli and get back to you with more details.
Btw IIUC it looks like https://github.com/aws/aws-nitro-enclaves-cli/commit/b37b6a3920b80f7ed643b86df1ddf541fc5af110 was merged before 1.1.0 (https://github.com/aws/aws-nitro-enclaves-cli/commit/4fcf25d166fa2d522c5406840e68d42e6d24dd9e)

On the same machine, I was able to reproduce the bug with an image built with nitro-cli 1.0.12, but not with the same image built with nitro-cli 1.2.0.
Solved!
Thanks


Reindex invoices

Reindex invoices table to solve issue with new users who have used invoice cleanup

This addresses issue #9 by indexing the invoices table


Create Openshift resources for WSO2 API Manager version 3.1.0 deployment pattern 2

Description:
Create Kubernetes resources for WSO2 API Manager version 3.0.0 deployment pattern 2

Fix the issue in https://github.com/wso2/openshift-apim/pull/1


Add PagerDuty source field (PD-CEF)

Fix #3079 by adding a new source field to the PagerDuty config. Maintains backward compatibility by defaulting to the client field. Added some tests to ensure behaviour works as expected now and in the future. Updated docs as well.
Had to close previous PR after messing up the signing.
Signed-off-by: Oktarian Tilney-Bassett<EMAIL_ADDRESS>

Hi, thanks for implementing these. I tried to add both client and source fields, but still no Source in PagerDuty alerts
pagerduty_configs:
          - service_key: ABCDEF
            description: '{{ template "alert.summary" . }}'
            source: 'Alertmanager'
            client: 'Alertmanager'

Is this working or did I miss anything ?


incidentType definitions

What are the differences between "Action Required" and "Information" and between "Security" and "Service Issues"? They have (respectively) the same definitions for their subpoints.
Only Service Issues, Maintenance, and "Health Advisories" are listed as types of Service Health Notifications on the concepts page below. Should we consider Action Required, Information and Security to be types of "Health Advisories"?
https://docs.microsoft.com/en-us/azure/service-health/service-health-overview

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

ID: 5c4b81c1-717f-48f4-d786-6cbe6c3c78ac
Version Independent ID: 32fdbc14-0630-b6d0-d66b-dc111a024f5b
Content: What are Azure service health notifications?
Content Source: articles/service-health/service-health-notifications-properties.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @dkamstra
Microsoft Alias: dukek

Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

The action required and information difference is subtle. The former says that administrator action is required, whereas the latter says that administrator action may be required. I'll look at getting the security item updated in the documentation, but essentially, you're right that these are all types of advisories.

thanks for the update, @stephbaron .
@dcbrown16 We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

@stephbaron thanks, we will consider the Action Required, Information and Security to be types of "Health Advisories" for the moment.
One more question came up. We noticed that the top of the page actually lists 6 "classes" including the one below. Is there an incidentType that corresponds to this one? Is it a sub-category of Service Issues?

Assisted recovery: An event has occurred and engineers have confirmed that you are still experiencing impact. Azure engineering needs to work with you directly to restore your services to full health.

I do not believe that one is in use but will follow-up and make the appropriate documentation updates.


Add attestation files v2 for DSP & SSP services

Description

Add Enrollment and Attestation files for dev and prod environment deployment
Update Cloud Build configuration so copy attestation files for the target environment (dev or prod)

Affected services

[ ] Home
[ ] News
[ ] Shop
[ ] Travel
[x] DSP
[x] SSP
[ ] ALL

Other:

CI/CD

note : update deployment doc - user should replace attestation files with their owns for the domains they have enrolled.


Check player if is wallruning/wallhanging/hanging something

Check player if is wallruning/wallhanging/hanging something

don't really get the point of this?

oh,sorry for my stupid.
Can you explain to me?

Why are you adding this? Doesn't make any sense for me

ok,I will close it


scrabble-score: replace 'multibillionaire' with 'oxyphenbutazone'

The word multibillionaire is too long for the scrabble board. Oxyphenbutazone, on the other hand, is legal.
Please verify that there is no test for multibillionaire in the scrabble-score in this track. If the word is included in the test data, then it should be replaced with oxyphenbutazone. Remember to check the case (if the original is uppercase, then the replacement also should be).
If multibillionaire isn't used, then this issue can safely be closed.
See https://github.com/exercism/x-common/issues/86

We are checking against "oxyphenbutazone", so I'll close this.


Return capabilities are dropped when the browser refreshes from the target page and location.state cannot be used

Since the package utilizes the server provided referrer and that value is removed upon refresh, return navigation does not work when a page has return links, javascript is disabled, and the page is refreshed.

There are a few ways to enhance the package:

Use a cookie to save the referrer so it can persist through page refreshes

This option will not be sufficient since the browser shares the cookie between tabs.

Use tab-isolated storage like sessionStorage

This option is viable, but only when Javascript is enabled.

Store the return location in the URL

This options seems like the best option. There is likely some complex hybrid that can use session storage when it is available and use the URL when it isn't, but URL storage on it's own will facilitate all use cases. And storing a return location in the URL can pose some security risks (most notably a hacker forging a URL that empowers a return link that takes you to a malicious site) so they will need to be considered in the implementation. Something like session storage is by no means secure anyways. It's just a more difficult attack vector. And in some ways it's more dangerous because it's basically invisible to common users.
I'll be moving forward with URL return location storage so they'll work with or without Javascript and they can persist through refreshes. The initial plan is to storage locations in such a way that absolute URLs will not work as return locations. That is, return locations will only be able to share the same origin which I believe circumvents the security issues.

As (re)discovered in 1.2.0, location state is fine to use since the referrer header issue in Remix is only an issue when Javascript is enabled. To clarify, the referrer header is reset when Javascript is enabled and a page is refreshed therefore we cannot solely rely upon it. But when Javascript is disabled, it functions in a way that it can be solely relied upon.
In 1.2.0, I've switched back to allowing location state storage (as an option). IMO, the location state approach is cleaner in its transparency, but the alternative also exists.


Annoying autoprefixer warnings

Imagine the biggest level of not giving a **** about something. This is me about IE support. I don't wish to see this messages! How to disable it?
IE 9-11 is commented in browserlist file
WARNING in ./src/app/components/create/create.component.css
(Emitted value instead of an instance of Error) autoprefixer: C:\Users\imbohacker\Documents\GitHub\imboapp\src\app\components\create\create.component.css:165:35: auto-fill value is not supported by IE

I'd like to know the answer for this also. I have browserlist settings in my package.json to not include ie or ie_mob but it doesn't remove these warnings.

i had the some issue, adding this .browserslistrc in project root solved the problem for me
(i'm using @angular-devkit/build-angular": "0.7.2")
# Browsers that we support
last 1 version
> 5%
not dead
not ie > 1
not ie_mob > 1

I can confirm that upgrading to the latest version has fixed these autoprefixer warnings showing 👍

Using a browser config as described by @marcorosi is the preferred way of addressing these warning. New project should come with this file.

@filipesilva why have you closed that issue?
Project generaeted by Angular CLI has project has 'browserslist' file. Which has EXCLUDED IE as well # IE 9-11.
Why do people need to add some other file to handle that problem.

CLI 6.2.1 I'm getting the error
WARNING in ./scss/styles.scss (./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./scss/styles.scss)
(Emitted value instead of an instance of Error) autoprefixer: /scss/breakpoints/_base.scss:84:8: grid-auto-rows is not supported by IE

with the browserlist config:
last 1 version
> 5%
not dead
not ie > 1
not ie_mob > 1

CLI 6.2.1 I'm getting the error
WARNING in ./scss/styles.scss (./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./scss/styles.scss)
(Emitted value instead of an instance of Error) autoprefixer: /scss/breakpoints/_base.scss:84:8:
grid-auto-rows is not supported by IE

with the browserlist config:
last 1 version
> 5%
not dead
not ie > 1
not ie_mob > 1

Hi, did you solve this? I have the same warning

We've managed to suppress these warnings by putting:
/* autoprefixer: off */
before each line that generated a warning in our scss files

Just updated the CLI to 7.0.2 and the warning seems to be gone (same config as my previous comment) :)

Works using Angular CLI 7.1 and modifying the src/browserslist file to:
> 0.5%
last 2 versions
Firefox ESR
not dead
not ie > 1
not ie_mob > 1


Support NSPredicate CONTAINS and IN with new filter queries

Firebase introduced arrayContainsAny and queryWhereField:in in 2019. This PR adds support to NSPredicate for these queries

@googlebot I signed it!

@goose2460 Thanks for the PR! Much of the team is off now, so it may be a few weeks before we're able to review.

Thanks for the PR!
Are you finding the NSPredicate-based query methods useful/preferable to the Firestore public query API?

Thanks for the PR!
Are you finding the NSPredicate-based query methods useful/preferable to the Firestore public query API?

Yes, I find them preferable to the public query API due to my background and I also prefer to depend on Foundation instead of Firebase at this layer in my project
extension Challenge {
    static func predicateForChallenges(createdBy userUid: String) -> NSPredicate {
        return NSPredicate(format: "%K = %@", Challenge.CodingKeys.creatorUid.stringValue, userUid)
    }

    static func predicateForChallenges(with participant: String) -> NSPredicate {
        return NSPredicate(format: "%K CONTAINS %@", Challenge.CodingKeys.participantUids.stringValue, participant)
    }
}

Yes, I find them preferable to the public query API due to my background and I also prefer to depend on Foundation instead of Firebase at this layer in my project
extension Challenge {
    static func predicateForChallenges(createdBy userUid: String) -> NSPredicate {
        return NSPredicate(format: "%K = %@", Challenge.CodingKeys.creatorUid.stringValue, userUid)
    }

    static func predicateForChallenges(with participant: String) -> NSPredicate {
        return NSPredicate(format: "%K CONTAINS %@", Challenge.CodingKeys.participantUids.stringValue, participant)
    }
}


10/12 publish

:x: Validation status: errors

File
Status
Preview URL
Details

docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.0546eb50dd6c430e0c954611cc0e7f51.yml
:x:Error

Details

docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.1a8c63c37c12280c9060c54cae2d4302.yml
:x:Error

Details

docs-ref-autogen/com.microsoft.azure.servicebus.primitives._messaging_entity_type.yml
:x:Error

Details

:x:Error

Details

docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.0546eb50dd6c430e0c954611cc0e7f51.yml

[Error] Publishing of document 'docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.0546eb50dd6c430e0c954611cc0e7f51.yml' to document hosting service failed with asset id: api/com.microsoft.azure.management.resources.fluentcore.arm.models.0546eb50dd6c430e0c954611cc0e7f51 locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-662. Error: The client could not finish the operation within specified timeout.

docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.1a8c63c37c12280c9060c54cae2d4302.yml

[Error] Publishing of document 'docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.1a8c63c37c12280c9060c54cae2d4302.yml' to document hosting service failed with asset id: api/com.microsoft.azure.management.resources.fluentcore.arm.models.1a8c63c37c12280c9060c54cae2d4302 locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-662. Error: The client could not finish the operation within specified timeout.

docs-ref-autogen/com.microsoft.azure.servicebus.primitives._messaging_entity_type.yml

[Error] Publishing of document 'docs-ref-autogen/com.microsoft.azure.servicebus.primitives._messaging_entity_type.yml' to document hosting service failed with asset id: api/com.microsoft.azure.servicebus.primitives._messaging_entity_type locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-662. Error: The client could not finish the operation within specified timeout.

[Error] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in http://SiteHelp and include the URL of publishing report.

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


Thanks for submitting the issue! Unfortunately this doesn't do anything to the app, but it was a good idea to try out.


WIP - Switch to simperium

PR to disucss / track switching to the Simperium API.
A fair amount had changed on master since the original simperium branches so this a new branch off master merging in the Simperium stuff.
Main comments:

[x] Tests pass in Python 2
[x] Python 3 compatibilty needs adding back in
[x] Auth stuff needs adding back in (we have a way to do this now)
[ ] Tidying up to do
[x] Performance still ok?

I'm very on/off as far as having time to spend on this, but am planning on doing this for October.

Quick notes on testing "performance".
Fetching all my notes (a few!):
Using Simperium:
>>> start_time = time.time(); notes, status = sn.get_note_list();print("--- %s seconds ---" % (time.time() - start_time))                                                                                │
--- 19.0744287968 seconds ---

Old api:
>>> start_time = time.time(); notes, status = sn.get_note_list();print("--- %s seconds ---" % (time.time() - start_time))
--- 30.8318629265 seconds ---

I doubt it really is faster because we are fetching all the notes content now as well, but I'm glad it's not lots slower.

Done a bit of the tidying up. But needs more.

I can't get merging of notes to work 😢 . It's supposed to work. Might have to take a bit to figure something out for this.

Hello, long time listener, first time caller. Is there anything I can do to help? I use this to back up my notes and want to contribute back.

@cbarrett Hey. Thanks. I don't know... at the moment I can't get the:

strings have automatic conflict resolution

bit to work. An update at the moment via simplenote.py always overwrites the remote version. It doesn't merge in changes made remotely. This is odd, because if I do it via curl on the command line it works as expected.
I suspect it maybe unicode related... or something like that... i.e. it's not seeing what gets posted via urllib2 as a "string". Well, enough to update the remote, but note enough to merge stuff.
Still digging. This is the main stumbling block at the moment.

@cbarrett Well... you helped just by making me look at this again. It was just me being an idiot:
5f1a9adf7e8775b86d00d0ce35ef0b843863d77c
Ok. Just tidying up to do. And then more testing. That would be good for people to help out with. Aim is for this to be a drop in replacement... i.e. if you use simplenote.py you just carry on using it and there are no changes required. But reality could be different.

I'm currently doing some testing with simplenote.vim to get a feel for breakage and what other compatibility fields I need to add.
I think the main difference is I will need to switch str() uses to unicode() in simplenote.vim, but that is probably the right thing to do anyway.

As far as I can tell, excepting one tiny change, this works as a drop in replacement in simplenote.vim.
Main issues:

since no longer works. I used that a lot... so I'll probably finally have to look at some form of caching instead
Need to tidy up commits / code
For some reason the get a list of notes test in simplenote.vim fails with 10 != 12... don't understand why yet or if it's that critical.

Awesome! I'll try running this with my backup script and let you know.

That'll probably do for an initial 2.0.0 Simperium release. Can then tidy up afterwards.
However... I am probably going to rebase this branch and force push it because the commits and commit messages are a bit crappy.


Working with imported Modules on Android

Hey, first of all thanks for this amazing plugin!
I'm trying to use the Python plugin for an Android app and got it to run on my mobile phone. However, I have a problem importing other modules that were not included in the stdlib. If I run the whole thing in the editor and just load the modules into the "Scripts" folder I can at least print them. As soon as I pack the project they are no longer detectable, although they are included in the obb file. Do I miss something, or how do I proceed if I want to have other modules?
best regards

Hey, I didn't know how to just print the directories, but here's a listing of the entire obb. The modules that aren't recognized are Ifcopenshell and Rdflib.
Best regards
listing.txt


Compartment model develop

vectorize generate_csv_raw, now 50 times faster
vectorize cumulative_age_table, now 15x times faster,
fix bug with string truncation in six_month_counter
use multipliers from camp parameters in cumulative_age_table instead hardcoded
timing report for functions
code cleanup

Hi @utkarshsahu could we update the functional tests such that the checks are passed please? Thanks

Hi @utkarshsahu could we update the functional tests such that the checks are passed please? Thanks

Hey Peter
I have created another pull request for fixing that test. Please see this: https://github.com/AIforGoodSimulator/model-server/pull/34


[material-ui][Chip] Add three-valued filter chip with additional prohibiting state

Summary
The three-valued chip represents a control that implements the three-valued logic.

These states must be looped:
disabled -> enabled -> prohibited -> disabled
A combination of two-valued and three-valued filter chips is allowed.
Examples
There are only homemade solutions now that are similar to my proposal, for example, in Nigma search engine:

Motivation
This new feature should be used to apply or prohibit the specified search criterion.
Search keywords: three-valued filter chip

Hey @sergeyprokhorenko, thanks for the report!
As this is a new feature, I've added the waiting for upvotes label so the community can vote for it. In the meantime, this should be achievable on user-land with the Chip's icon prop.

Thank you @DiegoAndai!
I would like to draw your attention to the fact that this is not just a chip with an icon, but a Material 3 Filter Chip with looped states. Switching states in a loop should be an integral part of this component, and not left to the software on the user side. Likewise, a checkbox is an independent interface element, and not two icons that replace each other using the user's software.

@sergeyprokhorenko Please upvote this issue in Base UI to make this happen sooner!
CC @DiegoAndai


LogEventInfo - Hidden StringBuilder-object optimization to avoid LOH

Implemented hidden optimization on LogEventInfo that allows a StringBuilder to ride through NLog without allocating string on Large-Object-Heap.

This change is

Current coverage is 80% (diff: 68%)

Merging #1674 into master will decrease coverage by <1%

@@             master      #1674   diff @@
==========================================
  Files           273        273
  Lines         16727      16785    +58
  Methods        2660       2663     +3
  Messages          0          0
  Branches       1843       1855    +12
==========================================
+ Hits          13406      13450    +44
- Misses         2902       2909     +7
- Partials        419        426     +7

Powered by Codecov. Last update 4e63930...b3bde61

Hey thanks!
Could you provide some info in which benefits this will give and in which cases? Do you have also did a performance (cpu) test?
This is making the code really more difficult to manage, so there should be big benefits.

Have now been performance testing and not able to produce an improved result.  Seems this optimization only makes sense when using object-pools. Will merge it into my existing object-pooling PR.


Lint all the things

Basically change every js file to follow ascribe's style guide. Adds some missing dependencies too. It's all perfectly consistent code from now on.

Next step is to enforce code style by running it before every commit.

@diminator almost there, 2 to go, from like 30 initially. You wanna take a look at the remaining ones please?

@diminator almost there, 2 to go, from like 30 initially. You wanna take a look at the remaining ones please?

the no-confusing-arrow should be resolved by the curly brackets. can you confirm?

replace
            conditionJson.subfulfillments.forEach((subfulfillment) => {
                subfulfillment = ccJsonLoad(subfulfillment);

by
            conditionJson.subfulfillments.forEach((subfulfillmentJson) => {
                subfulfillment = ccJsonLoad(subfulfillmentJson);

awesome, all fixed. But the remaining no-confusing-arrow is weird.
current master:
.then((res) => {
  return onlyJsonResponse ? res.json() :
  {
    json: res.json(),
    url: res.url
  };
  })

auto transformation by linting plugin in editor:
.then((res) => onlyJsonResponse ? res.json() :
  {
    json: res.json(),
    url: res.url
})

if we do this, we produce another error (no-unused-expressions):
.then((res) => {
  onlyJsonResponse ? res.json() :
  {
    json: res.json(),
    url: res.url
  }
})

Ideas? Otherwise I'm disabling the no-confusing-arrow for that line


Last Language Design Team Link is broken

It points to this url https://github.com/orgs/dotnet/teams/ldm which returns a 404

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

ID: 184c9a5a-9ac4-895b-f388-1a96105cdfd6
Version Independent ID: e9fe3f62-9cba-16cf-70c4-a9b77346932e
Content: C# language strategy
Content Source: docs/csharp/tour-of-csharp/strategy.md
Product: dotnet-csharp
Technology: csharp-get-started
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for reporting this @marwie
We missed that. That page is only accessible for members of the dotnet GitHub org. I'll find an appropriate public link and update this.


Added OpenMedia.4KVideoDownloader v<IP_ADDRESS>70

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run


RGB from lightStatusWithRGB is not corrected

hi peter
I know it may not be possible I just wanted to hear your opinion on this issue.
When getting the RGB of a newer color bulb the reported value is Orange instead of red.
state = lightState.create().on().rgb(255, 0, 0);
api.setLightState(5, state).then(displayResult).done();
api.lightStatusWithRGB(5).then(displayResult).fail(displayError).done();

    "rgb": [
      235,
      96,
      27
    ],

Hi,
The RGB values are a little tricky to deal with as the Hue system really does not support them directly.
When you specify an RGB value, you have to convert it into an HSL value that is supported by the light. Each light type made by Phillips has a different set of value for the colours that it can reproduce, and there are some rather complicated conversions that get applied from the RGB values into what the light can support.
If you supply values outside the range that can be supported, then the Hue bridge/light will clip the values to the closest it can support so this can result the desired values being passed in being further modified outside of the library.
When I read the values back and provide the RGB in the state, the conversion is applied in reverse from the HSL values. This is just an approximation as the lights do not support real RGB values, but should be very close to what you requested, within the realms of the actual colours that the light can support.
With all this in mind, when you ask for an RGB value, what you get is as close to what the light can produce within the limits for the specific light (which is why I do not support this in a group setting). The RGB state value returned from the light itself is as close to what I can determine by converting the HSL value into the RGB space.
If you are setting red and getting orange for the light itself, not just from the API result, them please send me the details for the light (use the info function for the bridge) and I can take a look at it and see if there may be an error in the conversions going on.
Thanks,
Peter

Here is my light. the RGB is orange. The HSL values is a red.
{
  "state": {
    "rgb": [
      235,
      96,
      27
    ],
    "on": true,
    "bri": 72,
    "hue": 737,
    "sat": 237,
    "effect": "none",
    "xy": [
      0.6484,
      0.3309
    ],
    "ct": 153,
    "colormode": "xy",
    "reachable": true
  },
  "type": "Extended color light",
  "modelid": "LCT007",
...
}

The RGB state value returned from the light itself is as close to what I can determine by converting the HSL value into the RGB space.

But in the code you convert XY to RGB instead of converting HSL to RGB.
(maybe the HSL value were not correct 2 years ago and a firmware update fixed it)

Ah nevermind I just did more testing, and the HSB value also is different from the actual light, and cannot be relied on.

Sorry, it converts into xy colour space not HSL... I wrote it so long ago, but what I said still holds true if you substitute HSL for XY.
I will take another look at the code and lights, as I am working on updating the library to use native promises and remove the Q promise library. RGB is a real tricky one as the lights really don't directly support it.


reduce file size

with meteor 1.5. and the new bundle-analyizer you get a good picture of the bundle size.
This library is huge (166kb) and contributes to 10% of the file size. Is it possible to reduce file size? we only need google analytics.
okgrow:analytics version 2.1.1

maybe we can use something like https://github.com/meteor/meteor/issues/8745 ?

The library also seems to pull in meteor-node-stubs for me which adds another 300kb.
I'm testing and reduced my bundle by about 600kb without okgrow:analytics.

@jlichti Just realised it is indeed this package that pulls in meteor-node-stubs, did you figure out why?
Got the same bundle-size reduction as you when removing it, huge!

I didn't dig into it since it was easy for me to just replace with a npm package.

Which package did you use, and did it do any sort of automatic logging?

I used this package: https://github.com/react-ga/react-ga
I'm using flow router on this project so I added a trigger:
FlowRouter.triggers.enter((context, redirect) => {   logPageView(); });
And my logPageView() method is:
const logPageView = () => {   ReactGA.set({ page: window.location.pathname + window.location.search });   ReactGA.pageview(window.location.pathname + window.location.search); };

Cross ref: https://github.com/meteor/node-stubs/issues/6


add capi patch to enable kubeadm feature flags mutation

Description of changes:
Currently, kubeadm feature flags are immutable which cause issues when upgrading a cluster from 1.28 to 1.29 as we try to disable the EtcdLearnerMode feature flag. This gets blocked by webhooks because the feature flag itself is immutable.
This PR patches CAPI based on this upstream PR https://github.com/kubernetes-sigs/cluster-api/pull/10154 to make this field mutable.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve

/cherry-pick main

/cherry-pick main


Format PatternMatchOr

Implement formatting of a | b patterns
match x:
    case [x] | (y):
        ...

I can take this

Nice, thanks @LaBatata101

You can maybe look at expression/expr_bool_op.rs as a reference, or the BinOpLayout::Default branch in expression/expr_bin_op.rs although that may have handling and special cases that we don't need here -- I'm not sure yet.


Forms states

Hi I started working on the form dirty/clean/pristine
not sure if it is the right way to do it, but the example seems to work https://github.com/mxab/autoform-states-sample

A couple of questions. Does your approach allow for fields to also have dirty/pristine state? And, what events cause the various input fields to become dirty?

hi, so far it is only the complete form. I use the getFormValues and the form doc and compare it via EJSON

After further testing I think to check the clean/dirty state of a document to update it to check if there are any entries in the modifier's $unset and $set.
any thoughts on that @aldeed

I did some rework on the "dirty" checking part, seems to work better now

Great, thanks. Might be a few days before I can take a good look at this.

A couple of cases to consider:

Does submitting the form make it dirty if it fails validation?

Does a blur event make the form dirty?

@jcheroske at the moment input and change events make it dirty/clean but could at blur easily. At the moment I would not use it, for some reason I had some strange issues in some forms...

Any progress on this?
@mxab Up for fixing the merge conflicts?
@aldeed Is it ready to merge (assuming conflicts are resolved)? Any issues with it?
AutoForm is awesome. We're using several quickForms to easily render huge input forms. I'd like to warn the users that they need to save as soon as the form becomes "dirty" and this PR looks like it would be a huge help to do that.


cannot bind to value

I am getting below error any idea what am I doing wrong ?
ERROR Error: Uncaught (in promise): Error: Template parse errors: Can't bind to 'value' since it isn't a known property of 'span'. ("g>   <span ion-datepicker locale="en" (ionChanged)="event($event)"  okText="Ok" cancelText="Cancel" [ERROR ->][value]="localDate"      clear > {{localDate | date:'dd-MM-yyyy' }}

It seems the datepicker module isn't in your app's NgModule.
If you are lazy loading then its not in your pages module either.

yep i am lazy loading, thanx it worked.


[EventRequest] GenJnlPostLine.Codeunit.al (codeunit 12 "Gen. Jnl.-Post Line")

Hi MS,
Please help us in migrating our verticalized solution by adding below events in GenJnlPostLine.Codeunit.al codeunit.
Standard Code

Modified code

Event Signature

Thanks
SUD

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


New Parser and Analyzer support User and GRANT related functions【Easy】

Requirement Description
New Parser and new Analyzer support User and GRANT related functions
Mentor
@HangyuanLiu
Registration procedure
Step 1. Add a comment when you sign up. The comment can be a brief self-introduction and reason for signing up, including what you do, what you're good at, what you're interested in and your technology stack, and how familiar you are with StarRocks. Example:

I pick! My name is Johnny. I am from StarRocks and I have been working on database kernel development for 1 year. I am interested in OLAP, good at C++ programming, and have been using StarRocks for 6 months. I chose to solve this issue because I am familiar with execution engine.

Step 2. On your WeChat, add the StarRocks community assistant "StarRocks-1" as a WeChat friend and leave your GitHub ID. The assistant will invite you to a WeChat group based on the issue you picked.
Step 3. The mentor will communicate with all the participants who picked this issue and assign the task to the best match.
Before you start

Read the StarRocks GitHub workflow carefully, which provides the configurations of BE and FE and describes how to submit a pull request.
To learn more about StarRocks, read StarRocks documentation.

Pull request requirements

After you complete code development, upload the code to the StarRocks code repo as a pull request (PR).

PR title format: [SR GeekCamp] + PR title
Labels ：[Geek Camp 2022/feature]

After you submit your PR, comment on the status of your PR submission as requested under the Pinned Issue [StarRocks geek Camp 2022] page.

Comment format: "I have finished Issue #" + PR link id

I pick! My name is xuzifu. I am interested in OLAP,  have been using StarRocks for 1 year. I like StarRocks community and hope to contribute.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.16 to before v5.16.5",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2e7b9886968b89f0b4cbc59b8e6ed47fd4edd0dd",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cfb7d12f2e4a4d694f49e9b4ebb352f7b67cdfbb"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "2e7b9886968b89f0b4cbc59b8e6ed47fd4edd0dd",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "cfb7d12f2e4a4d694f49e9b4ebb352f7b67cdfbb",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "hwmon: (nct6775) Fix crash in clear_caseopen\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.5 by commit cfb7d12f2e4a4d694f49e9b4ebb352f7b67cdfbb, it was introduced in version v5.16 by commit 2e7b9886968b89f0b4cbc59b8e6ed47fd4edd0dd. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000631


rememberRetained retains value of removed node

When calling a nested circuit screenB conditionally within screenA under the hierarchy of NavigableCircuitContent,
as in the following case:
val backStack = rememberSaveableBackStack(ScreenA)
navigator = rememberCircuitNavigator(backStack = backStack, onRootPop = {})
NavigableCircuitContent(navigator = navigator, backStack = backStack)

  private data object ScreenA : Screen {
    object State : CircuitUiState
  }

  private class ScreenAPresenter : Presenter<ScreenA.State> {
    @Composable
    override fun present(): ScreenA.State {
      return ScreenA.State
    }
  }

  @Composable
  private fun ScreenAUi(modifier: Modifier = Modifier) {
    Column(modifier) {
      val isChildVisible = remember { mutableStateOf(false) }
      Button(
        modifier = Modifier.testTag(TAG_BUTTON),
        onClick = { isChildVisible.value = !isChildVisible.value },
      ) {
        Text("toggle")
      }
      if (isChildVisible.value) {
        CircuitContent(screen = ScreenB)
      }
    }
  }

The rememberRetained called in the presenter of the nested circuit screenB retains its previous value even after screenB is removed and re-added. This behavior contrasts with rememberRetained called from the screenB's UI, which is reinitialized, suggesting this is a bug.
This issue only occurs when the presentWithLifecycle feature is set to true.
I have written a test code to reproduce this bug. Could you please take a look at it?
https://github.com/vulpeszerda/circuit/blob/navigable-circuit-content-test/circuit-foundation/src/jvmTest/kotlin/com/slack/circuit/foundation/NavigableCircuitContentRetainTest.kt
This bug only occurs when screenB is equal to the previously added screen instance.

I found and attached more test case in above link that rememberRetained works incorrectly even though presentWithLifecycle is false

I have been looking at implementation of rememberRetained for a long time, and it’s very confusing.
remember / rememberSaveable vs rememberRetained behave very differently, and this is not documented.
In the case of remember / rememberSaveable, the init block is executed each time it is added to a node based on the condition in the if-else block.
On the other hand, rememberRetained registers to the RetainedStateRegistry but does not call save when removed from the node. Therefore, when it is added back to the node later, there is no value to consume from the RetainedStateRegistry, so the init block is executed.
However, when rememberRetained is added and then removed from the node, unregister is not called from the RetainedStateRegistry. Thus, even after being removed from the node, the value is saved when save is called on the RetainedStateRegistry later. Subsequently, when rememberRetained is invoked again, the value is consumed, and the init block is not executed.
This behavior makes rememberRetained unpredictable. Therefore, the value of rememberRetained should be modified to behave like remember / rememberSaveable, where it is reset when added to and removed from the node.

Hi, we'll take a look when we have time. Some feedback though - a lot of this has read like a list of complaints and then demands, I would encourage you to be a little more constructive and seeking to learn (perhaps using discussions to ask questions about the areas you are unsure about).

@ZacSweers
First of all, I sincerely apologize if my previous comment came across as too harsh or aggressive. I greatly appreciate and value the Circuit library—I even presented it at a recent developers' conference in Korea, showcasing my admiration and respect for it.
The reason my original message might have sounded critical is that I encountered this issue during the final stages of releasing a product that uses Circuit. After coding and analyzing the problem for over 20 hours, I was likely more sensitive than usual when writing the comment. If it caused any frustration, I hope you can kindly understand.
Regarding the issue, I don't have a deep enough understanding of the internal implementation of rememberRetained to make changes myself, so I initially reported it as a bug. However, I will review it further over the weekend to see if I can propose a possible solution.
Thank you for your understanding.

@ZacSweers
I’ve come up with a solution to address this issue. Except for needing to adjust a few test cases, it passes all existing tests, and I’ve modified rememberRetained to function similarly to remember / rememberSaveable.
I’ll add some more organized test cases and submit this as a PR 🙂

Sounds good!


Login UX #303

#303

abaplint: seems some keyword are missing.
For bad indentation: can shift BEGIN OF LINE left, but I'd say this way looks clearer.

I agree that it looks better, but some day someone will pretty print the include and the indentation will be gone. We are limited by the tools that SAP provides :disappointed: can you add a commit where the include is pretty printed?
Apart from that I tested it a bit, and it looks good

cool, thanks, merging

BTW there is a possibility to enhance pretty printer.
http://www.hovitaga.com/Advanced-Pretty-Printer-enhancement-details
I didn't install this one honestly but it looks very interesting ... maybe I'll do when I have some time.

yes, I've seen it, and debugged the standard pretty printer code without finding a user exit. So I guess the advanced pretty printer is implemented via a modification or implicit enhancement spot.


feat(linter): eslint-plugin-jest: prefer-comparison-matcher

Rule Detail: link

There are some test cases failed.

There are some test cases failed.

I will upgrade it later.


Assoc Indexing

Implement the various form of indexing for Assoc

Basic Int indexing and String indexing added.  More testing needed.

regex added.  StartWith needs to be implemented

StartWith Implemented


Victoria Metrics single detected but isn't used

Describe the bug
Seems that krr detects that cluster uses Victoria Metrics single but still without specifying endpoint it can't find metrics.
To Reproduce
Run krr --simple with cluster running VM single:
[☸ lab:network] [⏱ 13s]
❯ ~ krr simple

 _____       _               _          _  _______  _____
|  __ \     | |             | |        | |/ /  __ \|  __ \
| |__) |___ | |__  _   _ ___| |_ __ _  | ' /| |__) | |__) |
|  _  // _ \| '_ \| | | / __| __/ _` | |  < |  _  /|  _  /
| | \ \ (_) | |_) | |_| \__ \ || (_| | | . \| | \ \| | \ \
|_|  \_\___/|_.__/ \__,_|___/\__\__,_| |_|\_\_|  \_\_|  \_\

Running Robusta's KRR (Kubernetes Resource Recommender) v1.6.0
Using strategy: Simple
Using formatter: table

[INFO] Using clusters: ['lab']
on 0: [INFO] Listing scannable objects in lab
on 0: [INFO] Connecting to Prometheus for lab cluster
on 0: [INFO] Connecting to Victoria for lab cluster
on 0: [INFO] Using Victoria at https://<IP_ADDRESS>:6443/api/v1/namespaces/monitor/services/vmsingle-vm:8429/proxy for cluster lab
on 0: [INFO] Connecting to Thanos for lab cluster
on 0: [ERROR] No Prometheus or metrics service found

Expected behavior
I'd expect it to fetch metrics and work fine.
Desktop (please complete the following information):

k8s: k0s 1.29

In short despite krr detecting that cluster is running vm single I still have to enable port forward and run it with ❯ ~ krr simple -p http://<IP_ADDRESS>:8429 to get actual recommendations.
Not sure why it tries to fetch Prometheus data through proxy.
I guess once it detects that there's VM instance in cluster it should establish connection to vmsingle inside that cluster.

[☸ lab:network]
❯ ~ krr simple -p http://<IP_ADDRESS>:8429

 _____       _               _          _  _______  _____
|  __ \     | |             | |        | |/ /  __ \|  __ \
| |__) |___ | |__  _   _ ___| |_ __ _  | ' /| |__) | |__) |
|  _  // _ \| '_ \| | | / __| __/ _` | |  < |  _  /|  _  /
| | \ \ (_) | |_) | |_| \__ \ || (_| | | . \| | \ \| | \ \
|_|  \_\___/|_.__/ \__,_|___/\__\__,_| |_|\_\_|  \_\_|  \_\

Running Robusta's KRR (Kubernetes Resource Recommender) v1.6.0
Using strategy: Simple
Using formatter: table

[INFO] Using clusters: ['lab']
on 0: [INFO] Listing scannable objects in lab
on 0: [INFO] Connecting to Prometheus for lab cluster
on 0: [INFO] Using Prometheus at http://<IP_ADDRESS>:8429 for cluster lab
on 0: [INFO] Prometheus found
on 0: [INFO] Prometheus connected successfully for lab cluster

I believe this might be the same issue I mentioned here:
https://github.com/robusta-dev/prometrix/issues/6


Added EE test

Added a preliminary EE test - the goal is to have this test run periodically (hourly?) to spot regressions. The EE tests will eventually cover multiple basic user scenarios.

@ldimaggi if you want to email over the required secrets, i can get them setup and update this job with the right wrapper to get going

[test]


possible Protoweb support for v86 ?

@copy will v86 ever get support for Protoweb bc that would sure be great please

You can set the proxy manually in a VM: https://protoweb.org/wiki/internet-explorer-3-0/, it worked for me without any problems a few months ago.

Protoweb works on v86 and thanks for the help but warp stream does not seem to work on v86 what do i need to do on v86 to make it work ?

For me, Flash Player doesn't work, even with decreasing the security level in Internet Explorer, RealPlayer works fine (you can switch in the rating panel, see the support page for setup), Windows Media Player also works but crashes after 10 seconds,

well what URL are you talking bout bc the one i use is this for v86 https://copy.sh/v86/ and it works just fine and im on Ethernet and on fire fox and i tested it on chrome the boot versions that is and even then it did not work on chrome so im guessing it must be a issue with the site rather than on my end and this is the issue im having btw see when ever i go on to the boot versions of windows 9x and windows 2000

is this supposed to happen with the boot verions @SuperMaxusa or what

That image you have taken from "Take screenshot" button? Have you checked the browser console errors (press F12 -> tab "Console") in both browsers?
Closer to the issue, I used the "Windows 2000" profile (not windows2000-boot) from the main page.

hey super do you use discord at all or no ?

Sorry, I'm a busy now and can't help you individually, however I have a step-by-step guide for you:

run networking.bat and then start Internet Explorer
click "Tools" -> "Internet Options" -> "Connections" -> "Local Area Network (LAN) settings" -> "Use a proxy server"
type the proxy address and port from https://protoweb.org/wiki/servers/
in Internet Explorer, go to http://www.warpstream.net/support/winxp.html and follow the "RealPlayer Setup Guide" (it's about 5 MB to download, so be patient)
After installing and configuring RealPlayer, go to the WarpStream home page, select a video, near "Rating" select quality (note: the default proxy in v86 has a speed limit of 40 KB), personally I tested a "56K Modem" quality.

You can also build your own Windows 2000 image and run unlocked by speed websockproxy (see documentation in Readme) to make this easier.

i know how to do the real player thing after some trial and error my self super also do you have a discord super or no ?

Let's close this as everything seems to be working as expected.

@jeffy79 I rarely check my Discord, feel free join to our Gitter chat, I'm there too.


[move-core-types] generalizing MoveStruct to support field names

Moving toward the direction of having a single MoveStruct/MoveValue implementation that can be used by both the VM (which values compactness) and clients (who value readability). The goal is that most (all?) clients of resource-viewer can use the MoveStructWithFields representation here instead of AnnotatedMoveValue.

Moving toward the direction of having a single MoveStruct/MoveValue implementation that can be used by both the VM (which values compactness) and clients (who value readability).

I'm not totally sure if this will work and we should talk. My understanding is that value compactness alone is not a good characterization of the VM's needs. Of course the VM would welcome space saving, but above that, lookup efficiency, or more precisely, constant time lookups are likely more important, sometimes even at the sacrifice of the former. Following this following this line of thought, I think what the VM will eventually want, is a contextualized type representation. By contextualized representation I mean all the actual data is stored in tables, and the type objects themselves are nothing but lightweight pointers that references data in the tables, which cannot be interpreted out of the context.
At meanwhile, there exists tools whose requirements can be met by a simpler, or self contained representation like the one in this PR. In the future, I think it's fine for them to either keep using the simple representation or switch to the contextualized representation, if we really want to unify the representations. I don't think it is possible however, that a simple self-contained representation will ever be able to replace the contextualized one for more complicated applications.

By contextualized representation I mean all the actual data is stored in tables, and the type objects themselves are nothing but lightweight pointers that references locations in the tables, which cannot be interpreted out of the context.
I don't think it is possible however, that a simple self-contained representation will ever be able to replace the contextualized one for more complicated applications.

I agree with this. I think the VM should keep its representation of values internal and have the freedom to change it at will. The self-contained representations should only be for tooling and clients, not seek to serve the VM's needs.

This could even become a plug-in replacement for the ResourceViewer.

I am indeed hoping that MoveStruct::WithFields can be used in many places where we currently use AnnotatedMoveStructs.

One idea to consider: if we move the code cache/loader out of the Move VM, and allow clients to interact with and query it, then it naturally becomes the contextualized representation I mentioned.

I was loooking at this code and thinking about this a few days ago. I'm unsure about this for a few reasons:

The code cache/loader deal in both Types (which are contextual) and MoveTypeLayout's (which are context-free). The loader needs to get a Type before it can get a MoveTypeLayout, but clients will care about the latter and not the former. I think it would be better to have a direct route from TypeTag to MoveTypeLayout that doesn't go through the VM-internal Type.
The code cache/loader have a lot of complexity/dependencies related to caching that I don't think we want or need to inflict on clients. If you're just fetching the layout for one type so you can generate some client bindings for it (likely a common case), populating a cache isn't really worth it.
I'm wary of touching the perf/safety-critical VM code, but feel much more comfortable writing a simple/direct scheme for deriving MoveTypeLayout's from a collection of modules.

I would still like to see a simple loader that abstracts the details of the file format without doing much of anything else. We could then build additional layers on top of that base. I agree with @vgao1996 and @sblackshear about the VM having its own internal representation and something like the proposed "contextualized representation" sounds good. Other tools can have a self-contained representation. That's all good -- I just want to have these share the same code for the basic Move bytecode reading/writing. I've mentioned this in the past and I know that not everyone agrees. Maybe it's time to put some effort into this and try to get a consensus on our roadmap for this....

I would still like to see a simple loader that abstracts the details of the file format without doing much of anything else.

That sounds like a good idea to me. But wondering: how much abstraction are you looking for here--in particular, do you want to expose indexes into the tables?
Another way to frame this might be: is https://github.com/diem/diem/blob/main/language/move-binary-format/src/normalized.rs too abstract for what you want, or not abstract enough?

I would still like to see a simple loader that abstracts the details of the file format without doing much of anything else.

That is basically what this PR is going for at the value and type layout level. And I think https://github.com/diem/diem/blob/main/language/move-binary-format/src/normalized.rs is abstracting struct/function definitions well, but doesn't try to abstract instructions, constants, etc. Would an extension of that approach to instructions be along the lines of what you're looking for?

Looks like we're mostly on the same page.

The code cache/loader deal in both Types (which are contextual) and MoveTypeLayout's (which are context-free). The loader needs to get a Type before it can get a MoveTypeLayout, but clients will care about the latter and not the former. I think it would be better to have a direct route from TypeTag to MoveTypeLayout that doesn't go through the VM-internal Type.
The code cache/loader have a lot of complexity/dependencies related to caching that I don't think we want or need to inflict on clients. If you're just fetching the layout for one type so you can generate some client bindings for it (likely a common case), populating a cache isn't really worth it.

Agreed that the contextualized type representation could be a bit too heavy-weighted for many simple clients. I think it would be great to have it as an option, but we definitely shouldn't feel pressured to use it just for the sake of it. It should probably be reserved for applications with a complexity similar to that of the VM's. For example, I see this as a good fit for Jack's mysql backend. He wouldn't had to reinvent a lot of wheels if we had this.

I'm wary of touching the perf/safety-critical VM code, but feel much more comfortable writing a simple/direct scheme for deriving MoveTypeLayout's from a collection of modules.

Fair point. Although I think the risk is limited if the clients are just using the existing public APIs offered. It might actually even provide additional testing for this critical component. What could be really dangerous however, is to add additional functionalities used not by the VM, but some other "less critical" components, as this introduces changes and may conflate the design.
Overall, I think Bob's judgement on this is a good one. At least for now, it seems better for the VM and simpler tools to stay on different paths.

/land


StandardProtocol application

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC or Ethereum address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below USD $30k for initial grant applications and $100k for follow-up grants at the time of submission.
[x] The initial PR contains only one commit (squash if needed before submitting your PR).
[x] The grant will only be announced once we successfully delivered the first milestone.

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

I see that laminar's oracle module overlaps the milestone 1. I should focus on building oracle client with for getting market datas from binance-rs or coinbase and substrate runtime api with cheaper request. There is a trading bot implementation to start with here For milestone 2, I agree that I think there is some improvement that can be done with pos in the existing laminar oracle module. I will try to improve the existing oracle module with cheaper request. I will put some more details on each milestone this week.

I can start with laminar's oracle module and storage, but the reporting xt should be different in that standard protocol identifies an asset with an id number. The price report for oracle client to send will be like
fn report(origin, asset_id: T::AssetId, price: T::Balance) {
// check origin is oracle account
let origin = ensure_signed!(origin)?;
ensure!(<Oracles<T>>::get(origin).is_some(), Error::T::NotOracle);
// record price for certain asset from oracle
....
}

I also found some differences in orml's oracle module. I think orml considers oracle as controlled network participant, however, Standard's oracle module considers oracles as network participants as same as validators. I think this grant's oracle module diifferentiate from other projects by rewarding oracle providers as same as network validators for maintaining a blockchain.

If you need more details on this, please let me know.

Dai is also fine, and I will do unit tests in the deliveries, it will be fun to build this.

Dai is also fine, and I will do unit tests in the deliveries, it will be fun to build this.

Cool. Could you integrate the unit test into the deliverables?

Yes, for the runtime module in oracle, I think I am supposed to provide unit test in each module with test.rs file, am I right? unit tests can be done with era progression using start_era() or session with start_session(). I will write some details for unit test on each milestone.

Yes unit test for the runtime module would be useful. Let me know once you updated the application.

ok done. please check.

Hello @Noc2, Is there any update or comment?

@Noc2 @mmagician Is there any update or comment regarding the proposal? if it is, please let me know.

Hello @Noc2 @Lederstrumpf @mmagician , for doing a milestone1, I  said that I would make oracle client based on rustlang, but happened to make oracle client with typescript to ship the protocol as people were so interested in this. I kind of felt nervous if the performance of fetching, but it turns out it fetches pretty fast and I have to be careful of axios and polkadot-js package. Using javascript also had advantages on fetching datas regarding parsing the result from stock apis too. Due to these, Would it be okay to change oracle client implementation for the grant to be done in javascript instead of rust? I will make optimized one for rust as a separate grant to improve performance.

By the way, the oracle implementation is called lumen, you can see the recent code here at https://github.com/digitalnativeinc/lumen

Hi @hskang9 sounds good to me. Feel free to create a PR to amend the original contract. Also don’t forget to deliver the milestone: https://github.com/w3f/Grant-Milestone-Delivery ;-)

ok I will try to finish the milestone 1 in this month ;-).

@hskang9 just checking in - where are you with your progress? Also a reminder that if you want to submit the TypeScript implementation for M1 you'd need to submit an amendment via PR first.

@hskang9 given your recent grant application https://github.com/w3f/Open-Grants-Program/pull/438, am I correct in assuming you're no longer interested in this project? In that case, we would terminate the agreement. Note that we generally don't award multiple grants in parallel to the same team.

Incorrect. We have been interested in this oracle architecture, but had to partner with oracle providers to get data sources and validators for participation. Now that we have a standalone testnet deployed in polkadot-js have channel for validators, we have been finishing building the environment to demo milestone 1. We are currently thinking to apply milestone 1 in kusama parathread as we have finished parathread deployment in local rococo deployment as well. For #438, as bridge off-chain client is an extension of the oracle in this grant, it is general practice to finish this grant's milestones and proceed to bridge. We expect to launch We wanted to be agile, want to publicize our research, and appreciate the review process of w3f grant team, so we made multiple grant proposals. If it is a general practice to finish one grant at a time, we respect the policy and are willing to follow the rules.

ETA for milestone 1 demo is second~third week of July, and submission will follow.

Sounds good and yes, that is the general policy. In case it clearly makes more sense for you to work on both grants in parallel, let me know and we can discuss your case on an individual basis. Otherwise I recommend you close the other application and focus on delivering this grant first.

So the bottleneck was that the application had to build a new reward logic and reward curve, but after investigating the staking module and session module, it seems creating new reward logic is not preferable way to do it. All callbacks regarding progression of era is managed by the dependancy injection trait of pallet-session and pallet-staking 's SessionManager implementation. if the grant milestone 2 leverages that, I think the grant can be delivered much sooner than I expected. By the way, the grant submission for milestone 1 is ready in  runtime and oracle client is ready here.

#514 is the amend considering the session callbacks.

Thanks @hskang9, makes sense. Feel free to submit the first milestone following the delivery process as soon as the amendment has been accepted.

Hi @hskang9. Are you still working on the grant? Could you give us a quick update? Anything holding you back?

@hskang9 could you give us an update on your progress? Note that since the current milestone is already very delayed and we previously asked you for an update, if we don't hear from you in the next 2 weeks we will assume you're no longer interested and terminate the agreement.

Sorry for late updates, After facing market and bugs in parachains, I think I will contract grant milestone 2 to interoperate with evm precompile that we can ship it for real use case. After market research, current infrastructure in market are focused on for evm now, and it seems evm integration is immediate. Would it be ok to edit grant milestone 2 and finish with new design and impl of evm in standard-evm?(I estimate this would take 1 or 2 months after kusama parachain lease, I believe it will be shipped with canary market solution).

I will add milestone 3 as the current milestone 2 for wasm integration. Anyway, I still have interest in oracle grant, and want to finish milestone 2 to be usable in the real market.

new PR to add milestone will come by this weekend.

#732  is out for amendment @Noc2 @semuelle

@hskang9 please note that since we're still waiting for your reply on the amendment and we haven't heard from you in over a month, we'll assume you're no longer interested and terminate the grant if we don't hear from you in the next 2 weeks.

Sorry for late response, I have been busy with our first product launch, and I missed that. I think grant is good to be terminated as we try to approach implementing standard in polkadot ecosystem through evm, so I will post new one soon with shorter milestone.


Update request.rb

Marker should be string!
Otherwise you'll get:
TravelPayouts::Error: 500 Internal Server Error: "Big problem mista! id <some id here>_MIRROR, unit: is_affiliate, error expected string or buffer"

@dyatlov, please merge

Previous code had bugs? I had to test it :)

@dyatlov definitely :)


This updates some of the sub unit values

This fixes the issue #9
Values were taken from https://developers.facebook.com/docs/marketing-api/currencies/

I'll definitely release this with a new major version

I would probably lean more towards using Facebook's values as well.

@shridharama @jcmanzo @kaylafuchs @DanayaMel @brendanpeters @lorenzocastillo I will merge this on Wednesday if nobody objects.

No objections here! I would also trust Facebook API docs over Wikipedia but it would be nice to have a more authoritative source for this kind of thing. 🤔

I guess the canonical source of truth here should be ISO 4217 which delineates currency designators, country codes and sub units. Wikipedia clearly states:

ISO 4217 is a standard first published by International Organization for Standardization in 1978, which delineates currency designators, country codes (alpha and numeric), and references to minor units in three tables [...]. The ISO 4217 code list is used in banking and business globally. In many countries the ISO codes for the more common currencies are so well known publicly that exchange rates published in newspapers or posted in banks use only these to delineate the currencies, instead of translated currency names or ambiguous currency symbols. ISO 4217 codes are used on airline tickets and international train tickets to remove any ambiguity about the price.

Even when you encounter sub units rarely in some countries (e.g. for the Forint in Hungary), we should still stick to the Standard if it nominally allows sub units.
The latest version of the Standard was published on 29 August, 2018 and can be found here as an XML or XLS file.
I ran a small script that loads the XLS file, runs every currency through the CurrencyHelper and compares the sub units to the ones specified in the CurrencyHelper.

I would suggest to approach this as follows:

Discuss whether whether 100 is the correct sub units value for all X currencies (those are not real national currencies, but rather a mixture of supranational currencies and procedural purposes)
Provide the missing currencies MRU, STN, UYW and VES (Be careful about MRU (Mauritanian ouguiya): This currency succeeds MRO and is one of two circulating currencies, along with the Malagasy ariary (MGA), whose division units are not based on a power of ten. The sub units here must also be 5. Note that in the ISO 4217 file, MRU and MGA are stated as sub units 2 (=100) but with a remark that it actually must be 1/5.)
Fix all currencies where the sub units differ from the ones stated in ISO 4217. That would be:

[BIF] expected 1, got 100
[CLF] expected 10000, got 100
[CLP] expected 1, got 100
[DJF] expected 1, got 100
[GNF] expected 1, got 100
[ISK] expected 1, got 100
[KMF] expected 1, got 100
[KRW] expected 1, got 100
[PYG] expected 1, got 100
[RWF] expected 1, got 100
[UGX] expected 1, got 100
[UYI] expected 1, got 100
[VND] expected 1, got 10

If we implement these changes, we could add a remark to the README.md stating that py-money complies with ISO 4217, making it suitable for finance and business applications that need to comply with this Standard.


Added a basic how to/getting started guide

@jaikoo there are few more things I can think of:

setting up *AMP (e.g. MySQL ins't preinstalled on OSX)
enabling mod rewrite
setting up the site locally under http://mojintranet/ (as of now the url is hardcoded in Gruntfile so it's a must have)

Shoudl we change "A recent version of Wordpress" to "The most recent public release of WordPress" and provide a link to wordpress.org/latest?

Currently there is a little bit of a disconnect between the theme and the custom post types we have because we're using Pods. I plan to move the CPT definition into the theme so we won't need Pods, but at the moment some things (for now, news, but eventually events/webchats and possibly more) will not work without Pods being installed and a definition of those CPTs being loaded into Pods (a database import will do this, but no good if a 3rd party is looking to reuse the theme).

Also, without the Document Revisions plugin, existing documents may not work. For a new installation this won't be an issue. However, is it worth including a list of recommended plugins?

@sparkdevelopment good point about the plugins. In my experience, Pods, Document Revisions and Relevanssi Premium all all required for front end work

@marcincichon and @sparkdevelopment thanks guys, I'll add these details to the readme.

@jaikoo thx Jon. All looks good to me


Self-signed SSL support

Hi,
Question: It looks like traccar-manager-android (its okhttp) does not support/implement https with self-signed certificates. Is that correct? Would it be possible to add that as an feature?

Can you explain the reason for not using a valid trusted certificate?

There are reasons doing that. However, do you have any plans to add support for that?

I don't have any plans at the moment, but I can consider it if you tell me the use case.

Actually - now you can use Lets Encrypt, perfect to create certificates for your server.

Its on my todo-list, but not done yet. Thus I patched traccar by myself to support self-signed certs. So we can close that thread.


Context does not cancel when player disconnects during PreLoginEvent

I'm writing a program that does some waiting during the PreLoginEvent. To narrow down what happens to the Context, I am using this code:
func (p *MyProxy) HandlePreLogin(e *proxy.PreLoginEvent) {
    fmt.Println("Beginning wait...")
    <-e.Conn().Context().Done()
    fmt.Println("Wait is over!")
}

When I run this handler and start my connection I get this printed out:
Beginning wait

And even if the user disconnects, this context is not cancelled so only the first line is printed. On the latest version of Gate v0.38.0.

Is it still relevant, or was it resolved in Discord?


Typo in the qa prompt

Given the current version of the prompt :
QA_PROMPT = """You are a helpful AI assistant. Use the following pieces of context to answer the question at the end.
If you don't know the answer, just say you don't know. DO NOT try to make up an answer.
If the question is not related to the context, politely respond that you are tuned to only answer questions that are related to the context.
Use as much detail when as possible when responding.

{context}

Question: {question}
Helpful answer in markdown format:"""

I this there is a typo in the last line : Use as much detail when as possible when responding. it should be Use as much detail as possible when responding.
Not sure if this affects the model behaviour.

Thanks for noticing this,
If you would like to contribute to the LangChain Chatbot, please follow these steps:
Fork the repository
Create a new branch for your feature or bug fix
Write tests for your changes
Implement your changes and ensure that all tests pass
Submit a pull request


Update base Dockerfile. Update README.md.

Purpose

Update Dockerfile for base image.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #274   +/-   ##
=========================================
  Coverage     61.28%   61.28%
  Complexity      117      117
=========================================
  Files            13       13
  Lines           607      607
  Branches         63       63
=========================================
  Hits            372      372
  Misses          203      203
  Partials         32       32

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 b0eda8a...2943512. Read the comment docs.


Update changelog for version 1.8.2.

I forgot to add the changes to the master changelog, sorry.
Signed-off-by: David Calavera<EMAIL_ADDRESS>

LGTM

LGTM


Ability to override settings on SQL table build

When I create a table with BOB, how can I override the compile settings?
In rules.mk I have:
docqumtd.file: private COMMIT := *CHG
docqumtd.file: docqumtd.table
This results in creation of the table, however I need to run this under commitment, so COMMIT(*CHG)
=== Creating SQL TABLE from Sql statement [docqumtd.table] in CMKTSDTA
RUNSQLSTM srcstmf('/home/SIMONSEA/builds/app/src/dta/docqumtd.table') DBGVIEW(*SOURCE) TGTRLS() OUTPUT(*PRINT) MARGINS(1024) COMMIT(*NONE )
✓ DOCQUMTD.FILE was created successfully!
How can I achieve this?

base onhttps://vscode.dev/github/IBM/ibmi-bob/blob/fix/issue314_for_pseudo_source_respect_exit_code/src/mk/def_rules.mk#L439-L440
I would have expected that to work.
@irfanshar could you take a look?


stats: use 2-phase creation for circuit breaker stats;

Commit Message: Use 2-phase creation for circuit breaker stats. This was a little messy because of the creative use of the 1-phase stats macros to conditionally null out some of the gauges. This was resolved by manually instantiating the stats structure.
Additional Description:
Risk Level: low
Testing: //tes/t...
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

OK Matt I'm hoping this is the last PR in this space :) Thanks for all the reviews!


rc-3: TypeError: Invalid Version: function webpack_require(moduleId)...

I started to get this error on each render on rc-3. However I have only on once pc, on another one it works... Node 6.9.0.

Any idea what might causing it? I tried to clone repo again and make fresh install of node_modules but it did not help.

For some reason yarn always installed webpack 2.x instead of 3.x - fixed after upgrading node to 8.x, upgrading yarn to latest version, clearing yarn cache and reinstalling all modules.


Feature Request - Resolution for "Drag-Ruler" and "Arms Reach" with a additional Hook for the "measureDistances" function

Hello about this issue: https://github.com/manuelVo/foundryvtt-drag-ruler/issues/105
We eventually discovered that it only happens on Forge, that's why I expected the standard foundryvtt structure for the modules folder like this:
/modules/drag-ruler/src/main.js
/modules/foundryvtt-arms-reach/foundryvtt-arms-reach.js
instead i see on forge is:
/modules/drag-ruler/1.8.2/src/main.js
/modules/foundryvtt-arms-reach/2.0.13/foundryvtt-arms-reach.js
this messes up my use of your "measureDistances" function that I recover with ecmascript through a relative path:
import { measureDistances } from '../../drag-ruler/src/compatibility.js';
can you add some Hook to make me invoke and retrieve the result of that function? or whatever solution you consider best.
This would be the perfect solution so I could remove references to relative ecmascript paths on my side.

This issue is now resolved, by removing dependency on drag ruler


Wrong bounds?

My bounds information is like this
bounds minlat='34.0662408634219' minlon='-118.736715316772' maxlat='34.0731374116421' maxlon='-118.73122215271' origin='OpenStreetMap server'
but graphhopper says,
Cannot create location index when graph has invalid bounds: -118.7343501,-118.7343501,34.07234,34.07234
what did I miss?
Thanks in advanced.

Your bounds are too small I think where no road or just a single junction is contained. Would you please use our forum for further discussion?