WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Describe your issue.

I am getting the error message down below in running MCMC on PyMC on Apple M1. I am posting it here because I see a runtime warning originating in Scipy. I was wondering if v 1.8.0 has addressed this issue. Currently I am using v.1.7.3. The code is running well however, it is just I keep getting this error message and so two of students who have M1 machines too.

here info on my system:

Python implementation: CPython
Python version : 3.9.10
IPython version : 8.0.1

Compiler : Clang 11.1.0
OS : Darwin
Release : 21.4.0
Machine : arm64
Processor : arm
CPU cores : 10
Architecture: 64bit

pymc : 4.0.0b3
aesara : 2.4.0
pandas : 1.4.1
matplotlib: 3.5.1
arviz : 0.11.4
numpy : 1.21.5
seaborn : 0.11.2

Thank you for any help or clarification.

/opt/homebrew/Caskroom/miniforge/base/envs/pymc-dev-py39/lib/python3.9/site-packages/scipy/stats/_continuous_distns.py:624: RuntimeWarning: overflow encountered in _beta_ppf
return _boost._beta_ppf(q, a, b)

Reproducing Code Example

Error message

/opt/homebrew/Caskroom/miniforge/base/envs/pymc-dev-py39/lib/python3.9/site-packages/scipy/stats/_continuous_distns.py:624: RuntimeWarning: overflow encountered in _beta_ppf
return _boost._beta_ppf(q, a, b)

SciPy/NumPy/Python version information

1.7.3 1.21.5 sys.version_info(major=3, minor=9, micro=10, releaselevel='final', serial=0)

Issue 2:
Describe your issue

Several statistical distribution methods emit warnings stemming from Boost. This issue tracks the status of all of them.

beta.ppf as reported here; should be fixed by boostorg/math#827

ncf as reported in gh-17101, should be fixed by boostorg/math#846

nct - I'm not sure that this has been reported separately yet. Is it caused by the same sort of thing?

ncx2 - Ditto.

gh-17272 will silence the failures in SciPy's tests temporarily, but as many of these marks as possible should be removed when gh-17207 merges.

Original Post

Describe your issue.

macOS CI is failing due to an overflow. I am still trying to reproduce locally.

NumPy was updated to 1.21.3, could be this or another dependency.

https://github.com/scipy/scipy/runs/3960228039

Reproducing Code Example

# from scipy/stats/tests/test_distributions.py:2878: in test_issue_12796
import numpy as np
from scipy import stats
q = 0.999995
a = np.array([ 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20])
b = np.array([99999, 99998, 99997, 99996, 99995, 99994, 99993, 99992, 99991, 99990, 99989, 99988, 99987, 99986, 99985, 99984, 99983, 99982, 99981])
stats.beta.ppf(q, a, b)

Error message

FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12635 - ...
927
FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12794 - ...
928
FAILED scipy/stats/tests/test_distributions.py::TestBeta::test_issue_12796 - ...
...
scipy/stats/_continuous_distns.py:626: in _ppf
916
return _boost._beta_ppf(q, a, b)
917
E RuntimeWarning: overflow encountered in _beta_ppf

SciPy/NumPy/Python version information

master on macOS/CI
Issue 1:
Version

2.5.17

Reproduction link

https://codepen.io/AmrIKhudair/pen/YRLEYo

Steps to reproduce

1- open the minimal reproduction

2- Type something (notice that the first time you focus the last input a new input appears)

3- delete one of the todos (other than the last one)

4- Focus the last one again (now a new todo is not created)

What is expected?

A new todo is created

What is actually happening?

A new todo isn't created

I think it has something to do with reusing dom elements for improving performance

Issue 2:
I have an existing project that is using Vue 0.12.16 and recently migrated the code over to Vue 1.0.7.

The project went from a startup time of 0.7s to 6.8s with the change of <select v-model="item.value" options="dropdownChoices"></select> to <select v-model="item.value"><option v-for="opt in dropdownChoices" value="{{* opt.value }}">{{* opt.text }}</option></select>

The cause of the dramatic increase in time comes from the additional fragments and directives that are created by the removal of the options= parameter.

The application in question contains a very large list of items that each have an associated select dropdown. The dropdown choices are identical for list each item, but the items are often updated based on another area of the application.

I attempted to create a new directive that created the option items the way the old item had, but ran into the problem of being unable to signal to v-model that it needed to update which item was selected, and I did not have access to the value that it was watching.

