WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
In Turkish QWERTY keyboards AltGr + q (right Alt) key combination means @ character. This combination does nothing at all in 1.121. I've also checked the keybindings. There is no keybinding on AltGr + q

Issue 2:
Atom doesn't handle keyboards with Right Alt (i.e. AltGr). This is a very basic mistake. I have a Hungarian keyboard layout, I can only write specific keys like "|" (pipe) by pressing Right Alt (AltGr) and then W, which Atom doesn't recognize and treat like Alt-W or something?

The point is there are some layouts like greek, hungarian, czech with special keys, which an EDITOR should handle the right way!!

E.g. I can't write CTRL-", because it writes the number "2" instead. I think this key might be interpreted like CTRL-ALT sequence, but not sure either.

Anyway, without it, it's just not an editor.

Like Windows Media player; you can't pause a movie with it hitting space bar...

From: support/9f98abca9f4a11e3955c6445541b1a76
Issue 1:
Even if the beta_distribution of the parameters shouldn't < 0, function rk_beta in distribution.c should check the arguments

Issue 2:
I'm currently trying to hunt down a SystemError, and could use some help. Basically, it occurs when attempting certain failing conversions from unicode to string arrays:

import numpy as np

CHAR = "\x80" # Anything >= 0x80, so we raise a UnicodeEncodeError.
CHAIN = 1 # How many errors will be chained together.
ITEMSIZE = 3 # dtype itemsize, anything except 0, 1, 2, or 4.

nasty = np.array([CHAR] * (128 * CHAIN + 1), dtype=f"U{ITEMSIZE}")
nasty.astype("S")

To recap, the error only happens with:

