WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Challenge Name

Issue Description

Going to the following URL: https://github.com/FreeCodeCamp/FreeCodeCamp/wiki

This web page has a link called "template" for the Wiki template page. Clicking on this link (https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Algorithm-Wiki-Template) redirects to the original main wiki page.

It should be displaying the wiki template page

Browser Information

Browser Name, Version: Latest Chrome

Operating System: OS X

Mobile, Desktop, or Tablet: Desktop

Your Code

Screenshot

Issue 2:
I noticed that a couple of links are breaking in FreeCodeCamp wiki.

Camperbot https://freecodecamp.github.io/wiki/en/CamperBot

Template https://freecodecamp.github.io/wiki/en/Algorithm-Wiki-Template
Issue 1:
Description

Modify the batch indexing task ID generation logic from

<index_type_name>_<datasource>_timestamp to

<index_type_name>_<datasource>_<random_id>

This would impact native index tasks as well as hadoop index tasks.

Motivation

With the existing task naming convention, if there are multiple indexing tasks submitted at the same time for a datasource, only one of the tasks gets accepted and the remaining tasks fail with Task[xxx] already exists. I'd like to modify the naming convention to the one mentioned above, so that this issue can be avoided.

@jihoonson Any comments regarding this?

Issue 2:
HadoopDruidIndexer should load up the runtime.properties like all of the other processes and be able to fill stuff into the configuration based on the values it finds (stuff like the pusher). This would help consolidate the various different ways of specifying configuration.
Issue 1:
Version

2.4.1

Reproduction link

https://github.com/tiagofelipe/vue-store-bug

Steps to reproduce

In src/app/auth/services/auth.js i need to import the store "import store from '../../../store'", but an error occurred:

Uncaught TypeError: Cannot read property 'state' of undefined

Turns out I wasted a lot of time trying to understand the problem, and then I realized that one of the vuex modules was not being loaded, called auth.

After several tests, I discovered that, inside my import file of the store modules "src/app/store.js" the following problem occurred:

import {store as auth} from './auth' - always returns the error even though I changing the address to './auth/index.js'

Then I duplicated the file './auth/index.js' with a new name './auth/teste.js', keeping the code identical in both files, and changed the import to:

import {store as auth} from './auth/teste' - this made it work

Without understanding why this happens, I decided to report the problem.

If I remove the import store from file 'src/app/auth/services/auth.js', the application returns to normal operation, vuex also works normally and can even load the auth module.

What is expected?

Load vuex modules and application work

What is actually happening?

Uncaught TypeError: Cannot read property 'state' of undefined

Issue 2:
What problem does this feature solve?

因为dom隐藏下，其宽度或者高度为0，但是偏偏有些组件需要用到这个高度宽度，比如自定义的滚动条，轮播等等。

这类的组件一般都有自己的refresh的方法。

为开发过程中为了追求更快的渲染速度使用的是v-show的方案，虽然可以通过v-show对应data的watch去监听 但是这就要组件对外暴露对应的refresh方法，而不能从组件内部的show钩子去实现刷新，这似乎并不怎么优雅。

综上，我希望可以增加show或者hide钩子函数，或者有其他替代方案也是可以的

What does the proposed API look like?

如同钩子函数一样，或者类似的插件也是可以的
Issue 1:
Bug report

Describe the bug

next build fails with following error after upgrade to Next 9.

{ Error: Module did not self-register.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:857:18)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Module.require (internal/modules/cjs/loader.js:723:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object.<anonymous> (/home/vista1nik/Documents/nextjs-project/node_modules/grpc/src/grpc_extension.js:32:13)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12) type: 'Error', '$error': '$error' }

Error happens after compilation.

Last Build trigger before error is:

https://github.com/zeit/next.js/blob/5a54e8715a7a7a92175addc19f4ec9f8f7bbd2e7/packages/next/build/index.ts#L342

To Reproduce

https://github.com/jpbow/module-register-build-issue

Expected behavior

next build success

System information

OS: Arch Linux

Version of Next.js: 9.0.0

Additional context

Tried yarn install --forceand Clean depends install.

next . dev-command work properly.

Issue 2:
Following instructions on with-apollo example on master (v2.4.6) fails to build.

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

Expected Behavior

Should build and run.

