Improved Automation Experience

Improved Automation Experience
Purpose
This feature spec proposes a new automation experience that is much less complicated. The underlying driver for this change is actually to create an improved service catalog experience. However, as one builds out their service catalog, the first stumbling block is the need to build a dialog, and the automation behind it. Writing Automate is incredibly complicated, and requires a lot of knowledge of the system in addition to Automate itself (there's literally an entire book). This feature spec is to design a new experience that is much more user friendly, and allows users to build automation in a much more natural way.
Overview
We will create a new a new step based automation system. Each step in the state machine will execute a container. We will support import/export and even in-browser development by serializing to Amazon State Languages (ASL). It is the responsibility of the end user to build and support the containers with the execution of each step.
Considerations
There are some considerations about the current system that we need to take into account.

One of the more widely used features of Automate is the ability to create and modify a State Machine, being able to execute custom code at each state. Currently users create and modify existing state machines, but doing so within Automate is complicated and the interface is not user friendly.
Users want to reuse existing state machines within other state machines.
Users want to be able to execute in any language they are familiar with, and not just Ruby or Ansible.

Design
For the purposes of this document I am referring to this step-function-like automation as "workflows".
Backend
Modeling

Should this be built as a separate "Automation Provider", particularly if we want to spin this out as a separate open source project?
Need a way to store docker registry and it's credential

Should we even be in this business and offload to appliance_console / kube cluster admin / docs?
Host, Org, Authentication
Not sure where to put this - globally in Application Settings? or SCM credentials sepcific to the Embedded Workflows.
How to handle this in Kube vs Docker

Workflow model

Embed the ASL directly in a jsonb column.
Association of Registry Credentials

(Maybe have a docker.io and quay.io out of the box?)

Individual steps need to define

Which docker image they want

Would use the credential implied by the docker image registry

Always try to pull the images (Future: Allow for pulling once)
A "Secrets" field allowing for credentials needed by the container, such as provider credentials

Validation on deletions of credential should not allow if associated to a workflow

WorkflowInstance model for the execution workspace of a workflow

Context
Error
Logging
userid / auditing
Should we reuse Job for this?
Have a way to expose which workspace to the container in a secure way (GUID-style or temporary token style?)

Orchestration

Needs to run on both podified (kube) and appliances / dev (docker/podman)
Needs to safely handle secrets when giving them to the container
Consider writing this as a separate library

API

New API endpoint for workflow definitions and steps

CRUD
Import/Export action as ASL (credentials might be tricky)
Launch action

New API endpoint for workflows instances (can we reuse automation_workspaces or parts of it?)

Be able to update the workflow context

UI

New UI for Workflows

CRUD

associate containers (registry/image/tag)
credential selection
Display ASL
Display pretty graph version of ASL
Import/Export
Launch

New UI for workflow instances

Runtime status of an execution of a state machine / logs? / errors?

QA / Test Plan
TODO
Future plans

Out of the box base containers for at least Ruby (later: Shell, Ansible Execution Environments (EE), Python, Javascript)
Predefined Steps

Send Email
Call Webhook
Maybe more complex stuff like Open a ServiceNow ticket?

Git repository support for Import/Export

Store workflows in a git repo and we pull on each execution or when requested

Dev/Test/Prod workflow

How to test / dry-run workflows; Simulate action? (or is this just Launch with a dry-run parameter?)
Rely on git branches?

Allow providers to bring their own workflows, such as provisioning.

Service Catalog

Modify a service catalog item to be able to execute a Workflow
May need to rewrite some provisioning workflows form Automate to Workflow.

Backward Compatibility
We do not intend for this to be directly backward compatible with Automate, and therefore we don't intend for there to be a migration plan.  If this new Workflow system is better, we will manually migrate existing things, such as the provisioning and retirement Automate models.
Alternatives considered

Apache AirFlow
GitHub Actions

Exciting initiative and long overdue!


[F] Add scoped search on collection pages

Resolves WDP-671

@1aurend Requesting another pair of 👀 on this change, just to make sure the scoping is clear now!


Improved code and added functions

Key Changes and Additions:

Data Structures:

Added PasswordPayload struct for password validation and updates.

Password Generation:

Generates a password based on the given length.
Stores the generated password.

Password Storage:

store_password function to store generated passwords.
Uses a thread-local PASSWORD_STORE to keep track of passwords.
ID_COUNTER to manage unique IDs for passwords.

Update Password:

update_password function to update existing passwords.
Ensures only the owner can update their password.

Delete Password:

delete_password function to delete a password by ID.
Ensures only the owner can delete their password.

Query Functions:

get_password to retrieve a password by ID.
list_passwords to list all stored passwords.

Password Validation:

validate_password to check if a password meets certain criteria (length, character types).

Password Uniqueness:

check_password_uniqueness to ensure a password is unique among stored passwords.

These enhancements provide a comprehensive set of functionalities for generating, managing, and validating passwords within the canister.

Hi Nick,
Thank you for the proposed changes. I encountered several issues while testing the functionalities. Here are the details:

Candid Interface Syntax Issue:

The current my_rust_canister_backend.did file has syntax errors.
Specifically, the result keyword is incorrectly used.
Here is the corrected version of the Candid interface:type Password = record {
    value: text;
    created_at: nat64;
    owner: principal;
};

type PasswordPayload = record {
    value: text;
};

service : {
    generate_password: (nat64) -> (variant { Ok: Password; Err: text });
    store_password: (Password) -> ();
    update_password: (nat64, PasswordPayload) -> (variant { Ok: text; Err: text });
    delete_password: (nat64) -> (variant { Ok: text; Err: text });
    get_password: (nat64) -> (variant { Ok: Password; Err: text });
    list_passwords: () -> (vec Password);
    validate_password: (PasswordPayload) -> (variant { Ok: text; Err: text });
    check_password_uniqueness: (PasswordPayload) -> (variant { Ok: bool; Err: text });
}

Method Not Recognized:

When trying to call methods such as list_passwords, update_password, delete_password, get_password, validate_password, and check_password_uniqueness, I encountered the following error:WARN: Cannot fetch Candid interface for [method], sending arguments with inferred types.
Error: Failed update call.
Caused by: The replica returned a rejection error: reject code CanisterError, reject message Error from Canister [Canister ID]: Canister has no update method '[method]', error code None

Could you please review these issues and make the necessary corrections? Let me know if you need any further details.
Thank you!


Cannot trigger VoiceOver (Cmd-F5) with external keyboard

The command for VoiceOver is Cmd-F5.
My external keyboard can trigger this when Karabiner-Elements is not running.
However, when Karabiner-Elements is running, this does not work.
Whether I set F5 in the Karabiner-Elements "Function Keys" pref pane to "vk_consumer_illumination_down" or "F5", it does not work anymore.
Is there a way to avoid doing any function key mapping at all?

It seems the next filed issue (#397) also had a similar issue.
I had no problems before Karabiner-Elements tried to modify the function keys; would it be possible to add an option to prevent any function key remapping?

In my environment, command+F5 is toggles VoiceOver using external keyboard.
I configured function keys to work as F1 to F12 in the system preferences.

I can trigger VoiceOver using Cmd-F5 on my external keyboard with "Use all F1, F2, etc. keys as standard function keys" checked.
However, it breaks Cmd-[fn-]F5 on the laptop keyboard itself – i.e. Cmd-[fn-]F5 triggers VoiceOver when Karabiner is not running, but doesn't work when Karabiner is running.

This is still broken on the laptop keyboard. 😞

Still an issue!

Still an issue, I believe.


iPhone can find bluetooth, but can't connect (IDFGH-10214)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v4.4.2-dirty
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
Custom Board
Power Supply used.
USB
What is the expected behavior?
Previously, when using the ESP32 or ESP32C3 module for testing, both iPhones and Android devices were able to connect to Bluetooth and Wi-Fi without any issues. However, with the current use of the ESP32-C3FN4 chip, it has been observed that iPhones fail to connect to the device's Bluetooth, as indicated by the log. On the other hand, Android phones can connect successfully. Additionally, there have been continuous failures in connecting to Wi-Fi during testing. What could be the possible reasons behind these issues?
What is the actual behavior?
iPhone can find bluetooth, but can't connect
Steps to reproduce.
Run the example ”\examples\bluetooth\bluedroid\ble\gatt_server_service_table“ on the ESP32-C3FN4 chip
Debug Logs.
[15:06:09.293]ESP-ROM:esp32c3-api1-20210207
[15:06:09.293]Build:Feb  7 2021
[15:06:09.311]rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
[15:06:09.311]SPIWP:0xee
[15:06:09.311]mode:DIO, clock div:1
[15:06:09.311]load:0x3fcd5820,len:0x16fc
[15:06:09.316]load:0x403cc710,len:0x95c
[15:06:09.316]load:0x403ce710,len:0x2dbc
[15:06:09.316]entry 0x403cc710
[15:06:09.328]I (30) boot: ESP-IDF v5.1-dev-862-g09f7589ef2-dirty 2nd stage bootloader
[15:06:09.328]I (30) boot: compile time May 23 2023 14:38:41
[15:06:09.339]I (31) boot: chip revision: V004
[15:06:09.339]I (35) boot.esp32c3: SPI Speed      : 80MHz
[15:06:09.350]I (40) boot.esp32c3: SPI Mode       : DIO
[15:06:09.350]I (45) boot.esp32c3: SPI Flash Size : 4MB
[15:06:09.350]I (49) boot: Enabling RNG early entropy source...
[15:06:09.356]I (55) boot: Partition Table:
[15:06:09.375]I (58) boot: ## Label            Usage          Type ST Offset   Length
[15:06:09.375]I (66) boot:  0 nvs              WiFi data        01 02 00009000 00006000
[15:06:09.375]I (73) boot:  1 phy_init         RF data          01 01 0000f000 00001000
[15:06:09.398]I (81) boot:  2 factory          factory app      00 00 00010000 00177000
[15:06:09.398]I (88) boot: End of partition table
[15:06:09.398]I (92) esp_image: segment 0: paddr=00010020 vaddr=3c110020 size=39e70h (237168) map
[15:06:09.403]I (136) esp_image: segment 1: paddr=00049e98 vaddr=3fc93a00 size=0366ch ( 13932) load
[15:06:09.436]I (139) esp_image: segment 2: paddr=0004d50c vaddr=40380000 size=02b0ch ( 11020) load
[15:06:09.447]I (144) esp_image: segment 3: paddr=00050020 vaddr=42000020 size=10a844h (1091652) map
[15:06:09.454]I (314) esp_image: segment 4: paddr=0015a86c vaddr=40382b0c size=10e80h ( 69248) load
[15:06:09.615]I (327) esp_image: segment 5: paddr=0016b6f4 vaddr=50000010 size=00010h (    16) load
[15:06:09.627]I (334) boot: Loaded app from partition at offset 0x10000
[15:06:09.639]I (334) boot: Disabling RNG early entropy source...
[15:06:09.639]I (348) cpu_start: Pro cpu up.
[15:06:09.650]I (356) cpu_start: Pro cpu start user code
[15:06:09.650]I (356) cpu_start: cpu freq: 160000000 Hz
[15:06:09.661]I (356) cpu_start: Application information:
[15:06:09.661]I (359) cpu_start: Project name:     ed719_nb
[15:06:09.666]I (364) cpu_start: App version:      101
[15:06:09.677]I (369) cpu_start: Compile time:     May 23 2023 14:37:31
[15:06:09.677]I (375) cpu_start: ELF file SHA256:  8625f6792bdce3c2...
[15:06:09.689]I (381) cpu_start: ESP-IDF:          v5.1-dev-862-g09f7589ef2-dirty
[15:06:09.689]I (388) heap_init: Initializing.
Part of the schematic diagram is as follows

Thanks for reporting.

I also tried ESP-IDF v5.1-dev-862-g09f7589ef2-dirty but it didn't work. How can I solve this problem?

@Z-KY  please test IDF commit e8dba711ff93e4d93febcb7155e3b09f96ede1cb  and let me know the results

@Z-KY please test IDF commit e8dba711ff93e4d93febcb7155e3b09f96ede1cb and let me know the results

I tried IDF commit e8dba711ff93e4d93febcb7155e3b09f96ede1cb, but it's even worse, even android phones can't connect.The log information does not seem to have changed.Is this what is the reason？

@Z-KY please test IDF commit e8dba711ff93e4d93febcb7155e3b09f96ede1cb and let me know the results

I tried IDF commit e8dba71, but it's even worse, even android phones can't connect.The log information does not seem to have changed.Is this what is the reason？

idf version: v5.2-dev-703-gefe919275e

@Z-KY

@Z-KY please test IDF commit e8dba711ff93e4d93febcb7155e3b09f96ede1cb and let me know the results

I used iphone 6, iphone 11 and ipad air to test the C3 module, and the problem you mentioned was not reproduced. In addition, I don't know the circuit design, so I'm not sure if there is a problem with this circuit design.

@Z-KY

@Z-KY please test IDF commit e8dba711ff93e4d93febcb7155e3b09f96ede1cb and let me know the results

I used iphone 6, iphone 11 and ipad air to test the C3 module, and the problem you mentioned was not reproduced. In addition, I don't know the circuit design, so I'm not sure if there is a problem with this circuit design.

It runs normally on the c3 development board, but there is a problem with this ESP32-C3FN4 chip (the iPhone cannot connect to bluetooth and wifi)

Using ESP32-C3FN4 chip, is this circuit designed by you?
Please provide the sdkconfig file you use

Yes，I designed this circuit, and this circuit can run on the esp32c2 board I designed before.
Here is the sdkconfig i use. sdkconfig.txt
I don't have the capture device.

@Z-KY
Here is our preliminary analysis result. If you haven't found the cause of the problem, you can follow the formal business docking process: https://www.espressif.com/zh-hans/contact-us/circuit-schematic-pcb-design-review, fill in form business will be docking

@Z-KY
Here is our preliminary analysis result. If you haven't found the cause of the problem, you can follow the formal business docking process: https://www.espressif.com/zh-hans/contact-us/circuit-schematic-pcb-design-review, fill in form business will be docking

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates.

I have the same problem with ESP32 C3, idf 5.0.6 using BLE 5.0.
Android can connect without any problems, but if I try to connect with iPhone I get this warning and the device stops working
BT_HCI: hcif disc complete: hdl 0x1, rsn 0x13
Using the same circuit with idf 5.0.6 and BLE 4.2 there are no problems.

The problem I found later is that the capacitor used by the crystal oscillator of the chip is not the right size. After replacing the two 10pf capacitors with 20pf capacitors, the iPhone can also connect to Bluetooth normally.
The TX performance of RF is not only affected by the power ripple, but also by the crystal vibration. The quality of the crystal oscillator itself is not good, and the frequency deviation is too large to affect the TX performance of the RF.
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2024年4月16日(星期二) 下午3:37
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [espressif/esp-idf] iPhone can find bluetooth, but can't connect (IDFGH-10214) (Issue #11480)
I have the same problem with ESP32 C3, idf 5.0.6 using BLE 5.0.
Android can connect without any problems, but if I try to connect with iPhone I get this warning and the device stops working
BT_HCI: hcif disc complete: hdl 0x1, rsn 0x13
Using the same circuit with idf 5.0.6 and BLE 4.2 there are no problems.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Custom template with a FormGroup doesn't update the model

Hi all
my issue is basically the same of
Implementing custom template as group of fields #1045
i'd like to be able to implement a custom template, in which there are a bunch of fromgroups/controls inside
so far, even if i define those in the component, the formcontrols i add don't get reflected in the model
if i update the FieldType formControl, i get an updated model, but i can't manage to bind more than that one
for my usecase i don't want to make use of fieldsGroups but instead keep my logic inside the custom template, if possible
as of right now i'm trying to implement "hidden" fieldsGroups meaning i don't want them to be rendered by formly but i want to be able to manage them from my main custom template
i'm hoping for a simpler solution
P.S. another solution i have already in place is to simply listen for my formgroup valuechanges
and the write the value inside the fieldtype formcontrol
many thanks in advance

Still not clear to me what do you want to achieve, so it would be better to replicate your example using our stackblitz starter example https://stackblitz.com/edit/ngx-formly-ui-bootstrap in order to check your attempt :)
Thanks!

Sorry,
I did figure out what I was doing wrong. I needed my component (A mat-input and a mat-tree) to be a viewChild of the formly field.
Then the value accessor is correctly registered and I am able to pass/update the model as needed.
Kurt

On May 8, 2020, at 8:25 PM, Abdellatif Ait boudad<EMAIL_ADDRESS>wrote:

Still not clear to me what do you want to achieve, so it would be better to replicate your example using our stackblitz starter example https://stackblitz.com/edit/ngx-formly-ui-bootstrap in order to check your attempt :)
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

needed my component (A mat-input and a mat-tree) to be a viewChild of the formly

Hi there, apparently I'm facing the same problem you had. Could you provide more information how you solved it? Thanks!

Thanks for the response
i'll try to add an example as soon as i can
meanwhile i'll try to explain myself better
i have a complex custom template in which i want to use a complex formgroup and i want to bind that formgroup into the formly model.. out of the box it works only with the default formcontrol associated to the formly custom template.. if i declare my formgroup inside the custom template the formly model won't be reflected with such formgroup
for now i bypass this issue by listening via valuechanges to the formgroup and writing the value inside the custom template default formcontrol, it works but i was wondering if there is a "cleaner" solution
thanks for the good work

@fabioportieri
In my case this approach works like a charm


Always infer dependencies when not using presets

For now we'll enable it for non-reset builds only to ensure we don't break the builds. Once we are confident that the inference works well, we will switch everything over.

@swift-ci smoke test

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 85eb94a145216409029ebe5d0d2e13214fb68cf4

Build failed
Swift Test OS X Platform
Git Sha - 85eb94a145216409029ebe5d0d2e13214fb68cf4


Unneeded . at the end of the new track notification email

Or unsubscribe completely to stop getting emails on track uploads:
https://alonetone.com/notifications/unsubscribe.

Closed by #1022


Refactor the RecordMgr::StopSession to support both sync and async calls.

There are multiple use cases for Stopping a recording session

Triggered by an ODE occurrence
Stopped by the user when doing manual recordings
Called by a client callback - 'Q' key pressed for example

The NVIDIA DLL implements the stop as an asynchronous operation, however, each case above may need to be handled differently. Case 3 should always be done synchronously.
The Record Tap and Record Sink API will need to be updated to include a new Boolean parameter to control how the Stop Session is managed.
/**
 * @brief stops a current recording in session
 * @param[in] name unique name of the Record Tap to stop
 * @param[in] sync if set to true this call will block until the
 * stop operation has completed or timeout DSL_RECORDING_STOP_WAIT_TIMEOUT.
 * @return DSL_RESULT_SUCCESS on success, one of DSL_RESULT_TAP_RESULT on failure
 */
DslReturnType dsl_tap_record_session_stop(const wchar_t* name, boolean sync);

/**
/**
 * @brief stops a current recording in session
 * @param[in] name unique name of the Record Sink to stop
 * @param[in] sync if set to true this call will block until the
 * stop operation has completed or timeout DSL_RECORDING_STOP_WAIT_TIMEOUT.
 * @return DSL_RESULT_SUCCESS on success, one of DSL_RESULT_SINK_RESULT on failure
 */
DslReturnType dsl_sink_record_session_stop(const wchar_t* name, boolean sync);

This will resolve issue #610

Merged into v0.21.alpha


More updates for OME2020

Two titles submitted, one is main talk on Day 2, another is a lightning talk title.

This was okayed during today's extended standup. Merging for release


x/mobile/cmd/gomobile: init fails

gomobile init fails when trying to rename a linker which doesn't exist.
gomobile: rename /home/xxx/.go/pkg/gomobile/work-187000458/go/pkg/tool/linux_amd64/5l /home/xxx/.go/pkg/gomobile/android-ndk-r10d/arm/bin/5l: no such file or directory
Version:
➜  ~  go version
go version devel +783297a Sun Jul 12 04:42:40 2015 +0000 linux/amd64
➜  ~  uname -a
Linux xxx 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/Linux
➜  ~ cd $GOROOT_BOOTSTRAP
➜  go1.4 git:(886b02d) ✗ ./bin/go version
go version go1.4.1 linux/amd64

This looks like an old version of gomobile. Could you please run
go get -u golang.org/x/mobile/cmd/gomobile

@crawshaw is absolutely right. I had gomobile up to date, but PATH was incorrectly set and it was executing an old binary.
Thank you and sorry for wasting your time on a non issue.


Is it possible to have a field key named "From"?

What happened?
Looks like if I type from even without it being all cap it will not be recognized as key?
Thank you!
This is it being defined in the note:

Statistics for Data Science
[[2022-05-15]] | 11:18
From:: [[Foundations for Data Science]]

me trying to use it in a column:
TABLE
	file.ctime AS "Date Time",
	from AS "Course"
FROM [[2022 Applied Data Science MIT]] and "Learning/2022 Applied Data Science MIT"
SORT file.ctime DESC

parsing failed:
Dataview: Error:
-- PARSING FAILED --------------------------------------------------

  1 | TABLE
  2 | 	file.ctime AS "Date Time",
> 3 | 	from AS "Course"
    |      ^
  4 | FROM [[2022 Applied Data Science MIT]] and "Learning/2022 Applied Data Science MIT"
  5 | SORT file.ctime DESC

Expected:

variable

DQL
TABLE
	file.ctime AS "Date Time",
	from AS "Course"
FROM [[2022 Applied Data Science MIT]] and "Learning/2022 Applied Data Science MIT"
SORT file.ctime DESC

JS
No response
Dataview Version
0.5.20
Obsidian Version
0.14.6
OS
Windows

Haha great stuff.

You can use row["From"] - row is a virtual keyword which just refers to all of the data of the currently processed page.

I think I'll stick with the row notation for now - fixing the parser to handle this requires some painful backtracking logic to be implemented. Will make row more discoverable in the docs.


Tables: Hover effect

Could version 2.x include a mouse hover effect when hovering over table items?
thanks

+1

Added in 2.0.1-wip.

This sort of sucks if you want to use the table styles but hover on each individual cell or not hover at all while using custom cell/row backgrounds. It's impossible to override the hover effect on the row.
Could this be moved into a separate mixin, e.g. table-row-hover?

I agree with @nragaz. Don't understand why this is not a separate mixin or controllable, now I cannot have tables without hovering

also agree with @nragaz... I personally very much dislike the effect and would rather see it as an "opt in" kind of option.

+1 @nragaz

+1 @nragaz

+1 @nragaz


Upgrade Codenarc plugin

Except for config and configFile, since they cause failure of Gradleception that needs more research.

@bot-gradle test this

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger) (Check)

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger) (Check)

