WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
📝 Provide a description of the new feature

Switchting to running apps with powertoys run.

When e.g. Edge is running and Windows Explorer has the focus typing "edge" into Powertoys Run should open the active instance / window of Edge instead of opening a new one. This would help improving productivity with Powertoys Run.

Adding an option for this behaviour would be nice.

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

Issue 2:
Summary of the new feature/enhancement

Manual in app update button

Proposed technical implementation details

if i check this button, the github release page shown.

I think immediate update is better

Now powertoys can update automatically, but there is no method to update manually without notification check
Issue 1:
I'm seeing really weird GC behaviour when using the net/http package.

If I call a function that creates a bunch of garbage slices inside a ServeMux.HandleFunc
the issue rears its head. If I then also don't close the req.Body, the issue gets way
worse.

If I call the same function on its own, no memory is leaked. If I call the same function
in a goroutine and wait for it to finish, no memory is leaked either.

It seems like I'm doing something weird with net/http, or there's a bug lurking here.
I'm reporting this as I'm out of ideas.

go version:
go version devel +58f8a30f5b78 Tue Apr 16 14:20:06 2013 -0700 linux/amd64

uname -a:
Linux me 3.3.8-1.fc16.x86_64 #1 SMP Mon Jun 4 20:49:02 UTC 2012 x86_64 x86_64 x86_64
GNU/Linux

Code to reproduce is here:
http://play.golang.org/p/ALlr3_MzSX

$ GOGCTRACE=1 go run ram_issue.go | grep gc

Issue 2:
What steps will reproduce the problem?
1. ~/bug.go contains any program compiling successfully (e.g.
http://play.golang.org/p/RQT4BfIN7h)
2. go install ~/bug.go

Reading the documentation of "go install" I expect it to fail because ~/bug.go
is not an import path.

Instead this error message is logged: "go install: no install location for .go
files listed on command line (GOBIN not set)"

In any case there's a documentation in the bug, since there's no mention $GOBIN.

Once the expected behavior clarified I'm happy to try to fix it.
Issue 1:
VS Code froze and I lost all my changes.

Issue 2:
Windows 10 is half baked one IE and now this editor.

I was surprised with the built in extensions, but I'm feeling terrible after experiencing this issue.

I was working with this editor, and suddenly my system became very slow and I'm forced to shut down my system. After the restart my current working file (see the attachment), got changed in to some other encoding. I lost my 3 hours of work :(.

Bala

global.txt
Issue 1:
I'm unable to export default modules/namespaces like this:

export default namespace Utils { // throws error TS1005: ';' expected
...

Not sure if its related to #3792, but that isn't actually my issue...

Since I can't export default the namespace directly, I would like to convention that default exports should be placed in a separate statement and always put in the first lines of the file:

export default Utils

import * as Foo from "foo"
// ...
import {Bar, Baz} from "bar"

let fooIt = Foo.Factory.SpecialFoo.Create
// ...

namespace Utils {
// ...
}

IMO it would improve readability and make it easier to understand how to consume that file/module.

Despite the fact that the compiler seems to understand that I'm exporting the Utils namespace, the transpiled code does not associate the export statement and my internal module, causing the default export to be undefined at run time.

Would be nice to get export default transpiled to the of the file or declare the module container earlier, so I can export it wherever I want.

If #3792 gets fixed I can just convention that the default module should always come first, and keep my default export always on sight. So this is issue is more like a suggestion I suppose...

Typescript Version 1.9.0-dev.20160220

Issue 2:
Hi,

If I have the following typescript code:

var obj = {
someKey: 6
};

// For some reason I want to change the object
obj = {
someKey: 7
};

export {obj};

it compiles to:

var obj = {
someKey: 6
};
exports.obj = obj;
obj = {
someKey: 7
};

So if I importing the object I get:

import {obj} from './some-file';
console.log(obj.someKey === 6); // true

But I was expecting 7. I.e. I was expecting the following JS code:

var obj = {
someKey: 6
};
obj = {
someKey: 7
};
exports.obj = obj;

Is this a bug or expected behavior?

I am using version 1.6.0-dev.20150731 but it has the same behavior in 1.5.3.
Issue 1:
*I'm submitting a ... *

[x] bug report

What is the current behavior?

When an upgraded ng1 component gets disposed the $scope created by the upgradeadapter never gets destroyed.

see https://plnkr.co/edit/pxxtGYBHTnzVzfbrhRhb?p=preview

When the button is clicked, the *ngIf disposes the upgraded ng1Comp component, and I would expect it to write "ng1-comp destroyed" to the console, but the $destroy event on the $scope is never called.

Angular version: 2.0.0-beta.9

Issue 2:
Repro: http://plnkr.co/edit/s0FLVw1fIbG2mat954hu?p=preview

OnInit is called, but OnDestroy is not called when angular1 destroys an angular2 component via ng-if
Issue 1:
PowerToys version: 1.8.1

PowerLauncher is using close to 800MB of RAM and cpu usage is always 1-4%.

Issue 2:
NOTE: the application preview (Teams, Meet, etc.) may show the overlay image flipped horizontally but that is expected, the image will show correctly to the other people on the call.

Known issues in 0.48

In order to enable/disable the VCM, PowerToys should run as administrator

In some cases, the overlay image can be shown flipped vertically (the workaround is to edit the image and flip it before selecting it).

With some webcams, there is an incompatibility with Teams and the overlay image is not rendered, instead a corrupted frame is shown.

Status toolbar:

it uses .png instead of .svg images (causing to be fixed size and too small on high DPI screen)

Camera overlay image:

Browse button doesn't work when settings application is launched as admin
Issue 1:
What problem does this feature solve?

?.语法已经成为ES2020标准，希望模版编译引擎尽快支持

What does the proposed API look like?

v-if="data?.sub?.id"

Issue 2:
Version

2.5.16

Reproduction link

https://jsfiddle.net/eywraw8t/193744/

Steps to reproduce

Create some data A and computed props B and C

Let C depend on B, and B depend on A. Set it up so the value of B should change less often than A

Then modify A

What is expected?

The value of C should only be re-computed when the value of B changes, independent of how often A is changing.

What is actually happening?

The value of C is re-computed whenever A changes. This results in many extra re-computations.

The docs say:

A computed property will only re-evaluate when some of its dependencies have changed.

In this case, I thought there was a bug in my code because certain threshold-based computed properties were triggering re-computes far more often than expected, and some of these re-computes were fairly expensive.

Perhaps is expected behavior? However it was surprising to me, and negates a lot of the potential for cache-based optimization when leveraging computed props.

Compare to this implementation that uses watchers and extra data, but works as expected:

https://jsfiddle.net/eywraw8t/193746/

Here, C is only recomputed when B changes - not whenever A changes.
Issue 1:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.356]
Windows Terminal version (if applicable): 0.5.2661.0

Steps to reproduce

run Windows Terminal

Expected behavior

Windows Terminal should work normally and get input.

Actual behavior

Windows Terminal goes blank and not show the terminal or get any input.

Issue 2:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.356]
Windows Terminal version (if applicable): Windows Terminal Preview v0.4.2382.0

