WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Summary of the new feature/enhancement

I like the shortcut guide feature of powertoys. Helps to remind about the shortcuts i seem to forget regularly. Though noticed that one the P is not in the list. Used for managing your screens in case you have multiple screens active. Suggest to add this one?

Proposed technical implementation details (optional)

Issue 2:
Environment

Windows build number: [10.0.18363.900]
PowerToys version: v0.18.2
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager

Steps to reproduce

*Have Keyboard Manager Enabled

*Use Keyboard and record keystroke input vs registration on computer

*Potentially have intensive tasks running: Issue was initially noticed when playing the shooter game Valorant, but not as noticeable when performing other normal tasks.

Expected behavior

*Keystrokes register on computer at the same time as registered on keyboard

Actual behavior

*Input delay lasting multiple seconds.

Screenshots
Issue 1:
Describe the feature:

Add date math support to the field stats API. The ability to do something like this could be useful:

GET metricbeat-*/_field_stats?level=indices
{
"fields": ["@timestamp"],
"index_constraints": {
"@timestamp": {
"max_value": {
"lt":"now-30d"
}
}
}
}

It could help with managing time series indices. Other uses?

Issue 2:
Currently, the _optimize API exists to optimize an entire index by merging segments in the background. In general, it's key to merge all segments to 1 (max_num_segments=1). However, if you have a very high workload, then it can be a very slow and expensive operation. Worse, optimizing an index that has replicas requires that both the primary and replica(s) be optimized separately.

It would be great if we could provide an improved optimize API that allows further control:

Optimize specific shards of an index

