WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Atom recently updated with a different version of CEF causing this issue to occur (mouse dragging is broken).

Issue was first spotted here about the CEF bug:

https://www.virtualbox.org/ticket/13968

Workaround for Chromium here: https://code.google.com/p/chromium/issues/detail?id=456222#c82

Chromium made a fix at this version: https://code.google.com/p/chromium/issues/detail?id=456222#c133

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

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

Is it possible to pass parameters to Atom’s command line so that chrome engine will understand them?
Issue 1:
We tried integrating Glide with our project. After adding glide as dependencies in build.gradle, project compilation started failing. It throws an error saying

Cannot find symbol class KeyEventCompat

build.gradle

implementation 'com.github.bumptech.glide:glide:4.4.0'

annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'

Glide Version 4.4.0

Issue 2:
Glide Version:4.4.0

Integration libraries:No

Device/Android Version: Google Pixel

Issue details / Repro steps / Use case background:

The activity has a textview & imageview & imageview is using glide to load image, when the activity launches, it'll crash.

Glide load line / GlideModule (if any) / list Adapter code (if any):GlideModule

GlideApp.with(imageView.getContext())
.load(url)
.placeholder(placeholder)
.error(error)
.into(imageView);

Stack trace / LogCat:

java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface; in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of 'android.support.v4.content.res.ResourcesCompat'
at android.support.v7.widget.TintTypedArray.getFont(TintTypedArray.java:119)
Issue 1:
Is there an existing issue for this?

I have searched the existing issues

This issue exists in the latest npm version

I am using the latest npm

Current Behavior

see that ticket : nodejs/node#43348

Expected Behavior

see that ticket : nodejs/node#43348

Steps To Reproduce

see that ticket : nodejs/node#43348

Environment

see that ticket : nodejs/node#43348

Issue 2:
Expected Behavior:

NPM produces a valid tarball with no duplicated slashes on npm pack or npm publish.

Actual Results

I get a 415 - "no package.json found in tarball"

If I open the tarball in xarchiver I get a massive failure (application will crash ~15% of the time) but the CLI shows the issue. There are double slashes after the "package" root directory name.

WORKAROUND

Opening the archive in file-roller and moving the files out of the dir with no name, into the "package" dir allows me to publish by specifying the archive explicitly.
Issue 1:
Migrated issue, originally created by Anonymous

(original reporter: d0ugal) When using

Index('content_index', 'content', postgresql_using="gin")

I get

sqlalchemy.exc.ProgrammingError: (ProgrammingError) data type text has no default operator class for access method "gin"
HINT: You must specify an operator class for the index or define a default operator class for the data type.
'CREATE INDEX content_index ON post USING gin (content)' {}

because postgres expects something like

CREATE INDEX content_index ON post USING gin(to_tsvector('english', content));

http://www.postgresql.org/docs/9.1/static/textsearch-tables.html#TEXTSEARCH-TABLES-INDEX

Issue 2:
Migrated issue, originally created by jek (@jek)

indexes (postgres and mysql, at least) can be defined as expressions as well as simple column lists.

the mysql case isn't really free-form expressions ala postgres, it's 2 options (substring length, sort order) and that can be composed as an expression. so, alternately, indexes could be definable with expressions and/or per-column meta data.

a survey of other dialects would be handy, i'm a pretty rusty on their ddl.

Attachments: 695.patch
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: xxx

Operating System version: xxx

Java version: xxx

Steps to reproduce this issue

xxx

xxx

xxx

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!

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

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.9-SNAPSHOT

Operating System version: travis ci

Java version: 1.8

Steps to reproduce this issue

Add a pr ，and is is built successful

Expected Result

We can see the coverage report commented by codecov

Actual Result

Now codecov doesn't comment
Issue 1:
This code highlights an invalid code location:

fn main() {
let x = [1,2,3];
#debug(x);
}

Returns this error message:

