WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Electron version: 0.37.8

Operating system: macOS 10.11.6

I reported this here: atom/atom#12242

But I believe it's an electron issue, and also, they're ignoring me over there...

This appears to be a regression since it looks like it was fixed once: #4577

Issue 2:
Electron version: 0.37.6

Operating system: Mac OS X 10.11

A user reported that with VS Code running with Electron 0.37.6 would no longer allow him to "Move Focus to Next Window". It seems you can assign a keybinding for this globally in settings (in this case he tried with Cmd+F1).

I verified that the same keybinding works just fine with our VS Code on Electron 0.35.6.

When I look through the release notes, I see an entry in v0.36.8 that might be suspicious?

Fix Command + ~ not switching windows sometimes.
Issue 1:
r96 Chrome MacOS

var path = new CurvePath();

path.add( new LineCurve3( new Vector3( 0, 0, - distance / 2 ), new Vector3( 0, 0, distance / 2 ) ) );

var tube = new TubeGeometry( path, 64, this.radius, 32, true );

if closed is true, length is error.

if closed is false, result is ok.

Issue 2:
I'm reviewing the http://threejs.org/examples/#vr_video and there are two scenes to render a different part of the video corresponding to the left and right eye shot. But I thought if I will need to add some HUD elements, this option would make me hard to include 3D elements over this stereoscopic background.

In this case, the right way would be included in a third scene? or duplicate in both scenes?

What I did (with an image instead a video) is to create 2 meshes (one for each eye) and changed StereoEffect and VREffect to make visible or hide each mesh on every render before "paint" every part of the scene.

Makes sense? or will have a worse performance?

Example working > www.unboring.net/lab/image3DPano (Cardboard & Oculus)

Source code > www.unboring.net/lab/image3DPano/image3DPano.zip
Issue 1:
Matt Goldspink opened SPR-6383 and commented

The INDEX.LIST files generated in the jars have the incorrect jar names in them which don't match up to those in download for 3.0 RC2. For example the aop jar contains:

JarIndex-Version: 1.0

org.springframework.aop.jar
org
org/springframework
org/springframework/aop
org/springframework/aop/aspectj
org/springframework/aop/aspectj/annotation
org/springframework/aop/aspectj/autoproxy
org/springframework/aop/config
org/springframework/aop/framework
org/springframework/aop/framework/adapter
org/springframework/aop/framework/autoproxy
org/springframework/aop/framework/autoproxy/target
org/springframework/aop/interceptor
org/springframework/aop/scope
org/springframework/aop/support
org/springframework/aop/support/annotation
org/springframework/aop/target
org/springframework/aop/target/dynamic
overview.html

but the actual jar in the zip file downloaded is: org.springframework.aop-3.0.RC2.jar

I'm not sure what problems this causes but one of our users pointed this out a while back in rc1.

Affects: 3.0 RC2

Issue Links:

#13846 application context created within java web start application triggers many http requests for non existing resorces ("is duplicated by")

Referenced from: commits 2fe74a4

11 votes, 15 watchers

Issue 2:
Chris Beams opened SPR-8139 and commented

This issue is a sub-task of #12694

Issue Links:

#12792 SpringConfiguredBeanDefinitionParser (context:spring-configured) ("duplicates")

#12544 Introduce @EnableSpringConfigured ("duplicates")
Issue 1:
There is a flutter plugin for sharing text.

Official 'Share plugin'

What's missing is the ability to share files with specific MIME types (e.g. image/png)

#7111 was supposed to track the progress on this.

Related issues:

#9817 #9817 #15790 #16743

In a nutshell:

The Share plugin should provide a way to share more than text.

Edit:

Check out the esys-flutter-share plugin if you want to share images.

Issue 2:
#9816 only supports sharing text/links. Embedded image support
Issue 1:
Bug report

What is the current behavior?

Some destructured assignments are getting rewritten with invalid syntax... the = and : to rename are in the wrong order.

If the current behavior is a bug, please provide the steps to reproduce.

I'm not sure how to get this to happen outside of my app, but I have a component that does something like:

import { DataURIs } from '../constants';

const { BLANK_IMAGE } = DataURIs;

function test (data = {}) {
const {
src = BLANK_IMAGE,
} = data;
}

and src becomes something like {src = constants_BLANK_IMAGE : src_constants_BLANK_IMAGE}... which is backwards.

