WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Environment

Windows build number:
Platform Version VersionString
Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version: Version: 0.6.2951.0

Steps to reproduce

Make the Windows Terminal go full-screen on a 4K monitor.

Expected behavior

Fast and responsive (like it performs in non-full screen mode).

Actual behavior

Super slow and sluggish behavior. There is at least a 2s delay for typing and using ls for example will result in a slow animation for listing the content in a directory. The Terminal is pretty much unusable if I go full-screen

I have a laptop with a 1080p display and I also have an external monitor connected via mini-display port. Monitor is 4K native 60 Hz, and it works without any issues. My laptop has also a dedicated GPU (nVidia GTX850m with the latest drivers). All other apps (i.e. Spotify, Microsoft Edge, Word etc) perform just fine when in full-screen on this 4K display. However, the Windows Terminal performs super slow when I go full screen on the monitor.

Terminal performs fine when I put it in full-screen on the laptop's main display.

Issue 2:
Environment

Windows build number: [run "ver" at a command prompt]
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce

Expected behavior

Actual behavior
Issue 1:
Issue Details

Electron Version:

3.1.11

Operating System:

Windows Server 2012 R2

Last Known Working Electron version:

None

Expected Behavior

webContents.print(option, callback) print blurring use virtual pdf printer when deviceName have value .

Actual Behavior

