WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Feature request

Include information about all chunk groups in stats. Currently stats.toJson provides details about named chunk groups, but there is no way (as far as I can tell) to know what the other chunk groups are.

What is the expected behavior?

Stats contains enough information to know all the chunk groups that exist (named and otherwise) and which chunks are in each).

What is motivation or use case for adding/changing the behavior?

This would be helpful information for bundle analysis, for understanding things like duplicated code and how bundles change between builds.

How should this be implemented in your opinion?

This could be implemented with a new top-level chunkGroups property on the stats object, containing all the data about the chunk groups.

Alternately, a simple solution that would meet my needs would be for each chunk to list the chunk groups it is a part of (e.g. by the chunk group ids).

Are you willing to work on this yourself?

Yes, given some guidance towards the preferred solution.

Issue 2:
Feature request

What is the expected behavior?

Want to add different-different lines at top of different output files of webpack build

What is motivation or use case for adding/changing the behavior?

Adding some lines(lines will be file specific) at top of specific files which needs to be there at starting of .js file for my application to work

How should this be implemented in your opinion?

Are you willing to work on this yourself?

yes

BannerPlugin works in same manner but it doesn't allow adding specific lines at specific file.

//Let's assume entry files are a.js , b.js and

I want to append require(test1.js) at the top of a.js and require(test2.js) at the top of b.js

then we have to check if(["file"]== test1.js)) which will always return false (considering ["file"] is a placeholder) so I can't append separate texts in 2 different files.

I also tried with switch(using count flag for entry files considering first entry file will be built first) but during webpack--watch it fails because then webpack only builds the file having changes
Issue 1:
Using pandas 0.17.1 with matplotlib 1.5:

import pandas as pd
import matplotlib.pyplot as plt
plt.style.use('ggplot')

data = pd.DataFrame({'1': [1, 2, 3], '2': [3, 5, 1]})

data.plot(kind='bar')
plt.savefig('test.png', dpi=300)

Results in

Which uses the colors of matplotlibs default style, not of ggplot.

Using matplotlib 1.4.3 the correct colors are used:

Issue 2:
Hi there,

I'm not sure if this is a pandas/matplotlib or seaborn issue...but since I upgraded to Matplotlib 1.5 using anaconda I can't get the colors of my barplots right anymore, here's an example:

In ipython notebook:

import pandas as pd

%matplotlib inline

import seaborn as sns
sns.set_style('whitegrid')

# Works, color as expected in nice muted blue
pd.DataFrame([1,2,3,4,5,6]).plot(linewidth=10)

# Doesn't work, getting matplotlib "eye-cancer-blue"
pd.DataFrame([1,2,3,4,5,6]).plot(kind='bar')

I attached a screenshot one with matplotlib 1.4.x and one with 1.5:

Again I know this might well not be a pandas issue but maybe someone has an idea where the problem might be.
Issue 1:
Using Symfony 2.8.2 or 3.0.2.

You can reproduce the problem with this simple statement:

$builder->add('participation', ChoiceType::class, array(
'choices' => [ 'yes' => true, 'no' => false ],
'placeholder' => 'Select a value',
'empty_data' => null,
'choices_as_values' => true,
));

Expected result:

<select name="filter[participation]" id="filter_participation">
<option value="">Select a value</option>
<option value="1">Yes</option>
<option selected="selected" value="0">No</option>
</select>

Actual result:

<select name="filter[participation]" id="filter_participation">
<option value="1">Yes</option>
<option selected="selected" value="">No</option>
</select>

Dump of choiceList:

As you can see, the placeholder is not rendered. If I add a new empty value in 'choices', I got an empty value in the view plus the placeholder value.

Issue 2:
After upgrading from 2.7.7 to 2.7.8 I noticed that some choice fields didn't display the empty value.

Example code:

->add('buyback', 'choice', [
'choices' => [
'Yes' => true,
'No' => false,
],
'choices_as_values' => true,
'required' => false,
]);

Before:

After:

So far I've found out that the false value is converted to empty string in this line v2.7.7...v2.7.8#diff-780e59a429c485d2d3b8a37fdf62ac59R79.

I think that the false value is displayed instead of empty value because of that.

This bug was introduced in #16705.
Issue 1:
Problem description

Dialog's repositionOnUpdate works wrong when height changes in one step (e.g. from 600px to 900px).

Link to minimal working code that reproduces the issue

