WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Bug report

Describe the bug

Using next/link to visit a page inside a directory only changes the URL but doesn't load the page unless you reload the website.

.
├── index.jsx
└── test
└── index.jsx (broken)

To Reproduce

Create a page at ./pages/test/index.jsx with the following contents

export default () => <p>Test Page</p>

Create another page at ./pages/index.jsx with the following contents

import Link from 'next/link'

export default () => <Link href="/test">Go to Test</Link>

Visit /test in your browser

Notice that the page says Test Page

Visit /

Click Go to Test

Notice that the URL changed but the page didn't

Reload the website

Notice that the page is now /test again

Expected behavior

The user should be sent to where they want to go without having to reload the page.

Screenshots

System information

OS: macOS

Browser (if applies) Firefox Developer Edition 66.0b7

Version of Next.js: ^8.0.1

Issue 2:
Bug report

When you build next.js when the index page is located in /index/index.js instead of /index.js The client side script will not be executed when you access http://localhost/.

The built index page will register with /index (as shown below)

(window.__NEXT_P = window.__NEXT_P || []).push(["/index", function () {
var e = n("gDgk");
return {
page: e.default || e
}
}])

Moving the index.js to the pages root will restore the wanted behaviour.

It took a while for me to figure out what the actual issue is as it's working just fine in dev mode.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Check out https://github.com/adlk/nextjs-index-issue

Run npm install && npm run build && npm start

Check in DevTools if you have a log with Home: component did mount

System information

Version of Next.js: 8.0.0
Issue 1:
Expected Behavior

According to this README the Flaskr example application should run after doing following:

pip install --editable .

export FLASK_APP=flaskr.factory:create_app()

flask initdb

flask run

Actual Behavior

Flaskr fails running throwing a NoAppException.

NoAppException: The file/path provided (flaskr.factory) does not appear to exist. Please verify the path is correct. If app is not on PYTHONPATH, ensure the extension is .py

Environment

Python version: 2.7

Flask version: 0.12.2

Werkzeug version: 0.12.2

Issue 2:
Expected Behavior

The flaskr example code (in examples/flaskr) should work off-the-shelf. But I was able to reproduce the following issue by forking a clean copy of the repository and following the instructions in the README.md of the flaskr example. Namely, these are the commands I'm executing:

$ git clone https://github.com/alexander-jiang/flask.git
$ cd flask/examples/flaskr
$ virtualenv venv
$ venv\Scripts\activate
$ pip install -e .
$ set FLASK_APP=flaskr.factory:create_app()
$ flask initdb
$ flask run

Actual Behavior

The flask initdb command fails with a RuntimeError:

Traceback (most recent call last):
File "c:\users\xxxxxxxxx\appdata\local\programs\python\python36-32\Lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\xxxxxxxxx\appdata\local\programs\python\python36-32\Lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\xxxxxxxxx\flask\examples\flaskr\venv\Scripts\flask.exe\__main__.py", line 9, in <module>
File "c:\users\xxxxxxxxx\flask\examples\flaskr\venv\lib\site-packages\flask\cli.py", line 513, in main
cli.main(args=args, prog_name=name)
File "c:\users\xxxxxxxxx\flask\examples\flaskr\venv\lib\site-packages\flask\cli.py", line 380, in main
return AppGroup.main(self, *args, **kwargs)
File "c:\users\xxxxxxxxx\flask\examples\flaskr\venv\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\users\xxxxxxxxx\flask\examples\flaskr\venv\lib\site-packages\click\core.py", line 1061, in invoke
cmd_name, cmd, args = self.resolve_command(ctx, args)
File "c:\users\xxxxxxxxx\flask\examples\flaskr\venv\lib\site-packages\click\core.py", line 1100, in resolve_command
cmd = self.get_command(ctx, cmd_name)
File "c:\users\xxxxxxxxx\flask\examples\flaskr\venv\lib\site-packages\flask\cli.py", line 351, in get_command
rv = info.load_app().cli.get_command(ctx, name)
File "c:\users\xxxxxxxxx\flask\examples\flaskr\venv\lib\site-packages\flask\cli.py", line 237, in load_app
rv = locate_app(self.app_import_path)
File "c:\users\xxxxxxxxx\flask\examples\flaskr\venv\lib\site-packages\flask\cli.py", line 109, in locate_app
% module)
RuntimeError: Failed to find application in module "flaskr.factory"