Any other software?
wsl 1 , ubuntu disco, neovim 0.3.8

Steps to reproduce

Change cursor to 'vintage' for default Ubuntu profile

$ vim -> :q after

cursor is no longer vintage, now it's filledBox

Expected behavior

My cursor to return to vintage

Actual behavior

My cursor does not return to vintage but instead keeps the cursor from vim / neovim
Issue 1:
Glide Version: 4.2

Integration libraries:OkHttp3

Device/Android Version:all

Issue details / Repro steps / Use case background:

image display: http://chuantu.biz/t6/110/1508830598x3708062762.png

Glide load line / GlideModule (if any) / list Adapter code (if any):

GlideApp.with(this)
.load(url)
.transforms(new FitCenter(),new RoundedCorners(10))
.into(iv);

Issue 2:
With this layout:

<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="@dimen/media_bubble_height"
android:layout_height="@dimen/media_bubble_height"
android:layout_marginBottom="5dp"
android:layout_gravity="center"
android:scaleType="centerCrop"
android:adjustViewBounds="true">

<ImageView android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:clickable="false"
android:longClickable="false"
android:scaleType="fitCenter"/>

</FrameLayout>

Loading a gif into the ImageView:

GlideApp.with(getContext())
.load(model)
.diskCacheStrategy(DiskCacheStrategy.NONE)
.transform(new RoundedCorners(radius))
.transition(withCrossFade())
.into(image);

Consistently produces these glitches in Glide 4.2.0:

Happens for every gif I try, here's a sample:

https://media.giphy.com/media/xUNd9W5Wbh8cRmdFBe/giphy.gif

In Glide 3.7 I used a custom RoundedCorners transformation (I don't think one came with Glide?) and this wasn't an issue.

Glide Version: 4.2.0
Issue 1:
Babel encounters an error when I put a decorator on a class method with computed key:

let foo = () => {
}

class Custom {
@foo
['foo' + 'bar'](e) {
}
}

// repl: Unexpected token (6:23)

I think it should be OK when decorators are used on computed property keys, the key argument in decorator factory should be the computed value

Issue 2:
Hi.

I am getting an unexpected token error when trying to decorate a symbol keyed method.

class B {
@bound
[Symbol()] () { }
}
Issue 1:
Output of node_modules/.bin/electron --version: 2.0.8

Operating System (Platform and Version): Windows 10 Pro(not tested in other platform)

Output of node_modules/.bin/electron --version on last known working Electron version (if applicable):

Expected behavior

there is no strange display when displaying modals with bootbox

Actual behavior

there is a strange display when displaying modals with bootbox

How to reproduce

$ git clone https://github.com/dhanyn10/multiple-file-manager

$ npm install
$ npm start || electron .

make a some duplicated file, just need around 20 file, you can copy and paste an empty documents in a same folder

open this application

browse to folder you've created that filled with duplicated file

test with some features like a delete or other.

press apply button

on the modals that appear, try to scoll and hover over the list of your file

Screenshots

Issue 2:
Output of node_modules/.bin/electron --version: 3.0.0-beta.8

Operating System (Platform and Version): Windows 7 and Windows 10

Output of node_modules/.bin/electron --version on last known working Electron version (if applicable): 2.0.8

Expected Behavior

browser windows work correctly

Actual behavior

The browser windows start to flicker and the explorer.exe might not work correctly anymore (things do not respond anymore, like the taskbar)

To Reproduce

clone https://github.com/t57ser/electron-webview-focus-issue (repo from another issue but works for this showcase as well)

add "3.0.0-beta.8" as electron version in package.json

replace the init function in main.js with this code:

browserWindow = new BrowserWindow({
width: 800,
height: 600,
x: 200,
y: 200
});
browserWindow.loadFile("index.html");
browserWindow.on("closed", () => {
browserWindow = null
});
browserWindow2 = new BrowserWindow({
width: 800,
height: 600,
x: 100,
y: 100
});
browserWindow2.loadFile("index.html");
browserWindow2.on("closed", () => {
browserWindow2 = null
});

Additional Information

If you remove one of the loadFile functions it will start to work, so it appears to only cause problems if browser windows load files at the same time. Also note that setting a timeout (around one of the loadFile functions) does not necessarily help, what I experienced:

timeout of 0 (bug occurs)

timeout of 1 (bug occurs)

timeout of 10 (it works)

but this might be random depending on the machine this is tested on
Issue 1:
ISSUE TYPE

Bug Report

COMPONENT NAME

win_reboot

ANSIBLE VERSION

2.4

CONFIGURATION

default

OS / ENVIRONMENT

any

SUMMARY

If you run win_reboot and the host comes back within a very short period of time, the win_reboot action plugin will hang while waiting for the port to go offline before checking it is online. This has happened a few times with a brand new Windows install on vagrant with VirtualBox.

STEPS TO REPRODUCE

A bit hard to reproduce, I can do it on my end with my current image but install Windows with the latest ISO and the reboot time should be too quick for win_reboot to handle

EXPECTED RESULTS

win reboot to finish and continue along

ACTUAL RESULTS

win_reboot eventually times out and the playbook is stopped.

Issue 2:
ISSUE TYPE

Bug Report

COMPONENT NAME

win_reboot module

ANSIBLE VERSION

ansible 2.2.0.0

CONFIGURATION

no special configs needed except username/password for winrm

OS / ENVIRONMENT

Windows Server 2012R2 Datacenter

SUMMARY

win_reboot never successfully continue after machine is rebooted, thus blocking playbook execution.

The machine in question has in fact been rebooted and is available for connections.

STEPS TO REPRODUCE

- name: Reboot for changes to take effect
win_reboot: reboot_timeout_sec=3600
connect_timeout_sec=3600
shutdown_timeout_sec=3600

With verbosity cranked up this is the output:

TASK [risklink-common : Reboot for changes to take effect] *********************
task path: /Users/kbooth/rms/rms-ansible/roles/risklink-common/tasks/main.yml:71
<10.92.4.10> ESTABLISH WINRM CONNECTION FOR USER: ***** on PORT 5986 TO 10.92.4.10
<10.92.4.10> EXEC shutdown /r /t 2

EXPECTED RESULTS

Expect that ansible will detect machine is back online after reboot and continue executing plays

ACTUAL RESULTS

Actual results are that ansible waits forever until timeout values are reached.

TASK [risklink-common : Reboot for changes to take effect] *********************
task path: /Users/kbooth/rms/rms-ansible/roles/risklink-common/tasks/main.yml:71
<10.92.4.10> ESTABLISH WINRM CONNECTION FOR USER: techops on PORT 5986 TO 10.92.4.10
<10.92.4.10> EXEC shutdown /r /t 2
Issue 1:
See http://is.gd/0FO78Z

Code:

pub type TypeWithLifetime<'a> = Box<Fn() -> () + 'a>;

static static_closure : TypeWithLifetime<'static> = Box::new(|| {
panic!()
});