Current Behavior

Failed to build on /var/folders/g0/40w25pdx4r166gr3dr2dszr80000gn/T/73a90ccb-e790-431e-bab9-5ffba7560413

{ Error: ./components/App.js

Module not found: Error: Can't resolve 'next/node_modules/styled-jsx/style.js' in '/Lair/with-apollo/components'

resolve 'next/node_modules/styled-jsx/style.js' in '/Lair/with-apollo/components'

Parsed request is a module

using description file: /Lair/with-apollo/package.json (relative path: ./components)

Field 'browser' doesn't contain a valid alias configuration

after using description file: /Lair/with-apollo/package.json (relative path: ./components)

resolve as module

Steps to Reproduce (for bugs)

Follow instructions to download with-apollo example

next build

observe build error

Context

Your Environment

Next.js version: v2.6.4

Environment name and version (e.g. Chrome 39, Node.js 5.4): node 7.2

Operating System (Linux, maxOS, Windows): osx
Issue 1:
Installed latest Atom from RPM package on Fedora 21 running in a VirtualBox VM on Windows 8.1, opened a project with default settings and cannot select any text by clicking and dragging with the mouse.

Issue 2:
There is a known issue with Chrome41 engine running on Linux in VirtualBox. It actually became a show-stopper for Chrome42. TL;DR: in VB Chrome41 engine always runs in touch-screen mode, even on desktops.

Hotfix in Chrome41 is to pass --touch-devices=123 to the chrome command line.

Is it possible to pass parameters to Atom’s command line so that chrome engine will understand them?
Issue 1:
The following snippet is valid ES6, but does not compile due to the undeclared property thing. Since TypeScript is aiming to be a superset of ES6, how will this situation be approached?

class Thing {
constructor() {
this.thing = 12;
}
}

Issue 2:
I would like to implement compilation of ts files to generate source map + js files inside Eclipse by using tsc. I have 2 means to do that:

observe changes (with Eclipse IResource API) of typescript files and call tsc with the given file

call tsc --watch for my Eclipse project

I would prefer to do the 2) becausetsc --watch if I have understood stores in memory the other compiled ts files, so I think performance will be better with 2). My main problem is about refresh generated files:

when there is an error,tsc --watch displays in the console errors for files. So it's easy to catch those logs and display errors in Eclipse Problem View.

but when there are none errors, tsc --watch doesn't display in the console the generated files in order I refresh it inside Workspace Eclipse. I would like to avoid refreshing the full project directory as soon as tsc --watch done a job. If tsc --watch could log generated files, it will help me a lot.

Many thanks for your suggestion!
Issue 1:
I have two projects and each of them has https://github.com/borisyankov/DefinitelyTyped/blob/master/requirejs/require.d.ts file included. While compiling them with TS 1.4 I got 55 errors of "Duplicate identifier '[member_name]'".

How I can eliminate this issue or at least switch it to a warning? Hope it is not by design.

Issue 2:
I am new to TypeScript, so I may be going about this entirely wrong, but I've got a scenario where implicit referencing is causing problems.

In my project (Visual Studio 2013 Update 3), I have several Web pages. Each one has one reference to a script that contains general functionality for all pages and one reference to a script that contains specific functionality for the page in question. The general script calls several functions in the specific script, which requires that each of the specific scripts have certain function names in common. The fact that the scripts all implicitly reference each other is causing duplicate identifier errors on build.

Here's a simplified example:

Global.ts:

window.onload = function () {
getData();
}

Page1.ts:

function getData() {
//Get data relevant to Page1
}

Page2.ts:

function getData() {
//Get data relevant to Page2
}

Obviously, I could change this to have one getData() function and pass a parameter indicating whether to get data for Page1 or Page2, but this is a very simplified example, and doing this for the entire project would be somewhat messy and harder to maintain. Is there a different way to approach this scenario or does anyone have a suggestion for "circumventing" the implicit referencing in TypeScript?
Issue 1:
System information (version)

OpenCV => 4.1.0

Operating System / Platform => Windows 64 bit

Detailed description

import cv2
cap = cv2.VideoCapture(0)
while True:
ret, frame = cap.read()
#print(ret)
print(frame)

It prints the 3 channel array values as zero.

I want to take the array values real time and process them into my function.

