WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Environment info

Operating System:

ubuntu@ip-172-31-32-186:~$ uname -a
Linux ip-172-31-32-186 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

TensorFlow version and installation method:

ubuntu@ip-172-31-32-186:~$ python -c "import tensorflow; print(tensorflow.__version__)"
0.8.0

I installed with command:

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl

My problem: Tensorflow break the PIL image read

Steps to reproduce

Following command verifies that my PIL works good without importing TensorFlow:

ubuntu@ip-172-31-32-186:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
>>> a = Image.open('bubble-counting/images/original/bubble.jpg')
>>> b = a.getdata()
>>> b[0]
(166, 56, 57)

After importing TensorFlow, same code does not work any more:

ubuntu@ip-172-31-32-186:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> from PIL import Image
>>> a = Image.open('bubble-counting/images/original/bubble.jpg')
>>> b = a.getdata()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 1151, in getdata
self.load()
File "/usr/local/lib/python2.7/dist-packages/PIL/ImageFile.py", line 235, in load
raise_ioerror(e)
File "/usr/local/lib/python2.7/dist-packages/PIL/ImageFile.py", line 59, in raise_ioerror
raise IOError(message + " when reading image file")
IOError: broken data stream when reading image file

Other info

After uninstall TensorFlow0.8 and install TensorFlow0.7.1, the problem disappeared!

installation code:

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.1-cp27-none-linux_x86_64.whl

>>> PIL.VERSION
'1.1.7'
>>> pandas.__version__
u'0.18.0'
>>> dask.__version__
'0.8.2'
>>> numpy.__version__
'1.11.0'
>>> scipy.__version__
'0.17.0'

My questions:

Can you reproduce the problem ?

What might be the reason of this problem since I am not familiar with PIL or TensorFlow code ?

If there were any information you need, pls let me know.

Issue 2:
Environment info

Operating System: Ubuntu 14.04.

If installed from sources, provide the commit hash: f952246

Steps to reproduce

$ python2 -c "import tensorflow; import cv2; print cv2.imread('cat.jpg')"
None

What have you tried?

import cv2 before tensorflow works.

This problem also exists on CentOS 7. It doesn't happen on a latest ArchLinux.

It's likely due to that tensorflow has it's own libjpeg that conflicts with opencv on some platforms.
Issue 1:
Description of the new feature/enhancement

Hi, I have been using this Terminal for a while and find it impressive. But I have one question/feature request here, I use WSL in my daily work and the new tab is Powershell by default when I open the Terminal or create a new tab(ctrl+shift+t)... Is there a way to set my default tab?

Proposed technical implementation details (optional)

In settings.json adds default tab entry I think..

Issue 2:
From @samaursa on May 28, 2017 18:58

Windows build number: 10.0.15063

What's wrong: I see underscores in the bash console

I am not sure what or how this happened, but I see underscores throughout the console window. I tried relaunching, removing my custom settings, changing font, reverting to legacy console and back, but nothing has worked.

Copied from original issue: microsoft/WSL#2168
Issue 1:
Description of the new feature/enhancement

Allow user to customize the icon's appearance on taskbar. The little >_ is cute, but I'd like to assign an icon that pops out better.

Proposed technical implementation details (optional)

Probably allow user to configure desktop icon through a file reference in JSON configuration file

Issue 2:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.239]
Windows Terminal version: Version: 0.3.2171.0

Steps to reproduce

Open the about window

Increase the width of the terminal window (it helps to start with a smaller terminal window to have room for this step)

Expected behavior

The about dialog should remain modal -- the window under the about dialog should not allow me to click the new tab / minimize / maximize / close buttons.

Actual behavior

The about dialog only disables a rectangle based on the original window size. This can lead to behavior where the user opens a new tab and regains focus onto the terminal.
Issue 1:
Electron version: 1.6.1

Operating system: Mac OSX

Expected behavior

Memory should be freed when removing iframe

Actual behavior

Memory is not freed

How to reproduce

Create an app containing 50 iframes which should each load a heavy webpage with images. Memory usage will increase a lot. If you remove the iframes from the DOM, the memory usage is still as high as if the iframes were still there. session.clearCache will not help.

Issue 2:
Rss memory increases without decreasing when show images that changes quickly. (memory leak?)

Electron version: 1.7.10

Operating system:

ProductName:	Mac OS X

ProductVersion:	10.12.6

BuildVersion:	16G1036

Expected behavior

Image changes normally and memory is stable

Actual behavior

Memory increases gradually and use process.memoryUsage() to find that most is rss memory.

How to reproduce

First, install adb command, then link a phone and use 'adb devices' to make sure the phone state normal.

git clone https://github.com/gaograce/electron-image-memory-leak-example