fn main() {}

Error:

6:3 error: function calls in statics are limited to struct and enum constructors [E0015]
<anon>:4 static static_closure : TypeWithLifetime<'static> = Box::new(|| {
<anon>:5 panic!()
<anon>:6 });
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace

Issue 2:
Our sort_by method takes a closure to do the comparison. This closure can fail arbitrarily, and the sort routine is implemented unsafely. These two things usually mean that failure will leave the world in an inconsistent state.

Add a test that fails in the middle of sorting some heap objects and make sure it doesn't crash or leak.

Here's the questionable line: https://github.com/mozilla/rust/blob/master/src/libstd/slice.rs#L539
Issue 1:
I am using requests 0.13.1, this code produces the specified exception:

>>> import requests
>>> s = requests.session()
>>> s.get("http:///www.google.com")
>>> s.cookies.items()
[('NID', '61=WDudE-2jKmX8WQjZbiH0QUi__G_kGOVDbs5XCTQO634x51d99mHYi-VptWUURDSJco_IwTTJLAM-Dp_LurBU-WWyz_3xy0BTsMHBJ5Sf6wZrgGwvyDDupLLcA86ypDUt'), ('PREF', 'ID=a7055cc9168cd7d3:FF=0:TM=1341167514:LM=1341167514:S=vbL-Ih__itkxmGxQ'), ('NID', '61=gLhy_qaWV5hZ9VcKxzUXfeJt1yRYmkVzPDVmtbYJshr01gWXNtDSwmHDaRByaNTYWJDzP_z_FjzPhy5EsZ6k74uaZDjX0sUNzgecF7si6Z-50GaemVbN3eNa22Z86T7s'), ('PREF', 'ID=b06021225aa97775:FF=0:TM=1341167515:LM=1341167515:S=wdaMCYeYlNZ-3tnS')]

There are two cookies with name NID? It seems like when server update old cookies, session did not update it but insert new one.

Issue 2:
python 2.7.11

requests installed from pip and up-to-date

URL -> 'http://archive.mid.ru/bdomp/zu_r.nsf/strawebeng!OpenView'

GET request hangs at read time.

I tried to use stream=True and then read from response.raw and it works. But doesn't finish on normal usage.

I looked at the headers and the Content-Length is duplicated.

When I try to read it from response.headers['Content-Length'] I find a single string: '133172, 133172'.

The length is correct otherwise.

I am not entirely sure of what's causing this but my guess is that requests is getting confused by the duplicate header.

thanks for everything
Issue 1:
VSCode Version:

OS Version:1.1

Steps to Reproduce:

Is it wrong to be here?

Can you add an item to the top that you can manage to open the file?

If you can increase the settings will be left column can be hidden away?

Vscode is a good editor, but I have a habit of being forced to correct it.

I like some of ui.'s sublime

Hope vscode can also have these UI

Issue 2:
Is there a way to write a theme who also change color for UI components - Ej. affect sidebar and view bar.

Or this should be written separatelly like atom ui themes and syntax theme ?
Issue 1:
My domain is the following: a parent doc has some child docs with some string field. I want to calculate a frequency of parents having particular field in the child doc. When this particular field doesn't have duplicates amond same parent - results of query below are OK. But when some parent has multiple children with same value of the field, calculation sums this duplicates and gives wrong results. When I perform equal search query it gives me right count of parent docs.

curl -XPUT 127.0.0.1:9200/test_index -d '
{
"mappings": {
"test_parent": {
"properties": {
"test_filter_field": {
"type": "string"
}
}
},
"test_child": {
"_parent": {
"type": "test_parent"
},
"properties": {
"test_non_nested_field": {
"type": "string"
},
"test_nested_field": {
"type": "nested",
"properties": {
"nested_filter_field": {
"type": "string"
},
"nested_term_field": {
"type": "string"
}
}
}
}
}
}
}'

curl -XPUT 127.0.0.1:9200/test_index/test_parent/parent1 -d '
{
"test_filter_field" : "1"
}'

curl -XPUT 127.0.0.1:9200/test_index/test_child/child4?parent=parent1 -d '
{
"test_non_nested_field": "non_nested_term_field11"
}'