webContents.print({ silent: true, printBackground:true,deviceName: data.deviceName }

print blurring when deviceName have value print blurring

but if deviceName have no value , print is defined

I'm not sure if this is a BUG, and I still want to find a solution. Thank!!!

Issue 2:
Issue Details

Electron Version:

3.1.11

Operating System:

Windows Server 2012 R2

Last Known Working Electron version:

None

Expected Behavior

webContents.print(option, callback) print blurring use virtual pdf printer when deviceName have value .

virtual pdf printer have setting option for print Dpi ,70Dpi 96Dpi 4000Dpi.

Actual Behavior

webContents.print({ silent: true, printBackground:true,deviceName: data.deviceName }

print blurring when deviceName have value print blurring

but if deviceName have no value , print is defined

I'm not sure if this is a BUG, and I still want to find a solution. Thank!!!
Issue 1:
Environment

Windows build number: [run "ver" at a command prompt] 10.0.18362.267
Windows Terminal version (if applicable): v0.3.2142.0

Any other software? No

Steps to reproduce

Error 1: CMD

Open Windows Terminal

Open CMD tab

Close Terminal

Error 2: Ubuntu

Open Windows Terminal

Open Ubuntu tab

Input any command

Close Terminal

Actual behavior

Error 1: CMD

Error 2: Ubuntu

Terminal process remains on background and especially it occupies CPU resources excessively when after exiting terminal used as CMD.

When I use only PowerShell, terminal process disappears from background process list immediately after exiting terminal.

Issue 2:
Environment

Windows build number: 10.0.19013.0

Windows Terminal version (if applicable): 0.6.2951.0

On opening Windows Terminal, move the window to external monitor and app crashes after a couple of seconds.

Laptop is on the Slow Insiders ring for Windows and this was working on the previous build (18362) but on upgrade to 19013 today, Windows Terminal is crashing if the app window is moved off the laptop display.
Laptop display was set as Main Display (so window opening there) and if external monitor set to left or right of this then app still crashes (i.e. dragging left or right off laptop display causes same behaviour).
Setting external display as main display and spawning app window there then I don't see this issue and can move the app between monitors without problem.

Following error is logged to Application Event Log so this may be a Windows issue (please advise?):

Faulting application name: WindowsTerminal.exe, version: 1.0.1910.22001, time stamp: 0x5daf7ab2
Faulting module name: KERNELBASE.dll, version: 10.0.19013.1, time stamp: 0x6d1c8fa4
Exception code: 0xc000027b
Fault offset: 0x000000000010a7bc
Faulting process ID: 0x53e4
Faulting application start time: 0x01d599429b1508c5
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: 4ad4a8ec-eb6c-4cfc-a19c-4a809dab3237
Faulting package full name: Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

And this Windows Error Reporting event:

Fault bucket 1583250623008362713, type 5
Event Name: MoAppCrash
Response: Not available
Cab Id: 0

Problem signature:
P1: Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe
P2: praid:App
P3: 1.0.1910.22001
P4: 5daf7ab2
P5: StackHash12_c0a
P6: 0.0.0.0
P7: 00000000
P8: 88000fa8
P9: 0
P10:
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: latest

Operating System version: xxx

Java version: xxx

Steps to reproduce this issue

Config a Monitor and specify the value of its protocol to registry(address is null)

run the dubbo application

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

Expected Result

Monitor effect and no warning log about monitor

What do you expected from the above steps？

Actual Result

The log says that There's no valid monitor config found

What actually happens?

the code of The logic of org.apache.dubbo.config.MonitorConfig#isValid is

public boolean isValid() {
return StringUtils.isNotEmpty(address);
}

actually, if not specify address but specify the monitor config's protocol to registry, that is OK.

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

[20/08/19 14:22:59:133 CST] main INFO config.AbstractConfig: [DUBBO] There's no valid monitor config found, if you want to open monitor statistics for Dubbo, please make sure your monitor is configured properly., dubbo version: , current host: 192.168.99.1

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: 2.7.1

Operating System version: CentOS 7.4

Java version: Java HotSpot 1.8.202

Question

Is it possible to throttle the request rate to an exported service with Dubbo?

The expectation is to be able to dynamically throttle the rate of request coming to a service, at run time.
Issue 1:
Good morning,

I just updated matplotlib and noticed an error (probably typo) in the plot-gui.

Using the Save the figure-Button, it returns

Format "png)')" is not supported.

for every supported format (replace png respectively).

Minimal working example:

import matplotlib.pyplot as plt
import numpy as np

a = np.arange(6).reshape((3, 2))

plt.plot(a[:,0], a[:,1], '*')

plt.show()

Specs: 3.16.1-1-ARCH with matplotlib version 1.4.0 via AUR

Thanks in advance!

Issue 2:
Bug also reported here: https://bugs.archlinux.org/task/41790

When clicking on the Save button on the NavigationToolbar, I get an error:

Format "png)')" is not supported. Supported formats: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff.

I tracked the bug to be coming from the output of the _getSaveFileName function, that is supposed to be a string but is a tuple in reality. In qt_compat.py, _getSaveFileName links to QtWidgets.QtFileDialog.getSaveFileName.

In pyqt4, this function returns a string, but the doc pyqt4/5 differences says that in pyqt5 the functions returns a tuple (filename, extension), as for getSaveFileNameAndFilter in pyqt4.

Commenting line 96 in qt_compat.py solved the problem, because _getSaveFileName is then correctly defined in line 117 (only returning the first element of the tuple).
Issue 1:
by julien.laffaye:

What steps will reproduce the problem?
1. run make.bash

What is the expected output?
A successful compilation

What do you see instead?
Segfault

Which compiler are you using (5g, 6g, 8g, gccgo)?
8g

Which operating system are you using?
FreeBSD

Which version are you using? (run 'go version')
go1

Please provide any additional information below.
GOARCH: 386 ; amd64 is just fine.

On FreeBSD 9.0, go_boostrap segfault (every time).
On FreeBSD 8.2, I got (not 100% reproducible) :
runtime: split stack overflow: 0x382f8cb0 < 0x582f6000
throw: runtime: split stack overflow

goroutine 1 [running]:

goroutine 2 [syscall]:
created by runtime.main
/work/a/ports/lang/go/work/go/src/pkg/runtime/proc.c:221

Attachments:

go-1_freebsd_9.log (4430 bytes)

Issue 2:
What steps will reproduce the problem?
1. Try to build a project that uses goyacc and Makefiles with "go build"

What is the expected output?

goyacc generates a .go from a .y, then the resulting .go is compiled and linked in to
the final binary.

What do you see instead?

Compiler and linker errors about missing symbols.

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?
Which revision are you using? (hg identify)

Ubuntu lucid with the golang-weekly 2011-12-22-1~11701~lucid1
Issue 1:
For English only, other languages we will close it directly.

Please answer these questions before submitting your issue. Thanks!

Which version of Sharding-Sphere do you using?

docker image shardingsphere/sharding-proxy:latest

Expected behavior

at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:170)

at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:182)