@bot-gradle test AST

I've triggered the following builds for you. Click here to see all build failures.

All Smoke Tests for Pull Request Feedback (Trigger) (Pull Request Feedback)

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger) (Check)

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger) (Check)

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger) (Check)


Wrapped sentence transformer

Wrapped sentence transformer to allow access to customized encode() and intercepting tokenizer() details.

Needed for IPEX (Intel PyTorch extension) which needs bfloat16 and autocast settings to be effective.
Allows us to get rid of the tokenizer copy that was needed for our desired truncation.  Now we leverage the same call SentenceTransformer was already doing anyway.

In order to keep the requested truncation error message, however, there is a re-tokenize just to get the correct error message.  This only happens on errors instead of impacting every request.

There's a bug in the new config handling.  I'll use the DRAFT flag while I fix that.


Add commands and mechanic mappings for Sentinel

Could you add denizen commands that trigger and work with the Sentinel commands? At the moment there's only events and tags.

A: This is a Depenizen request, not a Denizen one
B: No just use execute.


Dacia/Renault integration 'err.func.403',' access is denied for this resource'

I Have this integration installed for some time now (1 year+/-) waiting for the day it gets fixed but so far it's always the same. I have a Dacia Spring and I'm able to add it to home assistant but it never worked properly. It shows many sensors but all its unavailable, the only available entities is the start/stop charging and AC ON but everytime I press on, it shows the err.func.403 error and does nothing. I searched for this topic in internet and it seems some people have this integration running fine. I wonder if this issue it's related to my country Renault server/api (Portugal) or it's something else. Thanks