You can see the problem in documentation (http://www.material-ui.com/#/components/dialog). Use developer tools to see problem (you need to doc it to the bottom of the screen).

Open scrollable dialog (example number 5)

Open / close developer tools

You will see that dialog's bottom part is not available now (see video: http://take.ms/Yre18)

Versions

Material-UI: latest

React: any

Browser: any (tested in chrome, firefox and safari)

Issue 2:
Hi there,

I use material-ui v0.13.4 and react v0.14.2

Padding on Dialog container is calculating incorrectly if you have multiple monitors. I have 1366x768 laptop display and one external 1920x1080px display.

On laptop display it is working well but on external not. Lets say that I have opened Google chrome browser with multiple tabs, where one of them is page with dialog. If I remove that tab from window (it makes separate window) the padding is calculated wrong.

Here is example:

import Component from 'react-pure-render/component';
import React from 'react';
import Dialog from 'material-ui/lib/dialog';

export default class SummaryModal extends Component {

render() {
let standardActions = [
{ text: 'Close' },
];

return (

<Dialog
title="Summary"
actions={standardActions}
autoDetectWindowHeight={true}
autoScrollBodyContent={true}
open={true}
onRequestClose={null}>
<div style={{height: '1000px'}}>
aaa
</div>
</Dialog>
);
}
};

Laptop:

External:

If I reload browser window on external display, then it is calculated right.
Issue 1:
Environment

Windows build number: Microsoft Windows [Version 10.0.17763.678]
PowerToys version: latest

Steps to reproduce

Open the zone editor on a multi-monitor system. Note that i have both landscape and portrait monitors on the same system.

Expected behavior

The zone editor will create overlays over the multiple monitors to allow you to create zones.

Actual behavior

The editor overlay is locked to the primary active monitor, cannot be dragged to other monitors, and doesn't allow rule creation for anything but that active monitor.

Issue 2:
Summary of the new feature/enhancement

Currently the new FZ editor only comes up and applies zone layouts to the primary monitor. In order to get a layout on a different monitor, the original custom editor is needed. Bret and Jeff have a design for this change and now they need to implement it.

Proposed technical implementation details (optional)

Note that when this is done the original editor should be removed as well as the setting to toggle between editors.
Issue 1:
The jQuery course has a problem in printing all the parts of the pages. And in Firefox an infinite loop keep executing and showing the notification box of challenge complition.

Issue 2:
Challenge Store Data in MongoDB has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.

Please describe how to reproduce this issue, and include links to screenshots if possible.

If you follow the tutorial directly, in the step called "Connect" it will ask you to start a server using the command "mongod --port 27017 --dbpath=./data". Doing that will get you this error: http://i.imgur.com/cGy0iRP.png saying there isn't enough disk space avaiable. For this operation to work, you must attach "--smallfiles" to the mongod command.
Issue 1:
Bug report

Describe the bug

The <Link> component doesn't appear to pass on the href prop when wrapping a custom component instead of the native <a>.

To Reproduce

Here's a CodeSandbox: https://codesandbox.io/s/nextjs-qtynp

I made sure to use React.forwardRef.

Expected behavior

Both of the links should have their href props populated.

System information

OS: macOS

Version of Next.js: 9.1.2

Version of React: 16.11.0

Additional context

It sounds unlikely that this is broken, since I assume this is one of the most commonly used codepaths. But I keep trying everything and nothing seems to work, so I figured I'd open this.

Issue 2:
Issue 1:
To reproduce, open http://twitter.github.com/bootstrap/javascript.html#typeahead with Chrome and Mac OS X.

Half of the time for me (with Chrome 19.0.1084.56 on Mac OS X Lion), clicking does not select the option, but rather, close the list and leave the already typed letters without completing the letters.

I believe the issue is related to #3521 and #3504 but provides more details; I hope we'll be able to pinpoint the issue this time.

Note that I could never reproduce the bug on Safari (5.1.3) nor on Firefox (12.0)

Issue 2:
Steps to reproduce:

Open http://twitter.github.com/bootstrap/javascript.html#typeahead

Type the letter a in the input

Move mouse over the first item

Click and hold, don't release mouse button or move pointer
Issue 1:
Environment

Windows build number: 10.0.18956.1000
Windows Terminal version (if applicable): 0.3.2171.0

Any other software? No other software relevant I believe

Steps to reproduce

Configure a custom tabTitle for cmd or PowerShell shells in the profiles.json file, e.g.:

[...]
"tabTitle" : "Windows PowerShell",
[...]

Open a cmd or PowerShell tab, verify the customized tabTitle is appearing.

Try to set a custom title programmatically from within the shell, e.g. in PowerShell:

$Host.UI.RawUI.WindowTitle = 'Custom Title :)'
# OR
[Console]::Title = 'Custom Title 2 :)'

or in command prompt:

TITLE Custom Title :)

