text1 stringlengths 2 269k | text2 stringlengths 2 242k | label int64 0 1 |
|---|---|---|
The issue appears to be related to DateFormatter 'Intl' service.
[Error] EXCEPTION: ReferenceError: Can't find variable: Intl in [null]
logError (angular2.dev.js, line 25219)
logGroup (angular2.dev.js, line 25230)
call (angular2.dev.js, line 20915)
(anonymous function) (... |
Running unit tests in non-Chrome browsers raised some doubts about this API
which is currently used in the Date and Currency pipes.
To start with, it is not supported in all Safari versions (desktop and mobile)
and older browsers:
https://developer.mozilla.org/en-
US/docs/Web/JavaScript/Reference/Global_Objects/In... | 1 |
### Version
2.6.10
### Reproduction link
https://jsfiddle.net/mpqx6y8r/2/
### Steps to reproduce
Run the JSFiddle with the browser console open.
A `created` hook on the Vue component will attempt to log to the console the
return value of `this.Pet.getSpecies()` and `this.WaitingList.frontPerson()`.
However, Vu... |
### Version
2.6.10
### Reproduction link
https://codesandbox.io/s/vue-template-gg2gj
### Steps to reproduce
Create two functional components, `OuterComponent` and `InnerComponent`.
Use `InnerComponent` in `OuterComponent`.
Use `OuterComponent` in your app somewhere.
### What is expected?
`InnerComponent` s... | 0 |
#### Description
Log_loss uses LabelBibarizer to transform only original y_true, but not to
transform y_pred.
Hence array y_true=[1,1,1] is transformed into [0,0,0], while y_pred is
unchanged. This makes the result to be quite different from expected.
#### Sample code
from sklearn.metrics import lo... |
When there is only one class, such as :
y_true = np.array(['class1', 'class1', 'class1'])
y_predict = np.array([[0.1],[0.7],[0.5]])
log_loss(y_true, y_predict)
The result would be wrong, which is not the logloss of y_predict but the
logloss of 1-y_predict
The code in log_loss:
if Y.shape[1] == 1... | 1 |
Challenge http://freecodecamp.com/challenges/waypoint-add-placeholder-text-to-
a-text-field has an issue. Please describe how to reproduce it, and include
links to screenshots if possible.
Not 100% sure if its designed like this but it jumps from UL to forms skipping
OL challenge...
Also brought to my attention was... |
Challenge http://freecodecamp.com/challenges/waypoint-create-a-bulleted-
unordered-list has an issue. Please describe how to reproduce it, and include
links to screenshots if possible. This issue I noticed can occur on ANY page
and its not applicable to only this page, however on this page I decided to
report it. If ... | 1 |
This is a bug report
### Input Code
Simplified version of the problematic file that still crashes:
// @flow
import React from 'react';
import { Switch, Route } from 'react-router-dom';
import SubscriberRoutes from './SubscriberRoutes';
import NotFoundPage from '../App/NotFou... |
Could the property descriptors passed to decorators be extended to hold type
information, like they are for initializers?
| 0 |
I'm trying to set up AWS ELB attach volume access and keep getting an error on
the kubelet. I have some bad feeling it might be related to #9801 as these
nodes are CoreOS that were brought up by Terraform with custom service files
but everything else is working fine (we're running cluster monitoring, dns,
and a numbe... |
**BUG REPORT**
**Kubernetes version** (use `kubectl version`): v1.4.0
**Environment** :
* **Cloud provider or hardware configuration** : GCE
* **OS** (e.g. from /etc/os-release): default GCI image
* **Install tools** : kube-up
**What happened** :
* Create TPR "MyResource"
* Create namespace "soak-test... | 0 |
hi, i'm getting this error on default project after "php app/console
server:run"
im using php7
https://s15.postimg.io/54yaz6ty3/Se_im_001.png-
` Neither the property "ip" nor one of the methods "ip()", "getip()"/"isip()"
or "__call()" exist and have public access in class
"Symfony\Component\HttpKernel\Profiler\... |
I tried to add a new custom validation to the password property of my User
object in two different ways: in validation.xml and assert. In both cases the
property was validated by the FOSUser's validation and my custom validation,
so I got two error messages if it is common in the two validations (e.g.: the
default mi... | 0 |
using following piece of code in windows 8 64 bit, with python3.3 and
matplotlib 1.3.1
"""
def on_key_press(event):
print(event.key)
sys.stdout.flush()
fig.canvas.mpl_connect('key_press_event', on_key_press)
"""
prints stuff like 'alt+m' when pressing 'm'
|
### Bug report
**Bug summary**
imsave saves some pixels wrong to output image, or possibly it is always
mapping certain values of the input array to the wrong output values. Colormap
values appear correct, but actual data saved does not match colormap.
**Code for reproduction**
#!/usr/bin/env python... | 0 |
### Version
2.6.10
### Reproduction link
https://codepen.io/meekohi/pen/jjgezj
### Steps to reproduce
Use `@click.prevent=` along with a `:checked='booleanComponentProp'` on a
checkbox. Clicking the checkbox correctly updates all data, but the checkbox
visually remains in whatever the original state was.
### Wh... |
### Version
2.6.6
### Reproduction link
https://jsfiddle.net/s4ub8dnc/3/
### Steps to reproduce
I have a checkbox which needs to get it's checked state from a VueX store, but
I also need to be able to determine whether or not shift was being held when
the checkbox was clicked. To do this I'm using `@click.preven... | 1 |
### Apache Airflow version
2.5.0
### What happened
A user with access to manually triggering DAGs can trigger a DAG. provide a
run_id that matches the pattern used when creating scheduled runs and cause
the scheduler to crash due to database unique key violation:
2022-12-12 12:58:00,793] {scheduler_... |
### Apache Airflow version
2.1.4
### What happened
After upgrading to airflow 1.10.10 to 2.1.4, I cannot see 'Last Run' column
value on dags page on airflow web ui.
###

Why does this happen?
### Wh... | 0 |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
## Current Behavior
I'm struggling to figure out how to duplicate this locally, but I was using
`3.0.0-beta9` and upgraded to `4.1` (including upgrading to react 16) and now
I get this when I use fetch a... |
Hi. I've switched to 6.0.0 recently and upgraded `next-redux-wrapper` to the
version `2.0.0-beta.2`. It assumes using `withRedux` HOC for the `_app.jsx`
component and `react-redux`'es `connect` for pages. Currently this setup
breaks hot module replacement, i.e. the console says `[HMR] App is up to
date`, but the ... | 0 |
I have to load the data to the cache, but I find that I didn't find such a
method that I want to find the cache source path by using the url, like this:
`File file = .get(url);`
Only find that:
future = Glide.with(mContext).downloadOnly().load(sticker.getPictureUrl()).submit();
File cach... |
I am new in glide and want to migrate my app from universalimageloader to
glide.
I want to convert cached image from the disk into image file, and show it into
an ImageView.
When I use universalimageloader, I can do it easily with this way:
File imageFile = DiskCacheUtils.findInCache(image_url, Ima... | 1 |
* Output of `node_modules/.bin/electron --version`: 3.0.2
* Operating System (Platform and Version): macOS 10.14
* Output of `node_modules/.bin/electron --version` on last known working Electron version (if applicable):
**Expected Behavior**
There should be no grey line rendered at the top of the window area... |
* Electron Version: ???
* Operating System (Platform and Version): macOS 10.14 Mojave
* Last known working Electron version: ???
**Expected Behavior**
No white lines
**Actual behavior**
There is a thin white line at the top border of Discord
**To Reproduce**
Download Discord and run.
**Screenshots** ... | 1 |
#![feature(default_type_params)]
pub struct Foo<Bar = Bar>;
pub struct Baz(Foo);
fn main() {}
* * *
$ RUST_BACKTRACE=1 rustc foo.rs
foo.rs:5:16: 5:19 error: internal compiler error: Type parameter `Bar` (Bar/TypeSpace/0) out of range when substituting (root t... |
This example causes an ICE:
#![feature(default_type_params)]
trait Foo<T=Self> {
fn method(&self);
}
fn foo(x: &Foo) { }
fn main() { }
yields
<anon>:7:12: 7:15 error: internal compiler error: Type parameter `Self/SelfSpace.0` (Self/SelfSpace/0... | 1 |
Example below. While we don't support ops between different dtype tensors, we
should consider changing this behavior. In numpy, this would return a floating
tensor.
>>> import torch
>>> a = torch.tensor([1,2,3], dtype=torch.long)
>>> b = torch.tensor([3,2,1], dtype=torch.long)
>>> a/b
... |
* PyTorch version: current master (10fd27)
* How you installed PyTorch (conda, pip, source): from source
* Python version: 3.6
When dividing two ints in pure Python, the result is always a float, e.g.
>>> x = 5 / 3
>>> print(x)
1.6666666666666667
>>> print(type(x))
<class 'float'... | 1 |
I am getting this mysterious error message after my program runs for 2-3 hours
(full stack trace below). The program runs on tons of data as a part of my
academic research, so unfortunately I can't provide the data for you to
reproduce it.
The code is here:
https://github.com/fluhus/prices/tree/master/src/items2 ... |
The following program crashes when run with `GODEBUG=invalidptr=1 GOARCH=386`:
package main
import (
"math/rand"
"runtime"
)
func main() {
P := 2 * runtime.GOMAXPROCS(0)
ptrs := make([][]*int, P)
for i := 0; i < P; i++ {
i := i
... | 1 |
Instance a FlutterViewController with initWithEngine and push from native
page,
after pop it the memory not released. How to release the engine?
- (void)handleShowAction {
if(_engine == nil) {
_engine = [[FlutterEngine alloc] initWithName:@"io.flutter" project:nil];
[_... |
Initial experiments are showing that there's a significant bit of memory still
in use after the activity that has a Flutter view has finished. E.g. we should
be able to drop down to near 0 memory usage once there isn't any active
Flutter views.
The methodology of experiment and results are detailed in an internal do... | 1 |
Hi all,
My name is Martin, a master candidate in information system at Carnegie
Mellon. I have worked as an analyst and product manager before, but I would
like to become more involved in the development space and contribute more to
open source projects.
I have personally used scrapy a lot, using it both for person... |
`import logging`
`import coloredlogs`
`logging.captureWarnings(True)`
`LOGGER = logging.getLogger(__name__)`
`coloredlogs.install(level='INFO')`
**Initialization is done this way and translates into a duplication of logs in
the output. Any solution to keep only the colored logs?**

fails with an `maximum recursion depth exceeded` `RuntimeError`. It should
check for invalid input.
(via http://stackoverflow.com/questions/30841262/)
|
I have encountered a RuntimeError when using the kendall tau correlation
function on empty arrays. Obviously a correlation of empty data is
meaningless, but I have code that uses randomization so therefore I may find
in certain instances that "a" and "b" are sometimes empty (see below). I think
it would be more elega... | 1 |
**symfony/website-skeleton** : 4.1.2.3
**Description**
When installing website-skeleton, the following error is displayed:
...
- Configuring symfony/phpunit-bridge (>=4.1): From github.com/symfony/recipes:master
- Configuring symfony/web-server-bundle (>=3.3): From github.com/symfony/re... |
Composer version 1.6.5
linux debian 9.4
PHP 7.2.7-1stretch~1.gbpfd8e2e (cli)
run: composer create-project symfony/website-skeleton my-project
returns error
>
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In ArrayNode.php line 311:
!! ... | 1 |
### Version
v2.5.16-v2.5.17-beta.0
### Reproduction link
https://codepen.io/weijuer/pen/VxWKww
### Steps to reproduce
IE10列表展示不了
### What is expected?
正常遍历列表
### What is actually happening?
IE10列表展示不了
* * *
请用IE10浏览器浏览,而非调试的兼容模式!
|
### Version
2.5.16 / 2.5.17
### Reproduction link
https://jsfiddle.net/plasmaeng/ndmjjkho/1/
### Steps to reproduce
Running the code below in IE10 will result in the following error:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="... | 1 |
**Holger Engels** opened **SPR-638** and commented
"GenerateLetters.java:42" calls SessionFactoryUtils.getSession(), before the
adviced method "ProfileBuilderLogicSupport.java:542" is called. Problem:
SessionFactoryUtils looks up the Session with SessionHolder.DEFAULT_KEY,
though the Session is stored with the curr... |
**John Hampton** opened **SPR-4138** and commented
A MailSendException created with the MailSendException(String msg) constructor
throws a NPE when printStackTrace is called.
java.lang.NullPointerException
at
org.springframework.mail.MailSendException.printStackTrace(MailSendException.java:149)
at
org.apache.lo... | 0 |
#### Challenge Name
Video Challenges - Computer Basics
https://www.freecodecamp.com/videos/computer-basics-how-to-measure-data-size
#### Issue Description
I have watched How to Measure Data Size and answered the questions 3 times now
and it is not marking it as complete. Same thing with Measuring Data Speed.
###... |
There's no green check mark in the view for this video challenge...

... even though I've completed it.
 works fine.
Its just this test that fail.
Install test-phase fails with this output:
6g -o _gotest_.6 client.go fs.go request.go ser... |
I spent some time on GopherCon trying to figure how to make the qml package work
smoothly on Mac OS. Apparently it was working fine out of luck, because the OS requires
some calls to be made from the initial thread. Now something unrelated was touched, and
the graphic goroutine is landing on ... | 0 |
The following code currently produces an ICE:
fn main() {
let bytes = [1u8, 2, 3, 4, 5, 6, 7, 8];
for [a, b, c, d] in bytes.chunks(4) {
println!("{} {} {} {}", a, b, c, d);
}
}
<anon>:4:9: 4:21 error: internal compiler error: Explicit index of ... |
The following code
struct Wrapper<'a> {
slice: &'a [u8]
}
fn main() {
let foo = Some(b"Hello World!");
let bar: Option<Wrapper<'static>> = foo.map(|&x| Wrapper { slice: x });
}
triggers a compiler bug:
$ RUST_BACKTRACE=1 rustc test... | 1 |
Pulling in https://github.com/jakevdp/JSAnimation (which hasn't changed in
over a year) would greatly enhance the experience of using animations in the
notebook with stock matplotlib. Also, like trendvis, oceancm, and viscm, this
would move an very useful matplotlib-based tool into our fold.
The core implementation ... |
Trying to make the what's new and following the update and validate the docs
guide and it says:
comment out the next whats new glob at the top
but it's already commented out in what's new
.. _whats-new:
Also the instructions in the what new:
For a release, a... | 0 |
* Electron version: 0.36.8
* Operating system: OS X 10.11.2
Origin webview:

Add transform: scale(0.3) to it:
 NumPy constant that I matmul
against 160 different weight matrices.
I am noticing that JAX is repeatedly calling `_raw_device_put` on it,
seemingly taking up >10G of accelerator HBM during tracing (resulting in an
OOM at trace-time).
A repro is below:
1. Add a print... | 0 |
Converting ns/as-precisiong datetime64 to datetime.datetime results in
integer:
`datetime.datetime` does not support nanoseconds (see issue). When numpy casts
it should round or raise an error, instead it silently returns int:
In [186]: numpy.datetime64("1985-08-13", "us").astype(datetime.datetime)
... |
The dtype `np.object_` is the most general catch-all type to contain arbitrary
python objects. As such, `.astype(object)` should preferably not upcast, but
certainly never _down_ cast:
### Reproducing code example:
>>> import numpy as np
>>> arr = np.array([10 ** 18], dtype='M8[ns]')
>>> arr
... | 1 |
##### Reading data from renderTarget does not work on iOS
Example: https://jsfiddle.net/9n0bha3v/1/
QR Code to Example:

What the example is supposed to do:
On desktop browsers (tested on Chrome, Saf... |
##### Description of the problem
I think `setProjectionFromUnion()` in `WebXRManager` is for stereoscopic
rendering. But it's called even for non-stereoscopic rendering, for example
mobile AR, from `WebXRManager.getCamera()`.
Especially, in mobile AR (view# is 1) `cameraR` (`cameraVR.cameras[1]`) won't
be updated. ... | 0 |
We are using error boundaries to catch and handle errors inside of a React
render. As for errors which occur outside of a React render (i.e. uncaught
errors that happen in a timeout), we need to register an uncaught error
handler (`window.addEventListener('error', …)`) to handle these separately
(otherwise the user w... |
I'm trying to make use of componentDidCatch in the React 16 beta. I already
had a global window error handler which was working fine, but it unexpectedly
catches errors that I would expect componentDidCatch to have handled. That is,
component-local errors are being treated as window-global errors in dev
builds.
The ... | 1 |
Base.:+(x::Int, y::Int) = println(x, y)
# 'julia' terminated by signal SIGSEGV (Address boundary error)
Base.:+(x::Int, y::Int) = 1
# KeyError: key :normal not found in getindex(::Dict{Any,Any}, ::Symbol) at ./dict.jl:478
Base.:+(x::Int, y) = 1
# fatal: error thrown and no e... |
This may be a dumb thing to do, but probably it shouldn't segfault:
julia> import Base.*; *(::Int, ::Int) = 3
Segmentation fault: 11
This issue does not occur in 0.5.1.
Version info:
Julia Version 0.6.0-pre.alpha.58
Commit 015cc63 (2017-03-06 15:15 UTC)
Platform Info:
... | 1 |
interface Bank {
balance: number;
withdraw(x: number): number;
}
class PowellCountyBank implements Bank {
balance: number = 0;
withdraw(x) {
return (this.balance - x);
}
}
var b = new PowellCountyBank();
console.l... |
When a property has exactly one type from an `extends` or `implements` clause,
we should contextually type that property's initializer by the type from the
clause. For example:
interface ThingListener {
handleEvent: (x: MouseEvent) => void;
}
class Foo implements ThingListener {
... | 1 |
With this code: retep998/term@`2b94c82`
I get an ICE
Peter@Win81-SSD MINGW64 ~/term
$ cargo run --example something
Compiling kernel32-sys v0.1.0
Compiling libc v0.1.6
Compiling winapi v0.1.17
Compiling term v0.2.7 (file:///C:/msys64/home/Peter/term)
examples\somet... |
This error is related to #22050, not sure if it's a dupe. Some of the
following code snippets rely on the term library (but the issue seems to be in
Rust, not `term`).
The following builds fine:
fn foo() {
let mut s = String::new();
writeln!(s, "foo").unwrap();
}
This gives an err... | 1 |
In my static folder I have the following symlink:
semantic.min.css -> ../node_modules/semantic-ui-css/semantic.min.css
When I do a `next export` it copies the symlink into the `out/static` folder.
It would make more sense for it to read the contents of the file that is
symlinked to and place that... |
# Bug report
## Describe the bug
When using `Link` (next/Link) with a functional component (button), it stops
working.
Basically, the link is **ignored**. The button's click is properly triggered,
but there is **no redirection** happening.
## To Reproduce
I had the following (working) source code:
... | 0 |
Back to Top function is not working in Bootstrap 3 RC1
|
Button "Back to top" not working (docs)
| 1 |
### Versions
Material-UI: 1.0.0-alpha.19
React: 15.5.4
Browser: Chrome
In current implementation of Dialog component dialog content has next style
MuiDialogContent-root-... and predefined style property overflow-y:auto

|

| 0 |
**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 ...** (check one with "x")
[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**
Aux-Routes are not found when using ... | 1 |
From MSFT:21408490
If I enable the setting `experimental_showTabsInTitlebar` then maximize the
window on a vertical monitor (1080x1920), the first column of text is cut off.
Screenshot attached.

|
# Environment
Windows build number: [run "ver" at a command prompt]
Windows Terminal version (if applicable):
Any other software?
Microsoft Windows [Version 10.0.18892.1001]
# Steps to reproduce
Press the maximize button when the terminal is on a non-primary monitor
# Expected beh... | 1 |
### Problem
Latex compilers are very slow.
### Proposed solution
Typst is orders of magnitude faster than any latex compiler (runs in
milliseconds) and has a much easier to use syntax than latex (subjective but I
think most agree). I'd like to request support for it as a rendering engine
for math in figures.
I'm ... |
### Problem
I don't use Texlive, I use Tectonic, and I using `plt.rcParams['text.usetex']`
requires me to download a different LaTeX engine, not only because the `latex`
binary is searched, but also because the `tex` files that are meant for
compilation are meant for `pdflatex`, and not `xetex`, which tectonic
essen... | 1 |
**Mike Youngstrom** opened **SPR-4372** and commented
I would like to do some custom operations when scanning for components which
has lead me to wish for some additional extension points the Spring Component
Scanning.
1. It would be nice if there were some sort of way to manipulate each BeanDefinitions found in... |
**Daniel Rubio** opened **SPR-6082** and commented
upgrading a functioning 2.5 app to the most recent 3.0 (M4) release.
I have the following bean definition that fails in 3.0 M4:
<bean id="localeResolver"^M
class="org.springframework.web.servlet.i18n.CookieLocaleResolver">^M
<property name="cookieName" value=... | 0 |
**Migrated issue, originally created by Mehdi GMIRA (@mehdigmira)**
I encountred a bug with the postgres specific "DISTINCT ON" in SQLAlchemy
The real SA query I'm using is more complicated than this, but it sums up to :
query = db.session.query(c1, c2, c3, c4).distinct(c1, c2).order_by(c1, c2, c3)
... |
**Describe your question**
I have an app where all the schemas are declared.
Have another readonly-app and want to shortcut schemas duplication for now by
using `automap_base()`.
No error were given from main app, but when I'm trying to do:
Base = automap_base()
Base.prepare(db.engine, reflec... | 0 |
**Describe the feature** :
Currently, by setting server_side_encryption to true, the only method that is
allowed is aes256. It would be great if we could specify other s3 encryption
methods, e.g. aws:kms.
For aws:kms, if the bucket has a default key, it's just a matter of including
the correct header, so one possi... |
**Describe the feature** : We'd like to store the snapshots of our elastic
database in the aws bucket secured with the KMS server-side encryption. There
already is a stale merge request (#25620) and we are considering working on
this feature, but only if you guys are keen in merging the change upstream.
Can you gu... | 1 |
Chrome supports -- good

Atom does not -- bad

|
Can the rubber band scroll effect at the top and bottom of the editor when
reaching the end of the scrollable area be enabled? I'm not sure if this works
yet on scrollable divs, but it would be nice.
| 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: latest master branch
* Operating System version: macos
* Java version: 1.8
### Description
in C... |
* 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: reproduced with 2.7.3, 2.7.8
* Operating System version: Windows 10
* Java version: 1.8.0
### St... | 0 |
In Sublime text I can select text and drag and drop it to a new line.
This feature would be great to have in Atom. :)
|
I was sure an issue was already opened for this, but can't find it now.
Halp ticket:
* support/5124ebc4cfa211e3871387e11a229b02
Would be cool if it was possible to select some text and then drag-and-drop it
to some other place.
| 1 |
We have an issue with some of our run scripts that utilize the "start" command
and have isolated it to the changes in 1809 vs 1803. This seems to be
different from the other issues that have been identified.
Specifically, when using `start` to call a command/program that exists in a
directory other than the current,... |
In 1809, the way the `start` command (from `cmd.exe`) behaves has changed. You
can work around it by adding `/max` or `/min` after `start`.
Two concrete examples:
1. Running something off a network share from a command prompt like:
`start z:\myapp.exe`
will now throw up a security warning dialog, when it did ... | 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: 2.7.8
* Operating System version: MacOS 15.17
* Java version: 1.8
### Steps to reproduce this is... |
* 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
1. ... | 0 |
From what I can see, LogisticRegressionCV.score always computes accuracy, not
the metric given by `scoring`. That's inconsistent with the behavior of
`GridSearchCV`. How do other `CV` estimators do that? I assume the same?
That's pretty unfortunate and I think we should change it. We did the same
backward incompati... |
input length (true, score) is 9177
output fp,tp,th size is 5816 but when I re-sample the data it is 5756 (I guess
due to sampling with replacement creates duplicate data which is about 1/e)
in matlab, perfcurve returns fp,tp,th the same size as the input size or at
specified fp/tp/th values.
| 0 |
>>> import pandas as pd
>>> df = pd.DataFrame({'x': [1.], 'y': [2.], 'z': [3.]})
>>> df.columns = ['x', 'x', 'z']
>>> df[['x', 'y', 'z']]
KeyError: "['z'] not in index"
I expected to see `KeyError: "['y'] not in index"`.
I've tested this on the latest code in master (and on 0.16):
... |
#### Code Sample, a copy-pastable example if possible
>>> s = pd.Series([10,9,8,7,7,7,6])
>>> s.nlargest(4)
0 10
1 9
2 8
3 7
dtype: int64
#### Problem description
The docstrings list `False` as one of the possible argument values for `keep`.
pandas raises a `Val... | 0 |
by **jan.newmarch** :
If a program has unused variables, then 6g produces a compile error. It would be nicer
as a compile warning instead. Often I'm commenting out a piece of code during debugging
which can change a variable from used to unused, meaning I have to temporarily get rid
of the ... |
Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:
Run "go version" and compare against
http://golang.org/doc/devel/release.html If a newer version of Go exists,
i... | 0 |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
When developing an app, with or without a third-party server (`express`, for
instance), the app should reload without "clearing" the terminal. When
starting with `next dev --preserve-log`, the log should... |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
When I upload details from a form to an end-point it works in dev server I can
console.log and see the details.
But in production, both now and heroku, it returns error 501 not implemented.
It wo... | 0 |
I am building a web app with Flask when I encountered the strangest error.
`pandas-0.19.2` calls in `pandas.core.indexing`
# 32-bit floating point machine epsilon
_eps = np.finfo('f4').eps
The call never finish in `numpy-1.12.0` when called from the Apache server
environment with `mod_ws... |
If an application is using multiple embedded sub interpreters that use numpy,
there is a possibility that floating point errors can cause the thread to
deadlock. I traced this down to ufunc_object's _error_handler() method where
it does NPY_ALLOW_C_API and that freezes on PyGILStateEnsure(). Interestingly,
the PyGILS... | 1 |
**I'm submitting a ...** (check one with "x")
[x] feature request
Currently it's very verbose to access route data or params from a service or
non active route. To simplify this we can introduce `RootActivatedRoute` with
additional props:
class RootActivatedRoute extends Activated... |
**I'm submitting a ...** (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[x] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
... | 1 |
# Summary of the new feature/enhancement
It would help people who use multiple keyboards to easily setup macros without
needing third party softwares.
# Proposed technical implementation details (optional)
I want to be able to remap all the keys of more than one keyboard. Or perhaps
of all connected keyboards.
|
Now if i type edge in Run(0.19.2), I get this:

However actually I want to open the sites I already opened, for which I have
to scroll to the second page of Run.
Like this:
 {
return new Promise(resolve => ... |
> Issue originally made by Dmitriy Krasnikov (dmitriy.krasnikov)
### Bug information
* **Babel version:** 6.3.26
* **Node version:** 5.3
* **npm version:** 3.3.12
### Options
{
plugins:[
"transform-async-to-generator",
]
}
### Input code
export clas... | 1 |
### Problem description
this is what causing the problem
`<JssProvider>`
This is a bug that i saw when making production build.
**Below images the left side is development and right side is production.**
This is my component.
 = x ? 1... |
I'm not sure if this change was expected going forward from 0.6. Previously
this would have returned a function pointer to a function that threw a
TypeError if the arguments produced a result that was not the same type as the
returntype argument to cfunction.
Running julia-debug
julia> unstable(x) = x... | 1 |
## Checklist
#### Celery report
software -> celery:4.2.0rc4 (windowlicker) kombu:4.2.1 py:3.6.5
billiard:3.5.0.3 py-amqp:2.3.2
platform -> system:Linux arch:64bit, ELF imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:redis://redis/0
broker_url: 'amqp://user:********@rab... |
Version: celery==4.1.0
$ celery -A poc worker --loglevel=info
-------------- celery@dudepro.local v4.1.0 (latentcall)
---- **** -----
--- * *** * -- Darwin-16.7.0-x86_64-i386-64bit 2018-05-16 17:42:08
-- * - **** ---
- ** ---------- [config]
- ** ---------- .> app: ... | 1 |
Challenge Target Even Numbered Elements Using jQuery has an issue.
User Agent is: `Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/48.0.2564.109 Safari/537.36`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
My code:
<sc... |
Challenge http://www.freecodecamp.com/challenges/waypoint-sift-through-text-
with-regular-expressions has an issue.
in this challenge explanation of regexp matching basics looks like on the
screenshot below.
in the example it sounds rather misleading, that "+" quantifier relates to
whole "the" / "and" word. in fact... | 0 |
The exception messages thrown by the user checker don't support
internationalization natively :
Symfony/vendor/symfony/src/Symfony/Component/Security/Core/User/UserChecker.php
|
Translating form fields for which translation strings are available in
"singular | plural" form fails.
Form translation always uses trans() and never transchoice(). There is
apparently no way to tell it to do so. That means duplication of translations
or other stupidity to work around this problem.
| 0 |
**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
... |
[ ] bug report
[ x ] feature request
[ ] support request
**What is the motivation / use case for changing the behavior?**
Currently null or empty value passed to `routerLink` adds current page `href`
value to link that is not useful. There is a lot of usecases for 'disabled'
links that sh... | 1 |
When I typed $this in PHP files, I selected auto-complete $this, then it
becomed $$this actually.
|
When using autocompletion for variables it places 2 dollar signs instead of 1.
For example typing $_GET will transform it into $$_GET. Fails with every
completion starting with $.
| 1 |
* Neo4j version: 4.0
* Operating system: Official Docker Container on Linux
**Steps to reproduce**
* Start neo4j docker container
## Report
Neo4j 4.0 prints warnings about illegal reflexive access on startup (see
below)
### Steps to reproduce
1. Start Neo4j Docker container
### Expected behaviour
Scar... |
**Is your feature request related to a problem? Please describe.**
It would be nice to address or suppress the warnings that show up when
starting up Neo4j 4 (Neo4j 4.0.0-alpha09mr02)
Specifically:
Luannes-MacBook-Pro-3:bin luanne$ ./neo4j console
Directories in use:
home: /Users/l... | 1 |
If I have an inner object that has the same name as a type, then queries for
that inner object will fail.
The workaround is to rename the type or the inner object, but the behaviour is
confusing and misleading (and wrong).
To reproduce, create a new index, type and document:
curl -XPOST 'localhost:9200/test/flow/... |
As far as I understand it, fields are resolved on a _first found_ basis. So
given the following documents:
PUT /index/foo/1
{
"count": 1,
"foo": {
"count": 1
}
}
PUT /index/bar/2
{
"count": 1,
"foo": {
"count": 1
... | 1 |
Hey Guys, I just noticed an upgrade to 4.2.0 from 4.1.1 causes breaking
changes. Any ideas where this was intoduced?
System:
OSX 10.13.5
Anaconda Python 3.7
## Steps to reproduce
Install:
$ pip install Celery=4.2.0
Code:
celery_amqp_url=os.getenv("CELERY_AMQP_URL")
... |
I am getting an error in the stack trace below. It looks like this line is
referencing the wrong field name:
https://github.com/celery/celery/blob/master/celery/worker/request.py#L520. I
don't think time_limits exists for this Request. The only place in celery
codebase that I see using `create_request_cls` is here
c... | 1 |
Hi,
we are using angular2 as view engine for meteor application, meteor has
angular2 rc3 integrated with it. i wanted to know how to access/manipulate the
DOM.
|
Hi,
we are using angular2 as view engine for meteor application, meteor has
angular2 rc3 integrated with it. i wanted to know how to access/manipulate the
DOM.
| 1 |
I am using Julia for an application in PDE-constrained optimization, and have
run into an issue I haven't seen before, giving a segfault when trying to
return (apparently) from a function call. I only mention the nested functions
because in the optimization setup, I construct functionals using passed data,
and then p... |
This is a cross-post of JuliaGraphics/Gtk.jl#466. Brief summary: there is a
10x increase in package load time for Gtk (from ~1s to ~10s), for which the
main culprit is the sheer number of calls to `jl_recache_method_instance`.
Looking at the signatures it's being called on, it's not clear that all of
those deserve to... | 0 |
## Issue description
nn.DataParallel uses memory on GPU 0 even if it's explicitly instructed to use
2 and 3.
## Code example
No line in this code snippet touches `cuda:0`.
import os
import torch
import torch.nn as nn
class MM(nn.Module):
def __init__(self):
... |
## Issue description
on a multi GPU system, if a GPU != 0 is used, pytorch will still allocate some
memory on the GPU 0 - see the nvidia-smi screenshot below.
## Code example
import torch
import torch.nn as nn
from torch.autograd import Variable
import torch.optim as optim........
... | 1 |
Hi there, I'm stuck here.
Challenge escaping-literal-quotes-in-strings has an issue.
User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36`.
My code:
var myStr = "I am a \"double quoted\" string inside \"double quotes\"."... |
On the current staging, two challenges ("Escaping Literal Quotes in Strings"
and "Quoting Strings with Single Quotes") do not pass all tests with standard
solution code.
Namely, tests asserting regex match lengths for non-escaped double quotes are
failing:
`code.match(/[^\\\\]\"/g).length === 2` in the former chal... | 1 |
There is quite a number of duplicated code in different node status related
test functions, such as mock cadvisor intialization, expected node status etc.
It should be cleaned up. :)
|
Admittedly this one is an edge case, but we had an issue that nearly locked us
out of our AWS account following data loss on the kubernetes master.
Specifically:
1. We turned up a k8s cluster integrated with AWS
2. An issue in our infrastructure caused us to lose the master's etcd storage (since resolved)
3. T... | 0 |
Issue Id: **76000c98-ba3d-f84d-60f4-a18061d87e94**
_Versions_
\- 0.10.6-release
\- `df35236`
\- `45d6935`
\- `783ecf8`
\- `7cc0c60`
\- `db71ac6`
_Stack_
RangeError: Maximum call stack size exceeded
at y.scan (out/vs/languages/sass/common/sassWorker.js:4:902)
at y.scan (out/vs/languages/sass... |
Issue Id: **968d4e7a-4da8-28b1-94a4-326ec7727806**
_Versions_
\- 0.10.6-release
\- `783ecf8`
\- `df35236`
\- `dfc08dc`
\- `7cc0c60`
\- `db71ac6`
_Stack_
RangeError: Maximum call stack size exceeded
[/vs/languages/css/common/parser/cssScanner.ts#L264:2
(Scanner.scan)](https://github.com/micros... | 1 |
**Migrated issue, originally created by Wichert Akkerman (@wichert)**
I'm used to metadata.create_all() being very smart and creating everything as
needed. I seem to have found a gap in its knowledge though: enum types that
are only used in PostgreSQL ARRAY types are not created. The attached test
case gives this o... |
**Migrated issue, originally created by Anonymous**
metadata.create_all do not create work_place_roles if Enum in
sqlalchemy.dialects.postgresql.ARRAY
class WorkPlacement(Base):
__tablename__ = 'work_placement'
roles = Column(ARRAY(Enum('manager', 'place_admin', 'carwash_admin',
... | 1 |
The desire average would be 38/4 = 9.5.
POST /sports/athlete/13
{"name":"john","rating": ["8", "10"]}
POST /sports/athlete/14
{"name":"john","rating": ["10", "10"]}
POST /sports/athlete/_search
{
"size": 0,
"aggregations": {
"the_name": {
"terms": {
"field": "name",
"order": {
"rating_avg": "d... |
**Description of the problem including expected versus actual behavior** :
On Elasticsearch 2.2.1, when loading some geojson shapes into a field indexed
with:
"location": {"type": "geo_shape", "precision": "1600m"}
Throws the following error:
Provided shape has duplicate consecu... | 0 |
##### Issue Type:
Bug
##### Ansible Version:
Have encountered it in head, 1.5.2 and 1.5.3, according to discussions on irc
it has been around for quite some time.
##### Environment:
Deploy os is Os X mavericks servers deployed to is debian 7.
##### Summary:
When using child groups to be able to override som va... |
Allow for nesting of groups within groups in the /etc/ansible/hosts Inventory
File. A comparative (but not exact match) feature would be LUMPs in dsh.
Examples would be something like:
[datacenters]
east-coast-dc
west-coast-dc
[east-coast-dc]
eastcoast-webservers
eastcoast-appservers
[west-coast-dc]
wes... | 0 |
Looks like the os.geteuid() is not available in windows. which is causing
celery not start. Please do help with some fix.
|
Traceback (most recent call last):
File "C:\Python27\Scripts\celery-script.py", line 9, in <module>
load_entry_point('celery==3.1.5', 'console_scripts', 'celery')()
File "C:\Python27\lib\site-packages\celery-3.1.5-py2.7.egg\celery\__main__.py", line 29, in main
mai... | 1 |
There is no ARM build of Electron.
This prevents Visual Studio Code from being compiled for ARM Linux.
https://code.visualstudio.com/Issues/Detail/17414
|
Is there a way to cross/compile atom-shell for ARM based computers?
| 1 |
hi,
i have update to 0.14 version because i want to use a premade component which
requires it. i've spent an hour more trying to debug why nothing renders, then
i tried other components that worked, but they didn't render either.
then i googled and found that i need to require react-dom and ReactDOM.render
but thi... |
Describe what you were doing when the bug occurred:
1. Scrolling through the components tree after inspecting a DOM element and selecting the "Components" tab.
* * *
## Please do not remove the text below this line
DevTools version: 4.11.0-39713716aa
Call stack: at store_Store.getElementAtIndex (chrome-
extens... | 0 |
This kind of crap is unacceptable. Python3.7 team should remove their
collective head from their collective butt. (keyword mismatch)
jA$ scrapy shell
2018-07-08 14:42:44 [scrapy.utils.log] INFO: Scrapy 1.5.0 started (bot:
scrapybot)
2018-07-08 14:42:44 [scrapy.utils.log] INFO: Versions: lxml 4.2.3.0, libxml2
2.9... |
The goal is to add python 3.7 to travis and pass all tests, the first beta was
already released at the end of January.
| 1 |
## Steps to Reproduce
I would like to show the hintText of a textField until the user touches
somewhere else.
The touchpoint could be deep in the widget tree and I dont know how to obtain
the current focused node somewhere in the widget tree to call unfocused, to
show the textField inactive and hide the keyboard. ... |
It's not clear how to accomplish this.
| 1 |
Hi!
I use CELERYD_STATE_DB to persist revoked tasks.
Flower reports hundreds of duplicated lines in that file ...
Indeed, when I read the file, I get :
# in a celery shell
>>> from celery.worker import state
>>> p = state.Persistent(state, CELERYD_STATE_DB)
>>> p._revoked_tasks
Limi... |
I think that it would be a good idea to release a new version that includes
all bug fixes so far. @thedrow @auvipy thoughts?
I can help with the changelog.
| 0 |
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
azure_rm_deployment
##### ANSIBLE VERSION
ansible 2.4.0.0
config file = /home/boss/automation/ansible.cfg
configured module search path = [u'/home/boss/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible py... |
the man pages contain two AUTHOR sections, e.g. in ansible(1):
AUTHOR
Ansible was originally written by Michael DeHaan. See the AUTHORS file
for a complete list of contributors.
[...]
AUTHOR
:doctype:manpage
Author.
the second one seems unnecessary
Regards,
Markus
| 0 |
Related to #1578, nan's are still converted to -maxint when it is assigned by
slicing.
>>> np.__version__
'1.9.0.dev-6857173'
>>> i = np.array([1, 2, 3, 4, 5])
>>> i[3] = np.nan
ValueError: cannot convert float NaN to integer
>>> i[0:2] = np.nan
array([-9223372036854775808, -922... |
This seems inconsistent:
In [38]: x = np.array([np.nan, 1, 2, 3])
In [39]: x
Out[39]: array([ nan, 1., 2., 3.])
In [40]: x.astype(np.int16)
Out[40]: array([0, 1, 2, 3], dtype=int16)
In [41]: x.astype(np.int32)
Out[41]: array([-2147483648, 1, ... | 1 |
// file: foo.ts
import BluebirdPromise from 'bluebird';
export async function foo(): BluebirdPromise { }
// file: foo.js
function foo() {
return __awaiter(this, void 0, BluebirdPromise, function* () { });
}
exports.foo = foo;
(Compiled with `target=ES6, module=common... |
The generated JS code is missing a dependency onto the references promise
implementation. Steps to reproduce:
* install bluebird promises
* create the following bluebird.d.ts.
declare module 'bluebird' {
interface Promise<T> {
then<U>(onFulfilled: (value: T) => U, onRejected: (... | 1 |
this example works great
function test(value: string[]| string){
var result: string;
if (value instanceof Array){
result = value.join('');
}
}
but this
interface IFoo {
value: string[] | string;
}
function bar(options: IFoo) {... |
var data : { value: string | number } = { value: 'hey' };
if (typeof data.value === 'string') {
alert(data.value.toLowerCase()); // <-- type of value is undecided
}
| 1 |
**EDIT:** For the impatient ones, Skip down to my comment below with
directions on how to install all dependencies for Julia on Ubuntu 12.04.
It'd be great to have an Ubuntu PPA that collects all the software that Julia
needs to compile. This could significantly cut down on compile times, and
would be a nice first s... |
Noticing this on Windows:
julia> versioninfo()
Julia Version 0.3.0-prerelease+2584
Commit 951e027* (2014-04-10 13:40 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT D... | 0 |
I'm trying to make a terms facet of an IP address field (with the ip type). It
returns numbers, not IP addresses. It works if the type is string. I thought
it was fixed in #678. I'm using 0.90.3.
The idea is to use Kibana to draw a pie of the top IP addresses in my logs.
|
Terms facet on ip field returns raw integers instead of ip addresses.
When asked:
curl -XGET http://172.16.0.134:9200/nginx-2013.07.12/_search?pretty -d'
{
"facets": {
"pie": {
"terms": {
"field": "clientip",
"size": 10,
"exclude": []
... | 1 |
_From@egamma on January 22, 2016 9:10_
Setup
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"allowJs": true
},
"exclude": [
"node_modules"
]
}
Create a single file with a single function.
. I think this approach
doesn't scale very well and is too simplistic.
* If we have a larger app with ... | 0 |
The editor does not work tab, open only one tab
|
I _really_ miss proper tabs for open files (like VS proper), and the ability
to rip a tab out into its own window.
| 1 |
**Isssue**
`tel` and `callto` links not opened in app despite having been registered with
`setAsDefaultProtocolClient`
_It is very similar (identical?) tothis issue. It is 6 months old and has
received 7 thumbs up but no further attention, hence this new attempt._
Specifics:
* Output of `node_modules/.bin/ele... |
### 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:**
* v5... | 0 |
function Decoration() {}
function PropertyDecoration(target: any) {
console.log(target);
}
@Decoration
export class ClassName {
@PropertyDecoration
property: string = 'null';
}
compiles to:
function Decoration() { }
function Pr... |
const bar = (target: any, name: any, value: any) => {
const parentName = target.constructor.name
console.log(parentName)
}
class a {
@bar
public foo() {
}
}
It works. _But_
const bar = (target: any, name: any, value: any) => {
const par... | 1 |
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
logstash callback plugin
##### ANSIBLE VERSION
ansible 2.3.0.0
config file = /root/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 2015... |
##### ISSUE TYPE
* Feature Idea
##### COMPONENT NAME
vault
##### ANSIBLE VERSION
2.x
##### CONFIGURATION
N/A
##### OS / ENVIRONMENT
N/A
##### SUMMARY
Inspired by #8340. I'm not sure if vault or the file loader already has such a
feature, but if it could index loaded files by checksum, it wouldn't have to... | 0 |
**Elasticsearch version** : 2.2.0
**JVM version** :1.8
**OS version** :Linux Mint 17.2 Cinnamon 64-bit (Cinnamon 2.6.13)
**Description of the problem including expected versus actual behavior:**
Hi,
i created nativescript in java and create .zip file with (jar and plugin-
descriptor.properties) and install it... |
**Elasticsearch version** : 2.2
**JVM version** : 1.8u66
**OS version** : Win 8.1
**Description of the problem including expected versus actual behavior** :
When specifying a bogus analyzer (maybe a typo), ES throws an internal NPE in
the logs and the request blocks. Instead the exception should be thrown to the
... | 0 |
Unintended behaviour of pandas happens when one tries to create a series
applying
tuple (or list) to two columns of a dataframe, one of which consists of
timestamps:
import pandas as pd
import numpy as np
d = pd.DataFrame({'a': pd.Series(np.random.randn(4)),
'b': ['a', ... |
#### Code Sample, a copy-pastable example if possible
d=[['hello',1,'GOOD','long.kw'],
[1.2,'chipotle',np.nan,'bingo'],
['various',np.nan,3000,123.456]]
t=pd.DataFrame(data=d, columns=['A','B','C','D'])
t['combined'] = t.apply(l... | 1 |
### System info
* Playwright Version: 1.34.3
* Operating System: Windows 11
* Browser: Chromium
* Other info: n/a
### Source code
* I provided exact source code that allows reproducing the issue locally.
**Link to the GitHub repository with the repro**
kumarchandresh/playwright-issues
**Steps**
1. ... |
For send array "data[product]" I write
"data[product][]:18
data[product][]:55"
In postman it looks like this:

How to make similar array to playwright?
: number {
const index = findIndex(array, matcher) // ERROR HERE: immutable-array.ts:21
if (index === -1) {
r... |
**Search Terms:**
"excessive depth"
"generic partial"
**Code**
const fn = <T>(arg: T) => {
((arg2: RecursivePartial<T>) => {
// ...
})(arg); // <-- here
};
type RecursivePartial<T> = {
[P in keyof T]?: RecursivePartial<T[P]>;
};
**Expected beh... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.