A total array size of 129 or more (shape doesn't matter). Every additional 128 elements adds a new chained exception.

A unicode itemsize not equal to 0, 1, 2, or 4.

On CPython 3.9.0a4 and NumPy 1.18.2, the above gives me:

UnicodeEncodeError: 'ascii' codec can't encode character '\x80' in position 0: ordinal not in range(128)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
...
SystemError: <class 'UnicodeEncodeError'> returned a result with an error set

I've spent quite a while digging around dtype_transfer.c, but I'm afraid that I can't find exactly where this is happening. My hunch is that an error raised during processing of a 128-element block isn't caught until all other blocks are finished as well. If several blocks fail, Python complains that the previous exceptions aren't being handled.

If somebody could help me figure out exactly what's going on here (or even provide a good guess), I would definitely appreciate it.
Issue 1:
Issue Description

The new Wiki search does not allow scrolling through the article titles. Only the first title in the list is clickable.

Browser Information

Browser Name, Version: Chrome, Firefox, Edge

Operating System: Windows 10

Mobile, Desktop, or Tablet: Desktop

Issue 2:
When I mouse over the faded out links, my pointer doesn't turn into the click finger icon. It will for the links that aren't faded, though.
Issue 1:
Bug report

Bug summary

Path.intersects_path returns True for the following paths, when they don't intersect at all (as shown by Shapely). This is a simplified outline_path from Cartopy. The trigger seems to be the duplicate point at the end of outline_path; if removed, it works as expected.

A bisect says this broke in bd3fd8f, which is a backport of #11553 to 3.1.0. cc @TarasKuzyo

Code for reproduction

import numpy as np
import matplotlib as mpl
from matplotlib.path import Path
from shapely.geometry import LinearRing

this_path = Path(
np.array([
[824.85064295, 2056.26489203],
[861.69033931, 2041.00539016],
[868.57864109, 2057.63522175],
[831.73894473, 2072.89472361],
[824.85064295, 2056.26489203]]),
np.array([1, 2, 2, 2, 79], dtype=Path.code_type))
this_ring = LinearRing(this_path.vertices)

outline_path = Path(
np.array([
[859.91051028, 2165.38461538],
[859.06772495, 2149.30331334],
[859.06772495, 2181.46591743],
[859.91051028, 2165.38461538],
[859.91051028, 2165.38461538]]),
np.array([1, 2, 2, 2, 2],
dtype=Path.code_type))
outline_ring = LinearRing(outline_path.vertices)

print(mpl.__version__, outline_path.intersects_path(this_path),
outline_ring.intersects(this_ring))

Actual outcome

3.1.2 True False

Expected outcome

3.1.2 False False

Matplotlib version

Operating system: Fedora 30

Matplotlib version: 3.1.2

Matplotlib backend (print(matplotlib.get_backend())): N/A

Python version: 3.7

Jupyter version (if applicable): N/A

Other libraries: N/A

Issue 2:
This no longer works:

import matplotlib.pyplot as plt
from cycler import cycler
plt.rc('axes', prop_cycle=(
cycler('dashes', [(None, None), (None, None), (6, 6), (3, 3), (1.5, 1.5)])))

but it used to work in 1.5.

Now it yields

TypeError: float() argument must be a string or a number, not 'NoneType'
Issue 1:
by r@rcrowley.org:

What steps will reproduce the problem?

1. `8g fence.go && 8l fence.8 && ./8.out`
2. In another terminal, send SIGUSR2 to the 8.out process.

What is the expected output?

18:49:05.074168 fence.go:16: (open a file descriptor and do work)
18:49:27.745035 fence.go:37: SIGUSR2: user-defined signal 2
18:49:27.745898 fence.go:80: p.Pid: 12823
18:49:27.746709 fence.go:18: (do work with an inherited file descriptor)

The child process whose PID is printed delivers SIGQUIT to its parent, which exits
gracefully by returning from main.main, and then should remain running as a child of
init. Delivering SIGUSR2 to the child repeats the process, leaving its child behind,
and so on.

What do you see instead?

The expected output plus a panic. See attached panic.txt. The child does remain as a
child of init and the process can be repeated. The parent consistently panics instead
of successfully handling the SIGQUIT and returning from main.main.

Which compiler are you using (5g, 6g, 8g, gccgo)?

8g version weekly.2011-08-17 9460

Which operating system are you using?

Ubuntu 11.04 on i386. I have additionally tested in Ubuntu 10.04 and 11.04 on amd64.

Which revision are you using? (hg identify)

c62cf48b7dc4 tip

Please provide any additional information below.

Without a call to os.StartProcess or syscall.ForkExec, any number of signals may be
handled by <-signal.Incoming.

It additionally doesn't matter...

* which of os.StartProcess or syscall.ForkExec is used.
* that the same program is being executed.
* what's passed in the *os.ProcAttr.
* that exec.LookPath, os.Setenv, are os.Getpid are called in this code path.
* whether the architecture is i386 or amd64.
* whether the hypervisor is VirtualBox or Xen.
* whether the child or an unrelated process delivers the SIGQUIT.
* whether signals are recieved indirectly by <-signal.Incoming or directly in the
main goroutine by runtime.Sigrecv().

Attachments:

panic.txt (2366 bytes)

fence.go (1735 bytes)

Issue 2:
by aka.spin:

It would be nice to set additional library path to gotest. Like "-L" in *l.
Issue 1:
Description

Enter into the doc directory and try to make and generate pdf manual file, failed.

Steps/Code to Reproduce

Update the codebase to the latest version.

Enter into the "doc" directory, and type the cmd: make latexpdf

Wait after a while, errors will appear.

Expected Results

PDF file should be generated, at least should not be interrupted by the exceptions.

Actual Results

The build process has been interrupted by the errors, following is the details:

Traceback (most recent call last):

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

app.build(opts.force_all, filenames)

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

self.emit('build-finished', None)

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

return self.events.emit(event, self, *args)

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

results.append(callback(*args))

File "/usr/local/lib/python2.7/dist-packages/sphinx_gallery/gen_gallery.py", line 329, in sumarize_failing_examples

"\n" + "-" * 79)

ValueError: Here is a summary of the problems encountered when running the examples

Unexpected failing examples:

/home/kevin/research/openSource/scikit-learn-fork/examples/ensemble/plot_feature_transformation.py failed leaving traceb

ack:

Traceback (most recent call last):

File "/home/kevin/research/openSource/scikit-learn-fork/examples/ensemble/plot_feature_transformation.py", line 37, in

from sklearn.preprocessing import CategoricalEncoder

ImportError: cannot import name CategoricalEncoder

/home/kevin/research/openSource/scikit-learn-fork/examples/applications/plot_out_of_core_classification.py failed leavin

g traceback:

Traceback (most recent call last):

File "/home/kevin/research/openSource/scikit-learn-fork/examples/applications/plot_out_of_core_classification.py", lin

