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

Operating System version: MacOs

Java version: 1.8

Steps to reproduce this issue

This is not the issue, but the update of referenceCount log.

Originally, i don't know why we have to check the referenceCount before close the connection.

final class ReferenceCountExchangeClient implements ExchangeClient {
@Override
public void close(int timeout) {
if (referenceCount.decrementAndGet() <= 0) {
if (timeout == 0) {
client.close();

} else {
client.close(timeout);
}

replaceWithLazyClient();
}
}
}

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.2

Operating System version: Mac

Java version: 8

Steps to reproduce this issue

设置属性值

Provider

dubbo.provider.filter=metrics

dubbo.provider.metrics.protocol=dubbo

dubbo.provider.metrics.port=20880

Consumer

dubbo.consumer.filter=metrics

dubbo.consumer.metrics.protocol=dubbo

dubbo.consumer.metrics.port=20880

dubbo.provider会映射到ProviderConfig里的metrics，dubbo.consumer会映射到ConsumerConfig里的metrics。但是在AbstractConfig里解析时方法类型只能是Primitive ，所以导致里面的值无法放入url 参数列表里。导致dubbo-admin里无法获取到protocol和port

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

Expected Result

为什么不跟xml<dubbo:metrics一样提供dubbo.metrics，然后在DubboConfigConfiguration映射进去

@EnableDubboConfigBindings({
@EnableDubboConfigBinding(prefix = "dubbo.application", type = ApplicationConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.module", type = ModuleConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.registry", type = RegistryConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.protocol", type = ProtocolConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.monitor", type = MonitorConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.provider", type = ProviderConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.consumer", type = ConsumerConfig.class),
@EnableDubboConfigBinding(prefix = "dubbo.config-center", type = ConfigCenterBean.class),
@EnableDubboConfigBinding(prefix = "dubbo.metadata-report", type = MetadataReportConfig.class)
})
Issue 1:
Open directory in Atom. Directory is under git.

Open file1.coffee in editor tab.

In Linux console checkout another git branch where file1.coffee is absent.

Now in atom you should see error message

Atom Version: 0.194.0

System: linux 3.19.0-12-generic

Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/my/file/path/file1.coffee'

At events.js:141

Error: ENOENT: no such file or directory, open '/my/file/path/file1.coffee'
at Error (native)

Config

{
"core": {
"excludeVcsIgnoredPaths": false,
"disabledPackages": [
"select-scope",
"language-ruby-on-rails",
"git-diff-details"
]
},
"editor": {
"fontSize": 21,
"showInvisibles": true,
"showIndentGuide": true,
"preferredLineLength": 120,
"tabLength": 4,
"invisibles": {}
}
}

Installed Packages

# User
atom-grails, v0.1.0
autocomplete-plus, v2.12.0
editorconfig, v1.0.0
highlight-selected, v0.9.2
language-hjson, v0.2.0
linter, v0.12.1
linter-coffeelint, v0.2.1
linter-htmlhint, v0.0.13
linter-jshint, v0.1.2
word-jumper, v0.2.0

# Dev
No dev packages

Issue 2:
Some repro steps that I gathered from the existing issues:

Have a file open in branch something that doesn't exist in branch atom

git checkout atom

ENOENT 💥

OR

Have a file open in Atom that will be affected by git rebase

git rebase

ENOENT 👎

OR

Just simply rename a file outside of Atom that's currently open inside of Atom.
Issue 1:
body {

background-color: #000000;

}

</style>
I am using the correct code but I am not able to get past this way point. I see others had this issue but I have tried what resolved other users issues with this, with no result. How can I get past this?

Issue 2:
Challenge Waypoint: Use Hex Code for Specific Colors has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586.

Please describe how to reproduce this issue, and include links to screenshots if possible.

My answer is correct but wrongly flagged as erroneous.

My code:

<style>
body {
background-color: #000000;
}
</style>
Issue 1:
Environment

Windows build number: 10.0.18362.86
Windows Terminal version (if applicable): 0.1.1361.0

Any other software?

Steps to reproduce

Open a PowerShell tab in Windows Terminal. Attempt to use these PSReadLine key bindings (use the Get-PSReadLineKeyHandler command to see a list of all key bindings):