npm install

npm start

click 'start' button to show image and then operate the phone to change image.
Issue 1:
The tooltip was added El to next it's owner and effect to CSS like .btn-group > .btn:last-child

<div class="btn-group">

<button class="btn">

<button class="btn"> <= this is last-child

</div>

[Bug] When tooltip (on hover tooltip created)

<div class="btn-group">

<button class="btn">

<button class="btn"> <= this is not last-child (.btn-group > .btn:last-child don't work)

<div class="tooltip"> <= tooltip is last-chid

</div>

Issue 2:
http://jsfiddle.net/JEBdk/5/

tooltip or popover on btn-group. the btn-group is not display correctly!

the last btn have not round corners and between the btn's is a space.

my suggestion, by generating the tip or popover on the end of document .
Issue 1:
Hello, today I was doing some waypoints and as my code got longer and longer, I was unable to keep up with the objectives and info on the left side as I scrolled down.

Can we get the objectives and info on the left side to scroll with the page like the phone/app on the right side does? This is very crucial when working with a lot of code. I have attached a video to exemplify this:

https://www.dropbox.com/s/6eutki529kdlpmz/Design%20Suggestion.mov?dl=0

Sorry if the video is bad quality; Dropbox compresses videos a ton.

Issue 2:
It might be more convenient if the instruction and coding area scrolled independently of each other so you can refer to each section without having to continuously scroll up and down.
Issue 1:
On Windows (8) and french keymap, the closing bracket is done with alt-gr + ')' key.

However, pressing alt-gr + ')' to write ']' seems to be mapped to the "fold function" command instead. So pressing this combination folds the current function but doesn't write the "]" character.

Noticed it in v0.117 and it is still present in v0.118.

Issue 2:
Original issue: atom/atom#1625

Use https://atom.io/packages/keyboard-localization until this issue gets fixed (should be in the Blink upstream).
Issue 1:
testjson.txt

VSCode Version:1.0.0(and earlier versions)

OS Version:Windows 7 professional SP1 64bit

Steps to Reproduce:

open testjson.txt

swith language mode to JSON

bug: no language highlight

Issue 2:
Found no duplicated for this one

Currently it's hardcoded

https://github.com/Microsoft/vscode/blob/1ed635852b62e6c4cf3ea57bf465ee5528eeb720/src/vs/workbench/services/textMate/electron-browser/TMSyntax.ts#L452-L459

I propose a config entry for long line length

If you're object, I'd like to create pull request for this feature

Your thoughts?
Issue 1:
What problem does this feature solve? 这个功能解决了什么问题？

<tag :attr="expression | filter | filter" />

The symbol | which is in use now, is a JavaScript symbol with it's origin use.

目前所采用的 | 符号在 JavaScript 里有其自身的用途。

Maybe the user want to write a exprssion with | like this:

使用者很可能想要的，本是一个像这样的包含 | 运算符的表达式：

<tag :attr="a & b | c | d" />

What does the proposed API look like? 你期望的 API 是怎样的？

Symbol ; will never be used in an expression:

; 肯定不会出现在一个表达式中（因此没有冲突的可能）：

<tag :attr="expression ; filterA ; filterB" />

Origin symbol ~ or : or @ will never follow an expression:

原始语义的 ~ 或 : 或 @ 也不会紧跟在一个表达式后面：

<tag :attr="expression ~ filterA ~ filterB" />
<tag :attr="expression : filterA : filterB" />
<tag :attr="expression @ filterA @ filterB" />

Use other unemployed symbols look good:

采用其它未被使用的直观符号：

<tag :attr="expression -> filterA -> filterB" />

Issue 2:
Thanks a lot for this great work. I talk my little idea.

Vue use the unix “pipe” symbol to apply filters:

{{ message | filterA | filterB }}

But it is also a javascript symbol as "bitwise or". It seems rather strange.

I think the better way to apply filters is arrow:

{{ message -> filterA -> filterB }}
{{ myNumber -> currency }}
Issue 1:
Do you want to request a feature or report a bug?

Bug

What is the current behavior?

In the Devtools components tab: If the current value of a state member is a number, there is no way to set it to an string. You cannot type quotes if it is of type 'number' and leaving it empty does not reset the value.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:

Create a react component that has an integer value in the state.

Find the state variable and try to type "".

Erase the value and copy to the console.

The value resets to the value it was before these steps.

What is the expected behavior?

Parse values in devtools like the JS compiler does for literals. "[value]" = string, [0-9*] = number, [[values]] = array.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

React v 16.8.6

Devtools v 4.0.6

Issue 2:
Which website or app were you using when the bug happened?

Please provide a link to the URL of the website (if it is public), a CodeSandbox (https://codesandbox.io/s/new) example that reproduces the bug, or a project on GitHub that we can checkout and run locally.

What were you doing on the website or app when the bug happened?

If possible, please describe how to reproduce this bug on the website or app mentioned above:

Generated information

DevTools version: 4.13.1-93782cfed2

Call stack:

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:21390:41

at bridge_Bridge.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:19607:22)

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:19767:12

at listener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37788:39)