foo.rs:4:186: 4:187 error: first argument to #fmt must be a string literal.
foo.rs:4 }
^
rust: upcall fail 'explicit failure', ../src/comp/driver/session.rs:71
rust: domain main @0x102029600 root task failed
rust: fatal, 'leaked memory in rust main loop (2 objects)' failed, ../src/rt/memory_region.cpp:158 2 objects

Issue 2:
If you write something like #debug["%u", 10], the type error (unsigned vs signed int) gets reported in core.rs, at the definition of #debug, rather than at the point of use. This is very confusing and makes you think something is fundamentally wrong in the Rust libraries (as in, they don't compile) rather than your own code. I think this ought to be fixed before 0.1 so I associated it with that milestone, but others may disagree.
Issue 1:
How to reproduce:

Have user stylesheet with custom editor font set

Start new editor, previously opened buffers are restored

Cursor and selection position does not match rendered text

Way to fix:

When I re-open same buffer again, it works OK.

I am using Atom v0.196.0 on GNU Operating System

Issue 2:
Possibly related to #3201, if you have fonts loaded through @font-face (e.g. using my fonts package), a reload causes the cursor/selection alignment to misbehave. Switching to the default font (i.e. empty the font family box in settings) restores it. You can then switch back to an @font-face font and it will work properly again.

Steps to reproduce:

Use an @font-face font as outlined here: https://discuss.atom.io/t/how-do-i-load-google-fonts-into-my-editors-styles/8321/7 (or by using http://atom.io/packages/fonts).

Put the name of the font in settings (e.g. 'aka-coder').

Open a file in Atom: all should look well in the new font.

Choose View > Reload.

Cursor and selection should now misalign. You can check this by double-click-selecting a word or by typing a row of characters.

Switch to settings.

Empty the font-family setting.

Switch to the file and all should look well again in the default font.

Switch to settings.

Put the name of the font in settings (e.g. 'aka-coder').

Switch to the file and all should look well again in aka-coder.
Issue 1:
While working on the EXRExporter implementation, I realized that we do not have an option for async readbacks using gl.readPixels. This option becomes available on WebGL2 contexts with specialized fencing for determining when data is ready to be read, and a new buffer type of PIXEL_PACK_BUFFER.

I can't overstate how important this feature is. It's used in plenty of real user applications, from gpu-picking, render processing, general purpose GPU computing, so on and so forth. The main setback for most of these is how WebGL1 readPixels blocking nature completely kills performance and use in real-time applications.

MDN WebGL best practices has a great section about how this process can be done. I believe we should be looking into integrating this alternative workflow into our GL2 renderer.

The main concern is introducing fences for the first time into threejs' workflow. We could just handle specific fences on methods that expect them. or we could setup a proper internal interface for fences that could be expanded and used in other aspects of the library, like shader linking and compiling, framebuffer completing, etc. However, that's a much larger endeavour.

I'm willing to work on a PR for this feature, but I would like to discuss options and decide what's the best course of action. So I encourage others to chime in with suggestions.

Issue 2:
Is your feature request related to a problem? Please describe.

WebGL2 (which is now supported by all modern browsers) offers powerful General Purpose GPU capabilities. three.js already implements an impressive array of these features (like WebGLMultipleRenderTargets). This GPGPU suite is nearly complete, but it's missing a performant way of reading texture data back from the GPU. renderer.readRenderTargetPixels() waits for a sync with the GPU before the download starts, costing tens of milliseconds per-call on PC and more on mobile.

Describe the solution you'd like

WebGL2 adds the ability to bind _gl.PIXEL_PACK_BUFFERs, which allow for asynchronous readback from the GPU Texture Buffers, largely eliminating the performance impact of GPU -> Code. This should open up all kinds of GPU Physics (and other GPGPU) Solutions.

Describe alternatives you've considered

Luma.gl implemented async readback a few years ago

Babylon.js also has some functionality for this

(One implementation in Babylon...)

Unity has a similar mechanism for this

Additional context

My immediate use-case would be to speed up this GPU Finite Element Modelling simulation.

If I can get everything running fast a stable on all platforms, I'd also like to contribute a new GPUComputationRenderer (which would support WebGLMultipleRenderTargets and separate the concept of "passes" from "variables", allowing for multiple passes over the same data).
Issue 1:
Steps to reproduce

