auro-hyperlink: missing focus styles when inside another shadow root

Describe the bug
When auro-hyperlink is rendered in another shadow root, focus styles do not apply.
Related: https://github.com/AlaskaAirlines/auro-button/issues/97
To Reproduce
Steps to reproduce the behavior:

Create a component that renders auro-hyperlink in the shadow DOM
Attempt to tab to it. Notice that focus styles are not applied

Expected behavior
Focus styles are applied.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser: Firefox
Version: 87

Additional context
Fix should be similar to https://github.com/AlaskaAirlines/auro-button/pull/102

This update should be addressed with https://github.com/AlaskaAirlines/auro-hyperlink/issues/39

This was not resolved with the linked PR. Since auro-hyperlink is often embedded in the component hangar components, I think it's worth applying the polyfill the same way auro-button does until we decided on the polyfill support going forward.
Reference: https://github.com/AlaskaAirlines/auro-button/pull/118

:tada: This issue has been resolved in version 2.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


enable-upload-power for ZNCZ01ZM

The power status will only be reported every time the switch is turned on. So this switch is very useful, and it needs to be turned on once by automation, and the status will be reported once.
It would be better if this custom_components can automatically time the operation.
https://github.com/AlexxIT/XiaomiGateway3/issues/866
https://github.com/AlexxIT/XiaomiGateway3/issues/188

Than add automation as:
alias: Xiaomi Bluetooth mesh outlet reports power by activates every 30 seconds
description: ""
trigger:
  - platform: time_pattern
    seconds: /30
condition: []
action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id:
        - switch.28d12736123a_enable_upload_power
mode: single

Thanks! So we need to "ping" this attribute every X seconds?
Looks like it acts like a "request" service. Not like a switch.

Than add automation as:
alias: Xiaomi Bluetooth mesh outlet reports power by activates every 30 seconds
description: ""
trigger:
  - platform: time_pattern
    seconds: /30
condition: []
action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id:
        - switch.28d12736123a_enable_upload_power
mode: single

I added this automation in HA ,But the power consumption data didn't update.

Than add automation as:
alias: Xiaomi Bluetooth mesh outlet reports power by activates every 30 seconds
description: ""
trigger:
  - platform: time_pattern
    seconds: /30
condition: []
action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id:
        - switch.28d12736123a_enable_upload_power
mode: single

I added this automation in HA ,But the power consumption data didn't update.

Refer to:
https://bbs.hassbian.com/forum.php?mod=redirect&goto=findpost&ptid=19042&pid=502406

It works now.
Thank you @dscao

Than add automation as:
alias: Xiaomi Bluetooth mesh outlet reports power by activates every 30 seconds
description: ""
trigger:
  - platform: time_pattern
    seconds: /30
condition: []
action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id:
        - switch.28d12736123a_enable_upload_power
mode: single

I added this automation in HA ,But the power consumption data didn't update.

Refer to: https://bbs.hassbian.com/forum.php?mod=redirect&goto=findpost&ptid=19042&pid=502406

Thanks @dscao.

This issue seems to have not been resolved in the latest version .

There is no this switch in latest release

After the new firmware (2.1.1_0089) was released for this device, it can report the power data normally, so there's no need to do any more operations to trigger it.
Simply add this switch was okey, as it is defined in spec, or maybe even better with enabled=False.


Undefined property $maxDepth JsonFormatter

Monolog version 1
Getting this error when try to use Json Formatter
ErrorException: Undefined property: Monolog\Formatter\JsonFormatter::$maxDepth in /var/www/html/vendor/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php:147

it's happen after this changes release https://github.com/Seldaek/monolog/pull/1633

It is weird because the maxDepth property exists in https://github.com/Seldaek/monolog/blob/1.x/src/Monolog/Formatter/NormalizerFormatter.php#L27 which is the parent class to JsonFormatter. Do you see something else in your vendor dir? Do you perhaps have multiple monolog versions or multiple vendor dirs running concurrently on the same project?

I am checking the whole project folder and seems like we only use this "monolog/monolog": "~1.11"
but yeah it's weird because just noticed this error only happen in the docker container but looks fine with using XAMPP
The App is using php 7.2.3 and Laravel 5.2


fix: ignores vulnerabilities without upgrade paths

Impact: minor
Type: chore

This just ignores some snyk vulnerabilities in the package subdir

🚀 Preview deployed
Built with commit 3263afb5e57fec4f5da7a150e50d126081d9bd9b
https://deploy-preview-436--stoic-hodgkin-c0179e.netlify.com

🚀 Preview deployed
Built with commit 9612d261b3fcff3d98a44a563eace7c3f8e849f3
https://deploy-preview-436--stoic-hodgkin-c0179e.netlify.com

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Get notification about transactions

Hi everybody,
How can I get notification about my wallet address's transactions once a new one come or exists one's status is changed?
Best regards,
Hai

Hi again @hainguyen291:
You can try with ./omnicore-cli  omni_gettransaction   to watching tour transactions status. It is what you want right?

Hi Santos,
I want to know trans's history of a wallet. In reallity, when you make a
raw transaction, it takes time to be completed. Can you tell me the flow of
transaction's status from the beginning? Are there any way to get
notification once tran's status are changed during its life cycle?
Regards,
Hai
On Fri, Oct 19, 2018 at 1:19 AM Santos<EMAIL_ADDRESS>wrote:

Hi again @hainguyen291 https://github.com/hainguyen291:
You can try with ./omnicore-cli omni_gettransaction to watching tour
transactions status. It is what you want right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OmniLayer/omnicore/issues/803#issuecomment-431110509,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMDkvxSlfCljunT01vBn7uB5N6GVkrJlks5umMYcgaJpZM4XtiNg
.

Can I use this command: *omni_gettradehistoryforaddress" to get history of transactions for a address?
I tried to run this command as: omni_gettradehistoryforaddress 197Kir2psnjrTFwx8R9cUnmVCUFeUgCNxS
This address I got from this transaction:

However, I got an empty array instead of some information about this
address's transaction.

Hi Santos,
Ok, I got your point. For sending coins in system, it mentions that we can
use either omni_send function or creating rawtransaction. How are they
different? What should I use, or should use it case by case?
Best regards,
Hai
On Mon, Oct 22, 2018 at 10:12 AM Santos<EMAIL_ADDRESS>wrote:

Hi @hainguyen291 https://github.com/hainguyen291 :
If you want to see the transactions of your wallet you can use this
command:
https://github.com/OmniLayer/omnicore/blob/master/src/omnicore/rpc.cpp#L1934
Command omni_gettradehistoryforaddress only gives your trades on the
metadex (the metacoins exchange). I hope this help you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OmniLayer/omnicore/issues/803#issuecomment-431730572,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMDkv6lyPP8Oaqx2qS1KplDIbVq-smf9ks5unTeHgaJpZM4XtiNg
.

Chào anh @hainguyen291
Em cũng đang làm về dịch vụ ví của usdt. Anh đang muốn hỏi về vấn đề lắng nghe 1 giao dịch khi nó pending và complete đúng không ạ? Em đã giải quyết được vấn đề này bằng các sử dụng 1 thư viện của bitcoin. Anh có thể cho em thông tin của anh, em sẽ nói rõ ràng hơn. Rất vui khi được trao đổi, trau dồi kinh nghiệm với anh!
Trân trọng,
Hung


NIH DEBUT Competition - Due May 31st

-6 page proposal
-2 minute video
-evidence of working prototype
-demonstrate this is marketable (ie researchers/pharma/clinicians have a need for this)

done


Apply failing when setting values for common_tags

When using iascable version 2.20.0 (also earlier) and adding a common_tag global variable - c.f. https://github.com/terraform-ibm-modules/terraform-ibm-toolkit-ocp-vpc/issues/96 there are problems when applying the configuration.
Example BOM
apiVersion: cloud.ibm.com/v1alpha1
kind: BillOfMaterial
metadata:
  name: test-ibm-vpc-openshift
  labels:
    type: infrastructure
    platform: ibm
    code: '100'
  annotations:
    displayName: IBM VPC OpenShift
    description: IBM VPC and public Red Hat OpenShift server
spec:
  modules:
    - name: ibm-resource-group
    - name: ibm-vpc
    - name: ibm-vpc-gateways
    - name: ibm-vpc-subnets
      default: true
      alias: cluster_subnets
      variables:
        - name: _count
          value: 1
    - name: ibm-ocp-vpc
      variables:
        - name: name
          value: tor-demo
        - name: worker_count
          value: 4
        - name: flavor
          value: bx2.16x64
        - name: force_delete_storage
          value: true
        - name: ocp_version
          value: "4.10"
    - name: ibm-log-analysis
    - name: ibm-cloud-monitoring
    - name: ibm-log-analysis-bind
    - name: ibm-cloud-monitoring-bind
    - name: ibm-activity-tracker
  variables:
    - name: name_prefix
      value: tor-swetest
    - name: resource_group_name
      value: timro-rg
    - name: region
      value: ca-tor
    - name: tags
      value: ["owner:timro","taztesting"]
    - name: common_tags
      value: ["foobar"]

convert to terraform using: iascable build -i test-ibm-vpc-openshift.yaml then change to output folder and run ./launch.sh
after running apply.sh the resultant variables.yaml:
variables:
  - name: ibmcloud_api_key
    value: REDACTED
  - name: region
    value: ca-tor
  - name: name_prefix
    value: tor-swetest
  - name: resource_group_name
    value: timro-rg
  - name: common_tags
    value:
      - foobar
  - name: cluster_subnets__count
    value: 1
  - name: worker_count
    value: 4
  - name: cluster_flavor
    value: bx2.16x64

with terraform.tfvars containing:
ibmcloud_api_key = "REDACTED"
region = "ca-tor"
name_prefix = "tor-swetest"
resource_group_name = "timro-rg"
common_tags = "- foobar"
cluster_subnets__count = "1"
worker_count = "4"
cluster_flavor = "bx2.16x64"