Component stack:

(none)

GitHub URL search query:

https://api.github.com/search/issues?q=Cannot%20add%20node%20%20because%20a%20node%20with%20that%20id%20is%20already%20in%20the%20Store.%20in%3Atitle%20is%3Aissue%20is%3Aopen%20is%3Apublic%20label%3A%22Component%3A%20Developer%20Tools%22%20repo%3Afacebook%2Freact
Issue 1:
A lot of package maintainers are using the modular lodash-node instead of full-fledged lodash in their projects to cut down on file size. With lodash-node, they can import single functions rather than the entire module. This is nice in some instances, but leads to a lot of duplication if one project uses full-fledged lodash and another uses lodash-node.

What I'm wondering is this - is there a way I can use one of the Plugins to replace lodash-node requires with properties on the lodash object? I'm looking for something like:

ReplacePlugin('lodash-node/modern/collections/forEach', 'lodash.forEach')

Or even better:

ReplacePlugin(/lodash-node\/modern\/collections\/(.*)(?:\.js)?$/, 'lodash.$1').

Issue 2:
Modules will not be moved into entry chunks, but they may be duplicate and should be moved. An option is a leftover chunk. The leftover chunk is a chunk loaded after the entry chunk (async), while the leftover chunk is being loaded no other chunk will be loaded. So modules could be moved into the leftover chunk without introducing an additional loading time.

The performance win may be very small and prefecting is the better option.

I list it here, because GWT has this kind of behavior...
Issue 1:
Continuing from here.

Problem description

The Text component in the next branch causes a naming collision with the global Text that is available in browsers.

To avoid confusion and misleading errors it might be better to choose a different name.

Some ideas so far: Typography, Font. The former probably makes the connection to the MD guidelines a bit clearer, despite being a bit more wordy.

Versions

Material-UI: next branch

React: All

Browser: All

Issue 2:
I would like to store the selected rows (ie boxes that are checked) in state, so that I can filter/manipulate the table data whilst still keeping the boxes selected.

I attempted this using onRowSelection and setting state, then triggering selected={true} on table row:

<TableRow selected={selected.includes(index)>

However, it still would not store the checked boxes

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

Expected Behavior

Keep the correct boxes checked even when the table data changes

Current Behavior

Boxes clear if the table data changes

Steps to Reproduce (for bugs)

Working sample available here:

https://codesandbox.io/s/jnznoy8o4w

Steps:

Check several boxes

Search for data

Notice that the data changes, and check boxes are now all cleared

Context

I would like store the a list of which items are checked. For example [1,3,5] would show rows 1, 3, and 5 as checked.

Your Environment

Codesandbox

Tech
Version

Material-UI
Latest

React
Latest

browser
Codesandbox
Issue 1:
In VS 2015 Pro, using the Asp.Net 5 Web Application template, I have installed via npm the typings js module, which in concert with a typings.json file will install Typescript definition files to a typings folder as so...

Project

wwwroot

Controllers

scripts

typings

browser

main

browser.d.ts

main.d.ts

Views

tsconfig.json

typings.json

The browser folder and browser.d.ts is intended for clientside while the main folder and main.d.ts file are intended for serverside, and one should pick which they want to use, and exclude the other.

With TS 1.7.3 installed, one excluded the main files in the tsconfig.json as so (this worked - last two entries in exclude array):

{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"outDir": "wwwroot/js",
"rootDir": "scripts",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "system"
},
"exclude": [
"node_modules",
"wwwroot",
"typings/main",
"typings/main.d.ts"
]
}

After installing TS 1.8.4, I now get Duplicate identifier errors between files in the typings/main and typings/browser folder. In other words, the subfolder exclude for "typings/main" is not being respected.

Experimenting a bit, the "node_modules" and "wwwroot" is being excluded correctly. If I exclude the root folder "typings" then the error goes away, but no typings load from any files either. Also trying to exclude a file in a subfolder, say "typings/main/ambient/bootstrap/bootstrap.d.ts" doesn't work. So there appears to be a bug excluding subfolders/subfiles.

The expected behavior is for subfiles or subfolders in the exclude array to be ignored during compile. The actual behavior is that they are not excluded.

Issue 2:
TypeScript Version:

1.8.2

Code

foo.ts

var foo: number = "s";

tsconfig.json