e 111

end='')

^

SyntaxError: invalid syntax

sphinx-err-M9XrCr.log

Versions

Linux-4.4.0-43-Microsoft-x86_64-with-Ubuntu-16.04-xenial

('Python', '2.7.12 (default, Nov 20 2017, 18:23:56) \n[GCC 5.4.0 20160609]')

('NumPy', '1.13.3')

('SciPy', '0.16.0')

('Scikit-Learn', '0.20.dev0')

Issue 2:
We currently use Travis to run unit tests with various versions of dependencies, including python 2. But we only run the examples when building the docs in python 3 with Circle CI. #9936 shows that this allows incompatible example code to be introduced, and I expect this to increase as more developers use python 3 though we still support python 2. Perhaps we should add a Travis run that builds the examples, whether or not it compiles the rest of the documentation.
Issue 1:
Description of the new feature/enhancement

In Windows 10, whenever Windows Terminal is launched it automatically launches as the Powershell profile even when opening a new terminal tab. The user should have free control on which profile they wish to use as default.

Proposed technical implementation details (optional)

This can be done by adding an attribute (setDefault or some other) to each profile and whichever is selected as "true" the rest are automatically set to "false" and if the user does not do this then the default profile set during install is used.

Issue 2:
right click position the cursor somewhere on the text displaying on the console, and while holding shift button move the cursor somewhere else and then right click to select the text between the 2 positions of the cursor.
Issue 1:
I'm submitting a...

[x] bug report

Current behavior

When using the following...

styles: [`
:host-context(body) {
background: red;
}
`]

Angular converts this to...

[_nghost-ytw-1]body, body [_nghost-ytw-1] {
background: red;
}

the problem here is this...

[_nghost-ytw-1]body

it's causing the whole rule to fail so even body [_nghost-ytw-1] will not receive the red background.

Expected behavior

If angular instead wrote the first selector out like the following swapping the order of "body" and "[_nghost-ytw-1]"...

body[_nghost-ytw-1]

the CSS would no longer fail and would be properly applied.

So if, the final CSS looked like this...

body[_nghost-ytw-1], body [_nghost-ytw-1] {
background: red;
}

the issue would be resolved.

Reproduction of the problem

Here is a working example of the issue: https://plnkr.co/edit/JTFhSPxZDt869RMwkNuC?p=preview

Please tell us about your environment:

Angular version: 2.0.0-rc.5

Browser: [all]

Issue 2:
UPD: Given discussion below, apparently the behavior is what it supposed to be. I am not closing, as there might be some more discussion.

I'm submitting a ... [x ] bug report

Current behavior

I created a couple of routes with data which I want to use when a router link is clicked:

const routes: Routes =
[
{path: 'run', data: {title: "Runner"}, component: RunComponent},
{path: 'walk', data: {title: "Walker"}, component: WalkComponent}
];

Then in my app I subscribed for ActivatedRoute data to extract the data defined on each route:

constructor(private route: ActivatedRoute) {
}
public ngOnInit() {
this.routeData= this.route.data.subscribe((data) => {
this.name = data.title;
});
}

When I click on the link the data object is empty

Expected behavior

I expect the ActivatedRoute to provide data that is defined on the currently active link

Reproduction of the problem

See Plunker http://plnkr.co/edit/I62gnvThO0nGN2jk9xhX?p=preview

Angular version: 2.0.0

Router version: 3.0.0
Issue 1:
Flow now has better support for React. We should upgrade the with-flow example to use the new version of flow.

Also, I don't know much about adding flow type support to libraries, but it doesn't seem like Next JS has flow types built in... would this be something worth adding?

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

Expected Behavior

In examples/with-flow/components/layout.js, we can change the children prop to be a required property, and change the value to React.Node. There are likely other changes that could be made - we can run flow-upgrade as described here to see what changes need to be made.

Current Behavior

with-flow example uses old flow version.

Issue 2:
Bug report

Describe the bug

Page open from Link not use assetPrefix to load chunked js when using granularChunks

To Reproduce

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

Let's say we have a site with www.example.com

add granularChunks in next.config.js

set an assetPrefix in next.config.js, like static.example.com

build and run in production mode

click link implemented by (e.g. <Link href={{pathname: '/index'}} as="/">link</Link>)

index.js will load from static.example.com and other js will load from www.example.com

