text1 stringlengths 2 269k | text2 stringlengths 2 242k | label int64 0 1 |
|---|---|---|
## 🐛 Bug
`import torch` crashed segmentation fault
## To Reproduce
Steps to reproduce the behavior:
1. docker run -it python:3.6.9 bash
2. pip install scikit-learn torch
3. python -c "import sklearn, torch"
> segmentation fault
at first `import torch` and then `import sklearn`
it w... |
## 🐛 Bug
Import `torch` after `sklearn` causes a segfault.
## To Reproduce
import sklearn
import torch
print(torch.__version__)
print(sklearn.__version__)

In reverse ord... | 1 |
**TypeScript Version:**
1.8.10
**Code**
function f(a: { b?: string; c?: number; }){
// something else
}
f({b: ""}); // no error as intended
f({b: 1}); // error as intended
f(1); // expected: error, actually: no error
f(""); // expected: error, actually: no error
**Expe... |
This does not work. This is expected since I have `"noImplicitAny": true`:
function test({ x, y }) {
console.log(x, y);
}
test({
x: 1,
y: 2
});
`src\main.ts(15,17): error TS7005: Variable 'x' implicitly has an 'any' type.`
`src\main.ts(15,20): error TS7005: Variabl... | 0 |
_Original tickethttp://projects.scipy.org/numpy/ticket/1165 on 2009-07-10 by
trac user dgoldsmith, assigned to @pv._
Proposal regarding modification of the NumPy Docstring Standard
Under the heading "Method docstrings" in the section "Documenting classes"
Reword as follows:
Do not include "self" in the list of p... |
_Original tickethttp://projects.scipy.org/numpy/ticket/2139 on 2012-05-22 by
trac user bmu, assigned to unknown._
I came across a question on stackoverflow (http://stackoverflow.com/q/9470604)
and I am wondering if this is a bug
import numpy as np
dt = np.dtype([('tuple', (int, 2))])
a = np.z... | 0 |
# Checklist
* I have verified that the issue exists against the `master` branch of Celery.
* This has already been asked to the discussion group first.
* I have read the relevant section in the
contribution guide
on reporting bugs.
* I have checked the issues list
for similar or identical bug reports.... |
F821 is one of the most useful flake8 rules, however it's currently disabled
because type comments reference undefined names.
it can be fixed with a conditional dependency on `typing` or importing typing
in an `if False:` block, see discussion here: PyCQA/pyflakes#501
# conditional dep
# requirements... | 0 |
ERROR: type should be string, got "\n\nhttps://k8s-gubernator.appspot.com/build/kubernetes-\njenkins/logs/kubernetes-e2e-gke/13654/\n\nFailed: [k8s.io] V1Job should scale a job down {Kubernetes e2e suite}\n\n \n \n /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:127\n Aug 19 14:20:01.776: Couldn't delete ns \"e2e-tests-v1job-ykaur\": namespace e2e-tests-v1job-ykaur was not deleted within limit: timed out waiting for the condition, pods remaining: []\n /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265\n \n\nPrevious issues for this test: #30216\n\n" | ERROR: type should be string, got "\n\nhttps://k8s-gubernator.appspot.com/build/kubernetes-\njenkins/logs/kubernetes-e2e-gce/21728/\n\nFailed: [k8s.io] V1Job should scale a job up {Kubernetes e2e suite}\n\n \n \n /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:127\n Aug 16 08:11:16.645: Couldn't delete ns \"e2e-tests-v1job-gmj3l\": namespace e2e-tests-v1job-gmj3l was not deleted within limit: timed out waiting for the condition, pods remaining: []\n /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265\n \n\nPrevious issues for this test: #29976 #30464\n\n" | 1 |
It looks like the Windows 7 build instructions don't include something to run
the Chromium content gyp generator as all I'm getting is getting the below and
I can't find a way to resolve the issue when bootstrap threw no errors.
IEUser@IE9Win7 ~/atom-shell
$ /cygdrive/c/Python27/python.exe script/b... |
E:\atom-shell>python script\bootstrap.py
E:\atom-shell>python script\build.py
ninja: error: unknown target 'atom'
ninja: Entering directory `out\Release'
ninja: error: unknown target 'atom'
ninja: Entering directory `out\Debug'
Any idea? This happens before v0.12.5
| 1 |
**I'm submitting a proposal.**
Please consider the proposal, maybe you introduce something like that
https://www.npmjs.com/package/angular2-cache
**Current behavior**
Is absent, therefore I have reinvented the wheel
**Expected behavior**
`export class Service {
private id:string;
... |
Couldn't get custom event (ping) bubble up to the root component. DOM event
(click) works just fine:
http://plnkr.co/edit/g6RNv5qMreVFKYcwvtOs?p=preview
Using alpha.25
| 0 |
Transferred from http://code.opencv.org/issues/3363
|| caroline parcq on 2013-11-07 15:07
|| Priority: Normal
|| Affected: 2.4.6 (latest release)
|| Category: imgproc, video
|| Tracker: Bug
|| Difficulty: Medium
|| PR:
|| Platform: x86 / Windows
## Sorted circles by a... |
Transferred from http://code.opencv.org/issues/1409
|| ivansorokin - on 2011-10-07 15:02
|| Priority: Normal
|| Affected: None
|| Category: imgproc, video
|| Tracker: Feature
|| Difficulty: None
|| PR: None
|| Platform: None / None
## ability to get Hough accumulator v... | 1 |
##### Description of the problem
Hi Mr. Doob,
I want to play an animation like the pump.dae backwards, is there any code out
there that does this or do I have to write it myself, I believe I have to make
modifications to the Animation.js, AnimationHandler.js, and the
KeyFrameAnimation.js to do this. Please help me ... |
##### Description of the problem
In r72 verstion I can play reverse animation with negative timeScale, is very
helpful to me,
But now I update to r76 it not work. So how can I play reverse animation in
r76? Thanks.
##### Three.js version
* r76
##### Browser
* Chrome
##### OS
* Windows
| 1 |
**Bram Smeets** opened **SPR-772** and commented
There is a problem with multiple schedulers. It is impossible to get two
schedulers using the SchedulerFactoryBean. The main problem is that a
NullPointerException occurs while initializing the SchedulerFactoryBean when
the schedulerName property has been set.
More i... |
**Taras Tielkes** opened **SPR-3995** and commented
Since code is quite similar/duplicate, the issue is quite similar to #8543
At the moment handler mappings are loader eagerly (see
DefaultNamespaceHandlerResolver).
A lazy loading implementation would perform just as well in the scenario when
mappings are actuall... | 0 |
proxy commit id : `51ec973`
following is the step to reproduce the issue :
1. downlod the shardingsphere code and checkout as the corresponding commit version
2. compile the code and extract proxy distribution
3. use the following config and then start proxy
config-encrypt.yaml
schemaName: enc... |
## Bug Report
Mybatis mapper has jdbcType=LONGVARCHAR field. After sharding, the String type
data is processed into StringReader type data. StringReader does not implement
serialization interface, which eventually leads to serialization exception and
data insertion failure
### Which version of ShardingSphere did yo... | 0 |
Challenge adjust-the-width-of-an-element-using-the-width-property has an
issue.
User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36`.
Please describe how to reproduce this issue, and include links to screenshots
if possible.
... |
#### Challenge Name
Applied Visual Design: Adjust the Width of an Element Using the Width Property
#### Issue Description
When the instructions are done, test doesn't recognise it.
#### Browser Information
* Browser Name: Chrome,
* Operating System: Windows 10
| 1 |
**Do you want to request a _feature_ or report a _bug_?**
Feature / use case
**What is the current behavior?**
It seems currently there is no way to get the order of children from the
children themselves with context.
**What is the expected behavior?**
I've run into this now in three use cases when building a st... |
Is it possible to have a "frozen" component, that is rendered only on server-
side, without being processed on the client side? (without calling the render-
cycle again).
Let's say I have a CMS, that statically generates HTML on the server (a legacy
system), but I want to use react to render the output inside my co... | 0 |
For the VS Code API tests I have a clean up function that signals that it is
done when all editors are closed. Currently the solution is hacky, it needs to
install a setInterval to periodically check on the
`vscode.window.visibleTextEditors` property to eventually become 0 (see
https://github.com/Microsoft/vscode/blo... |
* VSCode Version: 0.10.11
* OS Version: Windows Server 2008 R2
Steps to Reproduce:
1. Log in as a unprivileged user
2. Run the VS Code installer as Administrator and enter password
3. Tap both "Open with Code" checkboxes in the wizard
4. Right-click on a file or folder
The "Open with Code" option is mi... | 0 |
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
<TextField
select
SelectProps={{ autoWidth: true }}
>
<MenuItem value=""><em>None</em></MenuItem>
<MenuItem value={10}>Short</MenuItem>
<MenuItem ... |
Setting `palette.types.light.background.default` and
`palette.types.dark.background.default` has no effect on background colors.
* I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
Setting these palette values should change background colors appropri... | 0 |
**Migrated issue, originally created by Anonymous**
In my project I need to catch and process an integrity exceptions, because
user want to see a understandable error message instead of framework's
exception (or just http 500 error). So the easiest way I found was something
like this (let's say i want to process... |
**Migrated issue, originally created by Michael Bayer (@zzzeek)**
we had someone wanting postgres SQLSTATE values to be propagated. i could not
find any psycopg documentation at all about this being available, but then
someone just posted an example that illustrated the undocumented psycopg
attribute that makes thi... | 1 |
I am running celery with RabbitMQ as my backend, using a postgresql database
as the result backend.
I have created a task that I want to wait on:
testing/failure/tasks.py:
from celery.decorators import task
@task
def return_result():
return "Should return"
I call this task ... |
# Checklist
* I have verified that the issue exists against the `master` branch of Celery.
* This has already been asked to the discussion group first.
* I have read the relevant section in the
contribution guide
on reporting bugs.
* I have checked the issues list
for similar or identical bug reports.... | 0 |
101 ➜ rustc test.rs
error: internal compiler error: Where clause `Binder(TraitRef(<<T as
core::ops::Mul>::Output as core::ops::Add>::Output, core::ops::Add))` was
applicable to `Obligation(predicate=Binder(TraitPredicate(TraitRef(<T as
core::ops::Mul>::Output, core::ops::Add))),depth=62)` but now is not
note: the... |
Got another ICE after updating to the latest nightly to make sure the earlier
one was not fixed. Seems to be related to the blanket impl.
pub trait Parser {
type Input;
fn parse(input: <Self as Parser>::Input) {
panic!()
}
}
impl <P> Parser for P {
... | 1 |
I created policy.jsonl
{"user":"alice", "namespace": "projectCaribou"}
And I tried to get pods by kubectl.
$ kubectl get po --username=alice --password=password --server=https://localhost:6443 --insecure-skip-tls-verify=true
error: couldn't read version from server: the server ... |
### what I have
_kube cluster version:_
./kube-apiserver --version
Kubernetes v1.0.0-1057-ged9975b0310eaf
_auth_policy.json:_
{"user":"admin"}
{"user":"monitoring", "readonly": true}
{"user":"scheduler", "readonly": true, "resource": "pods"}
{"user":"scheduler", "... | 1 |
Since 7.0.8, when using
node_modules/@types/node/index.d.ts(50,14): error TS2687: All declarations of
'iterator' must have identical modifiers.
Our tsconfig :
`{ "compilerOptions": { "target": "es5", "module": "amd", "sourceMap": true,
"strictNullChecks": true, "noImplicitAny": false, "noImplicitReturns": true,
"n... |
I added angular.d.ts and jquery.d.ts via nuget to a new Visual Studio 2013
project. Now I am getting 412 errors. Many of them are `duplicate overload
signature` errors in angular.d.ts.
| 0 |
I want to embed Sendpulse into my next.js page, how can I do this?
Their code:
<script charset="UTF-8" src="//cdn.sendpulse.com/9dae6d62c816560a842268bde2cd317d/js/push/998014b3613c5ffdd01ac8c8a6390391_1.js" async></script>
* I have searched the issues of this repository and believe that this ... |

when i surf the http://localhost:80 ,the query is undefined, then i push or
replace the query, it will shallowEqual with the old query, but it is
undefined ,so something go wrong.
* I have searched the ... | 0 |
* I have searched the issues of this repository and believe that this is not a duplicate.
When it comes to node servers, expressjs has now got tough competition when it
comes to performance.
Here is a benchmark which shows some alternatives like micro, connect and
fastify are much faster/efficient than expre... |
* [ x] I have searched the issues of this repository and believe that this is not a duplicate.
## Expected Behavior
Have the url prop on the server too, so that the "withData" hoc (as per the
withApollo example) can use it to execute the query server-side
## Current Behavior
this.props.url is undefined on the s... | 0 |
I have such code:
new webpack.NormalModuleReplacementPlugin(
REG_EXP_FOR_FILES,
function (result) {
const matches = result.request.match(REG_EXP_FOR_FILES);
const routes = `${matches[1]}/index.js`;
if (fs.e... |
Not sure if this is a watcher issue or a build issue in general, but I've
found that sometimes I'm getting empty bundles and/or empty source maps. My
wild guess why this is happening is that if I reload my application at juuust
the right moment, it locks the bundle/map file so that webpack can't write its
contents. I... | 0 |
### System info
* Playwright Version: v1.33, All?
### Source code
* I provided the exact source code that allows reproducing the issue locally.
**Test file (self-contained)**
// repro.mjs
import { chromium } from '@playwright/test'
const browser = await chromium.launch({
... |
My application have two different environments. In one of the environment,
elements are available in iframe whereas in other environment, they are
present in page. I don't want to duplicate my code. Is there a way that I can
handle both frame and page elements in the same ts file?
| 0 |
## Problem
For SVG elements that need animation, a 'hook' is needed to tween the element
from one configuration to another before React steps in and updates the DOM
(and thereby prevents the animation).
## My current work-around
For SVG components that need animation, I have to write `render` method that
always re... |
I just spent >20min wondering why my page was hanging. Turns out I had
referenced the component I was rendering in the return method.
I know it's a stupid mistake however to prevent more time being wasted on it I
propose a circular reference check which should throw an error.
I may work on a pull request later if I... | 0 |
# Summary of the new feature/enhancement
As a power user I frequently open up my "Programs and Features" (or also known
as "Uninstall a program" under Control Panel) and uncommonly other Control
Panel items. If I typed in "programs" into the Run window it would provide me
with "Programs and Features" as an item and ... |
I like the Powertoys run utility in this new update. Could sysdm.cpl or any of
the other of the other .cpl applets be added?
| 1 |
This is related to #12766
Possibly a duplicate.
#### A small, complete example of the issue
DD = pd.DataFrame({'A':[1,2,3,4,5]})
DD.index.name = 'Test'
print DD.index.name
DD.index = DD.index.map(unicode)
print DD.index.name
#### Expected Output
The mapping operation deletes t... |
Hello,
I'm trying to install pandas on Mac OS X 10.11.6 in a Django project. Pandas
library is used with one of the 3rd party libraries that I am using in the
project.
Since I don't want to switch to different package manager (Anakonda) just for
installing pandas (I'm using pip now), in order for me to get the C fi... | 0 |
[Enter steps to reproduce below:]
1. ...
2. ...
**Atom Version** : 0.204.0
**System** : Mac OS X 10.10.3
**Thrown From** : Atom Core
### Stack Trace
Uncaught Error: Encountered an invalid scope end id. Popped -3, expected to
pop -95.
At /Applications/Atom.app/Contents/Resources/app.asar/nod... |
[Enter steps to reproduce below:]
1. I opened it week after I wrote this, and its crashing when I set syntax highlight to shell
2. file ist just a awk+shell
**Atom Version** : 0.204.0
**System** : Mac OS X 10.10.2
**Thrown From** : Atom Core
### Stack Trace
Uncaught Error: Encountered an invalid scope end... | 1 |
The code is probably invalid, but still generates an ICE.
$ rustc src/ice.rs
src/ice.rs:3:9: 3:12 warning: unused variable: `ptr`, #[warn(unused_variables)] on by default
src/ice.rs:3 let ptr = string as *const _ as *const u8;
^~~
error: internal compiler error:... |
Code:
fn f() -> u64 {
0
}
fn main() {
let n = f as f32;
}
Error with backtrace:
src/main.rs:6:9: 6:10 warning: unused variable: `n`, #[warn(unused_variable)] on by default
src/main.rs:6 let n = f as f32;
^
error: int... | 1 |
While using scipy.optimize.linprog(method="highs"), I encountered a status
message stating "The solver did not provide a solution nor did it report a
failure" and asking for a bug report, which I am hereby writing :-)
As I have little experience in numerics, I make no claims about the qualities
(feasibility, bounded... |
My issue is about `scipy.optimize.linprog(c, A_ub=A_ub, b_ub=b_ub, A_eq=A_eq,
b_eq=b_eq, method='highs')` telling me to submit a bug report.
#### Reproducing code example:
See minimal reproducer in a comment
#13610 (comment)
#### Error message:
/home/chn/env/lib/python3.8/site-packages/scipy/optim... | 1 |
### Bug summary
SageMath project uses matplotlib for graphics. We are recently upgrading
matplotlib to version 3.6. In this effort, we encountered a failure in this
command:
plot(2*x+1,(x,0,5), ticks=[[0,1,e,pi,sqrt(20)],2], tick_formatter="latex")
Here we use symbolic constants e, pi, sqrt(20) as ma... |
Setting `mec='none'` removes the entire marker when exporting to PNG. See
attached MWE and compare PDF and PNG output. May be related to #621 and #3687
import numpy as np
from matplotlib import pyplot as plt
x = np.random.random(10)
y = np.random.random(10)
plt.clf()
plt.plot(x... | 0 |
# Description of the new feature/enhancement
# Proposed technical implementation details (optional)

: 0.6.2951.0
# Steps to reproduce
* Start Windows Terminal
* Drag window to other screen (which happens to run at a different DPI/scaling setting)
* **Terminal exits** :-/
My first screen (on whic... | 0 |
**Paul Middelkoop** opened **SPR-8494** and commented
I have `@Configuration` Spring configuration with
`@EnableTransactionManagement` and a `@ImportResource`. In the imported
resource I use cache:annotation-driven/. This results in:
java.lang.IllegalArgumentException: Class name [null] is not a known auto-
proxy c... |
**Hannes Schmidt** opened **SPR-8662** and commented
The basic problem is that UriTemplate first substitutes the template variables
into a single string and then encodes that string as a whole using URIUtils.
This simply can't work reliably because the substitution could produce a
string that is impossible to parse ... | 0 |
From @schwatvogel on 2016-09-30T12:52:18Z
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
ansible-modules-core/packaging/os/rpm_key.py
##### ANSIBLE VERSION
ansible 2.1.0.0
##### CONFIGURATION
not relevant
##### OS / ENVIRONMENT
N/A
Redhat/Centos rpm-based
##### SUMMARY
Function ... |
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
ansible/modules/packaging/os/rpm_key.py
##### ANSIBLE VERSION
ansible 2.2.1.0
##### CONFIGURATION
not relevant
##### OS / ENVIRONMENT
N/A
Redhat/Centos rpm-based
##### SUMMARY
Function is_key_imported does not work reliably because ... | 1 |
Hello,
There is an issue where the tooltip gets cut off when inside of a modal.
Please refer to this JSFiddle to see the behavior.
I would expect the tooltip to show over the modal-shadow.
http://jsfiddle.net/zk7dF/38/
Best regards,
Andrew
|
With Bootstrap 2.0.3, tooltips were appended to the document body and so they
weren't constrained to their parent container
Bootstrap 2.0.3: http://jsfiddle.net/TwMdK/1/
With Bootstrap 2.2.2, tooltips are now appended to their parent container and
this can cause tooltips to appear "chopped off"
Bootstrap 2.2.2: ht... | 1 |
Original report at SourceForge, opened Sun Oct 10 22:25:55 2010
This would probably be in mlab. I haven't checked but the count plotting
functions probably use a private function similar to contourc behind the
scenes. Having access to this would be great. Currently I am creating a
figure. drawing a contour plot, tha... |
### Bug report
Only the first bar in barplot has border when edgecolor is a single value.
**Bug summary**
**Code for reproduction**
import matplotlib.pyplot as plt
def main():
fig = plt.figure()
ax = plt.gca()
data = list(range(5, 10))
ax.... | 0 |
##### System information (version)
* OpenCV => 3.4.2
* Operating System / Platform => Haiku
* Compiler => GCC 7.3.0
##### Detailed description
Testlogs:
[----------] 1 test from Core_globbing
[ RUN ] Core_globbing.accuracy
/sources/opencv-3.4.2/modules/core/test/test_io.cpp:552: F... |
##### System information (version)
* OpenCV => :3.4.1 and 4.1.0 Tested
* Operating System / Platform =>Windows 7/
* Compiler => : Visual studio 2017 pro
##### Detailed description
Hi. I'm using opencv multiple projects. But I have a problem with using
opencv.
When i use opencv, Opencv maeks memory leaks on... | 0 |
##### System information (version)
* OpenCV => 4.1.2
* Operating System / Platform => ubuntu 18.04 64bit
* Compiler => python
##### Detailed description
I'm tying to use opencvd dnn module to run deeplabV3 model. I use the frozen
pb file download here and get error like this:
cv2.error: OpenCV... |
##### System information (version)
* OpenCV => Latest master(4.0.1-dev)
* Operating System / Platform => Raspbian Stretch
* Compiler => gcc-6.3.0 native
##### Detailed description
Hi, I'm experimenting with custom Implementation of OpenCL, VC4CL i.e. an
implementation of the OpenCL 1.2 standard for the Video... | 0 |
# Addition of Everything search and reduce memory consumption of power
launcher
# Proposed technical implementation details (optional)
|
Like the little tool TypingAid that is a complied version of an AutoHotKey
script, it would be great if Windows had the ability to build up words lists
of previously typed words and prompt them as typing - anywhere.
This would be a great little PowerToys tool.
If you'd like to see this feature implemented, add a 👍... | 0 |
### Input Code
See https://github.com/nikosandronikos/babel-issue for a minimal test case
The following construct results in class `A` having no methods on it's
prototype when built with babel-preset-es2015.
const MixinName = superclass => class extends superclass {
constructor() {
super()... |
Current Babel transform, when it comes to call the parent
function _possibleConstructorReturn(self, call) {
if (!self) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return call && (typeof call === "object" || typeof call === "fu... | 1 |
❯❯ babel --version
5.8.23 (babel-core 5.8.25)
input
()=>{}()
output
"use strict";
(function () {})();
expected:
Error: Unexpected token "("
|
These non-programs are accepted by babel: `!()=>0`, `a + ()=>0`, `a || ()=>0`,
etc.
Arrows should have the precedence of an assignment expression.
| 1 |
Howdy!
This issue cropped up (or at least I noticed it) around 0.199, but it remains
in 0.200.
I have one deprecation warning (which sticks around even in safe mode):
your local styles.less file
/Users/tylersticka/Dropbox (Personal)/Atom/styles.less
Style elements within text editors usin... |
There is a theme I use in Brackets that I love, however I prefer to use Atom
over Brackets.
What is the easiest way to convert that over? I don't seem to 100% the mark-up
of both. Obviously they will have different syntax, so I'm not sure what's the
best way to try and convert it.
Any suggestions, please?
| 0 |
**Migrated issue, originally created by Denis Otkidach (@ods)**
Test case:
from sqlalchemy import Column, Integer, String, ForeignKey, create_engine
from sqlalchemy.orm import relationship, sessionmaker
from sqlalchemy.ext.declarative import declarative_base
Base = declarative... |
**Migrated issue, originally created by Denis Otkidach (@ods)**
New object with the same ID as existing one implicitly merged via cascade
rules has old value of relationship property after the commit when the new
value is None.
In short:
doc.doc_links = [DocLink(id=doc_link_id, link=None)]
sessi... | 1 |
The type error makes this segfault:
use std;
import std::option::*;
fn main() {
let t[int] x = none;
x = 5;
}
Looks like stack overflow. The interesting part of the backtrace:
#1019 0x080df952 in middle::ty::fold_ty ()
#1020 0x080f985f in middle::ty::unify::fixup_... |
We can infinite loop if we try to unify e.g. T with option[T]. Fixing this
requires implementing the occurs check. Off the top of my head, I can't think
of any cases in which we'd actually trip this, but it's theoretically
possible.
* * *
Tim thinks this may also be the cause of segfaulting on infinitely interior
t... | 1 |
### Version
2.6.11
### Reproduction link
https://jsbin.com/lurayuxofo/edit?html,js,console,output
### Steps to reproduce
* Include inline SVG with some styles within a Vue instance
* Init vue instance
### What is expected?
SVG to be styled according to the style element
### What is actually happening?
Vu... |
Duplicates #3957
### Vue.js version
2.1.8
### Reproduction Link
https://jsfiddle.net/CinKon/qwaacqon/1/
### Steps to reproduce
Open DevTools. Console-Error:
`[Vue warn]: Property or method "myText" is not defined on the instance but
referenced during render. Make sure to declare reactive data properties in th... | 0 |
Piping a numpy array as binary data to another process works in Python2, but
in Python3 the following snippet results in "OSError: first argument must be a
string or open file". I tested with Python 3.4.0.
import subprocess, numpy
wc = subprocess.Popen(["wc"], stdin=subprocess.PIPE)
numpy.eye(5... |
I am trying to write a numpy array data to a pipe opened using
subprocess.Popen in Python 3.4 and numpy 1.10.4. Here is the code:
import numpy
import subprocess
myArray = numpy.arange(10000).reshape([100,100])
# use xpaset to communicate with ds9
fullCmd = "xpaset DS9Test arra... | 1 |
##### System information (version)
* OpenCV => 3.4.4
* Operating System / Platform => Ubuntu 16.04
* Compiler => cmake 3.5.1
##### Detailed description
my make configuration
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DINSTALL_C_EXAMPLES=OFF \
-DBUILD_DOCS=ON ... |
##### System information (version)
* OpenCV => ❔
* Operating System / Platform => ❔
* Compiler => ❔
##### Detailed description
##### Steps to reproduce
| 0 |
Even if this example may look silly, it's the result of the simplification of
a more complex structure.
There should be no reason for these constructs not to compile, should it ?
use std::sync::RwLock;
fn main() {
let a = RwLock::new(RwLock::new(String::new()));
// Fails... |
Spawned off of #21022, #21972; see also #21657.
Tracking order of destruction for r-value temporaries would (probably) allow
us to resume writing code like this from RFC 769:
for line in old_io::stdin().lock().lines() {
...
}
which is currently disallowed because the region inference syst... | 1 |
After implementing a file PowerRename, can the app window be given an option
to stay open so that multiple renames can be done on the files without re-
opening the app,
|
# Environment
Windows build number: Microsoft Windows [Version 10.0.17763.864]
PowerToys version: v0.13.0
PowerToy module for which you are reporting the bug (if applicable):
# Steps to reproduce
After long time of running PowerToys as background (not using any features of
PowerToys at a... | 0 |
It seems like this was broken as a result of the recent change to make
newtypes structs immediate in certain cases.
struct TestNode(@int);
fn mm(_x: &TestNode) {}
fn main() {
let x = &TestNode(@21);
mm(x);
}
% rustc foo.rs
error: internal compiler... |
Minimal test case:
struct Wrapper(~str);
impl Wrapper {
pub fn new() -> Wrapper {
Wrapper(~"Bob")
}
pub fn say_hi(&self) {
println(fmt!("hello %s", **self));
}
}
impl Drop for Wrapper {
fn drop(&mut self) {}
... | 1 |
## Steps to Reproduce
* Android Video Plays correctly in either portrait or landscape video modes
* iOS Video is warped on portrait and landscape looks normal.
* It is not accounting for orientation.
when you record a video in landscape with the volume buttons facing up on
iPhone and go to the video controll... |
## Steps to Reproduce
When building a new flutter project in IntelliJ, company domain cookytech.in
-> entered as ` `in`.cookytech.mnshi` will throw compiler errors because XML files will get the ``in`` part with the graves,
-> entered as in.cookytech.mnshi will throw compiler errors because 'in' is a keyword in ... | 0 |
### Apache Airflow version
2.3.0 (latest released)
### What happened
Returning a list from a `PythonOperator` and passing it on to a
`PostgresOperator` using `expand` causes the scheduler to crash:
scheduler | [2022-05-06 15:44:47,317] {dag.py:2915} INFO - Setting next_dagrun for sum-dag to 2022-05-... |
### Apache Airflow version
2.3.0 (latest released)
### What happened
I have a dag that looks like this.
When I uncomment `py_job`(Dynamically mapped PythonOperator) it works well
with `pull_messages` (Taskflow API).
When I try to do the same with `DatabricksRunNowOperator` it crashes the
scheduler with error
... | 1 |
#11045 contained a still-extant announcement of removal of deprecated
functionality by 1.7; let's do it for 1.9 at least.
CC @rlucas7
|
When working on porting some `scipy.special` functions to CuPy, I noticed that
there was a scheduled deprecation for SciPy 1.7 that has not yet been carried
out. Specifically, the unsafe double->int casting for the `n` or `k` inputs to
binomial distribution functions `bdtr`, `bdtrc` and `bdtri` leads to the
following... | 1 |
What should I do?
Hope add this function in code soon.
|
I know VSCode has not support JSX yet but it didn't appear so much error
highlights in the last version, even I had already changed my language mode
into `Plain Text`.

| 1 |
* I tried using the `@types/xxxx` package and had problems.
* I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
* I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
* Mention the authors (see `Definitions by:` in `ind... |
* I want to talk about `react-router/history.d.ts`.
* The authors of that type definition are cc/ @sergey-buturlakin @ngbrown
We have `history/history.d.ts`. Why isn't `react-router` using this?
This file was added by #6073, but `history/history.d.ts` predates that PR. I
don't see a reason why it was duplica... | 0 |
Hi, I got a small issue using horizontal definition lists. When a definition
description `<dd>` is empty, the next `<dd>` (if any) takes the place of the
first. See in action: http://jsfiddle.net/2R2Pb/1
This happens using Firefox and Bootstrap 2.3.1.
|
When an empty or self-closing <dd> tag is used in a horizontal <dl>, the <dd>
tags following it are mis-aligned with the matching <dt> tags.
<dl class="dl-horizontal">
<dt>Title 1</dt>
<dd>Description 1</dd>
<dt>Title 2</dt>
<dd></dd>
<dt>Title 3</dt>
... | 1 |
* Electron version: **v1.3.5**
* Operating system: **win7 x64**
I have created a simple example here: there are only two files in the
directory: _package.json_ and _main.js_. I'm sured that they are saved by
UTF-8 encoding.
There are only two keys in _package.json_ : _name_ and _main_ , just like this
... |
I noticed that I cannot print characters such as 'ρ' or 'β' from Electron to
the console on Windows (works fine on Linux and OS X). I tried this using the
default command prompt and power shell; also made sure both terminals were
printing the characters otherwise (works fine with `node -e
"console.log('β')"`). When p... | 1 |
I'm submitting a feature request
The current behavior is that @query don't return inherited components
The expected behavior should be that the injected Query will find the
Inherited components .
The current behavior is not making any sense .
I want to create components that inherit base component, and I want to... |
Assuming the following markup:
<my-list>
<my-item>...</my-item>
<my-fancy-item>...</my-fancy-item>
<my-super-fancy-item>...</my-super-fancy-item>
<my-item>...</my-item>
</my-list>
where `my-item`, `my-fancy-item` and `my-super-fancy-item` are directives such
that:
... | 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.3
* Operating System version: win10
* 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.
* [1] I have checked the FAQ of this repository and believe that this is not a duplicate.
Pls. provide [GitHub address] to reproduce this issue.
http://dubbo.apache.org/en-us/docs/user/references/registry/zookeeper.h... | 0 |
In Symfony 2.7 only, works fine in 2.6.*
$builder->add('typeVoie', 'entity', array(
'class' => 'MyBundle:TypeVoie',
'query_builder' => function(EntityRepository $er) {
return $er->createQueryBuilder('u')
->orderBy('... |
I think that's happening only on propel + postgres after @webmozart removed
empty/null checks from ChoiceToValueTransformer in `1d89922`
ModelChoiceList->getChoicesForValues allows to create Propel query with empty
string values which are not accepted, so I'm getting:
Unable to execute SELECT statemen... | 1 |
* I have searched the issues of this repository and believe that this is not a duplicate.
* I have checked the FAQ of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.6.2
* Operating System version: centos
* Java version: 1.8.0_144
### Step to reproduce this is... |
* I have searched the issues of this repository and believe that this is not a duplicate.
* I have checked the FAQ of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.6.5
* Operating System version: win10
* Java version: 1.8
### Steps to reproduce this issue
... | 0 |
##### Issue Type:
Feature Idea
##### Ansible Version:
ansible 1.8 (or greater)
##### Environment:
N/A
##### Summary:
A special tag _all_ matching all possible tags might make working with tags
easier and less error-prone.
##### Motivation:
It's useful to organize larger playbooks by assigning tags to tasks. ... |
##### Issue Type:
Bug Report
##### Ansible Version:
ansible `devel`, commit `f488de8`
##### Ansible Configuration:
no changes
##### Environment:
ansible on Mac OS X 10.11.1
managing docker container with CentOS 6 (docker image "centos:centos6")
##### Summary:
Running ansible-playbook, a task executing on "... | 0 |
Hello,
I would like to know if it's possible to have a prototype with multiple
reference inside of it's definition.
service: ServiceTest
version: 7
request:
class: MyModel
properties:
# other conf..
Field3:
type: collection
... | 1 | |
If you want to declare another AppKernel a more lightweight version that only
uses Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), along with others of my
own, you must include Symfony\Bundle\FrameworkBundle\FrameworkBundle() because
annotation reader is declared in FrameworkBundle() but the classes for the
annotati... |
#22742 changed the constraints in the 3.4 branch to allow 4.0.x version of the
other components. After that, I had a lengthy discussion with @nicolas-grekas
on Slack challenging it. We now think it is time to share our thoughts outside
the core team (and with core team members not connected at this time) to
involve t... | 0 |
## Feature request
Author of Sass here 👋! I'm talking with @markwhitfeld about trying to get Dart
Sass's JS output running in the browser, and we're running into some hassles
with Webpack in particular that I think a new feature could address.
**What is the expected behavior?**
I need to meet all the following re... |
I see alot of prs to upgrade to es6. Some noise might be reduced if you set
eslint to require let and const, then allow eslint to auto fix the errors..
| 0 |
I include a AppGlideModule implementation in My application also setting
annotationProcessor and compile package,But GlideApp is not generated, I try
to Make Project or Make Module,But still not
:
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.load.engine.cache.LruResourceCache;
i... |
I have a working config like this:
public class GlideSetup implements GlideModule
and in the manifest:
<meta-data
android:name="com.mo.android.glide.GlideSetup"
android:value="GlideModule"/>
This module is working on all the requests in entire app... | 0 |
#### Description
https://github.com/scikit-learn/scikit-
learn/blob/master/sklearn/naive_bayes.py#L53
The predict() method defined here doesn't do the input validation by calling
`X = check_array(X)`
Which then results in a different difficult to understand error.
#### Steps/Code to Reproduce
imp... |
Currently, dtype='numeric' is defined as "dtype is preserved unless
array.dtype is object". This seems overly lenient and strange behaviour, as in
#9342 where @qinhanmin2014 shows that `check_array(['a', 'b', 'c'],
dtype='numeric')` works without error and produces an array of strings! This
behaviour is not tested an... | 1 |
by **kosak@kosak.com** :
primes := []int{2, 3, 5, 7, 9, 2147483647}
I gather from the storied history of this line [note 1] that this is some kind of inside
joke, but I feel torn because you also say "We pride ourselves on being meticulous;
no issue is too small." [note 2] At the risk ... |
by **anta40** :
I just updated my go source code, and this was the latest commit, anyway:
changeset: 16999:cda3832e9a12
tag: tip
user: Anthony Martin <ality@pbrane.org>
date: Tue Jun 04 17:30:45 2013 -0700
summary: mime: add support for Plan 9
... | 0 |
**Chris Beams** opened **SPR-5879** and commented
Some, but not all of the functionality available in
`AbstractTransactionalSpringContextTests` is currently available in the
TestContext framework.
Notably missing is support for `setComplete()`, `endTransaction()`, and
`startNewTransaction()` methods.
Since these ... |
**Paul Austin** opened **SPR-6993** and commented
At the moment the AnnotationMethodHandlerAdaptor only uses a simple approach
to content negotiation for RequestBody and ResponseBody parameters using the
Accept and Content-type headers.
It would be useful if additional content negotiation, such as using file name
... | 0 |
### System Info
working:
* `transformers` version: 4.26.1
* Platform: Linux-6.0.12-x86_64-with-glibc2.10
* Python version: 3.8.16
* Huggingface_hub version: 0.12.0
* PyTorch version (GPU?): 1.13.1+cu117 (True)
* Tensorflow version (GPU?): not installed (NA)
* Flax version (CPU?/GPU?/TPU?): not install... |
### System Info
`transformers` version: 4.27.0.dev0
### Who can help?
@NielsRogge
### Information
* The official example scripts
* My own modified scripts
### Tasks
* An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
* My own task or dataset (give details below)
### Repro... | 1 |
Minimum example is at bottom. The problem is that self.coef_ in SGDClassifier
is set to F-order and is not unset from it when the chain of calls from the
second fit() eventually hits fit_binary(). My solution, in forthcoming PR, is
to make sure that coef_ is set back to C-order before training.
In [1]:... |
Can we get a copy for code block like the following?

Tensorflow has it and I just ... | 0 |
## Environment info
* OS: Linux 4.13.0-31-generic #34~16.04.1-Ubuntu
* PyTorch version: 0.3
* How you installed PyTorch (conda, pip, source): pip
* Python version: 3.5
* CUDA/cuDNN version: 8/7
* GPU models and configuration: 1080Ti
## Issue
Snippet:
print("==============================... |
Should I report this to torch repository?
>>> torch.topk(torch.FloatTensor([-1,float("nan"),2, 1]), 1)
(
2
[torch.FloatTensor of size 1],
2
[torch.LongTensor of size 1])
>>> torch.topk(torch.cuda.FloatTensor([-1,float("nan"),2]), 1)
(
nan
[torch.cuda.Fl... | 1 |
**Is your feature request related to a problem? Please describe.**
I'm struggling with a poor performance when certain number of meshes are being
rendered.
Doing some research about the inner working of the threejs pipeline, I found
that in the render process is being performed a filtering with the purpose of
rend... |
At the moment `BufferGeometry`'s groups are sorted using the centre of the
whole BufferGeometry. In the near future we could consider having a
`BoundingSphere` per group so transparent sub parts of a geometry get proper
sorted.
Follow up from #7066.
| 1 |
**Marc Ludwig** opened **SPR-3873** and commented
I have been using both LTW and Component scanning using 2.1 M3. (This is
actually for testing as we use Compile Time Weaving in the built application).
Just tried with 2.1 M4, and it appears that duplicate bean definitions are
being generated, causing exceptions.
... |
**Andreas Benneke** opened **SPR-7900** and commented
Annotation driven injection on public methods specified in a non-public base
classes does not work, because Java generates bridge methods for the subclass
which are not ignored by Spring (as they should IMHO).
Example:
/* not public! */ class Bas... | 0 |
* I have searched the issues of this repository and believe that this is not a duplicate.
* I have checked the FAQ of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: xxx
* Operating System version: xxx
* Java version: xxx
### Steps to reproduce this issue
1. x... |
### Environment
* Dubbo version: 2.7.2
* Operating System version: win10
* Java version: 1.8
### this issue
[DUBBO] Duplicate class org/apache/dubbo/common/Version.class in 2 jar
[file:/E:/maven/repository/default/org/apache/dubbo/dubbo/2.7.2/
dubbo-2.7.2.jar
!/org/apache/dubbo/common/Version.class,
file... | 0 |
# Environment
Windows build number: 18362
OS version: 10.0.18362
Powershell Core version: 6.2.3
Windows Terminal version: 0.5.2762.0
# Steps to reproduce
Open new tabs until they exceed the edge of the titlebar
# Expected behavior
* Existing tabs should be resized so all of them can be visible on the tit... |
This bug-tracker is monitored by Windows Console development team and other
technical types. **We like detail!**
Please use this form and describe your issue, concisely but precisely, with as
much detail as possible
* Your Windows build number: (Type `ver` at a Windows Command Prompt)
**Microsoft Windows [Versi... | 1 |
I have the following in a component template:
<style is='custom-style'>...</style>
which is transformed and inserted under the 'head' tag:
<style>...</style>
losing the "is='custom-style'" during the process.
This marker is needed by polymer.
|
## I'm submitting a...
[x] Bug report
[x] Feature request
## Background
Imagine you have the following webcomponent:
<expression>
<script type='text/plain'>
If(var1 < var2,
Sum([Field 1])
,
Sum([Field 2])
)
</script>
</expression... | 1 |
### Steps to reproduce:
Numpy compiled with GCC on same system works fine (no error in Inkscape).
Steps to reproduce:
* additional flags: `-O3 -pipe -march=skylake -mtune=skylake -D_FORTIFY_SOURCE=3 -gsplit-dwarf -flto=thin`
* LDFLAGS: `-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -Wl,... |
### Describe the issue:
When build numpy with LLVM 15 clang/clang++ and libcxx, it somehow include a
symbol from libcxx in the file
https://github.com/numpy/numpy/blob/main/numpy/core/src/npysort/binsearch.cpp
readelf -s --wide work/numpy-1.24.0-python3_10/temp.linux-x86_64-3.10/numpy/core/src/npysort... | 1 |
### Bug report
Consider the following example:
from pylab import *
from matplotlib.backend_bases import MouseEvent
rcdefaults()
fig, axs = plt.subplots(2)
for i, ax in enumerate(axs):
ax.set(xlim=(0, 1), ylim=(0, 1))
ann = ax.annotate(
"hello", xy=(.4, ... |
### Bug report
**Bug summary**
The picker of FancyArrowPatch will not work with some arrow styles (see
included example). Certain arrow styles will cause the picker to produce a
pick event if the user clicks anywhere to the left of the arrow.
**Code for reproduction**
from matplotlib import pyplot a... | 1 |
When testing #2832 I tried to set a function breakpoint on 'parseInt', but
that doesn't seem to be supported.
It worked for setTimeout and for my own global functions
|
Testing #2832
I have a breakpoint on `if (_key === key) {` and I've added a function
breakpoint for `console.log`. The breakpoint for `if (_key === key) {` is hit,
but the console.log near the end is not hit.
I tried clicking `Reapply all breakpoints` which did not help in this case.
function Safe(_k... | 1 |
I've just started moving an app over to Next v5. I'm doing this in small
chunks, and have just finished a page. In order to verify it in production-
mode, I ran the build (`NODE_ENV=production next build && NODE_ENV=production
next export`). The `styles.css` file is correctly build/saved to
`./.next/static/styles.css... |
I want to use universal webpack in this PR: #3578 but I don't know when the
release cycle is for nextjs version 5.0. Anyone have any idea when universal
webpack can be loaded?
* I have searched the issues of this repository and believe that this is not a duplicate.
## Context
I want to use universal webpack ... | 0 |
### 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... |
**Description**
I'm using Django ORM + Mysql with fastapi
all works fine
but at some point when application have no requests for some period of time
I'm getting
> 2006 mysql server gone away
Most likely Django does some connection checks or closing somehere in the
request flow..
(I tried to play with CONN_MAX... | 0 |
# Changes
I wrote a small script to import Terminal color schemes from VSCode themes.
However, there's something I think is unintended design:
The "cursorColor" setting is currently part of the profile, not the color
scheme. In my opinion it doesn't make sense, because by changing the color
scheme of a given profil... |
# Environment
Windows build number: 10.0.18362.0
Windows Terminal version: 0.5.2762.0
Neovim version: 0.4.2
# Steps to reproduce
Open neovim from the terminal, then change the size of the window.
# Expected behavior
I expect that neovim view adapt with the new window size
# Actua... | 0 |
Hi,
Elasticsearch 5.0.0 now 5.1.1
Running JVM 1.8.102 and then updated to JVM 1.8.112 - problem occurs on both.
Windows 2008 R2
I updated from 2.4.1 to 5.0 then to 5.1.1 since I've moved to 5.0 I've been
having nodes drop out of the cluster. I have a 6 data nodes, each one exhibits
the exact same problem but a... |
Assume a 2-node cluster with an index with 1 primary and 1 replica. The index
has `auto_expand_replicas` set `0-all`. The second node drops, which leads to
the first node automatically resetting the `number_of_replicas` to 0. This is
a process that's triggered in a delayed fashion.
`MetaDataUpdateSettingsService` lis... | 0 |
This is more of a question. Noticed this while testing out the AzureDisk
volume plugin. `mount` on one of my nodes shows a lot of duplicated entries.
Is this expected, and if so, why?
If not, any idea the cause or resolution? Does it stem from running kubelet in
container?
cc: @mikedanese as this is a kubernetes-a... |
**Is this a request for help?** (If yes, you should use our troubleshooting
guide and community support channels, see
http://kubernetes.io/docs/troubleshooting/.):
Yes
**What keywords did you search in Kubernetes issues before filing this one?**
(If you have found any duplicates, you should instead reply there.):
... | 0 |
I haven't found a way to create a custom datatype to reuse in mapping
definition.
I would like to have a way to define custom_datatype in the mapping like that
:
{
"settings" : {
"number_of_shards" : 1,
"custom_datatypes": [{
"string_with_raw": {
... |
Under worst case conditions, a request that is bad for the system, thereby
taking a long time to process, often gets repeated as a user--or even an
automated system--becomes impatient while they await their response. If an
**exactly** duplicated request comes into the same node to run on the same
shard (otherwise it'... | 0 |
In csv files that have odd spacing
name, amount
Alice,100
Bob,200
Loaded dataframes can sometimes have column names with leading or trailing
whitespace. Should these column names be stripped by default?
In [4]: pd.read_csv('foo.csv').columns
Out[4]: Index([u'name', u... |
When using `.loc` to expand a column, the dataframe and the constituent Series
can get out of sync. This led to a strange issue in some legacy code I
inherited. Because of the copy/view issues I wouldn't have written this
particular code myself, but it still cost me some time tracking down what was
happening:
... | 0 |
### 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... |
### 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 |
The following script reliably causes a deadlock (or perhaps hanging for some
other reason) on my machine. Not sure if it is a pytorch bug or a librosa bug.
import sys
from urllib.request import urlopen
from urllib.error import URLError
from torchvision.datasets import ImageFolder
from t... |
the bug is described at pytorch/examples#148. I just wonder if this is a bug
in PyTorch itself, as the example code looks clean to me. Also, I wonder if
this is related to #1120.
| 1 |
Hi, I am doing an android demo for RNN. I built a two-layer GRU network for
inference. I used the API tf.nn.dynamic_rnn. However, when using this API, the
saved generated .pb file contains an op called "All". And after I moved my .pb
file to assets directory and run my android app demo, it said the op "All" is
not re... |
Hello folks.
Everytime I try to run the example fo TOCO:
import tensorflow as tf
img = tf.placeholder(name="img", dtype=tf.float32, shape=(1, 64, 64, 3))
val = img + tf.constant([1., 2., 3.]) + tf.constant([1., 4., 4.])
out = tf.identity(val, name="out")
with tf.Session() as sess:... | 0 |
# Environment
Windows build number: 10.0.18362.175
Windows Terminal version (if applicable): 0.2.1715.0
Any other software? No
# Steps to reproduce
Using a brazillian ABNT2 keyboard, open any terminal and type `right alt + Q`.
# Expected behavior
This should type `/` in any type o... |
**Your Windows build number:**
10.0.18362.86
**What you're doing and what's happening:**
Trying to enter the `@` sign on a Swedish keyboard in a PowerShell console
using `Alt Gr` \+ `2`.
See animated gif:
;
}
fn visit<V: Visitor<R>, R>() {
Visitor::<R>::foo()
}
struct V;
... | 0 | |
@Brocco ,@jmachnik
First of all I just begin with Angular 2 and I'm trying to build a nested form
and validate it.I had posted this question on stackoverflow but dint got any
reply so raising this question as a bug .Please revert with the solution as
soon as possible .Thank you
Here's part of my ts file:
@NgOnIn... |
First of all I just begin with Angular 2 and I'm trying to build a nested form
and validate it.I had posted this question on stackoverflow but dint got any
reply so raising this question as a bug .Please revert with the solution as
soon as possible .Thank you
Here's part of my ts file:
ngOnInit() {
this.myForm =... | 1 |
Something within OpenCV's NONFREE library is triggering a fatal make error.
The error message does not provide many clues:
[ 51%] Linking CXX shared library ../../lib/libopencv_cudaarithm.so
[ 51%] Built target opencv_cudaarithm
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
m@DarkMatte... |
##### System information (version)
* OpenCV => opencv.js 4.1.0-dev
* Operating System / Platform => Version 74.0.3729.157 (Official Build) unknown (64-bit)
* Compiler => opencv.js WASM build from master branch as described here.
##### Detailed description
Now the sample of face recognition with opencv.js jus... | 0 |
I use deno in a Monorepo project witch nodejs and browser code.
And for now,webstorm only support one typescript language server. Actually, I
did some work in babel,and now I can deliver code between node、deno and
brower.
And I use vscode for deno,webstorm for node and brower.
What annoying me is, if I careless to... |
I made an example repo that allows someone to convert `npm` modules for use
with deno.
https://github.com/reggi/node-to-deno
Not sure if anyone is interested or if this has been done before.
Is there any discussion for making polyfills `node -> deno` and `deno -> node`
for standard lib? That's the next chunk neede... | 0 |
**Ian Wright** opened **SPR-9531** and commented
#### Overview
When executing SQL scripts using `ResourceDatabasePopulator` or
`JdbcTestUtils` errors may occur if there are block comments in the file. In
general multi-line comments using the `/* ... */` syntax are not explicitly
supported.
#### Notes
Proper supp... |
**Sam Brannen** opened **SPR-10075** and commented
#### Status Quo
The deficiency addressed by this issue is the same as that described in #14616
but for `ResourceDatabasePopulator`.
#### Deliverables
Refactor `ResourceDatabasePopulator.splitSqlScript(String, String, String,
List)` so that:
1. Standard SQL co... | 1 |
### Body
issue is described in PR #25705
the author of the PR abandon it so anyone can try to submit a fix to the
issue.
### Committer
* I acknowledge that I am a maintainer/committer of the Apache Airflow project.
|
### Apache Airflow version
2.5.0
### What happened
While creating SFTP sensor I have tried to find a file under directory. But I
was getting error as Time Out, not found.
So after debugging code found that there is a issue with poke function.
As after getting matched file we are trying to find last modified tim... | 1 |
Here is a test-case, where I expect the results to always be the same, but
they are not.
import numpy as np
dtype=object
print("[[0]] = array-like")
A = np.zeros(2, dtype=dtype)
A[[0]] = [[1,2,3,4]]
print(A)
print("[[0]] = ndarray")
B = np.zeros(2, dtype=dtype)
... |
Usual assignment and now also advanced indexing assignments allow trailing
ones in the values array such as:
np.arange(10)[:] = np.ones((1, 1, 1, 10))
However boolean indexing does not have any logic in place to ignore these.
Also for object assignments view based assignments (and now also advan... | 1 |
Opening files compressed with UglifyJS or YUI compressor, which put everything
on 1 line, can take seconds, even for small files (<100kb). Pasting a line
like that into an already open file can also freeze things up. I guess syntax
highlighting might have a problem dealing with the long lines.
If it's the syntax hig... |
May be a known issue, but files with large embedded images such as github's
public/enterprise/maintenance.html will often cause Atom to freeze (MacVim
actually struggles as well).
Seems some of them (github's public/maintenance.html for instance) work fine
when in soft wrap mode, or until you move your cursor to the... | 1 |
Was working on trying to inherit from a trait with a `<'self>` lifetime
parameter, like so:
trait A<'self> { fn foo(&self) -> &'self str; } trait B : A { fn bar(&self); }
and was getting this compile error:
error: Illegal anonymous lifetime: anonymous lifetimes are not permitted h... |
sample code:
trait Tr<'self> {
fn f(&self) -> &'self int;
}
fn g<T: Tr<'self>>() {}
fn main() {}
rustc ICE:
> rust: task failed at 'region parameterization should have inferred that this
> type is RP', [...]/rust/src/librustc/middle/typeck/rscope.rs:230
| 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.