Expected behavior

We should be able to programmatically overwrite the customized tabTitle set in the profiles.json file - programmatically setting the tab title DOES work when no custom tabTitle is specified in profiles.json.

I believe the order of precedence should be, from lowest to highest:

Default title / executable path

Gets overwritten by tabTitle property in profiles.json

Gets overwritten by scripts or programs setting their own titles

Actual behavior

When a customized tabTitle is specified, it cannot be overwriten or changed from within the shell.

Issue 2:
Description of the new feature/enhancement

Available to download outside of Microsoft Store

Proposed technical implementation details (optional)

Company policy blocked access to Microsoft Store and therefore there is no way to download it.

An alternative way to download the windows terminal
Issue 1:
Describe the issue:

According to the documentation I should be able to create a complex number with numpy.cdouble(real=1.0, imag=2.0) but this returns

TypeError: function takes at most 1 argument (2 given)

Same applies to complex_ and complex128, since they are all the same as far as I understand.

Not sure if this is a bug in the code or an outdated section in the documentation.

I tested this with Numpy 1.22.3 compiled from source and with Numpy 1.22.4 installed from PyPi, both on Windows 10.

Reproduce the code example:

import numpy
numpy.cdouble(real=1.0, imag=2.0)

Error message:

TypeError: function takes at most 1 argument (2 given)

NumPy/Python version information:

1.22.3 3.8.12 (default, May 19 2022, 11:54:29) [MSC v.1929 64 bit (AMD64)]

Issue 2:
Describe the issue:

The resulting order of np.argsort appears to be incorrect and does not match with the order returned by x[argsort_idx].

Specifically, when sorting in descending order, the highlighted number should be in position 11, not 9.

Strangely enough, this results in the correct ordering of the values:

Not entirely sure what can be going on here. Thanks!

Reproduce the code example:

import numpy as np

x = np.array([ 26.929932 , 17.864126 , 5.439558 , -0.10773016,
-9.52839 , -7.620389 , -11.919527 , -15.451256 ,
-16.36096 , -18.313873 , -19.791018 , -18.288052 ,
-21.068373 , -24.030613 , -23.9124 , -25.630302 ,
-29.34889 , -29.329416 , -29.221819 , -26.609049 ,
-29.375376 , -28.213442 , -28.636854 , -28.140215 ,
-27.100985 ])

# Returns incorrect order of indices
list(zip(x, np.argsort(-1*x)))

# Returns correct order of list
x[np.argsort(-1*x)]

Error message:

No response

NumPy/Python version information:

numpy 1.18.1

python 3.7.10
Issue 1:
My python flask :

@app.route('/insert/item', methods=['POST'])
def insert_item():

return ""

In html I try to post a request to /insert/item :

fetch('/insert/item', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({"item":"ABCD"}),
})

My flask only response to the fetch the first time.

It wont response afterward.

I have to add request_json = request.get_json() in the flask app to solve the issue

Issue 2:
With the following example:

from flask import Flask

app = Flask(__name__)

@app.route('/', methods=['POST'])
def hello_world():
return 'Hello World!'

if __name__ == '__main__':
app.run()

When you set the request body to {} with Postman or any HTTP clients, the first request will return 200, while the second request will return a 405 error response. The log shows the request method is {}POST:

"{}POST / HTTP/1.1" 405

Notice the request body became the part of the request method.
Issue 1:
Issue Type:

Bug Report

Ansible Version:

Ansible >= 1.8.0

Environment:

N/A

Summary:

Ever since 313f26f, if a variable is set in group_vars and overridden via --extra-vars, the value from group_vars ends up being used when the variable is referenced in role variables.

Steps To Reproduce:

group_vars/all:

some_var: val1

roles/test-role/vars/main.yml:

derived_var: "{{ some_var }}"

roles/test-role/tasks/main.yml:

---
- action: debug var=derived_var

main.yml:

---
- hosts: all
roles: [test-role]

Then call ansible-playbook -e some_var=val2 main.yml.

Expected Results:

ok: [localhost] => {
"var": {
"derived_var": "val2"
}
}

Actual Results:

ok: [localhost] => {
"var": {
"derived_var": "val1"
}
}

Issue 2:
If I set a variable in a role which refers to another variable, then override the second variable with --extra-vars the original variable is unchanged.

Here's an example:

cat <<'EOF' > playbook

---
- hosts: 127.0.0.1
connection: local
gather_facts: false
roles:
- x

EOF

mkdir -p roles/x/{vars,tasks}