Here is the log:
2024-05-29 07:25:48.070 DEBUG (MainThread) [renault_api.kamereon] Send Kamereon POST request to https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/756de083-df4a-4bef-971f-4b2da6e2f134/kamereon/kca/car-adapter/v1/cars/UU1DBG004MU041359/actions/hvac-start?country=PT with body: {"data": {"type": "HvacStart", "attributes": {"action": "start", "targetTemperature": 21}}}
2024-05-29 07:25:48.071 DEBUG (MainThread) [renault_api.kamereon] Received Kamereon response 403 on POST to https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/756de083-df4a-4bef-971f-4b2da6e2f134/kamereon/kca/car-adapter/v1/cars/UU1DBG004MU041359/actions/hvac-start?country=PT: {"type":"FUNCTIONAL","messages":[{"code":"err.func.403","message":"{"errors":[{"status":"403","code":"security.access","detail":"Access is denied for this resource"}]}"}],"errors":[{"errorCode":"err.func.403","errorMessage":"{"errors":[{"status":"403","code":"security.access","detail":"Access is denied for this resource"}]}"}],"error_reference":"FUNCTIONAL"}
2024-05-29 07:25:48.072 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547354111808] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/renault/renault_vehicle.py", line 42, in wrapper
return await func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/renault/renault_vehicle.py", line 170, in set_ac_start
return await self._vehicle.set_ac_start(temperature, when)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/renault_api/renault_vehicle.py", line 395, in set_ac_start
response = await self.session.set_vehicle_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/renault_api/renault_session.py", line 261, in set_vehicle_action
return await kamereon.set_vehicle_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/renault_api/kamereon/init.py", line 364, in set_vehicle_action
await request(
File "/usr/local/lib/python3.12/site-packages/renault_api/kamereon/init.py", line 157, in request
kamereon_response.raise_for_error_code()
File "/usr/local/lib/python3.12/site-packages/renault_api/kamereon/models.py", line 136, in raise_for_error_code
error.raise_for_error_code()
File "/usr/local/lib/python3.12/site-packages/renault_api/kamereon/models.py", line 97, in raise_for_error_code
raise error_type(self.errorCode, error_details)
renault_api.kamereon.exceptions.AccessDeniedException: ('err.func.403', 'Access is denied for this resource')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/button/init.py", line 134, in _async_press_action
await self.async_press()
File "/usr/src/homeassistant/homeassistant/components/renault/button.py", line 50, in async_press
await self.entity_description.async_press(self)
File "/usr/src/homeassistant/homeassistant/components/renault/renault_vehicle.py", line 44, in wrapper
raise HomeAssistantError(err) from err

The request URL is correct.
The only difference I can spot to what is sent in my case is the additional parameter "id" which is an UUID:
{
  "data": {
    "type": "HvacStart",
    "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "attributes": {
      "action": "start",
      "targetTemperature": 21
    }
  }
}


mod tidy

@matthewkmayer tagging you here just so you know, the sidecar has been updated to handle the new oneof wrapper


Assigning CCLayer.Viewport throws uninformative exception

Sample code:
var newViewport = new CCViewport(new CCRect(0,0, this.ContentSize.Width, this.ContentSize.Height),
	CCDisplayOrientation.Portrait);
layer.Viewport = newViewport;

Exception:
{System.NullReferenceException: Object reference not set to an instance of an object
  at CocosSharp.CCNode.set_Viewport (CocosSharp.CCViewport value) [0x00006] in <filename unknown>:0
  at CoinTimeGame.Scenes.GameScene.ClipLayerForInputUi (CocosSharp.CCLayer layer) [0x0002e] in c:\Users\Victor\Documents\mobile-samples\CoinTime\CoinTime\Scenes\GameScene.cs:143 }	System.NullReferenceException

layer is not null - the exception is occurring within the setter.
Expected result is that the exception should tell the user why this is an invalid operation, or to not throw an exception.

With the upcoming ability to embed a view using CCGameView, a user can simply resize the view and hence the CCViewport class has been made redundant.


peinjector-control gui port 3333 error Kali

