WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
C:\Users\ry\deno>python tools/setup.py
binary download
python C:\Users\ry\deno\third_party\depot_tools\download_from_google_storage.py --platform=win32 --no_auth --bucket=chromium-gn --sha1_file C:\Users\ry\deno\third_party\v8\buildtools\win\gn.exe.sha1
python C:\Users\ry\deno\third_party\depot_tools\download_from_google_storage.py --platform=win32 --no_auth --bucket=chromium-clang-format --sha1_file C:\Users\ry\deno\third_party\v8\buildtools\win\clang-format.exe.sha1
python C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-362913-80fee257-1.tgz .......... Done.
Traceback (most recent call last):
File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 324, in <module>
sys.exit(main())
File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 320, in main
return UpdateClang()
File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 258, in UpdateClang
CopyDiaDllTo(os.path.join(LLVM_BUILD_DIR, 'bin'))
File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 229, in CopyDiaDllTo
GetWinSDKDir()
File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 202, in GetWinSDKDir
import vs_toolchain
ImportError: No module named vs_toolchain

Issue 2:
I've followed the manual : https://deno.land/manual.html#buildfromsource

And i've the error:

GetWinSDKDir
import vs_toolchain
ImportError: No module named vs_toolchain

After checking in https://github.com/denoland/deno/blob/master/.appveyor.yml i have updated my PYTHONPATH to C:\temp\deno\third_party\python_packages

then i got:

Exception: Visual Studio version 2015 (from GYP_MSVS_VERSION) not supported. Supported versions are: 2017, 2019

Problem is i have already installed nodejs before and it sets this env variable. After changing it to :

GYP_MSVS_VERSION=2017

It works!

Maybe the documentation needs to be updated or i got a weird configuration?
Issue 1:
I am trying to follow the steps as per the readme file.

I get an import error.

After i inspected the repo i found that "gen_audio_ops" is missing under tensorflow/python/ops package.

Following is an image which shows the import

Can you please help to get me the said package.

Issue 2:
I want to reuse a name scope which was created earlier with tf.name_scope. Normally, name_scope will create a new unique name in the current namespace. If it ends with "/", it will ignore the current namespace and use it as an absolute name scope but then it doesn't make it unique. I want a way that it just uses the name as I provide it in the current namespace.

Current code:

@contextlib.contextmanager
def name_scope(self, name):
...
old_stack = self._name_stack
if not name: # Both for name=None and name="" we re-set to empty scope.
new_stack = None
elif name and name[-1] == "/":
new_stack = name[:-1]
else:
new_stack = self.unique_name(name)
self._name_stack = new_stack
yield "" if new_stack is None else new_stack + "/"

I suggest something like:

@contextlib.contextmanager
def name_scope(self, name, reuse=False):
if reuse:
new_stack = self._name_stack + "/" + name
else:
...
Issue 1:
Issue Description

Hello, the Video Challenges are not being marked as complete. I did the first four or so of computer basics and nothing was checked. I exited the browser, tried the first one two more times and it was still not marked as complete. Then I tried the first one of JavaScript lingo, completed the quiz, but still no green check mark.

Browser Information

Google Chrome, newest version

OS X El Capitan

Issue 2:
It's not possible to mark some Computer Basics as completed. I tried to complete them many times. No success.

Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

OS: OS X 10.11.3

Screenshot:
Issue 1:
With 3.0 I used "class="visible-xs visible-sm" to show a footer on small devices. After upgrading to 3.1 the footer wasn't shown.

I changed it to "class="hidden-md hidden-lg" and then it was shown again.

Not sure if this is/was an error in 3.0 or 3.1.

Issue 2:
https://dl.dropboxusercontent.com/u/37682778/error/index.html
Issue 1:
It would be great to be able to pass a function as the attribute value. That function should be called before showing the menu. How about that?

Issue 2:
Maybe I missunderstood something but trying to overwrite some delegates in a newly created Menu will not call my custom function:

menu.delegate.menuWillShow = function () {

console.log('MY MENU DELEGATE');

}

menu.delegate.menuWillShow(); // doesn't call my function??

Note that the Menu is created using remote call within a BrowserWindow.
Issue 1:
Hey all,

