Need help

Can anyone help me to setup this

See README and other questions on the issue tracker. This question in its current form is unanswerable; you are expected to do some minimal research yourself.


Add path to embedding model to sample config

Description
missed this change in https://github.com/openshift/lightspeed-service/pull/505/files#r1508116150
Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

@syedriko sorry i missed this in my other pr, ptal.
/assign @syedriko

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

Project coverage is 96.63%. Comparing base (5e2503e) to head (c8b7d47).
Report is 27 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #514      +/-   ##
==========================================
+ Coverage   95.45%   96.63%   +1.18%
==========================================
  Files          47       47
  Lines        1473     1456      -17
==========================================
+ Hits         1406     1407       +1
+ Misses         67       49      -18

see 5 files with indirect coverage changes

/lgtm


use ClimaLSM branch

Purpose
fixes #470
To-do

[x] use ClimaLSM fix branch
[ ] test on cluster

[x] I have read and checked the items on the review checklist.

#502 uses the updated version of ClimaLSM containing this fix, so we don't need to use the branch of ClimaLSM anymore


Create CODE_OF_CONDUCT.md

@azmaktr can we merge this?

@Rubix982 This is to put a checkmark on the github's standards for an open source repository.
We can perhaps have both of them at the same time.

@husyn Merged

@azmaktr oh that, gotcha!


dev env: add command for creating scan jobs: load_scan_jobs

Signed-off-by: Victoria Jeffrey<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
adding an easy way to create scan jobs in dev env
[246][default:/src:0]# load_scan_jobs
setting up clients
INFO[0000] certs dir is /hab/svc/deployment-service/data
INFO[0000] Dialing                                       metrics=false secure=true service=deployment-service target="<IP_ADDRESS>:10160"
INFO[0000] Dialing                                       metrics=false secure=true service=notifications-service target="<IP_ADDRESS>:10125"
INFO[0000] Dialing                                       metrics=false secure=true service=infra-proxy-service target="<IP_ADDRESS>:10153"
INFO[0000] Dialing                                       metrics=true secure=true service=ingest-service target="<IP_ADDRESS>:10122"
INFO[0000] Dialing                                       metrics=false secure=true service=config-mgmt-service target="<IP_ADDRESS>:10119"
INFO[0000] Dialing                                       metrics=false secure=true service=license-control-service target="<IP_ADDRESS>:10124"
INFO[0000] Dialing                                       metrics=true secure=true service=authz-service target="<IP_ADDRESS>:10130"
INFO[0000] Dialing                                       metrics=false secure=true service=nodemanager-service target="<IP_ADDRESS>:10120"
INFO[0000] Dialing                                       metrics=false secure=true service=teams-service target="<IP_ADDRESS>:10128"
INFO[0000] Dialing                                       metrics=false secure=true service=applications-service target="<IP_ADDRESS>:10133"
INFO[0000] Dialing                                       metrics=false secure=true service=compliance-service target="<IP_ADDRESS>:10121"
INFO[0000] Dialing                                       metrics=false secure=true service=secrets-service target="<IP_ADDRESS>:10131"
INFO[0000] Dialing                                       metrics=false secure=true service=event-feed-service target="<IP_ADDRESS>:10134"
INFO[0000] Dialing                                       metrics=false secure=true service=local-user-service target="<IP_ADDRESS>:10127"
INFO[0000] Dialing                                       metrics=true secure=true service=authn-service target="<IP_ADDRESS>:10113"
INFO[0000] Dialing                                       metrics=false secure=true service=data-feed-service target="<IP_ADDRESS>:14001"

!!!!!!!!!!!!!!!!!!!!!!
NOTE: YOU MUST BE ON VPN TO GET WORKING SCAN JOBS
!!!!!!!!!!!!!!!!!!!!!!

creating two secrets for the nodes
creating three nodes
creating three scan jobs

note: also need to update the adding data instructions with this command

hmm weird that should have worked for you. i’ll add the go thing in there hadn’t thought of that. maybe check if dev/secrets-env.sh has content? otherwise i’m guessing it’s hanging trying to dial the automate gateway but if your dev env is up and working then it shouldn’t hang :/