Terraform apply is failing with errors of the form:
commands will detect it and remind you to do so if necessary.
module.cluster.data.external.dirs: Reading...
module.cluster.data.external.dirs: Read complete after 0s [id=-]
╷
│ Warning: Experimental feature "module_variable_optional_attrs" is active
│
│   on .terraform/modules/cluster_subnets/version.tf line 10, in terraform:
│   10:   experiments = [module_variable_optional_attrs]
│
│ Experimental features are subject to breaking changes in future minor or patch releases, based on feedback.
│
│ If you have feedback on the design of this feature, please open a GitHub issue to discuss it.
╵
╷
│ Warning: Attribute Deprecated
│
│   with module.cos.module.clis.random_string.uuid,
│   on .terraform/modules/cos.clis/main.tf line 15, in resource "random_string" "uuid":
│   15:   number  = false
│
│ **NOTE**: This is deprecated, use `numeric` instead.
│
│ (and one more similar warning elsewhere)
╵
╷
│ Error: Error in function call
│
│   on main.tf line 5, in module "cluster":
│    5:   common_tags = var.common_tags == null ? null : jsondecode(var.common_tags)
│     ├────────────────
│     │ var.common_tags is "- foobar"
│
│ Call to function "jsondecode" failed: invalid character ' ' in numeric literal.
╵
╷
│ Error: Error in function call
│
│   on main.tf line 36, in module "cluster_subnets":
│   36:   common_tags = var.common_tags == null ? null : jsondecode(var.common_tags)
│     ├────────────────
│     │ var.common_tags is "- foobar"
│
│ Call to function "jsondecode" failed: invalid character ' ' in numeric literal.
╵
╷
│ Error: Error in function call
│
│   on main.tf line 52, in module "cos":
│   52:   common_tags = var.common_tags == null ? null : jsondecode(var.common_tags)
│     ├────────────────
│     │ var.common_tags is "- foobar"
│
│ Call to function "jsondecode" failed: invalid character ' ' in numeric literal.
╵
╷
│ Error: Error in function call
│
│   on main.tf line 94, in module "ibm-vpc":
│   94:   common_tags = var.common_tags == null ? null : jsondecode(var.common_tags)
│     ├────────────────
│     │ var.common_tags is "- foobar"
│
│ Call to function "jsondecode" failed: invalid character ' ' in numeric literal.
╵
╷
│ Error: Error in function call
│
│   on main.tf line 107, in module "ibm-vpc-gateways":
│  107:   common_tags = var.common_tags == null ? null : jsondecode(var.common_tags)
│     ├────────────────
│     │ var.common_tags is "- foobar"
│
│ Call to function "jsondecode" failed: invalid character ' ' in numeric literal.

It appears that there is missing support in the apply.sh script to be working with the tfvars file a json instead of simple key string value pairs at the current time.

@balasgit FYI

thanks @timroster - keep me posted after it gets resolved as i will try

@seansund when I am using the launch.sh and apply.sh that comes out from the iascable run I am seeing the terraform.tfvars looking different:
ibmcloud_api_key = "REDACTED"
region = "ca-tor"
name_prefix = "tor-swetest"
resource_group_name = "timro-rg"
common_tags = "- owner:timro
- ctagtest"
cluster_subnets__count = "1"
worker_count = "4"
cluster_flavor = "bx2.16x64"

whereas variables.yaml is like your example above:
variables:
  - name: ibmcloud_api_key
    value: REDACTED
  - name: region
    value: ca-tor
  - name: name_prefix
    value: tor-swetest
  - name: resource_group_name
    value: timro-rg
  - name: common_tags
    value:
      - owner:timro
      - ctagtest
  - name: cluster_subnets__count
    value: 1
  - name: worker_count
    value: 4
  - name: cluster_flavor
    value: bx2.16x64

launch.sh is selecting this container image: quay.io/cloudnativetoolkit/cli-tools:v1.2-v2.2.11 and the container image process is running as devops. No errors from the apply script (I just accepted w/o edit the proposed value for common_images):
./apply.sh
Variables can be provided in a yaml file passed as the first argument

Provide a value for 'ibmcloud_api_key':
  The IBM Cloud api key
> REDACTED
Provide a value for 'region':
  Geographic location of the resource (e.g. us-south, us-east)
> (ca-tor)
Provide a value for 'name_prefix':
  The prefix name for the service. If not provided it will default to the resource group name
> (tor-swetest)
Provide a value for 'resource_group_name':
  The name of the resource group
> (timro-rg)
Provide a value for 'common_tags':
  Common tags that should be added to the instance
> (- owner:timro
- ctagtest)
Provide a value for 'cluster_subnets__count':
  The number of subnets that should be provisioned
> (1)
Provide a value for 'worker_count':
  The number of worker nodes that should be provisioned for classic infrastructure
> (4)
Provide a value for 'cluster_flavor':
  The machine type that will be provisioned for classic infrastructure
> (bx2.16x64)
There are some problems with the CLI configuration:
╷
│ Error: The specified plugin cache dir /home/devops/.terraform.d/plugin-cache cannot be opened: stat /home/devops/.terraform.d/plugin-cache: no such file or directory
│
╵
...

@seansund - it looks like the problem is in the initial processing of the generated bom.yaml in a first pass of running apply.sh. In this phase, it is before the variables.yaml file exists and it looks like the logic intended to handle complex types is not working as expected.
If after the apply fails with the error I have above, when I repeat the apply.sh with the existing variables.yaml, then the complex value gets rendered out into the terraform.tfvars file:
ibmcloud_api_key = "REDACTED"
region = "ca-tor"
name_prefix = "tor-swetest"
resource_group_name = "timro-rg"
common_tags = "[\"owner:timro\",\"ctagtest\"]"
cluster_subnets__count = "1"
worker_count = "4"
cluster_flavor = "bx2.16x64"


[pr deploy] Add cloud build

Now you can trigger a deployment by pushing a tag described in the DEPLOYMENT doc

I haven't bothered to add it because it doesn't work on macOS and it's a simple git command.

I haven't bothered to add it because it doesn't work on macOS and it's a simple git command.

I haven't bothered to add it because it doesn't work on macOS and it's a simple git command.

Gotcha. The command was fixed for macOS in #1144. Agree, it isn't critical to add.

I haven't bothered to add it because it doesn't work on macOS and it's a simple git command.

Gotcha. The command was fixed for macOS in #1144. Agree, it isn't critical to add.


Add feature to manually exchange ids/ contacts

Many people complain about older phones not being able to use the app. Even though statistically this should be true for only about 5% of smartphones why not add a feature to manually exchange contacts?
For example display the current id as QR-Code on your phone and other people in the room can scan this code to add to their list of contacts met. Of course this does not work if meeting spontaneously, e.g. in the bus. But for sure it works if you meet people for some time, say at a small private gathering, where you do not know everyone closely to track the chain of infection if needed.
Privacy wise you know this person afterwards and can in theory track down their ID.  Contact tracking is therefore as much automated as possible, even with older phonse or with phones being outside the rooms in some bags most of the time.
Any thoughts on this?

Contact via QR code is a good idea.

I thought this part of the system is a black box. Is it even possible to get the current RPI?
Also: QR-Code scanning reduces distance between users, which is bad (e. g. touching each others smartphones, which is not healthy, even outside of a pandemic).


Verify if these are 'and' or 'or' statements

Verify if these are 'and' or 'or' statements
The hybrid deployment model is for organizations that:

Are federated with Azure Active Directory (or/and;?)
Have identities synchronized to Azure Active Directory using Azure Active Directory Connect (or/and;?)
Use applications hosted in Azure Active Directory, and want a single sign-in user experience for both on-premises and Azure Active Directory resources (or/and;?)

i.e. are they mutually exclusive or all three need to be in place to be able to implement the hybrid deployment model?

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

ID: 5739fab2-c6db-a7a9-b0e7-2bf4b85912a7
Version Independent ID: 82c58053-c1d7-d938-1b0f-f3f7f70ada3b
Content: Planning a Windows Hello for Business Deployment - Windows security
Content Source: windows/security/identity-protection/hello-for-business/hello-planning-guide.md
Product: m365-security
GitHub Login: @Gitprakhar13
Microsoft Alias: prsriva

@msbemba Thank you very much for the contribution and sharing this explanation. @hodders73 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Modernises CMake codebase wide

Thank you to my collaborators ;~)
It configures and builds. Thanks to some cajoling from @Bidski and a little magic from armadillo, the arma issues we were having disappeared. :shrug:

I realised that this is passing build generic and test on the buildkite pipeline, but it's only actually running the shared tests. It's not running our empty module test files, or the filewatcher tests either.

I fixed the tests issue and responded to your reviews, so it should be ready for review once again.

@TrentHouliston can your review be dismissed?

damn merge conflicts dismissed the reviews :disappointed:


Update NavigateRoute.qrc

@JamesMBallard please review. While testing I noticed these files were missing from QRC which resulted in the h/cpp files not showing up in the viewer

cc @sbiswas96


Using vscode with Jupyter extension, how to find/replace text within a notebook cell

In Jupyter Lab and Notebook web UI, it is possible to find and replace in the selected cell or entire notebook.
How to instruct vscode to replace only in the selected cell?
https://stackoverflow.com/questions/70043037/using-vscode-with-jupyter-extension-how-to-find-replace-text-within-a-notebook

@lgonzalezsa thanks for your feedback, this can be a great addition to the new filter UX we introduced for the find widget

Awesome!

@rebornix Why not just make it so that you search within the current selection?
If you're focusing a cell, you search the cell.
If you're focusing the notebook, you search the notebook.

Hi any update ?

Wanting update +1

+1. This would be really helpful!

This is going to be huge help!

The solution that I am using :

Select one occurrence of the text that you want to change.
Press Ctrl+Shift+L, to select all occurrences of current selection.
Then start editing all selection occurrences at the same time.

The solution that I am using :

Select one occurrence of the text that you want to change.
Press Ctrl+Shift+L, to select all occurrences of current selection.
Then start editing all selection occurrences at the same time.

The other way is to use Alt+Click of the mouse on all areas you want to edit at the same time if Ctrl+Shift+L ends up selecting beyond parts which you wish to edit.
For the VS Code solution to this problem, I think we need the find/replace function to have the option of restricting it to the selected text instead of just confining it to the selected cell as the prior option can also easily achieve the selected cell option. Of course, having both options is even better.

If I want to restrict my selection I don't use the mouse (as it's not easy, and takes too much time), I simply select the occurrence then keep pressing Ctrl+D to select only the next occurrence.

The solution that I am using :

Select one occurrence of the text that you want to change.
Press Ctrl+Shift+L, to select all occurrences of current selection.
Then start editing all selection occurrences at the same time.

The other way is to use Alt+Click of the mouse on all areas you want to edit at the same time if Ctrl+Shift+L ends up selecting beyond parts which you wish to edit.
For the VS Code solution to this problem, I think we need the find/replace function to have the option of restricting it to the selected text instead of just confining it to the selected cell as the prior option can also easily achieve the selected cell option. Of course, having both options is even better.

If I want to restrict my selection I don't use the mouse (as it's not easy, and takes too much time), I simply select the occurrence then keep pressing Ctrl+D to select only the next occurrence.

I learned from https://stackoverflow.com/a/73109147/1729896 that using F3 enables the find and replace for the cell, just what I need, hope this helps others.
CTRL-D also is a nice feature. Closing for now.

See also #121218


Missing Azure Databricks Linked Service Properties

As per the ADF UI, I can see that Data bricks supports Integration Runtime property too, but it is not mentioned anywhere here or in detail configurations if SHIR is being used, what authentication or firewall needs to be setup on ADF or on databricks.

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

ID: 794a72a8-f145-dad9-1f80-16d8ce0b587a
Version Independent ID: be745cc3-bda5-ff52-e390-324c2a429155
Content: Compute environments - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/compute-linked-services.md
Service: data-factory
Sub-service: concepts
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@SUNNUWORKS
Thanks for your feedback! We will investigate and update as appropriate.

@nabhishek
could you please review this and update as appropriate.

@SUNNUWORKS
Thank you for bringing this to our attention. I've assigned this issue to the author who will investigate and update as appropriate.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


ENOENT Error when attempting to run "npm install grpc"

What version of gRPC and what language are you using?
N/A
What operating system (Linux, Windows, …) and version?
macOS running Ubuntu 14.04.5 LTS on Vagrant
What runtime / compiler are you using (e.g. python version or version of gcc)
N/A
What did you do?
Tried to do an npm install grpc.
What did you expect to see?
For grpc to be in the list of installed npm packages.
What did you see instead?
npm ERR! argv "/home/vagrant/.nvm/versions/node/v6.11.1/bin/node" "/home/vagrant/.nvm/versions/node/v6.11.1/bin/npm" "i" "grpc"
npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! path /home/vagrant/src/[project repo]/node_modules/grpc/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/home/vagrant/src/[project repo]/node_modules/grpc/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/vagrant/src/[project repo]/node_modules/grpc/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

Updating npm to version 5.4.2 seemed to have solved this issue.


DS IN _udp.miek.nl returns "No such zone". Is this corrrect?

Oct 18 17:35:24 deb coredns[4753]: 2016/10/18 17:35:24 [INFO] "DS IN _udp.miek.nl." - No such zone at :53 (Remote: <IP_ADDRESS>:11906)
Not sure if the above 'No such zone' is the correct response here.

There is DS logic in routing the query, but this means it would still end-up in miek.nl.

Done with merging #344


URL issues on multisite

I have recently set up my first multisite with Bedrock, and I have encountered several issues where the URLs are not correct. After some investigation, I figured that the issues are a result of a problem in WordPress Core - in some places it does not honor the site URL setting. This is no problem with a regular WP install, but when WordPress is installed in a subdirectory as it is in Bedrock, the site URL is different from the home URL.
The most significant problem is that some areas in the network admin will direct me to /wp-admin instead of /wp/wp-admin, for example when you're on the My Sites section and click on "Edit Site".
To be clear, this is not a Bedrock bug, but I think it would be great if Bedrock provided a fix for it, so that other people do not run into this problem. While there are ways to workaround this with nginx / htaccess rewrites, I'd prefer to actually fix it from the code site. As of now, I have fixed these issues on my site, so I'll create a pull-request with my approach.
Btw I also created a ticket on Core Trac, the first responses told me that WP doesn't officially support this - so not sure whether there will be a Core fix soon.

x-ref: https://core.trac.wordpress.org/ticket/36507

I've created multisite using bedrock, I've messed around with configs and options saved in DB and everything seems to work fine, all urls redirect correctly.

This is example .htaccess I shipped with project.

Btw, I'm including this info for someone who might end up here before your fixes are merged! I'm not suggesting this as a better solution or smth, your PR is awesome.

Adding
$url .= 'wp/';

To network_site_url function in link-template.php fixes it, but that's obviously not a correct fix.
For now what I did was use the network_site_url filter to fix the urls.

@sandrodz do you have your example .htaccess and nginx configs above in a gist or webpage so that they can be easily cut and pasted?

@henscu no, but I can provide them. I didn't think it would be useful :) I have a very nice docker dev env for wp and laravel with respective nginx configs - I'm planning to share it soon - it contains correct configs for multisite too.

@sandrodz that would be great. I'm also working on getting my Docker env going, and am looking at the entire workflow from initial generation of WP database & code in Vagrant using Trellis, then migrating the db from inside Vagrant to use with Docker and merging upstream changes from Trellis etc... I'm not sure if anyone else has done this yet...

From https://github.com/roots/bedrock/pull/251:

I think this should be a separate plugin/package. Although the problem happens with Bedrock, it's a WP but not a Bedrock one.

If this was a standalone package, Bedrock could require or at least recommend it.

Hi all, I'm just going to leave this link here: https://github.com/felixarntz/multisite-fixes/blob/master/mu-plugins/wpms-site-url-fixer.php
It's not mine, but it works well for me. I've tried many times to get multisite (subdomain) + bedrock working on a managed WP host (I'm with Kinsta) with no luck, but after another 6 hours of tearing my hair out today, I stumbled across this.
Simply add it as an mu-plugin and define a constant in application.php for
define('WP_CORE_DIRECTORY', 'wp');
and that's it.

@smarterdigitalltd I specifically wrote this with Bedrock in mind :)

Hey everyone! I've finally had a chance to take a look at this ticket. Please check out https://github.com/roots/multisite-url-fixer and see if it works for you 😄  - it's working on my multisite for sure right now. If in fact it's working for everyone, I'll add it to packagist and to the bedrock multisite docs. Would love feedback ASAP.
Thanks again to @felixarntz for the og code (hi Felix!!).

Very happy to read that this is now in official hands - thanks @JulienMelissas! :)

Im getting

Not Found The requested URL /wp-signup.php was not found on this server.

with
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', env('DOMAIN'));
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

Whenever I activate that plugin and use that config. Is there a guided tutorial somewhere to get multisite up n running with bedrock?

@JulienMelissas The new plugin seems to be working for me. One question though… in @felixarntz's original repo, it says:

Everything here should only be used for subdomain (or domain) setups. Do not use with subdirectory setups!

Does this still apply? Thanks in advance.

@greatislander, we're working on that over here: https://github.com/roots/multisite-url-fixer/pull/2/
Would you be willing to test? Would be a great help for me and maybe I could then close out these issues and finish this all up! Thanks.

@JulienMelissas will do 👍

Thanks for the feedback and testing @greatislander! I'm going to close this now with the solution of people using https://github.com/roots/multisite-url-fixer. Bedrock Docs are coming.

@Preen - regarding your issue, can you please make a thread on Discourse and maybe someone can help you there? I think your issue might lie in define('DOMAIN_CURRENT_SITE', env('DOMAIN'));.


Fixed init when applying on store load

Hello,
I had some troubles with ext 6.5 and ajax loaded trees.
Could not find out exactly why the event was called on the view itself, but changing it to the plugin fixed it for me. By the way supplying the scope through the options array at the event attachment did not work for me.
Thanks for sharing the plugin!

Thank you!


Average lag distance

Hi
Another suggestion that I think that would help variogram calculations. Would you consider using as the abscissa the average of h inside that lag instead of fixing the mid point between lag limits? Would help specially for large bins with irregular spaced data, pointing if the variogram vlaue is closer to upper or lower lag bound. It'd be necessary to add to the search_accum functions an extra dist array to accumulate h values and then average in the end like the other arrays. But not sure if having irregular spaced points could affect some of the others processes of the package, I did not try to make the changes locally yet but I can test and send a PR if you're ok with that.
By the way, I made some quick tests with foldxd, but foldxt gave better results indeed for partition variogram

Do you feel that allowing for more flexible abscissa would improve the estimates considerably? It seems like a reasonable request, but I wonder how much we would gain in practice. If it is something that you have investigated in a previous paper or work, that would be nice to investigate more carefully. You are particularly worried about small lags right? I share this feeling that having an abscissa near the origin could help a bit.
Thanks for sharing about foldxt and foldxd. :+1: Also, feel free to open these issues in the main GeoStats.jl repo. We are using the repo there to centralize all discussions around the project.

Sorry, I'll centralize the next ones in the GeoStats.jl :+1:
In GSLIB is made that way, for example. Since most commercial geostats softwares were based on GSLIB, they also followed that. I think that for clustered and irregular data it really seems more correct, but I'm not familiar of some paper comparing both approaches

Id be happy to review a PR. Thanks for suggesting the improvement. :)
On Mon, Sep 7, 2020, 11:23 Rafael Caixeta<EMAIL_ADDRESS>wrote:

Sorry, I'll centralize the next ones in the GeoStats.jl 👍
In GSLIB is made that way, for example. Since most commercial geostats
softwares were based on GSLIB, they also followed that. I think that for
clustered and irregular data it really seems more correct, but I'm not
familiar of some paper comparing both approaches
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JuliaEarth/Variography.jl/issues/27#issuecomment-688358363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZQW3LWZEBKM4OIDFYO2ODSETUHBANCNFSM4Q6HKIIA
.


Bugfix release

Issue #43 talks about the next major release (in it you mention 3.0, but seeing the current releases that should be 2.0 I think?). However there are a number of commits that contain important bug fixes since the last release, which are not available if you want to use semver in a project.
Until 2.0/3.0 is out, could you tag a new patch release (1.2.2) with the bugfixes?

:+1: I need bitcoin support.

I will review the changes and tag a release, hopefully this week.

@sagikazarmark Thanks.

Tagged v1.3.0

Thanks!


list search and typo fixes

Docs Build status updates of commit b36e2e9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/list-search-template.png
:white_check_mark:Succeeded

msteams-platform/concepts/bots/bot-conversations/bots-conv-channel.md
:white_check_mark:Succeeded

msteams-platform/includes/landing-page.html
:white_check_mark:Succeeded

msteams-platform/samples/app-templates.md
:white_check_mark:Succeeded

msteams-platform/share-to-teams.md
:white_check_mark:Succeeded

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


Wireframe: News article (UP)

User story
As a ReportStream prospective/current user, I want the website content to be up-to-date, accurate and timely so I can  trust the information to inform my decisions in my relationship with ReportStream.
Background & context
This ticket captures the work of putting together the News article (UP) using the detail page template for dev ready handoff.
Working links

Figma: Working file
Content doc: News article

Acceptance criteria
Design

[x] Design includes latest content updates
[x] Capture questions that come up during the content and design work in the Website redesign research plan

Review

[x] Reviewed with design and/or design lead
[x] Reviewed with content strategist for final approval
[x] Reviewed with product and engineering

Follow up ticket needed: To update content

Reviews are complete! Closing it since the design is done. Will need to create a new ticket to capture updating content when that's ready
cc: @audreykwr @chris-kuryak @jillian-hammer
Moved the completed layout/design to page on Figma as we wait on content to be finalized "On hold: News"


Speed and binary size of this library?

Hi thanks for this wonderful lib! I wonder (1) how fast is it, and (2) how big is the generated binary executable, compared with traditional libpng? Thank you!

Like any rust code that has a few generic structs, and links against std, it depends quite a lot on compilation options and the use. If you can avoid too many instantiations then the size is probably ~100 kB extra above the baseline of just linking against std? Honestly I can't say that I've evaluate that specifically you'll just need to try. Speed is at least comparable to libpng. Issues is also not a Q&A, we have gitter/Elements for this: https://app.element.io/#/room/#image-rs_image:gitter.im

@HeroicKatora Thank you for your reply!

If you can avoid too many instantiations then the size is probably ~100 kB extra above the baseline of just linking against std? Honestly I can't say that I've evaluate that specifically you'll just need to try.

I will try it and thank you.

Speed is at least comparable to libpng.

Wow that is not slow!


Move differences between Blockstack and X into Docs

https://forum.blockstack.org/t/what-is-the-difference-between-blockstack-and-ethereum/781

This is done in the latest FAQS.


Fix for the build for github actions hook

#11

@navyakanu amazing job.
The Maven is now building and testing successfully.
Thanks for your contribution 😄


LLMBar metrics on newer models

LLMBar metrics on newer models, esp. GPT-4o, GPT-4o-mini, Claude 3.5 sonnet, Llama-3.1-8B-Instruct, Llama-3.1-70B-Instruct, Llama-Guard-3-8B, Llama-Guard-3-8B-INT8, gemma-2-2b-it, gemma-2-9b-it, would be awesome.
Are these results available somewhere? Or is there LLMBar running online somewhere, like LMEval?
Why does the README.md say {base_llm} is one of GPT-4, ChatGPT, LLaMA2, PaLM2, Falcon, and ChatGPT-0301.?

Hi @DavidFarago, thank you for your interest and for your questions! Unfortunately, we have not yet added results for the newer models you mentioned -- apologies for that.
We noticed that LLMBar has been incorporated into RewardBench. You can view the results of LLM evaluators (including many newer models you mentioned) by looking at the models with "Generative" as their "Model Type". Please note that they may have used different prompts than ours, so their results should not be directly compared to ours; but you can always compare different models within their results.


About performance evaluation

Hi @JayjeetAtGithub ,
I'm evaluating rados-parquet performance. I tested on 4 virtual machines. It's not good for benchmarking, but I did find some issues I cannot explain. Would like to hear your comments.
Host server is installed with 64 Xeon(R) Gold 5218 cores and 128G ram. I launched 4 VMs with 8 core and 16G ram each. One VM as client, and another 3 VMs as Ceph OSD+Monitor.
Running bench.py [1], I see rados-parquet performance is much worse than parquet for all selection ratios.
But I didn't see any resource bottleneck on the test VMs and host. CPU, memory, disk, network are all of low usage.
It's a bit strange why rados-paquet is running slow in this test setup. What's the possible tuning strategy I can try?
Test log
rados-parquet
root@cyb-arrow-ceph-client:~/deploy-arrow-ceph# python3 bench.py rpq 1 /mnt/cephfs/dataset/ 8 /tmp/log
13.305527687072754
15.515159845352173
16.06674361228943
13.13004755973816
12.211894512176514
9.538312673568726
8.966675281524658
7.932516098022461

parquet
root@cyb-arrow-ceph-client:~/deploy-arrow-ceph# python3 bench.py pq 1 /mnt/cephfs/dataset/ 8 /tmp/log
5.550771474838257
6.440531253814697
6.137850284576416
5.772816896438599
5.683987140655518
5.299044370651245
5.263920068740845
4.919328689575195

[1] https://github.com/JayjeetAtGithub/skyhook-nsdi/blob/master/bench.py
Yibo

@cyb70289 Sorry for the late reply. Can you tell a bit more about the dataset you used? Like how many files you had. I am guessing you used the 128 MB file I sent you.

Yes, I'm using the 128MB file. I generated 40 files under cephfs.

FYI, I built binaries from your Arrow PR, not from this repo. Build type is Release.

@cyb70289 These are some results on my setup with 4 OSDs (bare-metals, 16 logical cores, 64 GB DRAM), 3 MONs (bare-metals, 16 logical cores, 64 GB DRAM), and a single client. The network is 10Gb/s and every OSD is on an NVMe drive. Talking about the Ceph configuration, my cephfs_data pool has 128 PGs with replication turned on to 3 and PG autoscaling turned off.
rados-parquet
root@node0:/users/noobjc# python3 bench.py rpq 1 /mnt/cephfs/dataset 16 result_rpq.json
10.858497619628906
11.692570924758911
11.904498815536499
9.314198017120361
8.072686433792114
5.368509531021118
4.973011493682861
4.362470388412476

parquet
root@node0:/users/noobjc# python3 bench.py pq 1 /mnt/cephfs/dataset 16 result_pq.json
9.049651622772217
11.662115573883057
11.579400539398193
10.566514492034912
10.72178316116333
9.71735692024231
9.325489521026611
9.544288635253906

Can you please check the number of PGs present in your Ceph cluster? I must say, the number of PGs should follow the formula
                (OSDs * 100)
   Total PGs =  ------------
                 pool size

or else the performance is severely hampered (especially if the PGs are less than it should be according to the formula).

FYI, I built binaries from your Arrow PR, not from this repo. Build type is Release.

That should be fine. no major changes have been introduced. But for sanity, you can still try to use arrow build in release mode from arrow-master.

PG looks good on my cluster (3 osds, 3 replicas, 128 pgs, auto scale is off).
Will try 4 osds as your configuration.
A quick question, should osd op threads = 16  in /etc/ceph/ceph.conf matches your cpu cores?

A quick question, should osd op threads = 16 in /etc/ceph/ceph.conf matches your cpu cores?

Yrs, that's right.

Looks it's related to network bandwidth. I limited virtual network to lower bandwidth and see better result from rqp than pq for selection <= 25%.

@cyb70289 That sounds great, thanks a lot for sharing! I was interested, To how much did you limit the network?

@cyb70289 That sounds great, thanks a lot for sharing! I was interested, To how much did you limit the network?

Just try to simulate 10Gb network. I limited client nic to 10Gb, 4 osd nic to 2.5Gb each.


Misleading error message on t2 update for unauthenticated Tessel

This is what happens when you try to update with an unauthenticated but Wifi connected tessel:
➜  t2-cli git:(master) t2 update
INFO Looking for your Tessel...
INFO Connected to LOL.
WARN No LAN connection found. USB-only updates do not work yet. Please ensure Tessel is connected to wifi and try again

suggestion: add "connected to wifi & authenticated with t2 provision"

Agreed! Duplicate of https://github.com/tessel/t2-cli/issues/410.


How to plant cantaloup?

as title say i cant seem to plant it on uh normal farming ground. are this item limit to plant on specific biome?
are there wiki for this mod?

You plant it on grass next to water, like sugar cane

Sand.


Kivy window not showing

Versions

Python: 3.7.0a1
OS: Windows 10
Kivy: 1.11.1
Kivy installation method: https://kivy.org/doc/stable/installation/installation-windows.html

Description
I recently installed kivy, but when I run the code the output window from kivy doesn't show up and the shell doesn't seem to be showing any errors. A window doesn't show up and I've already tried to uninstall and reinstall kivy. Any ideas on how to fix this issue?
Code and Logs
I run this code:
import kivy
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
def build(self):
return Label(text = 'The test')
if name == 'main':
MyApp().run()
The python shell gives this:
RESTART: C:\Users\rana2015\Documents\Chirag stuff\Computer science\Kivy programming\No1.py
[INFO   ] [Logger      ] Record log in C:\Users\rana2015.kivy\logs\kivy_19-08-17_8.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.gstreamer" 0.1.17
[INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.1.9
[INFO   ] [deps        ] Successfully imported "kivy_deps.glew" 0.1.12
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.1.22
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "C:\Users\rana2015\AppData\Local\Programs\Python\Python37\lib\site-packages\kivy_init_.py"
[INFO   ] [Python      ] v3.7.0a1 (v3.7.0a1:8f51bb4, Sep 19 2017, 19:32:44) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "C:\Users\rana2015\AppData\Local\Programs\Python\Python37\pythonw.exe"
[INFO   ] [Factory     ] 184 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
=============================== RESTART: Shell ===============================
But nothing happens

nvm fixed it by updating python and doing a restart

Wait what did you do? I have the same exact problem. How do you do a restart?

@Jflam1
I fixed my problem by updating Python to the latest version, uninstalling and reinstalling kivy and doing a normal computer restart.
If you want to restart your computer you can follow this, https://www.lifewire.com/how-to-reboot-a-computer-2624568
Or, just turn your computer off and on.

@Jflam1 I fixed my problem by updating Python to the latest version, uninstalling and reinstalling kivy and doing a normal computer restart. If you want to restart your computer you can follow this, https://www.lifewire.com/how-to-reboot-a-computer-2624568 Or, just turn your computer off and on.

Hello ,i have a problem,when i execute a kivy script,the script runs without errors,but no window opens up ,just kivy icon in the taskbar


[Release] Stage to Main

https://github.com/adobecom/bacom-blog/pull/46

Test URLs:
N/A

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.25%. Comparing base (7ba7746) to head (812c52a).
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #47       +/-   ##
===========================================
+ Coverage   86.62%   98.25%   +11.62%
===========================================
  Files           2        2
  Lines         172      172
===========================================
+ Hits          149      169       +20
+ Misses         23        3       -20

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[bug] Lock User codes not hashed (shown in plain text in the UI and logs)

Version
Build/Run method

[X] Docker
[ ] PKG
[ ] Manually built (git clone - npm install - npm run build )

Zwave2Mqtt version: 3.0.2
Openzwave Version: 1.6.1061
Describe the bug
In a previous lock (and a previous build) - I can't be certain as only have a single lock BE469ZP where this is an issue (it wasn't on 2.x.x and using BE469).
On submitting a user code, the code is shown in plain text in the UI, and then the logs.
To Reproduce
Steps to reproduce the behavior:

Go to Node
Click on node number of the lock
Expand 'User'
Scroll down to user code 4
Type user code
submit
view debug, and logs
code is visible in plain text

Expected behavior
previously as a code was submitted it was hashed in the UI.
ie when 1234 was entered and submitted, once the lock confirmed the code was added it would show ****
Additional context
Oddly the UI is also showing user code 1 & user code 2. The default user codes used for unlocking and locking the lock that come pre-programmed. Again previously this would show '****' as you would need the manual or need to view the back of the lock (requiring it to be unscrewed from the inside).
I can not decide if this is a security risk?
I'm leaning toward it being an issue if it is in the logs as if someone shared the OZW logs it would contain user codes to that person's lock.

@jaburges Actually I treat valueIds based on theyr type (string, list, byte ecc...), how could I detect if a valueId is something that I need to hash? @Fishwaldo

There was never any hashing - In 1.4 UserCodes were treated as Binary - As when we wrote 1.4 it wasn't clear if they were ascii, binary or decimal. (due to RFID devices "abusing" the protocol). You could have easily decoded the Binary back to strings in 1.4
In 1.6, its clear UserCodes are treated as Strings, hence that's what is shown. Its upto a application to decide if they want to "hide" the codes or not. Removing them in the Logs is a LOT harder, as we log Raw packets recieved before we even know what the packet is about.

@Fishwaldo is there any command class-index should be everytime hidden? I mean I could create a function to identify values that should be hased and use an input password for them

This worked previously - not sure what changed.
The code entered would stay in the UI user code slot 1 - when the lock had accepted it, it then converted it to ****
What i'm saying is it worked before in the UI, and now it doesn't. I cant confirm this did or did not happen in the logs

@jaburges I don't convert anything to **** in the UI, there was never such support, so that was something received from OZW, if so

@robertsLando weird that it has now stopped hashing user codes.
If that is the case can you implement an optional login screen to prevent anyone on my network getting to the Z2M dashboard?
My MQTT is secured, but this is a simple way to get in.

A login screen is already in my todo list but it requires some major changes to be implemented, nothing that will come in the near future because I have very little time now. What you could do is to use nginx to create a basic authentication: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/

This worked previously - not sure what changed.
They were binary before, they are now strings in 1.6

Nothing Robert did "hashed" previously. He probably just couldn't/didn't decode binary (ValueRaw) values previously.

ok, seems like the best approach is to create a user login screen. I'll close this and check if there is already a FR


baremetal disable lvm mappings wipe additional disks

This PR disables LVM partitions so that any detected LVM partitions are not automatically
activated on bootup disrupting the installation and wipes any additional disks attached to the
machine before proceeeding
This PR is in a series of multiple PRs that will be created to ease the review/acceptance/merge of a large PR #1402

I'm not sure if it makes sense for me to review this PR. Perhaps someone more involved in maintenance should do this.


Add Python unit tests to cover new constructs

:rocket: Feature Request
General Information

[ ] :wave: I may be able to implement this feature request

[ ] :warning: This feature might incur a breaking change

Description
After running cdk init sample-app --language python some very basic unit tests are created that cover the constructs in the sample app, but as the sample app is modified no tests are included to cover the additional constructs added in the later sections of the workshop. Testing is an important part of learning a new technology, and CDK should be no exception, so including some basic examples of how to test CDK constructs in Python would be helpful to users like me who learn best by example.

Proposed Solution
Add unit tests to cover the new constructs introduced as the user progresses through the workshop.

Environment

CDK CLI Version: 1.22.0 (build 309ac1b)
Section: Hello, CDK!, Writing constructs, Using construct libraries
Browser: all
Language: Python

Other information

CDK python is more important than CDK typescript for many organizations. Because it is not typescript good enough, but it is the legacy script and knowledge from Devops team, no one from the current DevOps is writing typescript. And in the DevOps and Data team, Python is the only choice. And AWS has already https://aws.amazon.com/sdk-for-python/, is any chance to speed up this direction, we can contribute to it.

@wuqunfei thank you for the upvote!
There presently isn't a cdk-assert library for python (and therefore no specific cdk content to overview), and thus the delay. However, since this has more traction, I can make sure that some basic testing gets added.
Let me know if you have any suggestions on tests to add to better cover this without a cdk assert!
😸 😷

@NGL321, thanks for the response. We are facing the problem, using terraform HCL is really hard to make the unit test and end 2 end test. With high-frequency cloud version changes or terraform version changes, it is the pain. And terraform is creating Terraform CDK project. Unfortunately, it even worse than AWS CDK typescript test libraries. So we are really looking forward to contributing to it.
I understand the demo test is using app.synth() to get stack(), then get the template(), is it same in typescript?
app.synth().get_stack("cdk-python").template
Is CDK assert library only doing the JSON assert, but using same get temple logic or not? Sorry I did not have time to read the js code deeply.

This has been implemented!


Additional functionality : "Troubles"

Hi. Very nice work.
I have a satel  Integra 128 and all zones now appear as sensors.
I would also like to add some more functionality and in particular bring the "troubles" alarms onto home assistant too.
I understand this is not yet implemented.
Would you be willing to help me add some more functionality.
I have no experience with python bu I am familiar with C++ and arduino programming so I should be able to do it..

Hello,
It requires to writer proper satel handler and then use it somewhere in the HA objects (maybe create new sensors for that?).

Maciej, maybe you got an example for simple arm/disarm instance ?


Add method for getting Facebook page attributes.

Coverage remained the same at 100.0% when pulling 14cc91a7d15ef261410a0b6b68aef257986ec90c on page-attributes into 1a84f8157697bddebfa0f0359d76a0da0a22ddf8 on master.

Coverage remained the same at 100.0% when pulling 14cc91a7d15ef261410a0b6b68aef257986ec90c on page-attributes into 1a84f8157697bddebfa0f0359d76a0da0a22ddf8 on master.


Custom editors: should class CustomDocument be abstract?

Refs: https://github.com/microsoft/vscode/issues/93767

All custom documents must subclass CustomDocument

For basic editors that don't need to store any additional information on the document, you can just return new CustomDocument(...). This is what our built-in image preview does

Then update the JSDoc.


V1.4.2编译启动报错

麻烦大佬看下：

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last):  File "/app/main.py", line 13, in
from data_fetcher import DataFetcher
File "/app/data_fetcher.py", line 29, in
from onnx import ONNX
File "/app/onnx.py", line 4, in
import onnxruntime
File "/usr/local/lib/python3.9/site-packages/onnxruntime/init.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode  # noqa: F401
File "/usr/local/lib/python3.9/site-packages/onnxruntime/capi/_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import *  # noqa
AttributeError: _ARRAY_API not found
Traceback (most recent call last):
File "/app/main.py", line 13, in
from data_fetcher import DataFetcher
File "/app/data_fetcher.py", line 29, in
from onnx import ONNX
File "/app/onnx.py", line 4, in
import onnxruntime
File "/usr/local/lib/python3.9/site-packages/onnxruntime/init.py", line 57, in
raise import_capi_exception
File "/usr/local/lib/python3.9/site-packages/onnxruntime/init.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode  # noqa: F401
File "/usr/local/lib/python3.9/site-packages/onnxruntime/capi/_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import *  # noqa
ImportError

numpy已经安装1.X版本
root@ubuntu:~/sgcc_electricity_new# pipx install numpy==v1.26.4
⚠  Note: f2py was already on your PATH at /usr/bin/f2py
installed package numpy 1.26.4, installed using Python 3.12.3
These apps are now globally available
- f2py
⚠  Note: '/root/.local/bin' is not on your PATH environment variable. These apps will not be globally accessible until your
PATH is updated. Run pipx ensurepath to automatically add it, or manually modify your PATH in your shell's config file
(i.e. ~/.bashrc).
done! ✨ 🌟 ✨

同样问题

registry.cn-hangzhou.aliyuncs.com的镜像还没同步？docker.io的可以

同样问题

已解决，换成docker.io就可以

重新打包上传了，之前误删了一个东西


(Improvement) User can watch video with full screen

Status bar and Navigation bar should be hidden while watching a video

d77e76215f0971c75df5615dcfaca7e71814befa done


Undoing a newly added node keeps the workspace dirty

Current Behavior
If you add a node (dragging from the palette or using the quick add dialog) and press ctrl-z, that node will be removed, but the workspace will remain marked as dirty.
Expected Behavior
No response
Steps To Reproduce
No response
Example flow
No response
Environment

Node-RED version: 3.0.0-beta.3
Node.js version: v16.15.1
npm version: 8.11.0
Platform/OS: macOS
Browser: Chrome

I just noticed it doesn't happen with all types of nodes.
I tested with all nodes from common and function categories, and the issue happened with the following nodes:

debug
link in
link out
function

That is a good clue. Possibly linked to auto naming. Thanks Mauricio


Basic ETW with sample in Directory Services Validator

This would allow to start building ETW debug logging, that allows toggling the debugging without doing it for the entire CA.
Something is wrong with the newlines, they work 100% in Powershell but not the GUI, I hate CRLF.

Hmm, I thought I added the required nuget packages, anyway please have a look at this.

This an older version of #35.
Ill close this and update more on the side


Added Crayon

Added the Crayon library, which is a tiny terminal string coloring package.

@RX14 I honestly didn't even see the Stdlib has built in coloring. I'm gonna close this then.


Add more Java time instances

Duration, LocalDate, LocalDateTime, ZonedDateTime
Make ScynamoDecoder and ScynamoEncoder instance public
Add ScynamoDecoder.emap for partial mapping

@saeltz I will merge this - if you find something else need to change we can always do a followup PR


[Search pipeline] Add script processor

Description
Because the script processor is quite flexible, the design should be cautious about the range of fields that it may read and modify. One approach to managing request/response context is utilizing Java's classloader and field dynamically at runtime. The key advantage of this method is its flexibility, providing a general solution adaptable to various contexts. However, its broad applicability can also be a liability, as it could inadvertently create security vulnerabilities unless explicitly disabled. Alternatively, an explicit field check offers more control and security by only supporting specific fields. While this approach reduces the risk of security breaches, it requires developers to add support on new fields. The recommandation is approach two and iterate with community engagement
Search source fields for request
https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/search/builder/SearchSourceBuilder.java
Table for Search Request script processor supports (Not final decision. Iterating and looking for community feedback)

No.
Field Type & Name
Description
Readable (Y / N / Partially)
Writable (Y / N / Partially)
Notes

1
int from
Starting document offset. Defaults to 0.
Y
Y

2
int size
Defines the number of hits to return. Defaults to 10.
Y
Y

3
Boolean explain
If true, returns detailed information about score computation as part of a hit. Defaults to false.
Y
Y

4
Boolean version
If true, returns document version as part of a hit. Defaults to false.
Y
Y

5
Boolean seqNoAndPrimaryTerm
If true, returns sequence number and primary term of the last modification of each hit. See Optimistic concurrency control.
Y
Y

6
boolean trackScores
If true, calculate and return document scores, even if the scores are not used for sorting. Defaults to false.
Y
Y

7
Integer trackTotalHitsUpTo
Number of hits matching the query to count accurately. Defaults to 10000.If true, the exact number of hits is returned at the cost of some performance. If false, the response does not include the total number of hits matching the query.
Y
Y

8
Float minScore
Minimum _score for matching documents. Documents with a lower _score are not included in the search results.
Y
Y

9
TimeValue timeout
Specifies the period of time to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to no timeout.
Y
N
require more complex handling on rewrite

10
int terminateAfter
The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.Defaults to 0, which does not terminate query execution early.
Y
Y

11
List<SortBuilder<?>> sorts
A comma-separated list of : pairs.
Y
N
require more complex handling on rewrite

12
List docValueFields
A comma-separated list of fields to return as the docvalue representation of a field for each hit.
Y
N
require more complex handling on rewrite

13
List scriptFields
List of script fields to compute and include in the response.
Y
N
require more complex handling on rewrite

14
List fetchFields
List of fields to fetch and return as part of the search response.
Y
N
require more complex handling on rewrite

15
StoredFieldsContext storedFieldsContext
This field contains information about which stored fields to include in the response.
Y
N
require more complex handling on rewrite

16
FetchSourceContext fetchSourceContext
This field specifies whether the source of each hit should be returned and how the source should be filtered.
Y
N
Valid values for _sourcetrue(Boolean) The entire document source is returned.false(Boolean) The document source is not returned.(string) Comma-separated list of source fields to return. Wildcard (*) patterns are supported.

17
List indexBoosts
Boosts the _score of documents from specified indices.
Y
N
require more complex handling on rewrite

18
List stats
Stats groups to associate with the search. Each group maintains a statistics aggregation for its associated searches. You can retrieve these stats using the indices stats API.
Y
N
require more complex handling on rewrite

19
boolean profile
If true, the response will include detailed profiling information.
Y
Y

20
QueryBuilder queryBuilder
This field is used to build the main search query.
P
P
Only some fields of certain type of queries for 2.8/2.9 release

21
QueryBuilder postQueryBuilder
This field is used to build post-processing queries.
P
P
Only some fields of certain type of queries for 2.8/2.9 release

22
SearchAfterBuilder searchAfterBuilder
This field is used to construct searches that fetch the next page of results.
N
N
Not support all scroll releated features as of now. Open to community feedback.

23
PointInTimeBuilder pointInTimeBuilder
This field is used to build point-in-time specifications for consistent search results.
N
N
Not support PIT for now. Open to community feedback.

24
SliceBuilder sliceBuilder
This field is used to build slice specifications for parallel scrolling.
N
N
Not support all scroll releated features as of now. Open to community feedback.

25
CollapseBuilder collapse
This field is used to build field collapsing specifications.
N
N
Open to community feedback.

26
Map<String, Object> searchPipelineSource
This field contains the source of the ad hoc search pipeline.
N
N
Open to community feedback.

27
AggregatorFactories.Builder aggregations
This field is used to build aggregation specifications for the search.
N
N
Open to community feedback.

28
HighlightBuilder highlightBuilder
This field is used to build highlighting specifications.
N
N
Open to community feedback.

29
SuggestBuilderSuggestBuilder suggestBuilder
This field is used to build suggestions for the search.
N
N
Open to community feedback.

30
List rescoreBuilders
This field is used to build rescorers that adjust the relevance score of search hits.
N
N
Open to community feedback.

31
List extBuilders
List of builders for search extensions.
N
N
Open to community feedback.

Related Issues
https://github.com/opensearch-project/OpenSearch/issues/6712
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Rebased and yaml integ test added . @msfroh  please take another look. @reta @andrross  @navneet1v  Can I request extra eyes on this PR because I'd like to get it in for 2.8? Thanks!

Can you rebase from main and force-push to your fork?
At this point, there are a bunch of commits from main mixed in with this PR.

I'm concerned about all of the getters that return non-primitive types.
Without a yaml test showing how they might be used in a script, I don't know how it would look to interact with those source properties.

It's a good point - we shouldn't include opensearch-specific classes as dependencies of painless syntax. So there are at least two routes to go on the read path: 1. return their primitive representations 2. does not support reading neither. It's worth for community discussion via an RFC and I removed all non-primitive types support in this PR.


height fix in folding cell

I have included tow view in folding cell unfold view have Readmore Text View when I clicked on read more so my card view height doesn't increase.

Please read https://github.com/Ramotion/folding-cell/blob/master/FoldingCell/FoldingCell/FoldingCell.swift#L267
and look an example:
https://github.com/Ramotion/folding-cell/blob/master/FoldingCell/FoldingCell-Demo/MainTableViewController.swift#L30-L31


zip node_modules before deploy

In proxy adapter :
During build, after npm install, zip the node_modules.

This issue is resolved in npm release 2.0.2 edge-launchpad

using apigeetool for deploying proxy, apigeetool by default zip node modules


Remove "Expired" Pokemon?

Pokemon remain on map even after Expiring. Cluttering the map. Any way to fix?

Noticed this problem too, the recent version lost a lot of funcitonality of the previous version but gained a working broadcaster. I imagine some things need to be reworked in support of nrgrok but I totally appreciate ngrok more than tunnel now


firefox-integration-linux is flaky and causes tree closures.

This test seems to fail about once a week. The logs are fairly noisy to its hard to determine the cause.
Instances in the past week or so:

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux Web Drone/1304/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux Web Drone/1116/overview

Landing an unrelated commit to open the tree.

Landing an unrelated commit to open the tree.

cc @ferhatb

Looks like this is not a flake. It fails for me every time. I'm updating the golden: https://github.com/flutter/goldens/pull/137


Monitoring multiple Kafka clusters using HTTP Notifier

While trying to monitor multiple Kafka clusters (4 in my case) using HTTP Notifier, I noticed that the kafka cluster name is not sent as part of every update. Sample output below:
2017/12/01 10:29:08 {"api_key":"","app":"burrow","block":false,"events":[{"id":"52ab9bcd-989d-4a5bb9ed-60580c527ecc",
"event":{"severity": "ERR","tier":"STG","group":"test-group","start":"Nov 30, 2017 17:58:40 UTC",
"complete":true,"partitions":[{"topic":"test-topic","partition":3,"status":"STALL","start:{"offset":568696,"timestamp":1512142136671,"lag":57888,"max_offset":568696},"end:{"offset":568696,"timestamp":1512142146673,"lag":57888,"max_offset":568696 }}]}}]}

Is there a way to send this information along to associate consumer groups with their clusters?
If not, is it expected that we run multiple burrow instances?

You can include the cluster by changing the template to include {{.Cluster}} somewhere. You're just using the sample template right now.

Thank you. I spoke too soon before looking at https://github.com/linkedin/Burrow/wiki/Templates
Looking forward to the 1.0 version!


Add tenancy to the NetBox DNS models

In larger environments it is sometimes desirable to assign tenants to DNS entries.
Therefore, it makes sense to extend the NetBox DNS models by adding the NetBox tenancy feature.

Closed by #59


Update SPServices.ts

Hello I found the problem of retrieving lookup values;
${fieldName}/${lookupFieldName} is missing from the URL api
Can you fix it in the two functions getlookupvalues line 551 and getlookupvalue Line 531(file SPService.ts)
The value in both functions is identical as follows:
   const apiUrl = `${webAbsoluteUrl}/_api/web/lists(@listId)/items(${listItemID})?@listId=guid'${encodeURIComponent(listId)}'&$select=${fieldName}/ID,${fieldName}/Title,${fieldName}/${lookupFieldName}&$expand=${fieldName}`;

I’ve already tested it
Thank you for your understanding
I hope there will be commit of this patch in the next few days
Cordially
Zied FEHRI

Q
A

Bug fix?
[ ]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Please describe the changes in this PR. Sample description or details around bugs which are being fixed.
Guidance

You can delete this section when you are submitting the pull request.
Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
Please target your PR to dev branch.

SPServices getlookupvalues and getlookupvalue patches


Update dependencies

Update to crossbeam 0.2
Allow the latest versions of byteorder, tempfile, and lazy_static
Update to xml-rs 0.3 and bitflags 0.5/0.6
Stop tweaking Cargo.toml.  You can include both a version and a path for each dependency.  Local builds will use the path, but builds that fetch the package from crates.io will use the version.

oops, I accidentally based this on an old revision.  Rebasing...

How urgent is this?
I'm currently in the middle of some pretty big changes in the lib, so I cannot release a version from master now at all.
It'd probably be better if I merge this in the v0.5.x branch a release a 0.5.11 out of it I think.