set "Maxium number of results" to 10

open powerlauncher and type something

set "Maxium number of results" to 2

open Powerlauncher

Expected behavior

Lanucher size matches number of elements

Actual behavior

Launcher is still sized for 10 elements

Issue 2:
Via settings, reduce the number of shown results

the search result is not resized properly.
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

请上传到maven长裤 自己编译不通过

Issue 2:
Dubbo选用http协议，consume发送的URL，如何添加自定义参数？

查阅官方文档，发现有个“信息交换扩展（exchanger）”貌似可以实现在发送的URL里添加自定义参数。

但，网上没有相关自定义扩展的案例，不知道如何实现？

我期望的是：

consume端，在发送URL时，携带sessionId一起发送，http请求。（求解）

provider端，配有Spring Session的请求拦截器，通过URL获取到sessionId，以达到session共享的目的。（这部分已经扩展，可以从Cookie和URL里拦截请求获取sessionId）

信息交换扩展

扩展说明

基于传输层之上，实现 Request-Response 信息交换语义。

扩展接口

com.alibaba.dubbo.remoting.exchange.Exchanger

com.alibaba.dubbo.remoting.exchange.ExchangeServer

com.alibaba.dubbo.remoting.exchange.ExchangeClient

扩展配置

<dubbo:protocol exchanger="xxx" />

<dubbo:provider exchanger="xxx" />

已知扩展

com.alibaba.dubbo.remoting.exchange.exchanger.HeaderExchanger
Issue 1:
After a 1-way network partition scenario, two nodes might be stuck in different opinions of which nodes are currently in the cluster.

I.e. with 5 nodes:

Node 1 sees node 1, 3 and 5. This is a RED cluster.

Node 2 sees node 1, 2, 4 and 5. This is a GREEN cluster.

All of this according to the nodes endpoint.

The cluster is stuck in this state, even when every node could reach every other node (verified with curl on the es http port and binary port).

Some of these nodes give an NPE for the _status endpoint:

{"error":"NullPointerException[null]","status":500}

All nodes are configured to discover all the others through unicast.

Discovered on ES 0.90.13 on RHEL 6.5.

Issue 2:
G'day,

I'm using ElasticSearch 0.19.11 with the unicast Zen discovery protocol.

With this setup, I can easily split a 3-node cluster into two 'hemispheres' (continuing with the brain metaphor) with one node acting as a participant in both hemispheres. I believe this to be a significant problem, because now minimum_master_nodes is incapable of preventing certain split-brain scenarios.

Here's what my 3-node test cluster looked like before I broke it:

Here's what the cluster looked like after simulating a communications failure between nodes (2) and (3):

Here's what seems to have happened immediately after the split:

Node (2) and (3) lose contact with one another. (zen-disco-node_failed ... reason failed to ping)

Node (2), still master of the left hemisphere, notes the disappearance of node (3) and broadcasts an advisory message to all of its followers. Node (1) takes note of the advisory.

Node (3) has now lost contact with its old master and decides to hold an election. It declares itself winner of the election. On declaring itself, it assumes master role of the right hemisphere, then broadcasts an advisory message to all of its followers. Node (1) takes note of this advisory, too.

At this point, I can't say I know what to expect to find on node (1). If I query both masters for a list of nodes, I see node (1) in both clusters.

Let's look at minimum_master_nodes as it applies to this test cluster. Assume I had set minimum_master_nodes to 2. Had node (3) been completely isolated from nodes (1) and (2), I would not have run into this problem. The left hemisphere would have enough nodes to satisfy the constraint; the right hemisphere would not. This would continue to work for larger clusters (with an appropriately larger value for minimum_master_nodes).

The problem with minimum_master_nodes is that it does not work when the split brains are intersecting, as in my example above. Even on a larger cluster of, say, 7 nodes with minimum_master_nodes set to 4, all that needs to happen is for the 'right' two nodes to lose contact with one another (a master election has to take place) for the cluster to split.