Ctrl+Backspace (BackwardKillWord)

Shift+Ctrl+Enter (InsertLineBelow)

Ctrl+Space (MenuComplete)

Shift+Tab (TabCompletePrevious)

Alt+0 (DigitArgument) (and other digits)

PageDown (ScrollDisplayDown)

Ctrl+PageDown (ScrollDisplayDownLine)

PageUp (ScrollDisplayUp)

Ctrl+PageUp (ScrollDisplayUpLine)

Ctrl+Alt+? (ShowKeyBindings)

Alt+? (WhatIsKey)

Expected behavior

Key executes the specified PSReadLine function.

Actual behavior

Nothing happens (or the current tab changes in the case of Alt+digit)

Issue 2:
Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.18362.86]

What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)

Trying to add an empty line in a multi-line input by pressing Shift + Enter with PSReadline in PowerShell

What's wrong / what should be happening instead:

Shift+Enter is treated as Enter, and it tries to run my incomplete command line
Issue 1:
trait Bar<T> { fn dummy(&self); }
trait Car<T> { fn dummy(&self); }

trait Foo {
type A;
type B: Bar<Self::A>;
type C: Car<Self::A>;

fn get_b(&self) -> &Self::B;
}

fn test_bar<A, B: Bar<A>>(_: &B) {}

fn test<A, F: Foo<A=A>>(f: &F) {
test_bar(f.get_b());
}

Gives me:

<anon>:15:16: 15:23 error: the trait `Bar<A>` is not implemented for the type `<F as Foo>::B` [E0277]
<anon>:15 test_bar(f.get_b());
^~~~~~~
<anon>:15:16: 15:23 error: the trait `Car<A>` is not implemented for the type `<F as Foo>::C` [E0277]
<anon>:15 test_bar(f.get_b());
^~~~~~~
error: aborting due to 2 previous errors
playpen: application terminated with error code 101

There is a workaround:

fn test<A, B: Bar<A>, C: Car<A>, F: Foo<A=A, B=B, C=C>>(f: &F) {
test_bar(f.get_b());
}

But it's ugly and should not be necessary.

We hit this problem a lot with gfx::Device, and I'd like to see cleaner use of it without explicit CommandBuffer bounds that we use as a workaround.

Issue 2:
I've been running into a linker error undefined reference to 'panicking::panic::h98aad983367da335F7E' while trying to build with #![no_std]. While trying to debug, I ended up with some code that looked like this:

https://gist.github.com/anonymous/88c01ee6ee33e4bad656

When you try to compile, it fails saying that "panic" is a duplicate definition. This makes sense because it's defined in libcore, but the error explanation suggests that this is possible, and the correct way to to do it is to use #![no_std], which I'm already doing.

Seems like either a problem with the library or with the error explanation?
Issue 1:
Hello,

I experiencing similar issue as #7049 .

I raised this issue segmentio/nightmare#894 as well. But I think it has nothing to do with nightmare, since after installing 32 bit version of electron it seems that this issue has disappeared. It's not an emergency for me or something, since I have no problem using 32bit version, just though you guys might want to know about it.

segmentio/nightmare#894 has more description, don't want to duplicate it. If you need more information or something, let me know. Also I might mention that I didn't had this issue on debian 8, it's just after I installed linux mint 18, so it might be something with linux kernel maybe, since mint uses newest version?

Cheers

Issue 2:
Recently, our company are using electron to build a application on the windows.

But during the testing, we found that every time the application was launched, it will launch not 1 windows process but 2 or 3. After the application was closed, only 1 of those processes existed. Left another 1 or 2 zombie processes still "running".

Is this normal ?

The application was build with https://github.com/maxogden/electron-packager

Tested electron versions: 0.26.1, 0.27.0, 0.27.0

Tested platfrom: windows 7 64bit, windows 8 32bit
Issue 1:
When project does import properties from separate MSBuild file via <Import Project="build.props" />, The MSBuild is using defined properties, but on file save of TS file it is being ignored.

It worked with with VS13/VS15RC and TS 1.5 beta, but after release it is broken.

I can provide ZIP file with example solution, but I cannot add it to github issue.

Issue 2:
As reported by @licinioamendes in #2152 (comment):

Would be nice allow VS macros for build commands.