Environment

OS: Windows 10 (64 bit)

Python version: 3.6.1

Flask version: 0.12.2

Werkzeug version: 0.12.2
Issue 1:
I use http://getbootstrap.com/customize/ to make small customizations to Bootstrap – setting @brand-primary, @font-family-sans-serif, that sort of thing. But when I download the customized .css, bootstrap-theme.css isn't included. Can this be changed? Can the Customize page produce a customized bootstrap-theme.css?

BTW, I have a workaround (download the source, tweak variables.less, recompile). But it'd be nice to be able to use the Customize page instead.

Issue 2:
Issue: IE9 do not animates accordion

My environment: Windows 7 64bit / Internet Explorer 9.0.8112.16421 64-bit edition

Steps to reproduce:

Visit URL: http://twitter.github.com/bootstrap/javascript.html#collapse

Click Collapsible Group Item #2, then Collapsible Group Item #1

Accortion is not animated

Animation works fine in Google Chrome and Firefox
Issue 1:
Bug report

What is the current behavior?

Note:The key and value file names in the document do not need to be the same

If the current behavior is a bug, please provide the steps to reproduce.

Please look at photo

What is the expected behavior?

Other relevant information:

webpack version: v4.42.1

Node.js version: v12.14.0

Operating System: Mac 10.14.6

Additional tools: VSCode

Issue 2:
Bug report

What is the current behavior?

webpack.config.config.js

const {CleanWebpackPlugin} = require('clean-webpack-plugin');
module.exports = {
mode: 'development',
entry: {
home: './home.js',
index: './index.js'
},
output: {
filename: "[name].bundle.js"
},
plugins: [
new CleanWebpackPlugin()
]
}

I cann't get 2 bundle as I expected.if I rename 'index' to 'home2'，it works.

If the current behavior is a bug, please provide the steps to reproduce.

my directory Structure is below:

├── home.js

├── index.js

├── package-lock.json

├── package.json

├── readme.md

└── webpack.config.js

files content:

index.js

console.log('index.js');

home.js

console.log('home.js');

just run 'webpack' in the root directory

What is the expected behavior?

get 2 bundle output, as below:

'home.bundle.js'

'index.bundle.js',

but I just get below one;

'main.bundle.js',

Other relevant information:

webpack version: 4.42.0("webpack-cli": "^4.0.0-beta.2")

Node.js version: v12.13.0

Operating System: macOs

Additional tools:
Issue 1:
Instructions say to add a div with class="well" inside the class="col-xs-6" elements

Specifications say to add divs with class="col-xs-6" elements

following instructions causes the specification to be met, even though the spec has not been met.

Issue 2:
Challenge http://www.freecodecamp.com/challenges/waypoint-create-bootstrap-wells has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Issue 1:
If We have a markup [v-if] > content and the content is dynamic, as long as the content changes and make the [v-if] hides->shows, the content in [v-if] will back to the previous [demo]. To find the actual problem, I check the source of vuejs and find that the [v-if] only snapshots the content when binding, and I also find that the implements for instance/compile (snapshot for _transCpnts) and compile in [v-if] (snapshot for children) will occur some problems (e.g., not fire the detach event) in some situations.

Issue 2:
What problem does this feature solve?

I have a definition list (<dl>) where lots of entries are link entries. Link entries have a <dt> with a caption and a button, then a <dd> with an <a> element. Our current code repeats a lot of common markup and attributes for those link entries. I'd like to factor them out into a component, so our definition list can have just the relevant parts, e.g.

<link-dt caption="New Issue" url="https://new-issue.vuejs.org/" />