hmm those jobs should have succeeded if you were on vpn and have the secrets file.
does anyone get successful scans with this command?  i tried in a brand new dev env and it worked but it seems no one else is getting a successful (as in, there's a report button) scan

First time it seemed to be hanging for me, too, though it might have just been taking a while to install go. I aborted and retried and the second time it worked.

okay i tried again, and it was still hanging but then eventually finished (i wasn't really watching for how long it look though)


add configuration for web api auth via azure ad and extend readme

Motivation and Context
I want to authorize the calls from web app to web api via Azure AD (Entra ID). The application is prepared to use this feature but it's not fully implemented.
This PR adds the required changes in the web app and the web api projects. It also contains configuration instructions.
It resolves the issue #38 .
Description

adds REACT_APP_AAD_API_SCOPE to Constants.ts to request access_as_user scope via MSAL
extends .env.example with the new introduced REACT_APP_AAD_API_SCOPE variable
adds Authorization:AzureAd:Audience key to web api for request authorization checks
adds a configuration instruction to README.md

Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

@microsoft-github-policy-service agree company="abtis GmbH"


Errors while creating a fresh Nuxt app

Version
v2.4.5
Reproduction link
https://github.com/nuxt/nuxt.js
Steps to reproduce

yarn create nuxt-app project
Choose Linter/Formatter + axios
Choose Vuetify.js

What is expected ?
No errors
What is actually happening?
I get this:
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ eslint --ext .js,.vue --ignore-path .gitignore . --fix

/home/begueradj/Development/draft/saya/c/nuxt.config.js
  1:29  error  Unexpected require, please use import instead                 nuxt/no-cjs-in-config
  2:13  error  Unexpected require, please use import instead                 nuxt/no-cjs-in-config
  4:1   error  Unexpected module.exports, please use export default instead  nuxt/no-cjs-in-config

✖ 3 problems (3 errors, 0 warnings)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Additional comments?
Ǹo link provided,
Billal BEGUERADJ

This bug report is available on Nuxt community (#c8781)

Please report to the right repository. Its about create nuxt app, not nuxt.
And it was fixed but not released yet
https://github.com/nuxt/create-nuxt-app/pull/203


[Create Child] - replace url

Replace functionality to create a child from the array one by one  to the endpoint that accepts an array of children and support the result of such request (on success - redirect back, on error - display errors)

issue: currently we can not guarantee that all children were successfully created and navigated back. There is a bug, if you successfully create more than 2 children, it navigates back to each child, so eventually, you navigate back to the wrong page.

pr meged


Install on Code-Server

Hello.
I run code-server via a Docker Image. I don't see the OCP CAD Viewer listed on the extensions. A plugin for CAD Query does appear.
Any reason it doesn't appear? Thoughts on installing manually?

Sorry, no idea, I don't use docker and code server

Understood. Code-Server (and Docker image) don't use the standard Microsoft's Extension Marketplace. Installing manually fixes that issue. Have you considered Open VSX?
The second issue is lack of Python on the Docker Image. The publisher of the Docker Image has a provision in place for this. I'll work through this and post any results.

Closing for now.
If there is any issue VS Code CAD viewer specific, please reopen or open a new issue


Wrong Path to MSBuild in Note

The Visual Studio 2019 Path in the Note of "Build iOS apps from the Windows command-line" is wrong.

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

ID: 98c96bcc-1743-8d9f-f1b2-3c30d5b2a6e2
Version Independent ID: f57a6157-332a-3f31-c785-7efa99e62711
Content: Pair to Mac for Xamarin.iOS Development - Xamarin
Content Source: docs/ios/get-started/installation/windows/connecting-to-mac/index.md
Product: xamarin
Technology: xamarin-ios
GitHub Login: @lobrien
Microsoft Alias: laobri

Thank you. Fixing this now.


Could not retrieve the transcript when calling the API from a Flask web app

when download the transcript within the python shell there is not problem.
This is the error I get:
youtube_transcript_api.api.YouTubeTranscriptApi.CouldNotRetrieveTranscript Could not get the transcript for the video https___www.youtube.com_watch_v=T! This usually happens if one of the following things is the cas.pdf
I am sharing my Flask in my GitHub: concettaanberti

the problem is given to the fact that  Flask inputs the video_id as a dictionary and the API needs it as a list. I guess I can fix that. Ignore the issue.


Installation

Currently the package is not installable unless you clone the repo and run devtools::build(), as described in the R README.
devtools::install()

from the r directory also fails for me
Reprex:
pak::pkg_install("nptscot/rnetmatch/r")

	cargo build --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target
    Updating crates.io index
error: failed to get `rnetmatch` as a dependency of package `rnetmatch_r v0.1.0 (/tmp/RtmpV6j5lB/R.INSTALL68234e864ef6/rnetmatch/src/rust)`

Caused by:
  failed to load source for dependency `rnetmatch`

Caused by:
  Unable to update /tmp/RtmpV6j5lB/R.INSTALL68234e864ef6/rust

Caused by:
  failed to read `/tmp/RtmpV6j5lB/R.INSTALL68234e864ef6/rust/Cargo.toml`

Caused by:
  No such file or directory (os error 2)
make: *** [Makevars:16: rust/target/release/librnetmatch_r.a] Error 101

✔ Updated metadata database: 3.07 MB in 7 files.
✔ Updating metadata database ... done
→ Will install 4 packages.
→ Will download 3 CRAN packages (713.62 kB), cached: 1 (0 B).

assertthat   0.2.1      [bld][dl] (12.74 kB)
geoarrow     0.2.1      [bld][cmp][dl] (273.57 kB)
nanoarrow    0.6.0      [bld][cmp][dl] (427.31 kB)
rnetmatch    <IP_ADDRESS>00 [bld][cmp] (GitHub: 2d9d7e1) + ✔ rustc, ✔ cargo
✔ All system requirements are already installed.

ℹ Getting 3 pkgs (713.62 kB), 1 cached
✔ Got assertthat 0.2.1 (source) (12.74 kB)
✔ Got geoarrow 0.2.1 (source) (273.57 kB)
✔ Got nanoarrow 0.6.0 (source) (427.31 kB)
✔ Got rnetmatch <IP_ADDRESS>00 (source) (1.66 MB)
✔ Downloaded 4 packages (2.37 MB) in 2.3s
ℹ Building assertthat 0.2.1
ℹ Building nanoarrow 0.6.0
✔ Built assertthat 0.2.1 (622ms)
✔ Installed assertthat 0.2.1  (15ms)
✔ Built nanoarrow 0.6.0 (5.8s)
✔ Installed nanoarrow 0.6.0  (33ms)
ℹ Building geoarrow 0.2.1
✔ Built geoarrow 0.2.1 (3.9s)
✔ Installed geoarrow 0.2.1  (28ms)
ℹ Packaging rnetmatch <IP_ADDRESS>00
✔ Packaged rnetmatch <IP_ADDRESS>00 (376ms)
ℹ Building rnetmatch <IP_ADDRESS>00
✖ Failed to build rnetmatch <IP_ADDRESS>00 (924ms)
Error:
! error in pak subprocess
Caused by error in stop_task_build(state, worker):
! Failed to build source package rnetmatch.
Full installation output:

installing source package ‘rnetmatch’ ...
staged installation is only possible with locking
** using non-staged installation
** libs
using C compiler: ‘gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’
rm -Rf rnetmatch.so ./rust/target/release/librnetmatch_r.a entrypoint.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -ffile-prefix-map=/build/r-base-6tgf7J/r-base-4.4.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -pedantic -fdiagnostics-color=always -c entrypoint.c -o entrypoint.o

In some environments, ~/.cargo/bin might not be included in PATH, so we need
to set it here to ensure cargo can be invoked. It is appended to PATH and
therefore is only used if cargo is absent from the user's PATH.
if [ "" != "true" ]; then
export CARGO_HOME=/tmp/RtmpV6j5lB/R.INSTALL68234e864ef6/rnetmatch/src/.cargo;
fi &&
export PATH="/home/robin/.nvm/versions/node/v18.12.0/bin:/home/robin/.juliaup/bin:/home/robin/.pixi/bin:/home/robin/.gvm/bin:/home/robin/.deno/bin:/home/robin/.juliaup/bin:/home/robin/.cargo/bin:/home/robin/.local/bin:/home/robin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/robin/.pixi/bin:/usr/share/code/bin:/home/robin/.cargo/bin" &&
cargo build --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target
Updating crates.io index
error: failed to get rnetmatch as a dependency of package rnetmatch_r v0.1.0 (/tmp/RtmpV6j5lB/R.INSTALL68234e864ef6/rnetmatch/src/rust)
Caused by:
failed to load source for dependency rnetmatch
Caused by:
Unable to update /tmp/RtmpV6j5lB/R.INSTALL68234e864ef6/rust
Caused by:
failed to read /tmp/RtmpV6j5lB/R.INSTALL68234e864ef6/rust/Cargo.toml
Caused by:
No such file or directory (os error 2)
make: *** [Makevars:16: rust/target/release/librnetmatch_r.a] Error 101
ERROR: compilation failed for package ‘rnetmatch’

removing ‘/tmp/RtmplQKwoe/pkg-lib669e4cc48b68/rnetmatch’
Type .Last.error to see the more details.

Is this because the rnetmatch crate isn't on crates.io?

I guess the absolute path here could have something to do with it:
https://github.com/nptscot/rnetmatch/blob/2d9d7e11e0fb5367591bcd667e5626170e0a2a0e/r/src/rust/Cargo.toml#L11-L17

Great to see! I got an error message when I tried to install it first time, due to Rust version? Will try after updating:

remotes::install_github("josiahparry/anime", subdir = "r")
Using github PAT from envvar GITHUB_PAT. Use `gitcreds::gitcreds_set()` and unset GITHUB_PAT in .Renviron (or elsewhere) if you want to use the more secure git credential store instead.
 The order and any duplication can be significant on some platforms.

note: native-static-libs: -lc -lm -lrt -lpthread -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc

   Compiling arrow-select v52.2.0
   Compiling arrow-arith v52.2.0
   Compiling arrow-row v52.2.0
   Compiling csv v1.3.1
   Compiling arrow-cast v52.2.0
   Compiling arrow-ord v52.2.0
   Compiling arrow-string v52.2.0
   Compiling arrow-ipc v52.2.0
   Compiling arrow-json v52.2.0
   Compiling arrow-csv v52.2.0
   Compiling arrow v52.2.0
   Compiling geoarrow v0.3.0
error[E0275]: overflow evaluating the requirement `<impl GeometryTrait<T = f64> as geo_traits::geometry::GeometryTrait>::GeometryCollection<'_>: geo_traits::geometry_collection::GeometryCollectionTrait`
    |
    = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`geoarrow`)
note: required for `GeometryCollectionIterator<'_, f64, <<... as GeometryTrait>::GeometryCollection<'_> as GeometryCollectionTrait>::ItemType<'_>, ...>` to implement `Iterator`
   --> /tmp/RtmpsMZtVe/R.INSTALL6e5ce2aa4f2d7/anime/src/.cargo/registry/src/index.crates.io-6f17d22bba15001f/geoarrow-0.3.0/src/geo_traits/iterator.rs:39:15
    |
37  |                   ItemType: 'a + $item_trait<T = T>,
    |                                              ----- unsatisfied trait bound introduced here
38  |                   G: $self_trait<T = T, ItemType<'a> = ItemType>,
39  |               > Iterator for $struct_name<'a, T, ItemType, G>
    |                 ^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
109 | / impl_iterator!(
110 | |     GeometryCollectionIterator,
111 | |     GeometryCollectionTrait,
112 | |     GeometryTrait,
113 | |     geometry_unchecked
114 | | );
    | |_- in this macro invocation
    = note: required for `GeometryCollectionIterator<'_, f64, <<... as GeometryTrait>::GeometryCollection<'_> as GeometryCollectionTrait>::ItemType<'_>, ...>` to implement `IntoIterator`
    = note: the full name for the type has been written to '/tmp/RtmpsMZtVe/R.INSTALL6e5ce2aa4f2d7/anime/src/./rust/target/release/deps/geoarrow-ea27c9b261a3fc9d.long-type-18169646791869726752.txt'
    = note: consider using `--verbose` to print the full type name to the console
    = note: the full name for the type has been written to '/tmp/RtmpsMZtVe/R.INSTALL6e5ce2aa4f2d7/anime/src/./rust/target/release/deps/geoarrow-ea27c9b261a3fc9d.long-type-18169646791869726752.txt'
    = note: consider using `--verbose` to print the full type name to the console
    = note: this error originates in the macro `impl_iterator` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0275`.
error: could not compile `geoarrow` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
make: *** [Makevars:26: rust/target/release/libanime.a] Error 101
ERROR: compilation failed for package ‘anime’
* removing ‘/home/robin/R/x86_64-pc-linux-gnu-library/4.4/anime’
Warning message:
In i.p(...) :
  installation of package ‘/tmp/RtmpnrTyK8/file6e4c82d4c49ec/anime_<IP_ADDRESS>00.tar.gz’ had non-zero exit status

Also see #44 we can archive this repo.


⚠ Turnos 24x7 has degraded performance

In b37ed9e, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 818 ms

Resolved: Turnos 24x7 performance has improved in 7b8b2a7.


[feature] Unambiguous string/characters

It would be awesome if we could generate strings/characters that are unambiguous.
Example of ambiguous characters:
0 O D Q
1 I L J
8 B
5 S
2 Z

This isn't a complete list but a good place to start.

Use case: User friendly(er) order numbers

I believe a good approach would be to have an anti-pool option, allowing the anthonator to omit characters he doesn't want.
chance.string({antipool:'ODQILJBSZ',alpha:false,casing:'upper'})

Implementation in at the end of character():
...
if(options.antipool) {
    // strip out any antipool characters found in the pool
    pool = pool.replace(new RegExp('['+options.antipool+']','g'),'');
}
return pool.charAt...

Instead of introducing new API, why don't use current API?
var humanReadibleString = 'ACEFGHKMNPRTUVWXY34679';
chance.string({pool: humanReadibleString}) );


Fix style and errors in forms with nested objects

Thank you for the review. I removed the reference to .multiple-choice.


Implement shimmer animation

Currently when a quote is loading, instead of using a progress bar to give animated effect, shimmer layout can be used.
Something like this:

I fear that would look good on a colourful gradient background as it is now. The grey colour would look odd to be honest. And it is just 1 quote at a time on the QuotesFragment, this doesn't make sense to use shimmer instead of ProgressDialog.
Thanks a lot for your suggestion! But this doesn't seem feasible :)

I fear that would look good on a colourful gradient background as it is now. The grey colour would look odd to be honest. And it is just 1 quote at a time on the QuotesFragment, this doesn't make sense to use shimmer instead of ProgressDialog.
Thanks a lot for your suggestion! But this doesn't seem feasible :)

No problem :)


Compare DLCs of server and client on connect

I'll fix the CI when I get home

Yay, builds work again


vgerror cleanup and version bump

Codecov Report

Merging #11 (ec80911) into main (8ea572f) will decrease coverage by 0.13%.
The diff coverage is 72.80%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   76.40%   76.28%   -0.13%
==========================================
  Files           6        5       -1
  Lines         479      468      -11
  Branches       72       71       -1
==========================================
- Hits          366      357       -9
+ Misses         81       80       -1
+ Partials       32       31       -1

Impacted Files
Coverage Δ

valparse/valparse.py
71.71% <71.71%> (ø)

valparse/__init__.py
100.00% <100.00%> (ø)

valparse/tests/test_parser.py
75.51% <100.00%> (-0.49%)
:arrow_down:

valparse/tests/test_vgerror.py
100.00% <100.00%> (ø)


Is there a way to zip the output vcf automatically?

Is there a parameter to use that will zip the vcf before it goes to blob storage? Thanks!

Looks like this is coming in 0.9.0 https://github.com/MicrosoftGenomics/msgen#release-notes-v090
Anyone have a date for that?

Hi @bcosc @tfmorris thanks for reaching out! msgen version 0.9.0 is now live. Please update the package using "pip install --upgrade msgen" and try it out.
As pointed out in the release notes @tfmorris mentioned above, you can bgzip + tabix your output vcf using the --bgzip-output command line option. Please note, bgzip + tabix will run by default on gvcf outputs.
Let us know if you have any issues or concerns.

That was quick! Thanks @jbagga !!


Mount unix socket into Exec

Problem
Exec cannot mount unix sockets into the container. This prevents two frequently requested use cases: SSH agent forwarding and connecting to a docker engine.
Solution
Expand the Dagger API to allow mounting unix sockets from the host into a container. Design this in a such a way that:

it doesn't break the Dagger security model
it can be expanded later (for example to mount unix sockets into the container from sources other than the host filesystem)

Design proposal
As proposed and amended by @aluzzardi :

container.WithUnixSocket()
host.UnixSocket()

Example:

SSH Agent forwarding

container.WithUnixSocket("/ssh-agent.sock", c.Host().UnixSocket(os.Getenv("SSH_AUTH_SOCK")))

Docker forwarding

container.WithUnixSocket("/var/run/docker.sock", c.Host().UnixSocket("/var/run/docker.sock"))

Discussion topics

In the future, we could use the same mechanism to forward TCP connections to/from the container (using the shim + engine sessions)

Especially useful with services

The design proposal was updated in https://github.com/dagger/dagger/pull/3691#issuecomment-1311145961 following your question regarding host-to-container, container-to-container, etc.
With that in mind, I amend the original proposal to:

Host().UnixSocket(path string) *dagger.Socket
Container().WithUnixSocket(port int, socket *dagger.Socket)

This will take into account future TCP/UDP socket forwarding.

Container().WithUnixSocket(port int, socket *dagger.Socket)

I'm assuming the port int is a typo?

Yes, fixed

The design proposal was updated in #3691 (comment) following your question regarding host-to-container, container-to-container, etc.

Thanks, I updated the content here too.

@aluzzardi continuing our API design / bikeshedding discussion here to keep better records:

container-to-host: processes running inside the container can connect to a tcp port, udp port or unix socket, and the traffic is forwarded to a given address in the host network stack

2 parts:

Host() API exposes unix/tcp/udp sockets
Container() API allows to pass unix/tcp/udp sockets

c.Host().UnixSocket(path string) *dagger.Socket
c.Host().TCPSocket(port int) *dagger.Socket
c.Host().UDPSocket(port int) *dagger.Socket

First reaction: TCPSocket and UDPSocket don't make it clear if we're listening or connecting.
Technically it's not clear with UnixSocket either, but one can make an educated guess based on most common use cases: probably this is for connecting to a docker engine or ssh agent, so probably we're connecting. But you still have to guess.
I think dagger.Socket might suffer from the same problem: is it a "listener", a "connecter", or both?

container.WithUnixSocket(path string, socket *dagger.Socket)
container.WithTCPSocket(port int, socket *dagger.Socket)
container.WithUDPSocket(port int, socket *dagger.Socket)

Same problem as above: are we proxying connections inbound (to container) or outbound (from container)?

Does this make sense for anything but services?
Regular Execs are:

short lived
eventual (when do you connect to the socket? might be right away, might be in 10 mins)
cached (you might never be able to connect if the Exec is cached)

In that case, mirror the Host() API in Service():
c.Container().WithTCPSocket(8080, myService.TCPSocket(8080))

I know @vito did a lot of this with bass. There's a lot of considerations to take into account, especially around not busting the cache.

I think the answer might be different from inbound and outbound (which again are hard to distinguish in the proposed API).

Outbound: useful both in short-lived containers and long-lived services. Connect to docker engine; to ssh agent; to sql database; to api endpoint... Short-lived containers already do all those things: outbound proxying just gives them more endpoints they can connect to.

Inbound: most useful for long-lived services. It would be reasonable to not support them in short-lived containers IMO. But we have to be prepared to change our minds if users show us a reasonable use case we hadn't thought about (or if they just use horrible hacks to bypass the limitation).

host-to-container: processes running inside the container can listen on a tcp, udp or unix address, and traffic is forwarded from a given listening address on the host

Same question as above -- does it make sense for non-services? I think not, for the same reasons.

Same answer as container-to-container. Different for inbound and outbound.

I know @vito did a lot of this with bass. There's a lot of considerations to take into account, especially around not busting the cache.

I'll fill in some gaps with what I learned from/did with Bass. The main thing I learned is that this kind of feature intersects many tricky subjects and the key thing will be figuring out where to embrace constraints.
Note that all of the following is really only relevant for TCP/UDP. I haven't considered Unix socket support yet. But it makes sense to discuss them all together anyway.
DNS + bridge networking
Bass containers reach services by addressing them over a bridge network, using DNS to resolve to container hostnames to IPs at runtime.
DNS was my solution for not busting the cache. The key point is to avoid having ephemeral container IPs ever enter into LLB. I got DNS to work by configuring Buildkit to use CNI and installing dnsmasq and the dnsname plugin:

buildkitd.toml config
CNI config
Installing CNI + plugins into Buildkit Docker image

Bass uses the thunk 'name' as the DNS address, which is a hash of the thunk like GRLO5DSIPLJPQ. It's not possible to set your own name. I didn't want the user to have to deal with collisions, so having content-addressed addresses made sense here, especially since Buildkit also handled deduping two thunks that represent the same service.

Compared to Dagger: this model is pretty different than what @aluzzardi has proposed so far, which seems more along the lines of forwarding sockets in to local addresses within the container. Do I have that right?

Thunk addresses
Bass forces thunks to be self-contained by using thunk addrs as the primitive for passing addresses to commands.
Rather than something stateful (start service with hostname foo, wait for it to start, use it for a bit, and then stop it), thunk addrs contain the service that it's reaching, and Bass automatically runs it when needed. Buildkit handles deduping equivalent services (e.g. same thunk addr used by multiple clients) and stopping them when all clients go away.
(defn echo [msg]
  (let [server (http-server msg)]
    (from (linux/alpine)
      ($ wget -O- (addr server :http "http://$host:$port")))))

(echo "Hello, world!")

Thunk addrs contain a string template where $host and $port are replaced with the actual host and port of the destination service at runtime. But this is obviously TCP specific.

Compared to Dagger: thunk addrs seem unlikely to be the right approach for Dagger, since our spec dictates that env/args are simple String!s. But I don't think it needs to work the same way in Dagger. If our approach is to proxy addresses into localhost:SOME_PORT I can make this work easily by just resolving $host to localhost and $port to whatever container-side port they chose.

Health/liveness checks
Some really common cludgy code to write is "start this service and then do a while loop checking for it to be running before continuing on."
I opted to just have Bass do this for you, since services are started on-demand. When a thunk uses with-port this tells Bass to poll for that port to be bound prior to running the thunk that depends on it.
Note that this health check literally just opens a connection on the port and closes it. Other systems allow you to configure more sophisticated checks, but I haven't bothered with all that jazz.

Compared to Dagger: this still makes sense to have IMO. Having to perform health checks yourself seems really clunky.

TLS & certificate generation
My "north star" for services in Bass was to be able to run a registry as a service and use it for later thunks. This forced me to figure out how to do TLS, because using DNS or even container IP addresses for Buildkit's image fetching requires the registry to use TLS.
I decided to have Bass generate and manage its own CA and use it to mint certificates for any thunks that request a TLS cert/path using  with-tls. Bass's shim then injects the CA as a trusted cert for the container, so any thunks that use the service will automatically trust it.
This worked out really nicely! It made it really easy to use TLS for any service.

Compared to Dagger: it's unclear how we would expect TLS to work if we're forwarding sockets into containers instead of having containers directly address one another.

I think that covers the interesting bits, but I may have missed/glossed over some parts. AMA!

@shykes For what it's worth, I don't share the same confusion with inbound/outbound; it feels pretty intuitive to me if I draw parallels to Host Directory access.
I see Host.(Unix|TCP|UDP)Socket as something that gives you a reference to an existing address on the host, and Container.With(Unix|TCP|UDP)Socket as something that makes a socket reachable inside the container's local filesystem/network on the specified path/port. The same way that Host.Directory gives you a Directory which can be mounted in to a container.
Replace Host with Container (for a container that runs a service) and I'd interpret it the same way, but drawing parallels to Container.Directory instead.
So to me this design feels pretty clean, but my only question is whether we can really have TCP addresses work by forwarding sockets to container-local addresses, or whether we could/should use a bridge network + TLS + DNS + etc. instead.

Adding a reminder for myself that are a few users who are stuck and need this:

https://discord.com/channels/707636530424053791/1040027260155088956/1045756754924941412
https://discord.com/channels/707636530424053791/1040217609750188032/1040217609750188032
https://discord.com/channels/707636530424053791/1042013918756868126

We talked to @grouville about this today.
Updating the assigned person to reflect reality: https://github.com/dagger/dagger/pull/4025 💪

As proposed and amended by @aluzzardi :

container.WithUnixSocket()
host.UnixSocket()

Example:

SSH Agent forwarding

container.WithUnixSocket("/ssh-agent.sock", c.Host().UnixSocket(os.Getenv("SSH_AUTH_SOCK")))

Docker forwarding

container.WithUnixSocket("/var/run/docker.sock", c.Host().UnixSocket("/var/run/docker.sock"))

Roll call on this. Who is OK to move forward with the above for Unix sockets, without waiting for a complete solution on TCP and UDP forwarding?
cc @sipsma @vito @aluzzardi @grouville @samalba @mircubed

Roll call on this. Who is OK to move forward with the above for Unix sockets, without waiting for a complete solution on TCP and UDP forwarding?

SGTM, unix socket support is relatively straightforward, unblocks a lot of valuable use cases and I can easily see how we can layer on the tcp/udp forwarding later in a backwards compatible way.


Module: VPN Gateway - PIP defaults to zone 1, should default to noZone

@rahalan is that the issue that was implemented ?


Link from form / concept to associated phrases

A form's details page should show all phrases the form appears in.
A concept's details page should show all french translations of phrases it appears in.

@lingulist the paper highlights the fact that concepts are elicited in complete phrases - so we might want to be able to provide this context, right?

The only risk I see is that this may highlight any errors in etc/phrases.csv.

The risk is a bliss, I'd say, as it will help us to improve. I like the new solution a lot.


PR for hardware_reset during initialization

Merging icarpis's fix as mentioned in https://github.com/intel-ros/realsense/issues/314#issuecomment-365196850 so that it works with the current development branch.
Unless the firmware issue will be fundamentally solved, this workaround makes the whole pipeline significantly more robust for the time being.
Tested with catkin build on Ubuntu 16.04 / ROS Kinetic Kame with librealsense 2.16.

Hi yycho0108
I've been using your fork to fix this problem, thanks. But now I'm working with two camera's and it doesn't seem to work. Only one of the two camera's works.

@rdaems I suspect you might need to set the serial_no in order to specify each device during startup (otherwise the first device to be queried will be used in the code, which may not give consistent results).
It should be able to be passed in as a ROS parameter.

Hi @yycho0108
I did so according to https://github.com/intel-ros/realsense/blob/development/realsense2_camera/launch/rs_multiple_devices.launch but it didn't work.

This PR fixed my issue: Reconnecting to a D415 and/or D435 was impossible without unplugging the sensor(s) first.
I agree that the resetting behaviour should be optional, as it adds a delay to the initialization.
However, my understanding is that this is a temporary workaround until the actual bug is fixed in firmware, which of course makes it less of a deal in the long term.


Sequences not detected, even with the Auto-detect setting

Hi,
I tried to open a file sequence with:
djv my_seq.*.exr

or
djv my_seq.0001.exr my_seq.0002.exr my_seq.0003.exr

but only the first frame is displayed. The playback interface does not appear either. It does have an effect however, because when the option is disabled, the first 16 images are loaded individually, as specified in #174.

Hi, thanks for reporting the issue; I just tried this and it seems to work OK for me. When the option is enabled both of the command line examples you gave open the entire sequence. When the option is disabled the files are opened individually. The playback interface doesn't appear for individual images. Just checking, are you using the latest source from GitHub?

I found out that it works when the sequence is not in the working directory, or when specifying an absolute path.
So actually,
djv /tmp/my_seq.*.exr
cd /tmp && djv ./my_seq.*.exr

both work, but
cd /tmp && djv my_seq.*.exr # no "./" before seq

doesn’t.
I am using the latest sources.

I was using an absolute path for my test, I wonder what the difference is... I'll check it out, thanks!

OK, this should be fixed now and will be included with the next release.


Disable part of PowerToys via Registry/command line

Summary of the new feature/enhancement
Would like to automate disabling the feature of PowerToys I might not be using without having to open the UI.
Proposed technical implementation details (optional)
Ideally, this would be going to the Registry and setting some flags.  I do see that a couple of apps have exactly this (HKCR\Software\Microsoft\ImageResizer) but it doesn't look like the UX is using this value for toggling.  Not about to suggest that everything could be under HKCR\Software\Microsoft\PowerToys because I image somethings are scattered throughout the Registry (especially plugins for Explorer) but for the rest, it would be good to know how to disable things without the UX.
Rationale: I find that I'm setting up a new PC (or three) every week and now that I'm able to automate the install with winget, I'm hoping only run what I need.

you can do it via the json settings file.  unless we have to touch reg, we don't

That would be this one? %LOCALAPPDATA%\Users\ransan\AppData\Local\Microsoft\PowerToys\settings.json
Do I have to restart or just flip the JSON?
Also, if the recent versions are strictly using the JSON, is there a reason why the Registry has entries for some of the apps?  Again, not the previewers DLL's - I know they need to be in the Registry for explorer.exe - but for the other apps?  Or should they be tracked as bugs?

Yes. If we don’t need it they should be ripped out. But yes, some need reg.
I’m pretty sure the new setting engine should enable that.

I'll do some research the next time I do a fresh install and file the bugs.
And yes: if I flip a setting in the JSON file, it immediately pops in the Settings UX.
Thanks!

if I flip a setting in the JSON file, it immediately pops in the Settings UX

But it's not reloaded by each module (not yet).

That's fine, for me at least: I'm doing this while bringing up a new box so there are many reboots on either side of updating the JSON file.


handle the crypto stream separately

This will be very useful when moving forward with the IETF draft implementation, especially when (if) the crypto stream gets stream ID 0.
This also fixes #688.
Should be merged after #881.

Codecov Report

Merging #891 into master will decrease coverage by 0.24%.
The diff coverage is 93.09%.

@@            Coverage Diff            @@
##           master    #891      +/-   ##
=========================================
- Coverage   90.74%   90.5%   -0.24%
=========================================
  Files          90      91       +1
  Lines        6212    6169      -43
=========================================
- Hits         5637    5583      -54
- Misses        371     379       +8
- Partials      204     207       +3

Impacted Files
Coverage Δ

internal/flowcontrol/base_flow_controller.go
100% <100%> (ø)

internal/flowcontrol/stream_flow_controller.go
100% <100%> (ø)

streams_map.go
92.82% <100%> (-0.93%)
:arrow_down:

internal/handshake/crypto_setup_server.go
88.51% <100%> (ø)
:arrow_up:

internal/flowcontrol/connection_flow_controller.go
100% <100%> (ø)

internal/handshake/crypto_setup_client.go
91.07% <100%> (ø)
:arrow_up:

internal/handshake/crypto_setup_tls.go
68.35% <60%> (+0.12%)
:arrow_up:

session.go
84.74% <82.54%> (-0.8%)
:arrow_down:

stream.go
95.6% <85.29%> (-1.43%)
:arrow_down:

stream_framer.go
95.7% <94.12%> (-2.34%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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

For some reason github doesn’t show the approval dialog here. LGTM.


remove alpha from pipeline parameters

MLOpsPython pipeline fails due to previous commit about yaml. It's not related to my PR


⚠ Bofrost.de has degraded performance

In 4de2e7b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 875 ms

Resolved: Bofrost.de performance has improved in 3ab1e98.


Enabling more self -service in 1Password - Can we give users more permissions?

Background

Proposed user journey

Approach

Questions / Assumptions

Acceptance Criteria

[ ] Enter text
[ ] Enter text
[ ] Enter text
[ ] Enter text

Reference
How to write good user stories

We have agreed this is a safe thing to enable. Will raise stories for next steps.


Grouped bar chart

How to get the grouped bar chart only from this library? Removing all other unwanted implementations.

😨


Added ACME community package

Bridged TF provider.

First release coming up shortly.
Docs available

FYI @dbeattie71


Add configurable service account to KeptnTasks

As a user, I want to set custom service accounts on my KeptnTaskDefinitions to follow security and least privilege best practices.
Details
Add a field to the keptn task definition that contains a reference to a service account.
Pass the service account reference to the underlying job so that it is used during pre/post deployment tasks.
DoD

[ ] Add a spec.serviceAccount.name
[ ] Use this service account when generating the KeptnTask

I will resolve it.  @mowies assign it to me.

Hello @mowies, I need a bit context here since I am new into crds and controllers

My first task is to add the field serviceAccount.name under spec in the lifecycle-operator crd and add the subsequent changes in the same controller
And add the certain changes in KeptnTask too.

essentially, yes! but maybe @bacherfl can help out here with some better insights

hello @bacherfl, any relevant info to initiate this would be helpful

Hello @prakrit55 - The place to start with this would be to add those new fields to the golang struct representing the KeptnTaskDefinition: https://github.com/keptn/lifecycle-toolkit/blob/84ae464abc789d4d464301ffd4e266136c60046b/lifecycle-operator/apis/lifecycle/v1alpha3/keptntaskdefinition_types.go#L28
Once you have updated/added the field, you need to run the following commands (in the lifecycle-operator directory, to create the manifests for the CRD:
make generate
make manifests

You also need to make sure all the CRD docs are up-to-date (this needs to be run in the base directory of the lifecycle-toolkit repo):
./.github/scripts/generate-crd-docs/generate-crd-docs.sh

Then, make sure that the CRD definition in the helm chart is up to date with the updated spec: https://github.com/keptn/lifecycle-toolkit/blob/main/helm/chart/templates/keptnevaluationdefinition-crd.yaml
Finally, you can make use of that new field in the logic of the KeptnTask controller, which creates the K8s jobs based on a task definition - this should roughly be the place where you'll need to make use of that field: https://github.com/keptn/lifecycle-toolkit/blob/84ae464abc789d4d464301ffd4e266136c60046b/lifecycle-operator/controllers/lifecycle/keptntask/job_utils.go#L19
You can use the following PR as a reference, where a new field has been added to the KeptnMetric CRD to see what needs to be updated after modifying a CRD: https://github.com/keptn/lifecycle-toolkit/pull/1900/files

Hey @bacherfl, I am done with the first task. So about generating job with the service account, shouldn't I define the service account field in the keptntask_types.go and generate the crd for KeptnTask ?

Hi @prakrit55 - From my understanding it should not be required to also add the serviceAccount field to the KeptnTask CRD, as a KeptnTask gets all the required information from the referenced KeptnTaskDefinition when creating the job (see https://github.com/keptn/lifecycle-toolkit/blob/84ae464abc789d4d464301ffd4e266136c60046b/lifecycle-operator/controllers/lifecycle/keptntask/job_utils.go#L21C1-L21C1). So the next step would be to make use of the serviceAccount field added to the KeptnTaskDefinition and use the service account for the job running the KeptnTask

Hey @odubajDT, I think this one can be closed.

@prakrit55 thanks for reminding!


update config.toml for 1.23 release

Updated config.toml for the dev-1.23 branch to prepare for the v1.23 release
Patch versions were updated using patch-releases.md
/cc @jimangel @reylejano
/assign @sftim

Thank you for this PR
/lgtm


Fixes error when clearing search input

Closes TryGhost/Ghost#9075

Adding validation for search term before calling select.search invokeAction

Coverage remained the same at 72.298% when pulling d452d17d962d81f52207b1e1d1f73b4c39ce0a2c on nithindavid:master into 27921049c98bb97360d6b44ac4fd303f2247e408 on TryGhost:master.

Hey @nithindavid! Thanks for taking a look at this. Unfortunately the approach here masks the underlying problem and has a side-effect of not clearing search results correctly - we want the search action to be run even when the search term is blank.
I've opened #883 which addresses the underlying runloop problem and also improves the UX by not losing focus on the input.


Issue_while downloading_PDF

While I created my Resume after utilizing my time, I get the resulting PDF : RxResume_PDFExport_surajbanerjee100_oracle-product-development-resume-suraj-banerjee_1678256934.pdf

As I tried multiple times now and got the same result and I tried creating another same after coping with multiple items again with the same issues. Please improve the problems.

Same trouble here, when I'm hosting this on my synology.
Can't seem to download or extract any PDF for the moment.
Had several tries with several PDF's I've created but non of them I was able to really print out or to form a PDF of it.
Pls adress the issue, Thanks for the effort anyways !

Initially I wrote the resume content in single page and manage to export in pdf but its not in a proper printable format.
I noticed this would happen when your text are long enough to reach page break mark. Maybe split into several page and keep clear line or two from the page break may address this issue. This is what happen to me and I hope this relates to this issue.


Do not scope cache elements with media rules, :host(), or :host-context() selectors

Mark style rules in parsing rather than runtime to make sure scope'd
bitmask is consistent.
Add tests for cache coherency.
Fixes #3696

@kevinpschaaf PTAL

LGTM


feat(cache): improved customizability

Closes #2650

[x] cacheName can accept a function, which returns a string
[x] Added keyGenerator function, to define custom cache keys

Hey @MathurAditya724
Good! I like using ((c: Context) => Promise<string> | string). There are some things that you want to do:

Writing proper tests.
bun run denoify to generate files for Deno and push them.
bun run format:fix && bun run lint:fix to format the code.

Thanks!

Hey @yusukebe, I have completed all the requested changes kindly have a look. Regarding the test, I have added tests that seem reasonable to me but do let me know if you have any queries

I have added this PR for the website, reflecting the behavior of the new API

Hi @MathurAditya724
Great! I'm glad you also created the PR for the website. I'll merge this to the main now and ship it with the next patch release since it's not such a big feature. Thank you for your contribution!

thank you @MathurAditya724 . I have a use case for this and this has come in handy!


Angular - ERROR ReferenceError: content is not defined on programmatically(on button click or drag drop event) adding mix tags.

I recently start facing "content is not defined" issue while I am adding Tag programmatically using "tagifyService.get("xyz").addMixTags([{ value: tagId, text: tagValue, title: tagValue, type: tagType }])".

@yaireo/tagify recently published some new releases. After a quick investigation I could identify the section where he introduced this bug: https://github.com/yairEO/tagify/compare/v4.16.4...v4.17.2#diff-c25a58bcb38aa4fa6506c3017ab957bd356e6fc9f577cc256c8befe559b40050R664-R665 (expand the code snippet above to see that there is no content defined)
You may want to report this issue at @yaireo/tagify.

Ok, I just saw that you already reported this issue there (https://github.com/yairEO/tagify/issues/1148)

SO maybe this isn't even related to Angular. Please verify by using the JSBIN template (which a link to is in the issue template) and set up the demo according to your needs


Cors policy is not automatically cleared when deleting CRD Security Policy

Description:
I apply config as bellow:
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
metadata:
  name: example-gateway-class
  labels:
    example: grpc-routing
spec:
  controllerName: gateway.envoyproxy.io/gatewayclass-controller
---
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
  namespace: envoy-gateway
  name: gateway-1
spec:
  gatewayClassName: example-gateway-class
  listeners:
  - name: http
    protocol: HTTP
    port: 80
    allowedRoutes:
      namespaces:
        from: All
---
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: GRPCRoute
metadata:
  namespace: default
  name: grpcroute-1
spec:
  parentRefs:
  - namespace: envoy-gateway
    name: gateway-1
    sectionName: http
  rules:
  - backendRefs:
    - name: service-1
      port: 9000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  namespace: default
  name: httproute-1
spec:
  hostnames:
  - gateway.envoyproxy.io
  parentRefs:
  - namespace: envoy-gateway
    name: gateway-2
    sectionName: http
  rules:
  - matches:
    - path:
        value: "/"
    backendRefs:
    - name: service-1
      port: 8080
---
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: SecurityPolicy
metadata:
  namespace: default
  name: policy-for-route
spec:
  targetRef:
    group: gateway.networking.k8s.io
    kind: GRPCRoute
    name: grpcroute-1
    namespace: default
  cors:
    allowOrigins:
    - type: Prefix
      value: example
    - type: Suffix
      value: bar.org
    allowMethods:
    - GET
    - POST
    allowHeaders:
    - "x-header-5"
    - "x-header-6"
    exposeHeaders:
    - "x-header-7"
    - "x-header-8"
    maxAge: 30s

---
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: yages
    example: grpc-routing
  name: yages
spec:
  selector:
    matchLabels:
      app: yages
  replicas: 1
  template:
    metadata:
      labels:
        app: yages
    spec:
      containers:
        - name: grpcsrv
          image: ghcr.io/projectcontour/yages:v0.1.0
          ports:
            - containerPort: 9000
              protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: yages
    example: grpc-routing
  name: service-1
spec:
  type: ClusterIP
  ports:
    - name: http
      port: 9000
      protocol: TCP
      targetPort: 9000
  selector:
    app: yages

Then, the result of config:
"routes": [
         {
          "match": {
           "prefix": "/"
          },
          "route": {
           "cluster": "grpcroute/default/grpcroute-1/rule/0"
          },
          "typed_per_filter_config": {
           "envoy.filters.http.cors": {
            "@type": "type.googleapis.com/envoy.extensions.filters.http.cors.v3.CorsPolicy",
            "allow_origin_string_match": [
             {
              "prefix": "example"
             },
             {
              "suffix": "bar.org"
             }
            ],
            "allow_methods": "GET, POST",
            "allow_headers": "x-header-5, x-header-6",
            "expose_headers": "x-header-7, x-header-8",
            "max_age": "2000"
           }
          },
          "name": "grpcroute/default/grpcroute-1/rule/0/match/-1/*"
         }
        ]

And I deleted CRD  SecurityPolicy, But typed_per_filter_config can not delete

cc @zhaohuabing

Thanks for testing. I'll look into it.

This should have been  fixed in  https://github.com/envoyproxy/gateway/pull/2086

Hey @zhaohuabing what was the issue in this one

Hey @zhaohuabing what was the issue in this one

Forgot to add watch for SecurityPolicy.


Catch 404 in wait_for_deletion when reacting

The message may be deleted before the bot gets a chance to react.
Fixes #1181

I tried to look through history to see if the context in the docstring ever referred to an actual name, but it doesn't seem to be the case. Either way, that's fine, just something I noticed.


Add pdfGPT

By submitting this pull request, I promise I have read the contribution guidelines twice and made sure my submission follows it.
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

This would be a better fit for the "Hosted and self-hosted" section.

The description should not repeat the item title. - https://github.com/sindresorhus/awesome-chatgpt/blob/main/contributing.md

You can edit a pull request. There's never any need to open a new one. That just creates noise in the issue tracker.


Unable to set environment variables on Bash script task execution

I'm looking to run a bash script via a script path in my build. Although my task accepts arguments there are environment variables that the programs it runs may or may not be expecting.
I'd like to add environment variables to the task definition so that my script can remain generic. Much like the field offered in the docker-compose task.

Sorry, I guess I missed some important details.

Its a release I'm needing to do this in, not a build. So great as the yaml stuff looks it's not applicable :(
Variable substitution does not appear to function in an inline script. i.e RELEASE=$(Release.ReleaseName) seems to resolve to '' at runtime.


Add minimum Outlook for Mobile version for Event-based add-ins

Article URL

https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/mobile-event-based
Issue

Which are the minimum versions of Outlook for Mobile required for the event-based functionality? Both for Android and iOS.
The information is missing on any Microsoft documentation and different 3rd party vendors are presenting different information.
Also, the Outlook for Mobile release notes are incomplete and do not mention this.

Hi @bogdanst24,
According to the list of supported events, only the OnNewMessageCompose event is supported by Android (and coming soon to iOS). Let me tag @samantharamon to confirm and consider how to make this information more discoverable.

Yes, I am aware of that and this is not a problem.
What I am asking for, is the version of Outlook Android and Outlook iOS in which the support was added.

Ah, my apologies for misreading that. @samantharamon or @exextoc should be able to help.

Hi @bogdanst24. I'm following up on this and will share more information once available.

@samantharamon any updates on the matter? Thank you!

@Barb18, I'm still waiting for confirmation on the supported versions, but will be sure to share them as soon I find out.

Thanks for your patience, @bogdanst24 and @Barb18. The OnNewMessageCompose event is supported in Outlook on Android and on iOS starting in Version 4.2352.0. We'll update our documentation to reflect this.

We created #4395 to update our documentation. Please note that once the changes are merged, this issue will be automatically closed. If you need additional assistance, please create a new GitHub issue. Thanks!


[feat] should document on how to support backtrace when size optimize

Problem
When use size optimize config, backtrace is not working.
[profile.reproduce]
inherits = "release"

debug = false
strip = true

backtrace::Backtrace    0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: __libc_start_main
   5: <unknown>

544K    bt

When use backtrace working config, size is much larger than size optimize config.
[profile.reproduce]
inherits = "release"

debug = true
strip = false

backtrace::Backtrace    0: bt::show_backtrace
             at /path/to/reproduce/src/bin/bt.rs:2:21
      bt::f4
             at /path/to/reproduce/src/bin/bt.rs:7:5
      bt::f3
             at /path/to/reproduce/src/bin/bt.rs:11:5
      bt::f2
             at /path/to/reproduce/src/bin/bt.rs:15:5
      bt::f1
             at /path/to/reproduce/src/bin/bt.rs:19:5
      bt::main
             at /path/to/reproduce/src/bin/bt.rs:23:5
   1: core::ops::function::FnOnce::call_once
             at /rustc/9b72238eb813e9d06e9e9d270168512fbffd7ee7/library/core/src/ops/function.rs:250:5
      std::sys::backtrace::__rust_begin_short_backtrace
             at /rustc/9b72238eb813e9d06e9e9d270168512fbffd7ee7/library/std/src/sys/backtrace.rs:154:18
   2: main
   3: <unknown>
   4: __libc_start_main
   5: _start

5.4M    bt

Proposed Solution
Should document on how to find a balance like something like below.
[profile.reproduce]
inherits = "release"

debug = false_but_keep_user_backtrace
strip = true_but_not_user_backtrace

backtrace::Backtrace    0: bt::show_backtrace
             at /path/to/reproduce/src/bin/bt.rs:2:21
      bt::f4
             at /path/to/reproduce/src/bin/bt.rs:7:5
      bt::f3
             at /path/to/reproduce/src/bin/bt.rs:11:5
      bt::f2
             at /path/to/reproduce/src/bin/bt.rs:15:5
      bt::f1
             at /path/to/reproduce/src/bin/bt.rs:19:5
      bt::main
             at /path/to/reproduce/src/bin/bt.rs:23:5
   **/rustc/xxx are not kept **
   **main, <unknown>, __libc_start_main, _start are not kept**

544K    bt

Notes
feat on backtrace side
https://github.com/rust-lang/backtrace-rs/issues/675

There is already documentation, can you suggest an improvement? https://doc.rust-lang.org/cargo/reference/profiles.html
If you want to keep backtrace info intact then try:
debug = "line-tables-only"
strip = "debuginfo"

Actually, f1 f2 f3 f4 are missing.
[profile.reproduce]
inherits = "release"

debug = "line-tables-only"
strip = "debuginfo"

backtrace::Backtrace    0: bt::main
   1: std::sys::backtrace::__rust_begin_short_backtrace
   2: main
   3: <unknown>
   4: __libc_start_main
   5: _start

620K    bt

Then try debug = "limited" as noted in the docs.
If a function is inlined then it essentially doesn't exist in the final binary. Therefore you need more debug information to reconstruct the full trace.

In any case, this isn't a Cargo issue. The debug field exposes the options rustc provides. If you think there's something more that rust could do here then file an issue on rust-lang,/rust. But removing debug information is always going to be in tension with providing a full backtrace.

Emm, f1 f2 f3 f4 are still missing.
[profile.reproduce]
inherits = "release"

debug = "limited"
strip = "debuginfo"

backtrace::Backtrace    0: bt::main
   1: std::sys::backtrace::__rust_begin_short_backtrace
   2: main
   3: <unknown>
   4: __libc_start_main
   5: _start

620K    bt

In any case, this isn't a Cargo issue. The debug field exposes the options rustc provides. If you think there's something more that rust could do here then file an issue on rust-lang,/rust.

Agree with Chris.
Since the same issue has been opened twice, let's keep the discussion in one place. Close in favor of https://github.com/rust-lang/backtrace-rs/issues/675.


Update flash-npapi to <IP_ADDRESS>

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

I think it's been a while since I've looked at Travis output for cask PRs, but I'm not clear on why this build failed.

It seems like invalid uninstall script. There is a leftover after the uninstall script runs.

I see - thought that may have been it. That's a bit surprising, because the fpsaud launchdaemon has been around forever.

See the build from the previous merged PR for this cask:
https://travis-ci.org/caskroom/homebrew-cask/builds/326727881?utm_source=github_status&utm_medium=notification

I guess a similar fix for com.adobe.fpsaud could be done as was done here: https://github.com/caskroom/homebrew-cask/pull/43707/commits/f562127135d9ff18dd79f8333de1506d0055f6d8

See the build from the previous merged PR for this cask ...

The "leftovers" check is relatively new and the first version didn't error out correctly.


Fix helm repo list example

The flags to the command must be provided before the directory: helm repo index [flags] [DIR] or an error is given: Error: This command needs 1 argument: path to a directory

Signed it

Hi!
I can't reporoduce the error. Can you share what version of Helm are you running and on which platform?

Ah yes, this was user error and this is not an issue.
I was attempting to use helm repo index --merge --url https://foo.bar repo-dir, but --merge requires an argument and was eating the next flag and causing the error.
Sorry for the noise!


Slim down tests

The travis build often fails due to "panic: test timed out after 20m0s" in the middle of the long integration test.
I could make the timeout longer at the moment but would be better to slim the tests down.

Could we run any in parallel. Do we have any particular ties to Travis?

Not sure. Do you know if travis worker has multiple CPU cores gotest could utilize?

Do we have any particular ties to Travis?

Probably. Anyway, I can't enable any third party CI service integration on my own. I need to get approval from GitHub for each newly integrated service, which is time-consuming and a bit annoying..


[KBM] Map to custom keys / diacritic character, not just keycode

I would like to use Keyboard Manager to map some shortcuts to keys that currently are accessible only from the "Windows Character Map" application. Specifically I would like to map AltGr + ' to ` and AltGr + ì to ~.
I know that the Keyboard Manager enables only to map to keyboard keys, but allowing also custom characters would be such a great feature for a programmer.

To add on this, there's a FOSS project under the name of "WinCompose" that's available at github.
https://github.com/samhocevar/wincompose

To add on this, there's a FOSS project under the name of "WinCompose" that's available at github.
https://github.com/samhocevar/wincompose

Second this. I am using Japanese layout on my laptop built-in keyboard (US layout). As the underscore key is mission, I want to map Shift + 0 (which is empty in Japanese layout) to _ (Which normally is Shift + ). However, the attempt to add it to the shortcut is buggy and not function in most time, and as soon as I disconnected my USB Japanese keyboard, Shift + 0 will stop working, which makes the remapping meaningless.

Second this. I am using Japanese layout on my laptop built-in keyboard (US layout). As the underscore key is mission, I want to map Shift + 0 (which is empty in Japanese layout) to _ (Which normally is Shift + ). However, the attempt to add it to the shortcut is buggy and not function in most time, and as soon as I disconnected my USB Japanese keyboard, Shift + 0 will stop working, which makes the remapping meaningless.

To add on this, there's a FOSS project under the name of "WinCompose" that's available at github.
https://github.com/samhocevar/wincompose

Good thing, but I would prefer a solution from Microsoft.
From my point of view, this is a so basic feature that it should be included in Windows yet. Just my opinion, but all collegues I met agree.
PS. For now I used the Microsoft Keyboard Layout Creator. It would be better to have a single layout than two similar one to the other except for 2 keys....

To add on this, there's a FOSS project under the name of "WinCompose" that's available at github.
https://github.com/samhocevar/wincompose

Good thing, but I would prefer a solution from Microsoft.
From my point of view, this is a so basic feature that it should be included in Windows yet. Just my opinion, but all collegues I met agree.
PS. For now I used the Microsoft Keyboard Layout Creator. It would be better to have a single layout than two similar one to the other except for 2 keys....

To add on this, there's a FOSS project under the name of "WinCompose" that's available at github.
https://github.com/samhocevar/wincompose

Good thing, but I would prefer a solution from Microsoft.
From my point of view, this is a so basic feature that it should be included in Windows yet. Just my opinion, but all collegues I met agree.
PS. For now I used the Microsoft Keyboard Layout Creator. It would be better to have a single layout than two similar one to the other except for 2 keys....

Yes, what I meant with my comment is what they could implement in their software that already exists and it's useful.

To add on this, there's a FOSS project under the name of "WinCompose" that's available at github.
https://github.com/samhocevar/wincompose

Good thing, but I would prefer a solution from Microsoft.
From my point of view, this is a so basic feature that it should be included in Windows yet. Just my opinion, but all collegues I met agree.
PS. For now I used the Microsoft Keyboard Layout Creator. It would be better to have a single layout than two similar one to the other except for 2 keys....

Yes, what I meant with my comment is what they could implement in their software that already exists and it's useful.

@crutkas
this issue has come up several times and there is a lot of feedback from the community, should we included in the stability release or right after it?

@crutkas
this issue has come up several times and there is a lot of feedback from the community, should we included in the stability release or right after it?

Apparently this important modification is not yet confirmed for any of the next 4 releases. Hopefully this will be remedied ASAP.
My own pressing need is to be able to remap to ANY Unicode character.
Can Unicode characters be mapped to unused Virtual Keys (VK nnn)?

Apparently this important modification is not yet confirmed for any of the next 4 releases. Hopefully this will be remedied ASAP.
My own pressing need is to be able to remap to ANY Unicode character.
Can Unicode characters be mapped to unused Virtual Keys (VK nnn)?

Lets target right after stability.  I'll update the wiki.

Lets target right after stability.  I'll update the wiki.

@enricogior this is for support of chords then as well based on some of the closed issues, correct?  ala Ctrl-K, Ctrl-C inside VS to comment something.  we closed a few issues it looks like against this for chords

@enricogior this is for support of chords then as well based on some of the closed issues, correct?  ala Ctrl-K, Ctrl-C inside VS to comment something.  we closed a few issues it looks like against this for chords

I'd just as soon see the MKLC reworked and brought back up to modern design.  It was incredibly powerful, supporting dead keys, and there are characters I would need to type that I could only get that way, short of memorizing alt-codes or just searching for the specific character somewhere.  Really, MKLC was a life-saver.
Please consider making the custom keys request an opportunity to improve the user experience around custom keyboards.

Looking forward to see this feature in power toys. Is there an ETA for it?

What is the ETA for PowerToys to get this annoying error fixed?

Is it possible to type a diacritic and then follow it up with another character after as you can on mac?
Essentially this allows you to use one key to type the accent and then use that accent for any compatible unicode character. It may already be possible with wincompose but i'm not sure.

Hi Mihir,
Not sure what you are referring to here, as I don't have a Mac but a Windows computer.
How can I remap the missing key with PowerToys?
Thanks,
Eric

From: Mihir Patil @.>
Sent: Thursday, May 13, 2021 2:36 PM
To: microsoft/PowerToys @.>
Cc: Eric Tierling @.>; Comment @.>
Subject: Re: [microsoft/PowerToys] [KBM] Map to custom keys / diacritic character, not just keycode (#6976)
Is it possible to type a diacritic and then follow it up with another character after as you can on mac?
Essentially this allows you to use one key to type the accent and then use that accent for any compatible unicode character. It may already be possible with wincompose but i'm not sure.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F6976%23issuecomment-840849448&data=04|01|eric.tierling%40microsoft.com|1466d44c8f6140b0b54808d916573662|72f988bf86f141af91ab2d7cd011db47|0|0|637565386192845220|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=49QVK%2BvcIBTyrdgQTITtbFHUcpJf2Pl%2BxdKKfevGFi0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHPJEXL6FDPOBNDLKZPXEKDTNRA67ANCNFSM4SBU452A&data=04|01|eric.tierling%40microsoft.com|1466d44c8f6140b0b54808d916573662|72f988bf86f141af91ab2d7cd011db47|0|0|637565386192845220|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=PFpfCQpaFySbuj6lAEjc1pp0c2j3Mh6kdN0nOC4DBaQ%3D&reserved=0.

Is it possible to type a diacritic and then follow it up with another character after as you can on Mac?
Essentially this allows you to use one key to type the accent and then use that accent for any compatible unicode character. It may already be possible with wincompose but i'm not sure.
Edit: it seems to be possible using wincompose but unlike Mac the typed diacritic isn't shown, and it blocks all shortcuts using the compose key.

I believe what you're referring to is a dead key (e.g. you press ` + a, you get à). PowerToys doesn't support this, at least for now, which is why I made my own script, but I'm not sure what you mean by "the typed diacritic isn't shown", as I've never owned a Mac.

Thank you. As stated, I don't know about Mac - this is for a Windows device.
What you refer to a French special characters, but this is for English ones.
When I enable the German keyboard layout on an US keyboard hardware, both characters "<" and ">" are gone, as is the pipe char "|".
You need all of them for CUI / scripting / programming type of stuff.
What is rather weird with PowerToys is that you can assign "<", but not ">" .

THAT is the bug I reported.
Note: These chars are NOT custom keys.
So you might adjust the incorrect bug title you picked.

When will that bug finally get fixed?
It's open for a long time now.
Regards,
Eric
From: berzi @.>
Sent: Thursday, May 13, 2021 11:49 PM
To: microsoft/PowerToys @.>
Cc: Eric Tierling @.>; Comment @.>
Subject: Re: [microsoft/PowerToys] [KBM] Map to custom keys / diacritic character, not just keycode (#6976)
Is it possible to type a diacritic and then follow it up with another character after as you can on Mac?
Essentially this allows you to use one key to type the accent and then use that accent for any compatible unicode character. It may already be possible with wincompose but i'm not sure.
Edit: it seems to be possible using wincompose but unlike Mac the typed diacritic isn't shown, and it blocks all shortcuts using the compose key.
I believe what you're referring to is a dead key (e.g. you press ` + a, you get à). PowerToys doesn't support this, at least for now, which is why I made my own scripthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2Fbrzrkr%2Fbetter-us-intl&data=04|01|eric.tierling%40microsoft.com|a289a4571ee14b5f7fec08d916a45830|72f988bf86f141af91ab2d7cd011db47|0|0|637565717393796648|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=jvNpFkBCk%2B7lVDqYywKB7P9csRgICg3mYj9J4RH%2BSpU%3D&reserved=0, but I'm not sure what you mean by "the typed diacritic isn't shown", as I've never owned a Mac.

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F6976%23issuecomment-841049572&data=04|01|eric.tierling%40microsoft.com|a289a4571ee14b5f7fec08d916a45830|72f988bf86f141af91ab2d7cd011db47|0|0|637565717393806605|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=V46yYcnQi54r4c9u5bQ9Er3dT91zQvyoGSSgDSWRBko%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHPJEXIKKVERRVPWAC2DW6LTNTBVPANCNFSM4SBU452A&data=04|01|eric.tierling%40microsoft.com|a289a4571ee14b5f7fec08d916a45830|72f988bf86f141af91ab2d7cd011db47|0|0|637565717393806605|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=dGnyofvQyVD9x%2FeBoVUPbWlupKdxNMkFSJmlCYW6qx0%3D&reserved=0.

The highlighted diacritic is what i'm focusing on. Other apps do the same but instead of highlighting, there's an underline.
The additional popup menus for multiple variations after pressing and holding a key is another feature that exists on Mac but is likely outside the scope of this issue but is still worth mentioning.
https://user-images.githubusercontent.com/49821700/119588318-8e9bf500-bd9e-11eb-9234-ffaf18346ed8.mov

@zbot473 think you're asking more for #2668

In addition to that i was suggesting it tells you the diacritic that's about to be inserted

A digital programmable keyboard - where every key is a miniature display - would be a solution for every developer.
Have a look at https://www.youtube.com/watch?v=UvG_rTTmvmg (he shows many more very special keyboards)

A digital programmable keyboard - where every key is a miniature display - would be a solution for every developer.
Have a look at https://www.youtube.com/watch?v=UvG_rTTmvmg (he shows many more very special keyboards) or https://www.artlebedev.com/optimus/popularis/

I think that is out-of-scope.

I think that is out-of-scope.

It's wasn't a suggestion for software, but an off-topic tip for people who really need high performance keyboards.

@jay-o-way, i'd suggest a streamdeck or something along those lines if that is what you want.

Hi all,
Just to add to the issue: remapping to any unicode character would be a great addition imo.
Especially for PCs without a numpad this would be extremely helpful!
cheers

Hey, I'm a bit late into this but the way I got around this is, I added both the US and UK keyboard on windows language settings. then just press the Windows key + spacebar to change between both quicky and press shift + 3
I'm on WIndows 11, don't know if this works on Windows 10

Yeah but what if you want to type accents on a US keyboard that has none? I don't really want to learn another layout to use accents

To add on this, there's a FOSS project under the name of "WinCompose" that's available at github. https://github.com/samhocevar/wincompose

The Wincompose program is incredibly useful, and to have available a standard Compose-Key in Windows/Powertoys with Unix/Linux abbreviations would be enormously useful for those of us who regularly use different languages and need to enter words containing e.g. æ ö ç É in the same text rapidly.  Would also be super-useful for those who need to use a lot of emojis in their texts. Microsoft could even leverage their hardware-position to also push a compose key onto their MS-branded keyboards.

Yeah but what if you want to type accents on a US keyboard that has none? I don't really want to learn another layout to use accents

This is where a  Compose-Key is useful: To write é, you hit the compose-key, and then e '. Other obvious shortcuts:

Compose ae = æ
Compose o" = ö
Compose  << = «

Really wish this was included as a standard in Windows, but the https://github.com/samhocevar/wincompose implements this well.

I’d put wincompose closer to power accent tracking item vs this but wow that sounds neat.  @samhocevar neat stuff looking at the readme.

I beleive that this would be a great enhancement to all users that do not have a US keyboard. Key remapping is fine, but not powerful. I have an italian one, and there is no way for digiting quickly ~ (tilde) or ` (backtick) in Windows as opposed to Linux. In linux, by default there are very simple keyboard shortcuts. So I ended up in using AutoHotKey in the background with this rule configured: https://gist.githubusercontent.com/scollovati/3b4a6b44176797ff727f5c261c6b4975/raw/002c0321b7b1693b97cd5794b1cb8e3f33c212ef/layout.ahk
Hope that PowerToys will be able to tackle this functionality very soon.

Yes please! I'd love to replicate mac's handling of en/em dashes with powertoys \o/

Yes please on something like Linux's compose implementation.  It's the most intuitive and discoverable of all the OSes I've tried, and I think WinCompose does something like it.  No extra layout or shortcuts needed, just assigning a certain key as a compose (eg, CapsLock).  I've tried MacOs's combos and the AltGr combos aren't as flexible and expandable.

The best way to implement this would be to simply have a Shortcut that is mapped to a an Alt keycode sequence which you would enter yourself.
Alt + O maps to Alt sequence 0182 0020 0182
When the shortcut is triggered, PowerToys will press Alt and type all those numbers using the appropraite Num lock pad.  The space is for convenience so is easier to read but is ignored. If you want space you need to enter the Alt code for space character.

What's the status for this?

I first installed PowerToys because there are certain symbols that I need (< and > and §) and don't want to do alt + unicode to get them. I'm using the Spanish(ES) layout, and had to buy a new keyboard to get < and >. I can use unicode for §, but it would be so much easier if I could use PowerToys to remap keys to type these symbols when I need them.  Is this going to ever become a reality?

I suggest to everyone interested in that issue to select the 👍 symbol in the heading comment so that this topic becomes more interesting to developers.

I think it could be interesting to also include the mouse keys, there are many mouse models that include additional buttons for additional functions, which would be interesting to map through this tool. Even being able to combine keys from both devices as discussed in #20292

I can't tell from the thread if this issue is on a Planned Roadmap somewhere.
Is it a won't implement, can't implement or a gathering feedback ?

Hello PowerToys KBM developers,
With Windows 11 (aka WinOS 11) I hope this request gets attention, and have Keyboard Manager to support the entry of any Unicode Character. There are special characters in the Latin Extended-D that are not in any of the keyboard layouts for WinOS 11.
If this feature is developed, it would make life for many multilinguist users much easier, as the workaround of using MSFT KLC 1.4 presents challenges when used in WinOS 11.
In addition, having PowerToys manage configurations to a keyboard layout makes it easier and less troublesome for users to remove any of them from WinOS 11 without having to deal with the Register.
Thank you for the privilege of addressing you with this request.

Not sure if you are aware, but there is a new Quick Accent tool in Power Toys, which allows you to scan all the modifiers of the main characters using arrow keys. The characters are categorised by source language, and the major limitation is that you can either pick one language or all, but not e.g. two, but it's working quite well in my use case. And characters not in any language (modulo some currency symbols are not accessible), but I think it works quite well.

The best way to implement this would be to simply have a Shortcut that is mapped to a an Alt keycode sequence which you would have to enter manually yourself.
Example: Alt + O maps to Alt sequence 0182 0020 0182
When the shortcut is triggered, PowerToys will press Alt and type all those numbers using the appropraite Num lock pad. The space is for convenience so is easier to read but is ignored. If you want space you need to enter the Alt code for space character.
The option could be called Remap an Alt code sequence immediately under Remap a shortcut.

That's a pretty darn reasonable suggestion that would be easy to implement. Now 6 months have passed, do we know if this suggestion was taken under consideration and if yes, when it will be released?

This is something we would like to implement but we have no current eta. There are a few experiments we want to try with the core engine to see if we can do more complex remapping vs vkey.
If a community members would like to, happy to work with them. But the core team is currently working on other projects and improvements

Since I don't see it mentioned in this thread (only in the closed #3947), the simplest solution to unicode characters missing from the "Mapped To" list would be to let users paste a symbol from their clipboard into the "Mapped To" field.

Yes please! I have an Italian keyboard, and typing the tilda symbol ~ is always a PAIN!

For all italian users (including @francescoboc): I installed the keymap here and it works flawlessly.
https://github.com/LorenzoMorelli/Tilde-Backtick-italian-keyboard-Win11
If this can be done why not distributing such maps.

Having support for compose key would be absolutely great (preferably, with optional support for standard sequences from Xorg and/or Xcompose as an option in addition to custom defined ones) - I don't think that there is any other system that allows for intuitive input of not just accented chars, but plethora of other unicode characters as well (arrows, mathematical symbols, et caetera; anything you want, really, if custom sequences can be defined). Yes, there is WinCompose, as mentioned before, but having this functionality integrated with Windows as well as other PowerToys would be on another level.

@vincenzoml Thanks, I already solved the issue with AutoHotkey.

I think this is a more general issue. I'm based in Spain and consider myself L1 Spanish/German. With a Spanish keyboard I can get the 'ß' as AltGr+s in Linux and macOS and thus my keyboard allows me to write in all languages I'm fluent in (ES/DE/EN/IT) without extra drivers (in Linux) or with an extra app (Karabiner in macOS). But that's something I can't in Windows. I have to confess that returning to Win after 20+ years in linux/macOS has been an accident I couldn't avoid. Not that I'm surprised. Just disappointed...

I resorted to making my own system based on Autohotkey and it's been working well for me (though it was somewhat buggy on a slower, older computer I used to use).

Fantastic work, @berzi !  Brilliant. However, this does not address my need to incorporate some elements from the Latin Extended-D which are essential for my use case and the reason I want the developers to add it to the code of the Keyboard PowerToy or work on a greater version of the Microsoft Keyboard Layout app and incorporate it as a PowerToy.

@berzi, I'm wondering if you've ever considered adding support for the characters the Pinyin uses which don't yet seem to exist. See https://en.wikipedia.org/wiki/Pinyin#Tones
It looks like you might just be missing 3rd tone (ˇ) and the variants with the umlaut over the U, which is a multiple diacritic combination. In other IME I've used, the umlaut U is typed by using the letter "v" since that isn't used in Pinyin, but I know that probably wouldn't work for your case, though I suppose you could use the dead key + V combination to result in the umlaut u + tone combination.

@berzi, I'm wondering if you've ever considered adding support for the characters the Pinyin uses which don't yet seem to exist. See https://en.wikipedia.org/wiki/Pinyin#Tones
It looks like you might just be missing 3rd tone (ˇ) and the variants with the umlaut over the U, which is a multiple diacritic combination. In other IME I've used, the umlaut U is typed by using the letter "v" since that isn't used in Pinyin, but I know that probably wouldn't work for your case, though I suppose you could use the dead key + V combination to result in the umlaut u + tone combination.

@cjbarth I actually have the ˇ (altgr + shift 6), looks like the picture is outdated. But I don't have double diacritics yet, that's what I'll work on next. Thanks. :)

This would help in a lot of situation.
My 2 cents:

AutoHotKey seems to solve part of the problem, but that means running PowerToys in parrallel of another tool. It would be better to not have a bunch of background helper always running and consolidate keyboard management.
Quick Accent tool is nice for occasional input here and there. That can't be a solution to actually type whole documents on an everyday basis.
Having multiple keyboards is also a solution, but that means doing full layout switches solely depending on needing accents or not. For people using an IME (CJK languages) that's a huge PITA that makes it just impractical.

The most elegant solution would really be to have PowerTools allow for arbitrary mapping (allowing to paste a character feels like a really good interface, but I'd be totally fine with inputing character codes instead)

Fantastic work, @berzi ! Brilliant. However, this does not address my need to incorporate some elements from the Latin Extended-D which are essential for my use case and the reason I want the developers to add it to the code of the Keyboard PowerToy or work on a greater version of the Microsoft Keyboard Layout app and incorporate it as a PowerToy.

Thank you @georgegom . I'm curious to know what use-case requires those symbols since I'm unaware of a language that uses any of them.
I could add some of them to my layout since I was already thinking of expanding it to cover Hungarian accent marks.

The use case is to be able to compose text, say in a Romance language like Spanish, where with a single character (i.e. ao ligature) I can save myself from writing out both forms of a particular noun or adjective.  It is more elegant than the horrible solution invented by the publishing/editorial industry.
The feature I am asking to be implemented would allow for other characters in the ASCII Latin-D group to be used for other creative purposes, i.e., the use of characters in medieval forms of Indoeuropean languages to express the original form of the word.
Therefore, I want to have an enhanced and better option than Microsoft Keyboard Layout Creator (which does not work correctly in Windows 10 and is not for the faint of heart) which can be done by a feature that lets me map what character I want when I need it. :)

That would be only one use case. The possibility of mapping eg AltGr+s to ß in a Spanish keyboard would make it a keyboard to write all co-official languages in Spain, French, Italian, English and German with. Wouldn’t that be impressive? Well, actually, I do this since ever when I switch to Linux ;-)Enviado desde mi iPhoneEl 6 ago 2023, a las 18:56, George Ortiz-Mejias @.***> escribió:
Fantastic work, @berzi ! Brilliant. However, this does not address my need to incorporate some elements from the Latin Extended-D which are essential for my use case and the reason I want the developers to add it to the code of the Keyboard PowerToy or work on a greater version of the Microsoft Keyboard Layout app and incorporate it as a PowerToy.
Thank you @georgegom . I'm curious to know what use-case requires those symbols since I'm unaware of a language that uses any of them.
I could add some of them to my layout since I was already thinking of expanding it to cover Hungarian accent marks.
The use case is to be able to compose text, say in a Romance language like Spanish, where with a single character (i.e. ao ligature) I can save myself from writing out both forms of a particular noun or adjective.  It is more elegant than the horrible solution invented by the publishing/editorial industry.
The feature I am asking to be implemented would allow for other characters in the ASCII Latin-D group to be used for other creative purposes, i.e., the use of characters in medieval forms of Indoeuropean languages to express the original form of the word.
Therefore, I want to have an enhanced and better option than Microsoft Keyboard Layout Creator (which does not work correctly in Windows 10 and is not for the faint of heart) which can be done by a feature that lets me map what character I want when I need it. :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

¡Felicidades! Glad you do not have this first-world problem.  😉
However, since I am not using Linux, and these are PowerToys for Windows .... need I say more?

I actually have it every single time I’m forced to use Windows ;-) mentioned Linux just to itch a bit :-)PAEnviado desde mi iPhoneEl 7 ago 2023, a las 1:33, George Ortiz-Mejias @.***> escribió:
¡Felicidades! Glad you do not have this first-world problem.  😉
However, since I am not using Linux, and these are PowerToys for Windows .... need I say more?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

This is quite literally the only reason I installed PowerTools. You are going to lose out on a lot of your potential base by holding off this feature for this long, especially since the solution should be theoretically easy.

Any update on this? WinCompose is nice but an official Windows compose key would be a very useful thing. Especially since WinCompose isn't digitally signed.
Even just the standard Xorg sequences would be a huge help.

Same question.
WinCompose is dead and plagued with issues if your keyboard layout is anything else than EU/US.
I use a japanese keyboard with a japanses layout and whatever the sequence the soft interpret it with a US layout so it either gives me a wrong combination or just the bare raw characters I've pressed.
A real compose key would be better than creating what is basically snippet into the Keyboard Manager or using the limited Accent Powertoy.

@nev3rfail. Thanks this works for me: it replaces the ² character/key with backtick efficiently. (backtick is ALT-GR+µ on belgian keyboards). The only thing is that the console window of your app displays "verbosity: ERROR" which lead me to believe it was not working until I tested it.

@nev3rfail. Thanks this works for me: it replaces the ² character/key with backtick efficiently. (backtick is ALT-GR+µ on belgian keyboards). The only thing is that the console window of your app displays "verbosity: ERROR" which led me to believe it was not working until I tested it.

@tilleul, that's great:) verbosity: error just shows the current loglevel.
Please be aware that unless the program is running with admin privileges it wont work with elevated applications.
To start the program with the computer startup:

press Win+R, type shell:startup (Explorer autostart will open)
create a shortcut of a program and copypaste it to explorer's autostart

And would you please then detail the steps taken to do this?
I mean, unfortunately however brilliant Quick Accent or Keyboard Manager are, they both lack what Microsoft Keyboard Layout would allow us to do, which is to copy an existing layout and define our own diacritic character entry with just using AltGr and AltGr+Shift.
¡Gracias!

From: Pedro A. Aranda Gutiérrez @.>
Sent: Monday, August 7, 2023 01:40
To: microsoft/PowerToys @.>
Cc: George Ortiz-Mejias @.>; Mention @.>
Subject: Re: [microsoft/PowerToys] [KBM] Map to custom keys / diacritic character, not just keycode (#6976)
I actually have it every single time I’m forced to use Windows ;-) mentioned Linux just to itch a bit :-)PAEnviado desde mi iPhoneEl 7 ago 2023, a las 1:33, George Ortiz-Mejias @.***> escribió:
¡Felicidades! Glad you do not have this first-world problem. 😉
However, since I am not using Linux, and these are PowerToys for Windows .... need I say more?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/6976#issuecomment-1667217696, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIOUT3DZMASHOSUJISEWP4TXUB5T7ANCNFSM4SBU452A.
You are receiving this because you were mentioned.

FWIW, stumbled across this GitHub while looking for other, vaguely related stuff, and I have to wonder... Does this project currently allow for the direct use of non-standard keyboard symbols as actual inputs yet, or not? Asking from the perspective of a gamer who needs extra keybinds, rather than what folks might conventionally consider a true "power user". TL:DR, looking to bind some flight stick controls to keyboard-style inputs, but as a supplement to the extant keyboard on my desk, rather than to replace it. The game in question doesn't have options to take stick inputs, and JoyToKey just binds things to existing keyboard controls (which is useless). Macros and chords are a non-starter, given that shift, control, and alt are already bound to stuff, which would cause funky interactions when trying to use them as such (IE Alt-codes for ASCII characters). I've also already bound F13-F24 to the 12 extra buttons on the side of my mouse and made use of them.
For anyone who cares to ask what game I could be playing that might possibly require such an inordinate number of additional keybinds... It's modded Minecraft (Java edition), and I'm not joking. With how most of the larger/more popular mods are these days, extra bindings beyond the norm are an absolute necessity, given they're all usually coded in isolation and default to having their added controls mapped to things like Z,X,C,F,R, etc, meaning there's usually several dozen conflicts per key whenever you first start up a modpack. Unfortunately, from what I've experienced, MMO mice and gaming keyboards with extra buttons and other such peripherals only seem designed with binding macros in mind (or the aforementioned long-disused F13-F24 keys), instead of registering the extra inputs as their own dedicated buttons.
Sorry if this is off-topic for this project, let alone this thread, it's just that this seems like the closest thing to a solution to my problem that I've been able to find. Failing that, could someone point me in a better direction?

For additional clarification, my mouse is one of those Logitech ones with 12 bindable side buttons, a scrollwheel that center-clicks and rocks side-to-side for forward and backwards webpage navigation, and a third "click" option under the ring finger (like the left and right click are under the index and middle fingers, respectively) that's designed as a mode-shift for the 12 side buttons. Additionally, my keyboard (also Logitech) has the standard US QWERTY+Numpad+F1-12 layout, with 9 additional kinda le buttons wrapped around the left edge and above the function keys, as well as a further three buttons meant as a 3-way mode shift for those previously-mentioned 9. The flight stick (a relatively newer acquisition) comes from VKB, and while it does seem to have its own readings as regular stick controls, (which Minecraft doesn't read,) it also has an option to bind all its inputs to keyboard inputs instead, which would be more useful. Unfortunately, all of the above points towards reusing the keys already on my keyboard, instead of as new unique inputs. Which is where I hoped something like this project might come in.

@Caldoric There is no such thing as "Register your own input" because there is nothing to register. Inputs can be either virtualkey which is just a 0-255 code, a scancode which is a WORD-sized payload (but there are list of scancodes supported by windows https://learn.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input (though I don't know what will happen if you paste something unusual to as a scancode and send it to windows)), and unicode which is a crutch over a scancode that allows to send a completely custom payload and is splitted/reassembled if it is too big.
the thing with your request is that sending an input is not the main problem -- there are only 3 input types in winapi's SendInput function:
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendinput
My tool above send each input as a Unicode seqence, so it might do what you want -- paste a shit emoji to windows inputs. Two questions remain:

will minecraft parse shit emoji as an input? it might, but realistically it probably will not. so i'd tried to send something that is supported by Windows as a scancode or VK that is obscure and unused
how do you read the input from your gamepad in the first place?

Alternatively, you can mess with the keyboard layout itself -- you need a tool like KbdEdit. "Examples" section contains some useful info: http://www.kbdedit.com/manual/manual_index.html

I installed the utility specifically to remap the backtick symbol, as it's essential for anyone working with code and is missing from European keyboard layouts. I wanted to avoid having to use ALT + 96 every time. Unfortunately, it turns out that the one feature I needed isn't actually supported by PowerToys Keyboard Manager.

@garysassano if by any chance you're using an Italian layout keyboard, a workaround for tilde and backtick support is using this installable keyboard

@garysassano with PowerToys Keyboard Manager you can remap a key from your keyboard.
I'm personally doing the following:

@e-krebs It's not showing for me, I think it only allows to remap to keys from your current layout in Windows.

I use shortcut mappings for both backtick and tilde

@jakopo87 I copied your settings, but nothing happens when I press the keys.


Can this support LXD containers across multiple servers/clouds?

Stanislas
I am part of a team project where we use LXD Ubuntu 18.04 containers with Ubuntu 18.04 Host/Servers and recently started looking for a Mesh VPN solution to interconnect servers Hosting LXD containers on multiple Clouds.
Normally LXD on a Host uses dnsmasq and provdes all created containers on that Host with a private 10.x.x.x IP address.
I'd like to be able to interconnect  multiple  Host LXD containers (multiple clouds) to the same L2 or L3 network so they can inter-communicate.
Could you script do this somehow for LXD containers.   I see in your install..sh file mention of LXC and I am assuming for LXD you would be referring to creating the LXD container with:

$ lxc launch ubuntu:18.04 cn_name -c linux.kernel_modules=wireguard
then

$ lxc exec cn_name bash
then

# apt install --no-install-recommends wireguard-tools

Thanks for any information or advice.
Brian

Hello,
Wireguard can surely do that, but the goal of the script is not to interconnect servers to each other but to provide a VPN as an alternative to commercial solutions for the general public. I actually use WireGuard on my servers but I manage them with ansible: https://github.com/angristan/ansible-wireguard