What is the expected behavior?

no syntax error.

Other relevant information:

webpack version: 5.24.0

Node.js version: 15.8.0

Operating System:

Additional tools:

Issue 2:
webpack 5 contains types.d.ts , but seems that missing lot of declaration from @types/webpack@4.x.x

for example , how to implement a custom Loader with declaration ?

@types/webpack@4.x.x define webpack.loader.Loader but webpack 5 have no similiar declaration
Issue 1:
When trying to call plt.show() to display a generate QuadMesh using the MacOSX backend, an error complaining about "TypeError: only length-1 arrays can be converted to Python scalars" is generated. The following gist contains two files: 1) a self contained example that will generate the error and 2) the Traceback generated. For completeness, the full hash of the commit I'm using (pulled early today) is found in the first line of the second file.

https://gist.github.com/3087990

I should add that switching to using plt.contourf() instead of pcolormesh does not error. This error does not occur when using a different backend.

Issue 2:
backend_macosx.py and _macosx.m need to be updated to handle the QuadMesh change in which edgecolors are passed in place of showedges. As it is, it fails with an exception. This is illustrated by any attempt to make a colorbar, for example.
Issue 1:
Hi.

I'm trying to speed up my framework, so I decided to rewrite the process of loading dynamic typescript files.

Old code:

let loadedFiles = [];
for await(const dirEntry of Deno.readDir( targetDirectory )){
loadedFiles.push(await import(path.join(targetDirectory, dirEntry.name)));
}

This method takes a long time to load all files from directory. I need to wait 7-10sec to load all (precompiled) files.

Today I realized that I can load it like this:

let promises = [];
for await(const dirEntry of Deno.readDir( targetDirectory )){
loadedFiles.push(await import(path.join(targetDirectory, dirEntry.name)));
}
await Promise.all(promises).then((loadedFiles)=>{ ... });

But deno throws error:

Cannot resolve module "./rsa_internal.ts" from "https://deno.land/x/god_crypto@v1.4.9/src/rsa/rsa_js.ts"

I tried to change lib but unfortunatelly also throws error:

Cannot resolve module "https://denopkg.com/chiefbiiko/std-encoding@v1.1.1/mod.ts" from "https://deno.land/x/hmac@v2.0.1/deps.ts"

Issue 2:
Attempting to log the Request object from a native server http request event results in an error thrown from the request / console op_crates.

Taken from v1.9 blog example with minor adjustment to expose and attempt to log the request:

const body = new TextEncoder().encode("Hello World");
for await (const conn of Deno.listen({ port: 4500 })) {
(async () => {
for await (const { request, respondWith } of Deno.serveHttp(conn)) {
console.log(request); // 💥
await respondWith(new Response(body));
}
})();
}

Run and then make a request to http://localhost:4500:

$ deno run --unstable -A ./repro.ts
error: Uncaught (in promise) TypeError: this.url is not a function
console.log(request);
^
at Request.[Deno.customInspect] (deno:op_crates/fetch/23_request.js:395:19)
at inspectObject (deno:op_crates/console/02_console.js:925:50)
at inspectValue (deno:op_crates/console/02_console.js:481:16)
at inspectArgs (deno:op_crates/console/02_console.js:1454:19)
at console.log (deno:op_crates/console/02_console.js:1504:9)
at ...

Expected behaviour is that consumers should be able to log the request, or parts therein without an exception being thrown.
Issue 1:
If you render

<div>
<span key={1}>hello,</span>
<span>world</span>
</div>

then React throws a duplicate-key error because the second span ("world") is assigned a key of 1, its index in the div's children.

Presumably it's best to simply avoid specifying only some keys but it would be nice if React could use separate namespaces for different key types (or at least provide a slightly more informative error message).

Issue 2:
Describe what you were doing when the bug occurred:

1.

2.

3.

Please do not remove the text below this line

DevTools version: 4.2.1-3816ae7c3

Call stack: at n.value (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:163226)

at m (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:332702)

at uc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:332919)

at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59907)

at el (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:68139)

at jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:108547)

at Lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92715)

at Pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92640)

at wc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89544)

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:46341

Component stack: in uc

in div

in div

in wo

in Unknown

in n

in Unknown

in div

in div

in Li

in $e

in dn

in Ca

in Pc
Issue 1:
Peter Backlund opened SPR-2679 and commented