cat <<'EOF' > roles/x/vars/main.yml

---
var: 1
var2: "This is {{var}}"
EOF

cat <<'EOF' > roles/x/tasks/main.yml

---
- debug: var=var
- debug: var=var2
EOF

ansible-playbook playbook -e var=2

Expected output:

PLAY [127.0.0.1] **************************************************************

TASK: [x | debug var=var] *****************************************************
ok: [127.0.0.1] => {
"var": "2"
}

TASK: [x | debug var=var2] ****************************************************
ok: [127.0.0.1] => {
"var2": "This is 2"
}

PLAY RECAP ********************************************************************
127.0.0.1 : ok=2 changed=0 unreachable=0 failed=0

Actual output:

PLAY [127.0.0.1] **************************************************************

TASK: [x | debug var=var] *****************************************************
ok: [127.0.0.1] => {
"var": "2"
}

TASK: [x | debug var=var2] ****************************************************
ok: [127.0.0.1] => {
"var2": "This is 1"
}

PLAY RECAP ********************************************************************
127.0.0.1 : ok=2 changed=0 unreachable=0 failed=0

I am running ansible 1.8.2 from EPEL (ansible-1.8.2-3.el6.noarch).
Issue 1:
Hi. I want to set a proxy for all of the connections of my app. how can I do this?

actually, I want to set proxy for firebase.

Issue 2:
Steps to Reproduce

Open the example project flutter_gallery

Change the timer duration that mimics a latency interval for the indicator to be shown to 10 seconds<like the below:

Future _handleRefresh() {

final Completer completer = new Completer();

new Timer(const Duration(seconds: 10), () { completer.complete(null); });

Run the app

Go to Pull to Refresh example, pull the list to refresh, see the indicator is a blue dot and stops working.

See the screenshot attached
Issue 1:
Hi y'all

I'm using Next.js V3.0.3 and I'm having problem on IE11 with the following error;

Object doesn't support property or method 'assign'
TypError: Object doesn't support property or method 'assign'

Steps to Reproduce (for bugs)

Create a next.js app

use {...oneObject, ...secondObject} in your code

build

run

Context

It's working on Chrome desktop/mobile and it's working on Safari desktop/mobile. It's working on Microsoft Edge but not IE11.

Your Environment

Tech
Version

next
3.0.3

node
8.1.0

npm
5.0.3

OS
macOS 0.12.6

browser
Internet Explorer 11

Is there any solution to this problem or a hotfix?

Thanks for your help.

Issue 2:
Getting large error (printing all of CSS used in <style jsx global>) in web console.

Warning: Text content did not match. Server: "
...(css)...

I think this is causing FOUC, so there is a flash of unstyled content followed by a second later the actual styles.

This is coming from a library being used in a next project (from #3088).

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

Expected Behavior

Styles should be applied from server directly.

There should be no FOUC

There should be no error in web console

Current Behavior

To elaborate a little more, when rendering a next app in the library itself (so some page in that repo), the styles render fine. View-source shows source maps and minified CSS in the HTML markup.

However, when using that same code as a compiled project loaded into a separate next app, the markup in view-source shows unminified CSS and no source maps (and we get the web console error and fouc).

Steps to Reproduce (for bugs)

See #3088 for setup.

I am manually compiling some files in repo-b using babel <folder> --out-dir ... etc., and then importing that and also importing babel-polyfill if that matters.

Context

This is just unexpected behavior making the app not look right (ux).

Your Environment

Tech
Version

next
4beta2

node
8.4
Issue 1:
Version

2.5.17

Reproduction link

https://jsfiddle.net/jcatfour/g6ykuwhe/

Steps to reproduce

Try to change the dropdown value. The text displayed in the select box will almost always stay as "Today", despite the value changing, though it SOMETIMES will actually change to the correct value. Again, as you can see, the actual value is indeed changing even if the select box does not show it.

What is expected?

The options in the select are based on an array of value pairs, (text, val). The text is what should be shown in the select, and the val is what should be actually passed and stored in the data object. I expect the text to change as well as the value when selecting an option.

What is actually happening?

The value changes every time, but the text mostly stays unchanged, BUT the text does very rarely change as expected.

If this were CONSISTENTLY showing the wrong text with the right value, I would assume that I am just doing something wrong, but since it's infrequent, I'm now not so sure. I would not be surprised if I was doing something wrong. I am going insane, please be my savior.

Issue 2:
Version

2.5.16

Reproduction link

https://jsfiddle.net/azpxdt3a/1/

Steps to reproduce

Try select any item except first one.

What is expected?

Item selected.

What is actually happening?

always shows first item. Once any item except first is selected, it's no more possible to select first one (actually, it's possible, as shows correct selected item after the same item was selected twice in a row)

It seems the bug was introduced in ver 2.4.2. Does not reproduced with objects instead of dates: https://jsfiddle.net/pr847ek7/
Issue 1:
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Y

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Centos 7

TensorFlow installed from (source or binary): Binary

TensorFlow version (use command below): v1.8.0-3463-g39ea5a7044 1.10.0-dev20180620

Python version: Python 3.6.5

Bazel version (if compiling from source):

GCC/Compiler version (if compiling from source):

CUDA/cuDNN version: Cuda 9.0

GPU model and memory: NA

Exact command to reproduce:

from __future__ import absolute_import, division, print_function
import tensorflow as tf

transfer = lambda x: tf.where(x < 0, 1./(1.-x), tf.log(x+1))

def f(x):
xt = tf.placeholder(tf.float32, shape=(1,))
yt = transfer(xt)
dydx = tf.gradients(ys=yt, xs=xt)[0]
with tf.Session() as sess:
rval = sess.run([xt, yt, dydx], feed_dict={xt:[x]})
return rval

print(f(1.)) # [1, 2, nan]
print(f(-1.)) # [-1, 0.5, nan]
print(f(0.)) # [0, 0, 1] (no nan here, interestingly)

Problem

Gradients computed through the tf.where command erroneously returns nans. Presumably this is because the gradient computation computes the gradient through both conditions, which may result in a division by zero or log of zero.

Issue 2:
When running tensorboard on Mac OS X currently, you have to specify the absolute directory to the logs path in order to get it to run.

tensorboard --logdir /Users/myusername/Code/tensor-play/tf-play/linear_regression/logs/events

It should accept relative paths (like most unix commands) for convenience.

tensorboard --logdir logs/events
Issue 1:
It looks like the compatibility mode is broken in 1.25.2 https://deno.land/manual@v1.25.2/node/compatibility_mode

> deno run --unstable --compat --allow-read --allow-env ./test.f.cjs
PS C:\github.com\functionalscript\functionalscript> deno run --unstable --compat --allow-read --allow-env ./test.f.cjs
error: Found argument '--compat' which wasn't expected, or isn't valid in this context

If you tried to supply `--compat` as a value rather than a flag, use `-- --compat`

USAGE:
deno run --unstable <SCRIPT_ARG>...

For more information try --help

Example: https://github.com/functionalscript/functionalscript/runs/8286749568?check_suite_focus=true

Issue 2:
Deno.test({ name: "a", ignore: undefined, fn() {}}) works in Deno 1.32.4 and breaks in Deno 1.32.5

/m/a/P/g/d/x ❯❯❯ deno test test.ts
Check file:///mnt/artemis/Projects/github.com/denoland/x/test.ts
Uncaught error from ./test.ts FAILED

ERRORS

./test.ts (uncaught error)
error: TypeError: Error parsing args at position 0: missing field `ignore`
Deno.test({ name: "a", ignore: undefined, fn() {}})
^
at Object.test (ext:cli/40_testing.js:675:30)
at file:///mnt/artemis/Projects/github.com/denoland/x/test.ts:1:6
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.

FAILURES

./test.ts (uncaught error)

FAILED | 0 passed | 1 failed (11ms)

error: Test failed

I suspect #18563
Issue 1:
VSCode Version:

Version 0.10.10

Commit 5b5f4db

Date 2016-03-07T10:30:20.458Z

Shell 0.35.6

Renderer 45.0.2454.85

Node 4.1.1

OS Version:

Ubuntu Linux

Steps to Reproduce:

make new dir; code .; create new foo.js file

add code:

if (!varName)

In themes other than the default, the "var" within "varName" is incorrectly syntax highlighted.

Issue 2:
VSCode Version: 0.10.11

OS Version: Windows 10 1511

Steps to Reproduce:

In a typescript file, have

let varName = "";
varName = "a";

The issue is that the 'var' substring in varName is highlighted the way the var construct would ordinarily be.
Issue 1:
Why is hidden-xs on a span adding display-block.

Issue 2:
related to issues #8500 , #7808 , #4929 ; using .hidden-sm to hide span within .nav > li > a . Because class is display: block above -sm then text wraps to new line. Would you consider .hidden-* classes to be display: inline-block instead ?

Here's a jsfiddle of the two cases - but the repercussions could be greater outside of this situation so probably needs more consideration... http://jsfiddle.net/jholl/P86yf/