So I believe the github wiki is the first main source of info for new developers to the repo. As far as I'm aware, only collaborators can update it. It may be an idea to create a new section in the docs instead of using the github wiki. Perhaps putting contributors under the Code section of the main page.

As well as migrating the github wiki, I can think of an addition that might make various peoples lives easier, a "common issues" page (think issue posted, instant close, link to part of common issues). There are also some random pages which could be removed i.e. API reference. Those are two bits and pieces that come to mind but I'm sure others have more ideas.

It may help sort out miss-communication, speed up reviews and/or ease the barrier to entry.

I'd be happy to flesh out a first draft but I ain't starting that until I've got the proper feedback.

Issue 2:
applyMatrix3 method of BufferAttribute presumes that itemSize equals 3. This can be seen in the BufferAttribute source code on line 202.

I'm a newbie of three.js and maybe I miss something, but I think that's not always true.

For example, UVs in ShapeBufferGeometry have only 2 dimensions.

This led to some NaN in the BufferAttribute's array after applying applyMatrix3. Maybe it's possible to do a check itemSize inside the function to handle this case. For instance, we can use something similar to Vector2's applyMatrix3 if itemSize === 2.

Here's a sandbox that shows the problem and a simple function based on Vector2.

Three.js version: r117

Browser: All of them
Issue 1:
Hello,

The simple python program:

import matplotlib.pyplot as plt

numbers = [1,2,3,4,5]

plt.plot(numbers)

plt.show()

returns the following exception instead of drawing a picture. I'm using debian-testing and python 2.7.11-2 with:

dpkg -l python-matplotlib

ii python-matplotlib 1.5.3-1 i386 Python based plotting system in a style similar to Matlab

$ python test_overflowerror.py

Exception in Tkinter callback

Traceback (most recent call last):

File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1545, in call

return self.func(*args)

File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 283, in resize

self.show()

File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 355, in draw

tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)

File "/usr/lib/python2.7/dist-packages/matplotlib/backends/tkagg.py", line 26, in blit

_tkagg.tkinit(tk.interpaddr(), 1)

OverflowError: Python int too large to convert to C long

Regards, Karol

Issue 2:
To help us understand and resolve your issue please check that you have provided

the information below.

Matplotlib version, Python version and Platform (Windows, OSX, Linux ...)

Platform: Debian Testing, using the python 2.7 (2.7.11-2 when I first started seeing this, just upgraded to 2.7.13rc1 but the problem still exists). I have this problem with the 1.5.3 on debian testing, but I also tried a virtualenv with pip install --pre matplotlib, which pulled in 2.0.0rc1, and I see the same problem.

Debian stable, with matplotlib 1.4.2, works fine, as did Debian testing until recently.

How did you install Matplotlib and Python (pip, anaconda, from source ...)

See above: Debian package and virtualenv.

If possible please supply a Short, Self Contained, Correct, Example

that demonstrates the issue i.e a small piece of code which reproduces the issue

and can be run with out any other (or as few as possible) external dependencies.

Minimal test program:

import pylab

distances = [0, 0.0011970407617050934, 0.0050796062254631295, 0.007303941153223762, 0.007303941153223762, 0.008232870398475445, 0.008232870398475445, 0.012806461740481582, 0.016651523629144134, 0.021047330616832543]

elevations = [6404.2, 6410.76, 6400.92, 6410.76, 6423.88, 6423.88, 6453.41, 6410.76, 6427.17, 6420.6]

pylab.plot(distances, elevations)

pylab.show()

(Please let me know if you want a non-pylab example. I see it with straight matplotlib too.)

If this is an image generation bug attach a screenshot demonstrating the issue.

If this is a regression (Used to work in an earlier version of Matplotlib), please

note where it used to work.

It worked as recently as a month ago on Debian testing, but sorry, I don't know what matplotlib version that was since I didn't know it was going to stop working.
Issue 1:
🐛 Bug

Exception ignored in: <bound method _DataLoaderIter.del of <torch.utils.data.dataloader._DataLoaderIter object at 0x114accb70>>

Traceback (most recent call last):

File "/Users/powerz/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 399, in del

self._shutdown_workers()

File "/Users/powerz/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 378, in _shutdown_workers

