text1 stringlengths 2 269k | text2 stringlengths 2 242k | label int64 0 1 |
|---|---|---|
x = tf.zeros([10])
tf.gradients(tf.reduce_prod(x, 0), [x])
Gives
more traceback
/home/***/.local/lib/python2.7/site-packages/tensorflow/python/ops/math_grad.pyc in _ProdGrad(op, grad)
128 reduced = math_ops.cast(op.inputs[1], dtypes.int32)
129 idx = m... |
Installed TensorFlow using pip package for v0.10.0rc0 on Ubuntu with python
2.7
Pip package
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-
linux_x86_64.whl
The same error appears in the GPU build.
The following minimal code example produces raise an exception at the
definition ... | 1 |
**I'm submitting a ...** (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
... |
I'm using the currency pipe with beta.0, and with the following code inside
ionic 2:
>
> <ion-card-content>
> Total: {{ total | currency:'COP':true }}
> </ion-card-content>
>
The output should be `Total: $ 110,000` but the actual output is this:
 on release-branch.go1.2, I'm not seeing the variable names of int, string, float,
or map variables in a simple program. I do ho... |
by **seanerussell** :
What steps will reproduce the problem?
1. Compile the attached file (steps to compile listed below)
2. Execute on Windows
3. Watch the memory use with Resource Monitor
The application memory use increases at a rate of about 1KB every 5s until it exceeds
th... | 0 |
It seems that `document.hidden` is not working once the browser is controlled
by Playwright.
Given you open a browser tab (outside of playwright) and inject in the console
the script :
setInterval(() => {console.log(`document.hidden = ${document.hidden}`)}, 1000)
When you open a new browser tab
And... |
Presently Playwright treats all tabs as active. This can become an issue when
a tab we're not currently focusing on is running a lot of work.
I'll use the site MakeUseOf.com as an example. When this tab is active, it can
consume 25-30% CPU time on my brand new MBPro. Under normal Chromium, when the
tab is not the c... | 1 |
When concatting two dataframes where there are a) there are duplicate columns
in one of the dataframes, and b) there are non-overlapping column names in
both, then you get a IndexError:
In [9]: df1 = pd.DataFrame(np.random.randn(3,3), columns=['A', 'A', 'B1'])
...: df2 = pd.DataFrame(np.random.r... |
dti = pd.date_range('2016-09-23', periods=3, tz='US/Central')
df = pd.DataFrame(dti)
>>> df.T
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/core/frame.py", line 1941, in transpose
return super(DataFrame, self).transpose(1, 0, **kw... | 0 |
CSS Grid layout excels at dividing a page into major regions, or defining the
relationship in terms of size, position, and layer, between parts of a control
built from HTML primitives.
Watched a youtube about CSS Grids: https://youtu.be/txZq7Laz7_4
Nice concept that seems to play nice with component based developme... |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
Calling `Router.push({pathname: 'about'})` should work just as `<Link
href={{pathname: 'about'}}/>` does, and as described here.
## Current Behavior
Client side, it throws an error `Route name should s... | 0 |
#### Summary
`maxBodyLength` is a option for follow-redirect which is default transport for
axios in node.js environment.
so, can't upload file > 10M
#### Context
* axios version: all version
* Environment: node all version
|
#### Summary
`follow-redirects` defaults to a `maxBodyLength` of 10mb. `axios` does not
override this default, even when the config specifies a `maxContentLength`
parameter greater than 10mb, thus capping `axios` at a maximum content length
of 10mb no matter what is configured, and returning an error that does not
m... | 1 |
function foo()
try
error("error in foo")
catch e
end
end
function bar()
try
error("error in bar")
catch e
foo()
rethrow(e)
end
end
bar()
produces the misleading
ERROR:... |
`\varepsilon` is currently mapped to ɛ (U+025B latin small letter open e).
This is wrong. The correct mapping is ε (U+03B5 greek small letter epsilon).
| 0 |
If this is something that can't be added or isn't going to be supported, it
wouldn't be a bad thing to support hierarchical data in forms (adjacency list
model / nested set model).
Possibly having the option to force the selection of leafs without children
only, etc, etc. Can lead to a very powerful feature. =)
| Q | A
---|---
Bug report? | yes
Feature request? | no
BC Break report? | no
RFC? | no
Symfony version | 3.4.0-BETA1
Since upgrading to Symfony 3.4.0-BETA1 fom 3.3.10, suddenly all responses
started receiving `Cache-Control` header with `private, max-age=10800, no-
cache, private` value and a response c... | 0 |
### Problem
When going through the "Image tutorial" on Firefox or Edge, when you try
downloading the image of the stinkbug, it will only download as a `webp` file
and there is no option to download as `png`. That is even clicking the "View
Image" and trying to save it. Below is trying to save the image in Firefox.
... |
The image tutorial on matplotlib.org uses this sample image:
https://matplotlib.org/_images/stinkbug.png
and notes that it is a "24-bit RGB PNG image (8 bits for each of R, G, B)".
However, further inspection reveals that it is _not_ a 24-bit RGB, but rather
an 8-bit grayscale image.
$ curl -s 'https... | 1 |
1. Does Code support showing vertical indent level line?
2. now `editor.renderWhitespace` only have `true` or `false`, can we have a option to only render whitespace when selection?
|
Hi, is there any chance we can get indent guides (the vertical lines that run
down to matching indents). Could not find reference to them anywhere in VS
code or the gallery. Thanks - Adolfo
| 1 |
rust-encoding builds fine in the previous nightly, but it triggers an ICE in
rustc 1.2.0-nightly (`0fc0476` 2015-05-24) (built 2015-05-24)
This looks similar to #24644, but it started more recently.
$ RUST_BACKTRACE=1 cargo build --verbose
Fresh encoding_index_tests v0.1.4 (file:///home/sim... |
## Code
trait Trait {}
struct Bar;
impl Trait for Bar {}
fn main() {
let x: &[&Trait] = &[{ &Bar }];
}
## Output
main.rs:7:9: 7:10 warning: unused variable: `x`, #[warn(unused_variables)] on by default
main.rs:7 let x: &[&Trait] = &[{ &Bar }];
... | 1 |
You get a confusing error message when trying to concat on non-unique (but
also non-exactly-equal) indices. Small example:
In [57]: df1 = pd.DataFrame({'col1': [1, 2, 3]}, index=[0, 0, 1])
...: df2 = pd.DataFrame({'col2': [1, 2, 3]}, index=[0, 1, 2])
In [59]: pd.concat([df1, df2], axis... |
When concatting two dataframes where there are a) there are duplicate columns
in one of the dataframes, and b) there are non-overlapping column names in
both, then you get a IndexError:
In [9]: df1 = pd.DataFrame(np.random.randn(3,3), columns=['A', 'A', 'B1'])
...: df2 = pd.DataFrame(np.random.r... | 1 |
This log is showing frequently if a gif image in Recyclerview is not visible
yet. But if gif image is visible the log stop? I use it without specifying it
if its asBitmap or asGif because I want to allow the user to be able to put
jpg or gif and load it to recyclerview.
|
**Glide Version/Integration library (if any)** :3.6.1 with okhttp-
integration:1.3.1@aar
**Device/Android Version** : Nexus 5X, v.6.0.
**Issue details/Repro steps/Use case background** :
I'm using Glide for displaying images in RecyclerView and in
FragmentStatePagerAdapter. On pre M versions of Android everythi... | 1 |
The following code snippet emits a very odd error message (requires the GSL
library):
type gsl_error_handler_t end
custom_gsl_error_handler = convert(Ptr{gsl_error_handler_t}, cfunction(error, Void, ()))
function set_error_handler(new_handler::Ptr{gsl_error_handler_t})
output_... |
### TL;DR
This is a runtime debug option proposed by @carnaval to catch common misuse of
`ccall` which could otherwise cause corruption that's hard to debug.
### The problem
> ...... when someone trashed a tag. Often happens in pools with OOB stores,
> ...... Unfortunately it's
> the only "downside" of having a... | 1 |
Running TensorBoard r0.9 results in graph visualizations as expected but all
events and histograms that successfully displayed in r0.8 are not.
Has r0.9 introduced a change to the command line that should be used to launch
TensorBoard, or to the code needed to generate events and histograms for
TensorBoard to displa... |
Since about a week now there seems something wrong with the TensorBoard demo
at https://www.tensorflow.org/tensorboard/index.html#events. The graph shows
nicely, but neither events nor histograms show up. This problem seems to be
only with the demo -- everything shows up just fine when I run the
corresponding code (`... | 1 |
## Steps to Reproduce
I have a project when I try to run a drive test, I get
[drive-test]
flutter drive -t test_driver/all.dart
Using device Pixel XL.
Starting application: test_driver/all.dart
Initializing gradle...
Resolving dependencies...
Installin... |
 **Issue byafandria**
_Tuesday Aug 11, 2015 at 18:32 GMT_
_Originally opened ashttps://github.com/flutter/engine/issues/559_
* * *
Building a Standalone APK instructions are not clear enough.
It has been inconvenient to only be able to start my Sky app vi... | 0 |
# Checklist
* 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.
* I have checked the pull requests list
for existing proposed fixes.
* I have checked the commit log
to find out if the bug was alrea... |
# Checklist
* 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.
* I have checked the pull requests list
for existing proposed fixes.
* I have checked the commit log
to find out if the bug was alrea... | 0 |
**Do you want to request a _feature_ or report a _bug_?**
Bug
**What is the current behavior?**
DevTools extension does not persist state. For example, the “Welcome” dialog
displays upon every refresh.
**If the current behavior is a bug, please provide the steps to reproduce and
if possible a minimal demo of the ... |
**Do you want to request a _feature_ or report a _bug_?**
Bug
**What is the current behavior?**
“Welcome to the new React DevTools!” message blocks the devtool panel every
time the it is opened.
**If the current behavior is a bug, please provide the steps to reproduce and
if possible a minimal demo of the prob... | 1 |
Getting the following error upon loading:
`Uncaught SyntaxError: Duplicate data property in object literal not allowed
in strict mode -- From line ... in .../bundle.js`
App runs well in modern browsers on PC/Mac, iOS UIWebview, mobile Safari,
Android (also 4.x) Chrome, and Android >5.x.
Consulting this table show... |
React / ReactDOM: 16.4.2
I'm having trouble reproducing this, but I'm raising it in the hope that
someone can give me some clues as to the cause. I have a large application
which is using `Fragment` in a few places, like so:
<React.Fragment>
<div>Child 1-1</div>
<div>Child 1-2</div>
... | 0 |
axios/lib/core/mergeConfig.js
Line 19 in 16b5718
| var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];
---|---
keys in mergeDeepPropertiesKeys will be merged by utils.deepMerge but
utils.deepMerge can only merge objects. Array type field will be converted
like {‘0’: 'a', '1': 'b'}, no long... |
### Describe the issue
When I read the 'Axios' source code, I found that' utils. deepMerge() 'will
convert arrays to objects, which is unreasonable.
https://github.com/axios/axios/blob/master/lib/utils.js#L286
### Code
var deepMerge = require('./lib/utils').deepMerge;
var a = {foo: {bar: 111}, ... | 1 |
# Environment
Windows build number: Microsoft Windows [Version 10.0.19042.330]
PowerToys version: v0.19.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones
# Steps to reproduce
1. Requires 2 monitors
1a. May require using a non-admin account
2. Show... |
By default new windows are opened on primary monitor (some application
introduce their own special positioning). If we have zone history for some
application on secondary monitor, and that monitor is active, application
window will be opened there, otherwise we fallback to default windows behavior
and that window is ... | 1 |
Operating system:XP W7-32
用bootstrap框架开发出的页面,在浏览器上下拉,翻页等都能实现,用electron不能,这是为什么,请教
|
jQuery contains something along this lines:
if ( typeof module === "object" && typeof module.exports === "object" ) {
// set jQuery in `module`
} else {
// set jQuery in `window`
}
module is defined, even in the browser-side scripts. This causes jQuery to
ignore the `window` object... | 1 |
In the same vein as #1107, it would be super useful (at least to me) to have
the openapi models be available outside of FastAPI. I've been working on a
Python client generator (built with Typer!) which will hopefully be much
cleaner than the openapi-generator version, and I already use FastAPI for some
testing.
I do... |
### First Check
* I added a very descriptive title to this issue.
* I used the GitHub search to find a similar issue and didn't find it.
* I searched the FastAPI documentation, with the integrated search.
* I already searched in Google "How to X in FastAPI" and didn't find any information.
* I already read... | 0 |
### Bug report
**Bug summary**
I have a pcolormesh that has shading='gouraud', and I am trying to save it to
an .eps. Saving it to a pdf works fine, but trying to save to an eps gives an
error.
**Code for reproduction**
import matplotlib.pyplot as plt
import numpy as np
plt.pcolormesh(np.ra... |
I'm running python 3.4 on Debian 8.3, and am using the Qt5Agg backend. When I
call savefig() or use the toolbar widget to save a figure that has a gouraud
shaded triangulation, I get the following stacktrace:
Traceback (most recent call last):
File "/home/tps/PyCharmProjects/test/test_PlotWindow.... | 1 |
I get very very strange numerical inconsistencies like these:

I could reproduce this in ipython and jupyter notebook but only on macOS, not
on Linux. Here is a gist with code ... |
Running numpy.dot normally produces the expected answer:
$ python -c "import numpy ; f=numpy.ones(2,dtype=numpy.float32);print f.dot(f)"
2.0
If I import a PyQt5 module first, I get a different answer:
$ python -c "import PyQt5.QtWidgets ; import numpy ; f=numpy.ones(2,dtype=n... | 1 |
When using `pd.DataFrame.describe`, if your percentiles are different only at
the 4th decimal place, a `ValueError` is thrown because the the percentiles
that vary at the 4th decimal place become the same value.
In [1]: s = Series(np.random.randn(10))
In [2]: s.describe()
Out[2]:
coun... |
#### Code Sample, a copy-pastable example if possible
import pandas
a = pandas.DataFrame({'a': ['0'], 'b': ['str']})
print('---')
print(a)
a.iloc[:, 0] = [int(v) for v in a.iloc[:, 0]]
print('---')
print(a)
b = pandas.concat([a, pandas.DataFrame({'b'... | 0 |
##### System information (version)
* OpenCV => master
* Operating System / Platform => Windows 64 Bit
* Compiler => Visual Studio 15 2017 Win64
##### Detailed description
When doing Configure on master branch in Windows with CV_DISABLE_OPTIMIZATION
checked, it causes the CMake configuration process to fail o... |
##### System information (version)
* OpenCV => 4.1.2
* Operating System / Platform => Linux / Ubuntu 18.04
* Compiler => ❔
##### Detailed description
When running the code below that call `solvePnPGeneric` from Python the
program crashes because the C++ code expect a different type for
`reprojectionError` fr... | 0 |
**Migrated issue, originally created by Anonymous**
This problem occurs in sqlalchemy 4.7.1, using oracle 9.
Case scenario:
I had a job table, and a task task, and a jabs2tasks table to create a many to
many relation. I created a job and a task, and added the job twice to the task
(using a relation that have a s... |
### Describe the bug
The `CreateSchema` DDL construct accepts a parameter `if_not_exists` via its
base class, `_CreateDropBase`. However, this parameter is ignored: for
example, `CreateSchema("myschema", if_not_exists=True)` produces `CREATE
SCHEMA myschema` rather than `CREATE SCHEMA myschema IF NOT EXISTS`.
### T... | 0 |
This was found during training using the core developer training dataset:
Getting all the term suggestions for framework
GET stack/_suggest
{
"mysuggest" : {
"text" : "framework",
"term" : {
"field" : "title",
"suggest_mode" : "always",
"sort" : ... |
I have found a few odd cases where the phrase suggester with suggest_mode:
"missing" generates a suggestion even though the query returns results. I am
querying across two indexes but the query term only exists in one of the
indexes. I get the search results I expect, but I do not expect to get a
suggestion.
I am tr... | 1 |
@fchollet and other kerasors,
We all know that if we are dealing with large scale of data such as ImageNet,
we could write a customized generator which produces batch data (often as
numpy.array) from disk. Then we could train our model with
`model.fit_generator()`. But, if we want to use `ImageDataGenerator` to do ... |
Hello everyone, I have a tricky programming question. I want to implement an
exponentially moving average of centroids on hidden layers inputs activations
of an AutoEncoder to maximize ICC over several class in keras
(adding a loss penalizing this term).
It would require to know the final output of the classifica... | 0 |
## Expected Behavior
After installing example and running `yarn test` the test should pass
## Current Behavior
After running `yarn test` we are getting an error
Plugin 0 specified in "/with-jest-app/node_modules/next/babel.js" provided an invalid property of "default" (While processing preset: "/wit... |
when i run test from npm scripts i have error
C:\with-jest-app\jest.setup.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import { configure } from 'enzyme';
... | 1 |
**Alex Rau** opened **SPR-7842** and commented
DataBinder which is used by WebRequestDataBinder and ServletRequestDataBinder
grows automatically collections when "autoGrowNestedPaths" is on (AFAIK this
is the default for the DataBinder).
The behaviour of DataBinder when "autoGrowNestedPaths" is that a property ... |
**Colin Sampaleanu** opened **SPR-1319** and commented
If you try to use one bean factory post-processor it can't actually modify the
definion of a 2nd post-processor, even if that one has yet to run. This is
because the appcontext as a one time process builds up two lists (ordered and
non-ordered) of all the post-... | 0 |
http://kubekins.dls.corp.google.com:8081/job/kubernetes-pull-build-
test-e2e-gce/45191/consoleFull
Unfortunately we don't have logs.
@fejta @ixdy \- can you please take care of uploading logs in case of timeout?
|
The kubernetes tarball is extracted inside the container in dockerized e2e,
which gives us `kubernetes/cluster/log-dump.sh`. On timeout, we try to call
`log-dump.sh`, but do so outside the container, so it's no longer available.
We should probably move the timeout handling inside the dockerized e2e
container.
| 1 |
#### Describe the bug
This bugreport very similar to #315 which was implemented and fixed, however I
think this is not solved yet. When the query params parsing process itself
fails (before the request even started), the resulting error object does not
contain request information, making it hard to debug, especially... |
Would be useful if `responseType` could be set to `stream` in the browser.
Right now, it only works in node.
| 0 |
julia> Pkg.checkout("DataStreams", "0.0.6")
INFO: Checking out DataStreams 0.0.6...
ERROR: GitError(Code:ERROR, Class:Merge, There is no tracking information for the current branch.)
in #123 at .\libgit2\libgit2.jl:414 [inlined]
in with(::Base.LibGit2.##123#128{Base.LibGit2.GitRepo}, ::... |
Starting from a tagged version:
julia> Pkg.checkout("TaylorSeries", "warningsv05")
INFO: Checking out TaylorSeries warningsv05...
ERROR: GitError(Code:ERROR, Class:Merge, There is no tracking information for the current branch.)
but this works if `master` is `checkout`ed first.
| 1 |
**Migrated issue, originally created by Michał Szczepański (@vane)**
When I'm trying to join two tables using String values that are duplicating in
each column I get less rows then expected
The query from database returns 10 rows but filtered is set to True and after
if filtered:
... |
**Migrated issue, originally created by Anonymous**
It appears that INSERTs and UPDATEs do not work under the following
conditions:
1. Table with composite primary key.
2. A hierarchy of classes polymorphically mapped to the table (single inheritance)
3. The polymorphic discriminator column is part of the pr... | 0 |
Not sure if this means I shouldn't use it, or if we just haven't documented it
yet :)
https://docs.flutter.io/flutter/widgets/Scrollable-class.html
|
I think we need some high level documentation of all the list and viewport
classes, including a class hierarchy diagram showing inheritance, mixins,
ownership, and who creates whom. It should probably lean on some other
documentation explaining the purpose of custom Element subclasses, too.
| 1 |
Given the use case of dynamically instantiating content children using the
NgFor of NgIf directives I've found this not working in alpha.52. I thought
this was working before in alpha.44 but after testing it seems this was never
working.
I'd expect this to work and I thought this was the reason for content children
... |
We have a Component template that looks like this:
<ng-content select="item-left"></ng-content>
<ion-item-content>
<ng-content></ng-content>
</ion-item-content>
But if you add `*ng-if="true"` on the `item-left` element it places this
element inside of the `ion-item-content` like ... | 1 |
I use **Pinyin - Simplified** to input Chinese character .

When I begin typing, the input sources panel positioned unexpectedly.

[0]).html(slotOne) before it freezes... |
Challenge http://freecodecamp.com/challenges/waypoint-bring-your-javascript-
slot-machine-to-life has an issue. Please describe how to reproduce it, and
include links to screenshots if possible.
after typing "$($", chrome crashes.
| 1 |
### Version
2.5.13
### Reproduction link
https://jsfiddle.net/1m5vx6dc/1/
### Steps to reproduce
Say we have an array `list` `['a', 'b', 'c', 'd', 'e', 'f', 'g', ...]` and a
computed property `filtered` that extracts 4 items from that list based on a
start `index`. Then we run a `v-for` on the `filtered` compute... |
### Version
2.5.2
### Reproduction link
https://codesandbox.io/s/mzvkppmvo8
### Steps to reproduce
1. I created component with scoped slot (AppSwitcher.vue)
2. Then I use it in another component with their own slot (HelloWorld.vue with slot "subtext")
3. Add some element to slot (div in App.vue)
### What ... | 0 |
# Environment
Windows build number: 10.0.18999.1
Windows Terminal version (if applicable): Version: 0.5.2762.0
# Steps to reproduce
Start Windows Terminal in Ubuntu 18.04. Install Vim. Start Vim. Type a
sentence then move the cursor over a letter. See that the letter is obscured.
# Expected... |
# Summary of the new feature/enhancement
When `cursorShape` is set to `filledBox`, it hides the character under it:

(The command is `cat /etc/os-release`)
This is a bit annoying. It will be helpful if t... | 1 |
**Migrated issue, originally created by Michael Bayer (@zzzeek)**
from sqlalchemy import *
from sqlalchemy.orm import *
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class A(Base):
__tablename__ = 'a'
id = Column(Intege... |
**Migrated issue, originally created by Anonymous**
Hi,
I noticed that the update() usage in /orm/extensions/sqlsoup.html is outdated:
> > > db.loans.update(db.loans.book_id==2, book_id=1)
This doesn't work anymore. There may be more out-of-date code in there, I
haven't checked.
| 0 |
ERROR: type should be string, got "\n\nhttps://k8s-gubernator.appspot.com/build/kubernetes-\njenkins/logs/kubernetes-e2e-gke-serial/1916/\n\nFailed: [k8s.io] Nodes [Disruptive] [k8s.io] Resize [Slow] should be able to\nadd nodes {Kubernetes e2e suite}\n\n \n \n /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:479\n Expected error:\n <*errors.errorString | 0xc8214da3b0>: {\n s: \"failed to wait for pods responding: timed out waiting for the condition\",\n }\n failed to wait for pods responding: timed out waiting for the condition\n not to have occurred\n /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:464\n \n\nPrevious issues for this test: #27470\n\n" |
Quite a few tests flake with:
an error on the server has prevented the request from succeeding (put replicasets.extensions frontend-
88237173); Current resource version 493
This seems to indicate:
* test should retry
* that's a lot of flake on GKE
eg: #29149, #30156, #30352 (comment), p... | 1 |
Challenge http://freecodecamp.com/challenges/waypoint-add-borders-around-your-
elements has an issue. Please describe how to reproduce it, and include links
to screenshots if possible.

AttributeError: 'module' object has no attribute 'cpu_count'
tensorflow version = Version: 1.3.0
ker... |
### What related GitHub issues or StackOverflow threads have you found by
searching the web for your problem?
Some people report having similar problems with 'module' objects having no
attribute something-or-other and claim they were solved by upgrading.
### Environment info
Operating System:
Ubuntu 17.04 x64
... | 1 |
##### System information (version)
* OpenCV => 4.5.5
* Operating System / Platform => Fedora 36
* Compiler => GCC 12
##### Detailed description
The version is not building in the debug mode because of the `Werror=return-
type` warning.
/home/user/.conan/data/opencv/4.5.5/_/_/build/c2ecc42c4fd2... |
Compiler: GCC 12.1
Warnings are related to `GAPI_Assert(false ...);` code.
`GAPI_Error()` with "noreturn" attribute should be used instead.
[2464/3435] Building CXX object modules/gapi/CMakeFiles/opencv_gapi.dir/src/compiler/gislandmodel.cpp.o
/home/alalek/projects/opencv/dev/modules/gapi/src/c... | 1 |
Json retrieved from API never contains Date objects. Instead dates are
transported as strings. When I run a DatePipe over a string it gives me
`Invalid argument '2014-11-20T05:11:03.277+00:00' for pipe 'DatePipe'`
Please note that angular 1 date filter worked just fine with strings.
|
The new date pipe only supports date objects or numbers but not ISO strings.
In ng1 this was valid and made displaying simple JSON from api's to the UI
very easy with little conversion process.
Plunker with ng1 behavior date filter ng1 iso
| 1 |
### Version
2.5.9
### Reproduction link
https://codepen.io/maple-leaf/pen/BmgaqG
### Steps to reproduce
1. open the codepen demo
2. open devtool if u are on chrome
3. click `change data which will raise error` button
4. now you should see an error like this: `TypeError: Cannot read property 'key' of unde... |
I want to load the template for a VueJS component dynamically. I'd like to
make an AJAX call using jQuery, and whatever the server returns should be the
template of the VueJS component. Here's a simplified version of the code with
the AJAX call removed since it's irrelevant where the data is coming from:
... | 0 |
I am getting an "access to undefined reference" in code that used to work, and
that I believe is valid. It takes a very specific combination of details to
trigger the problem, so I think it is related to optimization.
As far as I can tell from Travis (assuming they update 0.3 regularly) this
behaviour started in the... |
I'm moving the discussion from JuliaPy/pyjulia#173 to gather more attention. I
also describe in the last paragraphs how it may help not only PyJulia users
but also other Julia users.
(@stevengj, @Keno, please correct me or add more details if I'm missing
something)
Prior to Julia 0.7, PyJulia users could use multip... | 0 |
Describe what you were doing when the bug occurred:
1. React dev tools profiler crashed when changing from "anonymous" to "overlay" and asked to report the issue
* * *
## Please do not remove the text below this line
DevTools version: 4.1.1-a9cd9a765
Call stack: at n.value (chrome-
extension://fmkadmapgofadopl... |
PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE
* * *
## Please do not remove the text below this line
DevTools version: 4.0.4-3c6a219
Call stack: at n.value (chrome-
extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:16721)
at m (chrome-
extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:... | 1 |
# Environment
Windows build number: Microsoft Windows [Version 10.0.18362.418]
Windows Terminal version (if applicable): All
# Steps to reproduce
1. Write some characters with linefeed in the notepad, such as:
a
b
c
d
e
2. Copy them
3. Open Windows ... |
Multiline text pasted from the clipboard includes CRLF pairs in all cases;
this is inappropriate for "Unix-space" sessions, such as WSL.
# Environment
Windows build number: Microsoft Windows [Version 10.0.18362.145]
Windows Terminal version (if applicable): 71e19cd82528d66a0a7867cbed85990cfc1685f1... | 1 |
To reproduce:
* Launch the "Drop Down Button" from the material_gallery example
* Press the menu button
android: I/flutter : Exception caught while building _DropDownMenu
android: I/flutter : 'packages/flutter/src/widgets/basic.dart': Failed assertion: line 749: '() {
android: I/flutter : ... | 1 | |
**Describe the bug**
The `openapi.json` generated from the docs is not valid OpenAPI 3.0 schema and
doesn't pass validation. Can be checked against few available validators:
* https://apidevtools.org/swagger-parser/online/
* https://editor.swagger.io/
**Expected behavior**
Passes validation.
**Environment:**... |
### First Check
* I added a very descriptive title to this issue.
* I used the GitHub search to find a similar issue and didn't find it.
* I searched the FastAPI documentation, with the integrated search.
* I already searched in Google "How to X in FastAPI" and didn't find any information.
* I already read... | 0 |
I have a problem with scheduler memory that continue to increase when i am
using docker image.
I am using Celery Executor

Any solution ??
Thanks in advance
|
**Apache Airflow version** : 2.0.1
**Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
v1.17.4
**Environment** : Dev
* **OS** (e.g. from /etc/os-release): RHEL7
**What happened** :
After running fine for some time my airflow tasks got stuck in scheduled state
with below error in Task... | 1 |
This bug is present in Bootstrap's docs:
http://twbs.github.io/bootstrap/javascript/#modals
1. Launch the demo modal
2. Close the modal
3. Open the same modal again
4. The x button at the top and the close button at the bottom don't work
Clicking outside still works and pressing the escape key still works, ... |
Hi,
The code used on last Thursday worked fine. But after updated to latest code
on Monday (GMT+8), the modal dialog when clicks to dismiss for seconds onward
cannot be close.
I am checking on source code line 932, if I commented out this line then it is
working again.
this.$element
.removeClass('in')
.attr('a... | 1 |
Challenge Bonfire: Search and Replace has an issue.
User Agent is: `Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/45.0.2454.101 Safari/537.36`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
The default code uses a "myReplace" functi... |
I noticed that a couple weeks ago, someone raised an issue about the function
being called replace, and the issue was dealt with and renamed to myReplace.
It seems the tests are still running on the old-named function replace and
aren't accounting for the myReplace function.
The issue can be circumvented by simply r... | 1 |
## Steps to Reproduce
1. Navigate to flutter_gallery and run with `flutter run`
2. Navigate to the Icons demo page within the app
3. Notice the size 48.0 Icon displays incorrectly for certain colors.
, linux/386, run enough times on a parallel machine:
$ GOARCH=386 GOMAXPROCS=32 go test std
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference... |
[This may be a duplicate of issue #770]
package main
import (
"reflect"
"fmt"
)
type X int
func (_ X) Foo() { }
func main() {
v := reflect.NewValue(X(0))
fmt.Printf("%d\n", v.Type().Method(0).Type.NumIn())
fmt.Printf... | 0 |
Anyway to make it so on a Desktop you can hover the menu rather than click?
|
Hi all, there is one issue I have with twbs, I really wish the dropdown menu
can drop on mouseover instead of on click.
Any help on this?
| 1 |
I am trying to use seaborn in a python standard shell environment , but I
always get an error when I use the basis palette function
sns.palplot(sns.diverging_palette(240, 10, n=9))
any Idea from where this could come from ???
Traceback (most recent call last):
File "C:\Users\meyringer\AppData\Local\Programs\Pyth... |
When using `row_template` on FactorGrid when `margin_titles=True`,
row_template will not render correctly as the earlier call to finalize_grid
already creates an annotated text for the row margin (See:
https://github.com/mwaskom/seaborn/blob/v0.7.1/seaborn/axisgrid.py#L731)
I think a fix will be to add a switch to m... | 0 |
Fiddle: http://jsfiddle.net/adobi/hMvxQ/
The modal's hidden event gets executed on tooltips hidden event. Is this the
correct behaviour?
I know I can block the tooltip's event to be propagated, but wouldn't be a
nicer solution to namespance these event?
Thank you for your answer!
|
The triggered show and hide event bubbles to the modal dialog when using
tooltips in modal dialog. So, the show and hide of the modal dialog will also
be triggered.
Following should work as workaround:
$('[rel="tooltip"','.modal').tooltip().on('show', function(e)
{e.stopPropagation();}).on('hide', function(e) {e.s... | 1 |
**Hans Desmet** opened **SPR-6871** and commented
When you submit a form, with databinding on a command object with indexed
properties, the indexed properties of the command object are not filled in.
I think this bug is related to the correction that happened in #11506.
The characters [ and ] are not only remov... |
**Koen Serneels** opened **SPR-9480** and commented
#### Overview
There seems yet again another issue when using the Spring 3.1 -
Hibernate4(.1.3) integration.
This issue pops up so late since it only occurs in special circumstances: it
has to do with the hibernate "smart" flushing which is not working.
Hibernat... | 0 |
Hi all,
I have a collection of TypeScript files that, on Windows, compile under tsc
when run under node, but throw bogus errors (I can clearly see the source
contradicts them) when compiled via the Visual Studio TypeScript 1.7.6.0
extension which uses tsc.exe. I implemented a very temporary workaround by
creating my... |
Consider this implmentation of a ORM-like Model class:
class Model {
public static tableName: string;
public static findById(id: number): this { // error: a this type is only available in a non-static member of a class or interface
const rows = db.query(`SELECT * FROM ${thi... | 0 |
To reproduce:
https://github.com/PlasmaSheep/flask-bug
Clone repo and install flask (python2)
export FLASK_APP=/path/to/repo/flask-bug/autoapp.py
flask run
Notice the output:
[$]>>> flask run
Using config: development
Debug is: True
* Serving Flask app "autoapp"... |
I submitted a patch for this but learned that it was incomplete with further
testing. #1640
Basically, it would be nice to allow `DEBUG` on the application to control the
activation of the debugger and reloader when running the CLI like `app.run`
does.
| 1 |
Our Weather Zipline example is now broken. Aparently the API @AdventureBear
used on her Zipline no longer works.
https://www.evernote.com/l/AlwSsfX2kblJYoOSp9uAq-BKFosOSCg8-aAB/image.png
We need to find an API that works and doesn't require adding an API key, or we
need to make an API endpoint on Free Code Camp that... |
Less of a bug in that the student can just erase the commented code and pass
the challenge. That said, if you comment out the second if statement, you will
be met with the "You should have only one if statement" even though the code
effectively has only one if statement.
Maybe the pattern matching doesn't take into ... | 0 |
Browsersync not launching in beta.11
package.json:
...
"scripts": {
"postinstall": "npm run typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"start": "concurrent "npm run tsc:w" "npm run lite" ",
"typings": "typings"
},
"dependencies": {
"angular2": "^2.0.0-beta.11",
"... |
Directives like {If, Foreach, For ... etc.) are often used in many templates.
To simplify the process and in the spirit of writing less code and for the
sake of maintainability, It might be a good idea to have a `pre_loader` API
where the project can pass in the common directives in and on startup all
templates are p... | 0 |
It is dangerous to assume a number that has a distance unit omitted from it,
should be pixel-based.
Working within the SVG user space, it is sometimes required that number values
are left unitless, so that they're proportionate to the user-defined matrix.
The is also the additional overhead in maintaining a propert... |
It's weird that `style={{margin: '42'}}` gets turned into `margin: 42px;`. I
think we should only add `px` if the value is an actual number.
| 1 |
## System:
* OS: macOS Mojave 10.14.6
* CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
* Memory: 169.37 MB / 16.00 GB
* Shell: 3.2.57 - /bin/bash
## Binaries:
* Node: 11.14.0 - ~/.nvm/versions/node/v11.14.0/bin/node
* Yarn: 1.17.3 - /usr/local/bin/yarn
* npm: 6.7.0 - ~/.nvm/versions/node/v11.... |
Describe what you were doing when the bug occurred:
1. Collapsed one component in the React devtools (tab 'components')
2. This error message is shown
3.
* * *
## Please do not remove the text below this line
DevTools version: 4.11.0-39713716aa
Call stack: at store_Store.getIndexOfElementID (chrome-
exten... | 0 |
* Electron version: 1.4
* Operating system: MacOS 10.12
### Expected behavior
The output image area should be the same as the area of the rectangle passed
into the `capturePage` method instead of the squeeze the currently visible
area of WebContent into the rectangle size.
### Actual behavior
The rectangle ob... |
* Electron version: 1.4.13
* Operating system: MacOS 10.12.2 running on MacBook Pro (Retina, 13-inch, Early 2015)
### Expected behavior
webview.capturePage() without specifying a dimension should return an image
with the full viewable area on a Retina display. The dimensions of the
resulting image should be eit... | 1 |
i try run my project , and i getting this error after i upgrade to deno
v.1.0.4
in deno version 1.0.2 this works.
I'm really stuck.
**Error :**
thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550/src/libcore/cell.rs:878:9
note: run with... |
Received this error. For some additional info, I am only using the `std/path`
module and some function from the `Deno` global.
thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550/src/libcore/cell.rs:878:9
stack backtrace:
0: backtrace... | 1 |
Challenge http://www.freecodecamp.com/challenges/waypoint-manipulate-arrays-
with-pop has an issue.
The directions (including the comments) for this challenge are confusing. It
does not mention that the `var removed` should be changed in any way.
, 'categories': list('abcabcabcd')})
a['categories'] = a['categories'].astype('category')
b = pd.DataFrame({'numbers': np.arange(10)})
print a.... |
xref #14351
None of the following merge operations retain the `category` types. Is this
expected? How can I keep them?
#### Merging on a `category` type:
Consider the following:
A = pd.DataFrame({'X': np.random.choice(['foo', 'bar'],size=(10,)),
'Y': np.random.choice(['one', '... | 1 |
I am unable to install Playwright. This is what happens:
12:25:15 tmp % mkdir playwright
12:25:21 tmp % cd playwright
12:25:22 playwright % uname -a
Darwin IM00276.local 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:51:50 PDT 2023; root:xnu-8796.121.2~5/RELEASE_X86_64 x86_64
1... |
### System info
* Playwright Version: 1.31.2
* Operating System: Windows Server 2016
* Browser: N/A
* Other info:
### Source code
* [X ] I provided exact source code that allows reproducing the issue locally.
Teamcity build with the following build steps and a Windows server 2016 build
agent.
... | 0 |
##### Issue Type:
Bug Report
##### Ansible Version:
ansible 1.6.6
##### Environment:
Host OS: OSX 10.9.4
Target OS: Oracle Linux Server release 6.5
##### Summary:
Installing a package with the yum module and option 'enablerepo' with 2 repo's
fails with the message:
failed: [localhost] => {"fai... |
##### Issue Type:
"Bug Report:"
##### Ansible Version:
ansible 1.4.3, 1.5.3
##### Environment:
Oracle Enterprise Linux 6.4
##### Summary:
yum module enablerepo won't do multiple repositories
##### Steps to Reproduce:
ansible server1 -s -K -m yum -a "name=pkgname enablerepo=repo1,repo2 state=lat... | 1 |
The new pollster should probably handle out of fds more gracefully.
Fixing an unrelated fd leak, I wrote a test to intentionally run out of file descriptors.
With the new scheduler, you get pages of this ~forever, EBADF from epoll_wait, I believe:
epollwait failed with epollwai... |
`docker -v` works only on Linux and silently fails if you run a docker client
on a non-Linux machine. It creates confusion for those who are using the
following command as instructed as on the README to build their packages.
docker run -v $GOPATH/src:/src mobile /bin/bash -c 'cd /src/your/project && ./... | 0 |
Describe what you were doing when the bug occurred:
Profiled the new FB. Scrolled down to tail loads.
* * *
## Please do not remove the text below this line
DevTools version: 4.6.0-a2fb84beb
Call stack: at chrome-
extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:345591
at Array.map ()
at chrome-... |
Describe what you were doing when the bug occurred:
1. Add interaction tracing with unstable_trace
2. Record a profile, navigate to Profiler > Profiled Interactions
3. Error appears when scrolling view or immediately
## ** (use `kubectl version`):
NA
**Environment** :
* **Cloud provider or hardware configuration** :
* **OS** (e.g. from /etc/os-release): macOS
* **Kernel** (e.g. `uname -a`):
* **Install tools** :
* **Others** :
**What... | 1 |
## ℹ Computer information
* PowerToys version: v0.21.1
* PowerToy Utility: FancyZones
* Running PowerToys as Admin: No
* Windows build number: 20H2 19042.541
## 📝 Provide detailed reproduction steps (if any)
1. Open the fancyZones' setting interface
2. Pick the Zone highlight color and click in the co... |
## ℹ Computer information
* PowerToys version: 0.20.1
* PowerToy Utility: Fancy Zones
* Running PowerToys as Admin: yes
* Windows build number: 10.0.19041.388
## 📝 Provide detailed reproduction steps (if any)
1. Open Settings: Fancy Zones
2. Go to edit one of the zone colors
3. In the color picker w... | 1 |
As far as I know, polyfill functions are repeated in each file they are
needed, resulting in lot of duplicate code.
I suggest to optionally emit them as a module, so that they appear once in a
bundled project.
E.g. instead of:
var __extends = (this && this.__extends) || function (d, b) {
for ... |
I request a runtime type checking system that perhaps looks something like
this:
function square(x: number!) {
return x * x;
}
Where the `!` tells the compiler to generate a runtime type check for a
number, something akin to tcomb.js.
Of course, this gets much more complicated with interfac... | 0 |
the following does not work
julia> let
global @inline function foo(x::T) where {T}
T
end
end
but the following does work
julia> let
global @inline function foo{T}(x::T)
T
end
end
|
According the the manual
`Profile.print` should take a kwarg saying how many columns to print.
This is a useful feature I would like to use.
Here is what happens when I run the example code:
s = open("/tmp/prof.txt","w")
Profile.print(s,cols = 500)
close(s)
MethodError: no method ... | 0 |
I recently purchased new Mac Pro w/ Mac Os X 11.0.1 & Apple Silicon M1.
I installed homebrew (when enabling Rosetta) and managed to install python3.9
and other packages through brew (numpy==1.19.5 & scipy==1.6.0, amongst
others).
However, executing my one-liner script yields a "bus error". That happens when
I try t... |
My issue is about NaNs produced using scipy.interpolate.griddata.
Consider that the values from `values.csv` are defined for each point from
`points.csv`.
We would like to get interpolated values for points from `xi.csv`.
In the following code snippet I check whether the interpolated values contain
any NaNs.
##... | 0 |
**Symfony version(s) affected** : 4.1.0
**Description**
Symfony does not throw an exception `Circular reference detected for service
"%s", path: "%s".` whenever I am using `!tagged` syntax.
**How to reproduce**
1. Create the following class:
<?php
namespace App\Services;
class ... | Q | A
---|---
Bug report? | yes/no
Feature request? | no
BC Break report? | no
RFC? | no
Symfony version | 3.4.3
class SomeInterface
{
public function supports(object $obj);
}
class ChainSome implements SomeInterface
{
/*
* @var SomeInterface[... | 1 |
### version
current latest master (`bfce376`)
### How to reproduce
1. create a file named `main.js`with the following content:
console.log('hello');
2. start running deno watcher by `cargo run -- run --watch --unstable main.js`. At this point we can see an output like:
hello
... |
to reproduce:
watching A.ts
creating B.ts
editing A.ts to import B
editing B.ts
watcher doesn't restart
| 1 |
Like this:
import { prefixes } from "https://ip-ranges.amazonaws.com/ip-ranges.json" assert {type: "json"}
> error: Uncaught SyntaxError: The requested module 'https://ip-
> ranges.amazonaws.com/ip-ranges.json' does not provide an export named
> 'prefixes'
But you can look `deno` hints for `deno` plu... |
Hi, I'm really curious about this behavior; when importing a json in this way:

Works good. However this way:
;
![... |
So I was googling and asking on StackOverflow. For now no clear answer. So
decided to ask here as for me it is a blocker.
How can use the newest methods for existing JS types (like Array, Number)?
`Array.from(someIterable)` throws an error: `error TS2339: Property 'from'
does not exist on type 'ArrayConstructor'`
... | 0 |
When overriding an unknown style the following warning is logged: `You are
trying to overrides a style that do not exist.`.
Apart from the obvious typing error in the warning message, which should be
fixed, I would like to suggest that the warning message also shows the
respective style key.
Source file: https://g... |
### Checkbox value as number
Right now i will get an error if I try to pass number as value in Checkbox.
I don't think that there should be any restriction only on string?
`Warning: Failed prop type: Invalid prop `value` of type `number` supplied to
`Checkbox`, expected `string`.`
Tech | Version
---|--- ... | 0 |
Are there any plans to add type stubs for PEP484-compliant static typing?
|
I am trying to set up a flask application on my new machine. First I checked
out the sources from our server - I am pretty sure the application directory
structure is correct, as we are using it exactly like this on other machines.
However, when I try to run the app on my new computer I get the following
error:
... | 0 |
* [x ] I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
NextJS sample application should load without any issue.
## Current Behavior
v1.0.0-beta.28 broke something in theming. My code still works fine with
v1.0.0-beta.27. Getting the following error in ... |
I am using the latest "v1.0.0-beta.20".
const theme = createMuiTheme({
palette: {
primary: grey[100],
secondary: blue['A400']
},
});
TypeError: Cannot read property 'charAt' of undefined
decomposeColor
node_modules/material-ui/styles/color... | 1 |
by **alexandru@mosoi.ro** :
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. This bug is a duplicate of bug 3511 which was not correctly fixed
https://golang.org/issue/3511
If req.Method == 'POST' (anything other than GET a... |
by **parenthephobia** :
What steps will reproduce the problem?
package main
func main () {
a := make(map[int] int);
b := make(map[int] int);
c := make(map[int] int);
k := 1;
a[k], b[k], c[k] = 1, 2, 3;
}
I expected:
... | 0 |
Any plan to support redis-cluster?
I think redis-cluster can be simply implement by inheriting
`celery.backend.redis.RedisBackend`, Is there any plan to do that?
|
The python Redis Cluster lib **Grokzen/redis-py-cluster** is considered
production ready, therefore suitable for integrating Redis Cluster into Celery
(in the future _redis-py-cluster_ will be integrated in _redis-py_ , currently
used by Celery).
As far as I can understand, Redis Cluster should be integrated in Komb... | 1 |
### Bug summary
distutils is deprecated in Python 3.10:
https://docs.python.org/3/library/distutils.html
Matplotlib (as of 3.4.3) currently uses `distutils`, so users are met with
`DeprecationWarning`s when using on Python 3.10.
from matplotlib import pyplot
.tox/py/lib/python3.10/site-packa... |
### Bug summary
Python 3.10 formally deprecated distutils.
DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
matplotlib still contains a few occurrences which should probably be removed:
... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.