at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:297)

... 12 more

Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property 'autoCommit' on class: io.shardingsphere.core.yaml.sharding.DataSourceParameter

at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:132)

at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:121)

at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:322)

at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)

Steps to reproduce the behavior

dataSources:

ds_master:

url: jdbc:mysql://localhost:3306/ds_master

username: root

password:

autoCommit: true

connectionTimeout: 30000

idleTimeout: 60000

maxLifetime: 1800000

maximumPoolSize: 65

ds_slave0:

url: jdbc:mysql://localhost:3306/ds_slave0

username: root

password:

autoCommit: true

connectionTimeout: 30000

idleTimeout: 60000

maxLifetime: 1800000

maximumPoolSize: 65

ds_slave1: !!org.apache.commons.dbcp.BasicDataSource

driverClassName: com.mysql.jdbc.Driver

url: jdbc:mysql://localhost:3306/ds_slave1

username: root

password:

autoCommit: true

connectionTimeout: 30000

idleTimeout: 60000

maxLifetime: 1800000

maximumPoolSize: 65

masterSlaveRule:

name: ds_ms

masterDataSourceName: ds_master

slaveDataSourceNames:

- ds_slave0

- ds_slave1

props:

proxy.mode: MEMORY_STRICTLY

proxy.transaction.mode: NONE

proxy.max.working.threads: 16

sql.show: false

proxyAuthority:

username: root

password:

docker run -d --name sharding-proxy -v /root/sharding-proxy:/opt/sharding-proxy/conf --env JVM_OPTS="-Djava.awt.headless=true" --env PORT=3308 -p 3308:3308 shardingsphere/sharding-proxy:latest

For bug report, please MUST provide the reproduce example codes (such as a github link).

Issue 2:
Use a string sharding column , suppose the sharding column value is "abcd";

When use sharding-jdbc 3.1.0 , found sharding value pass to ShardingStrategy.doSharding() was a integer value : -1 .

But use version 2.0.3 , the sharding value is original value ： "abcd"。
Issue 1:
Mattias Severson opened SPR-9832 and commented

The RestTemplate erroneously infers "0" for an empty string values.

Execute the attached test RestTemplateTest using the attached pom.xml file.

The test fails, the response from the RestTemplate is {"lhs":"1 U.S. dollar","rhs":"1 U.S. dollar","error":"0","icc":true}

For comparison, change the spring version to any 3.0.x version, or perform a request to http://www.google.com/ig/calculator?q=1USD=?EUR from a browser. The response is {lhs: "1 U.S. dollar",rhs: "0.774833411 Euros",error: "",icc: true}

Affects: 3.1 RC1, 3.1.2

Attachments:

pom.xml (2.74 kB)

RestTemplateTest.java (1.02 kB)

Issue Links:

#14603 UriComponentsBuilder incorrectly disallows "=" as query parameter value ("is duplicated by")

#14424 RestTemplate fails to correctly parse some HTTP URI parameters ("is duplicated by")

#14109 UriComponentsBuilder.query(String) does not always match properly the query ("is duplicated by")

Referenced from: commits 0721146, 88906d2

Issue 2:
Chris Beams opened SPR-9669 and commented

ASM 4.0 was released in Oct 2011 to address Java 7 bytecode compatibility, particularly with regard to invokedynamic 1.

Certain public API changes were made in the process. Upgrade Spring's own internal repackaging of ASM to ensure users don't run into problems with Java 7 classes. This is most likely to cause problems in conjunction with Spring's component-scanning functionality, so this is high priority.

The repackaged org.springframework.asm classes are currently based on ASM 2.2.3, which is now several generations behind. Here are the differences between APIs across those generations:

2.2.3-> 3.2: http://asm.ow2.org/jdiff223to32/changes.html

3.2 -> 3.3: http://asm.ow2.org/jdiff32to33/changes.html

3.3 -> 3.4: http://asm.ow2.org/jdiff33to40/changes.html

CGLIB 3.0 was released on May 25th, 2012 2 in order to upgrade its dependency on ASM to 4.0. This also involved some API changes. Upgrade Spring's dependency on CGLIB (currently at 2.2) to 3.0. Impact may or may not be significant, but should not have external impact at the API level (because we do not expose CGLIB APIs). It will be important to advise users as to whether CGLIB 3.0 is the new lower bound supported by Spring as of 3.2 GA, or if 2.2 is still supported (with caveats about Java 7 support). This depends again on the extent of internal API changes necessary to support the upgrade.

Issue Links:

#12142 @Configuration with AspectJ instead of CGLIB
Issue 1:
Hi,

Since the children of a form are stored in an array() in the FormBuilder, the order of fields when rendering of a form in the view using only form_widget(form) is determined by the way you added your fields in your FormType.

<?php

public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('field1', 'text')
->add('field2', 'text');

// and so on...
}

The problem is : when using an EventSubscriber (like preSetData) in order to add or some fields in your form, you cannot choose where you want to add these fields.

<?php

public function preSetData(DataEvent $event)
{
$data = $event->getData();
$form = $event->getForm();

if (null !== $data) {
$form
->add($this->factory->createNamed('field3', 'text'))
->add($this->factory->createNamed('field4', 'text'));

// and so on
}
}

This example will render the form in this order :

field3

field4

field1

field2

In my case it's really annoying because I can't modify the view. The redering of my forms is generic and done only using form_widget(form).

So, is there any way to specify the order of the fields when using an EventSubscriber ?

Issue 2:
Functionality request.

It would be great if you could specify the order of the fields when using the following function.

{{ form_rest(form) }}

This would allow you to render all the fields without having to use the field_row etc.

This would mean that if you had subscriber fields (automatically added to the bottom of the fields) you could specify the order in the form_rest.
Issue 1:
Environment

Dubbo version: com.alibaba:dubbo-rpc-thrift:jar:2.6.2

Operating System version: Windows

Java version: Jdk 1.7

Descirption

Hi, there are two versions of org.apache.httpcomponents:httpcore:jar exist in com.alibaba:dubbo-rpc-thrift, and only org.apache.httpcomponents:httpcore:jar:4.1.3 can be loaded during packaging process based on "nearest wins strategy". However, class org.apache.http.util.Args only included in org.apache.httpcomponents:httpcore:jar:4.4.6:compile which is shadowed by Maven. When your project referencing the missing class, java.lang.NoClassDefFoundError will be thrown.

Dependency tree

com.alibaba:dubbo-rpc-thrift:jar:2.6.2
+- com.alibaba:dubbo-rpc-api:jar:2.6.2:compile
+- org.apache.thrift:libthrift:jar:0.8.0:compile
| +- org.slf4j:slf4j-api:jar:1.7.25:compile (version managed from 1.5.8)
| +- commons-lang:commons-lang:jar:2.5:compile
| +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile (version managed from 4.1.2)
| | +- (org.apache.httpcomponents:httpcore:jar:4.4.6:compile - **omitted for conflict with 4.1.3**)
| | +- (commons-logging:commons-logging:jar:1.2:compile - version managed from 1.1.1; omitted for duplicate)
| | \- commons-codec:commons-codec:jar:1.9:compile
| \- org.apache.httpcomponents:httpcore:jar:4.1.3:compile

Stack trace

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/util/Args

at org.apache.http.impl.conn.Wire.output(Wire.java:110)

at org.apache.http.impl.conn.LoggingOutputStream.write(LoggingOutputStream.java:73)

at com.alibaba.dubbo.rpc.protocol.thrift.io.RandomAccessByteArrayOutputStream.writeTo(RandomAccessByteArrayOutputStream.java:93)

at com.alibaba.dubbo.rpc.protocol.thrift.io.RandomAccessByteArrayOutputStreamTest.main(RandomAccessByteArrayOutputStreamTest.java:11)

Caused by: java.lang.ClassNotFoundException: org.apache.http.util.Args

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

... 4 more