The result would be something like $(ProjectDir)outputDirectoryPath on textbox.

Also note that this is working in VS2013 but not in VS2015.
Issue 1:
Chris Beams opened SPR-4975 and commented

Today the @MVC programming model requires manual instantiation and invocation of Validator classes:

public String onSubmit(@ModelAttribute Customer customer, BindingResult result) {

new CustomerValidator().validate(customer, result);

if(result.hasErrors()) {

return "editAccount";

}

return "...";

}

It would be preferable to have validation be an integrated part of the @MVC lifecycle.

For instance, Validator instances could be annotated as @Component and be subject to component scanning. At any rate, whether declared via bean definitions or component scanned, registered Validator instances should be iterated through, and any returning true from Validator#supports() should be used to validate candidate objects.

Additionally, I believe the interface-based approach is preferable here, vs a @Validator approach, because the strong contract of supports()->validate() is a useful and expressive one. It would be sufficient to simply allow Validator instances to be component scanned. We just need to add iterating through and invoking registered validators to the lifecycle.

Issue Links:

#4803 Support for declarative validation (Hibernate Validator, anticipating JSR 303) ("duplicates")

Issue 2:
Rob Winch opened SPR-7128 and commented

Create a HandlerExceptionResolver that handles BindExceptions so that boilerplate code can be removed from controllers using @Valid. See the Spring forum reference for details.

PS: I would be more than happy to contribute this

Reference URL: http://forum.springsource.org/showthread.php?t=87408

Attachments:

SPR-7128.patch (28.86 kB)

Issue Links:

#12196 Allow standard form "retry on error" logic to be handled by framework code instead of duplicated across @Controller code
Issue 1:
First thought was extending MarkdownWidget and clipping the received children, but if I'm not mistaking longer text sections without an explicit line break will be packed into a single widget.

Any thoughts?

Issue 2:
Steps to Reproduce

Set FontWeight.bold to Text's style. Emoji are not displayed.

void main() {
runApp(new MaterialApp(
home: new Scaffold(
appBar: new AppBar(
title: const Text('Emoji'),
),
body: new Container(
padding: const EdgeInsets.all(20.0),
child: new Column(
children: <Widget>[
new Text('normal 😀 💪 emoji'),
new Text('bold 😀 💪 emoji',
style: const TextStyle(fontWeight: FontWeight.bold)),
],
),
),
),
));
}

Flutter Doctor

[✓] Flutter (on Mac OS X 10.12.6 16G29, locale ja-JP, channel master)
• Flutter at /Applications/flutter
• Framework revision 79fbf8bb03 (4 hours ago), 2017-10-18 20:55:00 -0700
• Engine revision 7c4142808c
• Tools Dart version 1.25.0-dev.11.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.1)
• Android SDK at /Users/najeira/Library/Android/sdk
• Platform android-26, build-tools 26.0.1
• ANDROID_HOME = /Users/najeira/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.0, Build version 9A235
• ios-deploy 1.9.2
• CocoaPods version 1.2.1

[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.1)
• Flutter plugin version 16.0
• Dart plugin version 172.3544.34
Issue 1:
It would be extremely handy if the fancy zones showed their dimensions for the OCD amongst us. This could be implemented by vertical & horizontal arrows within each zone, showing the size.

Issue 2:
https://www.reddit.com/r/Windows10/comments/ez4xpz/lets_fix_this_monitor_positioning_issue_after/

Reddit's user vanarebane had a great idea here. When the mouse crosses a monitor boundary, we extrapolate where the mouse should be mapped to on the next monitor as if they had a 1:1 side by side map.

image is from the Reddit link

As someone with exactly the setup the image shows, this would be very nice to have.
Issue 1:
TypeScript Version:

1.8.2

Code

function whatever (idA, idB) {
[idA, idB] = [idB, idA];

return true;
}

Expected behavior:

function whatever(idA, idB) {
var _a;
_a = [idB, idA], idA = _a[0], idB = _a[1];
return true;
}

Actual behavior:

function whatever(idA, idB) {
_a = [idB, idA], idA = _a[0], idB = _a[1];
return true;
var _a;
}

Thanks to variable hoisting, there is no functional problem here. However, I consider the compiled code unintuitive.