The intuitive solution would be to make a component with <dt>…</dt><dd>…</dd> on the top level. (Current Vue would complain that there should be only one root element.)

The next best approach would be to wrap it in a <template>. (Current Vue would complain that the render function returned multiple elements.)

What does the proposed API look like?

app.html

<!-- … boilerplate here … -->
<dl>
<dt>Project:</dt><dd>Vue</dd>
<link-dt caption="Website:"
url="https://www.vuejs.org/" />
<dt>Suggested:</dt><dd>1970-01-01</dd>
<link-dt caption="Bug tracker:"
url="https://github.com/vuejs/vue/issues/" />
<link-dt caption="Feature Requests:"
url="https://new-issue.vuejs.org/?repo=vuejs/vue&type=feature-request" />
</dl>
<!-- … more stuff … -->

src/components/dt-url-caption-link/dt.js

module.exports = {
template: require('./dt.html'),
props: {
url: { type: String },
caption: { type: String },
},
};

src/components/dt-url-caption-link/dt.html

<dt>
<clipboard-copy-button :cliptext="url" class="pull-right" />
{{ caption }}:
</dt><dd>
<a :href="url" class="url-caption-link"
rel="noreferrer noopener nofollow"
>{{ url }}</a>
</dd>
Issue 1:
Having PowerToys Run search the web if it cannot find a file would be a brilliant way to quickly search the web.

It would also be good if:

The web search functionality could be toggled in the Settings app

You could change the search engine to anything you wanted, say (sorry Microsoft) using Google instead of Bing....

Issue 2:
Not really a PowerToys question, but more of a Github question, I guess.

I see a lot of questions coming in that have been asked for many times already, and possibly are being worked on already. Some of those subjects - like Shortcut Guide, Power Rename, known Run problems - have tracking issues. But when people are new to this, they have a hard time finding them. Partly because the trackers can be old and most of the new and duplicate issues get closed, therefore even more "invisible".

Can we have a few of those issues (or Pull Requests?) "sticky" to the top of the list of open issues? I'd think to make sure they have "TRACKER" and/or "FAQ" in the title. Then people will have a good chance to see that (for example) their specific suggestion for a Win key shortcut is something that is already being worked on. Could save us all a lot of time.
Issue 1:
I'm using a large dataset which takes up most of my memory. cross_val_score is basically unable to run on it (I get a MemoryError) since AFAICT data is duplicated for each fold (with list() here):

scikit-learn/sklearn/model_selection/_validation.py

Line 131
in
38f6a91

cv_iter = list(cv.split(X, y, groups))

Would it be possible to use views or otherwise avoid this duplication?

Issue 2:
Description

make html and make html-noplot fails on docs/

Steps/Code to Reproduce

cd docs

make html

Expected Results

Should build without errors

Actual Results

Sphinx version: 1.4.4

Python version: 2.7.6 (CPython)

Docutils version: 0.11 release

Jinja2 version: 2.7.2

Last messages:

Loaded extensions:

Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/sphinx/cmdline.py", line 243, in main

opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)

File "/usr/local/lib/python2.7/dist-packages/sphinx/application.py", line 204, in init

self._init_builder(self.buildername)

File "/usr/local/lib/python2.7/dist-packages/sphinx/application.py", line 280, in _init_builder

self.emit('builder-inited')

File "/usr/local/lib/python2.7/dist-packages/sphinx/application.py", line 552, in emit

results.append(callback(self, *args))

File "/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_gallery.py", line 119, in generate_gallery_rst

File "/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_rst.py", line 464, in generate_dir_rst

File "/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_rst.py", line 669, in generate_file_rst

File "/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_rst.py", line 441, in save_thumbnail

File "/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_rst.py", line 379, in scale_image

File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2410, in open

fp = builtins.open(filename, "rb")

IOError: [Errno 2] No such file or directory: '/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/_static/no_image.png'

Versions

Linux-3.19.0-42-generic-x86_64-with-Ubuntu-14.04-trusty