Suggested solution

I found that you only deal with the dependency conflict issue for httpclient in version mangement file.

Could you please set the version of httpcore to 4.4.6 (dependencyManagement) in pom.xml?

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: 2.7.4

Operating System version: windows10

Java version: 1.8

Actual Result

How can I use dubbo2.7.4 in maven project?Which repository can provider 2.7.4, and how to configure in the pom.xml and setting.xml? Thanks :)
Issue 1:
The default title for my powershell tabs is so long that (a) it is cut off and (b) the 'X' to close the tab is not displayed, for example:

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.239]
Windows Terminal version (if applicable): 0.3.2171.0

Any other software? no

I did edit the settings to make two changes: The point size for all fonts is now 12 instead of 10 and CMD is the default instead of powershell.

Steps to reproduce

Open a powershell tab in Windows Terminal

Expected behavior

At a minimum, I would expect the tab close control to remain visible or at least a click where the control belongs should close the tab.

Actual behavior

The long path appears to overwrite the close tab control and prevent any clicks from reaching the close tab control.

Issue 2:
Description of the new feature/enhancement

Proposed technical implementation details (optional)

Please add a find box as in cmd.exe:

A more advanced find box will be helpful just as in Notepad++:

User should be able to:

Option to search using regular expression.

Option to search in current tab only.

Option to search across all the tabs.

Option to search across tabs of similar type (e.g. across Ubuntu tabs only),

Option to get the count of matches etc.
Issue 1:
Hal Hildebrand opened SPR-1864 and commented

When using an InputStreamResource to create the XmlBeanFactory, an illegal state exception is thrown.

java.lang.IllegalStateException: InputStream has already been read - do not use InputStreamResource if a stream needs to be read multiple times

at org.springframework.core.io.InputStreamResource.getInputStream(InputStreamResource.java:91)

at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.detectValidationMode(XmlBeanDefinitionReader.java:425)

at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getValidationModeForResource(XmlBeanDefinitionReader.java:412)

at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilderFactory(XmlBeanDefinitionReader.java:385)

at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:352)

at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:308)

at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:283)

at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.java:73)

at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.java:61)

at ResourceReadErrorTest.testDoubleRead(ResourceReadErrorTest.java:23)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:32)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

Affects: 2.0 M3

Attachments:

ResourceReadErrorTest.java (914 bytes)

Issue 2:
Pablo Pita Leira opened SPR-511 and commented

Imagine you have a class with a date field, so we use the CustomEditorConfigurer with the CustomDateEditor in the applicationContext.xml to enter the date property as a plain string. So far, so good.

Now, we like to export through JMX the bean methods by having a JmxAdapter bean around that bean. Now, the bean does not get initialised: there is a TypeMismatchException when setting the property.

Attachments:

testdate.zip (2.56 kB)

Issue Links:

#5207 JmxMBeanAdapter: conflict with PropertyPlaceholderConfigurer ("duplicates")
Issue 1:
I find it desirable that in map(f, T[]), if f is type stable on T, then map would return an empty array of the correct type. At the moment it returns an empty array of type T.

I ran into this when trying to do roughly this:

function f(x::Vector)
y = map(symbol, x)
return f(y)
end

function f(x::Vector{Symbol})
# Do fun.
end

Issue 2:
I've simplified this as much as possible from my use case:

julia> func1{U<:AbstractArray, V}(arg::Union{AbstractArray{U},V}) = typeof(arg)
func1 (generic function with 1 method)

julia> func1(Array{Any}[Array{Any}(1, 1)])
Array{Array{Any,N},1}

julia> func2{U<:AbstractArray, V}(arg::Union{AbstractArray{U},Set{V}}) = typeof(arg)
func2 (generic function with 1 method)

julia> func2(Array{Any}[Array{Any}(1, 1)])
ERROR: MethodError: `func2` has no method matching func2(::Array{Array{Any,N},1})
Closest candidates are:
func2{U<:AbstractArray{T,N},V}(::Union{AbstractArray{U<:AbstractArray{T,N},N},Set{V}})

Surely both of these should work as they're both satisfying one component of the union?