Is there anything that can be done to detect the intersecting split on node (1)?

Would #1057 help?

Am I missing something obvious? :)
Issue 1:
From @louy on December 26, 2015 11:41

There's a very annoying issue when hitting "format code" in a TS file. Here's an example:

[{
}, {
}]
// or
fn({
}, {
})

becomes:

[{
}, {
}]
// or
fn({
}, {
})

This gets really annoying when you have large nested objects containing things like functions etc...

Copied from original issue: microsoft/vscode#1661

Issue 2:
A number of times recently I've run into problems when I search for a function in TypeScript, deleted it and find that I'm not getting errors for the missing references. Turns out it found the generated .JS not the source. This is VS2015 fully updated.

How do I prevent it from stumbling into the .JS code.

Or is this a bug one one of the addins for Visual Studio? If so which one?
Issue 1:
What steps will reproduce the problem?
Run this program:

package main

import (
"fmt"
"os"
"text/template"
)

type Foo struct {
}

func (foo Foo) Greeting() string {
return "Hello"
}

type Bar struct {
Foo
}

func main() {
t := template.Must(template.New("").Parse("{{.Greeting}}\n{{.Foo.Greeting}}\n"))

var bar Bar
var unnamed struct{
Foo
}

if err := t.Execute(os.Stdout, bar); err != nil {
fmt.Println(err)
}
fmt.Println("===========")
fmt.Println(bar.Greeting())
fmt.Println(unnamed.Greeting())
fmt.Println("===========")
if err := t.Execute(os.Stdout, unnamed); err != nil {
fmt.Println(err)
}
}

What is the expected output?

Hello
Hello
===========
Hello
Hello
===========
Hello
Hello

What do you see instead?

Hello
Hello
===========
Hello
Hello
===========
template: :1: can't evaluate field Greeting in type struct { main.Foo }

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

Which operating system are you using?
Linux

Which revision are you using? (hg identify)
96bd78e7d35e weekly/weekly.2012-02-22

Please provide any additional information below.

Issue 2:
What does 'go version' print?
go version devel +ff82d3107ab3 Sun Aug 31 22:49:14 2014 -0400 windows/amd64

What steps reproduce the problem?

Create a program that uses math.h / pow function in two separate packages. Try to link
them together into one main program:

1. bug/bug.go: http://play.golang.org/p/nFkVRN6qN-
2. bug/one/one.go: http://play.golang.org/p/4e68AXsW1r
3. bug/two/two.go: http://play.golang.org/p/f3pNq-xniD
4. go install bug

What happened?
# bug
C:\Users\stephen\Desktop\godev\pkg\windows_amd64/bug/two.a(_all.o): duplicate symbol
reference: pow in both bug/one(.text) and bug/two(.text)

What should have happened instead?
The package should link properly.

Please provide any additional information below.

This is a simplified example of a bug I ran into recently. I have an application that
imports a CGO wrapper to the Chipmunk 2D physics engine and a CGO wrapper to GLFW. The
program links fine on Linux -- but I cannot build it on windows due to this issue.

FWIW I am using (TDM) MinGW-W64 4.8.1 rev2
Issue 1:
Code Sample, a copy-pastable example if possible

import pandas as pd
import numpy as np
from datetime import datetime,timedelta

threshold = np.datetime64(datetime.today()+timedelta(weeks=3))
df[threshold < df['date']]
df[df['date'] < threshold]

Problem description

As the two comparisons above show, they should present opposite results. Instead, both of them return the same result, as if df['date'] was always the first comparison operand.

Expected Output

The picture below illustrates the issue. It was expected that the line df[threshold < df['date']] would result in an empty DataFrame.

Output of pd.show_versions()

INSTALLED VERSIONS

commit: None

python: 2.7.12.final.0

python-bits: 64

OS: Linux

OS-release: 4.4.0-83-generic

machine: x86_64

processor: x86_64

byteorder: little

LC_ALL: None

LANG: en_US.UTF-8

LOCALE: None.None

pandas: 0.19.2

nose: None