Hi,
im using kali 1.9 facing peinjector-control issue while starting the gui on port 3333. the port doesn't listen up,
so i check the error at /var/log/peinjector-control/control.err ( and found this error )
root@kali:~/Desktop/peinjector/pe-injector-control# tail -f /var/log/peinjector-control/control.err
import ServerHandler
File "/etc/peinjector-control/ServerHandler.py", line 10, in
import ipaddress
ImportError: No module named ipaddress
Traceback (most recent call last):
File "./peinjector_control.py", line 10, in
import ServerHandler
File "/etc/peinjector-control/ServerHandler.py", line 10, in
import ipaddress
ImportError: No module named ipaddress
i have tried installing ipaddress using pip install ipaddress.but still it says ImportError: No module named ipaddress.
Although this scripts works fine in kali linix 2.0 but i want to work on kali old version, so is their is any way i can fix it on kali linux 1.x version ?

Please check your python version.
You need Python 3.4.

ok so kali old has not paython 3.4.
one more thing... by deafault PEINJECTOR works as an http proxy mode, how can i use Transparent Mode ?

like this config settings.
[proxy]
port = 8080
cadir = ./ca
mode = regular
can i change mode to Transparent proxy.. ?

mmmm, maybe...
We have never tried it.
the option 'mode' set direct the option in libmproxy
https://mitmproxy.org/doc/modes.html

im trying to use it in transparent mode .. but its not working. can you please guide me to act this as a transparent proxy.. ?

i think their is something missing or maybe not properly configured,im not a python programmer,
you better know the issue, but i found this : https://github.com/mitmproxy/mitmproxy/issues/177

We're working at the problem, i think we found a solution. Currently testing, we'll provide a fix asap.

alright thanks

There is a general problem with the mitmproxy.
it might take some time...

ok no problem...although the tool works fine...
had some issue while running in kali 1.0  but it works in kali 2.0
now just transparent proxy is needed with it !

any update plz ...

their buddy ? how much more time ???
On Sun, Oct 25, 2015 at 2:16 AM, Schnorcher Sepp<EMAIL_ADDRESS>wrote:

There is a general problem with the mitmproxy.
it might take some time...
—
Reply to this email directly or view it on GitHub
https://github.com/JonDoNym/peinjector/issues/6#issuecomment-150851972.

currently, i have no time. maybe next weekend.

ok buddy :(
On Mon, Nov 2, 2015 at 1:21 AM, Schnorcher Sepp<EMAIL_ADDRESS>wrote:

currently, i have no time. maybe next weekend.
—
Reply to this email directly or view it on GitHub
https://github.com/JonDoNym/peinjector/issues/6#issuecomment-152860518.

HI Buddy,
Hope you are doing good,and i hope you have sometime to fix the PEinjector
on Transparent layer issue?
On Mon, Nov 2, 2015 at 1:46 AM, Kanwal Tahir<EMAIL_ADDRESS>wrote:

ok buddy :(
On Mon, Nov 2, 2015 at 1:21 AM, Schnorcher Sepp<EMAIL_ADDRESS>wrote:

currently, i have no time. maybe next weekend.
—
Reply to this email directly or view it on GitHub
https://github.com/JonDoNym/peinjector/issues/6#issuecomment-152860518.

Sorry for the big delay, but now i have time.
Aaaaaaaand it works ... without any changes!
TESTS:
I have tested it in a vm with kali 2
VM router:
eth0: NAT, DHCP (Internet)
eth1: fix IP (gateway for your pc)
VM pc1:
eth0: {set the gateway to the ip from router.eht1}
STEP 1:
install peinjector on router: https://github.com/JonDoNym/peinjector/wiki/Guide:-full-installation
STEP 2:
test the installation  (set in the proxy your browser; SET A SHELLCODE!!)
STEP 3: (reconfiguration)
change in: /etc/peinjector-interceptor/config.ini
mode = transparent

STEP 4: (restart peinjector-interceptor)
service peinjector-interceptor stop
service peinjector-interceptor start

STEP 5: (activate forwarding)
sysctl -w net.ipv4.ip_forward=1     # this is NOT persistence!!

STEP 6: (redirect http and https traffic to the proxy)
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080       # !! THE gateway ETH !!!
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 443 -j REDIRECT --to-port 8080      # !! THE gateway ETH !!!

STEP 7: (nat for the other connections)
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE     # !! THE INTERNET ETH !!!

STEP 8: (config the gateway from pc1)
pc1 use eth1 from router as gateway!
now it works!


Initial merge for PCB project files

Created Altium project
Added connectors to PCB

Hi Ryan, looks like the majority of these files are Altium IDE caches generated automatically and should only be kept locally on your machine. I've setup no a .gitignore in main. Would you mind doing the following things to untrack them in git?

# Commit the deletion from git (but it will not remove your local files)
git commit m "drop ignored files from git"
git push --force


Node.js Cluster Example Fails under VS Code

Environment:

VS Code Version 0.10.9
Mac OS 10.10.5
Node.js v4.3.1

Steps to Reproduce:
Create a new directory named cluster-test
Create a new file cluster-test\app.js with sample code from https://nodejs.org/dist/latest-v4.x/docs/api/cluster.html#cluster_cluster as follows:
const cluster = require('cluster');
const http = require('http');
const numCPUs = require('os').cpus().length;

if (cluster.isMaster) {
  // Fork workers.
  for (var i = 0; i < numCPUs; i++) {
    cluster.fork();
  }

  cluster.on('exit', (worker, code, signal) => {
    console.log(`worker ${worker.process.pid} died`);
  });
} else {
  // Workers can share any TCP connection
  // In this case it is an HTTP server
  http.createServer((req, res) => {
    res.writeHead(200);
    res.end('hello world\n');
  }).listen(8000);
}

Open cluster-test in VS Code
Switch to the Debug view and click the Start icon, or press F5
Select "Node.js" as the debug environment
Click Start again
Point you browser to http://localhost:8000/
Observe that no one is listening
Exit VS code, open a command prompt and invoke:
node cluster-test\app.js
Point you browser to http://localhost:8000/
Observe that a "hello world" response is received
Conclusion:
Basic node cluster example fails in VS Code

@curtw how does you launch config look like?

My launch.json file is unaltered from that which VS Code created by default:
{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "Launch",
			"type": "node",
			"request": "launch",
			"program": "${workspaceRoot}/app.js",
			"stopOnEntry": false,
			"args": [],
			"cwd": "${workspaceRoot}",
			"runtimeExecutable": null,
			"runtimeArgs": [
				"--nolazy"
			],
			"env": {
				"NODE_ENV": "development"
			},
			"externalConsole": false,
			"sourceMaps": false,
			"outDir": null
		},
		{
			"name": "Attach",
			"type": "node",
			"request": "attach",
			"port": 5858,
			"sourceMaps": false,
			"outDir": null,
			"localRoot": "${workspaceRoot}",
			"remoteRoot": null
		}
	]
}

Reproduced for me in debug mode
But this example works when launching without debugging (ctrl + F5\ cmd + F5)

vscode default use --debug-brk to enable the debug support which block the child process at beginning.

+1

Yes, the --debug-brk option is the problem. Currently there is no way to prevent VS Code from using this option, but there are two workarounds:

change the argument by adding this statement as the first line to app.js:

process.execArgv[0] = process.execArgv[0].replace('-brk', '');

or launch node from a terminal and attach to it with the VS Code debugger.

Run in terminal:
node --debug app.js

Then select the default 'attach' launch config and attach to it.

BTW, in the latest VS Code Insider you can use the new process picker support to select the cluster worker that you want to debug. After starting the cluster app from a terminal:
node app.js

run the 'Attach to Process' launch config and select a process:

The 2nd workaround is the preferred way if you actually want to debug any worker and not just the first process that is launched.

what could be the workaround if I want to debug all workers in the same time ?

@weinand When I launch a node js process that is clustered, and try to 'Attach to Process', I only have the master process in the list. How do you manage to have the master process, and all the forks in your list (your screenshot) ?

I was facing the same issue in my web app, what I did is the following:
if (cluster.isMaster && process.env.NODE_ENV !== "development")

app.listen(port, function () {
    if(cluster.worker)
        console.log("Worker %d running! App listening on port %s", cluster.worker.id, port);
    else
        console.log("App listening on port %s", port);
});

Because I only need this feature in production. 😄
@weinand

Cheers sant123 thats good enough for me to investigate if vscode is good to test with :)

FYI, starting with the October release VS Code supports multi session debugging. This means you can create multiple launch configurations that attach to different debug ports. But you would have to trigger these launch configs manually...
A better way could be to write a small extension that uses a launch config as a template and starts multiple debug sessions out of it (and varies the debug port for each of them).

you cannot use hack :
process.execArgv[0] = process.execArgv[0].replace('-brk', '');

with "type": "node2",

Something you can try is pm2. From here I just forget the need to create clusters in my code, because this creates them for me. This is useful for development and production environments. At the end, you write your code as a single process but you can turn it to multiple process.

we had write inspector-proxy to proxy the workers debugPort, so in VSCode we just need to attach to one port without worry abut increate debugPort.

Why can't VS Code have the option detect when a cluster.fork happens, then automatically connect to that process and start a debug session?  That seems like it would be the Right Thing To Do because you'd be debugging all child processes and it would just hit all the breakpoints no matter which process hit them.

Other IDEs like Webstorm have indeed better support for debugging child processes. I hope the VSCode team is going to work on a better support too.

Any suggestions how to detect the cluster.fork?
We do accept pull requests!

seems WebStorm will monitor the main process's child process tree, and auto attach them

