Add JSON word profiles for end-to-end testing

There should be a collection of JSON files, each of which contains a word and a list of expected field values. Tests should be generated that create the word from the given data and parity, then exhaustively check the method results to make sure they match the expected results.
{
    "sync": "0b000",
    "data": "0b0000000000000000",
    "parity": "1",
    "fields": {
       "<METHOD1>": "<VALUE1>"
       "<METHOD2>": "<VALUE2>"
    }
}

Having spent some time trying to figure out a way to do this, I'm increasingly unconvinced that it's necessary. I'm going to close both of these JSON issues and update the roadmap.


Allow user to change coding style

Is it possible to make coding style for latte configurable? For example Neon extension does that. I would make a PR but I'm not familiar with Intellij API. :(

It will be implemented in 1.0.2


switch from using raw promises and deasync to core.async promise API

following example here

absolutly yes :-)

core.async will not work as explained here: https://stackoverflow.com/questions/67396472/why-does-let-defined-atom-provide-a-different-result/67396870?noredirect=1#comment119932031_67396870
So we switched to intese the deasync usage.


Show Recaptcha after the third attempt

Hello,
How can I request the Recaptcha's validation only after the third attempt at the Login page?

You might hide captcha dynamically by this.form.Captcha.getGridField().toggle, for other part you have to design yourself.


Misc exec

Minor modifications to run the script on Linux. Note that I haven't tested if using the path separator '/' would work on Windows (it does but functions may return path with '\').

Thanks, looks good and pathlib ensures the appropriate path separator is used.


refactor(transformer/class-properties): shorten code

#7700  👈 (View in Graphite)
main

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


Clarify which are unit and which are end-to-end (alkiln) tests

Fix #666

What perfect timing: https://github.com/SuffolkLITLab/docassemble-ALWeaver/pull/668, we made the same PRs at the same time.
Mind if I just take the end-to-end wording from this PR and put it in #668, and then merge that one?

Accidentally made at the same time as #668


Sync folders and files

Description of the new feature / enhancement
Be able to synchronize and the folders or files between my computer with another drive
Scenario when this would be used?
Per request
Supporting information
No response

There are hundreds of app that do this already. Dropbox, OneDrive, Google Drive, and so on, and so on. No reason to do all that work again.