But your PR includes changes to things that don't exist on v0.5.x branch (I have already started changing a lot of things), so it'll need a proper rebase (and update to the examples too).

This is not at all urgent; it's fine if these changes aren't published until 0.6.0 is ready.

Fixed the example code and added some missing changes in wayland-server.

Alright thanks. Didn't know about specifying both a version and a path in Cargo.toml, neat! :smile:


Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/opt/atom/resources/app/src/atom.js:55:11)
Object.activate (/home/dso/.atom/packages/open-last-project/lib/open-last-project.js:36:9)

Duplicate


I get an error when trying to learn using google colab

I get an error when trying to learn using google colab.
Error Description:
  File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1086, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/local/lib/python3.10/dist-packages/transformers/models/clip/image_processing_clip.py", line 22, in <module>
    from ...image_transforms import (
  File "/usr/local/lib/python3.10/dist-packages/transformers/image_transforms.py", line 48, in <module>
    import tensorflow as tf
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/__init__.py", line 38, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/eager/context.py", line 29, in <module>
    from tensorflow.core.framework import function_pb2
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/function_pb2.py", line 5, in <module>
    from google.protobuf.internal import builder as _builder
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/usr/local/lib/python3.10/dist-packages/google/protobuf/internal/__init__.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 684, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py", line 20, in <module>
    from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1077, in __getattr__
    value = getattr(module, name)
  File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1076, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1088, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import transformers.models.clip.image_processing_clip because of the following error (look up to see its traceback):
cannot import name 'builder' from 'google.protobuf.internal' (/usr/local/lib/python3.10/dist-packages/google/protobuf/internal/__init__.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/content/sd-scripts/train_network.py", line 27, in <module>
    from library import model_util
  File "/content/sd-scripts/library/model_util.py", line 16, in <module>
    from diffusers import AutoencoderKL, DDIMScheduler, StableDiffusionPipeline  # , UNet2DConditionModel
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 675, in __getattr__
    value = getattr(module, name)
  File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 675, in __getattr__
    value = getattr(module, name)
  File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 674, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "/usr/local/lib/python3.10/dist-packages/diffusers/utils/import_utils.py", line 686, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion because of the following error (look up to see its traceback):
Failed to import transformers.models.clip.image_processing_clip because of the following error (look up to see its traceback):
cannot import name 'builder' from 'google.protobuf.internal' (/usr/local/lib/python3.10/dist-packages/google/protobuf/internal/__init__.py)
Traceback (most recent call last):
  File "/usr/local/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 47, in main
    args.func(args)
  File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 986, in launch_command
    simple_launcher(args)
  File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 628, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)```

same here, I didn't have this issue before, it seems to show up recently, maybe due to system update?

looks like it couldn't find the library protobuf when trying to run. Try installing the library by adding the line "!pip install protobuf" somewhere, Ideally before installing the requirements (The line !pip install -r requirements.txt or something similar)
Note: without know which/what colab notebook you are trying to run, it would be harder to test and provide an exact fix.

@DKnight54
from google.colab import drive
drive.mount('/content/drive')

git_repo_path = "test/test" #@param {type:"string"}
token = "test" #@param {type:"string"}

%env TOKEN=$token
#@title
#残りのパッケージインストール

git_repo_url =<EMAIL_ADDRESS>+ git_repo_path + ".git"
#@markdown * データセットがあるリポジトリのURL

!git clone $git_repo_url
!git clone https://github.com/kohya-ss/sd-scripts.git
!pip install lycoris_lora
!pip install wandb
!pip install xformers
!pip install protobuf
!pip install lion_pytorch
%cd sd-scripts
!pip install -r requirements.txt
%cd ..

from accelerate.utils import write_basic_config

write_basic_config()

pretrained_model_name_or_path = "StupidGame/AnyLoRA" #@param ["enryu43/anifusion_sd_unet_768", "hakurei/waifu-diffusion", "Nilaier/Waifu-Diffusers","CompVis/stable-diffusion-v1-4", "naclbit/trinart_stable_diffusion_v2,diffusers-115k", "naclbit/trinart_stable_diffusion_v2,diffusers-95k", "naclbit/trinart_stable_diffusion_v2,diffusers-60k"] {allow-input: true}
#@markdown * 学習元のDiffusersモデル、ckptどちらかの保存先を入力してください。

pretrained_model_is_v2 = False #@param {type:"boolean"}
#@markdown * 学習元のモデルがSDv2派生かどうか入力してください、

pretrained_model_resolution = "512x512" #@param ["512x512", "768x768"]
#@markdown * 学習元のモデルの学習サイズを選択してください
#@markdown ----

datasets_path = "/content/kohya-mydatasets/datasets/test.toml" #@param {type:"string"}

prompts_path = "/content/kohya-mydatasets/datasets/test.txt" #@param {type:"string"}

dream_booth_epochs = 20 #@param {type:"integer"}
#@markdown * 学習にかけるステップ数です
#@markdown * **元のDiffusers版やXavierXiao氏のStableDiffusion版とほぼ同じ学習を行うには、ステップ数を倍にしてください。**
#@markdown ----

learning_late = 3e-5 #@param {type:"number"}
#@markdown * 学習率です
#@markdown ----

dream_booth_model_ext = "safetensors" #@param ["pt", "ckpt", "safetensors"]
#@markdown * 保存する形式を指定してください。

dream_booth_new_model = "test"#@param {type:"string"}
#@markdown * 保存するファイル / フォルダーの名前を指定してください。
#@markdown ----
output_dir = "/content/drive/MyDrive/loras" #@param{type:"string"}
#@markdown * 保存するファイル / フォルダーの場所を指定してください。

Recently, sdxl branch is merged to main branch. Perpahs that causes this error.
You can avoid this problem using old version of sd-scripts. Or you can run this command below after installing sd-scripts and its requirements. In my case, error disappeared.
!pip install --upgrade protobuf
!cp /usr/local/lib/python3.10/dist-packages/google/protobuf/internal/builder.py /content/
!pip install protobuf==3.19.6
!cp /content/builder.py /usr/local/lib/python3.10/dist-packages/google/protobuf/internal/

I'm not sure this may cause undesirable side-effect or not.
I refered to this web site.
https://stackoverflow.com/questions/71759248/importerror-cannot-import-name-builder-from-google-protobuf-internal

@kohya-ss Oh dear. Requirements.txt is installing protobuf version 3.19.6, but when I check the conflict error messages, it throws that tensorflow needs protobuf==3.20.3.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorflow 2.13.0 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, but you have protobuf 3.19.6 which is incompatible. tensorflow 2.13.0 requires tensorboard<2.14,>=2.13, but you have tensorboard 2.10.1 which is incompatible. tensorflow-datasets 4.9.3 requires protobuf>=3.20, but you have protobuf 3.19.6 which is incompatible. tensorflow-metadata 1.14.0 requires protobuf<4.21,>=3.20.3, but you have protobuf 3.19.6 which is incompatible.
I think it may be a dependency conflict issue as apparently tensorboard 2.10.1 is installed, but tensorflow 2.13.0 requires tensorboard<2.14,>=2.13
@StupidGame, temp workaround until the requirements conflict is fixed is to have this in the install section of your notebook:
'!git clone $git_repo_url
!git clone https://github.com/kohya-ss/sd-scripts.git
!pip install lycoris_lora
!pip install wandb
!pip install xformers
#!pip install protobuf==3.20.3
!pip install lion_pytorch
%cd sd-scripts
!pip install -r requirements.txt
!pip install tensorboard==2.13
!pip install protobuf==3.20.3
%cd ..'
Put the install tensorboard and protobuf with the correct versions after the line !pip install -r requirements.txt
That at least gets your script to the part where it fails because I didn't bother to put in any sort training data instead of the error you had.

@kohya-ss
It seems that wd14 tagger's repo provides onnx model for inference. So maybe we can replace TensorFlow dependency with onnxruntime in wd14 tagger.
However, all wd14 taggers' onnx model uses inputs with a fixed shape [1, 448, 448, 3], which means batch_size is locked to 1...
So maybe re-export the wd14 tagger with dynamic shape is needed if we desire a larger batch size on onnx model...

@DKnight54 Thanks! It works!


Measurement asdf

Hello @CagtayFabry! Thanks for opening this PR.

In the file tests/test_measurement.py:

Line 86:5: F841 local variable 'measurement_chains' is assigned to but never used
Line 88:5: F841 local variable 'sources' is assigned to but never used
Line 89:5: F841 local variable 'processors' is assigned to but never used

In the file weldx/asdf/tags/weldx/core/mathematical_expression.py:

Line 4:1: F401 'weldx.asdf.utils.drop_none_attr' imported but unused

Do see the Hitchhiker's guide to code style


add Optional.stream()

Let's you convert an Optional to a Stream. Useful if you have a @Nullable list.
Instead of this
    private static <T> Stream<T> stream(@Nullable T object) {
        return Optional.of(object).map(value -> {
            if (value instanceof Iterable) {
                return Stream.stream((Iterable<T>) value);
            } else {
                return Stream.of(value);
            }
        }).or(Stream.of());
    }

you get this
    private static <T> Stream<T> stream(@Nullable T object) {
        return Optional.of(object).stream();
    }

Looks a bit confuaing, single method with different logic for different types. I'd prefer writing optional.stream().flatten() explicitly.
Also, no tests.

Ok, thx for the feedback. Just to define what flatten does.
If you call flatten on a Stream<Iterable<T>> you get a Stream<T>
where a Stream<Value> from something like Stream.of(T value) keeps the same structure?

It's .flatMap(x -> x) :)


Implement ThreadX Compatability Layer

Is your feature request related to a problem? Please describe.
The ThreadX API is pretty lightweight and was just released under the MIT license [1]. We should implement it in Zephyr for companies who need a migration strategy.
Describe the solution you'd like
An implementation of the (main) ThreadX interface using Zephyr API calls under the hood.
Potentially NetX support as well (although ThreadX had some limited BSD Sockets API support).
Describe alternatives you've considered
We could of course not do this, it's just that it would be a relatively easy user base to pick up if people are thinking of making the switch.
Additional context
Microsoft opens sources ThreadX under MIT license • The Register
https://www.theregister.com/2023/11/28/microsoft_opens_sources_threadx/

We could of course not do this

Gets my vote

We could of course not do this

Gets my vote

@nordicjm - FWIW, I did this back in 2018 or something for a previous employer as a research project and it was surprisingly easy.
Not that I'm saying I want to do it again by any means 😅

If people want to move their code over to zephyr, they should do it properly. I don't see the point in a threadx/freertos/etc. porting layer that people in zephyr have to implement and then support. If something breaks, we then have to fix it. It sounds like a lot of work for no real gain.

@cfriedt How about the migration guide? I know it will become outdated sooner or later, but at least the Zephyr Project won't need to maintain that piece of code.

That's a good idea!

Technically, we could also offer a FreeRTOS migration guide.

A migration guide for both sounds like a great idea


Catch AssertionError if a keyspace doesn't exist

This can happen if somebody changes Cassandra schema if a cluster is
already registered in the Reaper. Without catching, the thread was
silently dying.

+1

:+1:


support multiple populations

Mostly needs a way for users to specify this and some discriminator rearrangements.

Closed by #30.


Make search for tables case insensitive

@valonhaliti Thanks for contributing. Will be released this weekend.

@all-contributors please add @valonhaliti  for code

@all-contributors please add @valonhaliti  for code


?verbosity=metadata

I've seen the ?verbosity=metadata query parameter when GETting a node in code in the wild, and I was just wondering what it does. I can't seem to find anything about it in the documentation.

verbosity is not a valid query parameter with shock, not sure where you are seeing that.


Grid type values in documentation do not match the implementation

Recently, when I used function getGridType of sub-grid control on the form, it returned value 3. This value is not mentioned in the table of values in documentation.
After checking implementation of the function (in /_static/_grid/GridControl.js), I found that grid types are defined as follows:
Mscrm.GridControl.hompageGrid = 1;
Mscrm.GridControl.associatedGrid = 2;
Mscrm.GridControl.inlineSubGrid = 3;

Table of values and descriptions should be changed to reflect this.

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

ID: fd0bca2b-10e5-62e7-14e0-228267fa575c
Version Independent ID: f7528f8c-61a6-38c3-839f-72342374f0aa
Content: getGridType (Client API reference) in Dynamics 365 for Customer Engagement
Content Source: ce/developer/clientapi/reference/grids/gridcontrol/getGridType.md
Service: crm-online
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

This is still outdated.


check command doesn't obey the --cache-dir argument and writes to TMPDIR

Output of restic version
restic 0.9.1 compiled with go1.10.3 on linux/amd64
How did you run restic exactly?
restic -v=10 -r . --cache-dir /data/backup/cache --cleanup-cache check

What backend/server/service did you use to store the repository?
local backend
Expected behavior
Obey to the given --cache-dir where it should place the temporary check cache. For people with mounted TMPDIR as tmpfs with fixed size this can be a problem.
Actual behavior
using temporary cache in /tmp/restic-check-cache-219828007
enter password for repository:
repository 6bc46502 opened successfully, password is correct
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
no errors were found

Steps to reproduce the behavior
Pass the --cache-dir and see it storing the check cache in TMPDIR
Do you have any idea what may have caused this?
The --cache-dir parameter is not used.
Do you have an idea how to solve the issue?
Use the --cache-dir when given instead of TMPDIR.
Did restic help you or made you happy in any way?
Yes, because it is written in golang and has a nice commandline interface 👍

Uh, that's not good, it's a bug. Thanks for the report!

I was migrating my own backup from borgbackup to restic. And did notice this behaviour. Good its an actual bug, not hard to fix 👍

As a temporary workaround, could specify '--with-cache' to use an OS-specific cache directory (typically somewhere in the user's home directory). On Linux can set the XDG_CACHE_HOME environment variable and '--with-cache' to use a specific directory.
Adding a check for the global option before creating the temporary directory fixes the issue.

That's not quite correct, a workaround would be to set TMPDIR (which restic respects) to some directory with enough space, e.g.:
$ TMPDIR=/data/backup/cache restic -v=10 -r . --cleanup-cache check


p2p dummy communication prototype

Using https://libp2p.io/ or a simplified backend, build a first prototype which connects nodes and allows exchange of dummy arrays (tensors) between nodes.
See #3 for discussion on libp2p

Link below looks like something what can be used:
https://developer.android.com/training/connect-devices-wirelessly/wifi-direct

thanks @ykivva ! based on the nice discussion we had on friday i'm also adding the suggestions by others for potential backends. we'll go with whichever one would make it easiest to get a first prototype up and running:

python standalone @lfbarba , such as #3 and maybe there are even simpler ones?
browser-based javascript options via webRTC #12
android (such as @ykivva 's comment above) or iOS based ones?

what do others think?

closing this for now, as we have it both for desktop (python) and mobile/browser


Support modules configuration

Signed-off-by: Ben Ye<EMAIL_ADDRESS>Fixes https://github.com/prometheus-community/json_exporter/issues/86
This PR supports modules configuration. Similar to black-box exporter, scrape requests can add a module parameter to specify which module to use. If not specified, default module will be used.

Sorry I missed this review ping. This is a great idea. I'll give it a look over asap.

I have updated the doc. PTAL.

Please take another look @rustycl0ck thank you!


How to use this with angular?

How to use this with angular 6+?

Hi @ThakkarKhushbu
did you have any luck resolving this issue?  I see there have been a number of previous closed issues related to the use of angular, so I'm not sure if they would help, or if looking at an existing project which uses angular might help e.g. https://github.com/yu4321/Angular-Electron-SerialPort_ThermalPrinterExample


Is it possible to limit DiCE to only vary one feature at a time for each counterfactual?

Really enjoying this library, so thanks to everyone who has worked on it. I know that we can use the 'features_to_vary' arg to limit DiCE to produce counterfactuals from a subset of features, but is it possible to limit the number of features varied in any given counterfactual? For example, in the credit case study given in the docs, say I want to generate counterfactuals from the features age and hours worked, but for each counterfactual, DiCE is constrained to only changing the value of one of these features (so both are options but only one can be used). Would that be possible currently? I want to avoid cases where I have a multi-level categorical feature coded by one-hot-encoding, and DiCE suggests changing more than one level from 0 -> 1. Say I have 'red', 'green' and 'blue', red is omitted as the reference class, in some cases DiCE suggests both green 0->1 and blue 0->1 for a single counterfactual, but it is not possible for the entity to be both classes at the same time so this counterfactual is not valid. Currently I filter these manually after running DiCE, but it seems to be wasteful computationally to do this.

@orbidder, thanks for your question. Dice-ml library handles string categoricals. So you don't need to one hot encode the data and then train dice-ml. You need to identify the numeric/contnous features in your data and dice-ml library treats other features as categoricals and handles them accordingly. Could you give this a try?
I don't see a string reason to restrict varying of features one a time. It may so happen that just by varying one feature at a time doesn't produce any counterfactual examples based on your model.
Regards,

@gaugup  I also tried to vary only one feature at a time, with no success, just waiting, for the adult data example. I do not know if this is a bug, or the optimization problem.

@gaugup, understood that Dice-ml can handle string categoricals, but not all models can. So for those cases, being able to limit to only one change would help for these models. For the time being, my idea for a work around is to manually code a loop where generate_counterfactuals() is given only one of the one-hot-encoded levels to vary at a time. Perhaps that's a short term solution.
To your second point about not producing counterfactual examples when varying one feature at a time, that would be fine. I don't think dice-ml should generate counterfactuals when it can't find valid ones. For example, switching two one-hot-encoded features to 1 when in reality the entity can't exist in this state (e.g. it can be red or blue, but it cannot be both). In this case it would be more helpful if dice-ml concluded there were no valid counterfactuals, rather than suggest impossible ones. Don't you think?
Perhaps an option to define which features are in these one-hot-encoded feature groups would be useful. The user could pass a dict in which each value is a list of strings that identify the columns that belong to the same feature. dice-ml could then only vary one of the features in this group at a time?

@gaugup  @orbidder  Note that here https://arxiv.org/abs/2011.04917 (Towards Unifying Feature Attribution and Counterfactual Explanations: Different Means to the Same End) they are able to do one by one (as they generate the necessity and sufficiency metrics) right @amit-sharma ?
I coded these for myself, and when I wanted to try on the adult data I was not able, due to dice not generating anything (note, I use genetic algorithm, maybe I should use something else, but I do not trust too much the random way :) )

@Saladino93 Thanks for sharing that paper. It would be really useful if dice-ml could also provide a function for calculating feature Necessity and Sufficiency too. I think I'd use that a bunch in my work.

Slightly late to this discussion, let me chime in.

The original issue about supporting post-hoc filtering is a good one. It isn't required if the model supports categorical variables, but becomes a problem with one-hot encoded data as @orbidder mentions. However, rather than adding a solution for this specific filter, I wonder if we can think broadly about a general API for post-hoc filters.
It will be good to enumerate the different kinds of filters that may be useful. I can imagine a list of helper functions that cater to the most common filters, but also allow users to create their own filter. @orbidder @Saladino93 do you have more post-hoc filters in mind?

Sometimes, DiCE may not generate CFs using a single variable because it requires a big change for the particular feature value in the input point. @Saladino93 can you try the same code for multiple data inputs in Adult dataset? My guess is that it should be easier to generate counterfactuals for some inputs versus others.

For necessity and sufficiency, actually random is the best algorithm to generate an unbiased measure of necessity/sufficiency without the estimate being influenced by the CF algorithm. But it will be inefficient in time complexity. Great to hear your interest in these metrics--we are refining these metrics in some followup work, these will be implemented in a future release.

@amit-sharma  Sure, will do this. So, just to understand, what you did in your paper was to use the random algorithm then? I always thought it is better to NOT use that as you might lose correlations of the original dataset.
As regarding the post-filtering, what I did is the following:
Define a Filter class with some tabu_changes.
For example:
tabu_changes = {}
tabu_changes['education'] = [['Master', 'Bachelor']] , this means you can not go from Master to Bachelor
Then you apply the Filter class on your generated counterfactuals, for each example, and it gives you the minimum number of CFs for which each example respects the relations.
I also implemented tabu_changes where you have couple of features, like education and age, and you want to maintain certain relations. It can also accept functions (actually one might define functions for categorical features too, by defining some order).
This could be a nice feature to add on DICE (although my understanding is that you are already working on it? I can also show my implementation)