No further details from SPR-2679

Issue 2:
Rossen Stoyanchev opened SPR-9638 and commented

When one bean tries to find the type of another, via BeanFactory.getType(String), from an initialization method (e.g. InitializingBean), and when the target bean type is expected to be a JDK dynamic proxy, the actual type returned varies depending on whether the target bean is declared before or after the bean interrogating its type.

This is the mechanism used in Spring MVC to discover and cache @RequestMapping methods to invoke. Hence it's necessary to the presence of JDK proxies.

Affects: 3.1.2

Issue Links:

#14236 BeanFactory.getType() can return inaccurate (non-proxied) type when using AOP ("is duplicated by")

2 votes, 6 watchers
Issue 1:
Maybe I'm missing something, but the customize form is always generating the error.txt file -- even when no less variable fields are filled in. If I fill in the @bodyBackground with #000000 for example, and check all of the previous components, no CSS is outputted.

Issue 2:
when the user try to download a custom version only without the responsive 1200, the navbar, and the hero unit, the download get an error >

"""

A less error occured trying to build your bundle. You've likely entered an invalid input into the less variable field. Check your syntax and try again!

thanks!

{}

"""
Issue 1:
Rename locations aren't found correctly for Parent in the code below:

let Parent = class {};
class Child extends Parent {}

Confirmed by testing in Sublime and also by the test below:

/// <reference path='fourslash.ts' />

////let [|Parent|] = class { };
////class Child extends class [|Parent|] { }

let ranges = test.ranges()
for (let range of ranges) {
goTo.position(range.start);

verify.renameLocations(/*findInStrings*/ false, /*findInComments*/ false);
}

Related: palantir/tslint#721

Issue 2:
In the following code:

var base = class {};
class C extends base {}

services does not recognize that the base identifier in the second line refers to the variable declared in the first. Rename, find occurrences, etc do not work on it.

The same problem also occurs with JSX spread attributes in .tsx code:

var props = {};
var div = <div {...props}/>;
Issue 1:
System information (version)

OpenCV => 4.0.0 / 3.4.4

Operating System / Platform => Ubuntu 16.04

Compiler => Emscripten 1.38.20

Detailed description

I was trying to build the opencv.js with the wasm output. I just followed the steps on the opencv.js tutorial and the build was completed with no error (some warnings), but I could not find the .wasm output in the bin folder, there were only two files opencv.js and opencv_js.js. I want to use the feature2d module so I tried the latest versions 4.0.0 and 3.4.4, both of them did not output the wasm file. Below is the output in the terminal console for your reference:

log.txt

Then I also tried 3.4.3 version, and this time I was able to get the opencv_js.wasm file together with opencv.js and opencv_js.js. But it seems that 3.4.3 version does not include features2d in the js binding.

Steps to reproduce

cd opencv

python ./platforms/js/build_js.py build_wasm --build_wasm

Issue 2:
Transferred from http://code.opencv.org/issues/4214

|| Pablo Vasquez on 2015-02-24 03:41
|| Priority: Normal
|| Affected: branch '2.4' (2.4-dev)
|| Category: build/install
|| Tracker: Bug
|| Difficulty:
|| PR:
|| Platform: Any / iOS

Missing symbols in iOS framework

Linking against the OpenCV iOS framework for 2.4.10 available for download at XXXX throws the following linker errors:

@Undefined symbols for architecture arm64:
"_jpeg_free_small", referenced from:
_free_pool in opencv2(jmemmgr.o)
_self_destruct in opencv2(jmemmgr.o)
"_jpeg_mem_available", referenced from:
_realize_virt_arrays in opencv2(jmemmgr.o)
"_jpeg_free_large", referenced from:
_free_pool in opencv2(jmemmgr.o)
"_jpeg_open_backing_store", referenced from:
_realize_virt_arrays in opencv2(jmemmgr.o)
"_jpeg_get_large", referenced from:
_alloc_large in opencv2(jmemmgr.o)
_alloc_barray in opencv2(jmemmgr.o)
"_jpeg_mem_term", referenced from:
_jinit_memory_mgr in opencv2(jmemmgr.o)
_self_destruct in opencv2(jmemmgr.o)
"_jpeg_mem_init", referenced from:
_jinit_memory_mgr in opencv2(jmemmgr.o)
"_jpeg_get_small", referenced from:
_jinit_memory_mgr in opencv2(jmemmgr.o)
_alloc_small in opencv2(jmemmgr.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@

This happens no matter which arch I am building for, and even when building my own framework from the 2.4.10.1 tag, using the build_framework.py script.
Investigation shows that for some reason, jmemansi.o from 3rdparty/libjpeg is not being included in the final binary, even though it is being compiled into liblibjpeg.a

History

Pablo Vasquez on 2015-02-24 03:45

Sorry. That was a misfire, the link should obviously have been: http://opencv.org/downloads.html
Issue 1:
Using the following code server-side:

http://play.golang.org/p/T39SbjnCJ_

built with:

go version devel +b0532a9 Mon Jun 8 05:13:15 2015 +0000 linux/amd64

and golang.org/x/net/wedav at dfcbca9c45aeabb8971affa4f76b2d40f6f72328

From a windows 7 sp1 explorer window, trying to connect at \\192.168.0.9@8080\ shows a connection error window, with unspecified error 0x80004005

The connection does show up server-side, with a PROPFIND request such as:

2015/06/11 23:02:02 WEBDAV: &{PROPFIND / HTTP/1.1 %!s(int=1) %!s(int=1) map[User-Agent:[Microsoft-WebDAV-MiniRedir/6.1.7601] Depth:[0] Translate:[f] Content-Length:[0] Connection:[Keep-Alive]] %!s(_struct { http.eofReaderWithWriteTo; io.Closer }=&{{} {}}) %!s(int64=0) [] %!s(bool=false) 192.168.0.9:8080 map[] map[] %!s(_multipart.Form=) map[] 192.168.0.12:49249 / %!s(*tls.ConnectionState=)}, ERROR:

which shows the client is Microsoft-WebDAV-MiniRedir/6.1.7601.

I believe the problem is related to what is described at:

http://greenbytes.de/tech/webdav/webfolder-client-list.html#issue-namespace-handling

And indeed, with the change at https://go-review.googlesource.com/#/c/10942/, there's no problem anymore connecting with MiniRedir.

Issue 2:
Compiling C packages on 10.9 produce the following error

clang: error: argument unused during compilation: '-fno-eliminate-unused-debug-types'

When adding the `unused-arguments` C flag to the package file

#cgo CFLAGS: -Qunused-arguments

it results in new errors

could not determine kind of name for C.cl_scandesc
could not determine kind of name for C.cl_engine_free
could not determine kind of name for C.GoString
could not determine kind of name for C.cl_strerror
could not determine kind of name for C.cl_init
could not determine kind of name for C.cl_load
could not determine kind of name for C.cl_engine_compile
Issue 1:
Costin Leau opened SPR-7915 and commented

When injecting an entity that extends Map, the container automatically assumes the bean names/instances need to be injected even if that's not the case.

Example and discussion here: https://jira.springsource.org/browse/SGF-22

Affects: 3.0.5

Attachments:

spring-autowiring-testproject.zip (2.65 kB)

Issue Links:

#15894 Make spring support like CDI @Produces (for Array/Map/Collection inject) ("is duplicated by")

#18536 Optional autowire of Map<String, BeanType> accidentally falls back to unrelated Map<String, String>

#19684 Can't autowire BiMap: container resolves non-matching Map of value beans

#19164 NoSuchBeanDefinitionException message shows internal array class names

#16794 @Autowired does not work for target bean of type Collection

#18904 Doc: Constructor injection of arrays and collections

#18162 Cannot inject List even using @Named

Referenced from: commits 4a0fa69

2 votes, 3 watchers

Issue 2:
Roman Pichlík opened SPR-4847 and commented

Following placeholder isn't replaced.

<tx:method name="save" timeout="${my.timeout}" propagation="REQUIRED"/>

Affects: 2.5.2

Issue Links:

#7865 PropertyPlaceholderConfigurer does not work with namespace declarations. ("duplicates")
Issue 1:
Gildas Cuisinier opened SPR-6637 and commented

http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#beans-java-basic-concepts

@Configuration
public class AppConfig {
@Bean
public void MyService myService() {
return new MyServiceImpl();
}
}

I think 'void' is not necessary.

Issue Links:

#11298 Incorrect method signature in the first code snippet in section 3.11.1 of the spring documentation ("is duplicated by")

Referenced from: commits f7b0a2c

Issue 2:
jacek szafranski opened SPR-9658 and commented

If a default is specified for @Value-annotated field or attribute, PropertyPlaceholderHelper.parseStringValue assigns the default property value just after the search for the property fails with the first location but before all property locations are examined. As a result, the the field ends up with the default value instead of the value defined in a properties file.

How to reproduce:

<bean id="propertyConfigurer1"

class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">

<property name="locations">

<list>

<value>classpath:file1.properties</value>

...

<bean id="propertyConfigurer2"

class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">

<property name="locations">

<list>

<value>classpath:file2.properties</value>

...

file1.properties: property "prop" undefined

file2.properties:

prop=value of prop

public class PropHolder {

@Value("${prop:defaultValue}")

private String propValue;

// ...

}

If propertyConfigurer1 is looked up first, the property "prop" is not found in "file1.properties" file, resulting in immediately assigning the default "defaultValue" to the propValue instance variable. Spring then looks up propertyConfigurer2. However, it's not going to read the prop value which is defined in its location(s), because it already has the default value and uses it as a key for further search.

It looks like the following resolution order for @Value is more sane:

look up all locations in all property placeholders

use the default specified in the annotation only when look-up in all locations fails

Affects: 3.0.3

Issue Links:

#14356 Default values in property placeholder hierarchy applied too early ("duplicates")

5 votes, 3 watchers
Issue 1:
Hello,

I have searched the issues of this repository and believe that this is not a duplicate.

Context

Currently there is no prop to easily apply a color from the theme to a SvgIcon

I'd expect to have the same color prop as Icon

Your Environment

Tech
Version

Material-UI
1.0.0-beta.21

React
16.1.1

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

Is there a way to have separate styling for primary and secondary text for the MenuItem?

Also can we make the text overflow to next line or with ellipsis?

Tech
Version

Material-UI
0.19.2
Issue 1:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.900]
PowerToys version: v0.19.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce

Place windows taskbar at top of screen, then drag window to a zone that extends to the top of the screen

Expected behavior

The window should extend to below the task bar

Actual behavior

The window extends past the task bar and is hidden by the task bar. Window controls are hidden by the task bar and inaccessible.

Screenshots

Issue 2:
Environment

Windows build number: 10.0.18363.900
PowerToys version: 0.19.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones
Monitor(s): 2 side-by-side 4K monitors (one set to display scaling 100% and the other to 125%)

Steps to reproduce

Set Windows taskbar location to Top

Snap a window to a FancyZone (2 priority grid zones in my case)

Expected behavior

The window should snap to the full-height of the FancyZone below the task bar

Actual behavior

The window snaps behind the task bar (as shown with the green arrows)

The window leaves a gap underneath each window (as shown with the red arrows), which exposes the desktop background underneath

Screenshots
Issue 1:
I found this problem when i try default navbar in http://getbootstrap.com/components/#navbar-default

i resized window to small to make navbar collapsed. and then i open collapsed navbar click the dropdown menu to show sub menu of dropdown and close it. then i resized window to maximum scale and click dropdown menu again it not show sub menu.

Issue 2:
The default navbar (http://getbootstrap.com/components/#navbar) act a little bit weird when : I click dropdown (keep it opened) and then resize the browser until the navbar-toggle button appear, click it, open the dropdown and then maximize the browser. after those step, I can't open the dropdown on navbar default state..
Issue 1:
This way we'll be able to easily compare accuracy of the benchmark and make reduce the code duplication.

cc @wojtek-t @hongchaodeng

Issue 2:
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):

kubectl exit codes

kubectl return codes

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Kubernetes version (use kubectl version): 1.3.4

Environment:

Cloud provider or hardware configuration: AWS

OS (e.g. from /etc/os-release): Debian Jessie

Kernel (e.g. uname -a): Linux ip-172-20-42-63 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux

Install tools: KOPS

Others: n/a

What happened:

$ kubectl config use-context asdfasdf
no context exists with the name: "asdfasdf".
$ echo $?
0

What you expected to happen:

When kubectl fails, it should set a non-zero exit code. This way scripts calling kubectl can respond to failure.

How to reproduce it (as minimally and precisely as possible):

$ kubectl config use-context asdfasdf
no context exists with the name: "asdfasdf".
$ echo $?
0

Anything else do we need to know: