WhereIsAI/github-issue-similarity huggingface dataset:
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: xxx

Operating System version: xxx

Java version: xxx

Steps to reproduce this issue

xxx

xxx

xxx

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!

Issue 2:
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: master

Operating System version: deepin

Java version: 1.8

What's the difference between ConfigUtils with ConfigurationUtils？

I found in dubbo-container module,log4j and spring submodule use different config util class to get property.Is there any difference between the two?
Issue 1:
Hey. JSON Loader does not support ShapeGeometry(ShapeBufferGeometry) and ExtrudeGeometry (ExtrudeBufferGeometry). But the unloading works. Is it possible to add this feature to when?

Dev

[ x] r85

...

Browser

[] All of them

Chrome

[x ] Firefox

[ x] Internet Explorer

OS

[] All of them

[x ] Windows

macOS

Linux

Android

iOS

Hardware Requirements (graphics card, VR Device, ...)

Issue 2:
Hi everybody, i'm trying to use the editor and i just found out that while setting the meshfacematerial, the editor comes up with the following error.

MeshFaceMaterial should be called passing an array of materials, so I think that the problem raises because there isn't an array like that and the editor can't set the mesh properly. This fact happens also using the meshes provided by the editor menubar (like Cube, Cylinder etc...)
Issue 1:
Elasticsearch version: 5.0.0-alpha1

JVM version: 1.8.0_51

OS version: CentOS 6.6

Description of the problem including expected versus actual behavior:

I try to install elasticsearch plugin such as elasticsearch-head and elasticsearch-kopf. The example below occurs on both elasticsearch-head and elasticsearch-kopf.

I run ./bin/elasticsearch-plugin install mobz/elasticsearch-head, and I got MalformedURLException: no protocol. It seems that elasticsearch-5.0.0-alpha1 asking for full URL.

If I supply another full URL to install:

./bin/elasticsearch-plugin install https://github.com/mobz/elasticsearch-head

I got this error message:

ERROR: elasticsearch directory is missing in the plugin zip

Looks like there are some changes in the elasticsearch plugin module. Is this a bug or expected behavior? Does the package require specific folder or specific stuffs to be compatible to elasticsearch-5.0.0-alpha1?

Thanks!

Issue 2:
I was playing around with master last night in a distributed set up

with two servers and replicas = 0, while running queries on 50

threads.

When I ran similar tests with replicas=1, I didn't have any issues. I

plan to use replicas=1 in the real world and this testing was just for

performance numbers.

One test that I ran was adding a new node. While this was occurring, I
saw large swaths of exceptions for queries that look like this:
http://gist.github.com/551622

These appear to be failures related to the shard reallocating.
Issue 1:
A few days ago I came across the following problem and to the conclusion that it was a bug.

After adding the package "ImageView" the command "sin(BigFloat(3))" can only be executed with an error message (see screenshot).

Affected is Julia 1.2/1.3 RC3 and the current nightly version.

The error can be reproduced on my Windows 10 system (Core-i3 4 GByte RAM - Developer-Mode) as often as I want, even if I have completely reinstalled Windows.

It is noticeable that after 1 out of 10 attempts to uninstall Julia and reinstall, no error occurred.

Also with the installation on another computer it worked immediately error free.

I already reported this to a member of JuliaImages/ImageView.jl (timholy) and he advised me to report this as a Julia bug. ( JuliaImages/ImageView.jl#181 )

Issue 2:
After pulling latest source, I get an error in the test at line 356 in mpfr.jl because the decimal separator is comma for BigFloats

julia> string(big(1.1))
"1,100000000000000088817841970012523233890533447265625e+00"

but

julia> string(1.1)
"1.1"

I guess this is a continental Europe thing, but I cannot figure out which commit has caused this.

julia> versioninfo()
Julia Version 0.3.0-prerelease+3533
Commit b9e4f43* (2014-06-07 01:46 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin13.2.0)
CPU: Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm
Issue 1:
Edit: I don't know how to implement this. I would like the feature, but it's not the end of the world.

Is your feature request related to a problem? Please describe.

My app uses an 8-bit integer layer ID. Every time I pull a new Three.js release, I have to paste-replace this line or my app will break:

if ( capabilities.isWebGL2 === true && ( type === 5124 || type === 5125 ) ) {

if ( capabilities.isWebGL2 === true && ( type === 5124 || type === 5125 || ( type === 5121 && ( ! normalized ) ) ) ) {

(On second thought, the above change might actually break someone's code somewhere.)

Describe the solution you'd like

Can we change that line in the main branch?

All existing working code will work exactly the same. (No, stuff really could break.)

Explanation:

JS has no 8-bit floats.

normalized=true if and only if float array

normalized=false if and only if int array. Or, you could want floats 0.0 -> 255.0

100% unambiguous. No.

Right now, normalized=false just breaks Three.js's buffer implementation / corrupted data goes to the shader.

Describe alternatives you've considered

Even if I make a fork just for that 1 line, it won't be able to merge cleanly, and I'll still have to go in and copy-paste every time.

There's a related FR about improving integer support, but I think it went nowhere.

Issue 2:
Expanding on the vertexAttribIPointer support added in #19019, I would like to propose a new property:

BufferAttribute.targetType = FloatType (default)

This property would support values of the existing constants FloatType (default) and IntType.

This would expand support for integer attributes (beyond the current int32 and uint32) without changing any existing behavior.

The property would ultimately get passed through to WebGLBindingStates.vertexAttribPointer() where the code impact is minimal:

-function vertexAttribPointer( index, size, type, normalized, stride, offset ) {
+function vertexAttribPointer( index, size, type, normalized, stride, offset, targetType ) {

- if ( capabilities.isWebGL2 === true && ( type === 5124 || type === 5125 ) ) {
+ if ( capabilities.isWebGL2 === true && ( type === 5124 || type === 5125 || targetType == IntType ) ) {

gl.vertexAttribIPointer( index, size, type, stride, offset );

} else {

gl.vertexAttribPointer( index, size, type, normalized, stride, offset );

}

}

Alternatively, this could be a boolean attribute such as BufferAttribute.toIntegers = true, as it looks like WebGL only supports vertexAttribPointer (float) and vertexAttribIPointer (int) – not vertexAttribLPointer (double).

Apologies if I'm missing anything obvious. Thank you!
Issue 1:
There is no way to understand from this log, what is actually problematic, or to debug it:

[REQUEST] New used memory 12804659728 [11.9gb] from field [<reused_arrays>] would be larger than configured breaker: 12804659609 [11.9gb], breaking

I think the minimum is either to print the query/aggregation or at least the problematic field.

Issue 2:
Currently, size and from can be used to limit the amount of search results within each individual queryin a multi search request.

It would be nice if we can set a from and size that limits the total amount of results returned for the multi search query.
Issue 1:
Describe the bug

This glTF uses the variants extension, though I doubt this is the cause of its textures being scrambled in USDZ, since that doesn't do much to three's scene graph.

To Reproduce

Steps to reproduce the behavior:

Go to https://modelviewer.dev/examples/scenegraph/#variants on iOS Safari

Click on the AR button

Quick Look opens after auto-generating the USDZ, but the textures are random and greyscale.

Code

This is part of model-viewer

Expected behavior

The models renders more or less as it does on the web, and should reflect either of the chosen variants.

Screenshots

Platform:

Device: Mobile

OS: iOS

Browser: Safari

Three.js version: r128

Issue 2:
Description of the problem

SphereGeometry returns a mesh which is not closed at the poles or on the sides. If theta is Pi, then the resulting sphere should be a closed sphere, and if phi is 2*Pi, then the sides should be stitched together as well.

Three.js version

Dev

r79

...

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

Linux

Android

IOS

Hardware Requirements (graphics card, VR Device, ...)
Issue 1:
Symfony: 2.3.4, PHP 5.4.20-1~dotdeb.0, Debian 6.0.7

When I use the locale "en" or the locale "de" the country and language selectors work correctly and display a full list of countries or languages.

However, if I use the locale "en_GB", neither display the full list of options. I have attached an image showing the issue for both selectors when using the en_GB locale.

I have an instance of Symfony 2.1 running this same code, and it is not showing this problem.

I see that others also have this same issue:

http://stackoverflow.com/questions/18856449/symfony2-locale-en-gb-issue-when-using-getcountrynames

Thanks in advance.

Issue 2:
I'm cross-posting an issue in the symfony/icu project: https://github.com/symfony/Icu/issues/2

I'm finding that countries data is not always available when using Symfony 2.3. In my particular install, I have ICU 4.6 installed, with symfony/icu 1.1 (1.2, incidentally, does not work either), and I cannot access country data - therefore the Country field fails, etc. I don't know whether this is a commonly-experienced issue, but it should always be possible to access this data through the Intl component.
Issue 1:
The code

fn main() {}
// ...
// lots of code
// ...
fn some_random_function() {
// lots of code here
let unused = vec![];
// even more code
}

gives an error message which does not even hint about the error's location:

<std macros>:5:9: 5:22 error: unable to infer enough type information about `_`; type annotations required
<std macros>:5 xs.into_vec()
^~~~~~~~~~~~~
<std macros>:1:1: 8:2 note: in expansion of vec!
<anon>:4:5: 4:12 note: expansion site

Which makes finding the offending statement require quite a bit of effort.

Issue 2:
fn main() {
let a = Vec::new();
}

Gives me:

<anon>:2:13: 2:21 error: unable to infer enough type information about `_`; type annotations required [E0282]
<anon>:2 let a = Vec::new();
^~~~~~~~

This is confusing because it doesn't say what the _ is that it can't figure out. Perhaps it could say something like:

Only able to infer that `a` has type `Vec<_>`; please annotate so I can figure out what `_` is.
Issue 1:
Original ticket http://projects.scipy.org/numpy/ticket/1618 on 2010-09-21 by @pv, assigned to unknown.

It probably shouldn't do this:

>>> import numpy as np
>>> x = np.array(1+2j, object)
>>> x.real
array((1+2j), dtype=object)

The implementation of .real for object arrays seems suspicious.

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/1142 on 2009-06-19 by @inducer, assigned to unknown.

numpy could really do a better job here by propagating the .real to the elements of the object array:

Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as n
>>> n.__version__
'1.3.0'
>>> a = n.array(5+7j)
>>> b = n.array([a], dtype=object)
>>> b.real
array([(5+7j)], dtype=object)
>>> n.real(b)
array([(5+7j)], dtype=object)

Summary by @seberg:

Object arrays could call .real on all objects, but that would not return a view as typically promised by arr.real. It seems that moving forward here may require a new function that returns a copy?
Issue 1:
Descripe the feature and motivation

nowadays, video live is popular, opencv can receive rtsp/rtmp/usb .etc，but it cloudn't support to transform/push video stream to video server. it's possible to add this new feature?

Additional context

No response

Issue 2:
System information (version)

OpenCV => 4.5.5

Operating System / Platform => Linux

Detailed description

I am using opencv to pull and push the video stream by rtsp protocol

Steps to reproduce

By using python binding:

pulling:

cap = cv2.VideoCapture("rstp://localhost:8555",cv2.CAP_FFMPEG)

No problem

pushing：

video_writer = cv2.VideoWriter("rstp://localhost:8555", fourcc, fps, size, True,cv2.CAP_FFMPEG)
video_writer.write(frame)

i get

OpenCV(4.5.5) opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file):rstp://localhost:8555 in function 'cv::icvExtractPattern'

Is there a way to push the stream like below?

Issue submission checklist

I report the issue, it's not a question

I checked the problem with documentation, FAQ, open issues,

forum.opencv.org, Stack Overflow, etc and have not found any solution

I updated to the latest OpenCV version and the issue is still there

There is reproducer code and related data files: videos, images, onnx, etc
Issue 1:
Feature request

I will be good to have option like https://jestjs.io/ru/docs/api#testeachtablename-fn-timeout and https://jestjs.io/ru/docs/api#describeeachtablename-fn-timeout for this: https://playwright.dev/docs/test-intro/#use-test-hooks

I know I can use 'for')

Issue 2:
You can already do each via running test in a loop:

for (const data in [...]) {
test('testing ' + data, async () => {});
}

If the above does not work for you, please tell us why in the comments!
Issue 1:
Summary of the new feature/enhancement

Add Support for multiple saved layouts in Keyboard Manager. E. g. I have a mapping for my Apple Keyboard where my Alt and Meta keys are swapped and I have a different mapping for my normal keyboard where I for example have Media Keys on F13 and up.

Proposed technical implementation details (optional)

I would like to have like a list of different mappings. If I create a new mapping, I can choose to save it. The option to rename mappings would be great to. If it is possible to automatically swap to ta specified mapping if I connect a special keyboard, I would find that great to. But that is optional if it is to hard / time consuming to implement.

Conclusion

Add option to save mappings

Saved mappings are available in list

(Optional) Automatically switch to mapping XY if special Keyboard is plugged in.

I'm sorry for my bad English, I'm not a native Speaker.

Issue 2:
Environment

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

Summary

I can't get alt+space to consistently open the launch dialog. Sometimes restarting the app seems to fix it. Sometimes I need to wait a minute or two after starting PowerToys. But I realize inconsistent repros are hard to fix. I've nailed down one consistent repro which I've outlined here.

Steps to reproduce

Open Event Viewer. Focus on it. Hit Alt+Space.

Open File Explorer. Focus on it. Hit Alt+Space.

Open Edge (Chromium). Focus on it. Hit Alt Space.

Expected behavior

In all three cases, I expect the PT run dialog to open.

Actual behavior

For File explorer, Edge, or even "focusing" on the desktop, it launches fine with these steps. But when focused on Event Viewer, it opens the context menu for the app. It's as if Event Viewer first observes and handles the alt+space keyboard event and prevents it from bubbling up to the OS?

I noticed that I also cannot use my print screen hotkey while in Event Viewer, so this issue doesn't seem specific to PT Run.

Screenshots
Issue 1:
Some gaps here:

flutter create -t plugin does not produce any test files.

https://flutter.io/platform-channels/ does not mention testing.

Actions items:

Write a best practices doc for testing plugins. Mention both Dart and native code. Publicize the mock channel implementation (I personally learned about this by reading code in flutter/plugins).

Add test files to the template.

Issue 2:
Currently our plugin template and plugin docs have no recommendation for how to test a plugin. We should probably figure out what to do here.
Issue 1:
After seeing this:

https://github.com/mrdoob/three.js/blob/dev/src/renderers/WebGLRenderer.js#L1991-L2061

I propose adding some kind of documentation to let the world know that there is magic happening under the hood.

Texture classes have a transform property. Materials can use multiple textures, but also have a single transform property.

Because a single material, with a single transform property can have many textures with many unique transform properties - Three.js does voodoo magic under the hood to chose which texture's transform to honor.

This is the list [insert list].

edit

map

specularMap

displacementMap

normalMap

bumpMap

roughnessMap

metalnessMap

alphaMap

emissiveMap

Maybe warn the user that if they have some kind of transform on the emissive map, it will be completely ignored, and the user can expect to see the transform belonging to any other 8 map slots that come before?

Three.js version

Dev

r89

...

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

macOS

Linux

Android

iOS

Hardware Requirements (graphics card, VR Device, ...)

Issue 2:
Problem: CTMLoader crashes or hangs on some simple but large CTM models converted from STL

Three.js version: r58

Env: OS X Lion, MacBook Air 4GB, latest Chrome or Firefox

Example: http://simonvz.github.io/WebglExs/BinaryModelView.html

Model: https://github.com/SimonVZ/SimonVZ.github.io/blob/master/WebglExs/data/ctm/original-80.ctm

it's working fine for a slightly reduced version: http://simonvz.github.io/WebglExs/BinaryModelView90.html

Also, it doesn't seem to be related to the model size. It works for 2 or 3 times bigger data sets.

Page source is here: https://github.com/SimonVZ/SimonVZ.github.io/blob/master/WebglExs/BinaryModelView.html

Thank you,

Simon
Issue 1:
It would be nice to be able to make a datatype like the following:

type tname<N> = Vec<[int; N]>;

Where N is not a type but an integer. So, for example:

let instance = tname::<5>::new();

would create an instance of Vec<int; 5]>

Issue 2:
1.0.0-beta web API docs don't contain the sort_by slice method, even though it is documented in the sources:

rust/src/libcollections/slice.rs

Line 245
in
9edbf42

pub fn sort_by<F>(&mut self, compare: F) where F: FnMut(&T, &T) -> Ordering {

It certainly can't be found when searching in the docs search widget, but it might be hidden somewhere in the std module docs, but I can't find it. Looks like a documentation build bug?
Issue 1:
The exception logs following:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.<init>(ShardingSphereYamlConstructor.java:44)

The following method did not exist:

org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(I)V

In class ShardingSphereYamlConstructor its do have a not exist method setCodePointLimit in line 44

Issue 2:
Feature Request

For English only, other languages will not accept.

Please pay attention on issues you submitted, because we maybe need more details.

If no response anymore and we cannot make decision by current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Is your feature request related to a problem?

Yes, refer to #21351 .

Describe the feature you would like.

In #21351, a new method for serving LoaderOptions introduced since SnakeYAML 1.32 is enabled. This stems from a series of CVEs that have existed since SnakeYAML 1.30 and can be traced back to #15260 .

According to spring-projects/spring-boot#32221 , at present, Spring community ensures SnakeYAML <= 1.30 in Spring Boot OSS < 3.0.0-M5 version. Therefore, if the users of ShardingSphere JDBC use the version of SpringBoot OSS < 3.0.0-M5, they must manually specify the version of SnakeYAML in pom.xml and other files, similar to the following.

<dependencies>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.33</version>
</dependency>
</dependencies>

I think we should markup SpringBoot users need to specify SnakeYAML version in Github Wiki.

update in 2023.03.31: According to spring-projects/spring-boot#34405 (comment), if users are using Spring Boot OSS 2.x instead of Spring Boot OSS 3.x, they should use SnakeYAML 1.33 instead of SnakeYAML 2.0. Also, Spring Framework is not ready for SnakeYAML 2.0, refer to spring-projects/spring-framework#30048
Issue 1:
Video Challenges-

JavaScript Lingo: MDN and Documentation

Question 3

The title and question for this part only states Question 3 with a passing answer of True.

Question should be removed or updated.

Issue 2:
Going though the new Video Challenge and question 3 on JavaScript Lingo MDN and Documentation doesn't seem to be there. Though clicking true answers it correctly, while false gives me the wrong answers animation.
Issue 1:
`const { app, powerMonitor } = require('electron')

app.on('ready', () => {

powerMonitor.on('suspend', () => {

console.log('The system is going to sleep')

})

})`

The system is going to sleep

The system is going to sleep

Issue 2:
Preflight Checklist

[x ] I have read the Contributing Guidelines for this project.

[ x] I agree to follow the Code of Conduct that this project adheres to.

[x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

When I upgrade the electron version 6.1.9 to 8.4.0, the PowerMonitor module "resume" and "suspend" event send twice on macOS.

useage:

app.on("ready", () => {
const { powerMonitor } = require('electron')

powerMonitor.on('suspend', () => {
mainLog.info('system suspend.')
mainWindow.webContents.send('system-status', 'suspend');
});

powerMonitor.on('resume', () => {
mainLog.info('system resume.')
mainWindow.webContents.send('system-status', 'resume');
});
});

electron-log, main.log:

[2020-07-31 11:29:41.926] [info] system suspend.
[2020-07-31 11:29:41.933] [info] system suspend.
[2020-07-31 11:30:20.169] [info] system resume.
[2020-07-31 11:30:21.963] [info] system resume.

Electron Version:

8.4.0

Operating System:

macOS 10.15.6

Last Known Working Electron version:

8.4.0

Expected Behavior

just one times "resume" and "suspend" event.

Actual Behavior

i receive twice same events.

To Reproduce

Screenshots

Additional Information