when debug with:
    {
      "type": "node",
      "request": "launch",
      "name": "Egg Debug",
      "runtimeExecutable": "npm",
      "runtimeArgs": [
        "run",
        "debug","--", "--workers=2"
      ],
      "console": "integratedTerminal",
      "restart": true,
      "protocol": "auto",
      "port": 9999
    }

the process tree is:
➜  showcase git:(master) ✗ pstree -s showcase
-+= 00001 root /sbin/launchd
 \-+= 00806 tz /Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_122910
   \-+- 01821 tz /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --type=renderer --js-flags=--nolazy --no-sandbox --primordial-pipe-token=835C6
     \-+- 02161 tz /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --
       \-+= 02162 tz /bin/zsh -l
         \-+= 02258 tz npm
           \-+- 02261 tz node /Users/tz/Workspaces/eggjs/test/showcase/node_modules/.bin/egg-bin debug --workers=2
             \-+- 02269 tz /Users/tz/git/nvs/node/8.9.0/x64/bin/node --inspect /Users/tz/Workspaces/eggjs/test/showcase/node_modules/_egg-bin@4.3.5@egg-bin/lib/start-cluster {"workers":1,"baseDir
               |--- 02273 tz /Users/tz/git/nvs/node/8.9.0/x64/bin/node --inspect --debug-port=5800 /Users/tz/Workspaces/eggjs/test/showcase/node_modules/_egg-cluster@1.12.4@egg-cluster/lib/agent_
               \--- 02274 tz /Users/tz/git/nvs/node/8.9.0/x64/bin/node --inspect --inspect-port=9230 /Users/tz/Workspaces/eggjs/test/showcase/node_modules/_egg-cluster@1.12.4@egg-cluster/lib/app_

so I guess WebStorm will do this:

find the main program pid  02258 tz npm
monitor the child tree of this pid
if the child / grandson process had debug execArgv, then attach it

Oh this looks like a perfect opportunity for an extension!

yes, @weinand, I want to try before, but got some problem:
I don't know how to got the main process pid of vscode start program, onDidStartDebugSession

The Node community is currently working on a PR that will add support of debugging fork/child processes via the new Inspector Protocol target domain. We should strive to add support for new sub targets via this API, and are already tracing the work in our core library: https://github.com/Microsoft/vscode-chrome-debug-core/issues/251

@isidorn Huh?  Why is this an extension candidate?  Automatically attaching to the correct port for cluster child processes seems well within the remite on VS Code considering it comes with a debugger and multi-process debugging.

The extension candidate label was already present in this issue, I simply reapplied it.
I see the discussion seems lively so I can reopen the issue and @weinand can decide on how to proceed

@weinand Any update? What's the plan for this?

For another project I wrote an extension that tracks all child processes of VS Code (which could include a node.js cluster) and allows to pick node.js processes for debugging based on ports or pids. This could be an alternative way of supporting a node.js cluster (alternative to the new Inspector Protocol target domain mentioned above).

I followed my own suggestion: please see some progress in https://github.com/Microsoft/vscode/issues/40123

duplicate of #40123.


[Enhancement] Method shutdown() creates iterators on synchronized collections

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

located at:
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/push/HTTPClientPool.java line 56,74
analysis and explanation:
This method uses a synchronized collection, built from Collections.synchronizedXXXX, but accesses it through an iterator. Since an iterator is, by definition, multithreading-unsafe, this is a conflict in concept. When using iterators, should do the synchronization manually.
Describe the solution you'd like
1.Synchronize manually.
2. Field 'clients' may be 'final'
reference:

Are you willing to submit PR?

[x] Yes I am willing to submit a PR!

I'd like to fix it.


Crash on iOS at IOSGLContext::UpdateStorageSizeIfNecessary

Steps to Reproduce
Crashes were recorded on user's iOS device.
iOS versions are 10.3.3, 10.3.2, 10.2.1.
Logs
Crashed: com.apple.main-thread
SIGABRT ABORT 0x0000000189bed014
0  libsystem_kernel.dylib         0x189bed014 __pthread_kill + 8
1  libsystem_pthread.dylib        0x189cb7264 pthread_kill + 112
2  libsystem_c.dylib              0x189b619c4 abort + 140
3  Metal                          0x18d1ebb44 MTLGetWarningMode + 270
4  AppleMetalGLRenderer           0x1a6cdae50 GLDTextureRec::update(unsigned int, unsigned short*) + 768
5  AppleMetalGLRenderer           0x1a6cdab04 GLDTextureRec::load() + 96
6  AppleMetalGLRenderer           0x1a6cddc14 gldLoadTexture + 16
7  GLEngine                       0x19ff51bb8 gliSetInteger + 5304
8  GLEngine                       0x1a0028db4 gliBindViewES + 636
9  OpenGLES                       0x18d21ba98 -[EAGLContext renderbufferStorage:fromDrawable:] + 536
10 Flutter                        0x100d660dc shell::IOSGLContext::UpdateStorageSizeIfNecessary() + 140
11 Flutter                        0x100d66520 non-virtual thunk to shell::IOSSurfaceGL::GLContextMakeCurrent() + 44
12 Flutter                        0x100d908c0 shell::GPUSurfaceGL::GPUSurfaceGL(shell::GPUSurfaceGLDelegate*) + 84
13 Flutter                        0x100d66338 shell::IOSSurfaceGL::CreateGPUSurface() + 44
14 Flutter                        0x100d5efbc -[FlutterViewController surfaceUpdated:] + 92
15 UIKit                          0x190d21d38 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1320
16 QuartzCore                     0x18df12274 -[CALayer layoutSublayers] + 148
17 QuartzCore                     0x18df06de8 CA::Layer::layout_if_needed(CA::Transaction*) + 292
18 QuartzCore                     0x18df06ca8 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32
19 QuartzCore                     0x18de8234c CA::Context::commit_transaction(CA::Transaction*) + 252
20 QuartzCore                     0x18dea93ac CA::Transaction::commit() + 504
21 QuartzCore                     0x18dea9e78 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 120
22 CoreFoundation                 0x18aba09a8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
23 CoreFoundation                 0x18ab9e630 __CFRunLoopDoObservers + 372
24 CoreFoundation                 0x18aacedc4 CFRunLoopRunSpecific + 456
25 UIKit                          0x190d8efc8 -[UIApplication _run] + 652
26 UIKit                          0x190d89c9c UIApplicationMain + 208
27 Runner                         0x1000c5b38 main (AppDelegate.swift:13)
28 libdyld.dylib                  0x189add59c start + 4

And similar crash:
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000000000b0
0  AppleMetalGLRenderer           0x1a6dfc980 GLRResourceList::addFence(GLRResource*) + 20
1  AppleMetalGLRenderer           0x1a6e0db60 GLDContextRec::flushContextInternal() + 128
2  GLEngine                       0x1a05fea80 gliBindViewES + 108
3  OpenGLES                       0x18e174b20 -[EAGLContext renderbufferStorage:fromDrawable:] + 504
4  Flutter                        0x100d220dc shell::IOSGLContext::UpdateStorageSizeIfNecessary() + 140
5  Flutter                        0x100d22520 non-virtual thunk to shell::IOSSurfaceGL::GLContextMakeCurrent() + 44
6  Flutter                        0x100d4c8c0 shell::GPUSurfaceGL::GPUSurfaceGL(shell::GPUSurfaceGLDelegate*) + 84
7  Flutter                        0x100d22338 shell::IOSSurfaceGL::CreateGPUSurface() + 44
8  Flutter                        0x100d1afbc -[FlutterViewController surfaceUpdated:] + 92
9  Flutter                        0x100d1b470 -[FlutterViewController viewWillAppear:] + 124
10 UIKit                          0x1919c8ee4 -[UIViewController _setViewAppearState:isAnimating:] + 624
11 UIKit                          0x1919c8c5c -[UIViewController __viewWillAppear:] + 156
12 UIKit                          0x191cff560 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 1096
13 UIKit                          0x191c42d5c _runAfterCACommitDeferredBlocks + 292
14 UIKit                          0x191c34b10 _cleanUpAfterCAFlushAndRunDeferredBlocks + 560
15 UIKit                          0x191c4ddf8 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke_2 + 188
16 CoreFoundation                 0x18bb04160 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
17 CoreFoundation                 0x18bb0395c __CFRunLoopDoBlocks + 288
18 CoreFoundation                 0x18bb017d4 __CFRunLoopRun + 824
19 CoreFoundation                 0x18ba30048 CFRunLoopRunSpecific + 444
20 GraphicsServices               0x18d4b6198 GSEventRunModal + 180
21 UIKit                          0x191a1c2fc -[UIApplication _run] + 684
22 UIKit                          0x191a17034 UIApplicationMain + 208
23 Runner                         0x10009db38 main (AppDelegate.swift:13)
24 libdispatch.dylib              0x18aa145b8 (Missing)

Flutter Doctor
[✓] Flutter (on Mac OS X 10.12.6 16G29, locale ja-JP, channel master)
    • Flutter at /Users/foo/Develop/flutter
    • Framework revision 8c2c502257 (7 days ago), 2017-08-23 17:07:59 -0700
    • Engine revision 51775c77a9
    • Tools Dart version 1.25.0-dev.11.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.1)
    • Android SDK at /Users/foo/Library/Android/sdk
    • Platform android-26, build-tools 26.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.3.3, Build version 8E3004b
    • ios-deploy 1.9.1
    • CocoaPods version 1.1.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.1.5)
    • Flutter plugin version 16.0
    • Dart plugin version 171.4694.29