'Python', '2.7.6 (default, Oct 26 2016, 20:30:19) \n[GCC 4.8.4]'

'NumPy', '1.11.1'

'SciPy', '0.13.3'

'Scikit-Learn', '0.19.0'
Issue 1:
VSCode Version: 0.10.11

OS Version: Windows 7 x64

Steps to Reproduce:

Open Visual Studio Code (called window 1)

Open D:\Project

CTRL-SHIFT-N or File -> New Window (called window 2)

In the new window, Open D:\Project again

expected:

New Window, the window 2, will also have the folder D:\Project just like window 1.

Result:

Instead of opening the D:\Project in window 2, it give focus to window 1 and leave window 2 sitll open nothing.

Reason:

I am working with multi monitors, at least 2, and 1 monitor will most likely only able to hold 2 tabs at max so that i can compare code within the same project. I will need another window to put the other tab even though it's under the same folder, maybe it's not a problem i i have the same monitor resolution, but currently, i am using one laptop monitor (1366x768) and additional lcd monitor (1920x1080) which give problem if i try to display the editor under resolution (3286x ????) just to compare codes.

There is no option to let the editor tab float as independent window

Issue 2:
Currently VS Code prevents opening a folder more than once which makes it impossible to work on a project in multiple windows (e.g. on multiple displays).

@bpasero @dbaeumer @egamma @alexandrudima please raise any obstacles and issues you might foresee with this request.

Issues found so far:

we use the workspace path as identifier to communicate back from debug target to debug host

we need to verify cross platform that there is no code causing issues when running over the same root folder (e.g. file watchers)

Please note: Initially I've created this feature request for a specific use case: enable debugging of multiple processes.