Expected behavior

All js should be loaded from static.example.com

System information

OS: [Linux]

Browser (if applies) [chrome]

Version of Next.js: [9.1.1]
Issue 1:
Currently there is no User feedback when a user attempts to verify that a challenge is complete. The change from a tick to an X is very subtle and I would suggest implementing a screen flash. This would be especially helpful with people with slow/unreliable internet connections where it may take a while for the answer to verify.

Issue 2:
The Run tests (ctrl + enter) button in waypoints doesn’t give any visual feedback when the wrong code is submitted.

It would be nice to have this, especially useful to a novice Camper.
Issue 1:
I started trying to use VSCode with ES6 and I'm running into this. Changing the declaration to import * as path from 'path' for example works for intellisense, but then babel's transpiled output is invalid. Is there a plan to switch to the current syntax? If not, could anyone point me to some instructions on how to modify the d.ts files to work in this case?

Issue 2:
I try to do this:

import React, {Component} from 'react';

But I don't know how to define the react.d.ts to support this valid ES6 behavior.

The compiler produces this error:

error TS1192: Module '"react"' has no default export.
Issue 1:
alpine 3.5 python 2.7

Installing tensorflow using pip succesfully, but after import tensorflow` I got this

ImportError: Error relocating /usr/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal

.so: __sprintf_chk: symbol not found

Issue 2:
OS

Host: Windows 10 Professional 64bit

Docker container : Alpine

/ # cat /etc/issue

Welcome to Alpine Linux 3.6

Kernel \r on an \m (\l)

/ # uname -a

Linux 3b851449cb60 4.9.27-moby #1 SMP Thu May 11 04:01:18 UTC 2017 x86_64 Linux

Installation

Part of my dockerfile

FROM frolvlad/alpine-glibc

RUN apk update && apk add --no-cache \ wget ca-certificates unzip vim git \ gcc g++ python python-dev py-numpy-dev && \ apk add --no-cache --virtual=build-dependencies \ libffi-dev libressl-dev zlib-dev jpeg-dev freetype-dev libpng-dev

RUN wget https://bootstrap.pypa.io/get-pip.py && \ python get-pip.py && rm get-pip.py && \ ln -s /usr/include/locale.h /usr/include/xlocale.h && \ pip --no-cache-dir install requests[security] ipykernel jupyter matplotlib scipy scikit-learn pandas seaborn \ https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.0rc1-cp27-none-linux_x86_64.whl && \ python -m ipykernel.kernelspec

The dockerfile was built successfully. But when import tensorflow in a container , the following happened

Traceback (most recent call last):

File "", line 1, in

File "/usr/lib/python2.7/site-packages/tensorflow/init.py", line 24, in

from tensorflow.python import *

File "/usr/lib/python2.7/site-packages/tensorflow/python/init.py", line 49, in

from tensorflow.python import pywrap_tensorflow

File "/usr/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in

raise ImportError(msg)

ImportError: Traceback (most recent call last):

File "/usr/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in

from tensorflow.python.pywrap_tensorflow_internal import *

File "/usr/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in

_pywrap_tensorflow_internal = swig_import_helper()

File "/usr/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)

ImportError: Error relocating /usr/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so: __sprintf_chk: symbol

not found

Failed to load the native TensorFlow runtime.
Issue 1:
Challenge Name

All challenges in which there is a lot of code

For example Warn your Users of a Dangerous Action

Issue Description

Sometime when I go to next challenge something strange occurs. I'm pointing to one place, but it seems that in fact cursor is on other line that I want. The everything become normal after I press something.

Please look at video for more details.

Video

http://screencast.com/t/EdA4BFQBfEm0

Browser Information

Browser Name, Version: Google Chrome Canary 52.0.2743.0 (64-bit)

Operating System: Windows 10

Mobile, Desktop, or Tablet: Desktop

Issue 2:
Style Text Inputs as Form Controls

https://www.freecodecamp.com/challenges/style-text-inputs-as-form-controls

Issue Description

My cursor will not move through the code editor properly. I will try to select a spot in the code and I just can't. This has been an issue through multiple challenges. A hard refresh fixes it some of the time but it just keeps happening. It isn't my equipment either. I have tried restarting my computer. I have a mouse, touchscreen, and keyboard and none of them work properly while trying to move through.

Browser Information

Browser Name, Version: Firefox, 45.0.2

Operating System: Windows !0

Mobile, Desktop, or Tablet: Desktop.
Issue 1:
Describe what you were doing when the bug occurred:

Profiling my react web page

Please do not remove the text below this line

DevTools version: 4.1.2-5184346da

Call stack: at Map.has ()

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150140)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

Component stack: in dl

in div

in div

in div

in _o

in Unknown

in n

in Unknown

in div

in div

in zi

in Ge

in un

in ba

in Rc

Issue 2:
With 10,000 item nesting in DeeplyNestedComponents case:

Not super realistic but we could fix this by avoiding recursion in the traversal.

Originally reported by @gaearon via bvaughn/react-devtools-experimental#76
Issue 1:
When trying out the standard lineplot example on my machine, the code stops with an error in algorithm.py line 85:

TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'

line 85 is: sample = [a.take(resampler, axis=0) for a in args]

where resampler comes from the previous line resampler = integers(0, n, n)

and integers is np.random.default_rng().integers which default returns an array of int64.

Probably a recent change to np.take now checks the type of its first parameter (indices).

An obvious solution seems to be changing line 84 to resampler = integers(0, n, n, dtype=np.int32).

numpy version 1.18.1

seaborn version 0.10.0

Just running the default example caused the crash:

import seaborn as sns
import numpy as np
fmri = sns.load_dataset("fmri")
ax = sns.lineplot(x="timepoint", y="signal", data=fmri)

Issue 2:
Using the latest commit 74ca190, it appears as if you can no longer pass the xticklabels and yticklabels through clustermap to heatmap since those kwargs are present in heatmap, thus resulting in a duplicate argument error. This was not the case previously in 0.5.1, I believe. See e5684e3#diff-33635340559df70c3277d4c8a87885e1R169
Issue 1:
Currently hydration warnings only appear in the console and can be easy to miss. Since hydration errors can have very bad effects we should trigger the dev-error-overlay to make sure the user is aware of them

Issue 2:
Feature request

When a hydration error occurs, Next.js should open the error overlay since this is considered a fatal event.

The code should be hot-linked so users can click-to-open in their editor.

We did not implement this previously because React did not give you a way to track it down.

React 16.13 finally added support for component stack traces:

https://reactjs.org/blog/2020/02/26/react-v16.13.0.html#component-stacks-in-hydration-warnings

Old

New
Issue 1:
Test case: http://play.golang.org/p/9oz7e7AKzd

In the example above A embeds b which embeds c. There are public functions on b, which is shown correctly in godoc as belonging to A. However, it seems like godoc only searches 1 level deep, and functions on c are not shown even though they are valid for calls by the compiler.

Reproducible on 1.4.1 and 1.3.3.

Real life example: source / godoc. A specific query type includes "geoJSONQuery" which includes "query", and I would like to have the functions on "query" to show up. I would however prefer not to expose any of the internal types since they aren't useful themselves.

Issue 2:
Fix the cmd/godoc side of issue

https://code.google.com/p/go/source/detail?r=f5b37c93e4c5bb2962c added some methods to
go1.txt that were always there, but neither cmd/godoc nor cmd/api (both with their own
bad embedding rules) detected.

Robert's rewrite of cmd/api to use go/types fixed cmd/api, but cmd/godoc is still broken.

This bug is about making those methods (like issue #6125 -- xml.Encoder.Reset / Available
/ etc) show up, if they're actually there. (But issue #6125 should remove them)
Issue 1:
API Routes should emulate lambdas with run-to-completion semantics. This behavior should ensure API routes don't misbehave when deployed to production.

Closes #8000

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

Context

I'm tying to get multiple query data. I came up with this before redirect:

Router.push('/acceptance/procurement/RejectedInfo?procurementUUID=0ae56414-0699-4866-898d-be41ab146523?acceptanceUUID=24ecb437-8e52-48f1-82f8-d5d7fb1d22b7');

which mean there is 2 query param:

procurementUUID=0ae56414-0699-4866-898d-be41ab146523 and

acceptanceUUID=24ecb437-8e52-48f1-82f8-d5d7fb1d22b7'

but in my props, both query is merged with procurementUUID

How can I separate procurementUUID and acceptanceUUID value?

Thanks in advance.