@cbracken do you know if this is related to the "drawing while in background" crash you fixed, or might this be separate?

These look separate.

alpha 0.0.16 has this too.
http://crashes.to/s/0eec2c3d2d3
http://crashes.to/s/8f642d7a805
http://crashes.to/s/7b54b8764b2
http://crashes.to/s/74edfed29c3

I am testing with https://github.com/flutter/flutter/commit/517315de487b28b46b516b2f14ae2dffc4a8ecac and https://github.com/flutter/engine/commit/d43d35347594c893687dec7402a525d83f57db10 and the crash of this issue has not occurred yet.

I got the crash with https://github.com/flutter/flutter/commit/517315de487b28b46b516b2f14ae2dffc4a8ecac and https://github.com/flutter/engine/commit/d43d35347594c893687dec7402a525d83f57db10

alpha 0.0.17 has this too.

In our app, it seems that this crash occurs when returning from iOS screen like WebView and ImagePicker.

Seeing this in 0.0.22 as well:
Flutter 0.0.22 • channel dev • https://github.com/flutter/flutter.git
Framework • revision 3001b3307d (6 days ago) • 2018-01-30 11:37:15 -0800
Engine • revision 8f2d72b183
Tools • Dart 2.0.0-dev.16.0

#0. Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0x1847582e8 __pthread_kill + 8
1  libsystem_pthread.dylib        0x18486d2f8 pthread_kill$VARIANT$mp + 396
2  libsystem_c.dylib              0x1846c6fbc abort + 140
3  Metal                          0x186965a9c MTLGetWarningMode + 270
4  AppleMetalGLRenderer           0x1a43933d0 GLDTextureRec::update(unsigned int, unsigned short*) + 764
5  AppleMetalGLRenderer           0x1a4393088 GLDTextureRec::load() + 96
6  AppleMetalGLRenderer           0x1a4396264 gldLoadTexture + 16
7  GLEngine                       0x1a50e1a30 gliSetInteger + 5428
8  GLEngine                       0x1a51b1d44 gliBindViewES + 632
9  OpenGLES                       0x187b099b4 -[EAGLContext renderbufferStorage:fromDrawable:] + 536
10 Flutter                        0x105bd4d28 shell::IOSGLContext::UpdateStorageSizeIfNecessary() + 180
11 Flutter                        0x105bd5168 non-virtual thunk to shell::IOSSurfaceGL::GLContextMakeCurrent() + 44
12 Flutter                        0x105c062cc shell::GPUSurfaceGL::GPUSurfaceGL(shell::GPUSurfaceGLDelegate*) + 84
13 Flutter                        0x105bd4f88 shell::IOSSurfaceGL::CreateGPUSurface() + 44
14 Flutter                        0x105bcb9fc -[FlutterViewController surfaceUpdated:] + 92
15 UIKit                          0x18e1faf68 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1612
16 QuartzCore                     0x188c87948 -[CALayer layoutSublayers] + 184
17 QuartzCore                     0x188c8bad0 CA::Layer::layout_if_needed(CA::Transaction*) + 332
18 QuartzCore                     0x188bf831c CA::Context::commit_transaction(CA::Transaction*) + 336
19 QuartzCore                     0x188c1fb40 CA::Transaction::commit() + 540
20 UIKit                          0x18e476b6c __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 140
21 CoreFoundation                 0x184beb590 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
22 CoreFoundation                 0x184beae60 __CFRunLoopDoBlocks + 288
23 CoreFoundation                 0x184be8b70 __CFRunLoopRun + 1068
24 CoreFoundation                 0x184b08c58 CFRunLoopRunSpecific + 436
25 GraphicsServices               0x1869b4f84 GSEventRunModal + 100
26 UIKit                          0x18e2615c4 UIApplicationMain + 236
27 Runner                         0x104ec62c4 main (AppDelegate.swift:27)
28 libdyld.dylib                  0x18462856c start + 4

In my app using Flutter 0.1.2, this crash has not occurred so far.

/cc @chinmaygarde who has a fix for this in his shell refactor.

v0.2.1 has this too.

Thanks for reporting. @chinmaygarde is quite close to landing his refactoring, which includes a fix for this issue. We'll update here once that goes in.

We released an application using v0.4.4. This crash has not occurred.
I will comment again next week.

@najeira, were you able to confirm that this was fixed? I'd like to close this on that basis if I could. Thanks!

I think that this was fixed. Thanks!

I think the flutter sdk doesn't work well.
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xb0)
    frame #0: 0x00000001c3464b94 AppleMetalGLRenderer`GLRResourceList::addFence(GLRResource*) + 20
    frame #1: 0x00000001c3475378 AppleMetalGLRenderer`GLDContextRec::flushContextInternal() + 120
    frame #2: 0x00000001c4381d60 GLEngine`gliBindViewES + 108
    frame #3: 0x00000001a62959ac OpenGLES`-[EAGLContext renderbufferStorage:fromDrawable:] + 500
    frame #4: 0x0000000109f3d88c libglInterpose.dylib`EAGLContext_renderbufferStorageFromDrawable(EAGLContext*, objc_selector*, unsigned long, id<EAGLDrawable>) + 1044
    frame #5: 0x000000010af271f8 Flutter`___lldb_unnamed_symbol831$$Flutter + 180
    frame #6: 0x000000010af273ac Flutter`___lldb_unnamed_symbol838$$Flutter + 40
    frame #7: 0x000000010b27a868 Flutter`___lldb_unnamed_symbol13085$$Flutter + 132
    frame #8: 0x000000010af27374 Flutter`___lldb_unnamed_symbol837$$Flutter + 44
    frame #9: 0x000000010af1ca5c Flutter`___lldb_unnamed_symbol535$$Flutter + 344
    frame #10: 0x000000010af1cbb0 Flutter`___lldb_unnamed_symbol536$$Flutter + 188
  * frame #11: 0x0000000104d8736c qding`-[QDPushFlutterBaseVC viewWillAppear:](self=0x0000000154a24e00, _cmd="viewWillAppear:", animated=YES) at QDPushFlutterBaseVC.m:95:5
    frame #12: 0x00000001cf064014 UIKitCore`-[UIViewController _setViewAppearState:isAnimating:] + 584
    frame #13: 0x00000001cf0646e0 UIKitCore`-[UIViewController __viewWillAppear:] + 140
    frame #14: 0x00000001cefbbea8 UIKitCore`-[UINavigationController _startCustomTransition:] + 1248
    frame #15: 0x00000001cefcfde8 UIKitCore`-[UINavigationController _startDeferredTransitionIfNeeded:] + 708
    frame #16: 0x00000001cefd1210 UIKitCore`-[UINavigationController __viewWillLayoutSubviews] + 164
    frame #17: 0x00000001cefb4420 UIKitCore`-[UILayoutContainerView layoutSubviews] + 224
    frame #18: 0x00000001cfa8fe54 UIKitCore`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1292
    frame #19: 0x00000001a751e1f0 QuartzCore`-[CALayer layoutSublayers] + 184
    frame #20: 0x00000001a7523198 QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 332
    frame #21: 0x00000001a74860a8 QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 348
    frame #22: 0x00000001a74b4108 QuartzCore`CA::Transaction::commit() + 640
    frame #23: 0x00000001a74b4cf8 QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
    frame #24: 0x00000001a302189c CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
    frame #25: 0x00000001a301c5c4 CoreFoundation`__CFRunLoopDoObservers + 412
    frame #26: 0x00000001a301cb40 CoreFoundation`__CFRunLoopRun + 1228
    frame #27: 0x00000001a301c354 CoreFoundation`CFRunLoopRunSpecific + 436
    frame #28: 0x00000001a521c79c GraphicsServices`GSEventRunModal + 104
    frame #29: 0x00000001cf607b68 UIKitCore`UIApplicationMain + 212
    frame #30: 0x0000000104ea2dec qding`main(argc=1, argv=0x000000016b2eb800) at main.m:14:16
    frame #31: 0x00000001a2ae28e0 libdyld.dylib`start + 4