In the meantime, debugging of multiple processes has become possible without the need for opening a folder more than once (see #13426). But instead of closing this item (as no longer necessary), I've repurposed it by removing the specific debug use case.

For transparency you can find the original comment below:

Currently it is not possible to debug more than one process from a single VS Code project (= window)

because VS Code prevents opening a folder more than once.

The workaround is to open VS code on a subfolder within the original folder, which means to restructure the project (which is not desirable).

This feature request asks for lifting the constraint and allowing to open a project folder multiple times.
Issue 1:
Id: 4f3e6055-db00-b505-57ef-2fbd3cb89778
Versions
- 0.10.1-release
Stack
[/vs/workbench/parts/debug/node/rawDebugSession.ts#L68:28 (RawDebugSession.send)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/src/vs/workbench/parts/debug/node/rawDebugSession.ts#L68:28 %28RawDebugSession.send%29)
[vs/workbench/vs/base/common/winjs.base.raw.js#L1470:0 (onError)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/srcvs/workbench/vs/base/common/winjs.base.raw.js#L1470:0 %28onError%29)
[vs/workbench/vs/base/common/winjs.base.raw.js#L1176:0 (_notify)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/srcvs/workbench/vs/base/common/winjs.base.raw.js#L1176:0 %28_notify%29)
[vs/workbench/vs/base/common/winjs.base.raw.js#L1343:0 (enter)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/srcvs/workbench/vs/base/common/winjs.base.raw.js#L1343:0 %28enter%29)
[vs/workbench/vs/base/common/winjs.base.raw.js#L1316:0 (_run)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/srcvs/workbench/vs/base/common/winjs.base.raw.js#L1316:0 %28_run%29)
[/vs/workbench/parts/debug/node/v8Protocol.ts#L61:5 (V8Protocol.send)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/src/vs/workbench/parts/debug/node/v8Protocol.ts#L61:5 %28V8Protocol.send%29)
[/vs/workbench/parts/debug/node/v8Protocol.ts#L127:4 (V8Protocol.dispatch)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/src/vs/workbench/parts/debug/node/v8Protocol.ts#L127:4 %28V8Protocol.dispatch%29)
[/vs/workbench/parts/debug/node/v8Protocol.ts#L96:11 (V8Protocol.handleData)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/src/vs/workbench/parts/debug/node/v8Protocol.ts#L96:11 %28V8Protocol.handleData%29)
[/vs/workbench/parts/debug/node/v8Protocol.ts#L51:8 (V8Protocol.connect)](https://github.com/microsoft/vscode/blob/df352367df2efcfa9d602d471e4e2f42140a0f05/src/vs/workbench/parts/debug/node/v8Protocol.ts#L51:8 %28V8Protocol.connect%29)
at Socket. (out/vs/workbench/workbench.main.js:1593:24200)
at emitOne (events.js:77:13)

Issue 2:
Inspecting large data structures results in slowness (unresponsiveness) issues in node >= 3.x.

The problem is the node debugger protocol which does not provide a way to access arrays or dicts in chunks. Always the full thing travels over the wire. A particular nasty issue is that local variables are included in the stack frame object even if nobody requested them. A consequence is that stepping through code with large arrays, Buffers, or dicts in local variables results in slowness and timeouts.

Up to node 0.12.x we did some code injection into the debugger to work around these issues and they were quite effective. If possible, just try to use node 0.12.9 and you will notice the difference.

For node 4.x and 5.x we haven't figured out how to do the same trick, but we are working on it.
Issue 1:
Make sure these boxes are checked before submitting your issue - thank you!

I have checked the superset logs for python stacktraces and included it here as text if any

I have reproduced the issue with at least the latest released version of superset

[ X] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.25.5

Expected results

I need to set a default value in a filterbox which will then filter non-immune slices on the dashboard the filterbox is added to. I know there is an option to set a filter in a filterbox and then save the dashboard which will retain the filtering when selected. This option does not work when the filter choices in the filterbox may differ for each user. There is no property in the filterbox slice builder to set a default value. I have thought of adding to Dashboard.jsx a new property in formData which may then be leveraged in utils.py when the query is created similar to what extra_filters does now; however, I have not found a means to enforce the use of this "default_filter" only for the first time the dashboard is selected. As for as a default value, I would just use the first value in the list of filter choices. I was able to set a default value in a filterbox by changing the value property in the OnPasteSelect in filter_box.jsx; the issue here is that it does not propagate to the other slices on the dashboard making it ineffective.

Is there a way of knowing when a dashboard is initially selected by a user?

Can setting a default value in the filterbox be added as a new property which is perhaps picked up by extra_filters?

Any thoughts or ideas would be appreciated.

Referred the below issues but did not find a solution.

#3071

#3183

#3618

#665

Actual results

No property option currently available.

Steps to reproduce

Not currently supported to my knowledge.

Issue 2:
There are two bugs related to renaming a chart from the Edit Chart Properties modal.

Expected results

Changing chart title from "Edit Chart Properties" should

Update chart title on Explore page when saving

Keep chart in any dashboard it was added to and update the chart title accordingly

Actual results

It does not update the chart title on the Explore page

It unexpectedly removes the chart from dashboards with this chart

How to reproduce the bug

Add Chart to a Dashboard

Click on "Explore chart"

Click on "Edit Chart Properties"

Change the chart name and save

Unexpected behavior 1: the chart title does not change

Unexpected behavior 2: on the dashboard page, the chart could not be found

Environment

superset version: GitHub master @ 513bf10

python version: python --version

node.js version: node -v

npm version: npm -v

Checklist

I have checked the superset logs for python stacktraces and included it here as text if there are any.

I have reproduced the issue with at least the latest released version of superset.

I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Renaming chart from the "Save" button on the top-left of Explore page does not have these unexpected behaviors.
Issue 1:
Challenge Use a CSS Class to Style an Element has an issue.

User Agent is: Mozilla/5.0 (Linux; Android 4.2.2; e-tab4 Build/JER09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.91 Safari/537.36.

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

My code:

<style>
.red-text {
color: red;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

Issue 2:
Challenge Use a CSS Class to Style an Element has an issue.

User Agent is: Mozilla/5.0 (Linux; Android 4.4.2; SM-T231 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.105 Safari/537.36.

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

My code:

<style>
.red-text {
color: red;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>