WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
When I try to navigate in commits React Dev Tools Profiler I get this error:

"Commit tree does not contain fiber 8562."

DevTools version: 4.6.0-6cceaeb67

Component stack: in ec

in div

in div

in div

in So

in Unknown

in n

in Unknown

in div

in div

in rl

in Ze

in fn

in Ga

in _s

Issue 2:
Describe what you were doing when the bug occurred:

when I start profiler from my login screen

when I go to any route I stop the profiler it get error cannot debug profiler

Please do not remove the text below this line

DevTools version: 4.11.0-39713716aa

Call stack: at updateTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20532:21)

at getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20377:26)

at ProfilingCache_ProfilingCache.getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20951:11)

at CommitFlamegraphAutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35462:33)

at Rh (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13245:7)

at Ci (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13944:7)

at uk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16725:86)

at tk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16245:11)

at qk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16237:23)

at jk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16221:5)

Component stack: at CommitFlamegraphAutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35445:34)

at div

at div

at div

at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29121:3)

at Profiler_Profiler (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37243:34)

at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30035:5)

at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30157:5)

at div

at div

at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:34264:3)

at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:25356:3)

at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:25963:3)

at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30300:3)

at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37639:3)
Issue 1:
Hi! I am using Atom on a Linux (Ubuntu) machine and I have spanish (es-ES) layout on my keyboard.

When writting code everything is ok, but with commands, the Key Binding Resolver console is showing bas results.

I suspect it is showing what the key combination would be for an (EN) keyboard layout. For example if I press (SHIFT) - , it show < symbol. But this is not correct in a spanish keyboard, we have ; there. So looks that it is taking waht is is suposed to be in that key, not what the system is actually passing.

Issue 2:
Regarding: atom/atom#2600

@kevinsawicki

Compare US and (for example)

German keyboard layout

I think its easy to see why src/helpers.coffee is destined to fail horribly.

One example to demonstrate: I try to Toggle comments using Ctrl-/. For that I would have to press Ctrl-Shift-7 as you can see above. It registers Ctrl-?.

I don't know how, but your script somehow catches my Ctrl-Shift-7 (which would be shift+55) and makes it an ? (191) where it should make it an &.

Edit: What is that; If I press # on my keyboard it gets resolved to 3 in the keybinding resolver, but inserted correctly into the text. Something is very very wrong here! 😱
Issue 1:
The weekly build with nightly wheels from numpy and pandas

has failed. Check the logs for any updates that need to be

made in matplotlib.

https://github.com/matplotlib/matplotlib/actions/runs/2680570274

Issue 2:
https://matplotlib.org/Matplotlib.pdf page 20 (bottom of the page)

To save plots using the non-interactive backends, use the matplotlib.pyplot.

savefig('filename') method.

written twice.
Issue 1:
Trying the new "docker_login" task against RHEL 7.1 server (Docker 1.7.1). Error message says:

"your version of docker-py is outdated: pip install docker-py>=1.1.0"

This might be a comeback from issue on RHEL/CentOS from ansible/ansible-modules-core#1792, but I am not sure. In that case it was just a matter of figuring out the "docker-python" version that fit the docker engine at hand.

Got a few production servers on RHEL 7.1 (Docker 1.7.1). No version of "docker-python" seems to fit.

Querying repos for available versions:

repoquery --show-duplicates docker-py*

Results in:

docker-python-0:0.7.1-37.el7.x86_64

docker-python-0:1.0.0-21.el7.x86_64

docker-python-0:1.0.0-22.el7.x86_64

docker-python-0:1.0.0-35.el7.x86_64

docker-python-0:1.0.0-53.el7.x86_64

docker-python-0:1.4.0-108.el7.x86_64

docker-python-0:1.4.0-115.el7.x86_64

This is on RHEL 7.1 and Docker 1.7.1. I can try later on CentOS 7.2 and Docker 1.8.2.

BTW, I can't use "pip" on my servers (at least now right now).

Issue 2:
ISSUE TYPE

Feature Idea

COMPONENT NAME