In addition, using Istanbul for code coverage highlights the var _a; declaration as not covered.

Issue 2:
From @admmasters on April 5, 2016 13:34

VSCode Version: Version 0.10.14-insider (0.10.14-insider)

OS Version: OSX 10.11.4

Steps to Reproduce:

Cmd+Click on a Component in JSX (also JS).

VSCode jumps to the import and not the file itself.

Expected:

VSCode should just jump to the file referenced in the import as its smart enough to know the specific import.

Copied from original issue: microsoft/vscode#4964
Issue 1:
FoX opened SPR-4111 and commented

All ApplicationListeners will be instantiated when the ApplicationContext registers its listeners.

The consequence of this operation for our application is that nearly all beans are initialized at startup time eventhough lazy-init is set to true on all contexts.

This is especially annoying in our integration tests, because the initialization takes a lot of time.

Isn't there a possibility to register these listeners as a proxy, allowing lazy initialization of these listeners until an application event occurs?

Or, maybe it would also be a valid solution to not put the listeners themselves in the map, but the bean names (not that nice, as it would break observer/observable pattern)

It seems that the getBeansOfType() method in the DefaultListableBeanFactory doesn't take the allowEagerInit boolean into account when retrieving the beans:

public Map getBeansOfType(Class type, boolean includePrototypes, boolean allowEagerInit) throws BeansException {

String[] beanNames = getBeanNamesForType(type, includePrototypes, allowEagerInit);

Map result = CollectionFactory.createLinkedMapIfPossible(beanNames.length);

for (int i = 0; i < beanNames.length; i++) {

String beanName = beanNames[i];

try {

// -----------------------> getBean(beanName) will always instantiate the bean, eager init or not?

result.put(beanName, getBean(beanName));

}

...

}

...

}

Affects: 2.0.7

Issue Links:

#8733 ApplicationListener beans eagerly instantiated even when marked as lazy-init ("duplicates")

Issue 2:
Patras Vlad Sebastian opened SPR-7984 and commented

Allow mapping the same method to multiple URL's that differ in respect to what path variables they use.

For example we do not want to transfer the id of the logged in user in the URL for security reasons and simplicity, but there are pages that can either show data for the logged in user or an other user, like a profile page.

I would like to be able to map a method like this:

@RequestMapping(value = {"/profile", "/profile/{userId}"})
public String showProfile(@PathVariable("userId") Integer userId) {
if (userId == null) {
userId = <get id of logged in user from session>;
}
//do stuff
}

The first path of the request mapping to does not have a "userId" path variable, and it would be nice if userId (the method parameter) would be null in this case, rather than throwing IllegalStateException.

Affects: 3.0.5

Issue Links:

#13049 A @PathVariable provided in the method parameter, but not in the @RequestMapping, will throw an IllegalStateException. ("is duplicated by")

1 votes, 4 watchers
Issue 1:
On Sf2.7 the same schemaLocation is used as before:

http://symfony.com/schema/dic/services/services-1.0.xsd

But there is an old schema, the new one is only in the DependencyInjection Component.

I think it would be a good idea to make a new version services-1.1.xsd and publish it under symfony.com

Issue 2:
http://symfony.com/schema/dic/services/services-1.0.xsd

is not in sync with

https://github.com/symfony/symfony/blob/master/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd

(expression as valid value for argument_type missing)
Issue 1:
Preflight Checklist

I have read the Contributing Guidelines for this project.

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

I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Electron Version

16.0.0-beta.4

What operating system are you using?

Ubuntu

Operating System Version

20.04

What arch are you using?

x64

Last Known Working Electron version

15.3.0

Expected Behavior

On Linux, app.getPath('crashDumps') should return something like:

~/.config/{{appName}}/Crash Reports/

Actual Behavior

However, with v16 beta it returns:

~/.config/Electron/Crash Reports/

Testcase Gist URL

No response

Issue 2:
Preflight Checklist

I have read the Contributing Guidelines for this project.

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

I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Electron Version

16.0.0-beta.3

What operating system are you using?

Other Linux

Operating System Version

Linux pop-os 5.13.0-7614-generic #⁠14~1631647151~21.04~930e87c-Ubuntu

What arch are you using?

x64

Last Known Working Electron version