self.worker_result_queue.get()

File "/Users/powerz/anaconda3/lib/python3.6/multiprocessing/queues.py", line 337, in get

return _ForkingPickler.loads(res)

File "/Users/powerz/anaconda3/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 167, in rebuild_storage_filename

storage = cls._new_shared_filename(manager, handle, size)

RuntimeError: Interrupted system call at /Users/soumith/miniconda2/conda-bld/pytorch_1532623076075/work/torch/lib/libshm/core.cpp:99

To Reproduce

Randomly ,

Steps to reproduce the behavior:

Expected behavior

Environment

Collecting environment information...

PyTorch version: 0.4.1

Is debug build: No

CUDA used to build PyTorch: None

OS: Mac OSX 10.14.2

GCC version: Could not collect

CMake version: version 3.13.0

Python version: 3.6

Is CUDA available: No

CUDA runtime version: No CUDA

GPU models and configuration: No CUDA

Nvidia driver version: No CUDA

cuDNN version: No CUDA

Versions of relevant libraries:

[pip] Could not collect

[conda] pytorch 0.4.1 py36_cuda0.0_cudnn0.0_1 pytorch

[conda] torchvision 0.2.1 py36_1 pytorch

Additional context

Issue 2:
This causes errors in data loaders like this.
Issue 1:
This is the result of using subdiv level 1 on a textured mesh in jthree

http://3developer.com/tmp/UVs.png

As you can see the seams are terrible. Also tried using image mode repeat as a sugestion by "bai" from IRC but that didn't make a change

This is the same model in blender, subdiv level 1, UV subdivision turned off

http://3developer.com/tmp/UVsBlenderSubOff.png

Much better! Now again but with UV subdivision turned on

http://3developer.com/tmp/UVsBlenderSubOn.png

Not a giant improvement but this feature can be very useful sometimes

Issue 2:
Description of the problem

Uncaught Rangerror: Offset is outside the bounds of the dataview

VTKLoader failing on loading legacy format VTU file in binary, unstructured data grid.

I have the model and some screenshots of the error here:

https://www.dropbox.com/sh/ti1s42u4nx8nj9r/AAC4gcUsvYVunh968xZB3YNda?dl=0

I am able to load said model in paraview (which is VTK's own desktop client viewer) so I don't think it's a problem with the model itself? I am not sure.

line 492 in vtkloader.js:

} else if ( line.indexOf ( 'POINT_DATA' ) === 0 ) {

numberOfPoints = parseInt ( line.split( ' ' )[ 1 ], 10 );

// Grab the next line
state = findString ( buffer, state.next );

// Now grab the binary data
count = numberOfPoints * 4 * 3;

normals = new Float32Array( numberOfPoints * 3 );
pointIndex = state.next;
for ( i = 0; i < numberOfPoints; i ++ ) {

error here--> normals[ 3 * i ] = dataView.getFloat32( pointIndex, false );
normals[ 3 * i + 1 ] = dataView.getFloat32( pointIndex + 4, false );
normals[ 3 * i + 2 ] = dataView.getFloat32( pointIndex + 8, false );
pointIndex += 12;

I noticed there is a similar issue here: #8208 not sure if related.

Three.js version

Dev

r80

...

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

Linux

Android

IOS

Hardware Requirements (graphics card, VR Device, ...)
Issue 1:
by beoran:

What steps will reproduce the problem?
1. Unpack the attached testcase and cd to that directory.
2. $ ./makelib.bash
3. $ make install
4. $ gotest

What is the expected output?
SUCCESS

What do you see instead?
FAIL

What is your $GOOS? $GOARCH?
linux 386

Which revision are you using? (hg identify)
8d9692dbc21b+ tip

Please provide any additional information below.

As the title said cgo doesn't seem to handle (taking addresses of) global
struct values corectly. It generates a pointer to the type but that pointer
is never filleed in, and always ends up nil. I thinks this should be
corected somehow.

Attachments:

ges.tar.gz (860 bytes)

Issue 2:
In Go 1.3.x, it was possible to statically link a program which imports the net package. This is important when building programs for cut-down environments, for example busybox.

The problem can be reproduced on Ubuntu as reported by Vasiliy Tolstov:

package main
import "net"
func main() {
_, _ = net.ResolveIPAddr("ip", "google.com")
}

It is possible to statically link this program in Go 1.3.x by issuing:

CGO_ENABLED=0 go build -a -x

but with Go 1.4, the same technique creates the following runtime dependencies:

linux-vdso.so.1 (0x00007fff603fe000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3bd0608000)
libc.so.6 => /lib64/libc.so.6 (0x00007f3bd0260000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3bd0825000)
Issue 1:
Steps to reproduce:

i) Do this gist: https://gist.github.com/jviotti/aadc0ba1d5962cfe19cf but add frame: false to BrowserWindow

ii) Notice you can drag the Window by clicking and ragging on Hello World