➜  FlutterSDK git:(stable) flutter doctor --verbose
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.4 18E227, locale zh-Hans-CN)
    • Flutter version 1.2.1 at /Users/wuhaiwei/Desktop/FlutterSDK
    • Framework revision 8661d8aecd (3 months ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/wuhaiwei/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.33.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.25.1

[✓] Connected device (1 available)
    • 古月 • 4b88c872034991ba528bc435f6bb37a260a2c261 • ios • iOS 12.2

• No issues found!

@wuhaiwei would you be willing to file a new bug with that stack trace?  This is an old bug which is already closed.
It looks like there is more for us to fix here.
It would also help to know what model iphone this is?

ok , I will ,and my phone is iPhone 7 Plus, do you know
what can I do to fix it? thanks !

@eseidelGoogle  I file a new bug,  #32453
I would be very grateful if you are willing to help.


Question about testing grayscale images!Could you please help me to see if my modified code is correct?

Thank you for your code！
My question is that Could you please help me to see if my modified code is correct?
I modified the "test" function in model.py to test grayscale images. The code can be run after modification.  But I'm not sure if the details are correct....The modified part of the code has been marked with "Here！".
Looking forward to your reply！
    def test(self, height, width, input_path, output_path):
        if not os.path.exists(output_path):
            os.makedirs(output_path)
        imgsName = sorted(os.listdir(input_path))

        H, W = height, width
        inp_chns = 3 if self.args.model == 'color' else 1
        self.batch_size = 1                                                    #Here！
        inputs = tf.placeholder(shape=[self.batch_size, H, W, inp_chns], dtype=tf.float32)
        outputs = self.generator(inputs, reuse=False)

        sess = tf.Session(config=tf.ConfigProto(gpu_options=tf.GPUOptions(allow_growth=True)))

        self.saver = tf.train.Saver()
        self.load(sess, self.train_dir, step=3000)

        for imgName in imgsName:
            blur = scipy.misc.imread(os.path.join(input_path, imgName))
            blur = np.expand_dims(blur, 2)                           #Here！
            h, w, c = blur.shape
            # make sure the width is larger than the height
            rot = False
            if h > w:
                blur = np.transpose(blur, [1, 0, 2])
                rot = True
            h = int(blur.shape[0])
            w = int(blur.shape[1])
            resize = False
            if h > H or w > W:
                scale = min(1.0 * H / h, 1.0 * W / w)
                new_h = int(h * scale)
                new_w = int(w * scale)
                blur = scipy.misc.imresize(blur, [new_h, new_w], 'bicubic')
                resize = True
                blurPad = np.pad(blur, ((0, H - new_h), (0, W - new_w), (0, 0)), 'edge')
            else:
                blurPad = np.pad(blur, ((0, H - h), (0, W - w), (0, 0)), 'edge')
            blurPad = np.expand_dims(blurPad, 0)
            if self.args.model != 'color':
                blurPad = np.transpose(blurPad, (3, 1, 2, 0))

            start = time.time()
            deblur = sess.run(outputs, feed_dict={inputs: blurPad / 255.0})
            duration = time.time() - start
            print('Saving results: %s ... %4.3fs' % (os.path.join(output_path, imgName), duration))
            res = deblur[-1]
            if self.args.model != 'color':
                res = np.transpose(res, (3, 1, 2, 0))
            res = im2uint8(res[0, :, :,0])                            #Here！
            # crop the image into original size
            if resize:
                res = res[:new_h, :new_w]                               #Here！
                res = scipy.misc.imresize(res, [h, w], 'bicubic')
            else:
                res = res[:h, :w]                                                 #Here！
            if rot:
                res = np.transpose(res, [1, 0])                           #Here！
            scipy.misc.imsave(os.path.join(output_path, imgName), res)

Sorry I cannot check code line-by-line.

Make sure you are using gray model.

And make sure the input to this line:
deblur = sess.run(outputs, feed_dict={inputs: blurPad / 255.0})
blurPad should have the correct shape, that is [batch, height, width, channel = 1].
If so, the inference should be correct.

Sometimes, your image seems gray-scale, but it has actually 3-channels. So please make sure, the shapes of each step are all as you expected.

Hope it helps.

@jiangsutx Thank you for your reply!
As you said ,in the code:
deblur = sess.run(outputs, feed_dict={inputs: blurPad / 255.0})
I have set channel to 1 to satisfy [batch, height, width, channel = 1],and what should batch_size be set to?I see your original code:
self.batch_size = 1 if self.args.model == 'color' else 3
When i set batch_size to 3 to satisfy [3,h,w,1],the code has something wrong..however,when i set batch_size to 1,[batch, height, width, channel] satisfies [1,h,w,1],and the code can work!Both inputs and blurPro have the same dimensions [3,h,w,1] or [1,h,w,1],but i don't know how to choose the value of batch_size..

@jiangsutx Thank you for your reply!
As you said ,in the code:
deblur = sess.run(outputs, feed_dict={inputs: blurPad / 255.0})
I have set channel to 1 to satisfy [batch, height, width, channel = 1],and what should batch_size be set to?I see your original code:
self.batch_size = 1 if self.args.model == 'color' else 3
When i set batch_size to 3 to satisfy [3,h,w,1],the code has something wrong..however,when i set batch_size to 1,[batch, height, width, channel] satisfies [1,h,w,1],and the code can work!Both inputs and blurPad have the same dimensions [3,h,w,1] or [1,h,w,1],but i don't know how to choose the value of batch_size..

When doing testing, all you want is to test one image, so batch_size should be 1.
When testing on color images: a) color model takes RGB channel at once, so shape is [1, height. width, 3] as input.
b) gray model take single channel image as input, and RGB has 3 channels,  so we separate it into 3 images and put them in batch channel. so input size is [3, height, width, 1].
In your case, you only want to test one gray image using gray model, so input should be [1, height, width, 1].

Hope it is clear.

@jiangsutx Thanks a lot! it is very clear!


Maya: Remove plugins for instancer family - there is no instancer family?

Changelog Description
Remove plug-ins targeting instancer family.
Additional info
There appears to be no creators or any other usage of "instancer" families inside the maya codebase - so I have a feeling this is completely redundant currently and can be removed. Likely once was half-copied to OpenPype from very old colorbleed codebase?
Testing notes:

Not sure what to test since they should have been unused?

If these are going to be removed. then, they should be removed from settings too.

If these are going to be removed. then, they should be removed from settings too.

Thanks, done with https://github.com/ynput/ayon-core/pull/208/commits/ed3ccf090f358d042404971b670dedf7e44838b0


Open a tab application when click on search result item

I have a requirement to open a personal tab application when click on item which is shown as a results search command extension

duplicated in #2291


Adding zk version

What does this PR do?
Adds zk version
Motivation
https://github.com/DataDog/integrations-core/pull/2008/

tracked here: https://github.com/DataDog/integrations-core/pull/2006


Update add_tool.md

Clarified that the github issue with the request to sync neurodocker should not have a specific admin tagged. The admins will see it and act on it.

Thanks @civier


[Community Vote] change default keystroke for PT Run

📝 Provide a description of the new feature
There are a set of users that really love alt+space.  We overrode that by default. Note the keystroke can be changed in the settings extremely easily
One idea is to shift to WinKey+space but this would override the change localized keyboard shortcut.
Should we change the default for new users to PowerToys? Should this be the suggested one above?

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Yes please. I’ve already changed the shortcut, but I was surprised how much ALT+SPACE had become muscle memory for things like maximizing or closing a window.

I use Win + Space a lot to switch input locales so I wouldn't know what to set it to - plus I got pretty much used to Alt + Space by now to access PT Run.
Maybe optionally the Win key itself as I'm not using the start menu at all since I have PT Run.

Yes please. I’ve already changed the shortcut, but I was surprised how much ALT+SPACE had become muscle memory for things like maximizing or closing a window.

Sadly alt+space is one of those keystrokes i think you love or never even knew existed.  I'd view myself as pretty knowledgeable on Windows and feel clearly into the "never knew existed" camp

@crutkas
I think we should pin this issue.

I personally use Strg+R.

I have changed it to Win+R to replace the Run screen.

Given "regular" Run is Win+R, then Alt+R (or Win+Shift+R or Win+Alt+R) is what would make the most sense (to me). In any case, the default shouldn't be one that's already used by the system by default (like the keyboard language switcher).

I'm used to WinKey + Space now but I'd also agree that it's for the better to use Win + Space for this, especially if there's a chance of this becoming native to Windows at some point.

I filed an issue about this back in May since it conflicts with a system key combination: #3444. Yes, the invoking keystroke should be changed as it stomps on a system key combination and is therefore detrimental to keyboard accessibility.

I'm using Win+Space to change the input source as it is native in Win10.
And Alt+Space to call PT: R

I wouldn't mind that, the language select could go to Win + K for keyboard layout or something. Alternatively I would love if I could set PT Run to the right WinKey only. So WinKey left opens the Start Menu like usual and WinKey right PT Run.

I use ctrl + alt + space

I also use Ctrl + Alt + Space, which can be easily invoked on a DE layout keyboard by using AltGr + Space (and this combo is rarely used by any application)

Don't do so please, cuz I believed majority of users are used to apply Win + space as switching from US keyboard to another keyboard settings

I have changed it to Win + Q as a companion to the Win + R command for Run.
@Skyyblaze Some of us don't have 2 Win keys on our keyboards :(

I have changed it to Win+Q as a companion to the Win+R command for Run. Search can still be accessed by Win+S so that's okay.
@Skyyblaze Some of us don't have 2 Win keys on our keyboards :(

That's fair, in the end it should be fully customizable, no matter if a user wants it just on one of the Win Keys, on Win+Q or where ever else :)
(Also how do I insert these neat little key-graphics in a post?

(I know much of this has been said but I have not seen a comment to accessibility so I summarize my two-cents worth....)
The default of ALT-SPACE is an accessibility issue. It is used to access the shortcut menu (Restore/Move/Max/Min/Close menu).
  This keystroke has been active since Windows 2!!! (Here is documentation for Windows 3 -- I couldn't find an online reference for 2 but if you run an emulator of Windows 2, it is there.)
The default of ALT-SPACE is also a support issue.  Also I regularly use this in phone support when a user has accidentally sized an application window so small they don't recognize it is there.... Or when the taskbar is blocking access to an application (especially when the taskbar is at the top.)
The default of WIN-SPACE is a problem for International users as it shows the language selection.
Proposed solutions?
For the default keystroke, what do you think of:
A) WIN+SHIFT+SPACE
B) WIN+SPACE but it if is already mapped, prompt the user to choose a different shortcut (such as WIN+SHIFT+SPACE)
C) CONTROL+ALT+SPACE
The advantage of it being tied to the WIN key is it that perhaps it can be shown on the powertoys WIN shortcuts screen so the novice user can find it.) Note: CONTROL-ALT-SPACE is regularly used in Visual Studio and VMware workstation
Lastly: I also suggest that new shortcuts be checked against a site like: https://defkey.com/search?irq=Alt %2B Space

