text1 stringlengths 2 269k | text2 stringlengths 2 242k | label int64 0 1 |
|---|---|---|
#### Code Sample, a copy-pastable example if possible
import pandas as pd
df = pd.DataFrame({'x': [1, 2, 3], 'y': [2, 3, 4]})
df.eval('(x - y)').std() # evaluates
df.eval('(x - y).std()') # exception: AttributeError: 'BinOp' object has no attribute 'value'
#### Problem description
I expec... |
#### Code Sample, a copy-pastable example if possible
def test_unary():
df = pd.DataFrame({'x': np.array([0.11, 0], dtype=np.float32)})
res = df.eval('(x > 0.1) | (x < -0.1)')
assert np.array_equal(res, np.array([True, False])), res
#### Problem description
This is relate... | 1 |
main.js like this:
// and load the index.html of the app.
// mainWindow.loadFile('index.html')
const html = `
<!DOCTYPE html>
<html>
<body>
<h1>TEST</h1>
</body>
</html>
`
mainWindow.loadURL(`data:text/html;charset=ut... |
### Preflight Checklist
* I have read the Contributing Guidelines for this project.
* I agree to follow the Code of Conduct that this project adheres to.
* I have searched the issue tracker for an issue that matches the one I want to file, without success.
### Issue Details
* **Electron Version:**
* 10... | 0 |
On Firefox 24.0a2 none of the sidebar anchor links work. Clicking any of them
fires a number of errors (in groups of 6, far as I can tell) in the console:
[09:53:07.151] Empty string passed to getElementById(). @ http://twitter.github.io/bootstrap/assets/js/jquery.js:3
|
I am using FireFox 22.0 and Chrome 27.0.1453.110.
For example, in this page, http://twitter.github.io/bootstrap/getting-started/
If I hit "License FAQs" on the sidebar in Chrome, the page will directly
scroll to the corresponding section for me, just like in the previous version
of Bootstrap.
However if I do this ... | 1 |
The corr() method attached to DataFrames is a great way to get a matrix of
correlation coefficients. But for the Kendall and Spearman options, the
p-value is discarded:
https://github.com/pydata/pandas/blob/8ac0e11b59b65f0ac898dca2beebde5f87836649/pandas/core/nanops.py#L510-L517
For a function called corr() this wo... |
#### Code Sample, a copy-pastable example if possible
data = pd.read_stata("myfile.dta")
data = data.set_index(['country', 'year'])
data_delta = data.groupby('count').diff()
#### Problem description
Hi everyone! My first bug report :)
I'm having some problems with the .diff() argument, and f... | 0 |
The following:
import type {HVal} from 'https://cdn.skypack.dev/haystack-core?dts'
import {HNum} from 'https://cdn.skypack.dev/haystack-core?dts'
function num() : HVal {
return HNum.make(100)
}
console.log(num().getKind())
Gives this error in the VSCode plugin:
... |
export { minify } from 'https://esm.sh/terser@5.5.1'
export type { ECMA } from 'https://esm.sh/terser@5.5.1'

after using the **quick fix** :

Shouldn't
deno test.ts --config tsconfig.json
be the same as
deno --config tsconfig.json test... | 1 |
**Apache Airflow version** : 2.0.0
**Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
**Environment** :
* **Cloud provider or hardware configuration** :
* **OS** (e.g. from /etc/os-release): redhat 7.9
* **Kernel** (e.g. `uname -a`): 3.10.0-1160.11.1.el7.x86_64
* **Install tools... |
**Apache Airflow version** : 2.0.0
**Environment** :
* **Cloud provider or hardware configuration** :
* **OS** (e.g. from /etc/os-release): Amazon Linux 2
* **Kernel** (e.g. `uname -a`): Linux
* **Install tools** :
* **Others** :
**What happened** :
Clearing a DagRun that has an `execution_date` in the ... | 1 |
If I have `/pages/one/index.js`, the URL `/one` resolves to the `index.js`.
Great.
But if I have `/pages/one/two/index.js`, the URL `/one/two` does _not_ resolve
to `index.js`. I get `error: Cannot GET /one/two`. The URL `/one/two/index.js`
does not work either, as I'd expect.
I think nesting like this should work.... |
Hello!
I have a dependency in my application that specifically relies on
`window.fetch` being replaced with the whatwg-fetch polyfill. whatwg-fetch is
a transitive dependency, so it should be ending up in my build, but it looks
like next.js is replacing it with something else.
From reading the docs it seems like ne... | 0 |
After downloading the latest version of Deno 1.7.3 from GitHub, the binary
throws the following error under Debain 10 64Bit:
`./deno: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found
(required by ./deno)`
`uname` output:
`Linux 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux`
... |
stdout & stack trace:
> RUST_BACKTRACE=full ./.deno/bin/deno upgrade --canary;
Looking up latest version
Found latest version d6c05b09dd7cbaba0fcae65929a2c2dd55e9d994
Checking https://dl.deno.land/canary/d6c05b09dd7cbaba0fcae65929a2c2dd55e9d994/deno-x86_64-unknown-linux-gnu.zip
Download... | 1 |
Instead of given the argument `--vault-password-file <file>` by cli. I would
like to have an option in ansible.cfg to set it in defaults:
[defaults]
vault-password-file = <file>
|
##### Issue Type:
Feature Idea
##### Ansible Version:
ansible 1.5.4
##### Environment:
Ubuntu 14.04
##### Summary:
I'm using vaults and have the password stored inside a vault-password-file. I
don't like to add the `--vault-password-file=~/.ansible_vault_password.txt` to
it every time I run commands (like `ans... | 1 |
I'm trying to define a type that can be added/multiplied with floats.
I've tried overloading `+` like this:
pub struct Num(f64);
impl Add<Num,Num> for f64 {
fn add(self, other: Num) -> Num {
match other {
Num(x) => Num(self + x)
}
}
... |
### STR
Given the proper (commutative) `Add`/`Mul` implementations. (See this playpen
link)
const I: Complex<f32> = Complex { re: 0., im: 1. };
let z = I * 3.; // OK
let z = I + 3.; // OK
let z = 3. * I; // Err
let z = 3. + I; // Err
### Output
error: mismatche... | 1 |

PowerLauncher seems to be using a lot of memory - 220MB
Not sure if this is expected.
Windows build number: 1909 (18363.836)
PowerToys version: v0.18.1
PowerToy module for which you are reporti... |
# Environment
Windows build number: [Version 10.0.18363.836]
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): Power Run
# Steps to reproduce
Type any text in Power Run.
# Expected behavior
Showing a list of all matching or closely matching... | 0 |
I'd like to use TensorFlow to write an application that would need
`complex128` as a dtype.
But TensorFlow currently only supports `complex64`.
Are there any plans for supporting `complex128` as well in the future?
Seems that there is a TODO for this in
https://github.com/tensorflow/tensorflow/blob/master/tensor... |
Currently Tensorflow supports Javascript, Java, and C. These are all the
target programming languages of Kotlin Multiplatform. Therefore, it would be
theoretically possible to port Tensorflow to be a Kotlin Multiplatform Library
by just reusing the existing APIs.
Are there any plans for this? If not, what do you th... | 0 |
#### Describe the bug
The data option in **axios.delete(url, {options})** api is always staying
undefined, even after passing the data option with proper values.
#### To Reproduce
// Example code here
const res = await axios.delete('/api/example', {data:{ id: id}});
#### Expected behavior
A cle... |
#### Describe the bug
Axios last version (0.20.0) does not use data from config when making DELETE
request. In 0.19.2 it's working fine
#### To Reproduce
axios.delete("...", {
data: { ids: [...] },
}).then(response => {
...
}).catch(error => {
...
});
#### Expect... | 1 |
The following occurs when using pandas.merge for an (left) outer join with the
left_index=True and right_on="something" options. The index of the resulting
DataFrame contains duplicate values and the "something" column contains new
(compared to before) values that look suspiciously like what the index should
be.
Is ... |
python uses 32 bytes for every int.
numpy uses 4 bytes for an int32 (with which you can index billion of keys).
We currently have a hardwired if preventing single-level multi-indexes,
which would allow us to take advantage of factorization to reduce memory
consumption by ~8x for indices which have lots of dupl... | 0 |
Julia 0.4 gets subtype relation wrong inside a function scope with tuple
types:
immutable FakeMethod
sig::Type{Tuple} # no error below if leaving the type declaration off!
end
fmm = methods(sin, (Complex{Float16},))[1]
_sin(::String) = Float64()
tmm = methods(_sin, (String... |
typeassert is sometimes removed incorrectly for arguments of inline functions.
julia> function f(::Int)
return 1
end
f (generic function with 1 method)
julia>
julia> function f(::Float64)
return 2
end
f (generic function wit... | 1 |
When I provide `dataSource` values in form of array with objects instead of
strings with duplicated `text` values, for example:
[
{ text: 'Some Text', value: <span>{someFirstValue}</span> },
{ text: 'Some Text', value: <span>{someSecondValue}</span> }
]
`AutoComplete` component re... |
* I have searched the issues of this repository and believe that this is not a duplicate.
There seems to be a problem with the typings for TableCellClassKey. In
TableCell.d.ts the classname for compact cells is `paddingCompact`, but in
TableCell.js, I see `paddingDense` being used.
This results in the following w... | 0 |
This is all I see when right clicking on the task bar icon.

|
* VSCode Version: 0.10.12-alpha
* OS Version: MAC OS X EI captian (Version 10.11.2)
Steps to Reproduce:
1. launch app and play around help menu to make application to be crashed (current behavior) or try to perform any action which makes VSCode to be crashed on MAC.
2. Once you get the alert window for cras... | 0 |
Hi,
I was trying to profile the code provided in this OpenBLAS issue.
It was a simple modification that wraps the code inside a function and then
calls it
function f()
tic()
for ii in 1:1e4
# BD
W_bd, S, U = bd_precoding(H, antennas_tx, antennas_rx)
p_tx_bd = equ... |
If I fully specify the type parameters for a constructor and the arguments are
compatible, I expected it to work. However, I'm seeing errors from the default
constructor:
julia> struct Struct1{T,S>:T}
x::S
end
julia> Struct1{Int,Real}(0)
ERROR: UndefVarError: S no... | 0 |
### System Info
The PEFT methods freeze the bulk of the transformer, apart from an external
module.
When I enable gradient checkpointing and train with these models or even if I
simply freeze an embedding layer of a normal model, training breaks. So this
problem is not specific to PEFT: gradient_checkpointing + fro... |
# 🚀 Feature request
I think it'd be nice to have a simple way to preprocess the logits before
caching them for computing metrics.
## Motivation
When the `Trainer` `compute_metrics` are set, during evaluation the logits are
accumulated (some in GPU memory, for `args.eval_accumulation_steps` steps; all
in RAM). For... | 0 |
Challenge Factorialize a Number has an issue.
User Agent is: `Mozilla/5.0 (Windows NT 5.1; rv:47.0) Gecko/20100101
Firefox/47.0`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
My code:
var count=1;
function factorialize(num) {
for(var i=1; i<=... |
#### Challenge Name
Mainly JavaScript challenges
#### Issue Description
We've had many coding issues made on GitHub (a list of some from the past few
months: #9532, #9137, #9118, #8940, #9058, #8436, #8266, #8156, #8092 [comment
within this issue], #7655, #7441, #7629, #7470, #7453, #7442, #5290, #4819,
#4733, #46... | 1 |
Challenge http://www.freecodecamp.com/challenges/waypoint-make-images-mobile-
responsive has an issue. Please describe how to reproduce it, and include
links to screenshots if possible.
My code is correct according to the challenge, but this piece still is marked
as undone:
Add a second image with the src of http:... |
Not sure what caused it, and I can't duplicate it.
Also, a pink notice popped up saying I had completed all the waypoints and was
ready to work on non-profits, which is obviously erroneous.
| 0 |
ROC-AUC SVM classification results for random, normally distributed data does
not produce a _symmetric_ distribution around 0.5. A tail of high ROC-AUC
scores can be observed:

You can find more informatio... |
LSHForest should be deprecated and scheduled for removal in 0.21. It should
also warn about having bad performance. cc @ogrisel
| 0 |
make does not execute bootsrap in arpack-ng-3.3.0 before configure is called
...
|
Without re-generating and committing configure to repo, every downloader then
needs to have correct version of autoconf installed before they can use
configure to build it. Having to download and installing autoconf to build
another package is onerous.
| 1 |
I read that there is/was a problem on tray right-clicked event. It is/was
triggering clicked as well. I'm not sure it's fixed or not.
I'm trying to show the contextMenu only on right-clicked to tray icon in Mac.
I tried to preventDefault from click and right-clicked events, no luck. If
there is a contextMenu on a t... |
I'm not sure what the API would look like, nor am I confident how this would
work cross-platform, however the current implementation of the tray context
menu is force-bound to the primary click action (at least on Mac).
Would rather the ability to perform a different primary action on click but
display the context m... | 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.
我在ProviderConfig.setDispatcher()里面发现了如下代码:
I found the following code in ProviderConfig.setDispatcher():
public void... |
* 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.7
* Operating System version: windows 10
* Java version: 14
### Steps to reproduce this issu... | 0 |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
"asPath" information should be present in url objects that are passed as
properties to components, as documented in:
https://github.com/zeit/next.js/blob/master/readme.md#with-link
> Each top-level ... |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
Want to use Next.js in a mobile webapp, OnsenUI component is very rich. Want
to use it with Next.js.
## Current Behavior
OnsenUI can't SSR. `window is not defined` error.
ReferenceError:... | 0 |
**Is this a request for help?** (If yes, you should use our troubleshooting
guide and community support channels, see
http://kubernetes.io/docs/troubleshooting/.): no.
**What keywords did you search in Kubernetes issues before filing this one?**
(If you have found any duplicates, you should instead reply there.): En... |
E1109 11:31:44.493904 3385 util.go:82] Recovered from panic: "sync: negative WaitGroup counter" (sync: negative WaitGroup counter)
/home/vagrant/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/util/util.go:76
/home/vagrant/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.i... | 0 |
### Bug report
**Bug summary**
Previously working example documentation code using tight_layout() and
constrained_layout now produces errors.
**Code for reproduction**
One of the failing codes (github link):
"""
NCL_stream_1.py
===============
This script illustrates the following conce... |
### Bug report
**Bug summary**
`plt.scatter()` raises upon drawing when called with `marker=''` (no errors
with 3.3.0).
This change of behavior broke seaborn.
**Code for reproduction**
import matplotlib.pyplot as plt
plt.scatter([], [], marker='') # fails also with plt.scatter([1,2,3], [1,2,3... | 1 |
Challenge Create a Form Element has an issue.
User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
My code:
<link href="https:... |
The "Go to my next Challenge button" is enabled without meeting the first two
conditions :
-Your h2 element should degrade to the font "Monospace" when "Lobster" is not available.
-Your h2 element should degrade to the font "Monospace" when "Lobster" is not available.
Also the conditions are repeats; there shoul... | 0 |
my model:
class Test(db.Model):
__tablename__ = "Test"
STN = db.Column(db.String(3), nullable=False, info='')
BEG_DATE = db.Column(db.Date, nullable=False, info='')
END_DATE = db.Column(db.Date, nullable=False, info='')
PRICE = db.Column(db.String(3), nullable=... |
**Migrated issue, originally created by Anonymous**
Attaching a patch (for 0.6 and for 0.7) to support this:
u = table1.update().values(name=table2.c.othername)\
.where(table2.c.otherid == table1.c.myid)
compiling to:
UPDATE mytable SET name=myothertable... | 0 |
I'm trying to design a single query that creates a node including input/output
links with possible linking to existing nodes. Creation stages are separated
by cardinality reduction clauses using `LIMIT 1`. This method prevents
creation of certain nodes in preceding `CREATE` clause, however.
* Neo4j version: 3.4.6
... |
* Neo4j version: 5.8.0-enterprise
* Operating system: Ubuntu 20.04
* API/Driver: Cypher
* **Steps to reproduce**
Hello! While testing Neo4j in the movie graph, I came across an issue related
to duplicated path patterns. Allow me to explain in a clearer manner:
In the second query, the expected result should... | 0 |
When I try to upgrade npm via the suggested method in the console:
`npm install -g npm@8.3.0`
it fails with the following error:
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/npm
npm ERR! dest /usr/local/lib/node_modules/.npm-i9nnxROI
npm ERR! ... |
### 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
After running `sudo npm i -g foo` files under `/usr/bin` that were owned by
`root` are now owned by the current user.
I ran `sudo np... | 1 |
We need to host a standalone React component (DraftJS editor) inside a HTML5
application which will run on other JS framework, or even plain JS or jQuery.
The code of the application is beyond our control, we are just a vendor of a
component which adds some content, part of which is this React-based editor.
Anyway... |
@nathansobo will that help your event perf issues a bit? I'm not familiar with
atom's plugin infrastructure, But this'll help if you have
`<Editor/><Plugin1/>` (two `renderComponent`s). Doesn't help if you have
`<Editor><Plugin1/></Editor>` though, but I have some ideas to optimize events
a bit more.
This is nonethe... | 1 |
### Expected Behavior
Using `flask run` should result in appropriate import error messages if
erroneous imports are used in a flask app.
Consider the two flask apps `worksjustfine.py`:
from flask import Flask
app = Flask(__name__)
and `completelymisleading.py`:
import flask
im... |
(Observed on Python 2.7; untested on 3.x)
## Steps to reproduce:
echo "import thisisnotarealpackage" > error_app.py
export FLASK_APP=error_app.py
flask run
## Expected result:
* Some indication that `thisisnotarealpackage` is not a real package
## Observed result:
Usag... | 1 |
======================================================================
ERROR: check_transformer(WardAgglomeration)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in... |
nosetests sklearn --exe
.............................................................../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/manifold/spectral_embedding.py:225: UserWarning: Graph is not fully connected, spectral embedding may not works as expected.... | 1 |
I am getting an Error by adding this **library** into my project
The library:` 'com.github.RahulJanagouda:StatusStories:1.0.1'`
**The error log:**
`2019-02-24 10:43:32.993 12294-12294/ E/AndroidRuntime: FATAL EXCEPTION: main
Process: , PID: 12294 java.lang.AbstractMethodError: abstract method "void
com.bumptech... |
**Glide Version** : 4.6.1
**Integration libraries** : okhttp3-integration
**Device/Android Version** : Google Pixel 8.1
**Issue details / Repro steps / Use case background** : The Glide v4
documentation states that
To ease the migration, manifest parsing and the older GlideModule interface are depre... | 1 |
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
user
##### ANSIBLE VERSION
ansible 2.4.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/v683653/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location ... |
From @avacam on 2014-12-10T18:58:20Z
##### Issue Type:
Bug Report
##### Component Name:
user module
##### Ansible Version:
1.5.4
##### Environment:
Ubuntu 14.04
##### Summary:
Command to remove an account fails when there is a non-local copy of the
account visible to the authentication system.
##### Steps ... | 1 |
This failure/permissions error is showing up in the wheels repo for a subset
of Windows matrix entries, including backports for 1.7.2 and for `master`.
I'll put the traceback below, and links to sample PRs:
MacPython/scipy-wheels#135
MacPython/scipy-wheels#138
Can we put a skip marker on this test for Windows t... |
Here This is on Python 3.9, 3.8 passed.
C:\Python39\lib\site-packages\scipy\integrate\tests\test__quad_vec.py:108: in test_quad_vec_pool
...
C:\Python39\lib\multiprocessing\popen_spawn_win32.py:123: in terminate
_winapi.TerminateProcess(int(self._handle), TERMINATE)
E Pe... | 1 |
#### Code Sample
import numpy as np
import pandas as pd
S = pd.Series([np.nan,1.5,np.nan,2,np.nan,np.nan,np.nan,1,1,2,2,2,3])
print S; print; print set(S)
#### Problem description
The NaNs show up multiple times in set(S), which is not a problem if
S = [np.nan,1.5,np.nan,2,... |
In [21]: df = DataFrame({'A' : np.random.randn(5),
'B' : np.random.randn(5),'C' : np.random.randn(5),
'D':['a','b','c','d','e'] })
In [22]: df
Out[22]:
A B C D
0 -0.941264 0.272726 -0.547948 a
1 0.069432 1.398414 0.039093 b
2 -0.0... | 0 |
One way to implement #7739 would be to create a headless test device. This
would be based off of sky_shell, and be accessed through something like
`flutter run -d test_shell`.
@tvolkert @yjbanov
|
A `HostDevice` is similar to `AndroidDevice` and `IOSDevice` but runs Flutter
shell on the host machine instead of a real device or an emulator. We already
do this for `flutter test`. This feature request is to extend this capability
to other commands, especially `run` and `drive`.
Flutter tools should have an optio... | 1 |
### Problem description
I recently updated material-ui from 0.18.2 to 0.18.4 and noticed that the
buttons in my application have a unusual white gap on the bottom of the
buttons with a containerElement attached to it (the element is a react
element.
I switched back to 0.18.2 and the gap seized to exist. I upgrade t... |
The latest release 0.18.4 adds `overflow: hidden;` to a containerElement on
RaisedButton. This is not happening with 0.18.3. It increases the height of
the button and displays a white border at the bottom of the button,
Also checked FlatButton, which still works properly.
Here is a link to a reproduction:
https:/... | 1 |
The problem occurs when trying to compile the Slackbuild numpy or numpy3. THe
compilation fails in the same position (see error message)
I am unsure what needs to be fixed and why this compilation fails. Any help
would be appreciated.
### Reproducing code example:
I tried to build a Slackbuild version of the late... |
On a clean Linux system (nothing but the most recent Manjaro Linux and the
latest 64-bit Anaconda Linux install) I decided to try to use the conda
compilers instead of the system ones to build NumPy and SciPy against the
Anaconda-provided Python 3.7. There are some issues with that.
1. The `conda activate` scripts... | 1 |
* VSCode Version: 1.1.1
* OS Version: Windows 8.1
Steps to Reproduce:
1. open html file
2. alt+shift+RightArrow
works for me in other language modes, but not in HTML
|
I can not use `editor.action.smartSelect.grow` and
`editor.action.smartSelect.shrink` functions to working on html file. I don't
think the develop team have any reason to disable them on html file. It's
should be working on any file!! Any body know why?
Please fix it!
Thanks!
| 1 |
LibSSH2_jll (7) | started at 2020-12-17T15:29:21.241
From worker 2: ��� Warning: Package LibGit2_jll does not have nghttp2_jll in its dependencies:
From worker 2: ��� - If you have LibGit2_jll checked out for development and have
From worker 2: ... |
Higham and Deadman have published a list of software implementing algorithms
for matrix functions, showing that Julia's library for these functions could
be improved greatly relative to the state of the art.
The purpose of this issue is to discuss and track the implementation of matrix
functions.
## From Higham and... | 0 |
### **Create a react project with Typescript and start to report errors as
soon as it runs.**
### Errors
**D:\XXXXXX\node_modules\react-
scripts\scripts\utils\verifyTypeScriptSetup.js:239**
appTsConfig.compilerOptions[option] = value;
TypeError: Cannot assign to read only property 'jsx' of object '#'
at verify... |
### Describe the bug
When creating a react-typescript app using
`npx create-react-app . --template typescript `
The error:
yarn run v1.22.5
$ react-scripts start
/home/aditya/all/yt/twitter/node_modules/react-scripts/scripts/utils/verifyTypeScriptSetup.js:239
appTsConfig.compilerOp... | 1 |
As recently discussed on the TensorFlow mailing list
(https://groups.google.com/a/tensorflow.org/d/msg/discuss/GUW0KOmN7MM/2lRMD4JVAQAJ),
it would be nice if TensorBoard would include an export function that supports
exporting the graph in a vector graphics format (e.g., SVG or EPS, or both) in
addition to the curren... |
Hi All,
**System information**
* OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
* Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
* TensorFlow installed from (source or binary): source
* TensorFlow version: 1.12.0
* Bazel installed v... | 0 |
## Issue description
I was training an autoencoder with MSELoss, and the loss values on the
training data were huge but the loss values on the validation data were small.
It appeared as if the loss was not being averaged on the training pass, but it
was on the validation pass. A little poking around in the debugger ... |
## Issue description
If a tensor with requires_grad=True is passed to mse_loss, then the loss is
reduced even if reduction is none.
Appeared in Pytorch 0.4.1.
## Code example
import torch
x = torch.zeros((4, 5, 2))
print('Good', torch.nn.functional.mse_loss(x, x, reduction='none').shape)
... | 1 |
### Is there an existing issue for this?
* I have searched the existing issues
This _might_ be a duplicate of #3021, but the repro is different, and
hopefully easier to diagnose.
### Current Behavior
`npm install --prefix <tmpdir> <package>` fails on Mac OS
where `<tmpdir>` is the result of `fs.mkdtempSync(pat... |
Hello
I tried to install ffmpeg by :
> sudo npm install --save @ffmpeg-installer/ffmpeg
> return npm ERR! "cb() never called"
> npm -v
> 6.13.7
> node -v
> v13.7.0
OS : Linux Mint 19.3 Tricia base ubuntu bionic
I can install express without a problem.
Ask : Is it a chmod problem? A graphic card pro... | 0 |
### Description
I have following form types: `ContactType.php` and `SendContactType.php`.
I have following entities with constraints: `Contact.php` and
`SendContact.php`.
They code for theose files can be seen at: https://gist.github.com/1199860.
The problem is with the `something` field of `ContactType`.
When... |
**Description**
New feature request has start with the blog post : Form field help. It's a
great post that explain how to extend a form to add a custom option `help` to
show help message. I asked myself how to add this help message in an item
choice of choiceType form. I wanted to make that like a `choice_attr` an... | 0 |
<Button disableRipple /> throws an exception when the KeyDown event triggered.
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
Pressing the spacebar over keyboardFocused button should`t lead to exception.
## Current Behavior
https://github.com/mui-... |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
As I use material components, they mostly come with the Robot font and I've
found that Subheader is the first one I encountered that doesn't have the font
declared. I was expecting it to be styled since o... | 0 |
# Checklist
* I have verified that the issue exists against the `master` branch of Celery.
* This has already been asked to the discussion group first.
* I have read the relevant section in the
contribution guide
on reporting bugs.
* I have checked the issues list
for similar or identical bug reports.... |
it's duplicate of celery/kombu#870, but in order to fix 4.1 I suggest creating
a 4.1.1 release with kombu dependency set to `>=4,1,<4.2`
| 0 |
Hi,
I am running elasticsearch 0.90.5 on windows 2008 R2. In service.bat I updated
ES_HEAP_SIZE as 2g I checked script with Echo ON and it showed my 2g .
However when I run the service and check heap committed it comes as 111 mb .
I check running the es with elasticsearch.bat with ES_HEAP_SIZE=2g and it
shows he... |
Currently the memory options are passed on as java options but these are
ignored by the jvm.dll. They need to be extracted and passed through different
arguments so they can be used before starting the java process.
Unfortunately this also means doing some conversion (from GB to MB and MB to
KB).
| 1 |
Pasting or opening a file with the following code, turns the editor
unresponsive.
<script type="text/javascript">
_characterList = {"R01-S01-T01":[{"id":"Chloe Flower","name":"Chloe Flower","imageUrl":"/media/5801/SPKS2_PNGs_FRUIT__VEG_Chloe-Flower.png","bio":"A bit of a hippy, I'm all about '... |
May be a known issue, but files with large embedded images such as github's
public/enterprise/maintenance.html will often cause Atom to freeze (MacVim
actually struggles as well).
Seems some of them (github's public/maintenance.html for instance) work fine
when in soft wrap mode, or until you move your cursor to the... | 1 |
ERROR: type should be string, got "\n\nhttps://k8s-gubernator.appspot.com/build/kubernetes-\njenkins/logs/kubernetes-e2e-gce-scalability/8245/\n\nFailed: [k8s.io] Load capacity [Feature:Performance] should be able to handle\n30 pods per node {Kubernetes e2e suite}\n\n \n \n /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/load.go:71\n Expected\n <int>: 1\n not to be >\n <int>: 0\n \n\nPrevious issues for this test: #26544\n\n" | ERROR: type should be string, got "\n\nhttps://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-\nkubemark-5-gce/4982/\n\nFailed: [k8s.io] Density [Feature:Performance] should allow starting 30 pods\nper node {Kubernetes e2e suite}\n\n \n \n /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/density.go:150\n There should be no high-latency requests\n Expected\n <int>: 2\n not to be >\n <int>: 0\n \n\n" | 1 |
npm run build -> (next build) is working locally but on the production web
server with the same code it gives the following error log:
0 info it worked if it ends with ok
1 verbose cli [ '/root/.nvm/versions/node/v8.6.0/bin/node',
1 verbose cli '/root/.nvm/versions/node/v8.6.0/bin/npm',
1... |
Here's the URL looks like,
www.mydomain.com/suresh/450
Here **suresh** is parsed as " **username** " and **450** is parsed as "
**amount** ". Here's the **server.js** code
`const express = require("express");
const { parse } = require("url");
const next = require("next");
const dev = process.env.NODE_ENV... | 0 |
When running ./configure on OS X with CUDA support enabled with bazel
0.3.1-homebrew, these errors occur:
ERROR: /Users/jmhodges/src/github.com/tensorflow/tensorflow/tensorflow/core/BUILD:692:1: no such package 'base': BUILD file not found on package path and referenced by '//tensorflow/core:ios_te... |
I am having trouble configuring the latest master branch (`dbe7ee0`). When I
run `./configure`, I get:
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined ... | 1 |
# Checklist
* I have verified that the issue exists against the `master` branch of Celery.
* This has already been asked to the discussion group first.
* I have read the relevant section in the
contribution guide
on reporting bugs.
* I have checked the issues list
for similar or identical bug reports.... |
# Checklist
* I have checked the issues list
for similar or identical enhancement to an existing feature.
* I have checked the pull requests list
for existing proposed enhancements.
* I have checked the commit log
to find out if the if the same enhancement was already implemented in the
master branch... | 0 |
It would be great if we could save the values we use in the customiser. If I
need to re-customize one or two values a week after downloading I have to
enter all of the custom values again
|
The new site has the awesome customization screen, but unless you manage your
bookmarks like a champ, there's no clear mapping between which custom builds
on your system correspond to which URLs on the site. It would rock socks if
the URL of the custom build was in the header comment in the generated source
files.
F... | 1 |
In many places we're checking the numpy version by comparing strings. This
will break when numpy gets to 1.10. Need to fix this all over the codebase for
the next release.
|
As mentioned in #2992
There are several places where version checking is done as follows:
`np.version.short_version < '1.6'`. This will do the wrong thing if numpy ever
gets to version 1.10 or higher.
| 1 |
I am looking at broadcast.jl and wondering what magic is occurring for me to
use ".+" in an expression and have it work but when I type it by itself it
gives an error.
Why is it not like an addition where it's just a generic function?
The goal of my exploration is to try and document the ".+" and ".*"
broadcasting ... |
When more than one array is used on `maximum`, the output is confusing.
julia> max([1,2,3,2,1],[4,4,4,4,4])
5-element Array{Int64,1}:
4
4
4
4
4
julia> maximum([1,2,3,2,1],[4,4,4,4,4])
5-element Array{Int64,1}:
1
2
3
2
1
julia> ... | 0 |
req.respond({ body: renderApp(`
<body>
<script type="module">
import server from 'https://unpkg.com/browse/html-dom-parser@0.1.3/dist/html-dom-parser.min.js';
console.warn(server)
</script>
</body>
`) ... |
* v0.20.0
* Parser doesn't find declarations correctly?
**[EDITED]**
Previous example has unrelated mistake but I don' know which code can
reproduce error I met.
I met this error when I ran ->
https://raw.githubusercontent.com/keroxp/dink/v0.5.1/main.ts
That can be compiled with deno@v0.19.0. But got error b... | 1 |
## 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 anymore and we c... |
## Bug Report
When use openGauss, proxy can't start up.
### Which version of ShardingSphere did you use?
master `a26bae2`
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
### Expected behavior
proxy normal start-up
### Actual behavior
proxy will thrown exceptio... | 0 |
The FreeBSD builder sporadically fails with (among other things) EADDRINUSE errors.
e.g.
Change 4e18f60442c2 broke the freebsd-386 build:
http://godashboard.appspot.com/log/c55befefa54d803c1b6327356ac0db98109203d2f462e9efb547462e7cc3f948
... shows a net.Dial failing.
Th... |
by **CMT.miniBill** :
What steps will reproduce the problem?
===
1. Install go on a normal kernel
2. Try to run /usr/bin/go on a grsec kernel
3. It crashes believing to be out of memory
What is the expected output?
===
Go is a tool for managing Go source code.
... | 0 |
* [Y ] I have searched the issues of this repository and believe that this is not a duplicate.
* [Y ] I have checked the FAQ of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.5.9
* Operating System version: WIN10
* Java version: IBM 1.6
### Steps to reproduce... |
* 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.6.0及以上
* Operating System version: mac
* Java version: 1.8
### Steps to reproduce this issue
... | 0 |
Spotted on the dashboard, from freebsd-386,
http://build.golang.org/log/57659ae3bfad2299f82348b400aa9528ad20d8f6
fatal error: unexpected signal during runtime execution
[signal 0xa code=0xc addr=0x2832e000 pc=0x8054f6b]
runtime stack:
runtime.throw(0x8249428, 0x2a)
/tmp/buildle... |
Not sure this is the same as #9953.
fatal error: unexpected signal during runtime execution
[signal 0xa code=0xc addr=0x28316794 pc=0x80548be]
runtime stack:
runtime.throw(0x82311a8, 0x2a)
/tmp/buildlet-scatch766897833/go/src/runtime/panic.go:543 +0x80
runtime.sigpanic()
... | 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: master
* Operating System version: mac
* Java version: 1.8
### Steps to reproduce this issue
Ca... |
* 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.6.2
* Operating System version: win7
* Java version: 1.8
### Step to reproduce this issue
###... | 0 |
by **fibercut** :
What steps will reproduce the problem?
package main
import (
"fmt"
)
type Node struct {
line string
unused [50]int
}
const (
LOOPS = 300 // consume ~ 1G of RAM, increase this at your own risk
MAX =... |
Expected behavior: go test works
Actual behavior: go test fails because it trips over long paths it itself
constructs for building and running the tests
Output of "go version":
go version go1.4.2 windows/amd64
Repro steps:
C:\Users\lukasza\my\enlistment\has\rather\long\and\descriptive\paths\that\I\rather\like\a... | 0 |
**Apache Airflow version** : 2.0.1
**Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
**Environment** :
* **Cloud provider or hardware configuration** : k8s on bare metal
* **OS** (e.g. from /etc/os-release):
* **Kernel** (e.g. `uname -a`):
* **Install tools** : pip
* **Others... |
**Apache Airflow version** :
**Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
"v1.14.2"
**Environment** :
* **Cloud provider or hardware configuration** :
* **OS** (e.g. from /etc/os-release):
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSI... | 1 |
# Environment
Windows build number: Version 10.0.18362.720
PowerToys version: v0.17.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones
# Steps to reproduce
Run photoshop or Maya
make sure to have a floating window.
Move it while having shift pressed do... |
# Environment
Windows build number: Microsoft Windows [Version 10.0.17763.1039]
PowerToys version: 0.14 - 0.15
PowerToy module for which you are reporting the bug (if applicable): FancyZones
# Steps to reproduce
Create FancyZone layout, use mouse to drag-and-drop "Solution Explorer" or a... | 1 |


Seems there is an issue running the terminal "As Administrator"
... |
# Environment
Windows build number: 10.0.18362.0
Windows Terminal version: 0.5.2661.0
# Steps to reproduce
1. Open WT
2. Open profiles.json
3. Create an object in the `profiles` array
4. Fill in some fields such as `name`, `commandline`, `startingDirectory`, `colorScheme`, etc.
5. ... | 0 |
**Jyothi Prakash** opened **SPR-8681** and commented
Hi,
I am new to this technology.
I've just started reading spring reference documentation (PDF) both Current
Development Releases and Current GA Releases. Unfortunately both PDF version
does not download the images in files.
Thanks in advance,
Jyothi
* * *... |
**Bertrand Fovez** opened **SPR-4108** and commented
For example, spring-context.pom reads the following:
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>2.5-rc1</version> <\-- 2.5-rc1 here -->
And lower:
<dependency>
<groupId>${project.groupId}</groupId>
<artifac... | 0 |
The code and dataset were the same as before, but I got the following error.
However they could work well about a half mouth ago.
the pytorch's version is 0.3.1
raceback (most recent call last):
File "main.py", line 341, in
main()
File "main.py", line 141, in main
train(train_loader, model, criterion, opt... |
The code and dataset were the same as before, but I got the following error.
However they could work well about a half mouth ago.
the pytorch's version is 0.3.1, BUT I find the version 0.4.0 also meeting with
the same error
raceback (most recent call last):
File "main.py", line 341, in
main()
File "main.py"... | 1 |
I see on my website and on your online docs this bug :
When you click to "Launch demo modal", the modal appear. I click on "close",
the modal disappear. But when I click again on "Launch demo modal", the button
close doesn't work.
You can see that on : http://getbootstrap.com/javascript/#modals
In Bootstrap 2.3.... |
Hi,
The code used on last Thursday worked fine. But after updated to latest code
on Monday (GMT+8), the modal dialog when clicks to dismiss for seconds onward
cannot be close.
I am checking on source code line 932, if I commented out this line then it is
working again.
this.$element
.removeClass('in')
.attr('a... | 1 |
rust-bindgen sets cargo:rustc -L to /usr/local/lib via build.rs
When this happens, linking fails because duplicate candidate dylibs are found
in the bootstrap libs: (/usr/local/lib) and the rustlib
(/usr/local/lib/rustlib/../lib)
Specific errors below:
|
fn main() {
for i in range(0, 30) {
}
}
says
2:11: 2:16 error: cannot determine a type for this bounded type parameter: cannot determine the type of this integer; add a suffix to specify the type explicitly
2 for i in range(0, 30) {
^~~~~
... | 0 |
**TypeScript Version:**
1.7.5 / 1.8.0-beta / nightly (1.9.0-dev.20160217)
**Code**
// A self-contained demonstration of the problem follows...
**Expected behavior:**
**Actual behavior:**
|
I have a general question about project structures / modules.
It's a project with 3 types of code:
* client: classes used for the client web-app, built into a single js file (with --out).
* server: code running on node
* shared: classes used by both client and server, typically model classes with functions l... | 0 |
I found a strange behaviour when importing a default-exported module from
file1 and using it for variable/parameter/return value/whatever... type
declarations in file2. Please note that the imported namespace is still
visible and works correctly when I use it for variable definitions (e.g.
invoking class constructor ... |
Current description of export assignments in the spec states:
> Export assignments exist for backward compatibility with earlier versions of
> TypeScript. An export assignment designates a module member as the entity to
> be exported in place of the module itself.
>
>
> ExportAssignment:
> export = ... | 1 |
Challenge Target the Children of an Element Using jQuery has an issue.
User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
My code:
... |
Challenge tests for jQuery fail to run if syntax errors are present in a
campers code.
Examples:
#9289
#9082
#9470
#9672
#9698
What is stopping the tests running? Can we fix it?
Is there a way to lint jQuery in codemirror so campers get visual clues to
syntax errors, like in the JS challenges?
-Or-
Whe... | 1 |
**Muthukumaran Madialagan** opened **SPR-4077** and commented
My Issue is same as of the BUG which was already disucssed and fixed in the
following URL
http://opensource.atlassian.com/projects/spring/browse/SPR-1384
* * *
**Affects:** 2.0.2
**Issue Links:**
* #8797 PROPAGATION_REQUIRES_NEW fails on JBoss 4.2... |
**Frank Scheffler** opened **SPR-9180** and commented
As far as I've seen it most of the bean profile examples tend to use profiles
such as dev and production. However, sometimes it would be useful to have a
configuration that should NOT be applied, if a certain profile is active. More
generally speaking, wouldn't i... | 0 |
from torchvision.models import vgg16, resnet18
vgg16()
The following interrupt message appears:
**Illegal instruction**
I installed pytorch(1.2/1.3) from binaries via pip wheels, and I don't know
how to solve it.
|
Hello,
I have a strange issue when loading some pretrained models. On loading, some
models abort and give an "illegal instruction" message, like below:
import torchvision
torchvision.models.squeezenet1_0(pretrained=True)
> Illegal instruction (core dumped)
But with other models, everything runs ... | 1 |
## 🚀 Feature
## Motivation
Currently when using the `nn.MultiHeadAttention` layer, the
`attn_output_weights` consists of an average of the attention weights of each
head, therefore the original weights are inaccessible. That makes analysis
like the one made in this paper very difficult.
## Pitch
When the `nn.Mul... |
## 🚀 Feature: Return the attention scores from all heads
Return the attention scores from all heads in the `MultiHeadAttention` Module
and `multi_head_attention_forward`. The current implementation **only** allows
returning the averaged attention score over all heads
In short: add option to change
pytorch/torch... | 1 |
If I install `babel-plugin-transform-runtime` into a new project, NPM will
install `babel-runtime` 5.x. This makes sense, as basically everything else
uses a 5.x `babel-runtime` too.
The problem is that it requires methods based on the 6.1.4 filenames,
rendering it basically useless.
This produces errors like this ... |
I'm using the latest everything:
NodeJS 5.0.0
NPM 3.3.12
babel-runtime 6.1.4
babel-register 6.1.4
when running anything with `babel-node` I get the following errors:
Error: Cannot find module 'babel-runtime/helpers/interop-require-default'
at Object.<anonymous> (babel-register/lib/node... | 1 |
**I'm submitting a ...** (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
... |
**I'm submitting a ...**
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
**Current behavior**
Got extra empty li last element using ul li and ngFor.
... | 0 |
## Checklist
* I have included the output of `celery -A proj report` in the issue.
(if you are not able to do this, then at least specify the Celery
version affected).
* I have verified that the issue exists against the `master` branch of Celery.
## Steps to reproduce
I have been using **celery==3.1.25** ... |
These two files overlap quite a bit. Instead of maintaining two files that
mostly have equivalent content, maybe converting one of them into a symlink
would be an idea?
| 0 |
I posted this question to Stack Overflow the other day and have gotten no
responses:
> In some systems, there are ways to hook in to write-ahead log changes as
> they happen. For example, in HBase one can write a coprocessor to stream WAL
> edits out of the database as they happen. A extensions for PostgreSQL exist
... |
The analyze api currently hangs when e.g. you refer to a custom analyzer and
you forget to specify the index in the url. I remember from previous versions
a nice "analyzer not found" error but that now (2.0) just hangs and the logs
show:
[2015-12-02 15:27:46,621][ERROR][transport ] [Smar... | 0 |
## Problems
`/// <reference path="..." />` comments (hereafter "reference directives")
currently serve
multiple purposes:
* Including another definition file containing global declarations
* Including another definition file containing ambient module declarations
* Including another implementation file
The... |
Background:
The build does a preprocessing step to build the `Diagnostics` map, which
contains items naming tsc error codes and their corresponding human-readable
messages. The generate-diagnostics target runs before the actual compilation
step for tsc. It takes the diagnostic message from a JSON source and mangles
... | 0 |
Per pytorch_windows_vs2019_py36_cuda10.1_test2:
[ RUN ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary
..\c10\test\util\Metaprogramming_test.cpp(176): error: Expected equality of these values:
2
result[0].move_count
Which is: 3
..\c10\test\util\Metaprogramming_test... | ERROR: type should be string, got "\n\nhttps://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-win-\nws2016-cuda9-cudnn7-py3-test2/44313/console \nhttps://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-win-\nws2016-cuda9-cudnn7-py3-test2/44309/console\n\n \n \n Running \"C:\\Jenkins\\workspace\\pytorch-builds\\pytorch-win-ws2016-cuda9-cudnn7-py3-test2\\build\\win_tmp\\build\\torch\\test\\c10_Metaprogramming_test.exe\"\n Running main() from ..\\third_party\\googletest\\googletest\\src\\gtest_main.cc\n [==========] Running 14 tests from 1 test case.\n [----------] Global test environment set-up.\n [----------] 14 tests from MetaprogrammingTest\n [ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex\n [ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex (0 ms)\n [ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_singleInput\n [ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_singleInput (0 ms)\n [ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_movableOnly\n [ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_movableOnly (0 ms)\n [ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_onlyCopiesIfNecessary\n [ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_onlyCopiesIfNecessary (0 ms)\n [ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_onlyMovesIfNecessary\n [ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_onlyMovesIfNecessary (0 ms)\n [ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_keepsLValueReferencesIntact\n [ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_keepsLValueReferencesIntact (0 ms)\n [ RUN ] MetaprogrammingTest.FilterMap\n [ OK ] MetaprogrammingTest.FilterMap (0 ms)\n [ RUN ] MetaprogrammingTest.FilterMap_emptyInput\n [ OK ] MetaprogrammingTest.FilterMap_emptyInput (0 ms)\n [ RUN ] MetaprogrammingTest.FilterMap_emptyOutput\n [ OK ] MetaprogrammingTest.FilterMap_emptyOutput (0 ms)\n [ RUN ] MetaprogrammingTest.FilterMap_movableOnly_byRValue\n [ OK ] MetaprogrammingTest.FilterMap_movableOnly_byRValue (0 ms)\n [ RUN ] MetaprogrammingTest.FilterMap_movableOnly_byValue\n [ OK ] MetaprogrammingTest.FilterMap_movableOnly_byValue (0 ms)\n [ RUN ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary\n ..\\c10\\test\\util\\Metaprogramming_test.cpp(176): error: Expected equality of these values:\n 2\n result[0].move_count\n Which is: 3\n ..\\c10\\test\\util\\Metaprogramming_test.cpp(178): error: Expected equality of these values:\n 1\n result[1].move_count\n Which is: 2\n ..\\c10\\test\\util\\Metaprogramming_test.cpp(180): error: Expected equality of these values:\n 2\n result[2].move_count\n Which is: 3\n [ FAILED ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary (1 ms)\n [ RUN ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_1\n ..\\c10\\test\\util\\Metaprogramming_test.cpp(194): error: Expected equality of these values:\n 1\n result[0].move_count\n Which is: 2\n ..\\c10\\test\\util\\Metaprogramming_test.cpp(196): error: Expected equality of these values:\n 1\n result[1].move_count\n Which is: 2\n [ FAILED ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_1 (0 ms)\n [ RUN ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_2\n [ OK ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_2 (0 ms)\n [----------] 14 tests from MetaprogrammingTest (1 ms total)\n \n [----------] Global test environment tear-down\n [==========] 14 tests from 1 test case ran. (1 ms total)\n [ PASSED ] 12 tests.\n [ FAILED ] 2 tests, listed below:\n [ FAILED ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary\n [ FAILED ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_1\n \n 2 FAILED TESTS\n \n Running \"C:\\Jenkins\\workspace\\pytorch-builds\\pytorch-win-ws2016-cuda9-cudnn7-py3-test2\\build\\win_tmp\\build\\torch\\test\\module_test.exe\"\n Running main() from ..\\third_party\\googletest\\googletest\\src\\gtest_main.cc\n [==========] Running 2 tests from 1 test case.\n [----------] Global test environment set-up.\n [----------] 2 tests from ModuleTest\n [ RUN ] ModuleTest.StaticModule\n unknown file: error: C++ exception with description \"[enforce fail at ..\\caffe2\\core\\module.cc:46] !HasModule(name). On Windows, LoadModule is currently not supported yet and you should use static linking for any module that you intend to use.\n (no backtrace available)\" thrown in the test body.\n [ FAILED ] ModuleTest.StaticModule (0 ms)\n [ RUN ] ModuleTest.DynamicModule\n [E ..\\caffe2\\core\\operator.cc:203] Cannot find operator schema for Caffe2ModuleTestDynamicDummy. Will skip schema checking.\n ..\\caffe2\\core\\module_test.cc(68): error: Expected equality of these values:\n modules.count(name)\n Which is: 0\n 1\n ..\\caffe2\\core\\module_test.cc(69): error: Value of: HasModule(name)\n Actual: false\n Expected: true\n [E ..\\caffe2\\core\\operator.cc:203] Cannot find operator schema for Caffe2ModuleTestDynamicDummy. Will skip schema checking.\n unknown file: error: C++ exception with description \"[enforce fail at ..\\caffe2\\core\\operator.cc:273] op. Cannot create operator of type 'Caffe2ModuleTestDynamicDummy' on the device 'CPU'. Verify that implementation for the corresponding device exist. It might also happen if the binary is not linked with the operator implementation code. If Python frontend is used it might happen if dyndep.InitOpsLibrary call is missing. Operator def: type: \"Caffe2ModuleTestDynamicDummy\"\n (no backtrace available)\" thrown in the test body.\n [ FAILED ] ModuleTest.DynamicModule (1 ms)\n [----------] 2 tests from ModuleTest (2 ms total)\n \n [----------] Global test environment tear-down\n [==========] 2 tests from 1 test case ran. (2 ms total)\n [ PASSED ] 0 tests.\n [ FAILED ] 2 tests, listed below:\n [ FAILED ] ModuleTest.StaticModule\n [ FAILED ] ModuleTest.DynamicModule\n \n\ncc @peterjc123\n\n" | 1 |
Please:
* Check for duplicate issues.
* Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
`softmax` will fail when using `value_and_grads` but succeed when calling it
directly
import jax
def fn(arg_0):
return jax.nn.softmax(arg_0, axis... |
Please:
* Check for duplicate issues.
* Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
`cummax, cummin, cumprod` will succeed when using `value_and_grads` but fail
if directly call
import jax
def fn(arg_0):
axis = -1
return ... | 1 |
* * _I'm submitting a ... *_
[x ] bug report
I have a datamodel where Danish characters are used e.g. 'ø'. This works fine
in my components. When I try to bind to a model entity which contains a Danish
character, I get an error though.
Lexer Error: Unexpected character [Ø] at column 7 in expressio... |
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
**Current behavior**
When using async valid... | 0 |
### Version
2.6.4
### Reproduction link
https://jsfiddle.net/mu4q63db/1/
### Steps to reproduce
1. Select a period radio button
2. Hit Monthly and Daily back and forth
3. Sometimes maybe select a period radio button again
### What is expected?
the v-model for period should always select a radio button wh... |
### Vue.js version
Most recent
### Reproduction Link
https://jsfiddle.net/mo48q36L/
Each custom select element has a togglable option to represent an option that
might change in real-world conditions. I want to prevent the value in vue and
the value in the select element from being out of sync.
To do this, I com... | 0 |
nosetests is no longer maintained and contains deprecated code
(inspect.getargspec). It might not keep working with future versions of
python. Should we create a plan to move to py.tests?
|
#### Describe the workflow you want to enable
Hi all,
I regularly have to estimate Ridge regressions with a large number of
different targets and vastly different signal-to-noise ratios across targets.
The optimal regularization per target therefore differs quite a lot. RidgeCV
currently estimates the optimal regu... | 0 |
When I perform the following:
# Import relevant libraries
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
# set up the dataframe
ids = range(12)
surv = [0,0,1,1] * 3
fare = list(range(3, 3*13, 3))
sex = ['m', 'f', 'f'... |
The `area` method for calculating the width of boxenplot letter-value boxes
is:
'area': lambda h, i, k: (1 - 2**(-k + i - 2)) / h}
in https://github.com/mwaskom/seaborn/blob/master/seaborn/categorical.py#L1890
IIUC, in order for the area to be proportional to the percentage of data
covered, as d... | 0 |
The second comparison crashes. Probably due to weird alignment.
tag modlist = [int];
fn main() { ... | 0 | |

why?
|
jQuery contains something along this lines:
if ( typeof module === "object" && typeof module.exports === "object" ) {
// set jQuery in `module`
} else {
// set jQuery in `window`
}
module is defined, even in the browser-side scripts. This causes jQuery to
ignore the `window` object... | 1 |
Hi, I am building a desktop app with Electron and I am using `electron-
prebuit` in development.
My issue is that I would like to use the `⌘` \+ `W` shortcut (on my Mac)..
This does not happen in the built version of my app though. Happens only in
development.
I mentioned this in electron-userland/electron-prebuil... |
* Electron version: 1.0.1
* Operating system: OS X 10.11.2
After using electron-packager@7.0.1 **cmd-w** doesn't close windows on mac,
you have to click the red circle to close the window. However, it works when
you execute the app with **electron .**
| 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.