It’s not the same, I prefer to keep a backup in an external disk … the Microsoft app SyncToy is capable to do that but is too old, and even in that time it was part of powertoys too.
From: Jay @.>
Sent: Wednesday, December 8, 2021 13:12
To: microsoft/PowerToys @.>
Cc: fgarciag @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Sync folders and files (Issue #14912)
There are hundreds of app that do this already. Dropbox, OneDrive, Google Drive, and so on, and so on. No reason to do all that work again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/14912#issuecomment-989118211, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ6OMUMU7XXK26PFRHDX7LLUP6UYLANCNFSM5JURC7OQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Making back-ups to a drive is also in Windows Settings. Please be more specific if there is nothing existing, that works for you.

@Jay-o-Way I find it very clear. See also #28

Duplicate of #26

I dont. Please explain.

Example would be I want my NAS and desktop in sync.


UI and Renderer rewrite

Remove all code from main crate, create new interface crate that handles configs and UI.
Fixes #4
Rewrite rendering code using newer bevy features.
Fixes #5
Fixes #8

Renamed branch to dev


Retry BFT block validation if storage exception occurs

Most advanced CI tests are deferred until PR approval, but you could:

[ ] locally run all unit tests via: ./gradlew build
[ ] locally run all acceptance tests via: ./gradlew acceptanceTest
[ ] locally run all integration tests via: ./gradlew integrationTest
[ ] locally run all reference tests via: ./gradlew ethereum:referenceTests:referenceTests

PR description
Fixed Issue(s)

Closing this PR for now


WRP-6651: Fixed lint warnings in moonstone.

Enact-DCO-1.0-Signed-off-by: Alexandru Morariu<EMAIL_ADDRESS>Checklist

[X] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[X] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Removed unused property from unit test.
Resolution
Additional Considerations
Links
WRP-6651
Comments

Could you remove the line below?: https://github.com/enactjs/moonstone/blob/325317e097cf59535a7045ad9e42c0fc7a24ae00/.travis.yml#L5

node_js:
- lts/*
- "18"

lts/* and 18 are the same version so we can remove one.

Sorry, travis modification will be handled with sjro.


Criar Rich Picture 1.0

https://github.com/ads-2019-1/ads-2019-1/blob/master/wiki/docs/modulo1/richpicture.md


Deploying Ambassador to Kubernetes from getting started guide fails

Describe the bug
I was trying out deploying Ambassador to Kubernetes using https://www.getambassador.io/user-guide/getting-started, but my pods fail to come up.
To Reproduce
Steps to reproduce the behavior:

kubectl apply -f https://getambassador.io/yaml/ambassador/ambassador-no-rbac.yaml

$ kubectl get pods
NAME                          READY     STATUS             RESTARTS   AGE
ambassador-7d95446b76-b5z2t   1/2       CrashLoopBackOff   10         31m
ambassador-7d95446b76-g6dt7   1/2       CrashLoopBackOff   10         31m
ambassador-7d95446b76-pljv4   1/2       CrashLoopBackOff   10         31m

$ kubectl logs ambassador-7d95446b76-b5z2t -c ambassador
Traceback (most recent call last):
  File "/application/kubewatch.py", line 493, in <module>
    main()
  File "/usr/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/application/kubewatch.py", line 476, in main
    sync(restarter)
  File "/application/kubewatch.py", line 313, in sync
    for x in v1.list_namespaced_config_map(restarter.namespace).items ]
  File "/usr/lib/python3.6/site-packages/kubernetes/client/apis/core_v1_api.py", line 12395, in list_namespaced_config_map
    (data) = self.list_namespaced_config_map_with_http_info(namespace, **kwargs)
  File "/usr/lib/python3.6/site-packages/kubernetes/client/apis/core_v1_api.py", line 12497, in list_namespaced_config_map_with_http_info
    collection_formats=collection_formats)
  File "/usr/lib/python3.6/site-packages/kubernetes/client/api_client.py", line 335, in call_api
    _preload_content, _request_timeout)
  File "/usr/lib/python3.6/site-packages/kubernetes/client/api_client.py", line 148, in __call_api
    _request_timeout=_request_timeout)
  File "/usr/lib/python3.6/site-packages/kubernetes/client/api_client.py", line 371, in request
    headers=headers)
  File "/usr/lib/python3.6/site-packages/kubernetes/client/rest.py", line 250, in GET
    query_params=query_params)
  File "/usr/lib/python3.6/site-packages/kubernetes/client/rest.py", line 240, in request
    raise ApiException(http_resp=r)
kubernetes.client.rest.ApiException: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'Date': 'Thu, 07 Jun 2018 13:07:43 GMT', 'Content-Length': '269'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"configmaps is forbidden: User \"system:serviceaccount:default:default\" cannot list configmaps in the namespace \"default\"","reason":"Forbidden","details":{"kind":"configmaps"},"code":403}

AMBASSADOR: kubewatch sync exited with status 1
Here's the envoy.json we were trying to run with:
ls: /etc/envoy*.json: No such file or directory
No config generated.
AMBASSADOR: shutting down

Expected behavior
Well, it should work :)
Versions (please complete the following information):

Ambassador: [e.g. 0.32.1]
datawire/ambassador:0.34.1
Kubernetes environment [e.g. Minikube, bare metal, Google Kubernetes Engine]

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:17:39Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

$ minikube version
minikube version: v0.27.0

Turns out minikube comes with RBAC enabled by default now, thanks for pointing that out @richarddli
This was fixed once I deployed ambassador with RBAC -
kubectl apply -f https://getambassador.io/yaml/ambassador/ambassador-rbac.yaml

Docs have been added for checking if RBAC is enabled


use https git url in clone command

When using the original command (git clone git@github.com:stefanheule/zsh-llm-suggestions.git ~/zsh/zsh-llm-suggestions) in the readme I got this error:
Cloning into '/Users/goleary/zsh/zsh-llm-suggestions'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Swapping to the github repo https url resolved it for me.

The really unhelpful message means that you haven't set up ssh keys, it's not about the access rights to the repo itself. You can either switch to https like you suggest, or you can set up ssh keys. I'm happy to switch the instructions to https for lower barrier of entry. Thank you!


Align logic/workflow to AVM specs

Closed via https://github.com/Azure/bicep-registry-modules/pull/616


refactor(semantic): import flags and ID types from oxc_syntax

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

#7883
#7888
#7887  👈 (View in Graphite)
#7886
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

0-merge - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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


Leak of stroom.security.impl.AuthenticationState objects

they are all hanging off stroom.security.impl.SessionMap
looks like each one is related to a jetty Session with handlers and listeners

still occurring in b.145


Add a public constructor to MacAddress.

This is inspired by std::net::Ipv4Addr.
This fixes issue 4.

Closed in favor of taking a [u8; 6] instead.


Volume/Partition relationships trigger an error

Environment:

ManageIQ nightly build from 20160927 (a week old, but latest on our vsphere)
Running on a vSphere 5.5 which is also managed by the appliance
VDDK - SSA setup (might not be needed?)
SSA performed both on hosts and the appliance itself (one of these might not be needed?)

Problem:
I was testing https://youtu.be/CpRLwFKoOPY?t=54m54s
Invoking one of those for example:
$evm.vmdb(:Volume).all.first.partitions
$evm.vmdb(:Partition).all.last.volumes

Throws:
NameError: undefined local variable or method `id' for #<Volume::ActiveRecord_Relation:0x0000000770ebd8>
Did you mean?  ids
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:123:in `method_missing'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:93:in `method_missing'
    from /var/www/miq/vmdb/app/models/partition.rb:10:in `block in <class:Partition>'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:162:in `instance_exec'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:162:in `eval_scope'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:140:in `block (2 levels) in add_constraints'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:139:in `each'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:139:in `block in add_constraints'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:127:in `loop'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:127:in `add_constraints'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:28:in `scope'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association_scope.rb:5:in `scope'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association.rb:97:in `association_scope'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/association.rb:86:in `scope'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/collection_association.rb:447:in `scope'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/collection_proxy.rb:37:in `initialize'
... 2 levels...
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/collection_association.rb:47:in `reader'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/builder/association.rb:111:in `volumes'
    from /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:280:in `public_send'
    from /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:280:in `block in object_send'
    from /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:299:in `ar_method'
    from /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:309:in `ar_method'
    from /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:278:in `object_send'
    from /var/www/miq/vmdb/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:122:in `block (2 levels) in expose'
    from (irb):25
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/console.rb:65:in `start'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/console_helper.rb:9:in `start'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:78:in `console'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
    from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:18:in `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'

Expected:
Either a sensible exception or nil/empty array? Seems like the relationship between these two is broken somehow.
The rest of the relations seems to work properly.
I am happy to rerun this on a newer version once we have it uploaded on vsphere.

I did a git update on the appliance and as of master.20161004075138_47a5ad9 this error is still present.

cc @gmcculloug

Partition and Volume service models were added in PR #10800

@mfalesni I'm going to close this, can you reopen if it is still an issue on the latest release?


Does the python code sample actually work?

I followed the steps exactly and got errors in statement dbutils.fs.mount:
java.lang.IllegalArgumentException: Failed to initialize null
Py4JJavaError                             Traceback (most recent call last)
/databricks/spark/python/pyspark/sql/utils.py in deco(*a, **kw)
62         try:
---> 63             return f(*a, **kw)
64         except py4j.protocol.Py4JJavaError as e:
/databricks/spark/python/lib/py4j-0.10.7-src.zip/py4j/protocol.py in get_return_value(answer, gateway_client, target_id, name)
327                     "An error occurred while calling {0}{1}{2}.\n".
--> 328                     format(target_id, ".", name), value)
329             else:

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

ID: 71b3d41f-1c15-36a2-4822-ee71f3bd337c
Version Independent ID: 489caabb-c7c6-c044-6684-751d1c2a116d
Content: Azure Data Lake Storage Gen2 - Azure Databricks
Content Source: databricks/data/data-sources/azure/azure-datalake-gen2.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@limingr - Thanks for the feedback. We are currently investigating into the issue and will update you shortly.

@limingr - I tried the steps exactly as specified in the document and was able to mount the ADLS Gen2 to Databricks using Python code. Can you please recheck all the prerequisites as mentioned in the document and necessary permissions. Please let us know if issue persists.

@limingr- I will now proceed to close the issue. Please feel free to comment for more clarification.


Fix typo

/github action/i -> GitHub Actions

@DCtheGeek, can you review this change request? Thanks.

@jborsecnik I don't own this content anymore.  Please ping @timwarner-msft, the new owner.  Thanks!

@timwarner-msft
OK! There is nothing else to change in this file, so I'll close this PR.


Detect usage of ICryptoTransform that would be thread-unsafe

Adding a new rule for detecting usage of static objects that implement ICryptoTransform that would be thread-unsafe, and potentially result in incorrect cryptographic results.

The updated documentation LGTM. Thanks.


Dracula for Spyder 4.0.x

https://github.com/DottedGlass/spyder-dracula
Open to suggestions on color choice

Friendly ping @DottedGlass

Hi @zenorocha
I've been busy with school so I haven't had time to revise the colors based on the dracula spec. If the current colors are okay I'm fine with moving the repo into the official dracula repo.  Let me know if there's anything I need to do on my end.

The current colors look great @DottedGlass! I just sent you an invite to join the Dracula organization. Once you accept, just transfer the repository and I'll make the adjustments needed for the website :)

@zenorocha I joined the Dracula organization but I'm having trouble transfering the repo.
Both "Dracula Theme" and "dracula-theme" has a cannot find owner error.

Hey @DottedGlass, in the first field you must write dracula which is the name of the organization. Would you mind trying again?

@zenorocha I also love this theme but unfortunately i couldn't find it on the official dracula website... It seems like vtwang seems busy and I would like to help get this on the website of my favourite theme! Thanks and i would appreciate it if you could let me know if I could help in any way! Cheers!

@zenorocha I've transfered this repo to the Dracula website.


Not obsolete anymore (yet again..?)

Obsolete polyfill for the ServiceWorker cache API. Chrome 46 and Opera 33 support addAll now.

I think this is wrong since addAll() gets new algorithm soon. I am not sure I can properly rephrase that sentence, so just creating an issue instead of PR.
Plus, you have to publish v4 to NPM :-)

Published. Will look at the rewording.

Thanks!


Release Google.Cloud.Iam.Credentials.V1 version 2.3.0

Changes in this release:
New features

Change netstandard2.1 target to netstandard2.0 (commit 82bea85)

Created release for Google.Cloud.Iam.Credentials.V1-2.3.0


feat: Every star ring is a Nat-star module

and other basic star lemmas
From LeanAPAP

bors merge


fix the calculations of hubbard forces.

It is a temporary fix since we do not consider the case where hubbard orbitals are reorthogonalized.

@mtaillefumier I think this is too late to change it here. Can you make all the changes into https://github.com/electronic-structure/SIRIUS/pull/624

Sure. Let me change the merging branch.


Update react-beautiful-dnd to 12.x

We are currently on 11.0.5, want to go to latest 12.2.x.
We use this in the mobile column chooser. Since it's a major release, we should look carefully at what changed since our current version via their releases page. But hopefully no major adjustments are required (if any).

Reviewed the release change docs and played with the latest version on the mobile toolbox in local. No adjustments necessary.

Great -- can we get a PR for this change for v.30


No benefit for Deit-S

When I applied re-attention in Deit-S (https://github.com/facebookresearch/deit), no accuracy gain was observed. Could you give some advice?

When I applied re-attention in Deit-S (https://github.com/facebookresearch/deit), no accuracy gain was observed. Could you give some advice?

Hi,
Thanks for trying  it out! Based on our observation, the re-attention's benefits are proportional to the number of "similar blocks" as defined in the paper. The number of similar blocks are typically small when the depth of the model is small as shown in Figure in Fig. 1 in the paper. However, you can try with the cosine similarity as regularization as shown in the updated paper. Besides, as the model is shallow, it is not necessary to apply re-attention for all blocks. You could refer to Fig. 9 in the appendix.


Add option for native input dialogs

It would be nice to add an option for native input box dialogs.
Electron doesn't support prompt in the Dialog API.
A possible option would be to use native OS bindings for Rust (i.e., Cocoa), create a prompt window that has a NSTextField, and return the input.
Not sure if I want to do this, but having native options are good to have.

If I decide to add native input dialogs, I will start with the macOS implementation.

winit looks like a good library to handle cross-platform windows.
Using native bindings means that I'll be building everything from scratch. Using a library like winit will help mitigate cross-platform issues.
I'll weigh the options once I start the implementation.


feat(CLI): allow for custom plugins

What
Now any binary with the prefix soroban-, e.g. soroban-plugin will be executed with soroban plugin. Similar to cargo-.
Also soroban --list will list the installed plugins.
Why
Allows devs to create plugins. E.g. soroban network could be used for launching local nodes.
Known limitations
[TODO or N/A]

@paulbellamy I fixed the issue you raised with --list working anywhere.  Now it's just if there is a missing subcommand.
As for the windows issue, I changed the test to just check for the hello plugin.  I figure it's better to get the plugins in now and figure out the issue of an extra listed plugin in a future PR.


Add a one-stop shop method for configuring diagnostics observers

This is just a convenience layer but should help simplify app wire-up
and make it easier to upgrade to future versions with different
observers by just changing config files.
This fixes #311

rebased to get the flaky test fix and added a pylint directive for the cyclic import


Crash upon item pickup

What is the output link of /viaversion dump?
http://hastebin.com/inumosipor.json
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
Yes, Bungee cord latest
How does this error happen? login? Using an item?
Drop a item, Pick it up. Get sent back to the hub because "the previous server went down"
https://youtu.be/DOJdfzZYtUk
Is there an error in the console? Use pastebin.com. Is there a kick message?
Also dropped the item in the hub and got kicked with a error message:
https://i.gyazo.com/56e9465d8cdb637487f29fcfbea4fd53.png

Use latest BungeeCord (just released)


HOSTEDCP-807: Requeue HCP always

What this PR does / why we need it:
Requeue HCP controller with different intervals depending on the Ready status. This will ensure external resources are reconciled in a timely fashion.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #HOSTEDCP-807 (LoadBalancer taking a long time to report ready, because the reconcile loop can't watch its status).
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/approve
/lgtm


Updated help

Will implement better support for WorkQueue later. With proper warning and overrides.

Thanks @roeschter one last hoop to jump, can you sign the commits? Might be easier to squash to one and sign that.

OK, fixed my github config for signing. Forgot one step last week.
Squashed and merged into https://github.com/nats-io/natscli/pull/1080

I see one signed commit now - but still there are 4 not 1 so each need signing or squash to one commits thats signed.

closing for https://github.com/nats-io/natscli/pull/1080


How to get the GICS code for a given stock

Is there a way to find which industry is a stock in.
like, how to get which industry is APPLE in?

Consumer Electronics.


Bag (ImageUloadBehavior)

Please make change in ImageUloadBehavior
Line(250)
From -> temporaryFile = "temporaryFile/" + temporaryFile;
To -> temporaryFile = "Temporary/" + temporaryFile;

Thanks, done.


Odrive tool full catalog / index including configs

Right now the most exhaustive single list of Odrive tool capabilities is the Parameters and Commands section of the documentation. Does this document contain the all available commands? However, a list of all possible configs  doesn't seem to available in the documentation?
Is it implicitly stated in one source code file? If yes, which file?
It would be nice to have all of the Odrive tool commands, functions, and configs in one large list somewhere in the documentation. This would allow users to be able to visualize the full range of the Odrive capabilities and get an idea of how to interact without having to browse through the different documents.
This index could include links to the other existing readmes that contain more detailed information on how to use the function or the implications of changing a given parameter.
I can gladly contribute to this issue. Just wanted to check out first what you guys think and if you can help me locate the info to start working on documenting it.

The Parameters/Commands page only provides a very rough overview.
The kind of documentation you're asking for is something that we worked on recently and it will go live very soon, see here for more info: https://github.com/madcowswe/ODrive/issues/381#issuecomment-683758135.
The yaml file linked there is complete in terms of what functions and properties are listed there but many of them don't have a documentation text yet. You're very welcome to help expand this file. If you do, it's best to work from the v0.5.1-rc2 branch so we can merge it to master later on. Note that there are also a lot of obscure properties that are only for power users and not tested to the full extent. If you want to get really fancy you can also generate the documentation webpage yourself.


specify go version to be installed

Be explicit about go version
The setup-go action cannot install the stable version of Go because tinygo supports only a specific range of Go versions.
Currently, the latest stable release of Go is 1.22. However, latest stable version of Tinygo supports only Go >= 1.18 and <=1.21.
Once merged, I'll tag 3.1.17

tagged in main as v3.1.17.


Changing values in ~/Library/Pusher/config.plist are overwritten when restarting pusher

At startup the Log tells me Loaded config from /Users/myUserName/Library/Pusher/config.plist.
So I wanted to change the defaults in that .plist file. But the changes never show effect and the restart of Pusher leads to the content being the default again.
Would be great to being able to customize the default payload.

Hi, The config.plist is overwritten when closing the application. Therefore make sure you first close the Pusher app before manually editing the file. Does that resolve the issue?

Hi @Andruschenko, did you get a change to try out the above suggestion?


Add mixed mode for react/jsx-curly-newline

Is there an existing issue for this?

[X] I have searched the existing issues and my issue is unique
[X] My issue appears in the command-line and not only in the text editor

Description Overview
My rules are based on the Standard rules and I want to have these styles as correct for single line components:

  {someCondition &&
    <Comp1>test</Comp1>
  }

  {someCondition && <Comp1>test</Comp1>}

and this as incorrect style

  {someCondition &&
    <Comp1>test</Comp1>}

For multiline components I want these styles as corrrect:

  {someCondition &&
    <Comp1>
      <Comp1>test</Comp1>
      <Comp1>test</Comp1>
    </Comp1>
  }

  {
    someCondition &&
      <Comp1>
        <Comp1>test</Comp1>
        <Comp1>test</Comp1>
      </Comp1>
  }

Closing curly bracket should be placed below the opening one. Otherwise it is hard to find it in big components.
Standard has this rule:
    "react/jsx-curly-newline": [
      "error",
      {
        "multiline": "consistent",
        "singleline": "consistent"
      }
    ],

which moves closing bracket at the end of the last string if there was no line after the opening bracket. I didn't find any appropriate option in react/jsx-curly-newline rule. There are "consistent" | "forbid" | "require" but I don't need a newline after the opening bracket and a newline before the closing bracket should exist only when both condition and component are on the same line.
I also noticed that I can wrap the component with parenthesis like this

  {someCondition && (
    <Comp1>
      <Comp1>test</Comp1>
      <Comp1>test</Comp1>
    </Comp1>
  )}

which is also quite appropriate for multiline but it doesn't force this style and autofix doen't work.
I see there is also a react/jsx-wrap-multilines rule and if I set its 'logical' option to 'parens-new-line' it almost does what I need (forcing adding of parenthesis) but only for multiline components. How can I forbid incorrect styles for single-line components too and make autofix work?
Expected Behavior
see above
eslint-plugin-react version
v7.32.2
eslint version
v8.34.0
node version
v14.17.1

I certainly like the styles you want to be correct :-)
I'm open to suggestions for what rule changes would be needed to cover it.

I don't know all details of implementation and rule dependencies. Currently I have Standard rules and override them with:
    'react/jsx-curly-newline': 0,
    'react/jsx-wrap-multilines': [
      'error',
      {
        'declaration': 'parens-new-line',
        'assignment': 'parens-new-line',
        'return': 'parens-new-line',
        'arrow': 'ignore',
        'condition': 'parens-new-line', // 'ignore' in Standard
        'logical': 'parens-new-line', // 'ignore' in Standard
        'prop': 'ignore',
      },

Any options that forbid incorrect styles for single-line components and make autofix work will fit me.


SASS-2044 - Employment details summary page iterations

Description

changed content on page to match acceptance criteria and updated tests
changed EmployerDetailAndBenefits view and controller to EmployerInformation to match the page url

Add a link to the relevant story in Jira
SASS-2044
Checklist PR Reviewer
Before Reviewing

[ ]  Have you pulled the branch down?
[ ]  Have you assigned yourself to the PR?
[ ]  Have you moved the task to “in review” on JIRA?
[ ]  Have you checked to ensure all dependencies are up to date?
[ ]  Have you checked to ensure its been rebased against the current version of main?

Whilst Reviewing

[ ]  Have you run the tests?
[ ]  Have you run the journey tests?
[ ]  Have you looked at the JIRA story to make sure all Acceptance Criteria has been met?

After Reviewing

[ ]  Have you checked for merge conflicts or any changes in the current main that may affect the current pull request? i.e. does it need another rebase?
[ ]  Have you checked to make sure there are no builds in the pipeline before you merge?
[ ]  Have you moved the task to “in pipeline” on Jira?

[x]  Have you rebased against the current version of main?
[x]  Have you checked code coverage isn’t lower than previously?

After PRs been raised

[ ]  Have you checked the PR Builder passes?

merge with journey tests


[block_synchronizer_handler] use certificate_waiter for a certificate to be delivered

I am using here the certificate_store to wait and get the "signal" the the certificate has been processed. However, I would like to replace this eventually by the certificate_waiter which deals already with it. Unfortunately the certificate_waiter doesn't offer a blocking API and also doesn't allow us to channel the outcome to a provide channel (only outputs to core). Until we have this available, I am using the certificate_store
Originally posted by @akichidis in https://github.com/MystenLabs/narwhal/pull/227#discussion_r870165307

This work https://github.com/MystenLabs/sui/pull/5058 will affect this ticket. Will need to re-think the use/approach.


[CRIMAPP-565] Unify payments into a single table

Description of change
Unify payments into a single table to provide consistency for payment data
Link to relevant ticket
https://dsdmoj.atlassian.net/browse/CRIMAPP-565
Notes for reviewer
Raises question about how to define various types in Schema
How to manually test the feature
Test existing income payments, income benefits and outgoings payments journeys

Do not merge until current outgoings PRs are committed.


WASM support

Moving this issue from https://github.com/LNP-BP/client_side_validation/issues/93
stens fails to compile to wasm32-unknown-unknown due to the dependency, amplify_syn.
I can add a WASM test to CI if it can help you resolve this issue, @dr-orlovsky.

CI will be very helpful, thanks! I have not idea how to compile for WASM :)

I can't seem to run my actions against this repo, but I did my best in #144 ... It should work, I think, but I can't know for sure till GH runs them.

Ok, now I am able to compile to wasm target locally. The error preventing compilation comes not from the amplify crates, but from the upstream:
error[E0433]: failed to resolve: could not find `parse_quote_spanned` in `syn`
   --> /home/orlovsky/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-macro-support-0.2.83/src/parser.rs:110:38

It comes from wasm-bindgen-macro-support which seems to contain a bug. I tried to look into how it can be fixed, but not able to find...

There was a similar issue reported years ago here and it was related to a rust compiler bug: https://github.com/rustwasm/wasm-bindgen/issues/1656

Fixed: it just required to update minimal version of syn. Published to the crates.io

Nice!

Pls let me know if there any other issues preventing RGB on WASM


time cost

Hello, I wonder how long you train with 8*3090 cards?  A week or...?

Around 16 hours for 24 epochs.


Animated path?

Is there a animateddrawable path? How can I put animation on drawablepath?

Look at https://developer.android.com/reference/android/graphics/drawable/AnimatedVectorDrawable.html
and
https://lewismcgeary.github.io/posts/animated-vector-drawable-pathMorphing/


IBM Accelerator to use calibration gate for pulse job submission

Update IBM Accelerator to use this calibration gate for pulse job submission.
The old method will be phased out 'by the end of December'.

IBM Quantum has released pulse gates to all users on open systems to attach custom gates defined via their pulse representation, called "calibrations" in Qiskit, to QASM circuits. This allows for a streamlined way to incorporate pulse-level control with the simplicity of QASM circuit construction. A tutorial is available to help you implement this feature into your code. Please note that there is a limitation to 3 qubits and 9 channels per gate for all users.
This method will also become the preferred path for most workflows that previously submitted pulse jobs. The previous way of submitting pulse jobs will still work on non-open systems and ibmq_armonk; however, it is planned to be phased out by the end of December. Users will still be able to access their old pulse jobs even after December 2021.

Gate calibrations in the QObj looks like:
"config": {
        "calibrations": {
            "gates": [
                {
                    "name": "my_custom_gate",
                    "qubits": [
                        0
                    ],
                    "params": [
                    ],
                    "instructions": [
                        {
                            "name": "parametric_pulse",
                            "t0": 0,
                            "ch": "d0",
                            "pulse_shape": "gaussian",
                            "parameters": {
                                "duration": 64,
                                "amp": [
                                    0.2,
                                    0.0
                                ],
                                "sigma": 8
                            }
                        }
                    ]
                }
            ]
        }
    }

my_custom_gate can then be used as a digital gate in the subsequent instructions field.


Support key revocation

Key revocation is partially implemented. You can revoke keys, but this does not have any functional impact to the key's usage.
We should update the behavior to enforce not being able to use revoked keys.
https://github.com/TBD54566975/ssi-service/blob/main/pkg/service/keystore/service.go#L127

#546 and #579 are now merged, is this issue good to be closed?

yes!


Rails/ThreeStateBoolean fails when it can't find create_table or change_table

I have a custom create_table style function for enumerated types that also generates a database type and check constraint. This function accepts a block like create_table. Rails/ThreeStateBoolean fails when checking this.
For example
class AddCurrencies
  def create
    create_enum :currencies do |t|
      t.boolean :symbol_first, null: false
    end
  end
end

Scanning [...]/db/migrate/tsb_test.rb
An error occurred while Rails/ThreeStateBooleanColumn cop was inspecting [...]/db/migrate/tsb_test.rb:4:6.
undefined method `value' for nil:NilClass

            return if def_node && change_column_null?(def_node, table_node.value, column_node.value)
                                                                          ^^^^^^
rubocop-rails-2.19.0/lib/rubocop/cop/rails/three_state_boolean_column.rb:49:in `block in on_send'
rubocop-rails-2.19.0/lib/rubocop/cop/rails/three_state_boolean_column.rb:85:in `three_state_boolean?'
rubocop-rails-2.19.0/lib/rubocop/cop/rails/three_state_boolean_column.rb:42:in `on_send'

Expected behavior
RuboCop Rails shouldn't fail, and should not report a problem with the example code.
Actual behavior
1 error occurred:
An error occurred while Rails/ThreeStateBooleanColumn cop was inspecting [...]/db/migrate/tsb_test.rb:4:6.

Steps to reproduce the problem
Run RuboCop Rails on the example code with the Rails/ThreeStateBooleanColumn cop enabled (which seems to be the default).
RuboCop version
❯ bundle exec rubocop -V
1.49.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.28.0, running on ruby 3.1.4) [arm64-darwin22]
  - rubocop-rails 2.19.0

I've encountered the same issue in a different context. Example:
# rubocop:disable Rails/SkipsModelValidations
class MakeNewslettersPublishable < ActiveRecord::Migration[7.0]
  class Newsletter < ApplicationRecord
  end

  class WeeklyNewsletter < ApplicationRecord
  end

  class MonthlyNewsletter < ApplicationRecord
  end

  def up_alteration(model)
    ->(t) {
      t.string :status
      t.index :status

      model.where(public: true).update_all(status: "published")
      model.where(public: false).update_all(status: "draft")

      t.remove :public
    }
  end

  def down_alteration(model)
    ->(t) {
      t.boolean :public

      model.where(status: "draft").update_all(public: false)
      model.where(status: "published").update_all(public: true)

      t.remove :status
    }
  end

  def up
    change_table :newsletters, &up_alteration(Newsletter)
    change_table :weekly_newsletters, &up_alteration(WeeklyNewsletter)
    change_table :monthly_newsletters, &up_alteration(MonthlyNewsletter)
  end

  def down
    change_table :newsletters, &down_alteration(Newsletter)
    change_table :weekly_newsletters, &down_alteration(WeeklyNewsletter)
    change_table :monthly_newsletters, &down_alteration(MonthlyNewsletter)
  end
end
# rubocop:enable Rails/SkipsModelValidations

Expected behavior

Rubocop shouldn't fail, but should report the three-state problem with the code. Although this cop is a bit awkward for legacy projects. We're never going to change these migration files, even if we do change the column default. So these files are guaranteed to sit in our rubocop_todo file forever, or we'll have to manually disable them. Maybe some way of configuring "migrations created after x date" would be a solution there?
Actual Behavior

An error occurred while Rails/ThreeStateBooleanColumn cop was inspecting db/migrate/20220713144748_make_newsletters_publishable.rb:27:6.
undefined method `value' for nil:NilClass

            return if def_node && change_column_null?(def_node, table_node.value, column_node.value)
                                                                          ^^^^^^

Rubocop Version

be rubocop -V
1.48.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.28.0, running on ruby 3.1.3) [x86_64-darwin22]
  - rubocop-performance 1.16.0
  - rubocop-rails 2.19.0
  - rubocop-rspec 2.18.1

Third variant with drop_table:
undefined method 'value' for nil:NilClass in lib/rubocop/cop/rails/three_state_boolean_column.rb
Expected behavior
No crash
Actual behavior
Describe here what actually happened.
An error occurred while Rails/ThreeStateBooleanColumn cop was inspecting (redacted)/db/migrate/20200713024056_drop_global_codes.rb:6:6.
undefined method `value' for nil:NilClass
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.19.0/lib/rubocop/cop/rails/three_state_boolean_column.rb:49:in `block in on_send'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.19.0/lib/rubocop/cop/rails/three_state_boolean_column.rb:85:in `three_state_boolean?'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-rails-2.19.0/lib/rubocop/cop/rails/three_state_boolean_column.rb:42:in `on_send'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-1.49.0/lib/rubocop/cop/commissioner.rb:143:in `public_send'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-1.49.0/lib/rubocop/cop/commissioner.rb:143:in `block (2 levels) in trigger_restricted_cops'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-1.49.0/lib/rubocop/cop/commissioner.rb:171:in `with_cop_error_handling'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-1.49.0/lib/rubocop/cop/commissioner.rb:142:in `block in trigger_restricted_cops'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-1.49.0/lib/rubocop/cop/commissioner.rb:141:in `each'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-1.49.0/lib/rubocop/cop/commissioner.rb:141:in `trigger_restricted_cops'
/home/clintel/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-1.49.0/lib/rubocop/cop/commissioner.rb:70:in `on_send'

Steps to reproduce the problem
class DropGlobalCodes < ActiveRecord::Migration[4.2]
  def change
    drop_table :global_codes do |t|
      t.string   :code_name
      t.integer  :int_value
      t.boolean  :bool_value
      t.string   :string_value
      t.date     :date_value
      t.float    :float_value
      t.binary   :binary_value
      t.timestamps
    end
  end
end

RuboCop version
$ bundle exec rubocop -V
1.49.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.28.0, running on ruby 2.6.6) [x86_64-linux]
  - rubocop-performance 1.16.0
  - rubocop-rails 2.19.0
  - rubocop-rake 0.6.0
  - rubocop-rspec 2.19.0

Started https://github.com/rubocop/rubocop-rails/pull/980 but need someone to take it over/review the approach


Caused by: java.lang.NoSuchFieldError: LIFTER

hi,
my project dependency spring-cloud:2020.0.5 and spring-cloud-starter-sleuth:3.0.5.
i got an error when i run my project.
Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/boot/autoconfigure/session/RedisSessionConfiguration$SpringBootRedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: LIFTER
Caused by: java.lang.NoSuchFieldError: LIFTER
at org.springframework.cloud.sleuth.instrument.reactor.ReactorHooksHelper.getLifterName(ReactorHooksHelper.java:170)

Please ensure that you're using the latest compatible Cloud, Sleuth and Boot versions. Most likely you have an old version of Boot that takes in an old version of Reactor.

thanks, i solved the problem

which was the solution?

working for me when add below dependency

io.projectreactor
reactor-core
3.4.16

@DHbee your solution also worked perfectly for me, thanks, saved my day!


feat: Add update firmware for Whatsminer

Related to #147, #157

This needs to be in BTMiner.py, and also the actually sending of the file should be handled by pyasic.rpc.btminer.BTMinerRPCAPI.upgrade_firmware, as documented in their API docs.

Heres the function that should be implemented in the BTMinerRPCAPI class, then you can call this from the upper levels.
    async def update_firmware(self, firmware: bytes):  # noqa - static
        """Upgrade the firmware running on the miner.
        <details>
            <summary>Expand</summary>

        Upgrade the firmware on the miner using the firmware passed in bytes.

        Returns:
            A reply informing of the firmware upgrade as a boolean.
        </details>
        """
        ready = await self.send_privileged_command("update_firmware")
        if not ready.get("Msg") == "ready":
            raise APIError(f"Not ready for firmware update: {self}")
        file_size = struct.pack("<I", len(firmware))
        await self._send_bytes(file_size + firmware)
        return True


feat: make idgen package public

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

Make idgen package public.

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #931 (c8a3aaf) into main (311bc19) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #931      +/-   ##
==========================================
- Coverage   42.76%   42.68%   -0.09%
==========================================
  Files         113      113
  Lines        8581     8581
==========================================
- Hits         3670     3663       -7
- Misses       4446     4454       +8
+ Partials      465      464       -1

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
42.68% <ø> (-0.09%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/daemon/daemon.go
5.57% <ø> (ø)

client/daemon/peer/peertask_file.go
52.70% <ø> (ø)

client/daemon/peer/peertask_reuse.go
0.00% <ø> (ø)

client/daemon/peer/peertask_stream.go
53.43% <ø> (-2.19%)
:arrow_down:

client/daemon/rpcserver/rpcserver.go
34.28% <ø> (ø)

client/daemon/transport/transport.go
61.60% <ø> (ø)

pkg/idgen/host_id.go
100.00% <ø> (ø)

pkg/idgen/peer_id.go
100.00% <ø> (ø)

pkg/idgen/task_id.go
100.00% <ø> (ø)

pkg/idgen/uuid.go
100.00% <ø> (ø)

... and 3 more


Feature request: Add load average

Can you please add load average? As a number, but also as a graph. Thanks!

sys-API expose the 1 minute load average from OSHI. This is not currently visualised in the app, but should be easy to add it. I'll take a look at it.
Then there's the 5 and 15 minute load average. This would require a new API and that would take a bit longer time, unfortunately.

I saw a load average under the CPU information page, although it misses a decimal separator. It would really be great if you can add this. Also on the servers overview. I normally use load average a lot on my VPS's.

I implemented this in #107 a couple of days ago. The app parts are to be implemented soon.

I implemented this in #107 a couple of days ago. The app parts are to be implemented.

Great! Thanks a lot!

@joenepraat your feature request is completely fulfilled now with the latest updates to the app. You can see how it looks on the "Main screens" and "Detailed metrics" sections on the screenshots page
https://monitee.app/screenshots/

Super! Thanks a lot!


[CP][recipes] Adds versioned xcode support

issue_link
https://github.com/flutter/flutter/issues/117541
Commit Hash
c91bbbb85063b43c43c832dd440788a0e7cb5e4a
Target
beta
pr_link
https://flutter-review.googlesource.com/c/recipes/+/42700
Impacted Users
Infra
Impact Description
Bots will use a possibly corrupted cache, resulting into issues with xcode. Additionally, bots will take longer to run release tasks as they have to download to the no longer used cache.
Workaround
No
Risk
low
Test Coverage
yes
Validation Steps
No response

@keyonghan can you review this CP request? If it looks good to you, add the "cp: approved" label.


github flavored markdown not being processed (at least for me)

Given this configuration in .yardopts:
--markup-provider redcarpet
--markup markdown

... and this code:

```ruby
thing = Thing.new
thing.should do_something
```

This is what shows up on rubydoc.info:
ruby thing = Thing.new thing.should do_something

(See http://rubydoc.info/github/rspec/rspec-mocks/master/file/GFM-TEST.md)

Given feedback from https://github.com/lsegal/yard/issues/419, I changed the content of this issue to reference only code that is in a .md file. I added a file to the rspec-mocks repo to demonstrate the problem, and I'll leave it there until we get this resolved.

It looks like this is a YARD problem rather than a rubydoc.info-specific one though, correct? If I generate docs for the rspec-mocks project locally, I see the same formatting problems that I see on rubydoc.info. Let me know if you believe that to be incorrect.

Actually now it looks correct in both places, whereas last night when I submitted this it looked correct locally and incorrect on rubydoc.info. Not sure what changed when, but something did.

Not sure what changed but it's failing to process GFM again: http://rubydoc.info/github/rspec/rspec-mocks/master/file/README.md

Same section looks like this locally:

This is fixed - apparently I had a caching problem :)


Fix absolute path detection on Windows

Fixes #632. Adds a test by @hishamhm.

Current coverage is 88.01% (diff: 100%)

Merging #637 into master will increase coverage by 0.02%

@@             master       #637   diff @@
==========================================
  Files            53         53
  Lines          6785       6793     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           5970       5979     +9
+ Misses          815        814     -1
  Partials          0          0

Powered by Codecov. Last update afd9b2a...51aa62b


HERACLES-17 / HERACLES-19: Holter form

Form specs: https://phenotips.atlassian.net/browse/HERACLES-18

Not happy with Symptom duration implementation.
It should be a time interval rather than time (as per requirement), or number of hours and minutes.

New XML provided with  symptom_duration is now text rather than time ,with regexp ^\d{2}:[0-5]\d$ to allow duration of more than a day

Reason should show up if Partially or Did not complete are selected above, right now it only shows up if Did not complete is selected

Rebased on the latest dev, where the TimeQuestion fields are as wide as all others.

Additional physician consult comments should be optional and Additional physician consult abnormal comments should be mandatory

Additional physician consult comments should be optional and Additional physician consult abnormal comments should be mandatory

@Hajany fixed, please confirm.

Additional physician consult comments should be optional and Additional physician consult abnormal comments should be mandatory

@Hajany Fixed, please confirm.


Adding an opt-out for gzip compression on requests.

To mimic https://github.com/onelogin/ruby-saml/blob/master/lib/onelogin/ruby-saml/authrequest.rb#L61.

Hi @WillSkates
Can you improve the PR with:

Support also compress_response so we will have the methods:

shouldCompressRequests()
shouldCompressResponses()

Modify the settings parameter by adding to the 'security' array 2 new values:

'compressRequests'
'compressResponses'
document those parameters (on the README) and on the advanced_settings and its default value should be set to true (the current behavior).

Add test for compressed and non compressed Requests and Responses.

Hi @pitbulk, thank you for taking the time to review this. Rather than rework what I have here I have started again in #144.


BPFTRACE_KERNEL_SOURCE  environment variable

Currently, bpftrace expects sources to be in:
/lib/modules/$(uname -r)

To address this the environment variable BPFTRACE_KERNEL_SOURCE has been added to the code if the variable does not exist it will search the modules directory as before.
Issue is referenced in https://github.com/iovisor/bpftrace/issues/169

"bpftrace depends on kernel sources" -- it's kernel headers, right, not kernel sources? Saying people need kernel sources sounds like they need the entire kernel, but I believe it's just the kernel headers package.

"bpftrace depends on kernel sources" -- it's kernel headers, right, not kernel sources? Saying people need kernel sources sounds like they need the entire kernel, but I believe it's just the kernel headers package.

You are right, in my system (Debian stretch) the package linux-headers-4.9.0-8-common is installed but does not provide generated/autoconf.h, however, Ubuntu bionic does offer it https://packages.ubuntu.com/bionic-updates/amd64/linux-headers-4.15.0-32-generic/filelist.
My workaround was to set up BPFTRACE_KERNEL_SOURCE to the Linux kernel sources, but as you correctly state, bpftrace only needs kernel headers.
I'll fix that in the commit.
Thanks for reviewing this change.

@mmarchini
Good catch!. You are right, for consistency's sake BPFTRACE_KERNEL_HEADERS is the correct name. I have also addressed your comment on README.md.
Thanks!

ok, thanks!


2D Array Operations

This program performs simple matrix operations like sum & average of all values, sum of values in a specific row or specific column, highest & lowest number in a row.

TYSM for ur PR💞


Fix concurrency issue in DataSketches metrics provider

FIx for concurrency issue across threads sending the metrics values and the thread that is swapping active and replacement when doing the collection.
Fixes yahoo/pulsar#258

@merlimat we need to cherry-pick this commit to internal repo so, it can build the jars. and once jars are built then we need to cherry-pick jar-commit to this repo(mvn-repo branch) so, it can be available in our public-repo. right?
+@revans2

@merlimat The change looks OK, I'll try to pull this in.

@merlimat I managed to merge this in.  Thanks for the contribution.

@revans2 Thanks, I'll update pom on pulsar repo to pick up this bk version. On the front of the 64bit ledger generation, that should be a smooth change, right?
Can there be any risk in case of "rolling back to previous version"?

@merlimat The 64 bit ledger ID generation should be totally backwards compatible until the ledger IDs roll over in ZK.  At that point you cannot go back, but you would be in trouble without the change anyways.

Sounds great, so no worries for "ordinary" users :)


Is the vendor data needed?

While reviewing the changes for this lib, I noticed, that the vendor/ge,s directory is being included.
Is this needed? Usually, it's added by mistake and causes:
a) confusion
b) problems when tracking changes
c) makes gem much bigger than it could be
ref: https://github.com/yamatoken/qiita_org/tree/master/gems/ruby/2.7.0
If the presence of vendor data is valid I would love the reasoning. Thanks!

The directories which you pointed out are unintentionally left in the gem.
We really agree with your opinion or suggestions on the vendor/gems issue.
The related directories are deleted in the current version.
Thank you for noticing the mistake.

The directories which you pointed out are unintentionally left in the gem.
We really agree with your opinion or suggestions on the vendor/gems issue.
The related directories are deleted in the current version.
Thank you for noticing the mistake.

Thank you for taking action :) have a great end of the year! I'm closing this issue now. Going to re-open if I find anything again.


I have a question about using YOLOv5 models with TensorFlow Lite.

I'm new to machine learning and have been learning about object detection models. I trained a YOLOv5 model using Ultralytics and would like to deploy it on an edge device that only supports TensorFlow Lite models.
When I tried converting the trained YOLOv5 model to TFLite format, I am running into issues getting the converted model to work correctly on the edge device.
Does anyone have any tips or advice for a machine learning newbie like myself on properly converting a YOLOv5 model to TFLite for edge deployment?

Model:
Inputs float32 Shape[1,256,256,3]
Output float32 Shape [1,84,1360]

Hey, do you have any more information? What kind of issues are you running into specifically?

you can import tflite and create model from command


Feature/Server/Client/Change password

Describe your changes

Create change password, Server side
Create change password, Client side
Add change password and email validation for edit account in e2e test

Issue
#78
#79
URL
http://localhost:3000/account/change-password
Screenshot (if you made the UI)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings and no errors

I found out that when a user doesn't yet have a house, the user can't change the password. I fixed it.
c3c5c7d1686783b52e314c7bc752f903d582283d


RK3588 python  RuntimeError: FastDeploy initalized failed!

cd FastDeploy/examples/vision/segmentation/paddleseg/semantic_segmentation/rockchip/rknpu2/python
python3 infer.py --model_file ./Portrait_PP_HumanSegV2_Lite_256x144_infer/Portrait_PP_HumanSegV2_Lite_256x144_infer_rk3588.rknn                 --config_file ./Portrait_PP_HumanSegV2_Lite_256x144_infer/deploy.yaml                 --image images/portrait_heng.jpg
Traceback (most recent call last):
File "/home/firefly/.local/lib/python3.9/site-packages/fastdeploy/c_lib_wrap.py", line 164, in
from .libs.fastdeploy_main import *
ImportError: /home/firefly/.local/lib/python3.9/site-packages/fastdeploy/libs/fastdeploy_main.cpython-39-aarch64-linux-gnu.so: undefined symbol: _ZTIN10fastdeploy6vision14classification6ResNetE
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/firefly/projects/FastDeploy/examples/vision/segmentation/paddleseg/semantic_segmentation/rockchip/rknpu2/python/infer.py", line 14, in
import fastdeploy as fd
File "/home/firefly/.local/lib/python3.9/site-packages/fastdeploy/init.py", line 53, in
from .c_lib_wrap import (
File "/home/firefly/.local/lib/python3.9/site-packages/fastdeploy/c_lib_wrap.py", line 166, in
raise RuntimeError("FastDeploy initalized failed!")
RuntimeError: FastDeploy initalized failed!

请问你的编译命令是怎样的？


Improve PlayRun reload support

When a Play application is started with PlayRun, Gradle will monitor the input files for changes. Gradle now supports 2 different rebuild behaviours for PlayRun: continuous or on-demand.
If Gradle is run with --continuous (or -t), the application will be rebuilt and reloaded as soon as any file changes are detected.
Without the --continuous flag, Gradle will only rebuild the application on-demand, when an HTTP request is received by the application.
In summary:

gradle --continuous runPlay will start the application, monitor changes, and rebuild/reload the application as soon as a change is detected.
gradle runPlay will start the application, monitor changes, and rebuild/reload the application only when a request is received after a change is detected.

@big-guy This is now merged, and I'm happy with the behaviour for 4.2. We now enter continuous build when we detect a reloadable deployment running at the end of the build. It assumes that any deployment left running at the end of the build is 'reloadable', which is true for PlayApplication (our only deployment implementation at this stage).
Please take a look and see if there are things you want to improve. Note that I won't be around to respond to feedback, so you'll have to make the changes yourself :).

Thanks for your help on this.
Enjoy your holiday :)


Revert "Ack"

Reverts koinos/koinos-mq-golang#4

Closing because this PR is no longer applicable, also we are also using autoack now in C++.


what is the pretrain_path should be in the default yaml

I met the error when using the default.yaml to train the model. the use_pretrain is set as true in the yaml while no path has been given out. What is the pretrained model and where I can find that?

Download pre-trained model from the link in README

Which model do you mean, PointNet++ backbone, CLIP/GLoVe embedding or entire pretrained model?

Here using pretrain means using pre-trained PointNet++ backbone


Featurebranch

This is currently not working, is it? Do you want to fix this PR @shigdel ? @antagomir ?

Thanks - this seems to have been left hanging around.
The following needs to be done:

pull the latest changes from master branch to the featurebranch

fix possible conflicts

add the requested updates

push the updated version to featurebranch

Then we can see if the checks go through and this PR can be considered ready.
@shigdel can you do this?

Also add information to NEWS

Duplicate of #153
Closing this


Maven: do not add dependency or plugin if it already exists

Hi Pascal, I can help on this if you want.

Yes, your help is welcome.
My idea is to have idempotency for all API.

I have proposed PR to have idempotency on add methods.
I could add tests on delete methods but I'm not sure if it's really usefull. What do you think?

@MSaguer : thanks for helping this project
For delete methods, no need for now.
It's better to add these checks only when we need.


Tick event does not fire anymore since V2.6

I have read you have optimized the Tick process with this version. However, the Tick event handlers in my VAutodrive mod don't get called anymore. Do we need to make any changes in the code or what's wrong here?

Refers to commit 8784dd27d96cd542bae3d9d5cb1fe097a6f9fad1, which is the only change to the Tick process. Nothing else was modified since 2.5.1. I checked with a few scripts and in all of them the tick event handlers were called as expected.

Can confirm it's working as expected, just ran 2 example scripts, both OnTicks were called

I found the culprit.
Before
´´´C#
if((DrivingData.Vehicle.Position.DistanceTo2D(
DrivingData.StaticTarget) > 10.0f))
´´´
Now
´´´C#
if((DrivingData.Vehicle.Position.ToGround().DistanceTo2D(
DrivingData.StaticTarget.ToGround()) > 10.0f))
´´´
Without the ToGround method it added the Z-distance. The gound-level was at about 73 where I was testing, so this piece of code always returned true even though I was right at the waypoint. Looks like there is something wrong with the DistanceTo2D method.

Vector3.DistanceTo2D is indeed invalid, it just returns the normal 3D distance, when it actually should ignore the Z components.

Now I get the full picture and why I run into this error. Before that I used my own implementation of DistanceTo2D as an extension method. This is my code and that works:
      public static float DistanceTo2D(this Vector3 origin, Vector3 target)       {          var originFlat = new Vector3(origin.X, origin.Y, 0);          var targetFlat = new Vector3(target.X, target.Y, 0);          return originFlat.DistanceTo(targetFlat);       }

I'll push a fix right away.

Thanks, I'm glad I could help and I can roll back those ugly changes now. :+1:

Published as 2.6.1.


OS X compatibility with Grpc 0.12

Build process compatible with OS X after integrating Grpc 0.12

I signed it!

On 31 Jan 2016, at 19:47, googlebot<EMAIL_ADDRESS>wrote:
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
Please visit https://cla.developers.google.com/ https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.
If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data https://cla.developers.google.com/clas and verify that your email is set on your git commits https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the company's name.
—
Reply to this email directly or view it on GitHub https://github.com/youtube/vitess/pull/1473#issuecomment-177580943.

LGTM
I'm merging it now.


Fix semgrep cookie-missing-httponly error

Signed-off-by: Soumik Majumder<EMAIL_ADDRESS>Description
This PR fixes semgrep errors.
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #4399 (4d5cfbe) into master (53b1112) will decrease coverage by 7.71%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #4399      +/-   ##
==========================================
- Coverage   31.87%   24.15%   -7.72%
==========================================
  Files          59       59
  Lines        5061     5063       +2
==========================================
- Hits         1613     1223     -390
- Misses       2987     3501     +514
+ Partials      461      339     -122

Flag
Coverage Δ

gointegrationtests
?

unittests
24.15% <0.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

mesheryctl/pkg/utils/auth.go
0.00% <0.00%> (ø)

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-62.83%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
0.99% <0.00%> (-53.98%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
2.50% <0.00%> (-47.50%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
0.85% <0.00%> (-36.76%)
:arrow_down:

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-34.74%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.39% <0.00%> (-22.38%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
3.29% <0.00%> (-20.88%)
:arrow_down:

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 aa92ea1...4d5cfbe. Read the comment docs.


Advanced Filtering: Reorder the dropdown for numbers column

Description
The numbers column dropdown in the filter modal should be reordered per design's direction to this order:
Default dropdown option: Equals
Not equal
Equal or greater than
Equal or less than
Greater than
Less than
Version
Datagrid: V1.1.11
Screenshot

Verified this in V1.2.4.  Order of dropdown option match the spec with equals being the default.


Manually add maps

Adds watcher for manually added maps
Fixes #1879

taking credit for my work :P
I kid

👍 but i have the t-shirt already

I fucked up while force pushing :D because of the vcs.xml thing

yeah that vcs.xml thing makes a lot of stuff hard. Dont know why it is in the repo.


complete-vpc-w-variables example added

complete-vpc with variables.
Configuration in this directory use [complete-vpc] with variables as much as possible.

I don't think there is a value in this example and in this PR, because it just adds some values in a very opinionated way.
Terraform documentation already has detailed explanation of how values can be specified (tfvars file, variables, command line argument, env. variables, etc).


Support for batch_id in scheduled sends.

Hi, I've looked through the documentation and the repo code and couldn't find any references to the batch_id smtpapi header parameter as described here.
This is a pretty useful feature for being able to cancelled a scheduled email batch!
Is there a time-frame on when this might be implemented or am I better off fork it and having a go myself?

I agree with @notsentient, would indeed be useful to set the batch_id when calling the setSendAt method.

@notsentient you would be better off to fork it as of right now. Thanks for offering to do so!

@notsentient If you do happen to get it working please let me know. I've been trying to tackle this myself with no luck.

Hello @notsentient and @tyler-hughes,
We have added the ability to set a batch_id in our new v3 /mail/send endpoint. Here is an example: https://github.com/sendgrid/sendgrid-php/blob/v3beta/examples/helpers/mail/example.php#L101
Please let me know if you need further help.
With Best Regards,
Elmer


Lyrics stop working

Hi,
This lyrics on this music works last week but not now, appea
ring like this this week
Is there any fix needed?

Nice project hope for a fix.
Lyrics stop working on all musics 🙃

It seems that the Spotify app is having issues (https://downdetector.com/status/spotify/). It's probably related to this. I wish I could check but I can't log into my Spotify account so I don't know. I think it's best to just wait for Spotify to fix the problem.

yes spotify has having some problems like 1 hour ago but now is working fine for me.
this error start happend like 3 days ago

Seems like this is not an issue with spotify being down. I have quite a few reports of users having this issue of no lyric being present even after the spotify status has been restored. Its best to look into it to check if there really is some sort of connecting time out or other issue that happens when fetching lyrics of songs
Here are few things the users reported that I found interesting-

Issue pics-

For my part, I really can't connect to the Spotify mobile application, so it's complicated to check if there are problems with the lyrics. However I had tried after the last commit about 8 hours ago (when I could still connect), and everything worked perfectly.
I directly use the Spotify Api, maybe the Spotify servers block certain requests because they are too numerous, I don't know.
When I look in the server's logs, everything seems to work.

I will have to invest in this problem but for the moment I am blocked because I no longer have access to the app...

Hello! Just adding on to this :)
I just downloaded the Spotify Lite version from your releases and installed it on my device. All song lyrics seem to not load.

Hello! Just adding on to this :)
I just downloaded the Spotify Lite version from your releases and installed it on my device. All song lyrics seem to not load.
Let me know if there is anything I can do to help and I hope this only requires a quick fix; this project is AWESOME :D

I admit that I have not tested my patch on the Lite version of Spotify 😅
I think I know where the problem comes from, I will try to fix it and let you know when it is ok. (i have to sleep now, but it should be fine tomorrow)

Seems like this is not an issue with spotify being down. I have quite a few reports of users having this issue of no lyric being present even after the spotify status has been restored. Its best to look into it to check if there really is some sort of connecting time out or other issue that happens when fetching lyrics of songs Here are few things the users reported that I found interesting-

Regarding this issue, I was finally able to log in, but everything works perfectly for me.
If this issue appears randomly, it will be difficult to fix, but I will do my best.

No worries! I was just testing Spotify Lite to see if that one was working (I generally use the regular version of Spotify). Thanks for your hard work :)

Hi,
I dont know where the problem is but thanks for your time to see this.
Lite version not working also!

Spotify Lite is now working !
You can patch it with the latest patch_xmanager.sh or download it from the releases section.

Awesome, I will test and return here shortly with an update. Thank you for your hard work :)

thanks but will be available for stock version?

thanks but will be available for stock version?

Do you mean that the lyrics still don't work for you on the stock version?

I have downloaded from the link and it's working now.
What i mean is just because you just speak about the lite version.
Sometimes the letter comes first than the music but maybe it's their fault

I have downloaded from the link and it's working now.

I added an option to keep the Spotify API token in memory on the server. This significantly reduces the number of requests to Spotify's servers. This may be what fixed the issue.

Sometimes the letter comes first than the music but maybe it's their fault

Yes I think it is the MusixMatch API that produces this.

Update: It seems like the most recent patch worked wonders! I installed the most up-to-date version and I haven't encounted lyrics not loading! Amazing work @Natoune and I look forward to seeing your other projects :D


Framework ImageIO missing

ImageIO is missing entirely

Any idea when this be available?, or a temporal workaround or alternative?
thanks.

ImageIO is now available, has been since April.


Releases widget is hidden away on all repos

Releases widget is hidden away on all repos
With refined-github disabled

With refined-github enabled

See #3566 ?

This is part of releases-tab

This is part of releases-tab

Oh sorry, I wasn't aware this was purposefully removed.
Is this something I can toggle?
IMO the releases widget provides quick access to the latest release version, it is quite helpful to just open a repo and see what the latest release is.

@fregante https://github.com/sindresorhus/refined-github/pull/3566#issuecomment-699485859
This should be mentioned in the description of releases-tab and also be showen in the screenshot.

IMO the releases widget provides quick access to the latest release version

So does the Releases tab that Refined GitHub adds; it even appears on every page of the repo instead of just the home tab

see what the latest release is.

The extension also shows the latest tag right next to the branch selector.
We hide that widget because we already have better features that display the same information.
If you want to disable it, the feature is called releases-tab (and it can’t be split)

This part of releases-tab was consolidated into clean-repo-sidebar so it can be disabled independently from releases-tab

It was discussed here: https://github.com/sindresorhus/refined-github/pull/3566#issuecomment-700611153


File Extraction doesn't update notification

Appears that when extracting a file using the FileService.ExctractArchive method the action notification which should display at the bottom of the screen doesn't update after it appears.
I don't entirely know why, but then I've never been keen on how I made the action notification service anyway so possibly something to do with how it works.

This might be my doing. The changes I made to the extraction code means it sometimes extracts entire folders in one operation which will break it in 2 ways. 1 It will extract an entire folder before updating (therefor it will only update once the entire folder is extracted) and secondly it will treat this operation as only one file being updated despite there possibly being thousands of files in the folder we just extracted


Filtering in device_tracker

I'm trying to move totally from ESPresence to Bermuda BLE Trilateration, my goal is to quickly and precisely detect approaching/arriving at home to unlock the door lock while coming back.
I'm making test and comparison and have found that Filtering is apparently not working for device_tracker entity.
On below screenshot we can see, that there is false (more than 12m set radius) detection reflected in device_tracker state change.
It's probably detecting me in a car going out of garage.
I'don't know is it a bug or future, but in my case I would like to have all the filtering working also in device_tracker entity.

Howdy!
The TL/DR is: Increase Device Tracker Timeout to something like 5 minutes (300s), and/or add extra logic to your automations, like unlocking only when the Area leaves unknown.
This is largely by design, and I'd rather not change how the device_tracker works because it's job is to transition to HOME when it can prove that a device is close enough to hear at all, and then switch to away when it assumes it's been long enough that it has probably left.
Filtering and making extra assumptions beyond that is really what the distance and area sensors are about. For your use-case, I'd suggest (well, first I'd suggest caution about using unencrypted bluetooth to unlock secure areas, but I assume you've assessed the risks for your situation)... I'd suggest using the device_tracker to trigger your arm_house automation, tweaking the device tracker timeout to get a good balance for how quickly you want the house to assume that you've left.
Then for the disarm_house automation I'd trigger on "when Area switches from unknown". Optionally you could add a check that the house has been armed for more than x minutes, to avoid nuisance unlocks while you're still in the car getting ready to leave, etc. This would still give you rapid response on returning home, and incorporate the max_radius restriction as well.
The key is to work out what sensor states really fit the criteria for your being "away", and I'd suggest that the device_tracker sensor should be only a part of that.
Does that make sense?

Thank you for quick answer, I tried this approach, but in this case I have a lot of changes from unknown to specific area, it seams that AREA doesn't have timeout implemented but have DISTANCE filtering enabled (I've set 12m).
For testing purposes I have set notification only after change of AREA from unknown and receive a lot of notification while being still at home.

I probably didn't explain what I meant very well. I was meaning that what might work is if you:

Use the device_tracker to sense when you are "away", and have the devtracker_timeout value set to 300 seconds or more. Have this automation turn on a boolean helper called "house_empty" or something.
For your "arriving home" automation, it should use a combination of both:

Area switches from Unknown to anything
AND house_empty has been ON for more than 5 minutes

This way you don't get nuisance "gone away" triggers because the device_tracker waits for 5 minutes before deciding that you really have left, and you don't get nuisance "arrived home" triggers because it makes sure you've been gone a good while before accepting that bluetooth signals really do mean you are home again.


NPE on handleResizeFinish

SpongeForge 7.1.8
GD 1.2.5
https://hastebin.com/utiwuqofux.shell

Fixed in commit https://github.com/bloodmc/GriefDefender/commit/4bf2a66b4a3c34816f3b9e727175a48926f6f04b


More documentation, examples and screenshots

Hi, I just randomly discovered this project and at first sight it looks super interesting! However, it would be cool to have some more details on what Walrus is actually capable of, how to configure it and a few more screenshots of the admin UI. This would help people get a better idea of this tool might be helpful for theit use cases without having to go through the whole setup process to create a personal demo instance.
For instance, a few questions that came to my mind browsing the readme include:

How does it "look" like to configure new backup jobs of different types, e.g. file system backup, MySQL backup, etc.?
Are backups incremental and are they compressed?
Can you easily restore backups?
Is this project still under active development and what is the roadmap?
How does Walrus compare to tools like Restic, Borg, etc.?

Hi @muety,
It is maintained. i can't really run dedicated demo but it is handy to run it locally.
$ git clone https://github.com/Clivern/Walrus.git
$ cd Walrus

# Run local etcd
$ ./bin/local_etcd_mac.sh

$ make run_tower

From UI http://<IP_ADDRESS>:8000, install the tower. once you run agents on hosts with the right tower url & credentials, it will show up in UI and you can setup backups for these hosts.
Or you can run with docker-compose https://github.com/Clivern/Walrus/tree/main/deployment/docker-compose

Restore not supported so far.
Restic is a nice tool, i used it a lot. it supports many storage backends. so it totally up to you, if walrus fits your use case, use it otherwise i would recommend restic or duplicacy.


Quick question

Are you planning on supporting OpenAPI 3 at some point?

Duplicate https://github.com/kogosoftwarellc/express-openapi/issues/72


Discovery result sort options not reflecting what is configured

Describe the bug
The "sort" select box displayed in the discovery results page contains by default "Relevance", "Title Ascending" and "Title Descending" as possible "sort by" options, instead of options that are defined in discovery.xml file.
To Reproduce
Steps to reproduce the behavior:

login
go to "My DSpace" page
check "sort by" select
Displayed options are different than what set into discovery for "workspace" configuration (currently "sortTitle" and "sortDateIssued")

Expected behavior
A select with options that allow to set sorting by both title and dateIssued
We 4Science are available to look into this issue

@corrad82-4s : If you (or someone at 4Science) could provide an estimate for this, then I can more easily make a decision on whether we can fit it into Beta 5.  Thanks!

Hi @tdonohue we estimate that this issue can be resolved in 4 to 6 hours of work. Thanks

@corrad82-4s : that sounds reasonable. I'll tentatively add this to Beta 5.
As a sidenote, any work on this ticket should be based on the work in #1048, since that affects pagination of search results in general across the UI.  So, please make sure to review that work first before starting a new PR... I don't believe that work fixes this bug, but it might affect your fix.

Once Angular PR is ready, assign to me & @artlowel to review.


Upgrading 0.0.12 to 0.1.2 -- config equivalent?

I'm very excited about the changes you've made in the 0.1 release! I just got around to updating my dependency now, and in the last hour I've been working on updating to the new DSL. The migration has been very straightforward, given how much Anvil has changed on the inside! I've already been able to update all my custom attributes and about half of my views. Most of it has been an easy, mechanical, copy-paste type process, which is nice. :)
However, I'm not sure how to get ahold of the underlying view to perform the equivalent of the config option from 0.0.12, which seems to be missing. Is there a way to make that work? Thanks.

Hi, @corbt! Glad to hear your interest to Anvil is back :)
As you might remember the old Anvil's config() was needed only to get access to the real view object.
In the new Anvil you always have access to the real view object inside your renderable lambdas. Just call Anvil.currentView() and you will get the view instance which is currently being modified, e.g.:
linearLayout {
  val layout = (LinearLayout) Anvil.currentView();
  // Here you may use real LinearLayout instance
  button {
     if (!myButtonIsInitialized) {
        // Get real Button instance
        val b = (Button) Anvil.currentView();
        initializeMyButton(b);
        myButtonIsInitialized = true;
     }
     text("Click me")
     onClick { v -> ... }
     ....
  }
}

The only catch here is that the first rendering cycle may happen to early and if you want, say, to get view width in pixels - it will return zero. So you may force rendering to be done in a loop again and again until view width becomes a valid number:
int mWidth = -1;
...
frameLayout(() -> {
  if (mWidth <= 0) {
    if ((mWidth = Anvil.currentView().getWidth()) == 0) {
      post(Anvil::render);
    }
  }
});

Ok, sounds good. A related question: often I want to call a function on the view only on the first render (which was a property of the config attribute). I suppose I could use a sentinel boolean to mark when my code has been run once and skip it after that, but is there a way to get this behavior built into the framework? If not I guess I'll just create my own config that implements that behavior. :)

Sorry, at the moment sentinel boolean is the only solution. I'm still not sure if a function like config is really needed in Anvil core. I expect most of the UI to be controlled in a declarative manner via Anvil DSL, so config is rather an exception.
I would implement config as config(cb: () -> Boolean) that would execute cb and re-schedule Anvil.render until the cb returns true. In simple cases it would run it once, in more complex it will stop once view is initialized. But such implementation would require to keep a flag variable bound to the view, which implies using a WeakHashMap etc. This generic solution can quickly become complicated for a small library like Anvil.
So I suggest writing config-like wrappers manually for now, unless we see that every Anvil user does it and their implementations look very similar. Then it would be wise to have a generic implementation added to the Anvil core.

Ok. I suspect that this will be a useful/commonly-requested function, but if you want to leave it out until more people request it that's fine with me. I've included my implementation below so if anyone else needs this functionality they can copy it into their project.
public interface ConfigListener {
    abstract public void config(View v);
}

public static void config(final ConfigListener listener) {
    attr(configFunc.instance, listener);
}

private final static class configFunc implements Anvil.AttrFunc<ConfigListener> {
    private final static configFunc instance = new configFunc();
    @Override
    public void apply(View view, ConfigListener listener, ConfigListener old) {
        if(old == null)
            listener.config(view);
    }
}

Ok, Anvil 0.2.0 is here, it includes the 'init' function that runs the attached lambda only once, like:
textView {
  init {
    val tv: TextView = Anvil.currentView()
    tv.setText("hello");
  }
}

It follows the code you've submitted, just renamed it to 'init' since it seems to be more precise (initialization happens once for sure, while configuration may happen many times).


Announce it somewhere

Oh... guys, half of humanity really needs this tool, but it is totally ungooglable! I've just reinvented the wheel to solve the same problem, but then found your excellent solution.
And yes, "stdweb" have the same problem, I assure you.

I'm afraid my solution is still very far from excellent, but thanks!
This is still such a huge work-in-progress that I don't feel like I can announce it in good faith anywhere, but if you feel like it should be then feel free to do it yourself. (:

Bury your perfectionism. It's OK to announce MVP. You can help many people by telling about this tool. And help yourself by new contributors.
Ok. I'll write a post soon.
And hmm, how can I contact you? Any messanger? I use gitter.im, for example... (and it would be cool to attach to create gitter room for stdweb and related projects)


debug and test files are not removed when "dlv" terminates

Since the program terminates with "die" (or Term.die),  defer statements like "defer os.Remove(debugname)" are lost.
One possible solution is to add a Term.defer method that stores the functions passed in input in a list and executes them when Term.die() is called.

I think that's fair, die should definitely take care of cleanup.


Controller App Tree Page - PoC

This page is a dedicated view for displaying the application tree embedded in the overview page (see #163). See for reference and general layout the third page of the wireframe diagram.
The wireframe implies a 3 column table with the columns "detector", "host" and "apps". Some more clarity would be useful here on whether all of this information is yet available and how it should be displayed.

@cc-a , could you fix the link to the wireframe document?

Done!

Some potentially useful information:

Stackoverflow discussion on displaying tree data
How to make a Django Tree View
Django MPTT

Something I meant to link when creating these issues was that we could use a web components library for this. See for example shoelace that provides a tree component. You can think of web components as effectively additional html tags with a set of encapsulated behaviours. It should provide a simple way of building nice looking trees with the cost of an additional dependency.

The ongoing discussions in Teams suggest that we should prioritise the table layout over the tree view. If we can make the table collapsible - as this very old Treegrid component, great, but that is secondary.
The application tree to be implemented in the overview page in #163 is still the tree component described above.
Where to get all of this information will need to wait until https://github.com/DUNE-DAQ/drunc/pull/239 is merged, I believe, although part of it might already be available from other endpoints. In any case, work on the front end can already get started.


Feature/lp 321 get data

JIRA link
https://companieshouse.atlassian.net/browse/LP-321
Change description
get data from api
Work checklist

[x] Tests added where applicable
[ ] UI changes look good on mobile
[x] UI changes meet accessibility criteria

Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

CI: No security warnings found

CI: No security warnings found


typescript 中的 模板字符串 中第一个表达式总是无法获取到变量提示

VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:20:36.315Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Steps to Reproduce:
1.输入 es6 模板字符串 ``
2.在其中插入变量 ${ x } , 在 x 区域获取不到提示

Can you manually trigger suggestions in the string using ctrl + space?

@mjbvz Thanks , it's hulepful .
Before  the 1.1 version, I just type is enough , I want to know how can I do to be like before .

This is a duplicate of #23962 To replicate the old behavior, try:
"editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": true
    }


Adding the conformance metata task for the k8s deployment specs

The changes on this PR are included in #476 . I am closing this one.


doc: Documentation lacking in 'services/crypto/index'

Describe the bug
The list of included Cryptographic libraries is outdated: as I understood MbedTLS is now also supported?
Environment

Page: services/crypto/index
Version: main
SHA-1: fb892e0fbf62a4d9ba4c27bb7a16f2a4668c03e4

Indeed, only TinyCrypt was listed. This was recently updated with the PSA Crypto adoption.
This issue is no longer needed. @ielpo thanks for reporting it !


core client allows continuing to use findOne, update on client side

Suggestion to separate core client from core to allow to continue to use findOne and update on client side in synchronous mode, this prevents many changes that do not bring any value and maintains readibility by avoiding to introduce the FilesCollection.collection.findOne pattern

Ok, got the idea. I guess we should we keep the *Async methods in the client as well? And mark the synchronous methods on the client with Locus Client, since the will not be isomorphic.


Modbus slave always returns value 0

Hi team,
Thanks for the lovely tool.
I suspect there is an issue in Modbus slave.
The address 4918 is 0x1336 in the communication log. So this is correct.
I did click Apply button.
However, the tool returns 00 00 instead of 12 34.
Please help to advice.
Thanks a lot.

I guess the Apply button doesn't save the register value.

Hi @IoTThinks,
Have you tried start address of "4918"?

Really.
Ok let me try later today.

Address 4918 works!!!


Snippet completion for DirectiveAttributes

Describe the bug:
In https://github.com/dotnet/razor-tooling/issues/4436 we added support for Snippet completion of HTML and Component attributes. To complete the feature we need to do the same thing for DirectiveAttribute completion. That gets complicated though since some DirectiveAttributes like @bind don't go directly into @bind="|", but rather @bind:<someOtherString>, which may in turn go into a ="|".

If we get enough feedback in this area we will raise the priority of fixing this sooner.


Tropico Mouse Scaling Native Resolution Issue

I have Tropico set up to use Dd7to9 with the following:
Dd7to9=1
DdrawFixByteAlignment=1
DdrawUseNativeResolution=1
DdrawIntegerScalingClamp=1
DdrawMaintainAspectRatio=1
And it creates a window fine, but when I move the mouse around, the menu is interacting as if there's a small area in the top left corner (like 0,0 to 640,480px or 800,600px) of the screen that's the active mouse area where I'll move the mouse around and it will select menu items. Actually moving my mouse over the menu items does not select them. So it looks like the screen-space range for my mouse is not scaling up to my computer's full native resolution (2560x1440px) + 4:3 aspect ratio + Intscaling with those settings.

Blue Circle is where mouse cursor is when "Exit" is selected.

I believe this is the same issue reported in #176.  The fix for this is to hook the mouse cursor and adjust it to scale to the new screen resolution.  I am not really planning to fix this anytime soon.  dxwrapper has only best effort support for scaling.  Best to run this game in the game's supported resolution.

Closing this as duplicate of #176


refactor: include vue as a webjar, update uPortal web components

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

Includes vue in internal cdn, allows vue version to be managed by package manager, updates components with latest fixes.

It is an inconsistency between the build systems.
Vue cli builds to dist by default, Create React App builds to static/js.


change title on README

Interesting

Left reviews and line comments
Created a file and made a commit
Opened a pull request


Remove block that removes valid SSL configuration from a url.

clientSettings pulls configuration from the URL... When connecting to a url that is backed by ssl (MongoDB Atlas for example) if there is not a value for SslSettings, the required SSL configuration is forcibly removed from the configuration, which prevents the package from connecting to the SSL enabled endpoint as configured from the URL.

@diogodamiani I've had to roll back to a previous revision in nuget because the deployed version will not work with SSL enabled connection strings.

@gizmohd Thanks for the contribution! I'll check it soon, but azure-pipelines.yml is specific for your environment. It should not be included in the PR.

Removed Azure Pipelines file