Please add the v-model select 'options' parameter back, as it is a very large performance gain when working with a large number of items.

Vue 1.0.7 method: https://jsfiddle.net/mc33346o/

Vue 0.12.16 method: https://jsfiddle.net/s7pwqkjn/
Issue 1:
Sundar Sankarnarayanan opened SPR-6385 and commented

Hi All,

When I use context scanning and deploy it on Jboss5. Spring somehow seem to have issue of finding the beans in the classpath. If the same war is dropped on Jboss 4.X it seems to Work just fine.

I tried using the newer Spring3 - m3 as well with no luck.

Any suggestions is appreciated.

-Sundar

http://forum.springsource.org/showthread.php?p=269977

Affects: 2.5.6

Issue Links:

#9793 Spring component scanning does not work within JBoss EJB container ("duplicates")

Issue 2:
Ravi Brewster opened SPR-427 and commented

While I'm aware of the convention to log at "info" level at startup and "debug" @ runtime, I feel the following logging is excessive:

SQLErrorCodesFactory.getErrorCodes(197) | Looking up default SQLErrorCodes for DataSource

SQLErrorCodesFactory.getErrorCodes(202) | Database product name found in cache for DataSource [org.apache.commons.dbcp.BasicDataSource@ba17

5f]. Name is 'MySQL'.

These same messages are repeated for each of my Dao's (in my case, thats over a hundred) Is there a chance these can be demoted to debug since they don't really provide any additional info?

http://forum.springframework.org/viewtopic.php?t=1569

-Ravi

Affects: 1.1.1

Issue Links:

#5119 SQLErrorCodesFactory logger.info() spamming ("duplicates")
Issue 1:
I get the source code and build atom.I can't input chinese and display chinese.I search the issues history.The similar issue is No6214.I setup the font family and install the support-gbk package,but it didn't work.

OS is Ubuntu 14.10.

LANG=en_US.UTF-8.

The version is 0.198.0-4f5e9b1.

Issue 2:
Text:

这上面的夜的天空，奇怪而高，我生平没有见过这样奇怪而高的天空。他仿佛要离开人间而去，使人们仰面不再看见。然而现在却非常之蓝，闪闪地睒着几十个星星的眼，冷眼。他的口角上现出微笑，似乎自以为大有深意，而将繁霜洒在我的园里的野花草上。

It happen after update to 0.189.0, and it's normal in 0.188.0 .

I try disabled all community packages or star with --safe mode, still happen.

Update: Ubuntu 14.04
Issue 1:
This might be easier to demonstrate with a screencast, but try moving your mouse in and out of a tooltip parent really fast. From then on then on the tooltip can't tell if it's supposed to be open or not. If you try to open it again it closes after a split second before mousing out

Issue 2:
This problem have been around for quite some time, and issues have been created and closed without being fixed.

Disappearing Tooltips

Tooltips disappear when hovering hiding/showing them fast

Bug: Let's say you have an anchor-tag, which has a tooltip, enabled either from javascript or data-attributes. Place your mouse cursor over the anchor, and you'll see the popup. Now hover out and in again very quickly, and let the cursor stay on the anchor. Voilà, the tooltip disappears.

Of course, you furiously start hovering out and in again (you want to read what the tooltip says), only to see the same thing happen over and over again, even if you are hovering much slower than the first time. The only way to see the tooltip is to remove your cursor from the anchor, wait a while, and hover again.

I'll use a jsfiddle that has already been posted to demonstrate: http://jsfiddle.net/VXs44/. Otherwise, check your own http://twitter.github.com/bootstrap/javascript.html#tooltips, the same thing happens there.

Tested in all 5 major browsers, latest versions, and it's only IE that doesn't have this bug, since it doesn't animate the tooltip. Setting animation to false also fixes the problem.
Issue 1:
Hi, back again after resolving the issue #15619.

Here is another automation use case for the application we are evaluating with Playwright.

I tried to find out the solution on internet, but many of them are either duplicate of issue as mentioned below or are just incomplete. I saw the solution provided here but could not figure out how to provide the complete selector string to the dispatchEvent function.

await page.dispatchEvent('YOUR_TARGET_SELECTOR', 'drop', { dataTransfer });

#10667

I tried with my below code snippet but it did not work. It does not give me any error but nothing happened on the page.