{
"compilerOptions": {
"module": "commonjs",
"target": "es5"
},
"exclude": [
"foo.ts"
]
}

Expected behavior:

In an NTVS typescript console application using the above tsconfig.json, and a file foo.ts containing an error, the build and run initiated by Visual Studio should succeed because the file containing the error is excluded.

Actual behavior:

The build fails with an error in foo.ts. Compiling from command line, the build succeeds. Also, if foo.ts is put inside a folder, and the folder is listed in the exclude array, the VS build succeeds.

This is currently breaking projects using the typings tool, because it generates two sets of type definitions, and the other set cannot be excluded.
Issue 1:
Environment

Microsoft Windows [Version 10.0.18362.175]
terminal version 0.2.1715.0

Steps to reproduce

I have a Canadian Multilingual keyboard ant to do a pipe symbol I have to use the right alt and the key before the 1 on a us layout I don't kown which one it is but on my keyboard is a slash (/).

Expected behavior

Able to write a "|" without pasting it and able to copy thing in the terminal window.

Actual behavior

The other bug I found is that I can't copy paste something. Normally, with quick edit enable you do select the text + "enter" or right click on the window title copy. The paste works.

Issue 2:
Environment

Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 10.0.18980.0 Microsoft Windows NT 10.0.18980.0

Windows Terminal (Preview)
Version: 0.5.2661.0

Steps to reproduce

Open profiles.json (e.g. via Ctrl+,)

Change "defaultProfiles" to the GUID of something which is not Windows Powershell for example the much more reasonable Powershell Core

Windows Powershell is still the default

(extra: If the Windows Powershell is hidden then the "Cannot find default profile warning is shown")

Expected behavior

Uses the specified profile as the default profile.

Actual behavior

Keeps using the default profile specified in the defaults.json

My profile.json:

// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation

{
"$schema": "https://aka.ms/terminal-profiles-schema",

"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",

"profiles": [
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell Core",
"source": "Windows.Terminal.PowershellCore",
"fontFace": "Fira Code",
"fontSize": 10
},
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false,
"fontFace": "Fira Code"
},
{
// Make changes here to the cmd.exe profile
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"commandline": "cmd.exe",
"hidden": false,
"fontFace": "Fira Code"
},

{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure",
"fontFace": "Fira Code"
}
],

// Add custom color schemes to this array
"schemes": [],

// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": [],

"globals": {
"requestedTheme": "system",
"copyOnSelect": true
}
}
Issue 1:
Hello, i try to open webview in webview and attach it like parent-child.

Chrome has API for this https://developer.chrome.com/apps/tags/webview#event-newwindow, but electron does not emit native newwindow event.

Issue 2:
index.html

<webview src="file:///embedded.html"></webview>

embedded.html

<h1>github</h1>
<webview src="http://github.com"></webview>

Would it be possible to have index.html render the header and webview of embedded.html? I don't seem to currently be able to do this.
Issue 1:
go-gtk is worked well on 1.2 but can't build on 1.3

See mattn/go-gtk#210

It seems that mismatch native types and cgo-generated types.

Issue 2:
by elazarl:

When compiling go env.bash makes sure /usr/bin and /bin will always be before the
original path.

How should you compile go if you happen to have gcc in /opt/gcc-4.6.0/bin? Setting
CC=/opt/gcc-4.6.0/bin/gcc won't help since cgo won't use it. What if you want to use the
bison program in ~/bison/bin, since the bison installation on the machine is dated?

Attached a patch that prepends the alternate paths of $CC as (which will mark the path
of the entire binutils) and bison, before /bin and /usr/bin if needed.

Attachments:

env.bash.patch (580 bytes)
Issue 1:
It would be more productive if drag n drop feature is added into the application.

It will be beneficial in the situation where the user is aware what does the file contain and want's to upload it to internet directly without going to the directory that contains the file.

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

Issue 2:
Summary of the new feature/enhancement

Add an option to make Fancy Zones remember a previous window arrangement, and allow the user restore that layout later

I use a laptop with an external monitor set to be my primary display. My laptop display has a multi pane layout with various "chat" apps (Teams / Slack / Outlook / Skype, because everyone uses something different!) - I'll often undock, and just use the laptop, at which point all the windows jump back to the laptop screen. However, when I redock again, all the windows jump to the now-primary monitor (the external display), and I have to manually move the chat windows back to their zones on the laptop display

Proposed technical implementation details (optional)

Simplest option would be to let me "bookmark" windows into their zones, so I can have a single hotkey which sends every window back to its last bookmarked zone (windows not in zones when I create the bookmark would get ignored, and wouldn't be moved)

This could be automated with an option ("Restore windows to last zone when screen layout changes") or some such