iii) Go to View Toggle dev tools so the dev tools are opened.

iv) Try to drag again.

Actual results:

The window drag in step iv) won't work anymore.

Expected results:

The dragging continues to work.

Issue 2:
This is a regression—in Electron 0.35.1, draggable regions of the window stop working when the developer tools are opened. This means that the window effectively can't be moved while the developer tools are open. It doesn't matter if the developer tools are docked or in a separate window.

I think this might be a side effect of an intentional change? In previous versions, you couldn't use the "Inspect Element" feature to click and select part of the DOM that was in a draggable region (since it was still draggable.) That now works (I can hover over and click on my title bar), but I can't move the window.

Here's a sample app to reproduce. Open the app, enable "top toolbar" and then open the developer tools:

https://dl.dropboxusercontent.com/u/4803975/frameless-window.zip
Issue 1:
Expected behavior:

In this video, you can see that Tree map..., Map... , 2 heat maps and Sunburst... are not showing in the tree structure, while some charts have duplicate.

It's not a consistent issue, other dashboards seems ok...@villebro @simcha90 please investigate 🙏

Screen.Recording.2021-05-26.at.10.38.54.PM.mov

@villebro @simcha90 please coordinate a fix. 🙏

Issue 2:
How to reproduce the bug

Open explore view from chart list,

or Explore chart from dashboard,

Actual results

You will see 2 /api/v1/chart/id requests

Expected results

only 1 api call for each endpoint.

Screenshots

Environment

latest master

Checklist

Make sure to follow these steps before submitting your issue - thank you!

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

Add any other context about the problem here.
Issue 1:
Challenge escaping-literal-quotes-in-strings has an issue.

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

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

var myStr = "I am a \"double quoted\" string inside \"double quotes\"."; // Change this line

![escaping literal quotes](https://cloud.githubusercontent.com/assets/21290175/18400642/cbfdd8dc-76a4-11e6-9b20-cd3b661daf4a.jpg)

It passes the _Variable myStr should contain the string: I am a "double quoted" string inside "double quotes".__
But fails the _You should use two double quotes (") and four escaped double quotes (\")._

Issue 2:
On the current staging, two challenges ("Escaping Literal Quotes in Strings" and "Quoting Strings with Single Quotes") do not pass all tests with standard solution code.

Namely, tests asserting regex match lengths for non-escaped double quotes are failing:

code.match(/[^\\\\]\"/g).length === 2 in the former challenge and

code.match(/\"/g).length === 4 in the latter.

(Note: each of these is only one half of their respective test, and it might be beneficial in this case to split each test into two parts so users know where to look for their mistake instead of counting every quotation mark, as well as speeding up debugging if something breaks the regex again later on.)
Issue 1:
📝 New keyboard shortcut to minimize windows

Create a shortcut (ex: Win + Shift + m ) to minimize all windows in the screen where the mouse is.

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

Issue 2:
Ability to set any window "always on top".

It will be better to have this feature as this is required in most of the scenarios when we refer and type or do something.

Best place for this feature inclusion will be in the window title right click menu, with minimize, maximize, restore etc
Issue 1:
Preflight Checklist

I have read the Contributing Guidelines for this project.

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

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

Problem Description

Electron apps are increasing exponentially. Nowadays we have to use multiple electron app instances in the same computer.

But every single app instance runs a separate instance of Chromium/ElectronJS which uses more resources, which is bad for performance.

Proposed Solution

Since, multiple apps are already using Chromium/ElectronJS, if there was a way to make them share the same instance of Chromium/ElectronJS, kind of like multiple Tabs/Windows in a browser, that would make ElectronJS apps faster, less resource hungry, and so on.

Alternatives Considered

I have searched for some alternatives but haven't found any yet

Additional Information

Or if there's an App made by the official team of ElectronJS that scans all the ElectronJS apps installed in the system and puts them into the same ElectronJS folder/instance to share resources, should be good too.

Thanks

Issue 2:
Electron version: 1.4.13

Operating system: Windows 7 - fails, Windows 8.1 - fails, Windows 10 - works only at the first try, subsequent tries fail, OS X 10.11 - works, Ubuntu 16.04 - works

Expected behavior

When printing selected pages of a web page with electron the selected pages will be printed.

Actual behavior

The print job hangs in the print job queue until the electron app is closed.

How to reproduce

Open a web page in electron which spreads over several pages when printed. Use window.print() or webContents.print([options]) to print the page. Select some pages (e.g. 2,4,6-8 ) in the Page Range field inside the system print dialog. Press Print.
Issue 1:
hyperkube offers significant advantages in terms of reducing our distribution size and simplifying the number of things that need to be juggled. But some deployment scenarios are using separate binaries while others are using hyperkube. We should switch everything over to hyperkube and deprecate/remove the individual binaries.

Issues that need to be addressed before we can get there: #16410 #8772.

If we can agree on this being a good direction, I'm happy to chip in and do the work.

Issue 2:
Garbage collector changes the objects in local cache: https://github.com/kubernetes/kubernetes/blob/v1.6.0-beta.4/pkg/controller/garbagecollector/graph_builder.go#L115

This is discouraged. It's probably ok for now, because the garbage collector doesn't share the cache with other controllers. We need to revisit this when the garbage collector starts to use the shared cache.

cc @lavalamp

Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):

What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Kubernetes version (use kubectl version):

Environment:

Cloud provider or hardware configuration:

OS (e.g. from /etc/os-release):

Kernel (e.g. uname -a):

Install tools:

Others:

What happened:

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:
Issue 1:
I observed a developer unable to figure out how to use ListView due to lack of content in the API doc. While the ListView constructor is relatively easy to understand, ListView.builder() and ListView.custom are less so. It would be great to include some sample code in the API doc.

Issue 2:
I think we need some high level documentation of all the list and viewport classes, including a class hierarchy diagram showing inheritance, mixins, ownership, and who creates whom. It should probably lean on some other documentation explaining the purpose of custom Element subclasses, too.
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Next should refresh dynamic imported components using HMR.

Current Behavior

This bug depends on the place where the dynamic component is created. It works when the dynamic component is created on a page, but it doesn't work when it's created outside and imported using a regular import x from.

Steps to Reproduce (for bugs)

Create a component:

export default () => <p> I am the component</p>;

If you import that component and create the dynamic component on that page, HMR works:

import dynamic from 'next/dynamic';

const DynamicComponent = dynamic(import('../components/Component.js'));

export default () => (
<div>
<DynamicComponent />
</div>
);

But if the dynamic import is on a different file, for example DynamicComponent.js:

import dynamic from 'next/dynamic';

const DynamicComponent = dynamic(import('./Component'));

export default DynamicComponent;

And you import it on a page with a regular import, HMR doesn't work:

import DynamicComponent from '../components/DynamicComponent.js';

export default () => (
<div>
<DynamicComponent />
</div>
);

The rest of the dynamic import functionalities seem to work fine even on both cases, like SSR.

Your Environment

Tech
Version

next
3.0.1-beta.18

node
6.10

OS
Sierra

browser
Chrome

Issue 2:
Bug report

Describe the bug

Build failed when importing firestore into Next app with error below (Error message attached below) :

Module not found: Can't resolve 'memcpy' in /node_modules/bytebuffer/dist

To Reproduce

Reproduce repo : https://github.com/charlesyeo92/test-next-firestore

Expected behavior

Build should success.

Screenshots

System information

Version of Next.js: 9.0.1

Version of @firebase/firestore: 1.4.4

Additional context

However I was able to build successfully when removing target: 'serverless' from next.config.js.