Also how do I insert these neat little key-graphics in a post?

Surround with <kbd> tags :)

I personally think win+shift+space and ctrl+alt+space are hard to use.
ctrl+space is a used heavily in VS so can't use that.

@crutkas My vote is for something like Win+Q. Alt+Space is too disruptive imo.

Win+Q is system mapped too. It's search.

@asklar Like I said earlier, Search can still be accessed by Win+S so that's okay.

@crutkas My vote is for something like Win+Q. Alt+Space is too disruptive imo.

Win+Q and Win+S both execute same item

@crutkas My vote is for something like Win+Q. Alt+Space is too disruptive imo.

Win+Q and Win+S both execute same item

Yes, that's why I feel Win+Q would be a safe default that's not very disruptive.

I voted for Alt + Space

I use Reshraper like shortcut:
CTRL+Win+T

Win+Q or Win+S would be perfect as they perform the same function and both are related to search...

I was surprised it disabled the only way to open window menu. It definitely needs to change.

I was surprised it disabled the only way to open window menu. It definitely needs to change.

In settings just change the key combo. I have mine personally set to winkey+space

I was surprised it disabled the only way to open window menu. It definitely needs to change.

In settings just change the key combo. I have mine personally set to winkey+space
@crutkas
That's the Windows shortcut for switching keyboard layouts, let's not trade one bug for another :)

That's the Windows shortcut for switching keyboard layouts, let's not trade one bug for another :)

There are multiple keystrokes to swap.
With an OOBE option to alert users of multiple keyboards, problem is solved to tell them alternative / have them remap.
Also why I am directly asking as I know it is a conflict.

In settings just change the key combo. I have mine personally set to winkey+space

I'm not saying I have problems remapping, but I hate to invent things, that require muscle memory, while I'm not sure if it's a stable solution. That means I will have to configure this on every machine I use and that I might have some conflicts with hotkeys in the future. I would prefer a standard safe option out of the box. For now I will go with Win+Q, as it seems like a likely candidate.

I use win-space frequently for keyboard changes - and while I want to suggest something like ctrl-space instead, it may just be that this is so overloaded a space (pun not intended) that you should pop up a dialog during first installation offering the choice of alt-space, win-space or user choice of key combo. otherwise whoever happened to spot this poll will get to make a choice of which important key combo that they may not be representative voters on

I believe the keyboard changes are also default mapped under alt+shift so then Win+space has a double just like Win+Q and Win+S
As this clearly mimmicks a feature from macOS to bring up spotlight (using cmd+space, I think win+space makes most sense.

@sandercox I'm pretty sure alt+shift and Win+space are different https://superuser.com/a/1485816/1056932

@sandercox I'm pretty sure alt+shift and Win+space are different https://superuser.com/a/1485816/1056932

I stand corrected. Didn't notice that difference.

I read the last few suggestions of WIN+Q given that it already exists and it's duplicated.
I also use WIN+SPACE for language input between Cyrillic and default (😁). So I wouldn't like it/suggest it to be a default.

I'm currently using Win + Z since it's easy to reach and won't override any existing shortcuts.

I'm for the suggestions of @pratnala and @fowlerdm of Win+Q or Win+Shift+Space being the default, keeping it as an option shown in the powertoys WIN shortcuts screen, and using the OOBE @crutkas mentioned for any conflicts.

The following idea isn't a standard shortcut as the others, but since I don't see it mentioned here it goes.
Shortcut: Ctrl + Ctrl (press control key twice in quick succession).
This shortcut was used in the old and discontinued Google Desktop Quick Find, and I can't find any other program with that shortcut currently in use.
As I said, it may not seem like a normal shortcut as it requires pressing twice the same key, but personally I found it really easy to launch and without issues. Also, on Intellij, pressing shift twice launches the 'search everywhere' functionality.

I think a poll wouldn't be bad. I hope i have all suggestions. https://www.strawpoll.me/20785284

I use win + circumflex for PT Run and I use this combination for Guake under Linux.
I think this is one of the best and easiest combination that don't break any other shortcut.
(circumflex is VK 220 and between esc, 1 and tab on my PC)

I use win + circumflex for PT Run and I use this combination for Guake under Linux.
I think this is one of the best and easiest combination that don't break any other shortcut.
(circumflex is VK 220 and between esc, 1 and tab on my PC)

Because  the circumflex is not on every keyboard, I wouldn't take this. By the way for other people: A circumflex is the ^ and you can make with it: â î ê and more

win + circumflex

If you are talking about tilde/backtick button, then it's already a hotkey for in PowerToys, activates FancyZones menu

win + circumflex

If you are talking about tilde/backtick button, then it's already a hotkey for in PowerToys, activates FancyZones menu

nope, i mean this ^
see https://en.wikipedia.org/wiki/Circumflex
(it can be used as XOR operator in some programming language)

I've got muscle memory for alt-space from years of using other launchers like Launchy, Wox and Keypirinha. I'm guessing that's where this default comes from. I think it's fine to leave it like this as users of PT are very aware of what they are doing and can change it if they want.
Alt-space is also great because of the ease of hitting it with your fingers. I move my left thumb to the alt key and index finger to space. A very good shortcut

none of the key combos that exist like alt+space etc do not work for me. They just bring up the default like the shortcut menu. Or win+q still opens search. Then if I change the shortcut too much, it just stops working. how is everyone able to use alt+space and not bring up the shortcut menu? personally I think the key combo should be "up up down down left right left right b a start"

@KrunchMuffin is this related to isuue #4399 ?

@KrunchMuffin is this related to isuue #4399 ?

With the whole region being overloaded, I really agree that giving several options at install would be best.
Although personally, I really like the idea of ctrl + ctrl or alt + alt. That kind of double tap seems like easy muscle memory.

Great discussion and feedback everyone.  I think when we couple this feedback with OOBE, we'll have a pretty good idea.  If we do shift to WinKey, my hope is we'd detect the multiple keyboards and directly warn of this conflict up front.

I know this is already closed, but I feel there's an important aspect that has not been discussed here.
My concern is not so much that the app takes over a system shortcut. There are any number of shortcuts that a user could have defined so you can't account for everyone.
My issue was that when I used the shortcut, it wasn't at all clear that it was Powertoys that was using the shortcut. I think a very simple change could be the branding of the popup to make it clear that it's "Powertoys Run" that's doing it.
By the time I figured out it was Powertoys, I was quite grumpy and therefore got very annoyed at Powertoys. If I'd known straight away, it probably would have taken a few seconds to resolve and I probably wouldn't even remember that it had happened.

@richjhart, the new OOBE should help address this where we try to address this problem up front and critical settings you can address there
https://github.com/microsoft/PowerToys/issues/1285#issuecomment-679268558 is what we're leaning toward

I DISAGREE with the decision to hijack Alt+Space.

With an OOBE option to alert users of multiple keyboards, problem is solved to tell them alternative / have them remap.

By this logic, PowerToys could justify hijacking any combo or installing with no hotkeys as default.  Let's make every toy default to the same combo and prompt the user on install/first use to switch!
I just installed PowerToys and was immediately annoyed that PT hijacked Alt+Space. In addition to minimizing or closing a window from the keyboard, it is the easiest way to recover a window that has glitched and cannot be seen or otherwise selected easily (or at least that is my workaround).  Alt+Space has been a reserved combo for the Windows controls for 30 years (circa '92 for me).
I see that several people filed bugs which were immediately closed.  I DISAGREE.
Regarding the poll, the choices appear without comment or explanation.  Which are already in use?  For what?  How widely used?  No opportunity to rank (i.e., almost anything but Alt+Space)  Without that additional explanation of each option and the ability to rank/vote-against, the poll is not very useful.  Even had I been aware of the straw poll, I wouldn't have bothered to vote because the format does not allow me to express my opinion.
Does telemetry help?  Of course I am one of those who turns most tel. off so my usage of Alt+Space won't appear anyway.

I'm glad to see the thought put into the OOBE but it seems like an insufficient solution to the point raised in https://github.com/microsoft/PowerToys/issues/5331#issuecomment-722644410. Each of us use PowerToys differently. We probably use some parts constantly and other parts not at all. If PowerToys Run falls in the "not at all" category for a user, then the OOBE won't help that person.
Today, in version 0.47.1, pressing ALT+Space shows the phrase "Start typing...". There's still no indication that the window belongs to PowerToys. It might be weird but maybe having a garish icon visible would help.


link this repo in omero-arc repo

Add the link to this repository to the omero-arc repository when this repository is public: https://github.com/andreaschrader/omero-arc

Done


Get .net local secrets in dapr

Is there an existing issue for this?

[x] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.
Secrets set locally using dotnet user-secrets in my apphost project cannot be exposed through dapr.
Describe the solution you'd like
If I set up secrets locally in my aspire apphost project using dotnet user-secrets, I'd love to be able to fetch those secrets using dapr secret APIs.
Additional context
No response

This issue would be better suited on the dapr project itself.

I think the dapr .NET sdk maintainers might have ideas on how it could work. The aspire team sent experts on dapr and this feature needs to be designed to extend the dapr side car.

[Triage] - Based on the discussion above, we are closing this as not planned. Please feel free to reopen if you have any follow up questions/comments.


Shouldn't set #[deny(warnings)] outside of CI

It's brittle against new compiler versions (they might introduce new warnings) and also concretely stopped crater from finding a regression in a Rust change: https://github.com/rust-lang/rust/issues/125875#issuecomment-2145170177.

Yes, good point.  We should switch to using -Dwarnings in CI instead.