<iframe id="legacy-app" src="//admin.xyz.asdf.com/xyz/zxy/12341a8ab651df98b842df40?vp=bulkproduct" data-test="legacy-app">
<div class="dropzone single dropBox" __playwright_target__="after@call@28"></div>
</iframe>

const dropBox = await page.frameLocator('[data-test="legacy-app"]').locator('[class="dropzone single dropBox"]');
await expect(dropBox).toBeVisible();

// Read your file into a buffer.
const filePath ='./test-data/sheets/UU-24074-C202362.xlsx';
const buffer = fs.readFileSync(filePath);

// Create the DataTransfer and File
const dataTransfer = await dropBox.evaluateHandle((data) => {
const dt = new DataTransfer();
// Convert the buffer to a hex array
const file = new File([data.toString('hex')], 'UU-24074-C202362.xlsx', { type: 'application/xlsx' });
dt.items.add(file);
return dt;
}, buffer);

await dropBox.dispatchEvent('drop', { dataTransfer });

Issue 2:
System info

Playwright Version: 1.32.0

Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]

Browser: Chromium

Other info:

Test code

Can be reproduced in the har.spec.ts file. Copied from there for reference

it('should not hang on slow chunked response', async ({ browserName, browser, contextFactory, server }, testInfo) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/21182' });
server.setRoute('/empty.html', (req, res) => {
res.writeHead(200, {
'Content-Type': 'text/html',
});
res.end(`<script>
let receivedFirstData = new Promise(f => {
setTimeout(() => {
var x = new XMLHttpRequest();
x.open("GET", "slow.txt");
x.onprogress = () => f();
x.send();
}, 0);
});
</script>`);
});
server.setRoute('/slow.txt', async (req, res) => {
res.writeHead(200, {
'Content-Type': 'text/plain',
'Transfer-Encoding': 'chunked',
'Content-length': '2023'
});
res.write('begin');
});
const { page, getLog, context } = await pageWithHar(contextFactory, testInfo);
// will not be fired for slow.txt file
context.on('response', resp => console.log('received response', resp.url()));
await page.goto(server.EMPTY_PAGE);
await page.evaluate(() => (window as any).receivedFirstData);
const log = await getLog();
expect(log.browser.name.toLowerCase()).toBe(browserName);
expect(log.browser.version).toBe(browser.version());
});

Steps

Run the above test in the PW repo

npm run ctest -- -g 'should not hang on slow chunked response'

Expected

context.on("response") is fired correctly for Firefox and Webkit browsers.

Actual

context.on("response") event will not be fired for the chunked response.
Issue 1:
#3159

When looking through the snippet list I get some strange rendering.

There are definitely 5 snippets in the list but only 4 show up until I arrow through the complete set of 5. Once I did that the list rendered correctly. I would not have known there were 5 items if the sample screenshot did not show 5 (vs the 4 I could see).

I also saw some other partial rendering issues such as the double up in the image below.

Issue 2:
Whenever I use "Open File", the box defaults from some default directory. I would like the Open File dialog to show the directory that the current file is in. 99% of the time when I open a file it is to find some sibling file to the one I'm looking at.

Either a user setting, or a completely new command would be great.
Issue 1:
We should probably fix styled-jsx's Global mode (<style jsx global>) working when placed in _document during Development but not when deployed to Production.

Also, by fix I don't necessarily mean it has to work in production. Maybe it shouldn't work for development.

Issue 2:
Bug report

Describe the bug

I'm working on next.js 7.0.0 and next-css 1.0.0.

I created following two pages.

pages/index.tsx

import Link from 'next/link';
export default () => <Link href="/css"><a>Go</a></Link>;

pages/css.tsx

import "../style.css";
export default () => <div className="example">styled text</div>;

When I click the link in the index page, css page is not displayed.

I removed the import statement from css page, it works fine.

To Reproduce

Clone git@github.com:hikoma/next-css-bug.git

yarn && yarn dev

Click a "With css import" link

Expected behavior

Pages importing css should be loaded.

System information

OS: Ubuntu 18.04

Version of Next.js: 7.0.0

Version of next-css: 1.0.0
Issue 1:
VSCode Version: 1.0

OS Version: OS X 10.10

I could be missing this in an option somewhere, but if not, it would be awesome if there was an option for "use_simple_full_screen" (like in Sublime Text) which just full screens VS Code in the current window and not create a new space like it does currently.

Issue 2:
I am starting to selfhost on running the gulp tsb task in the workbench. Since errors are multi line, I am missing important information I had before:

Neither are the multi line errors showing up in the hover in the editor nor are they showing up in the problems view.

Marking as important because this makes my selfhost unusable with this setup.
Issue 1:
deno: 0.13.0

v8: 7.7.200

typescript: 3.5.1

Today, I wrote a great replacement for jQuery:

function $(dollarAmount)
{
const locale = 'en-US';
const options = { style: 'currency', currency: 'USD' };
return Intl.NumberFormat(locale, options).format(dollarAmount);
}
$(987654.321); // This should return: '$987,654.32'

A you can see, it is the most sensible use of the "$" character, as a function name, that has ever been written in the history of javascript.

The only issue is, when I run this code in Deno, I get this:

error: Uncaught ReferenceError: Intl is not defined
► <unknown>:5:2
at $ (<unknown>:5:2)
at <unknown>:7:1
at evaluate (js/repl.ts:87:34)
at replLoop (js/repl.ts:145:13)

Issue 2:
As seen in #1952 / #1636 ICU needs to be added in Deno build.

Switching this flag to true maybe: https://github.com/denoland/deno/blob/master/.gn#L50 ?

ref: https://v8.dev/docs/i18n
Issue 1:
The Code Here shows how to set each replica which has a single tower that uses one GPU. I'm wondering if there is a way changing this code a little bit to make use of multiple GPU on one machine like that example.

The way I currently used for using all GPU on a worker machine is starting the number of workers that equal to the number of GPUs. then the workers can communicate to each other as if they are not on one machine. That is slower than if I can start a woker that control more than one GPU.

Issue 2:
The Code Here shows how to set each replica which has a single tower that uses one GPU. I'm wondering if there is a way changing this code a little bit to make use of multiple GPU on one machine like that example.

The way I currently used for using all GPU on a worker machine is starting the number of workers that equal to the number of GPUs. then the workers can communicate to each other as if they are not on one machine. That is slower than if I can start a woker that control more than one GPU.
Issue 1:
System information (version)

OpenCV => 4 pre

Operating System / Platform => Ubuntu 18.04

Compiler => GCC 7.3.0

-DWITH_QT=ON -DWITH_OPENGL=ON

Detailed description

following code

int main(){

cv::Mat1f img = cv::Mat1f::zeros(100,100);

cv::imshow("img",img);

cv::waitKey(0);

return 0;

}

will crash with the following exception:

opencv/modules/highgui/src/window_QT.cpp:2561: error: (-215:Assertion failed) dst.data == image2Draw_mat->data.ptr in function 'updateImage'

Note the image type cv::Mat1w will also crash. Actualy given the error almost everything except rgb8 and grey8 will crash.

Issue 2:
OpenCV => master

Operating System / Platform => Windows 64 Bit

Compiler => mingw64 / 7.2.0

Detailed description

regression after: 11eafca

the cvConvertImage() calls were removed.

while code was added to adapt the colorspace, there is no more depth conversion to CV_8U

Steps to reproduce

//Mat m(400,400,CV_32FC3,Scalar(1.0));
Mat m(400,400,CV_16U,Scalar(255));
imshow("win",m);
waitKey();

leading to:

OpenCV(4.0.0-pre) Error: Assertion failed (dst.data == (uchar*)dst_ptr) in cvShowImage, file C:\p\opencv\modules\highgui\src\window_w32.cpp, line 1230

apart from the windows version (tried here), others will be affected:

window_w32.cpp

window_cocoa.mm

window_gtk.cpp

window_QT.cpp
Issue 1:
Hello and sorry, in case this doesn't belong here.

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

Expected Behavior

My application should still work after upgrading to react 16.

Current Behavior

When opening Modals/Drawers in cordova i get a whitescreen due to:

Material-UI: you are most likely evaluating the code before the
browser has a chance to reach the <body>.
Please move the import at the end of the <body>.

Cannot read property 'children' of null", source: http://localhost:12416/packages/modules.js?hash=ae58e0b4a06841e8623d6981b97ea750b49e01d2 (115282)
"The above error occurred in the <Modal> component:
in Modal (created by withStyles(Modal))
in withStyles(Modal) (created by Drawer)
in Drawer (created by withStyles(Drawer))

My gut feeling is that it's somehow related to portal handling in https://github.com/mui-org/material-ui/blob/v1-beta/src/internal/Portal.js but i'm not sure.

I dug a bit into the source and finally I know where the error comes from:

Steps to Reproduce (for bugs)

Not sure how to provide a "simple codebox" as you basically have to bundle an app in cordova.

I'm opening this ticket in hope someone has an idea, but will continue debugging and eventually create a pr to fix this.

Context

I'm working on a pp which is shipped as web and cordova. Since upgrading to react 16 drawers are broken, but I also tested modals which are used by drawers and seem to be broken to.

Environment

Tech
Version

Material-UI
latest

React
latest

browser
webview

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

Expected Behavior

When moving between tabs the ink bar should slide along with the selected tab.

Current Behavior

the ink bar is navigating to the opposite direction

Steps to Reproduce (for bugs)

dem: https://codesandbox.io/s/9j78334vow

Your Environment

create react app 1.0.17

material-ui 0.20.0
Issue 1:
by melkanner:

Don't know where else to send this. I haven't seen any other reports of problems with
installation.

I am trying to install Go on my MacBookPro 17, using either go1.1.2.darwin-amd64.pkg
or go1.1.2.darwin-386.pkg I am running OS X 10.8.4 Mountain Lion. There's enough
memory and HD space available.

On either of them I get an unsuccessful installation. No other message other than to
try installing again, and contact the provider.

I've tried installing again.
I've tried re-downloading the package file(s)

Is there something I am overlooking? Is there a log file that I can look at to
determine what is causing the problem?

melkanner@gmail.com

Issue 2:
"!$&'()*+,;=" is the sub-delims class in RFC 3986. As such, they're
allowed in every part of a URL apart from the scheme, but the Go URI formatter escapes
"()'!" anyway.

Example:
http://play.golang.org/p/JrYygt6C5q
Issue 1:
For bugs/issues, please fill in the following. The more information you

provide, the more likely we can help you.

Environment info

Operating System:

ubuntu 15.10 64-bit

Python 3.4.3+

If installed from binary pip package, provide:

Which pip package you installed.

https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.7.1-cp34-none-linux_x86_64.whl

The output from python -c "import tensorflow; print(tensorflow.version)".

python3 -c "import tensorflow; print(tensorflow.version)"

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally

0.7.1

Steps to reproduce

import gi

from gi.repository import Gtk

import tensorflow

What have you tried?

Identified the necessary steps to reproduce the segfault.

Importing in opposite order does NOT produce any segfault.

import tensorflow

import gi

from gi.repository import Gtk

Logs or other output that would be helpful

Segmentation fault (core dumped)

Issue 2:
I install tensorflow use:sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0rc0-cp27-none-linux_x86_64.whl

linux version is :Linux version 3.10.0-229.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 6 11:36:42 UTC 2015

when I learn python, and import tensorflow,segmentation fault

import tensorflow

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally

Segmentation fault (core dumped)
Issue 1:
Current Behavior:

In a normal terminal npm install yields must not have multiple workspaces with the same name without any mention of conflicting namespaces.

Opening a debug terminal in VSCode and running the same command in same folder clears the problem and npm install now works in both terminals.

Expected Behavior:

Conflicting workspaces should be named.

Steps To Reproduce:

See Current behavior

Environment:

OS: Windows 10

Node: 15.6.0

npm: 7.4.0

Issue 2:
hi, when I say install npm install package, it gives error. not loaded.

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:

npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:

what should I do?
Issue 1:
Description of the new feature/enhancement

Allow the user to access multiple options for each tab if right click is performed on any tab. Right click menu can have features such as closing the tab, opening the tab in a seperate terminal instance, changing tab configurations etc.

Proposed technical implementation details (optional)

If the user performs right mouse click on any tab, there will be a popup menu (context menu?) with feature options for that tab.

Issue 2:
Context Menu for Tabs

Useful for now, whilst the Tab Bar is in an incomplete state, but will also be useful in a finished version. Each Tab should have a Context Menu with a Close command, as well as eventually, options for renaming the Profile/Tab Title, and changing the TabWidth behaviour.

For now, the Tab Title Text can be so long, you need to scroll with the mouse wheel to get to the close button on some tabs, so having a right click option would help for now.

team notes

#5524 ("Close all tabs to the right") would be a good addition.

"Reload tab" would be a good addition, which would require #3726

The tab color picker is already in there, #3789

Renaming was added in #5775

"Find" isn't a bad idea #5633

Split new panes? Another good idea #5025

Duplicate tab? Why not #9373

#13580