15.3.0

Expected Behavior

From the documentation for app.getPath("userData") (https://www.electronjs.org/docs/latest/api/app#appgetpathname):

The directory for storing your app's configuration files, which by default it is the appData directory appended with your app's name.

So app.getPath("userData") in the linked gist should be ~/.config/test-electron.

Actual Behavior

app.getName() returns the correct name from package.json but app.getPath("userData") returns ~/.config/Electron.

Testcase Gist URL

https://gist.github.com/weedz/ad42b854df4e5bc411d18e48ae1c91df

Additional Information

Found this issue which might be relevant #30112.

Same result in the following devcontainer https://gist.github.com/weedz/c962d69078391115635772b279264c02.
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

Mac os

jdk1.8

Nacos1.1.4 集群

dubbo 2.7.6

spring boot 2.0.8

Steps to reproduce this issue

alibaba/nacos#2928

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

Operating System version: xxx

Java version: xxx

Steps to reproduce this issue

Start dubbo-demo consumer. By default the configuration it is using is zookeeper where user by default will not use zookeeper and go with multicast as provider is running on multicast.

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 1:
is a duplicate of #7540. Sorry.

Issue 2:
Hi guys,

Due to the model_selection refactor, there are a lot of dead links out there. Would it be an option to redirect the old pages such as

http://scikit-learn.org/stable/modules/generated/sklearn.grid_search.GridSearchCV.html

to

http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html

I know you're using an automated doc generator, so I can imagine this to be a bit a ball ache. But as an end user, I'm sure that this would be much appreciated.

Thanks!

-Kris
Issue 1:
VSCode Version:1.1.0-alpha

OS Version:Windows 10

Steps to Reproduce:

Run code-alpha --help

Shown as "list-extensions", should be "uninstall-extension"

--list-extensions List the installed extensions.
--install-extension <extension>
Installs an extension.
--list-extensions <extension>
Uninstalls an extension.

See b455db9#diff-e255a28340d4f20061d11494e99bd60b

Issue 2:
Using mainly the default generated files from generator-code, a significant number of devDependencies (mostly recursive) are pulled in - mainly because of Mocha. For development this is fine (I love Mocha). But why blindly package them all with vsce package? Perhaps create an output directory of everything vsce ls would find but node_modules, then run npm install --production and package that directory. Would certainly reduce the size of VSCode extensions. Mine - with only the addition of 1 small module (with no dependencies itself) is over 5MB.
Issue 1:
I have a live website with the problem here: www.studiotaroccomanta.com

If the main menu is collapsed and closed, when I click the button to open it everything works fine for the first level entries.

But when I visualize the submenu "ATTIVITA'" on mobile, leave it open, and then try to click one of the other FIRST level menu (like "CONTATTI"), the submenu simply close, staying on the current page, aka without redirecting me to the correct page.

Any ideas?

Issue 2:
In mobile devices, particularly android and safari when textbox is focused the screen moves upwards and textbox goes outside the screen.
Issue 1:
Electron Version: 2.0.0

Operating System (Platform and Version): Windows 10

Last known working Electron version: -

Expected Behavior

Non-dragable region if div with position: fixed; and -webkit-app-region: no-drag; is above div with -webkit-app-region: drag;

Actual behavior

region becomes dragable if it's position is fixed and div below has -webkit-app-region: drag;

To Reproduce

Make frameless window, make non-fixed div which have dragging enabled, put fixed div above and disable dragging. Still dragable.

Issue 2:
Electron version: 1.8.1

Operating system: Windows 7 x64

Expected behavior

mouse events should work normally on fixed/absolute-positioned elements.

Actual behavior

-webkit-app-region: drag overrides mouse events on elements positioned above and z-index doesn't have any effect

How to reproduce

HTML:

<nav></nav>
<header></header>

CSS:

nav{
position: absolute;
z-index: 100;
right: 0;
top: 0;
width: 200px;
height: 40px;
background: blue;
-webkit-app-region: no-drag;
}

nav:hover{
background: green;
}

header{
position: relative;
z-index: 5;
width: 100%;
height: 40px;
background: red;
-webkit-app-region: drag;
}

Moving the mouse over the blue nav doesn't turn it green because the header drag is stealing all mouse events...