lineinfile module

ANSIBLE VERSION

ansible 2.0.2.0

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

lineinfile will only replace the last occur of the regex. This doesn't provide a solution for cases where there are duplicate lines and you want to replace the line that is not the last occurrence.

The feature suggestion is to add a COUNT option to indicate which occurrence of the regex should be considered a match ( rather than just the last one ). Default value for COUNT could be -1 to indicate last occurence by default so this update doesn't effect the current module behavior.

Thank you for your consideration.

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS
Issue 1:
Original ticket http://projects.scipy.org/numpy/ticket/1014 on 2009-02-20 by @wesm, assigned to unknown.

This error is very unintuitive for end-users, arrays formed from SQL query results can frequently end up as object arrays by accident.

In [15]: arr = np.random.randn(100).astype(object)

In [16]: np.log(arr)

AttributeError Traceback (most recent call last)

H:\workspace\Python\src in ()

AttributeError: log

Same AttributeError is raised for other ufuncs

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/1013 on 2009-02-20 by @wesm, assigned to unknown.

This error is very unintuitive for end-users, arrays formed from SQL query results can frequently end up as object arrays by accident.

In [15]: arr = np.random.randn(100).astype(object)

In [16]: np.log(arr)

AttributeError Traceback (most recent call last)

H:\workspace\Python\src in ()

AttributeError: log

Same AttributeError is raised for other ufuncs
Issue 1:
Please answer these questions before submitting your issue. Thanks!

开源不易，我们希望将精力放在完成新功能和解决有价值的问题上，为了让大家的配合更具有效率，请填写以下列出的全部问题

Which version of Sharding-Jdbc do you using?（您使用的Sharding-Jdbc版本为？）

2.0.2

Expected behavior （您预期的结果是）

ddl只在master执行

Actual behavior （实际运行的结果是）

ddl在master & slave均有执行

Steps to reproduce the behavior （可重现问题的操作步骤）

很简单的做法，比如你执行一个创建tables的脚本，检查发现master与slave均有创建。

Please provide the reproduce example codes (such as github link)，otherwise we will label the issue as Invalid and close it.（为了节省复现问题的时间，请务必提供可重现的代码，否则我们会将issue直接标记为invalid并关闭）

Code should based on https://github.com/shardingjdbc/sharding-jdbc-example

（代码请基于 https://github.com/shardingjdbc/sharding-jdbc-example）

Issue 2:
Bug Report

For English only, other languages will not accept.

Before report a bug, make sure you have:

Searched open and closed GitHub issues.

Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.

If no response more than 7 days and we cannot reproduce it on current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Which version of ShardingSphere did you use?

3.1.0

Which project did you use? Sharding-JDBC or Sharding-Proxy?

Sharding-JDBC

Expected behavior

no error

Actual behavior

ERROR 3054 (HY000): Unknown exception: java.lang.Integer cannot be cast to java.lang.String

Reason analyze (If you can)

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

configure a string column A as sharding column.

select * from x where A='abc';

error

my preciseAlgorithmClass：

public class StringHash128By30Char implements PreciseShardingAlgorithm<String> {
private PartitionByString partitionByString = new PartitionByString(128, ":30");

@Override
public String doSharding(Collection<String> availableTargetNames, PreciseShardingValue<String> shardingValue) {
for (String availableTargetName : availableTargetNames) {
Integer calculate = partitionByString.calculate(shardingValue.getValue());
String suffix = String.format("_%03d", calculate);
if (availableTargetName.endsWith(suffix)) {
return availableTargetName;
}
}
throw new UnsupportedOperationException("sharding value:" + shardingValue);
}

}

I debug and find shardingValue.value=-1

Example codes for reproduce this issue (such as a github link).
Issue 1:
According to semver, only non-breaking changes are supposed to go into minor and patch version releases. With the release of 16.4, you have made breaking changes to getDerivedStateFromProps. Our entire codebase, running perfectly on 16.3.2 is a dumpster fire as soon as we raise that dependency to 16.4.

The only thing in your CHANGELOG about this breaking change is:

Properly call getDerivedStateFromProps() regardless of the reason for re-rendering. (@acdlite in #12600 and #12802)

Please revert this change and save it for 17.0.0, or provide proper documentation to what this change actually entails so that its use can be adjusted by those who have already implemented getDerivedStateFromProps.

Issue 2:
Currently in React 16.8.6, we get this error when changing the state in a affected useEffect,

Invariant Violation: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

Now it can of course happen also in useEffects and it could be nice to have this message updated mention something about the "dangerous" combination of useStates and useEffects.
Issue 1:
Environment

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

Steps to reproduce

Expected behavior

Actual behavior

Screenshots

Issue 2:
Summary of the new feature/enhancement

From what I've seen Keyboard Manager does not allow to remap key combination to a single key or the other way around. I found this strange. For example, I like to have left, down, up, right arrows mapped to <ctrl-h>, <ctrl-j>, <ctrl-k>, <ctrl-l> in vim style. I use AutoHotkey for this purpose, but I'd be nice to do this in PowerToys. Also, I am mapping CapsLock key to a key combination.

My suggestion is to allow mapping anything into anything.

Also, it'd be nice to have an option if you want previous function removed or just duplicated.
Issue 1:
Hi, can i disable extension, just like atom?

Issue 2:
When looking for problems with intellisense (#2850) I wanted to clean up my config by disabling all extensions. However they can only be deleted.

This would be a generally useful option in case extensions are causing problems.

@joaomoreno

Figure out format to store extensions disablement in settings

Move extension scanning to Renderer (with @joaomoreno)

Ignore disabled extensions when scanning for them at runtime

Provide UI for enabling / disabling an extension for a workspace or globally

Telemetry
Issue 1:
This could be implemented as dist1.kldiv(dist2) (provided type(dist1) == type(dist2)) or something similar. KL divergence is a very useful diagnostic for policy gradient algorithms in general and some have a KL divergence penalty as part of their objective function (e.g.), so I think this would be useful to have.

Also, the documentation mentions an entropy() method but doing dir(torch.distributions.Distribution) on my installation shows no such method. Is that correct?

Issue 2:
🐛 Bug

To Reproduce

When tensors are on cpu, following program acts correctly.

# adding 1.0 to a[0] twice

DEVICE = torch.device("cpu")

a = torch.zeros((3), device=DEVICE)

a.index_put_([torch.tensor([0, 0], device=DEVICE)], torch.tensor(1., device=DEVICE), accumulate=True)

tensor([2., 0., 0.])

But on gpu,

DEVICE = torch.device("cuda:0")

a = torch.zeros((3), device=DEVICE)

a.index_put_([torch.tensor([0, 0], device=DEVICE)], torch.tensor(1., device=DEVICE), accumulate=True)

RuntimeError: linearIndex.numel()sliceSizenElemBefore == value.numel() INTERNAL ASSERT FAILED at /opt/conda/conda-bld/pytorch_1587428398394/work/aten/src/ATen/native/cuda/Indexing.cu:220, please report a bug to PyTorch. number of flattened indices did not match number of elements in the value tensor21

It seems adding single value torch.tensor(1.) at multiple indices torch.tensor([0, 0]) is supperted on cpu, but not on gpu.

I could add multiple values torch.tensor([1., 1.]) at multiple indices torch.tensor([0, 0]) bath on cpu and on gpu.

Environment

PyTorch version: 1.5.0

Is debug build: No

CUDA used to build PyTorch: 10.1

OS: Ubuntu 18.04.4 LTS

GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

CMake version: version 3.10.2

Python version: 3.7

Is CUDA available: Yes

CUDA runtime version: Could not collect

GPU models and configuration: GPU 0: GeForce GTX 1080

Nvidia driver version: 418.87.00

cuDNN version: Could not collect

Versions of relevant libraries:

[pip3] numpy==1.18.4

[pip3] torch==1.5.0

[conda] blas 1.0 mkl

[conda] cudatoolkit 10.1.243 h6bb024c_0

[conda] mkl 2020.0 166

[conda] mkl-service 2.3.0 py37he904b0f_0

[conda] mkl_fft 1.0.15 py37ha843d7b_0

[conda] mkl_random 1.1.0 py37hd6b4f25_0

[conda] numpy 1.16.6 pypi_0 pypi

[conda] numpydoc 0.9.2 py_0

[conda] pytorch 1.5.0 py3.7_cuda10.1.243_cudnn7.6.3_0 pytorch

[conda] torchvision 0.6.0 py37_cu101 pytorch

cc @mruberry @kurtamohler @brianjo @jlin27
Issue 1:
Apache Airflow version

2.3.0 (latest released)

What happened

Lets say we have series of tasks, currently we executing task B , if the scheduler process gets killed, then worker thats running task B continues to run and we start the scheduler again and task B was still running because of worker is not killed, then task B would be started for second time with attempt 2, not considering the earlier process.

What you think should happen instead

when scheduler is killed it should kill worker process or scheduler is restarted it will should able to link back.

How to reproduce

step1. create task that run for long time. here is example with bashoperator.

CUSTOM_JOB = BashOperator(

task_id='CUSTOM_JOB',

bash_command=' for (( i= 1; ; i++)); do echo "Pres CTRL+C to stop... for $i"; sleep 1; if [ $i -gt 200 ]; then exit 0; fi; done',

)

step 2. make sure airflow scheduler is runing and trigger the dag.

step 3. kill the airflow scheduler process in mid way of task execution

step 4: start the airflow scheduler back again, now you will be see two instance of task running parallely.

it will marked as complete once the task instance scheduled by previous scheduler compeletes.

[2022-05-05, 13:50:13 UTC] {subprocess.py:92} INFO - Pres CTRL+C to stop... for 164

[2022-05-05, 13:50:14 UTC] {subprocess.py:92} INFO - Pres CTRL+C to stop... for 165

[2022-05-05, 13:50:14 UTC] {local_task_job.py:220} WARNING - State of this instance has been externally set to success. Terminating instance.

[2022-05-05, 13:50:14 UTC] {process_utils.py:125} INFO - Sending Signals.SIGTERM to group 9365. PIDs of all processes in the group: [9396, 30772, 9365]

Operating System

redhat 7.9

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct

Issue 2:
airflow/airflow/www/yarn.lock

Lines 4208 to 4211
in
7490c6b

jquery@>=1.7, jquery@>=3.4.0, "jquery@^1.8.3 || ^2.0 || ^3.0":

version "3.4.1"

resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2"

integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw==

CVE-2020-11023 CVE-2020-11022

Recommended upgrade version：3.5.0
Issue 1:
Hi! I'm trying to use ThreeJS and the VRMLLoader to display vrml files generated by Catia. I just duplicated your example and tried to load my file. Console shows this message:

TypeError: angles is undefined VRMLLoader.js:125

here is the file

Is it because the loader is not fully implemented or because of the exported file ?

EDIT: I also have the following notices and I'm not sure if it is due to browsers not supporting PVRTC or 3js implementation ?

"THREE.WebGLRenderer: PVRTC compressed textures not supported."
"THREE.WebGLRenderer: min max blend equations not supported."

Issue 2:
three.js/examples/js/loaders/TDSLoader.js

Lines 53 to 60
in
97cab20

var loader = new THREE.FileLoader( this.manager );

loader.setResponseType( 'arraybuffer' );

loader.setPath( path );

loader.load( url, function ( data ) {

@cnspaha I don't think you should loader.setPath( path ); at L57, it result in the loader duplicating the base path when trying to load the mesh file.

(i.e. loading 'file:///some/path/mesh.3ds' result in the loader trying to load 'file:///some/path/file:///some/path/mesh.3ds' )
Issue 1:
In console, these are the error messages displayed. Files downloaded from bootstrap site 09/17/2013.

CSS3111: @font-face encountered unknown error.

glyphicons-halflings-regular.eot

CSS3112: @font-face failed WOFF integrity check.

glyphicons-halflings-regular.woff

CSS3111: @font-face encountered unknown error.

glyphicons-halflings-regular.ttf

Issue 2:
When using a customized version of Bootstrap 3.0 the Glyph icons don't work. The font file sizes differ from the "normal" version.
Issue 1:
Bug Report

Current Behavior

I have created the file .babelrc in the root of my React native project and install all related node_modules related to that. Go to definition with VSC with any of these paths not working. I have provided example below in the file with the supported attached png.

import { getMediaAll } from 'actions/categories';

Expected behavior/code

When I import any variable with the file path defined with the below parameters it should to go the definition with VSC.

Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)

Filename: .babelrc

{
"plugins": [
[
"module-resolver",
{
"root": ["./src"],
"extensions": [".js", ".ios.js", ".android.js"],
"alias": {
"assets": "./src/assets",
"components": "./src/components",
"config": "./src/config",
"navigation": "./src/navigation",
"atoms": "./src/atoms",
"actions": "./src/redux/actions",
"reducers": "./src/redux/reducers",
"screens": "./src/screens",
"services": "./src/services",
"theme": "./src/theme"
}
}
]
]
}

Environment

System:
OS: macOS 10.15.1
Binaries:
Node: 10.16.3 - /usr/local/bin/node
npm: 6.11.3 - ~/.npm-packages/bin/npm
npmPackages:
babel: ^6.23.0 => 6.23.0
babel-plugin-module-alias: ^1.6.0 => 1.6.0
babel-plugin-module-resolver: ^3.2.0 => 3.2.0
babel-plugin-transform-remove-console: 6.9.4 => 6.9.4
babel-preset-expo: ^8.0.0 => 8.0.0
react-native: https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz => 0.61.4

Issue 2:
I deconstructed my Create-React-App with Webpack 4 & Babel 7. The first time I ran the command "npm run build" it worked and created a new build folder. Now after the first time I am trying to run the command again and I am getting the error blow.

ERROR in ./src/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js):

I searched for the solution but all I could find was babel versions discrepancy in Package.json file, something that I don't seem to have.
Issue 1:
Electron version: 1.3.0

Operating system: OS X 10.11.6

OS X Crash report

Electron hard-crashes when running the following snippet:

webContents.isDevToolsOpened(); // true

var wsd = "/Users/schmod/path/to/a/directory";

try {
webContents.removeWorkSpace( wsd );
} catch (e) {}

webContents.addWorkSpace( wsd );

Adding a folder to the workspace via the UI also causes a crash.

See also: s-a/iron-node#114

Issue 2:
Electron version: 1.3.0

Operating system: Kubuntu 16.04
Issue 1:
Simple steps to reproduce:

Run this script:

function test(a: number, b: number): number{
return a + b;
}
test(, 5);

Then, after run, we receive empty error.

error:

Issue 2:
With the following code I get almost no output.

import {
serve,
} from "https://deno.land/std/http/server.ts";
const s = serve({
port: 8000
});

for await (const req of s) {
let lolomo:
}

Here is me running the script

> deno run -A index.ts
error:
Issue 1:
INFO: this is related to getbootstrap.com main site

Please make top menu fixed.

I belive that many people use it as reference and read styling, components and other there, so when you need fast swwitch you need to scroll to top of page for change :)

NHF :) 👍

Issue 2:
Please make de docs navbar fixed again. I use it extensively and it was very nice to quickly change sections in the documentation. Now I have to scroll, and scroll and scroll....
Issue 1:
THE CODE IS CORRECT BUT IT WONT ACCEPT IT AND ALLOW ME TO PASS, MULTIPLE USERS IN CHAT ARE HAVING THIS ISSUE

<script>
$(document).ready(function() {
$("#target1").css("color", "red");
});
</script>

<!-- Only change code above this line. -->

<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>

Issue 2:
Challenge Waypoint: Use Hex Code for Specific Colors has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586.

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

My answer is correct but wrongly flagged as erroneous.

My code:

<style>
body {
background-color: #000000;
}
</style>