This would be particularly helpful with routing scenarios where shards could be tuned as-needed without impacting the rest of the shards (note: for time based indices, it's still optimal to optimize all of them, but it may be easier to wait for the remaining shards)

It also has the added benefit that you can better predict its impact, both in terms of file capacity and processing. Since you may have multiple shards per node, it also avoids running them in parallel.

Choose to optimize a specific shard (not only the shard, but which node if replica shards exist)

Offer the ability to optimize a single shard, then copy the optimized shard rather than duplicating the effort on its primary/replica peer.

This would allow people to choose to spend a little bit of short lived memory and network bandwidth rather than the current overhead associated (processing, longer lived memory, and more IO).
Issue 1:

Issue 2:
The Shadow DOM spec details event retargeting. This basically means that when an event propagation hits a shadow root boundary, it keeps propagating, but the event target is changed to the host element.

It's also important to note that some event types are never propagated outside of a shadow root.

Angular's shadow DOM emulation currently doesn't do this, and it makes it confusing to try to add listeners to events like click and have to use the ^click syntax (see #1040).
Issue 1:
TypeScript Version:

1.8.5

Code

declare type ConstrainedString = "La première" | "La primera" | "The first";

function f(s : ConstrainedString) {
console.log(s);
}

f("La primera");
f("La première");
f("The first");

f("De eerste"); // Error message is here, as expected.

Expected behavior:

The second sentence of the error message I see under Visual Studio Code doesn't seem to make sense, does it?

Argument of type '"De eerste"' is not assignable to parameter or type '"La première" | "La primera" | "The first"'. Type '"De eerste"' is not assignable to type "The first"'

I wonder if I should not rather open this under VS Code.

Actual behavior:

Removing that second sentence?

Issue 2:
interface A {
a: number
}
interface B {
b: number
}
interface C {
c: number
}
interface D {
d: number
}
declare var c: C;
let abc: ((A | B) & C) | D = c;

Actual error:

Type 'C' is not assignable to type '((A | B) & C) | D'.
Type 'C' is not assignable to type 'D'.
....

Expected error:

Type 'C' is not assignable to any branch of the union type '((A | B) & C) | D'.
For example, type 'C' is not assignable to type 'D'.
....

Error reporting on unions doesn't mention that the compiler tried to assign the source to all branches of the target. Instead it proceeds to elaborate just the last branch's error. It should make it clear that the error elaboration is just one of several checks that failed.

Otherwise it is easy to assume that the compiler only tried the last branch and somehow skipped the "more promising" branch (which ultimately also fails, but at least contains the source type).

Based on one of the multiple issues reported by @Aleksey-Bykov in #6538.
Issue 1:
THREE.SkinnedMesh currently does not work with THREE.BufferGeometry geometries. In THREE.SkinnedMesh.prototype.pose, the mesh assumes geometry.skinIndices exists and goes on normalizing elements of that array. Skipping this part if there is no such array (assuming buffer geometry skinning data is already normalized) makes SkinnedMesh work with BufferGeometry.

However, there is a problem if the skinned mesh consists of multiple materials: THREE.BufferGeometry does not work with THREE.MeshFaceMaterial. One could

Split the original mesh into multiple meshes, each with its own BufferGeometry. However, each mesh would then have to duplicate the skeleton bones and play back its own animation.

Make THREE.BufferGeometry somehow work with THREE.MeshFaceMaterial, maybe with each chunk having its own material. I have no idea how to do this.

Move the skeleton/bones code from SkinnedMesh into a separate THREE.Skeleton class and share that skeleton among meshes. I would prefer this, but maybe it's too complex to use.

Are there any plans for or opinions on one of the above ideas?

Issue 2:
WebGLDeferredRenderer is currently unmaintained and broken. Unless someone steps in and manages to fix it I think I'll have to remove it...

Any takers?
Issue 1:
Harold Neiper opened SPR-2764 and commented

I was wondering if there was already schema support for SimpleUrlHandlerMapping so started searching before I did it myself. Anyhow came across the fisheye site at this url:

http://fisheye1.cenqua.com/browse/springframework/spring/src/org/springframework/web/servlet/config

And what I found interested me in that the "extensible xml authoring" was already there for this handler mapping type. (Thinking to myself - sweet!) However, I am unable to find these files and schemas in the final release of 2.0. Am I missing something or were they just not released or wont be released?

Thanks, Harold Neiper

Affects: 2.0 final

Issue Links:

#6422 Add schema for web configuration (handler mappings) ("duplicates")

Issue 2:
Chris Beams opened SPR-8347 and commented

See #12734 and #12826.

Original commit (and comment) for ExtendedBeanInfo: https://github.com/cbeams/spring-framework/commit/1271acb8eb264f05729ccfa2dc30737c26eeb818

Related commit and comment fixing a small bug with the implementation: https://github.com/cbeams/spring-framework/commit/8dedf111bcf08af967c2de00b3e1ee4e99979533

Affects: 3.1 M1

Issue Links:

#13698 Concurrent problem with BeanWrapperImpl.getPropertyValue ("is duplicated by")

#12826 ExtendedBeanInfo Passes Empty Property Name to PropertyDescriptor Causing IntrospectionException: bad property name

#14663 Overhaul non-void JavaBean write method support

#13448 ExtendedBeanInfo raises 'type mismatch' error with covariant property types

Referenced from: commits 4a8be69, 0ee1256, 17cf465

0 votes, 5 watchers
Issue 1:
Electron version: 0.36.8

Operating system: Windows 10 64bit

Also, when the browserwindow is in the top left corner (or maximized), I get:

browserWindow.getBounds();
> {x: -8, y: -8, width: 2576, height: 1416}

screen.getPrimaryDisplay();
> {
bounds: { height: 1440, width: 2560, x: 0, y: 0 },
rotation: 0,
scaleFactor: 1,
size: { height: 1440, width: 2560 },
touchSupport: "unknown"
workArea: { height: 1440, width: 2560, x: 0, y: 0 }
workAreaSize: { height: 1440, width: 2560 }
}

Issue 2:
The Browser Window width and x coordinates are being calculated incorrectly in Windows 10 (Windows 8.1 did not have this problem). Here you can see that the getBounds() function is showing that my x value is 0 but the desktop background is showing through. I'm guessing this may have something to do with a subtle shadow that each window in Windows 10 is now casting.

Not sure how to fix this, but would be nice to resolve as I have some window state management code written to pin windows in the correct location, and now they are not properly being positioned.
Issue 1:
Summary of the new feature/enhancement

Nowadays mobile computers are very common as the primary work device, multiple monitor setups are also becoming more and more popular.

Unfortunately the switching from the one laptop screen to the 2 or 3 screans at work and than later to the other monitors at home is not a good user experience as one than every time has to re arrange all the windows in the proper order.

A tool that for every monitor configuration remembers where each window goes and upon switching screens moves and resizes the windows accordingly would be extremely useful.

Please add ;)

Issue 2:
Summary of the new feature/enhancement

I'm french and need to type french accented letters like é. One way to do that on my QWERTY keyboard is to switch the keyboard from English to International English where I can write accented characters. What I would like is to be able to create my own shortcuts (e.g: ctrl+shift+e => é). I can already have that with 3rd party app but as a previous macbook user I have been brainwashed to only use the official tools of the OS 🙂. Maybe PowerToys can help me accomplish this?

Proposed technical implementation details (optional)

Currently PowerToys handle shortcut with only 2 characters, like ctrl+a, or shift+a, not ctrl+shift+a.

To have unicode characters without changing keyboard, you need to type alt followed by a number. (e.g: alt+0233 => é). we call this the "alt codes".

I would like to be able to enter a shortcut with more than 2 characters in Powertoys, mapped to a sequence of more than 2 characters.

e.g: ctrl+shift+e mapped to alt+0233.
Issue 1:
Now that we have API versioning in place, we should generate our api/doc schemas from Go structs (and probably even from a Godoc 'Example' which has sample values). We should also look at how we can take the Godoc comments and stitch them into the formal doc.

Issue 2:
In the method Refresh, there is a line to parse the response from an OpenID provider. The current implementation expects an id_token. However in the Openid spec it states that id_token is not required on the response.
Issue 1:
Challenge http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

The instructions are also showing the source code of the instructions.

I think the image speaks for itself.

Issue 2:
I have a habit of using [CTRL D] when I want to duplicate a line. Deletes a line in your app. Your editor uses CodeMirror, so am I assuming correct you left it at the key defautls?

If so, where should the info/link go for students to find?
Issue 1:
I see the following error after choosing to restart VSCode after prompting to install the update.

The setup files are corrupted. Please obtain a new copy of the program.

Version 0.10.3

Commit 783ecf8

Date 2015-11-26T14:06:31.538Z

Shell 0.34.1

Renderer 45.0.2454.85

Node 4.1.1

I've attempted to uninstall and reinstall VSCode but that hasn't seemed to help at all. I still get the same attempted update behavior.

Issue 2:
hey guys. i am running on windows 10 pro v-1511 and code v-10.1 it's not updating automatically but it shows a pop-up, i click update now it closes the editor, i have tried to wait for 10 min it didn't work when i launched the code it was the same, what should i do ? maybe it is because my windows is not activated ? i clean installed and lost my key.
Issue 1:
See all comments here: #6544

Issue 2:
Note this issue is due to CR bug 1085215

It is impacting several other popular extensions as well- including React, Redux, Relay, and Vue devtools.

React version: 16.13.1

DevTools version: 4.7.0 (5/18/2020)

macOS version: 10.15.4 (19E287)

Steps To Reproduce

Create a new profile in Google Chrome

Install the React Developer Tools

Go to https://reactjs.org

Open the browser Dev Tools

Screenshots

Not sure this helps, but this is basically what I get after following the aforementioned steps:

When using Opera the tabs do show up:

The current behavior

Sometimes the Components and Profiler (i.e. React devtools tabs) don't show up.

The expected behavior

These tabs should show for any site using React.

More details

I've tried a few browsers, including:

Google Chrome (83.0.4103.61)

Microsoft Edge (83.0.478.37)

Opera (68.0.3618.125)

All of them should be working, since they're all Chromium based.

The most reliable was Opera, which always shows the dev tools tabs. Chrome and Edge behaved the same way, sometimes showing them and other times not.

I've also taken a look at the background pages of the React Dev Tools extension and they don't show any errors, only these performance metrics in the devtools_app.html page:

The main background page shows nothing in the console at all times.
Issue 1:
ISSUE TYPE

Bug Report

COMPONENT NAME

ansible-galaxy

ANSIBLE VERSION

master (2.2.0)

CONFIGURATION

OS / ENVIRONMENT

mac, Linux

SUMMARY

ansible-galaxy install -r requirements.yml fails.

STEPS TO REPRODUCE

ansible-galaxy install -r requirements.yml

EXPECTED RESULTS

It will install the roles in requirements.yml file.

ACTUAL RESULTS

(ansible) ~/P/c/ansible-role-django-app ❯❯❯ ~/miniconda2/envs/ansible/bin/ansible-galaxy install -r requirements.yml master
Usage: ansible-galaxy install [options] [-r FILE | role_name(s)[,version] | scm+role_repo_url[,version] | tar_file(s)]

Options:
-f, --force Force overwriting an existing role
-h, --help show this help message and exit
-c, --ignore-certs Ignore SSL certificate validation errors.
-i, --ignore-errors Ignore errors and continue with the next specified
role.
-n, --no-deps Don't download roles listed as dependencies
-r ROLE_FILE, --role-file=ROLE_FILE
A file containing a list of roles to be imported
-p ROLES_PATH, --roles-path=ROLES_PATH
The path to the directory containing your roles. The
default is the roles_path configured in your
ansible.cfg file (/etc/ansible/roles if not
configured)
-s API_SERVER, --server=API_SERVER
The API server destination
-v, --verbose verbose mode (-vvv for more, -vvvv to enable
connection debugging)
--version show program's version number and exit
ERROR! - please specify a user/role name, or a roles file, but not both

Issue 2:
The hardcoded "-k" flag to sudo breaks things like One-Time Password authentication, especially since only one password is ever asked for all hosts.
Issue 1:
What problem does this feature solve?

在我们的开发中往往父级节点会设置一些下面节点的样式，如果把下面的东西独立为.vue文件的时候你会发现我不得不再写一个class或者再写一些样式，这使得我们的开发效率受到一定的损失

What does the proposed API look like?

Issue 2:
Version

2.6.10

Reproduction link

https://codesandbox.io/s/vue-transition-group-bug-wnvwv

Steps to reproduce

Open codesandbox.

Click the "toggle transition" checkbox.

What is expected?

The enter transition should be animate smoothly.

What is actually happening?

In transition group with v-move class, the elements with immediate watchers that calls $set interrupts the enter transition causing it to "snap".

In the codesandbox repro, I provided workarounds to fix this problem.

I found this bug in this vuetify issue.

This happened on vuetify's 2.0.19 release where this code was added in to resolve issue #10115.

I'm not sure what is the direct cause as both the v-move class and the immediate watcher causes this issue.
Issue 1:
This is a minor issue. When trying to install some packages through Atom's packages > setting view > install packages/themes , a false error is given (screenshot below), and the package is not installed. But apm can find git and the packages install using the command line.

Atom version: 0.177.0

Mac OSX: 10.9.5

Here's my apm -v output:

> apm -v
apm 0.134.0
npm 2.3.0
node 0.10.35
python 2.7.5
git 2.3.0

Installing via apm install works perfectly fine:

> apm install linter
Installing linter to /Users/trangpham/.atom/packages ✓
> apm install merge-conflicts
Installing merge-conflicts to /Users/trangpham/.atom/packages ✓

And then restarting atom shows the installed packages.

Issue 2:
Halp ticket

support/cfbfba6cc0c111e39e5e518af1b028c3

Getting an error using the Package Installer:

Installing “atom-js2coffee@0.0.2” failed. Less…
js2coffee@0.2.7 preinstall /private/var/folders/b2/yvj3vcjx1_v4_rg_r202hdfh0000gn/T/apm-install-dir-114310-92870-1y7aip0/node_modules/atom-js2coffee/node_modules/js2coffee
npm run-script ./cyclic.js

npm http GET https://registry.npmjs.org/js2coffee
npm http 304 https://registry.npmjs.org/js2coffee
env: node: No such file or directory
npm ERR! js2coffee@0.2.7 preinstall: `npm run-script ./cyclic.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the js2coffee@0.2.7 preinstall script.
npm ERR! This is most likely a problem with the js2coffee package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run-script ./cyclic.js
npm ERR! You can get their info via:
npm ERR! npm owner ls js2coffee
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/Users/diego/.atom/.node-gyp/.atom/.apm/atom-js2coffee/0.0.2/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/b2/yvj3vcjx1_v4_rg_r202hdfh0000gn/T/apm-install-dir-114310-92870-1y7aip0
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/b2/yvj3vcjx1_v4_rg_r202hdfh0000gn/T/apm-install-dir-114310-92870-1y7aip0/npm-debug.log
npm ERR! not ok code 0

I'm getting the same error when I try installing the package from within Atom. However, installing from the command line works just fine:

$ apm install atom-js2coffee

Unsure what to think about this. 😕
Issue 1:
Feature Request

Is your feature request related to a problem? Please describe.

I've recently had an issue with 2 babel-plugins where the plugin would cause issues in dependencies.

Though there are PRs out to fix this issue in both, it may be better for a solution on the babel level for other places where such an issue could occur.

Reference:

PavelDymkov/babel-plugin-auto-import#4

vihanb/babel-plugin-wildcard#32

Describe the solution you'd like

I think it would be good for there to be an ignore option that could be applied on a given plugin.

IE:

module.exports = function(api) {
...
plugins: [
['auto-import', {
declarations: [
{ path: 'react', default: 'React', members: ['Component'] },
{ path: 'react-native', members: ['View', 'Text', 'StyleSheet', 'Platform'] },
],
ignore: 'node_modules',
}],
['wildcard', {ignore: 'node_modules'},
],
};
};

Of course, I'm open to other ways of doing this.

Describe alternatives you've considered

Other alternatives is to request PRs on any plugins that are problematic, but sometimes they take a while to get merged (at the time of posting, neither PRs of the two problematic plugins are merged).

I guess I could republish the plugins or just install them from my own repository, but that may not be the best solution either.

Teachability, Documentation, Adoption, Migration Strategy

Users would be able to use this quite easily. In terms of Docs, I think it could be mentioned as an option for plugins similar to the regular ignore option

Issue 2:
Hi there,

I searched for existing issues on this matter but couldn't find anything... I would like to know: would it be feasible to add core-js as a dependency of babel-runtime and just have babel-runtime re-export its code, instead of bundling it like it's currently done?

Right now I have a library that is compiled from ES6 using babel, and I'm using the runtime transform so that the polyfills don't get duplicated when using it along with other babel-compiled ES6 libraries.

So far so good, however an ES5 project that uses my library also uses core-js directly, and this is causing the core-js code to be duplicated during the final Browserify build step, increasing the build size.

I assume there might be a reason for bundling core-js, if so, is there another way I can work around this?

Thanks.
Issue 1:
Electron version: 1.8.4, 1.7.13

Operating system: Debian 9

CUPS: 2.2.1

Hey,

In my project I'm using printer Custom VKP80 in which 80mm thermal paper is used.

I'm running my electron application on Debian 9. The printer is added in cups and configured to use 80mm paper. Also the printer is marked as default printer.

According to application logic printing should be performed silently. So I'm using option {silent:true}. But with this option Electron (or Chromium inside Electron) does not use configured cups settings and prints only part of html document. Printed receipt looks like only left part of "virtual" A4 paper (like 80mm from left side of A4 is printed).

If set {silent:false} and NOT touch any settings in printing dialog and just press "Print" button then printed receipt looks like expected, i.e. cups settings are used.

Expected behavior

Electron uses printer settings during printing with option {silent:true}

Actual behavior

Electron does not use cups settings during printing with option {silent:true}

How to reproduce

Configure some non-standard printer in linux using cups.

Call someWindow.webContents.print({silent:true})

Issue 2:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Electron Version

13.1.9

What operating system are you using?

Windows

Operating System Version

windows 10

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

when silent is true if deviceName not empty is with deviceName settings for printing

options copies setting can take effect

Actual Behavior

printWindow.webContents.print({

silent: true,

printBackground: false,

deviceName: deviceName,

}, (success, errorType) => {

if (!success) {

console.log(errorType)

}

})

when silent is true deviceName is not Not effective

when silent is true copies is not effective too

Testcase Gist URL

No response

Additional Information

No response