text1 stringlengths 2 269k | text2 stringlengths 2 242k | label int64 0 1 |
|---|---|---|
Log:
21:31:08 test_proper_exit (__main__.TestDataLoader)
21:31:08 There might be ConnectionResetError or leaked semaphore warning (due to dirty process exit), but they are all safe to ignore ... Traceback (most recent call last):
21:31:10 File "<string>", line 1, in <module>
21:31:10 Fi... |
## 🚀 Feature
When I try to load a plugin library built with 2 cpp file,
torch.ops.load_library("libtorch_plugins.so")
I got the following error:
Only a single TORCH_LIBRARY can be used to register the namespace decode; please put all of your definitions in a single TORCH_LIBRARY block... | 0 |
Hi,
There was a hot discussion in the Gitter chat and there is a nice post on the
forum about people missing the `filter` feature in 2.0 and it actually being a
no-go to upgrading for some. This isn't a positive direction for the community
it seems.
So, I'd like to put up this suggestion to bring back filters in 2.... |
### Version
2.5.17
### Reproduction link
https://jsfiddle.net/4n9jcgxL/
### Steps to reproduce
Change the text in the "normal" input. `value` bindings update as expected.
Change the text in the "component" input. `value` bindings still update as
expected.
Change the text in the "normal" input again. The "compo... | 0 |
Comment placement not preserved in the following:
**source**
// no args
function foo(/* some comment */) {
}
**6to5 v2.12.0**
"use strict";
function foo() {}
/* some comment */
* * *
This works though:
// have args
function foo( arg /* some com... |
The following example `gulpfile` runs at **~5.5 seconds** on my machine when
processing an empty file.
var gulp = require('gulp');
var babel = require('gulp-babel');
var ENTRY_FILE = './test.js';
var BUILD_PATH = './build';
var build = function() {
return gulp.src(ENTR... | 0 |
Here is an issue that I came across with Count Vectorizer and its use with
Column Transformer and Pipelines
https://stackoverflow.com/questions/54541490/sklearn-text-and-numeric-
features-with-columntransformer-has-value-error/57970935#57970935
I found a work around using by removing the column name to be processed... |
## Describe the workflow you want to enable
Let's take a probability-based regression model like
`sklearn.linear_model.LogisticRegression`.
We have two methods to get the predictions:
* predict_proba() outputs a probability for each class
* predict() outputs a class (the one with the most important probabilit... | 0 |
As far as I understand, for the time being STFT isn't natively supported by
ONNX
STFT can be exported as a Conv1d op with precomputed (windowed) Fourier basis:
https://github.com/NVIDIA/mellotron/blob/master/stft.py
This is useful for tracking/exporting speech recongition models.
I've done a pure PyTorch version i... |
how can i put “torch.stft“ and” torch.istft” function into onnx?
cc @BowenBao @neginraoof
| 1 |
Using the type ahead, I had a client asking me why sometimes the drop-down
list did not select their choice and after testing we found out why. If you
look at the online example of the type ahead and bring up some items in the
list and then click, and hold down the mouse button over an option, the list
clears and the... |
If you reload a url with a #currentPage anchor, or come from a
differentPage#scrollSpyPage, it misses the correct active scrollspy nav by the
height distance the #currentPage element is at. For example, if you follow
this link to the Scrollspy documentation:
http://twitter.github.com/bootstrap/javascript.html#scrol... | 0 |
_Original tickethttp://projects.scipy.org/scipy/ticket/567 on 2007-12-18 by
trac user cems, assigned to unknown._
Reproducible bug.
version 0.5.2.1-2 from fink
running in ipython, mac ppc G4, 10.4.11
description: at many special input values stats.norm.cdf() returns a nan.
Example:
In [308]: stats.norm.cdf(-1... |
_Original tickethttp://projects.scipy.org/scipy/ticket/540 on 2007-11-17 by
trac user emv, assigned to unknown._
Very strange: norm.cdf returns nan for no particular reason, and with no
visible pattern. Some particular combinations of parameters cause this to
happen. These combinations are also rare. Example:
In [... | 1 |
Challenge Waypoint: Make Dead Links using the Hash Symbol has an issue.
User Agent is: `Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101
Firefox/30.0`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
My code:
<link href=# rel="stylesheet" type="text/c... |
Challenge Waypoint: Link to External Pages with Anchor Elements has an issue.
User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
To r... | 1 |
### Only one legend entry is rendered for items with the same label and color
In Matplotlib 2.1.1, items that have the same label and color result in a
single legend entry. This happens even if some other properties of the items
are different (eg. marker or linewidth).
This behaviour is surprising because the style... |
When using `%matplotlib notebook` with the procedural interface, figures are
not closed when the red 'x' button is pressed (the figure becomes static, but
the figure object is not closed).
After closing the figure by clicking on the red 'x' button, no other plot is
displayed until `close()` is called. Is this a deli... | 0 |
Flutter install started failing on iOS. Error output is not so helpful
## Steps to Reproduce
ACA80F1A:litt lefty$ flutter build ios --release
Building io.lefty for device (ios-release)...
Running pod install... 5.8s
Running Xcode build... ... |
[myapp] flutter create myapp
Waiting for another flutter command to release the startup lock...
Creating project myapp...
myapp\.gitignore (created)
myapp\.idea\libraries\Dart_SDK.xml (created)
myapp\.idea\libraries\Flutter_for_Android.xml (created)
myapp\.idea\libraries\K... | 0 |
#### Code Sample, a copy-pastable example if possible
import pandas as pd
dates = pd.date_range('2017-01-01', '2017-01-31', tz='UTC')
deltas = pd.TimedeltaIndex(pd.np.arange(0, len(dates)), unit='m')
dates + deltas
# Removing the tz='UTC' (making dates tz naive) works
throws:... |
#### Code Sample, a copy-pastable example if possible
In [1]: import numpy as np, pandas as pd
In [2]: dt = pd.DatetimeIndex([pd.Timestamp("2017/01/01")], tz='US/Eastern') # dtype=datetime64[ns, US/Eastern]
In [3]: td_np = np.array([np.timedelta64(1, 'ns')]) # dtype="timedelta64[ns]... | 1 |
##### Issue Type:
Bug Report
##### Ansible Version:
$ ansible --version
ansible 2.0.0 (devel `a5dfb35`) last updated 2015/06/29 16:02:56 (GMT -500)
lib/ansible/modules/core: (detached HEAD `50912c9`) last updated 2015/06/25
13:21:33 (GMT -500)
lib/ansible/modules/extras: (detached HEAD `dec7d95`) last update... |
Via a git bisect, I have found that a recent traceback when specifying tags on
the command line, was introduced in `0eb1c88` to resolve #9380
That commit references:
> Use itertools instead of set for tags
Traceback (most recent call last):
File "/Users/matt/python_venvs/ansibledev/ansible/bin/a... | 1 |
### Description:
There are two examples for "tflite image classification on android" on the
Tensorflow repo which achieve the same thing. They both have almost identical
code but slight differences(In UI and in code).
**Example A:**
https://github.com/tensorflow/examples/tree/master/lite/examples/image_classificati... |
zero_debias for moving average was introduced recently on master branches.
(tensorflow/tensorflow/python/training/moving_averages.py)
Variables in func “_zero_debias” is created by "variable_scope.get_variable",
while slot_creator creates moving variable with "variables.Variable". This
causes some problem when ... | 0 |
Does next support component structure caching?
react-component-caching
|
Ref #1209
With this we could easily allow to use alternative server renderes like
Preact, Inferno, rapscallion.
| 1 |
In Glide , I am want to download image from url, and save it to SDCard. Then,
I can use this image next time .How can I do this ?
|
There are some changes in 3.8.0 which are not yet available in 4.0.
This ticket is here to remind that 3.8.0 milestone need to revised for commits
that should be forward ported into the new version, see also commits:
v3.7.0..v3.8.0.
If anyone wants to do it, it's up for grabs!
| 0 |
我在使用cerely4.4.7+redis3.5.3的时候,单独一个线程进行测试使用.get()能正常取到返回值,
|
# Checklist
* I have verified that the issue exists against the `master` branch of Celery. (I cannot test this because it's a production server)
* 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 t... | 1 |
julia> parse(Complex128, "1.0+1.0im")
ERROR: MethodError: no method matching parse(::Type{Complex{Float64}}, ::String)
However, I can do:
julia> eval(parse("1.0+1.0im"))
1.0 + 1.0im
julia> typeof(ans)
Complex{Float64}
But, a bit awkward and will not give me imme... |
As @ChrisRackauckas points out on discourse, this shouldn't really be done in
a package because `Base.parse` and all of the argument types are "owned" by
Base.
Would also be nice not to have to use horribly inefficient techniques
involving `eval`; see also #21935.
Should be straightforward to implement. The main qu... | 1 |
I think the following should result in an error, but it passes the type
checker:
function foo<T>(getT: () => T, setT: (t: T) => void) { }
function getString() {
return 'a';
}
function setNum(n: number) { }
foo(getString, setNum);
Hovering over the call to fo... |
Motivating example (one of many):
function compare<T>(lhs: T, rhs: T): boolean {
return lhs === rhs;
}
if(compare('1', 1)) { // Expected: Error -- I made 'compare' generic for a reason!
/* ... */
}
### Proposal
When generic type inference performs its Best Common Type ope... | 1 |
Please:
* Check for duplicate issues.
* Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
I wanted to define a `custom_vjp` for a function that takes a string to
indicate what operations are to be conducted. Since `str` is not a validate
type for JAX whereas any obje... |
Please:
* Check for duplicate issues.
* Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
jnp.take(
jnp.arange(5),
jnp.arange(5 * 3),
axis=0
)
# DeviceArray([0, 1, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], dtype=int32)
... | 0 |
2020-08-06.txt
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Timer'.
at System.Timers.Timer.set_Enabled(Boolean value)
at System.Timers.Timer.Start()
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender,
DependencyPropertyChangedEventArgs e)
at System.Windows.UIEl... |
Popup tells me to give y'all this.
2020-07-31.txt
Version: 1.0.0
OS Version: Microsoft Windows NT 10.0.19041.0
IntPtr Length: 8
x64: True
Date: 07/31/2020 17:29:59
Exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Timer'.
at System.Timers.Timer.set_Enabled(Boo... | 1 |
With Atom 0.120.0, on OSX (with case insensitive filesystem).
What I did:
First i left-click the file "test.php" in the Atom editor tree view to open
it.
Next I right-click the same file and select "Rename".
What happens:
When i rename "test.php" to "Test.php", the opened file tab label does not
update, and s... |
Moving a file in the tree view causes an autosave.
Refs atom/tree-view#123
| 1 |
### Solved 🎉
Starting from v1.10.0, `torch.nn.CrossEntropy()`has an arg
`label_smoothing=0.0` \- API link.
* * *
Hi, guys. The type `torch.LongTensor` of target will hinder the implementation
like some methods in reference. So is there a possible to add a `Arg:
label_smoothing` for `torch.nn.CrossEntropyLoss()`, ... |
## 🐛 Bug
building from source fails with:
Building wheel torch-1.1.0a0+f5165ad
-- Building version 1.1.0a0+f5165ad
['cmake',
'-DBUILDING_WITH_TORCH_LIBS=ON',
'-DBUILD_BINARY=False',
'-DBUILD_CAFFE2_OPS=True',
'-DBUILD_PYTHON=True',
'-DBUILD_SHARED_LIBS=ON',
'-DBU... | 0 |
Hello,
I'm dealing with an issue specific to TypeScript on a Backbone project, but
this seems more generic to any project using underscore/lodash and the return
of the `_.result` method:
// With _.result you can work with an object property or function...
return _.isFunction(value) ? value.call(ob... |
Wondering if something like the "_ViewStart" for MVC could be added to TS...
If a directory has 5 files and each of them share a common set of ES6
import...from statements then creating a file (preferably not called
_ViewStart) could be created at the parent directory and this will ensure each
class has all of those... | 0 |
In integration wiki it is explicitly stated that glide is using volley 1.0.8
and my project is already using volley 1.0.19. Is there a workaround for it?
|
**Glide Version** : 3.7.0
**Integration libraries** : no
**Device/Android Version** :
Android Virtual Device and Samsung S7 edge 6.0
**Issue details / Repro steps / Use case background** :
I have a view where the app shows the user image to preview, then there is a
button in the preview screen. User can click... | 0 |
I'm currently trying to improve the overall scheduling throughput. It seems we
can achieve significant gains from different kind of parallelization.
However, I would like to avoid parallizing individual predicate/priority
function and support parallelization at the framework level.
For predicate function, it is ea... |
e2e failure: SchedulerPredicates [Serial] validates resource limits of pods
that are allowed to run [Conformance]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:355
Expected : 21 to equal : 22
http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/ku... | 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 having trouble creating a select in Angular2 that is backed by an array of
Objects instead of strings. I knew how to do it in AngularJS using ngOptions,
but it doesn't seem to work in Angular2 (I'm using alpha 42).
In the sample below, I have five selects, but only three of them work.
1. 'Select String' is a ... | 0 |
I have several groupby problems crop up regularly at work**, and almost always
have to write custom functions for operating on individual groups - which are
then very slow to execute.
Looking for solutions, I came across
http://esantorella.com/2016/06/16/groupby/
and the update
https://github.com/esantorella/h... |
#### Code Sample, a copy-pastable example if possible
import pandas as pd
d = {'one' : pd.Series([1, 2, 3], index=['a', 'b', 'c'])}
df = pd.DataFrame(d)
dados.to_clipboard(index=False, header=False, line_terminator="\r\n")
#### Problem description
I just upgraded to `pandas 0.23.0` and th... | 0 |
##### Issue Type:
Bug Report
##### Ansible Version:
ansible 1.9.4
configured module search path = None
##### Ansible Configuration:
Nothing
##### Environment:
Debian 8.2
Python 2.7.9
##### Summary:
Very similar to #12549
Using a proxy for HTTPS endpoints causes Ansible to complain that the
certificate d... |
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
to_nice_json
to_nice_yaml
copy
##### ANSIBLE VERSION
Latest stable/unstable versions:
ansible 2.4.1.0 (detached HEAD e946c4b3b7) last updated 2017/10/26 19:28:15 (GMT +200)
config file = /etc/ansible/ansible.cfg
configured module... | 0 |
What is the easiest way to, for example, use the node.js "debug" module in a
browser-only application that's currently organized with Internal Modules?
I've been using Typescript for over 6 months now, and I still have this
question that I've had since day 1:
Do you guys recommend using a preprocessor like browser... |
_From@matthiasg on July 17, 2015 12:16_
Since any valid JS file is supposed to be a valid TS file too it should be
possible to use a standard babelified webapp project and just switch it to use
TS (e.g using tsify). Sadly that is not possible right now since there are
some issues on requiring/importing dependencies... | 1 |
Describe what you were doing when the bug occurred:
1.
2.
3.
* * *
## Please do not remove the text below this line
DevTools version: 4.11.0-39713716aa
Call stack: at store_Store.getElementAtIndex (chrome-
extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:22171:35)
at store_Store.getElementIDAtIn... |
Hi, I know this issue has been discussed endlessly so I apologize for bringing
it up again. I hope this issue is net helpful. 🤞
Quick summary: as of #18547, React 17 silences console logs during the second
rendering pass in strict mode, in dev. It's a trade-off between the confusion
of logging multiple times for a ... | 0 |
* 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.5
### Steps to reproduce this issue
org.apache.dubbo.registry.client.metadata.proxy.RemoteMetad... |
* 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: Window 7
* Java version: 1.8
### Steps to reproduce this issue... | 0 |
**TypeScript Version:**
1.8.2
**Background** :
I have been working on trying to get https://github.com/eslint/typescript-
eslint-parser, a TypeScript parser plugin for ESLint, off the ground, and the
current job is adding JSX support.
ESLint uses espree and so the aim of the project is to convert the output of
t... |
**TypeScript Version:**
1.9.0-dev.20160502
**Code**
declare namespace Windows.Foundation {
interface IPromise<TResult> {
then<U>(success?: (value: TResult) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void): IPromise<U>;
then<U>(s... | 0 |
Hi, I am trying to use addprocs to connect to remote workers on Windows. SSH
connection is successful, but Julia cannot excecute commands.
I think it is not the problem of Julia on remote machines, because I got the
same error even remote Julia is uninstalled. SSH is good, because it can work
on cmd.exe.
Here are t... |
Windows 10 now has facilities for native ssh handling, but that uses the
native shell and not `sh` which we currently assume to be available on the
remote host.
See https://discourse.julialang.org/t/cant-add-windows-workers-due-to-a-
missing-sh-shell/15055?u=vchuravy for where this came up.
| 1 |
If I close Atom with some files and folders open, and then reopen Atom,
nothing is remembered. The only thing that is open is a new blank file.
I feel like this worked at some point in the past for me, but I wasn't able to
find a version that worked when I tried the specific zip files. I am currently
using 0.209.0. ... |
Atom 0.209.0 doesn't save open files and folders on exit (0.208.0 made this).
After restart, there is only empty "untitled" file.
Here's my config:
"*":
"exception-reporting":
userId: "480b20de-e736-263e-a240-4205e8c90e87"
welcome:
showOnStartup: false
core:
... | 1 |
Problem: Role Based Access Control is not enabling users to view Dashboards
correctly.
Feature flag enabled: RBAC
Browser: Firefox
Superset Version 1.4
Background: I have assigned a user a role AlphaDG (essentially Gamma) and have
assigned this role to a dashboard.
Expected outcome: Even though the user has no... |
Exporting a dashboard and importing it into another instance/landscape of
Superset (where the dashboard was previously imported and created) prompts to
overwrite and on confirmation imports. The dashboard changes (title etc) are
imported but the certification data entered for a dashboard is not imported.
Also any cha... | 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/.):
**What keywords did you search in Kubernetes issues before filing this one?**
(If you have found any duplicates, you should instead reply there.):
* * ... |
(Also following up on #7697) Once every three minutes or so, my kubelet's logs
get the below printed.
This kubelet appears to not be sending node status heartbeats.
I0505 22:54:24.275383 8036 server.go:233] Using root directory: /var/lib/kubelet
I0505 22:54:24.304622 8036 manager.go:106] cAd... | 0 |
In other languages like C++, Java, C# etc dependency injection can be a big
pain; you want your class `Foo` to use class `Bar` in production, but class
`MockBar` in tests. This is usually enabled by explicit dependency injection
support in class `Foo` (through ctor/setter/interface injection) and the code
that uses `... |
struct Foo<'a> {
_s: &'a str
}
struct Bar<H: Handler> {
handler: H
}
trait Handler {
fn handle<'a>(&'a self, foo: Foo<'a>);
}
impl<F> Handler for F where F: Fn(Foo) {
fn handle<'a>(&'a self, foo: Foo<'a>) {
self(foo)
... | 0 |
Challenge Size your Images has an issue.
User Agent is: `Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
My code:
<link href="http://fonts.goo... |
It seems I don't have any problem in this code, what is the problem?
<style> .red-text { color: red; } .smaller-image{ width: 100px; } h2 { font-
family: Lobster, Monospace; } p { font-size: 16px; font-family: Monospace; }
</style>
## CatPhotoApp
===-1)continue;_
|
Ported from microsoft/TypeScript-Sublime-Plugin#285
Related to microsoft/TypeScript-Sublime-Plugin#265.
Issue:

Correct:
**
from sqlalchemy import *
from sqlalchemy.ext.declarative import declarative_base
def _column_names(constraint, table):
return '_'.join((c if isinstance(c, basestring) else c.name) for c in constraint.columns)
... |
**Migrated issue, originally created by whereswalden**
Currently, MetaData.naming_convention does not support composite indexes or
foreign keys, so those must be named explicitly. It'd be nice to be able to
provide a template for those to be automatically named as well.
It would likely be necessary for users to de... | 1 |
### 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:**
* 6.... |
### Issue Details
* **Electron Version:**
v5.0.2
* **Operating System:**
Windows 10
### Expected Behavior
On app ready start nodejs worker which consoles string.
### Actual Behavior
App crash immediately after run
### To Reproduce
* git clone https://github.com/BorysTyminski/electron-issue.git
* c... | 1 |
fmt doc says: `Scanf, Fscanf and Sscanf require newlines in the input to match
newlines in the format; the other routines treat newlines as spaces.`
The following program spits out error (should not according to doc):
package main
import (
"fmt"
"log"
)
func main(... |
I got different `fmt.Scanf` behavior depending on the line endings style.
My go version is go1.3.3 darwin/amd64 on a Mac with OSX 10.10
To reproduce the problem, here is a short go program:
package main
import "fmt"
func main() {
var steps, i int
fmt.Scanf("%d", &ste... | 1 |
_Original tickethttp://projects.scipy.org/scipy/ticket/202 on 2006-05-07 by
trac user nodwell@..., assigned to unknown._
I've made a small modification to import_array.py so that I can parse
a string as if it were a file. For my own purposes I needed to parse
web form input.
For example:
> > > B = """# commen... |
_Original tickethttp://projects.scipy.org/scipy/ticket/1688 on 2012-07-05 by
trac user jokahn, assigned to unknown._
binomial and scipy.stats.binom are not defined for n=0, raising a value error.
For example
[[BR]]
`binomial(0, .3)`
[[BR]]
or
[[BR]]
`scipy.stats.binom.rvs(arange(5),.3)`
[[BR]]
will... | 0 |
On `0.7.0`
using SparseArrays
m, n = 2, 2
A = ones(m, n)
B = ones(Int8, m, n)
C = sparse(1:min(m, n), 1:min(m, n), ones(Int8, min(m, n)), m, n);
julia> A
2×2 Array{Float64,2}:
1.0 1.0
1.0 1.0
julia> B
2×2 Array{Int8,2}:
1 1
... |
First of all, I'm no Julia expert, so please forgive me if this is user error.
Under the following circumstances, i am unable to use pmap to call an anon
function within an anon function.
The following error is displayed:
* `UndefVarError: 27#54 not defined`
* `in #26 at [file.jl:pmap line of code]`
When runn... | 0 |
I completed HTML5 and CSS challenges, then it was marked completed, but when I
saw today, its unmarked.

#### FreeCodeCamp Issue template
To Use this Template:
* Fill out what you can
* Delete what ... |
It's not possible to mark some Computer Basics as completed. I tried to
complete them many times. No success.
Browser: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36`
OS: `OS X 10.11.3`
Screenshot:

):
pass
@router.post("/test_auth")
async def test_auth(
... | 0 |
I have a program based on electron8.2.5, read the local pictures dragged and
previewed, everything works fine. But after upgrading to electron9.0.0 today,
the picture preview does not show up. It looks as if the parameter
‘webSecurity: false’ does not work.
|
### 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:** 9.0.0
... | 1 |
89 warnings visible in gh-10378, perhaps due to a change in one of our doc
build dependencies.
WARNING: duplicate object description of scipy.io.wavfile, other instance in io, use :noindex: for one of them
WARNING: duplicate object description of scipy.io.arff, other instance in io, use :noindex: f... |
MDCT (DCT type 4) is really important for audio compression research but is
missing from SciPy. I started looking into fftpack but... oh my, that code is
currently way beyond my comprehension.
So I am for now simply putting it out there: It would be really great to have
DCT type 4 and MDCT in SciPy.
| 0 |
There is an inconsistency between how Series and DataFrames export types to
dicts. The issue only manifests if the dataframe has multiple columns with
different types. I think the issue is probably pretty far under the surface
with differences between Series and DataFrame dtypes and just happened to be
uncovered by e... |
#### Code Sample, a copy-pastable example if possible
import pandas as P
S=P.Series([0.6,0.2,15])
**pandas 0.18+numpy 0.10** :
In [1]: print S.dtype
float64
In [2]: print S.values.dtype
float64
In [3]: print S.map(type)
0 <type 'numpy.float64'>
... | 1 |
_Original tickethttp://projects.scipy.org/scipy/ticket/551 on 2007-12-03 by
trac user odonnems, assigned to unknown._
######
Introduction to my problem
######
I am trying to use scipy.weave.inline. I appear to get the same error no
matter what compiler I try.
Please note that I am attaching a python script with... |
_Original tickethttp://projects.scipy.org/scipy/ticket/1505 on 2011-08-31 by
trac user kp, assigned to unknown._
import scipy.special fails as DLL _cephes can't be loaded.
I'm using following build
Python 2.7 (64 bit)
numpy-MKL-1.6.1 (64 bit)
scipy-0.9.0 (64 bit)
(from Christoph Gohlke Unoffical Python Exte... | 0 |
I would like to know why at the model's methods which use a generator, has the
argument `nb_worker deprecated.
There is any way to do it now correctly to have multiple threads fetching for
your data?
Because in my case I work with a dataset made up by videos, it has an
increment of speed fetching the data in mult... |
**System information**
* Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
* OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 and (RHEL-like (custom distro ran by organization))
* TensorFlow installed from (source or binary): binary
* Tens... | 0 |
hi, when I say install npm install package, it gives error. not loaded.
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community
npm ERR! A complete log of this run can be found in:
what should I do?
|
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community
npm ERR! A complete log of this run can be found in:
npm ERR! /home/festus/.npm/_logs/2019-11-10T20_01_15_638Z-debug.log
Has this issue been solved yet?
| 0 |
**TypeScript Version:** 1.8.7
**Code**
function make_component<A, B extends A>(arg: () => B) {
}
h<{x: string}>(() => {
return {
x: "hello",
y: 10,
};
});
I have a function that produces a higher-order react component by taking a
function that... |
**TypeScript Version:**
1.8.0
**Code**
interface Class<T> {
new(): T;
}
declare function create1<T>(ctor: Class<T>): T;
declare function create2<T, C extends Class<T>>(ctor: C): T;
class A {}
let a1 = create1(A); // a: A --> OK
let a2 = create2(A); // a: {} --> S... | 1 |
**TypeScript Version:** 1.8.29.0 (default for Visual Studio 2015 Update 2)
**Code**
// worked on TS 1.8.4.0
let promises: Promise<number>[];
let promiseall: Promise<number[]> = Promise.all(promises)
**Expected behavior:** No compilation error.
**Actual behavior:**
Type 'Promi... |
**TypeScript Version:**
1.8.9
**Code**
Promise.all([Promise.resolve('')]); // has type Promise<Promise<string>[]>
**Expected behavior:**
The expression has type `Promise<string[]>` as in 1.8.7
**Actual behavior:**
The expression has type `Promise<Promise<string>[]>`
| 1 |
kube-error.txt
**Is this a request for help?** (If yes, you should use our troubleshooting
guide and community support channels, see
http://kubernetes.io/docs/troubleshooting/.):
**What keywords did you search in Kubernetes issues before filing this one?**
(If you have found any duplicates, you should instead reply... |
**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.):
... | 0 |
# Checklist
* I have verified that the issue exists against the `master` branch of Celery.
* This has already been asked to the discussions forum 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... |
In #6558 the lack of `celery.task` was closed as "not a bug", but because
`task` is still in the `__all__` for the `celery` ~~module~~ package (in
`celery/__init__.py`), among other things the missing module breaks `pydoc`:
$ python3 -m venv .
$ . ./bin/activate
$ python3 -m pip install celery
... | 0 |
This issue seems to occur only when using a computed property in
generator/async function and running in loose mode:
function *foo() {
return {
['x']: null
};
}
Compiles to:
var marked0$0 = [foo].map(regeneratorRuntime.mark);
function foo() {
retur... |
function *x() {
[].concat(...[])
}
\-->
function x() {
return regeneratorRuntime.wrap(function x$(context$1$0) {
while (1) switch (context$1$0.prev = context$1$0.next) {
case 0:
(_ref = []).concat.apply(_ref, []);
... | 1 |
**Is this a request for help?** (If yes, you should use our troubleshooting
guide and community support channels, see
http://kubernetes.io/docs/troubleshooting/.):
**What keywords did you search in Kubernetes issues before filing this one?**
(If you have found any duplicates, you should instead reply there.):
* * ... |
Currently if you have a large replication controller running and stop said
controller, kubernetes will report that no pods are running, when indeed there
are currently pods on the cluster.
This occurs because the entries are deleted from etcd and eventually the
kubelets will catch up. Perhaps it makes more sense to ... | 0 |
When im going to the next challenge and have to type in the note pad document,
i cant click the cursor and start typing where it wants me to. i have to hit
enter or something first then the cursor will allow me to click anywhere in
the document to start typing my challenge.
Challenge Create a Set of Radio Buttons ha... |
In all the exercises, we the users are forced to press the enter key before
writing any code.
* * *
#### Update:
We have locked the conversation temporarily on this thread to collaborators
only, this has been resolved in staging, and will be live soon.
The fix can be confirmed on the beta website.
The workaround... | 1 |
* I have searched the issues of this repository and believe that this is not a duplicate.
The following code
<Hidden lgDown implementation="css" />
will render CSS code
@media (max-width:1279.99px) {
.MuiHiddenCss-lgDown-116 {
display: none;
}
}
which is matc... |
Can not format textField of type date in the form 'DD/MM/YYYY'. The options
for type are limited. Why not have a format field
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
TextField should have a format prop that will help format date in any fo... | 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.)... |
**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.):
... | 0 |
* 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.
I find some constructors of implementation classes of Protocol are public, but
these constructor are not invoke obviously, they are often ... |
* 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 |
**Glide Version** :
**Integration libraries** :
**Device/Android Version** :
**Issue details / Repro steps / Use case background** :
**Glide load line /`GlideModule` (if any) / list Adapter code (if any)**:
Glide.with...
**Layout XML** :
<FrameLayout xmlns:android="...
**Stack trac... |
**Glide Version** : 4.8.0
**Integration libraries** : glide:okhttp3-integration:4.8.0
**Device/Android Version** : fails on Note8/Note9/Emulator Nexus5 API21
**Issue details / Repro steps / Use case background** : Initial Glide load
fails when proguarded
**Stack trace / LogCat** :
java.lang.Runtim... | 1 |
## The Bug
* `flask.views.View` does not properly handle conversion of an async `dispatch_request`, resulting in a coroutine that is never awaited.
* `flask.views.MethodView` does not properly handle conversion of async methods, resulting in coroutines that are never awaited.
## Replication
1. Create an asyn... |
Regular views can now be written as async functions, but instances of the
`View` and `MethodView` classes did not get updated to support this
functionality. Consider the following example:
import asyncio
from flask import Flask
from flask.views import View, MethodView
app = Flask(__nam... | 1 |
WHAT THE F
does not exist in pyopenssl
no help anywhere
|
From Wikipedia, the free encyclopedia
> The Web ARChive (WARC) archive format specifies a method for combining
> multiple digital resources into an aggregate archive file together with
> related information. The WARC format is a revision of the Internet Archive's
> ARC File Format[5] that has traditionally been used... | 0 |
* I have searched the issues of this repository and believe that this is not a duplicate.
If a user clicks a Link in your app and navigates to a page with
getInitialProps which takes some time to fetch data, your app may seem broken
or hung. Even if you show some kind of preloader to tell them something is
loading... |
When using `Router.push` to route to the same page but with a different query
string value the page is not remounted. Instead, both `getInitialProps` and
`componentWillReceiveProps` are executed. Is this the intended behavior?
* I have searched the issues of this repository and believe that this is not a duplicate... | 0 |
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '--quiet'
1 verbose cli ]
2 info using npm@6.14.10
3 info using node@v14.15.4
4 ve... |
When I execute npm install got this errornpm ERR! cb() never called!
| 0 |
Either on a fresh clone or from my previously working build setup I'm getting
now
checking size of mp_limb_t... 0
configure: error: Oops, mp_limb_t doesn't seem to work
Makefile:1798: recipe for target 'build/gmp-6.0.0/config.status' failed
|
A few days ago, in order to rebase a couple of my branches on an up-to-date
master, I made a pull that forced me to rebuild my `deps` (maybe due to
#12463?).
Since then, though, I have not been able to rebuild gmp. It fails during
config with text like this near the end:
checking size of mp_limb_t... ... | 1 |
It would be convenient to have more iterable unpacking.
Julia 1.7:
julia> x, (ys...) = (1,2,3,4);
julia> x, ys
(1, (2, 3, 4))
julia> x, (ys...), z = (1,2,3,4)
ERROR: syntax: invalid "..." on non-final assignment location "ys" around REPL[2]:1
Python (feature specification):
... |
Sometimes I find myself wanting to do something like
(data..., p1, p2) = function_call()
because `function_call` returns many values, but I really only need to
separate out the last one or two because, e.g., I will just splat the first
however many values into another function call. Granted, I could a... | 1 |
I'm a newbie messing about so I couldn't say if this has been reported before
or not (certainly similar ones has been.)
use std::sync::{Arc, Mutex};
use std::thread;
use std::sync::mpsc::channel;
fn main() {
let channel_collector = Arc::new(Mutex::new(vec!()));
... |
use std::sync::mpsc::channel;
use std::thread::spawn;
use std::marker::PhantomData;
struct Foo<T> {foo: PhantomData<T>}
fn main() {
let (tx, rx) = channel();
spawn(move || {
tx.send(Foo{ foo: PhantomData });
});
}
fails to compile wi... | 1 |
# Environment
Windows build number: 10.0.18362.0
Windows Terminal version: v0.5.2681.0
# Steps to reproduce
Find the Windows Terminal (Preview) app and click.
# Expected behavior
Windows Terminal should launch.
# Actual behavior

Version: 0.4.2382.0
# Steps to reproduce
Switch the "Change the size of text, apps, and other items" to something other
than 100%
Open up Terminal and colorize multiple contiguous lines on the screen
... | 0 |
* I have searched the issues of this repository and believe that this is not a duplicate.
This is just a discussion over documentation of v1.
In this section : https://material-ui.com/customization/overrides/#overriding-
with-classes it seems in both the text description, and the example, that the
classes overrid... |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
Passing loop element to MenuItem onClick, the elements is always the last
element in the array.
## Current Behavior
Passing loop element to MenuItem onClick should pass the current element being
iterat... | 0 |
## Steps to Reproduce
* Build this repo:
https://github.com/DSCHeritage/DevFestKolkata
* with flutter version 0.10.2
* run the app and go to speaker's screen
## Problem
This is the app with DebugPaintView on, which is how it was looking in 0.9.4:

1. Snap windows to your zones
2. Wait for PC to go into full sleep (not just monitor, full PC sleep mode)
3. Wake PC from sleep
... | 0 |
I have exported an object I made on the scene with javascript (as a
shapegeometry) using the `toJSON()`function. Now I try to reload the object on
the scene with an `objectLoader`, but it fails because the objectloader
doesn't support geometry type `ShapeGeometry`.
Except if I'm missing something, that means that I ... |
@WestLangley \- this post describes how to select a proper LOD level of a Cube
Map http://casual-effects.blogspot.ca/2011/08/plausible-environment-lighting-
in-two.html
It may be possible to just more intelligently select the LOD level for the
specular and diffuse cube maps rather than generating prefiltered ones (t... | 0 |
#### Describe the workflow you want to enable
It is very common to split the data into three parts. Train, Cross-validate,
and Test. We already have train test split but it would good to have this
three parts split too.
#### Describe your proposed solution
Implement this feature in model_selection module.
|
Asking how to do a threefold split is the top sklearn question on
stackoverflow:
https://stackoverflow.com/questions/tagged/scikit-
learn?sort=frequent&pageSize=50
We have discussed this before but I think this is a good reason to add it -
the other option would be to document more explictly doing
f... | 1 |
so my plot is,
1. drawing regular scatterplot
2. drawing a network overlay using `LineCollection` with each edge to be blurred using a trick called `agg_filter`, which is a hidden feature not listed in the documentation of matplotlib.
the problem is this plot used to be fine before perhaps in version 1.4, but
n... |
Hi,
I use the Gaussian Filter example from the demo_agg_filter.py to place a
gaussian drop shadow under continents using basemap. Since I switched to
matplotlib 1.5, the shadows are misplaced.
The same effect can be seen on the example that is currently online, therefore
I do not present my code here.

It happen after update to 0.189.0, and it's normal in 0.188.0 .
I try disabled all co... | 1 |
Error with example in fs module.
error TS2339: Property 'utime' does not exist on type 'typeof Deno'.
await Deno.utime(dest, statInfo.atime, statInfo.mtime);
~~~~~
at https://deno.land/std/fs/copy.ts:90:16
https://github.com/denoland/deno/blob/master/std/fs/READ... |
I'm trying the following script and I get a few errors.
index.ts
import { exists } from "https://deno.land/std/fs/mod.ts";
const found = await exists('/folder');
console.log('Found:', found);
Error:
error TS2339: Property 'utime' does not exist on type 'typeof Deno'.
... | 1 |
**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.):
... |
**Is this a request for help?** (If yes, you should use our troubleshooting
guide and community support channels, see
http://kubernetes.io/docs/troubleshooting/.):
**What keywords did you search in Kubernetes issues before filing this one?**
(If you have found any duplicates, you should instead reply there.):
* * ... | 0 |
For English only, other languages we will close it directly.
Please answer these questions before submitting your issue. Thanks!
### Which version of Sharding-Sphere do you using?
### Which project do you using? Sharding-JDBC or Sharding-Proxy?
### Expected behavior
### Actual behavior
### Reason analyze
### S... |
Environment:
mybatis-plus-boot-starter:3.3.1
druid: 1.1.22
mysql-connector-java: 8.0.19
spring-boot-starter-parent: 2.1.7.RELEASE
Downgrading to 3.1.0 does not have this problem!!!
* * *
Throws below exception when executed a query sql statement by Mybatis Plus.
2020-04-15 19:50:00.489[http-nio-8080-exec-2... | 0 |
query string does not return right hits when you use query with wildcard and
it is tokenized. Example
"query_string": {
"query": "luka-por-si*",
"default_operator": "and",
"allow_leading_wildcard": false,
"analyze_wildcard": true,
"minimum_should_match": "100%",
"fields": [
"name"
],
"use_dis_max":... |
I started working on adding a score_mode parameter to the rescore query,
something like :
{
"rescore" : {
"window_size" : 50,
"query" : {
"rescore_query" : {
"match" : {
"field1" : {
"query" : "the quick b... | 0 |
Currently there is no way to pull out the default settings unless you set them
to something or unless you look at the source code. It would be nice to have
an api endpoint for seeing all the settings as they are configured (default or
not)
|
We should provide an endpoint that dumps a map of all settings and their
values.
% curl localhost:9200/_config
{
"cluster": {
"name": "elasticsearch"
},
"index": {
"number_of_shards": 1
},
"node": ... | 1 |
#### Description
fit and fit_transform methods in LabelEncoder don't follow the standard
scikit-lean convention for these methods: fit(X[, y]) and fit_transform(X[,
y]). The fit and fit_transform method in the LabelEncoder only accepts one
argument: fit(y) and fit_transform(y).
Therefore, LabelEncoder couldn't be u... |
I've found that I cannot use pipelines if I wish to use the label encoder. In
the following I wish to build a pipeline that first encodes the label and then
constructs a one-hot encoding from that labelling.
from sklearn.preprocessing import OneHotEncoder, LabelEncoder
from sklearn.pipeline import... | 1 |
I noticed in 3.1 that `.collapse.in` breaks `width` for tbody
I believe `tbody.collapse.in` should be defined to `display:table-row-group`
versus `display:block`.
|
Since 3.1, I guess, bootstrap has a rule
.collapse.in {
display: block;
}
This rule conflicts with `<tr>` elements which require "display: table-row".
And maybe others as well.
I haven't searched the sources where this rule is defined. Just using the
download bootstrap-3.1.0-dist.zip and there it is defined i... | 1 |
flutter_webview_plugin can't solve my problem at present.
|
Presumably this requires some compositor work, similar to maps or video?
| 1 |
Since IE9 doesn't support CSS transitions, the carousel items aren't sliding
in/out. Bit Twitter Bootstrap is supporting the two most recent versions, I
would suggest to provide a fallback for the CSS3 transitions like
https://github.com/barryvdh/bootstrap/commit/8b294f0c0184eb7111ef6da6046d4d1f33ea7ba3
|
On my site and the document I try to test Carousel on IE(7-9) I didn't see
transition work. I want it work the same FF, Chrome and Safari. Everyone have
any idea?
| 1 |
======================================================================
FAIL: sklearn.tests.test_multiclass.test_ovr_fit_predict
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose-1.2.1-py2... |
failed while building for ubuntu 11.04 32bit:
======================================================================
FAIL: sklearn.tests.test_multiclass.test_ovr_fit_predict
----------------------------------------------------------------------
Traceback (most recent call last):
File ... | 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.6.2
* Operating System version: win7
* Java version: 1.8
@service注解中的interfaceName属性与ServiceCo... |
* 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: Linux
* Java version: 1.8
### Steps to reproduce this issue
I... | 0 |
Getting the following error:
Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `MainBar`.
MainBar is:
export class MainBar extends React.Compo... |
0.14.1 upgraded to babel 6, which introduced a breaking change for commonjs
require(): https://phabricator.babeljs.io/T2212
The error is: `Warning: React.createElement: type should not be null,
undefined, boolean, or number. It should be a string (for DOM elements) or a
ReactClass (for composite components). Check t... | 1 |
Rustc gives a message that bytes!() is deprecated:
b.rs:1:33: 1:47 warning: `bytes!` is deprecated, use `b"foo"` literals instead
b.rs:1 fn main() { let x: [u8, ..3] = *bytes!("foo"); }
^~~~~~~~~~~~~~
b.rs:1:33: 1:47 help: see http://doc.rust-lang.org/... |
Tracking issue for rust-lang/rfcs#339
Nominating for backcompat-lang
| 1 |
by **nicerobot** :
A somewhat common and useful flag technique is:
./6.out -vvvv
where the same flag is specified multiple times. Such a mechanism seems impossible with
flag.go. It would be useful to provide an array version for flags. Maybe flag.Array,
flag.ArrayInt, flag.Arr... |
I need to gobind multiple packages for an app.
I considered running gomobile for each package and import multiple .so files,
but that will fail due to various reasons:
* gobind framework for java assumes a single 'gojni.so' file
* duplicate code for go runtime in multiple .so files; conflicting symbols, storage... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.