text1 stringlengths 2 269k | text2 stringlengths 2 242k | label int64 0 1 |
|---|---|---|
When a field is not analyzed on index time, it is not possible to specify a
search_analyzer.
I get a "analyzer on field [xxx] must be set when search_analyzer is set"
exception.
To me this does not make sense. I can set a keyword analyzer on the field to
circumvent this exception, which does exactly the same thing... |
When I try to run gradle integration tests to test a plugin by unpacking the
zip, the jar hell detection is unable to recognize the same jar on the class
path at two (or more) different locations.
I assume this is not intended. It would make gradle classpath setups (maybe
other build tools too) to compile and test E... | 0 |
I reported this bug on the 3.x series and it was never addressed.
The community had a workaround by calling the callback via setTimeout.
#13519
... but now the workaround is dead in the 4.x.x series.
The devs NEED to take this seriously. This just killed my app and if it's not
fixed I might as well shut down the ... |
* 2.0.2 and 2.0.3:
* Operating System (Platform and Version):
Ubuntu 18.04 and MacOS (latest)
* Last known working Electron version:
None
**Expected Behavior**
Registering or intercepting a stream protocol should work and the browser
should show the proper content.
**Actual behavior**
The browser actual... | 1 |
The option `static_folder` for blueprints only works correctly when the
blueprint has been registered with a `url_prefix`, otherwise the application's
default static URL takes precedence.
There is nothing wrong in that behavior, but it is not documented. It would be
nice to have that fact mentioned at
http://flask.p... |
Hi,
I've encountered a strange bug while working with Flask. When I have two
modules (say 'frontend' and 'admin') static files aren't found in frontend
module. Admin module is url_prefixed with '/admin' and everything is fine with
it.
The only workaround I found was to add a /static route in frontend module and
se... | 1 |
This is a tracking issue for the deprecated `std::io::Read::chars` API.
|
Hey there
Reading the parsing code to try to fix #9468, I noticed there was some
redundancies in the code.
The logic for parsing comments is fully implemented in
`libsyntax/parse/comments.rs`, but doesn't seem to be used out of the pretty
printer
(https://github.com/mozilla/rust/blob/master/src/libsyntax/parse/comm... | 0 |
Please:
* Check for duplicate issues.
* Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
import jax.numpy as jnp
from jax.flatten_util import ravel_pytree
x = jnp.arange(10, dtype=jnp.float32)
x_flat, unravel = ravel_pytree(x)
y = x_fla... |
Please:
* Check for duplicate issues.
* Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
Steps to reproduce:
* Clone NixOS/nixpkgs@`19c42ce`
* Update `pkgs/development/python-modules/jaxlib/default.nix` with these contents https://gist.github.com/samuela/931d7e... | 0 |
A very nice addition to TypeScript's type system would be sum types in the
spirit of ML-like languages. This is one of basic and simple programming
constructs from functional programming which you really miss once you get used
to it, but which seem to have a hard time being included in new modern
languages (contrary ... |
Many values or parameters in JavaScript can be of more than one type. For
example, a function might take an object where one of the properties can be
either a string or a number, but not a function.
Comments from Ron Buckton in https://typescript.codeplex.com/workitem/1364
I'd like to see type annotations provide ... | 1 |
ERROR: /home/wavy/Ten/tensorflow/tensorflow/contrib/factorization/BUILD:116:1: Linking of rule '//tensorflow/contrib/factorization:gen_gen_factorization_ops_py_wrappers_cc' failed (Exit 1)
This is the error output.
Thanks!
|
I upgraded to tensorflow 1.4. I found that this version can not load
"cudart64_90.dll" when i import tensorflow in python.
It can work when i use tensorflow 1.4 rc-0. But now it goes error: Could not
find 'cudart64_80.dll'. TensorFlow requires that this DLL be installed in a
directory that is named in your %PATH% en... | 1 |
### Reproducing code example:
import matplotlib.pyplot as plt;
Before this happened I was running a different python script, which used 89
processes. Unfortunately I cannot share that script publicly. Since then numpy
crashes after import immediately.
### Error message:
OpenBLAS b... |
Related to vscode-restructuredtext/snooty-parser#24 and networkx/networkx#4857

I expect `import numpy` to commit close to 0 memory.
### Reproducing code example:
import numpy as np
### Er... | 1 |
I want to create all HTTP methods requests and fetch the response data with
Playwright. Is there any way by which we can achieve this with Playwright or
do we need to go for other API libraries for making API request?
|
I currently use Cypress for my automation testing framework, however I am
toying with the idea of moving over to Playwright. One feature of cypress that
really shines in the ability to make HttpRequests using the cy.request()
function, I use this many times throughout the current system however the most
important req... | 1 |
* I have searched the issues of this repository and believe that this is not a duplicate.
* I have checked the FAQ of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.7.4
* Operating System version: Mac
* Java version: 1.8
### Steps to reproduce this issue
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.5.4
* Operating System version: linux
* Java version: 1.8
### Steps to reproduce this issue
... | 0 |
So my box in uni got upgraded and now I have this test failure:
======================================================================
FAIL: sklearn.manifold.tests.test_locally_linear.test_lle_simple_grid
----------------------------------------------------------------------
Traceback (most... |
#### Describe the issue linked to the documentation
when I look at the example given here, I got confused why the feature names
are not sorted with respect to importance.
#### Suggest a potential alternative/fix
X, y = make_classification(random_state=0, n_features=5,
n... | 0 |
I have a host with a local-only (everything on the same host) Celery setup for
some continuous data processing. Recently the load got much higher, all the
CPU cores often are under 100% load and I've started to get `WorkerLostError:
Worker exited prematurely: exitcode 155` out of the blue multiple times per
day. A wo... |
Under high load we encountered duplicate job execution, as well as
`WorkerLostError: Worker exited prematurely: exitcode 155` exceptions.
We use `--max-memory-per-child` which leads to workers recycling (exit code
155) between jobs, and sometime the last job seems to be re-executed, as if
the MainProcess didn't get ... | 1 |
What steps will reproduce the problem?
1. Use custom typescript 1.5 beta compiler.
2. Type a code snippet: let a: typeof DataView.
3. Get an error: Error:(1, 15) TS2304: Cannot find name 'DataView'.
What is the expected result?
It should be right.
What happens instead?
Get an error.
Please provide any a... |
Looking at history :
https://github.com/Microsoft/TypeScript/commits/master/bin/lib.d.ts
Was there on April 11 :
https://github.com/Microsoft/TypeScript/blob/6f1feffe6710a3201fb46a0b01e16051bfc18a29/bin/lib.d.ts#L1689
Isn't there on April 18:
https://github.com/Microsoft/TypeScript/blob/b8ebf561f94ea27ecfc6af3c2b20... | 1 |
Hello Typescript!
In our typescript file, we have the following function implementation:
protected foo<A,B>(): {a: A; b: B;}[] {
return null;
}
When the compiler runs, it throws the following errors
Return type of public method from exported class has or is using private name
'A'.
Retur... |
The following code fails in TypeScript 1.4 with the below errors:
export class MyClass {
protected myMethod<T>(val: T): T {
return val;
}
}
Parameter 'val' of public method from exported class has or is using private
name 'T'.
Return type of public method from ex... | 1 |
What steps will reproduce the problem?
http://play.golang.org/p/bopaXuF1NJ
What is the expected output?
value
value
in this case, 's' always represent the out scope variable, or
key
in this case, 's' always represent the inner scope variable
W... |
On Win7/amd64:
cd %GOPATH%\src\code.google.com\p\go.talks\2013
present
visit http://127.0.0.1:3999/advconc, click `pingpong1.go` link:
404 page not found
pingpong1.go file url:
http://127.0.0.1:3999/advconc%5cpingpong1.go
we should use `/` instead of `%5c` ... | 0 |
#### Description
The first and second image of the doc of Variable Bayesian Gaussian Mixture
are the same. This is due to a simple typo in the file name.
While fixing this, as per @tguillemot 's advice, it might be beneficial to
modify plot_concentration_prior.py too, since the default value of the `align`
paramete... |
#### Describe the issue linked to the documentation
Some models have many parameters.
Some of those parameters are very important, some others much less so.
While sklearn provides sound defaults usually, it would be nice
if a potential user sees right away which parameters _must_
be optimized in order to get... | 0 |
### Bug summary
For development purposes, I forked and cloned Matploltlib from this Github
repository and tried to install using pip in the development mode (`-e`), but
I got the following error.
* I use MacOS Ventura (Darwin 22.2.0) with Apple-Silicon (M1)
* The error occurred at the installation of Matplotlib... |
### Bug summary
Following the setup guide, I cloned the repo, created a conda environment, and
when I try to run `python -m pip install -ve . `, it throws a `subprocess-
exited-with-error` exception.
I have all the development dependencies installed, so I'm not sure what could
be going wrong.
### Code for reproduc... | 1 |
The common testing framework still needs some work that I think is quite
important to ensure consistency and stability.
This issue is my wishlist, if any one wants to give it a shot (and so that I
don't forget).
* test how classifiers handle only one class being present
* check clustering and transformer objec... |
**Easy:**
* in test_common, check that the ValueError raise has a useful error message. (see sparse test for an example)
* put as many of the "specific" tests in test_clustering, test_transformers, ... into test_non_meta_estimators.
**Not so easy:**
* calling `fit` forgets the previous model if any
* ~~che... | 1 |
The form validators are nicely integrated with the translator. The only thing
you have to do is set your language and the messages are automatically
translated.
With the authentication system, this is not the case. A possible, simple,
solution would be to add authMsg.xx.xliff files to
Symfony/Bundle/FrameworkBundle/... |
There are two enhancements which could be made to the
`AuthenticationException`:
1. add a getMessageKey(), getMessageData() which could be used by the translation component as the exception message itself cannot be safely displayed to the user
2. change the signature of the constructor to match that of \Exceptio... | 1 |
[Enter steps to reproduce below:]
1. Changed to a different branch in git repo
**Atom Version** : 0.165.0
**System** : Mac OS X 10.10.1
**Thrown From** : Atom Core
### Stack Trace
Uncaught Error: ENOENT, open
'/Users/jocampbell/Documents/github/sre_dev/repos/snapshotter/spec/lib/hip_chat_helper_spec.rb'
... |
1. switch the node_modules package from a version to a git repository
2. npm install
**Atom Version** : 0.165.0
**System** : Mac OS X 10.10.1
**Thrown From** : Atom Core
### Stack Trace
Uncaught Error: ENOENT, open
'/Users/joscha/Development/mailbutler/node_modules/grunt-crx/tasks/crx.js'
At... | 1 |
If the templates are authored in `en` then you will no translate the app for
the `en` locale.
However when the app is not translated, the i18n specific markup (`i18n`
attributes, ... ) is not removed.
The markup should always be removed even when the application is not
translated.
|
**I'm submitting a feature request**
Currently when I build an Angular application with internationalization, I add
`i18n` attributes to many of my tags. After compilation, it would be nice for
these tags to be removed and not included in the rendered site.
| 1 |
Trying to compile the following code results in rustc stack overflowing
#[no_std];
#[lang="start"] fn main() {}
Tested using Rust 0.9. Other people on IRC reported they receive the same
issue with master.
|
These aren't currently well-defined by the language. If you define anything
with a somewhat matching LLVM signature, it will compile. Not only does it not
care about the type signatures matching what it expects, there is no handling
for these being defined on the wrong types of AST nodes.
| 1 |
#### Challenge Name
http://beta.freecodecamp.com/en/challenges/basic-css/change-the-color-of-text
#### Issue Description
When using inline style to change the h2 element to the color red, my output
says "try again" and that I need to change the h2 color to red. I have tried
both inline style and using style tags.
... |
#### Issue Description
This is for the feature/curriculum-expansion branch only when run locally, and
NOT the staging branch.
For several challenges (challengeType: 0, using the code editor with the
mobile-phone output layout), the jQuery method .css() doesn't seem to be
accessing the styles applied in a `style` ta... | 1 |
it could be so cool to open a folder on a network by providing an address like
`user@ip:address`
is there such functionality already or are ou planning to add ?
|
It could be great to put background color on each extension card to be
consistent with the gallery banner.
You can have an example here
(https://marketplace.visualstudio.com/vscode/Other) where my extension
`pomodoro-code` does not look as expected (white image on white background).
| 0 |
I might have found an issue with the junit reporting that especially appears
when the report gets imported to xray.
I actually create a screenshot manually with a filename and type and also via
the automatic mode for the after hook.
the result ist that actually one file gets imported as screenshots.png(the
manual ... |
### System info
* Playwright Version: v1.31.2
* Operating System: Windows 10
I configured my test system as described here;
https://docs.getxray.app/display/XRAYCLOUD/Testing+web+applications+using+Playwright
I noticed that in the xray xml-report the data types are not provided (e.g.
".png", ".webm"). So I hav... | 1 |
Not a major issue, but the animation gets shown twice on all of the iPhones
I've tested on.
iPhone 5, 5s and 6, all running iOS8
|
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
I think there should be only 1 MuiTextarea element
## Current Behavior
There are 2 MuiTextarea elements
## Steps to Reproduce (for bugs)
1. Add TextField to your application
2. View the rendered ... | 0 |
Please make sure that the boxes below are checked before you submit your
issue. If your issue is an implementation question, please ask your question
on StackOverflow or join the Keras Slack channel and ask there instead of
filing a GitHub issue.
Thank you!
* Check that you are up-to-date with the master bran... |
We should consider moving the modules `preprocessing` and `applications` to
separate repositories under `keras-team`: `keras-team/preprocessing` and
`keras-team/applications`.
They would be listed as a dependency of `keras`, and would still be importable
from e.g. `keras.preprocessing`.
Why?
* They're not part o... | 0 |
> Issue originally made by Арсен С (NuArsen)
### Bug information
* **Babel version:** Babel 6.9.1 (https://babeljs.io/repl/)
* **Node version:** https://babeljs.io/repl/
* **npm version:** https://babeljs.io/repl/
### Input code
Not working:
export default ({ onClick }) => {
return <div... |
> Issue originally made by @jprichardson
### Bug information
* **Babel version:** 6.x
* **Node version:** 5.3.0
* **npm version:** 3.7.1
### Input code
export default (onClick) => (<div onClick={ () => onClick(text) } ></div>);
### Description
You'll notice an `export` at the bottom tha... | 1 |
See a jsFiddle example here: http://jsfiddle.net/h8XWv/
I'd assume that changing the ordering would fix this but as this change
appears to have been made after RC1, it could well break something else.
EDIT: It seems to behave the same on navbar-default and navbar-inverse so
perhaps it was when the styling was extra... |
the problem happens on mobile, tablet in ios everything is working, but using
firefox on a tablet with android by clicking the submenu instead of open it
all closes, the bug was partly solved in version 2.3.1 before or since in ios
worked, now working in firefox was missing and perhaps other browser used in
tablets.
... | 0 |
### 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)** : debian 9 (stretch)
* **Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device**... |
bazel build -c opt --config=cuda
//tensorflow/tools/pip_package:build_pip_package
Warning: ignoring LD_PRELOAD in environment.
ERROR:
/home/wenjian/pkgs/tensorflow/tensorflow/core/distributed_runtime/rpc/BUILD:87:1:
no such package '@grpc//': Error cloning repository:
https://boringssl.googlesource.com/boringssl: ... | 0 |
* Electron version: 1.4.4
* Operating system: elementary OS Loki (basically Ubuntu 16.04)
app.on('ready', () => {
const powerMonitor = require('electron').powerMonitor;
powerMonitor.on('suspend', () => {
console.log('SUSPEND');
});
});
does not out... |
So I have a very simple code on a working app, but in no way does the event
ever get trigged.
app.on('ready', function() {
require('power-monitor').on('on-battery', function () {
console.log('battery time');
});
});
(The app itself is larger than that, ofc, I just cropped ... | 1 |
Here is the message that i get when i try to execute deno :
https://gateway.ipfs.io/ipfs/QmWs8zeuka9ZRfdDpbZLo7Smi2wKYPi95ruVyuCN52eBaR/deno.png
translation 👍
"The version of this file is incompatible with the version of windows you're
using. Consult the system information of the computer to know if you need an
... |
# Could you please support windows 32 bit machines for the build.
I'm using Windows NT 10 15063
Building the app is quite a sassle for me (as win32 users) because:
* My windows version does **not** support symlinks even though I enabled developer options.

### Error message:
$ python scripts/random.py
1000
Traceback (most recent call last):
File "scripts/random.py", line... |
I recently upgraded to Big Sur 11.1, and I have tried to install numpy through
the use of these two ways:
pip3 install numpy
and
python3 -m pip install numpy --no-cache-dir
I used this as an earlier reference to no avail.
### Error message:
Preparing wheel... | 0 |
It would be great if there was a way to relax the current constraint of
requiring get/set accessors to have the same type. this would be helpful in a
situation like this:
class MyClass {
private _myDate: moment.Moment;
get myDate(): moment.Moment {
return this._myD... |
**Expected behavior**
This function should compile succesfully
function testFunction(a: string | Object) {
if (typeof a === "string") {
if (a.indexOf(".") >= 0)
a = a.substr(a.indexOf(".") + 1);
...
}
}
**Actual behavior**
The function gives error abou... | 0 |
Hi,
I think that interp1d should be more verbose when extrapolating out of bounds,
for example using warnings. The code itself poses the question, and answers
"matlab does not".
I vote yes :)
Seriously, Extrapolating can be fine, I do that a lot in order to avoid
crashes when one/two points are out of the allowed ... |
That new beta version of Cython was released yesterday (Feb. 25th) on PyPI,
and is causing a build failure on the pre-release Azure job in recent PRs. I
don't know if a subset of the issues should simply be reported upstream, but
this is quite easy to reproduce locally with cython `3.0.0b1` installed from
PyPI of cou... | 0 |
# Feature request
Request to add the documentation on how to add routes dynamically in Router
array in server.js or any other appropriate place when an API call can be
made.
I would like to avoid custom server and stay with Next.js defaults.
## Is your feature request related to a problem? Please describe.
I hav... |
# Feature request
## Is your feature request related to a problem? Please describe.
url structures are still visible on devices, so its a UI-element and often is
bound to editorial decisions, yet in nextjs, url routes always reflect the
filesystem of the project
Having the filename of a page be the route path segm... | 1 |
These might be symptomatic of having two implementations, where the one that
is actually used is determined by the import order (not good).
>>> import collections
>>> {k: v for k, v in collections.Counter(np.__all__).items() if v > 1}
{'alen': 2,
'all': 2,
'alltrue': 2,
'amax': 2... |
Error popped up while trying to import numpy on Jupyter notebooks
### Reproducing code example:
Upgraded to Mac OX 10.15, and everything was fine for a while, and
pandas_profiling disappeared, so I reinstalled it. Then it said NumPy had
duplicates so I uninstalled NumPy (via Conda) until Conda could not detect any
... | 0 |
After updating the version, I found that the previous `highlighting render`
function had disappeared! Is there an alternative function? And how to use it!
|
using react PropTypes is awesome, and can help catching errors at the early
stage,
but sometimes, when the application is pretty large, there is always a flow of
data
structures of a big size. Like in the web email client application, there can
be a `Message`
type that is passed all over the place, and multiple... | 0 |
#### Data Visualization with D3: Work with Data in D3
http://beta.freecodecamp.com/en/challenges/data-visualization-with-d3/work-
with-data-in-d3
#### Issue Description
Complete a previous challenge, go to the next challenge in the flow. You'll
see the previous output of the challenge you completed before.
#### B... |
Challenge use-the-css-transform-scale-property-to-change-the-size-of-an-
element has an issue.
User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36`.
Please describe how to reproduce this issue, and include links to screenshots
if... | 1 |
If a navbar dropdown is left open during collapsed (mobile) mode, then resized
to horizontal (desktop) mode, it wont work straight.
http://getbootstrap.com/examples/navbar/
Maybe the navbar should auto-close all dropdowns on collapsed mode to
horizontal mode switch.
|
Steps to reproduce:
Open, for example, bootstrap-3.0.2\examples\theme\index.html.
1. Make screen smaller to get collapsed nav bar
2. Click on one of menu for drop-down list in nav bar
3. Maximize screen again
4. Go to Drop-down - drop-down and click again - list will be in scroll area.
Did the same on tab... | 1 |
Hello! See example
type lang = "en" | "ru";
function getDict(lng: lang): any {
switch (lng) {
case 'ru':
return ru;
case 'stringNotInLangType':
return en;
}
}
compiler should throw error, cause
case 'string... |
type foo = 'hey' | 'nay';
switch (<foo>undefined) {
case 'boom': console.log('never the case'); break; // expected unreachable code, actual no problem
}
| 1 |
I'm using Firefox ESR 45.1.1 on GNU / Linux Debian 64-bit, testing.
I cannot place my cursor wherever I want to and not only that; if I press
"Enter" key, instead of taking me on the next line, it skips 1 extra line.
Also, when this issue happens, the tab key stops working properly; it moves
only at a single tab cl... |
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 |
Here's a branch with my use case:
from starlette.testclient import TestClient
from fastapi import FastAPI, File, Form
app = FastAPI()
@app.post("/file_before_form")
def file_before_form(
file: bytes = File(...), city: str = Form(...),
):
return {"... |
### 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 ran into this error while playing with Rust, it told me to make a bug
report:
src/dynamics/simple_dynamics.rs:52:17: 52:25 error: internal compiler error: debuginfo::create_local_var_metadata() - Referenced variable location is not an alloca!
src/dynamics/simple_dynamics.rs:52 let bod... |
This little program causes a compiler panic:
fn main() {
return;
let a = "";
}
The error message is the following:
error: internal compiler error: debuginfo::create_local_var_metadata() - Referenced variable location is not an alloca!
thread 'rustc' panicked at ... | 1 |
No known steps to reproduce and unclear whether this actually affects users
(since the Flutter app seems to be dead already).
The crash collector reported the following stack trace in logcat:
java.lang.AssertionError
at io.flutter.view.FlutterView.assertAttached(FlutterView.java:537)
a... | ERROR: type should be string, got "\n\nhttps://github.com/flutter/engine/blob/51f12604f7aec7e425be41f56ce8637a948dfa3d/shell/common/engine.cc#L517 \n-> https://github.com/flutter/engine/blob/51f12604f7aec7e425be41f56ce8637a948dfa3d/shell/platform/android/platform_view_android.cc#L358 \n-> https://github.com/flutter/engine/blob/51f12604f7aec7e425be41f56ce8637a948dfa3d/shell/platform/android/io/flutter/view/FlutterView.java#L683\n\nThat code path can trigger when the flutter view has been detached, which in\nturn implies that the flutter view has been destroyed by Android. This was\nobserved in the GoogleSignIn plugin, where the plugin triggers an OEM-widget-\nbased sign-in flow. The Android OS reserves the right to destroy your view\nwhenever it needs to to free up resources (and will re-create it as\nnecessary), so it's valid for a full-screen sign-in flow to trigger the\ndisposal of your FlutterView (followed by a re-creation when the sign-in\ncompletes).\n\n" | 1 |
Looks like boot path is using unix specific platform functions to implement
the UID 0 check, and not checking to see if it's actually running on unix
first:
Traceback (most recent call last):
+ CategoryInfo : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException... |
Traceback (most recent call last):
File "C:\Python27\Scripts\celery-script.py", line 9, in <module>
load_entry_point('celery==3.1.5', 'console_scripts', 'celery')()
File "C:\Python27\lib\site-packages\celery-3.1.5-py2.7.egg\celery\__main__.py", line 29, in main
mai... | 1 |
It seems the `debug!` code isn't properly pushing a span onto the macro
expansion span stack. This code:
fn main() {
let a = ~"";
debug!("foo: %s %s", a);
}
Only reports the error inside the macro, but not where that macro is getting
used:
<core-macros>:33:24: 3... |
If you pass an immutable reference through two structs, one of which is a
trait, you can take an immutable reference to a variable that will be mutated
later, and the compiler will compile. For a proof of concept, see here, and if
you want to see it in an actual use case, see here (look in the main file).
I don't kn... | 0 |
My issue is about **test_constant_cost_matrix** located in
**scipy/optimize/tests/test_linear_assignment.py**
#### Reproducing code example:
python3 runtests.py -v
#### Error message:
scipy/optimize/tests/test_linear_assignment.py:102: in test_constant_cost_matrix
assert_a... |
Since many people are working on different parts of this I think we better
take out the actual work out of the discussions scattered around.
Currently Travis matrix is as follows
* ARM - Test Group 1
* ARM - Test Group 2
* Pre-release Dependencies, Source Dist ( **- > In Azure now**)
* Coverage, Full test s... | 0 |
# Bug report
I find a bug about browser back didn't work, and when i import the css ,it
work.
I provided a demo to reproduce the problem。
## Describe the bug
1. click "link about" link to /about/123 page
2. refresh the page, then click browser back, you will find it stop in current page.
3. if you import '... |
This is bug report
Link does not work with css-module imported. That happens when page with Link
has no css, and linked page has. No errors in console, so im not sure about
reasons, but there is minimal repo to reproduce:
https://github.com/standy/next-css-error
Bug appears in `next@7.0.0` \+ `next-css@1.0.1`,
... | 1 |
See this example (derived from simple form example):
http://plnkr.co/edit/TyLCDmO5LNYOkflxu2eY?p=preview
It works until you change a line in index.html
`<script
src="https://code.angularjs.org/2.0.0-beta.6/angular2-all.umd.js"></script>`
to
`<script
src="https://code.angularjs.org/2.0.0-beta.6/angular2-all.u... |
When using minified bundles with SystemJS, and a simple snippet like this
<template ngFor #item [ngForOf]="items" #i="index">
<li>{{i}}</li>
<li *ngIf="i % 2 == 0">number is even</li>
</template>
Will throw
TypeError: this.directive_0... | 1 |
Challenge http://www.freecodecamp.com/challenges/waypoint-learn-how-script-
tags-and-document-ready-work
At first, the text in the third instruction is right. But after add the
'$(document).ready(function() {', it lost a right bracket after document. In
addition, i can't get the last instrcution of 'close' right, t... |
Challenge Confirm the Ending has an issue.
User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3)
AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
My code:
function end(str, ta... | 0 |
### Bug report
Plotting with string categorical data fails, if the second call to
`plt.scatter` contains categories not present in the first call to
`plt.scatter`
**Code for reproduction**
import matplotlib.pyplot as plt
plt.scatter(["a", "b"], [0,2])
plt.scatter(["a","c"], [1,4])
**Actual ... |
Alerted to by @anntzer in #9350, the fill_between with all categorical doesn't
do an update on the y2 and so the following code:
`plt.fill_between(['a', 'b', 'c'], ['e', 'f', 'g'],['h','i','j'])`
Crashes on the lookup:
/projects/matplotlib/lib/matplotlib/artist.py in convert_yunits(self, y)
1... | 1 |
* Output of `node_modules/.bin/electron --version`: v4.0.1
* Operating System (Platform and Version): OSX Mojave
* Output of `node_modules/.bin/electron --version` on last known working Electron version (if applicable): N/A
**Expected Behavior**
A clear and concise description of what you expected to happen.... |
### 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 a feature request that matches the one I
want to file, without success.
### Electron Version
11.3.0
### What operating sys... | 0 |
##### System information (version)
* OpenCV => 4.1 master
* Operating System / Platform => Windows 10 64 Bit
* Compiler => Visual Studio 2019
##### Detailed description
I'm try master branch with .NET assembly and testing with xunit.
But most of time it crashed at end of xunit running.
Detail windbg trace ... |
##### System information (version)
* OpenCV => 4.0.1
* Operating System / Platform => Windows 10 64 Bit
* Compiler => Visual Studio 2017
##### Detailed description
The tf_text_graph_faster_rcnn.py stops with error when trying to generate
pbtxt file for faster_rcnn_nas model from TF object detection model zoo... | 0 |
### 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:**
* 7.... |
### Update 2
@xiaoshan5733 has found a solution for the time being (located below in the
comments). For visibility, I'll post it here:
> I solved the problem, you should config like this in your ~/.npmrc file:
arch=armv7l
> You can get arch from `uname -m`
I've tested this and can confirm that ... | 1 |
There one features that lacks most of 3rd party virtual desktop is to have
independent virtual desktop that can be freeze any time.
For example, I will have a few virtual desktop with everything set (app
already opened and placed where I want to) for :
* my work 1 (for example : dev in HTML4)
* my work 2 (for e... |
every morning since I upgraded to v0.16.0 and even on v0.16.1, when I unlock
my PC and then go to move any window that is not where it was when I locked my
PC the fancyzone grid shows then freezes the screen with gris overlay on top
of everything for about 60 seconds or more and I can't do any thing
| 0 |
After upgrading to 4.1.0 from 4.0.2, I got this warning in my browser's
console. It didn't occur on 4.0.2.
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
* No warning message.
## Current Behavior
React Hot Loader: this component is... |
# Bug report
## Describe the bug
The `with-typings-for-css-modules` example works only because `style.css` is
in the root folder. If you move it into `pages`, the build fails:
$ ./node_modules/.bin/next build
Creating an optimized production build
Failed to compile.
./pages/... | 0 |
Hi, I'm facing a problem that **window.opener** is null when there is a access
to window.opener in a page within webview tag.
I listen the **new-window** event of the webview tag,and then add a new
tab.Yes, it's similar to click a a tag with __blank_ .
The original behavior is that opening a new window in Chrome ... |
* Electron version: 1.7.6
### Actual behavior
When calling `window.open` from an iframe no popup is open whereas the `new-
window` events is fired on the webContents.
### Expected behavior
Would expect `window.open` to open a popup even in iframe.
Note that when using with `nativeWindowOpen` it works fine.
##... | 1 |
If form is sent with an invalid CSRF token, this error message will be
displayed: `The CSRF token is invalid. Please try to resubmit the form.`
This message is in fact instruction on how to bypass CSRF protection. This
wording makes protection to be more like an attacker collaborator ;-)
Please change message to so... |
I don't think the current behavior for specifying a null errorPath option for
the UniqueEntity validator makes sense.
When passing null to this option, the error should appear on the object
itself, not on the first field provided to the fields option. Perhaps if the
errorPath option is not set, then it could appear ... | 0 |
I came across this failure while trying to implement double dispatch. Here's
the reduced code to reproduce it:
pub trait MatBase {
// Base method for double dispatch.
// Performs: MatBase * f32
fn mul_scalar(&self, scalar: &f32) -> Mat {
Mat::new()
}
... |
The simplified code below results in an ICE using the following rust version
rustc 1.0.0-beta (`9854143` 2015-04-02) (built 2015-04-02)
binary: rustc
commit-hash: `9854143`
commit-date: 2015-04-02
build-date: 2015-04-02
host: x86_64-apple-darwin
release: 1.0.0-beta
\---- CODE resulting in ICE -------
... | 1 |
#### Code Sample, a copy-pastable example if possible
>>> foo = pd.DataFrame({"A":["One","Three","Four"], "B": range(3)})
>>> print(foo.to_string())
A B
0 One 0
1 Three 1
2 Four 2
>>> print(foo.to_string(index=False))
A B
One 0
Three 1
Four... |
[...]
reading sources... [ 75%] io
Exception occurred while building, starting debugger:
Traceback (most recent call last):
File "c:\portabel\python27\lib\site-packages\sphinx\cmdline.py", line 246, in
main
app.build(force_all, filenames)
File "c:\portabel\python27\lib... | 0 |
I'm experiencing some type promotion errors after upgrading to
`numpy==1.23.0`. I'm guessing it's probably not fully supported yet---my
current JAX version is `0.3.13`.
The following is a basic repro to trigger the error:
import jax
import jax.numpy as jnp
jax.grad(lambda x: jnp.sum(jax.n... |
Something in the numpy 1.23 release broke autodiff; in particular, float0
arrays are being converted to bool:
import jax
import numpy
print(numpy.__version__)
print(jax.grad(lambda x: x+0., allow_int=True)(1).dtype)
Newest numpy:
1.23.0
bool
previous version:
... | 1 |
I'm trying to build the atom-editor from source om my ubuntu 14.04 armhf
machine.
but I get stuck when the build script is trying to download pre-builts for arm
(which don't yet exist)
Node: v0.10.32
npm: v1.4.28
Installing build modules...
Installing apm...
Installing modules ✓
D... |
Is there a way to cross/compile atom-shell for ARM based computers?
| 1 |
It seems a bit out of date.
|
#### Steps/Code to Reproduce
import numpy as np
from sklearn.neighbors import LocalOutlierFactor
c=np.array([[0,0],[0,1],[1,1],[3,0]])
k=2 #numNeighbours
clf = LocalOutlierFactor(n_neighbors=k, n_jobs=-1,algorithm='brute',metric='manhattan').fit(c)
Z = clf._decision_function(c)
... | 0 |
Per this convo.
When I perform the following (on `macos x86_64 v1.20.4`),
1. run `RUST_BACKTRACE=1 deno` to open a REPL, then
2. enter `console.log(String.fromCharCode(55296))` and press enter
deno panics and outputs the following backtrace:
thread 'main' panicked at 'called `Result::unwrap()` o... |
Logging a string with an unpaired surrogate unit (`console.log("\uDE00")`)
causes Deno to crash. Similarly, when an object contains such a string,
logging it also causes a crash (`console.log({x:"\uDE00"})`)
Note that `alert` and `Deno.core.print` do not crash in this situation
RUST_BACKTRACE=1 deno
... | 1 |
Plot function in matplotlib 3.1.3 generate following strips.
ones = np.ones((200,100))
cumsum = np.cumsum(ones, axis=1)
plt.plot(cumsum, linestyle='', marker='o', markersize=0.6, color="k");
 or smaller figures. Pat... | 1 |
## 📝 Provide a description of the new feature
Think about origin Win10's zones:
* We count pin a window to right half of screen by Win+→
* Then pin to bottom-right but Win+↓
* At last, restore it to right zone by Win+↑
I mean, when moving window across zones, could we change the step from single
shortcut to... |
# Summary of the new feature/enhancement
using a hotkey + arrow combination for the direction, it should be possible to
make a window grow or shrink
When you want to grow a window that you have snapped to a smaller zone, and
you want to make it temporarily larger, you have to manually make it longer or
wider. It wo... | 1 |
# Environment
Windows build number: v1909
PowerToys version: v0.15.2
PowerToy module for which you are reporting the bug (if applicable): FancyZones
# Steps to reproduce
1. Setup zones and assign several applications to several zones
2. Plugin in multiple monitors
3. Put machine to... |
# Summary of the new feature/enhancement
As a developer with 5 monitors, whenever I have to go to a meeting which
requires my laptop, I usually have to spend a couple minutes minimizing
windows once un-docked, then 3-5 minutes re-positioning/resizing a bazillion
windows back onto my multiple monitors.
It would be a... | 1 |
Task:
- name: install authorized keys
action: authorized_key user={{item}} key="{{ lookup('file', 'authorized_keys') }}"
with_items: ssh_key_users
This worked under ansible 1.3.3. With devel branch I get:
TASK: [ssh_key | install authorized keys] ***********************... |
The following documented use of the lookup plugin
---
- hosts: all
tasks:
- debug: msg="{{ lookup('env','HOME') }} is an environment variable"
now generates the following error:
TASK: [debug msg="{{lookup('env','HOME')}} is an environment variable"] *******
... | 1 |
### System info
* Playwright Version: v1.33.0
* Operating System: macOS 13.2,
* Browser: All
* Other info:
An issue with custom Errors that have a getter for the message property.
For some reason, Playwright is trying to set the message property of the error
object, which is not allowed in some Error class... |
### System info
* Playwright Version: [v1.28.1]
* Operating System: [Android]
* Browser: [Chromium]
* Other info: Using realMobile on BrowserStack
### Source code
* I provided exact source code that allows reproducing the issue locally.
**Config file**
// playwright.config.ts
import {... | 0 |
**Describe the bug**
hi
my gltf contains a texture transformation for the normals chanel.
"materials": [
{
"name": "Material_0",
"normalTexture": {
"extensions": {
"KHR_texture_transform": {
"scale": [
0.1,
... |
plunker
When setting the `map` to repeat the `alphaMap` is also affected.
I'm expecting each face of the cube to have a giant whole in the middle with
the edges of the taco time texture showing near the edges of the cube in a 3x4
pattern.
I'm getting the 3x4 pattern of the taco time texture but the `alphaMap`,
alt... | 1 |
##### Description of the problem
GLTF2 models that are clones do not displayed correctly. This is for a number
of reasons
* the onBeforeRender callback is not copied
* GLTFShader is not cloned across
* SkinnedModel skeleton is reinitialised to 0 bones and the source skinnedmodel skeleton is not cloned
http:/... |
##### Description of the problem
The current glTF loader works in a slightly unexpected manner: shaders and
animations point to a specific instance of a loaded glTF hierarchy, so
.clone() or .copy() operations on that hierarchy will drop the links,
resulting in the copy not rendering nor animating.
I am intending t... | 1 |
My "current streak" seems to be broken and gives me a value of 0 when it
should be 21

|

| 1 |
It would be great to have the option to disable some remaps.
**Scenario:**
* 4 remapped keys
* Laptop with external usb keyboard which is used occasionally.
* When using external keyboard 2 of the remaps are not needed.
* I have the option to disable the whole functionality but for this scenario it would be... |
Have both predefined profiles (e.g. mac/linux/etc) available to user, and also
allow the user to create custom profiles.
Provide a quick way to switch between profiles.
| 1 |
#### Code Sample, a copy-pastable example if possible
In [1]: from pandas import Series, DataFrame
In [2]: class SubclassedSeries(Series):
...:
...: @property
...: def _constructor(self):
...: return SubclassedSeries
...:
...: @pr... |
Subclassed Series and DataFrames with custom `_constructor`,
`_constructor_sliced`, and `_constructor_expanddim` methods return pandas
Series and DataFrame objects on reshape operations:
>>> import numpy as np, pandas as pd
>>> import pandas.util.testing as tm
>>> df = tm.SubclassedDataFrame(np... | 1 |

When you input text using Chinese IME, the first char cause a reposition of
the input bar shows on windows. This create a very bad experience when input
text other then Englis... | 0 | |
I've modified the DatePicker component to meet a need for a project and wanted
to contribute the changes back to the core project (:
The modification - an additional prop viewYearFirst={true} which opens the
datepicker directly to the year display.
I just wanted to check in to see if the prop name was appropriate a... |
When building apps that use the date picker for choosing an old date like
"birthday", I often hear complaints about it taking forever to go so far back
in time. These people obviously don't realize they can select the year by
clicking on the year in the title area. An option for just **starting on the
year picker** t... | 1 |
This code:
fn main() {
let vec = vec![1,4,35,13,42,1];
for x in vec[3..] {
print!("{} ", x);
}
}
produces the following errors
main.rs:3:5: 5:6 error: the trait `core::marker::Sized` is not implemented for the type `[_]` [E0277]
main.rs:3 ... |
fn main() {
let buf: &[u8] = &[12, 13, 14, 15, 16];
let indices = buf.iter().zip(buf.iter().skip(1)).enumerate().filter(|_, (a, b)| *a == b'\r' && *b == b'\n').map(|(i, (_, _))| i);
for i in indices {
// ...
}
}
Building the above produces 48 err... | 1 |
* I have searched the issues of this repository and believe that this is not a duplicate.
* I have checked the FAQ of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.7.5
* Zookeeper version: 3.4.14
* Operating System version: macos
* Java version: 1.8
### St... |
* 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: Mac 10.14
* Java version: 1.8.0_172
### Steps to reproduce thi... | 0 |
I have an error with validation unique entity on date time fields
Here is a sample code :
namespace xxx\yyyBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints as DoctrineAssert;
... |
Running Symfony 2.4.3, I believe it's an issue in 2.4.4 as well
If the Client is insulated, it tries to serialize() the data to pass to the
Process. serialize() fails on UploadedFile.
https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Client.php#L145
That line serializes the request,... | 0 |
http://docs.scipy.org/doc/scipy/reference/generated/scipy.cluster.hierarchy.linkage.html
The first couple of paragraphs say that `y` must be a condensed distance
matrix, but the `Parameters` section says that `y` is optionally a data array.
In practice the function does different things depending on the shape of `y`... |
This submodule has broken my trust.
I am genuinely in awe of how it was included in scipy 1.0. I am tagging two
heavy hitters to attempt to bring discussion to this issue since, in general,
scipy.optimize issues seem to go without discussion or fixes. @pv @teoliphant
As I understand, an effort was made in the last ... | 0 |
Some contour/contourf keyword arguments (hatches, linewidths, linestyles) also
work with tricontour/tricontourf but they are not documented and there are no
examples of their use.
|
Dragged legend moves upon resizing figure window from matplotlib version
2.1.0.
**Code for reproduction**
import matplotlib.pyplot as plt
X = range(100)
Y = [value ** 2 for value in X]
plt.plot(X, Y,label='Y')
leg=plt.legend()
leg.draggable(True)
plt.grid(True)
pl... | 0 |
##### Description of the problem
MeshStandardMaterial & MeshPhysicalMaterial Lighting problem on Adreno GPU.
Not Adreno GPU

Adreno GPU
 Fog is an obvious way to do this, but I have a background plate behind
the system that I don't want to be dimmed.
What's the easiest way to handle this?
Is there a w... | 0 |
### Bug report
**Bug summary**
I'm looking for resetting the zoom and pan history of interactve browsing.
Using `toolbar.update()` breaks the interactive history, it's not possible to
go back to the previous axis state.
**Code for reproduction**
Run this code in python a console:
from matplotlib im... |
There are two entries in
http://matplotlib.org/devdocs/gallery.html#lines_bars_and_markers for
marker_reference.py that point to the same page -- likely because that example
generates _two_ plots.
A few possibilities:
* generate a single plot (probably the simplest and good enough).
* split the example into two... | 0 |
Hello,
I was investigating strange error which we have for one of our tasks. We
received regular errors about billard losing workers:
Task (...)[5832c7bd-fe9d-45cd-865e-b6beb4c09e47] raised unexpected: WorkerLostError('Worker exited prematurely: signal 15 (SIGTERM).',)
I was searching for some o... |
I get the following traceback from my worker and then the worker stops
consuming tasks. I have confirmed that there are several thousand messages in
the RabbitMQ celery queue, the worker is not consuming them.
I started my worker with the following command:
`celery worker -A project -l info -n worker1.%h -Ofair --a... | 1 |
## 🐛 Bug
Multiplication of sparse with dense tensor on GPU breaks
## To Reproduce
I have the following implementation of page rank on pytorch using sparse
tensors:
i = torch.LongTensor(idx)
values = torch.FloatTensor([1] * len(idx))
M = torch.sparse.FloatTensor(i.t(), values, torch.Size([48... |
## 🐛 Bug
Calling `.sum()` on large cuda tensors throws the error.
## To Reproduce
Steps to reproduce the behavior:
import torch
t = torch.zeros(5, 14400, 14400).cuda()
!nvidia-smi
t.sum(dim=0)
shows the following nvidia info
+----------------------------------------... | 1 |
error: internal compiler error: type_of with ty_projection
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'r... |
I get an ICE with similar code to this testcase : (`rustc 1.3.0 (9a92aaf19
2015-09-15)`)
trait Test {
type T;
}
impl Test for u32 {
type T = i32;
}
pub type I = <u32 as Test>::T;
pub extern "C" fn test(t : I) {}
trace :
thread 'rustc' pan... | 1 |
I am using twitter bootstrap in my application but every time I try to upload
image I get the following error

I have just the following code snippet to register bootstrap
$... |
I am Using Firefox 22.
Reproduce:
* Open http://getbootstrap.com/components/
* The error is visible in the console when clicking anywhere in the page but a dropdown menu.
I could track down the error to the `clearMenus` call, which in turn calls
`getParents` where the error finally happens.
In `getParents` th... | 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
... |
If I have a set of directives that collaborate to get stuff done (e.g
`DefaultValueAccessor` and `NgModel`) and I include just one of them, I might
get very poor error messages about stuff being null.
Example with declaring view dependency on NgModel rather than on
FORM_DIRECTIVES results in this:
EXC... | 0 |
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
include_role
##### ANSIBLE VERSION
$ ansible --version
ansible 2.2.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o override
##### CONFIGURATION
[defaults]
inventory =... |
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
core
##### ANSIBLE VERSION
devel
##### CONFIGURATION
N/A
##### OS / ENVIRONMENT
N/A
##### SUMMARY
include_role+with_items executes once per item per host **on each host**.
##### STEPS TO REPRODUCE
x.yml::
---
- hos... | 1 |
Apologies if this is mentioned elsewhere, but I couldn't find an issue/PR that
mentions it.
The Fetch API is still experimental, but I assume its definitions will make
their way into TypeScript core at some point?
|
for exemple :
module mymodule {
export class myclass extends anotherclass {
should throw a warning because another class is not referenced as this in the
header :
`/// <reference path="./anotherclass.ts" />`
this cause in error in code, because extends class is not includes in base
class at ru... | 0 |
We have some mapping options that sound interesting but are actually almost
useless or dangerous. I propose to remove them:
### `_type: { index: no }`
Not indexing the `_type` sounds appealing since documentation mentions
everything will keep on working, so that should just save space. Except that
elasticsearch wil... |
With #18075 merged we now have the option to execute our doc snippets through
the REST test infrastructure.
Many of the small parts of original REST tests I've read look like great
stories around how to use our REST API. I have no idea how much overlap there
is between our docs and the REST test-suite, however I wou... | 0 |
The expression 1.+2 produces 3::Int64 since the expression is parsed as (1) .+
(2) instead of (1.)+(2). It is very surprising (at least to me) that in the .+
operator has higher precedence than the floating literal in the lexer. It also
means that 1.+2 gives a different value than 2+1., which is surprising to me.
I ... |
For an array a, I'm using 1.*a to ensure that it is a Float64 or
Complex{Float64}. This doesn't work with
a=[0]
I'm assuming this is a bug? Or is 1.*a bad form for converting?
| 1 |
I first brought this up in the julia users group here:
julia> list = ["a", "b", "c"]
for i in enumerate(list)
println(i)
end
(1,"a")
(2,"b")
(3,"c")
But:
julia> addprocs(2)
@parallel for i in enumerate(list)
... |
Consider this code:
A = eye(3)
B = {A,A,A}
for (a1,a2) in zip(B,B)
a1+a2
end
It works fine. If I add `@parallel (+)` it fails with:
> exception on 1: ERROR: MethodError: `getindex` has no method matching
> getindex(::Base.Zip2{Array{Any,1},Array{Any,1}}, ::Int64)
> in anonym... | 1 |
When `np.array()` or `.asarray()` is used to go from a list of integers,
without specifying a dtype explicitly, it can pick default dtypes including
int64 & uint64. But there's a strange corner case where it defaults to float64
and loses precision, even though all the values could be uint64. Specfically,
this occurs ... |
The error message produced by setting value of mismatching shape to array is
incorrect.
Here is an example.
>>> a = numpy.zeros((4, 4, 4))
>>> ind = numpy.array([[1,0], [2, 3]])
>>> v_shape = (2,2,4,4)
>>> v = numpy.arange(np.prod(v_shape)).reshape(v_shape)
>>> a[:, ind, :] = v
... | 0 |
Tested both with 0.11.1 and recent dev version:
import matplotlib.pyplot as plt
import seaborn as sns
def show_counts(color, data):
ax = plt.gca()
ax.text(0.5, 0.95, f'Count: {len(data)}', ha='center', color=color, transform=ax.transAxes)
penguins = sns.load_datase... |
Calling `map_dataframe` on a facetgrid removes the axis labels. Reproducible
example:

what I assume would happen:
.
I built something for myself since I needed image compression and did not find
something easy.
Here is what it looks like using it:
... |
Customers would like to execute dart code as background processes on both iOS
and Android, for things like syncing down data when wifi is available but the
app is not open, etc.
@mpcomplete created a background process on Android to execute Dart code to
update flutter. But I'm not aware of a parallel on iOS.
This i... | 1 |
Whenever i run: `deno test --fail-fast --coverage=x && deno coverage x`
then i get almost 100% code coverage.
the issue is with the last empty trailing line...
cover file:///path/quality.js ... 98.148% (53/54)
54 |
This should be accounted for
deno 1.15.3 (release, x86_64-apple-darwin)... |
If I call the `WebSocketImpl::send` twice, synchronously, four message frames
will be delivered:
ws.send("aaa");
ws.send("bbb");
// other party will receive aaa, bbb, aaa, bbb
Is this intentional? I know that `send` is async, but does this imply I have
to await each send operation before sendi... | 0 |
Currently, the result of `deno lint`is output to _stderr_ as follows
$ deno lint --unstable 1>/dev/null
(no-explicit-any) `any` type is not allowed
let a: any = 1;
~~~
at /home/yusuktan/Repos/github.com/magurotuna/deno/tmp.ts:1:7
Found 1 problem
ESLint, on the... | 1 | |
From julia-users, ref https://groups.google.com/d/msg/julia-
users/IsRlOLGeEs8/RRwrs3u2AQAJ
Shortened version:
julia> @which pi*pi
*(x::Irrational, y::Irrational) at irrationals.jl:88
julia> module Erratic2
typealias DummyUnion Union{Irrational,AbstractFloat}
... |
Hi all,
The following code seems to allocate a lot of memory:
function test!(arr::Array{(Int, Int)})
for i = 1:10_000_000
arr[1] = arr[2]
end
end
a = [(1, 1), (2, 2)]
test!(a)
Here are the results of `@time test!(a)` (using HEAD on the master branch,
commi... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.