curl -XPUT 127.0.0.1:9200/test_index/test_child/child5?parent=parent1 -d '
{
"test_non_nested_field": "non_nested_term_field11"
}'

curl -XPOST 127.0.0.1:9200/test_index/test_parent/_search?pretty=true -d '
{
"aggs": {
"top": {
"filter": {
"term": {
"test_filter_field": "1"
}
},
"aggs": {
"children.nested.filter": {
"children": {
"type": "test_child"
},
"aggs": {
"field": {
"terms": {
"field": "test_child.test_non_nested_field"
}
}
}
}
}
}
}
}
'

It gives me

"aggregations" : {
"top" : {
"doc_count" : 1,
"children.nested.filter" : {
"doc_count" : 2,
"field" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 0,
"buckets" : [ {
"key" : "non_nested_term_field11",
"doc_count" : 2 <------ I expect it here to give me 1
} ]
}
}
}
}

Here is equal search query, which gives correct result

curl -XPOST 127.0.0.1:9200/test_index/test_parent/_search?pretty=true -d '
{
"query": {
"has_child": {
"query": {
"multi_match": {
"query": "non_nested_term_field11",
"fields": [
"test_non_nested_field"
]
}
},
"type": "test_child"
}
}
}

response

{

"hits" : {
"total" : 1, <--- obviously correct
"max_score" : 1.0,
"hits" : [
{
"_index" : "test_index",
"_type" : "test_parent",
"_id" : "parent1",
"_score" : 1.0,
"_source": {
"test_filter_field" : "1"
}
}
]
}
}

Issue 2:
Hi, we're using the Java client API as an embedded node.

final Settings settings = Settings.settingsBuilder()
.put("plugin.types", DeleteByQueryPlugin.class.getName())
.loadFromPath(findConfigFile())
.build();
this.node = nodeBuilder().settings(settings).node();
this.node.start();
this.client = node.client();

We notice that the plugin is never registered. Is there a way to register the plugin?
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

A way to add custom classes to the Hidden "div" tag.

Current Behavior

Unable to add custom classes to the generated div.

Context

Trying to add an Hidden in a Toolbar.

Your Environment

Tech
Version

Material-UI
beta-31

React
latest

browser
chrome

Issue 2:
[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Specifying a tabindex of -1 should make it so that the control does not receive focus when using the tab key.

Current Behavior

TextField and Select still receive focus when a tabindex of -1 is specified. I haven't tested other controls but they may also be affected.

Steps to Reproduce (for bugs)

See here: https://codesandbox.io/s/l24mx1240q

Click on the compiled window.

Press the tab key

Both the TextField and Select receive focus.
Issue 1:
Issue

Some of the docs provided on https://material-ui.com/ are not as useful until the version documented matches the npm version available

I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Documentation version and npm version should match

Current Behavior

Documentation version and npm version do not match

Context

Trying to use Tabs and the behavior does not match

1.0.0-beta.32

Your Environment

Tech
Version

Material-UI
1.0.0-beta.32

React
16.2

browser
63.0.3239.132

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

I want more color contrast when using the dark theme

Current Behavior

Bad color contrast when using the Chip component with the dark theme

Steps to Reproduce (for bugs)

You may see this on example

You may see how different color contrasts are in light and dark themes

Context

I want that visualization of my dark application is good

Your Environment

Tech
Version

Material-UI
1.0.0-beta.21

React
16.1.1

browser
Chrome 62.0.3202.94

os
Windows 10
Issue 1:
help?> module
ERROR: syntax: incomplete: premature end of input

help?> end
ERROR: syntax: extra token "end" after end of expression

help?> let
ERROR: syntax: incomplete: premature end of input

help?> fo<tab><tab>
foldl foldr for

help?> for
ERROR: syntax: incomplete: premature end of input

Issue 2:
a=rand(3,5)
b=(a,a)
b[1]===b[2] => true
c=deepcopy(b)
c[1]===c[2] => false

To fix this issue, on line 59 of deepcopy.jl we can replace:

return copy(x)

with

return (stackdict[x]=copy(x))
Issue 1:
Capability to use a default import on an assert module does not work. import assert from "assert"; results in error TS1192: Module '"assert"' has no default export.. A workaround is to use import * as assert from 'assert';, but the default import should work nevertheless.

I tried fixing this myself in #5970, but to no avail.

Issue 2:
I started trying to use VSCode with ES6 and I'm running into this. Changing the declaration to import * as path from 'path' for example works for intellisense, but then babel's transpiled output is invalid. Is there a plan to switch to the current syntax? If not, could anyone point me to some instructions on how to modify the d.ts files to work in this case?