I know that ret is True and that my camera is reading the values because when I print frame.sum(), it gives me the sum of array values but for some reason I can't see it in an array form and hence my function reads the frame as a set of 0's.

Any help about how I can read the array values would be very useful.

Thanks!

Steps to reproduce

Issue 2:
System information (version)

OpenCV => 3.4.x

Operating System / Platform => Ubuntu 16.04

Compiler => gcc 5.4.0

Detailed description

With OpenVINO 2019R1:

/opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/lib/intel64/libinference_engine.so: undefined reference to `tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)'
collect2: error: ld returned 1 exit status
modules/dnn/CMakeFiles/opencv_perf_dnn.dir/build.make:208: recipe for target 'bin/opencv_perf_dnn' failed
make[2]: *** [bin/opencv_perf_dnn] Error 1
CMakeFiles/Makefile2:2452: recipe for target 'modules/dnn/CMakeFiles/opencv_perf_dnn.dir/all' failed
make[1]: *** [modules/dnn/CMakeFiles/opencv_perf_dnn.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

$ ldd /opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/lib/intel64/libinference_engine.so

linux-vdso.so.1 => (0x00007ffc4c170000)
libtbb.so.2 => /opt/intel/opencl/libtbb.so.2 (0x00007f5757ab0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5757893000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f575768f000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f575730d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5757004000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5756dee000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5756a24000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f575681c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5758398000)

TBB from OpenCL is used instead of /opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/external/tbb/lib/libtbb.so.2

Steps to reproduce
Issue 1:
VSCode Version: 0.10.12-alpha

OS Version: Windows10

Steps to Reproduce:

Create Asp .net core empty project in visual studio.

Add some directories under wwwroot folder for client code like JS.

Add new item to manage client lib and add bower.json file.

Add some client side lib in to bower.json under dependency section.

Add index.html under view folder and add basic html code like below and save changes.

<title>Hello world</title>

6. Now launch VSCode and Open project folder.
7. Open index.html and try to add script section inside body.

<script type="text/javascript" src="JS/wwwroot/lib/angular/angular.js"></script>

Actual: Not getting any intellisense for

path for scr like :

Value for type like: "text/javascript"

closing script tag i.e. </script>

Expected: It should display values same like visual studio intellisense.

Issue 2:
add path choose window for img src、link href、script src、background-img src
Issue 1:
Figure out how to set the normalize whitespace option and get rid of all the inline things.

Issue 2:
In recent versions of nose, the options NORMALIZE_WHITESPACE and ELLIPSIS can be set globally. That would be awesome.

This is only available in nose 1.2, though. As removing the flags inline would break them on older versions, I'm not sure we can ever make the switch :-/

Should we try to monkey-patch?
Issue 1:
I've made an electron application to execute a flash application using the pepflashplaye plugin several platforms.

I have followed the doc https://electronjs.org/docs/tutorial/using-pepper-flash-plugin

It works fine on Windows, Mac but when i execute it on linux, the electron window is

launched and a message appear "cannot load plug-in" . Nothing is displayed in devTool console. (Notice the the plugin works fine with chrome browser), not warnings, no errors ..

Is there a way to know the reason electron cannot load the plugin ?

Can i activate some verbose logs or other messages to understand what happens ?

Is it a known problem or bug ?

I've displayed my ppapi-flash-path before opening the window and it's the good one ..

pluginName = '/libpepflashplayer.so';

pluginPath = path.join(__dirname, pluginName)

console.log ("pp = " + pluginPath)

app.commandLine.appendSwitch('ppapi-flash-path', pluginPath)

node version is : v10.16

electron version is : V6.0.10

chromium : v76

Linux CentOS 7

lipepflashplayer.so version : Pepper Flash 32.0.0.255

Issue 2:
Electron Version: 3.0.0-beta.2

I'm not sure where to report electron webpage issues so am creating this here.

Go to https://electronjs.org/releases#3.0.0-beta.2

Note the "Linux" section:

Linux

Fixed a Linux thing. #123

#123 appears to be a Windows issue that was opened 4+ years ago. Also, this entry does not appear in the Github release info, so I strongly suspect this is just a placeholder that should have been removed.
Issue 1:
I've been trying to dynamically check and uncheck the Table Header checkbox through another component, and have been unable to do so.

While exploring this issue further I found that in the TableHeader component setting selectAllSelected to true doesn't seem to be passed on. I've added dummy props to my table header just to verify I was looking at the right information, and console.logged the props in willMount and render. The selectAllSelected seems to default to false.

Issue 2:
The current Next.js example is quite daunting with several files and concepts thrown in. I will apologize in advance because the following may seem like a bit of a rant, but I really want to improve these examples.

Things I found confusing

The whole example looks more like someone's personal boilerplate for their production app rather than an example for people to learn the API and get productive quickly.

Here are some of the things that are confusing to me:

What does getContext.js do and why is it in a /styles folder?

What does "context" mean in this instance?

withRoot.js is a bit confusing, why is there mutation here? Is it only for the sake of adding a displayName?

let AppWrapper = props => props.children;
AppWrapper = withStyles(styles)(AppWrapper);

Is it possible to use Material-UI without using so many HOCs? What about a render-prop pattern instead? There's a lot of in-direction here that I suspect may not be completely required.

JSS confusion

On top of that, there's the JSS barrier to entry:

Why is JSS necessary for this example? I can guess that it has something to do with server-side rendering, but it's not made clear how it's working. There are many moving parts here.

jss, react-jss, jss-preset-default are all dependencies mentioned in the code but do not exist inside package.json.

You have to learn about sheetsManager, sheetsRegistry, and a lot of other jargon that many React devs may not be immediately familiar with.

Having to learn how to work with three new dependencies in addition to your UI library is not exactly the easiest way to get started if all I want is a simple colored button.

Concepts unrelated to Material-UI

There are also random things thrown in that are not directly related to Material-UI, here are a couple examples:

custom meta tag with the hint: "Use minimum-scale=1 to enable GPU rasterization"

PWA stuff (manifest.json + setting the PWA color for icons)

Conclusion

I know it's probably a little too late to change the API for the 1.0 release, but we can do our best to make it easier for people to learn. I mean, all I honestly wanted to do was to use Next.js with Material-UI and have a custom color. It shouldn't require learning all of the things above.

There are a few things we can do:

Separate the example into several separate examples show-casing each individual feature.

Thoroughly document and explain the example in a separate README or blog post.

Simplify the API so that usage is also likewise simplified.

Offer higher level abstractions/helper functions (they might be less powerful, but they will be easier for users to get started)
Issue 1:
When doing functional testing using the test client (Symfony\Bundle\FrameworkBundle\Client) and disabling kernel reboots between requests using $client->disableReboot(), upon the 2nd request I'm running into this:

symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php

Line 134
in
7617492

throw new \LogicException('Cannot set session ID after the session has started.');

I don't have a test case right now, but you should be able to reproduce this easily.

Issue 2:
Hi there,

the exception is thrown by this line:

https://github.com/symfony/symfony/blob/2.5/src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php#L134

My setup works completely fine within a valid PHP environment (without TestSessionListener) - data getting stored in the session before the TestSessionListener::onKernelRequest has been executed (using MockFileSessionStorage).

What's the intention of this exception? I can't get my head around it. The TestSessionListener is explicitly doing this (setId) and if there is another object accessing the session before the TestSessionListener sets the id, an id is automatically generated. The listener is not correctly mimicking the session creation of PHP and this exception makes it (for some parts) unusable.

If there is no actual use on this exception, it may be removed, no?
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

I expected to have my .json file returned.

Current Behavior

Instead, I was asked for 'module' or 'render' objects.

Steps to Reproduce (for bugs)

Create a JSON file to import

use dynamic(require) to import the file

voila

Context

I'd like to use the dynamic import in a page-loading situation whereby my .md/json is loaded in on the prop-injection. Better than working with fetch as the export function is respected by next and the require baked-in.

Issue 2:
Example build fails.

TypeError: (0 , _styles.createStyleSheet) is not a function
at Object.<anonymous> (/xxx/xxxx/xxx/xxx/with-material-ui-next/.next/dist/components/withRoot.js:47:47)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/xxx/xxx/xxx/xxx/with-material-ui-next/.next/dist/pages/index.js:43:17)
at Module._compile (module.js:573:30)

When running npm install and npm run dev, app compiles successfully then immediately fails when I land on local host with the above error.

[ X] I have searched the issues of this repository and believe that this is not a duplicate. This issue was listed, then closed with no comment.

Expected Behavior

Expected app not to fail.

Current Behavior

App fails after landing on local host 3000 with above error message

Steps to Reproduce (for bugs)

CD into example directory

npm install

npm run dev

visit localhost:3000

Context

Your Environment

Tech
Version

next
^3.0.3

node
8.4.0

OS
High Sierra

browser
Chrome

etc
Issue 1:
Environment

Windows build number: [run "ver" at a command prompt]
PowerToys version: 0.18.1
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run

Steps to reproduce

Search for a program shortcut inside Documents folder

Expected behavior

Program should be in the results list. In the previous version, I have a program shortcut in C:/Users/x/Documents/ folder and PowerToys Run is able to index and run it.

Actual behavior

Program not included in PowerToys Run list

Screenshots

Issue 2:
Environment

Windows build number: Version 10.0.18363.836
PowerToys version: v.0.18.1
PowerToy module for which you are reporting the bug: PowerToys Run

Steps to reproduce

Install PowerToys via GetWin

Run PowerToys in always admin mode

Run PowerToys Run via Alt + Space

Search for any give file / folder name

Expected behavior

Showing the file / folder which I searched for

Actual behavior

No files / folders showing up what so ever,

unless I type something like "D:\Documents..."

Screenshots

It is a normal folder, I just changed the icon.
Issue 1:
http://stackoverflow.com/questions/18924908/remove-parentheses-from-complex-numbers-pandas/18925604#18925604

Issue 2:
How can I read back in dataframes from CSV files which I export using to_csv() that have complex numbers?

test case:

data = pd.DataFrame([1+2j,2+3j,3+4j],columns=['a'])
print 'a='
print data['a']
print 'a*2='
print data['a']*2

filename = 'testcase1.csv'
data.to_csv(filename)

print "\nReadback..."
data2 = pd.read_csv(filename)
print data2['a']
print data2['a']*2

output:

a=
0 (1+2j)
1 (2+3j)
2 (3+4j)
Name: a, dtype: complex128
a*2=
0 (2+4j)
1 (4+6j)
2 (6+8j)
Name: a, dtype: complex128

Readback...
0 (1+2j)
1 (2+3j)
2 (3+4j)
Name: a, dtype: object
0 (1+2j)(1+2j)
1 (2+3j)(2+3j)
2 (3+4j)(3+4j)
Name: a, dtype: object
Issue 1:
On a short, wide monitor or possibly a tablet in landscape mode, you cannot scroll down the menu even though it's fixed positioning and very long. Thus, you literally cannot click on the bottom options of the left documentation menu.

For example, make your window something like 1400x600 and open this. Try to click on any of the bottom links on the menu.

http://getbootstrap.com/components/#page-header

Related, at the bottom of the page, the fixed menu overlays the page footer and makes it impossible to read/click anything on the left side of the footer.

Possible fixes could include unfixing the menu position or allow scrolling of the menu div independently of the rest of the page.

edit: fixed 1400x600

Issue 2:
On the Components page of the Bootstrap docs, the sidebar becomes too tall for the viewport when scrollspy causes the sidebar subheadings to show.

The sidebar cannot be scrolled or manipulated to show content below the viewport.

See here: http://getbootstrap.com/components/#glyphicons
Issue 1:
Vue.js version

1.0.20

<div class="tab-wrap" v-if="object.aList.length > 0" v-for="object in objects">

This work on Firefox, but not work on Chrome.

<div class="tab-wrap" v-for="object in objects" v-if="object.aList.length > 0">

This work on Chrome, but not work on Firefox.

What's up?

升级升出了Bug？！

Issue 2:
Vue.js version

1.0.20

Reproduction Link

https://jsfiddle.net/2so6kua0/2/

Steps to reproduce

Start example

What is Expected?

We should get

val == 1
val == 2
val == 3
val == 4
val == 5
val == 6

What is actually happening?

In firefox we get nothing, but if we will change

<div v-for="val in arr" v-if="val">val == {{val}}</div>

to

<template v-for="val in arr">
<div v-if="val">val == {{val}}</div>
</template>

all work correctly.