pip: 9.0.1

setuptools: 34.4.1

Cython: None

numpy: 1.12.1

scipy: None

statsmodels: None

xarray: None

IPython: None

sphinx: None

patsy: None

dateutil: 2.6.0

pytz: 2017.2

blosc: None

bottleneck: None

tables: None

numexpr: None

matplotlib: 2.0.0

openpyxl: None

xlrd: None

xlwt: None

xlsxwriter: None

lxml: None

bs4: 4.5.3

html5lib: None

httplib2: 0.10.3

apiclient: 1.6.2

sqlalchemy: None

pymysql: None

psycopg2: None

jinja2: None

boto: 2.38.0

pandas_datareader: None

Issue 2:
import datetime
s = pd.Series(pd.date_range('20130101',periods=3))
s-pd.Timestamp('20130101')
s-datetime.datetime(2013,1')

This fails as the datetime64 is not converted properly (because numpy datetime ops suck)

s-np.datetime64('20130101')

e.g. np.datetime64('20130101').astype('M8[ns]') is a bug, no?
Issue 1:
Summary of the new feature/enhancement

Proposed technical implementation details (optional)

Issue 2:
Environment

Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): NA

Steps to reproduce

Further to #3372 PowerToys v0.18 notified me via Windows notifications that an update to v0.18.1 was available, but when I clicked on the notification, it brought me to GitHub rather than automatically updating.

Expected behavior

A pop-up to update to version 0.18.1.

Actual behavior

I have to download the installer for v0.18.1 and manually update.
Issue 1:
body {
background-color: black;
color: green;
font-family: Monospace;
}
</style>
<h1>Hello World</h1>

This is posted by Sha Duv on Facebook FCC Portland group. We both got this result:

Issue 2:
This will be the central issue for tracking this problem. So far it appears to be effecting tests that look for the style element or that test for specific style elements on body. Please let us know if you see cases that break from this pattern.
Issue 1:
This is a build at jaxlib-v0.1.76 on a ppc64le machine. When running with GPUs, the following program executes without error. However, when running with CPUs, it fails. I have two questions, and thanks in advance for the help!

What is the cause of the error, and is there any way to fix it? Presumably, this is caused by the use of ppc64le CPUs, but I'm not super familiar with these.

I wouldn't mind having this issue as long as programs run using GPUs. However, would the following issue on the CPU side cause some (silent/subtle) issues when executing on GPUs? Put it in a different way, if I only use GPUs, do I need to worry about the error on the CPUs side?

Please:

Check for duplicate issues.

Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:

If applicable, include full error messages/tracebacks.

(py38)> ipython
Python 3.8.12 (default, Oct 12 2021, 13:02:29)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import jax, jax.numpy as jnp

In [2]: jax.config.update("jax_platform_name", "cpu")

In [3]: jnp.zeros([3])
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
Aborted (core dumped)

Issue 2:
Please:

Check for duplicate requests.

Describe your goal, and if possible provide a code snippet with a motivating example.

The docs for jax.lax.dot_general are unclear. In particular, the dimension_numbers argument isn't clear to me.
Issue 1:
Original ticket http://projects.scipy.org/numpy/ticket/2046 on 2012-02-10 by @alex, assigned to @charris.

Tested on the latest numpy master from github:

(e268cfc7-ff3f-4d97-a02c-27481c8a8186)alex@alex-gaynor-laptop:~/.virtualenvs/e268cfc7-ff3f-4d97-a02c-27481c8a8186$ python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> del numpy.arange(5).real
Segmentation fault

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/2044 on 2012-02-10 by @alex, assigned to unknown.

Tested at the latest master of numpy from github:

(e5dd45b0-c56f-4e03-8b53-e3fda8cc68bc)alex@alex-gaynor-laptop:~/.virtualenvs/e5dd45b0-c56f-4e03-8b53-e3fda8cc68bc$ python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.arange(2)
array([0, 1])
>>> numpy.arange(2).flat
<numpy.flatiter object at 0x2ea3800>
>>> del numpy.arange(2).flat
Segmentation fault