WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Gary Russell opened SPR-9200 and commented

A number of errors have crept into the DMLC Javadocs.

For example:

setCachLevel() says that while the default is CACHE_NONE with an external txManager, it can be overridden. This is not the case because a new connection is obtained for each poll and bound to the thread.

setTransactionManager refers to AMLC class Javadocs, which in turn imply that for downstream JmsTemplate within an @Transacted method needs the LC to have an external JmsTransactionManager.

"* The effect is similar to "sessionTransacted" set
* to "true", the difference being that this external transaction management
* will also affect independent JMS access code within the service layer
* (e.g. based on {@link org.springframework.jms.core.JmsTemplate} or
* {@link org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy}),
* not just direct JMS Session usage in a {@link SessionAwareMessageListener}."

In fact, even with sessionTransacted=true the session is bound to the thread via a LocallyExposedJmsResourceHolder and no external txManager is required and, if provided, precludes caching in the DMLC (CCF is needed).

It is now generally recommended that an external txManager only be provided if JTA is needed.

Suggest a thorough review of all Listener Container documentation regarding the use of JmsTransactionManager.

Affects: 3.1.1

Reference URL: http://forum.springsource.org/showthread.php?123631-JMS-DMLC-not-caching-connection-when-using-TX-despite-cacheLevel-CACHE_CONSUMER

Issue Links:

#12536 Better abstraction for transactional configuration in DMLC ("is duplicated by")

Referenced from: commits 674bad4

Issue 2:
Paul Nardone opened SPR-8806 and commented

Transcribed by cbeams from Paul's original comment on #12995

I am experiencing an issue with ExtendedBeanInfo and covariante propertytypes i've yet to isolate a simple test but it appears to be due using JDK PropertyDescriptor and the long standing JDK bug that are the cause resulting in

java.beans.IntrospectionException: type mismatch between read and write methods

at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:603)

at java.beans.PropertyDescriptor.setWriteMethod(PropertyDescriptor.java:270)

at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:117)

at org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:260)

at org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:178)

at org.springframework.beans.ExtendedBeanInfo.<init>(ExtendedBeanInfo.java:95)

at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:224)

... 124 more

Attachments:

testspringprops_1.zip (10.74 kB)

Issue Links:

#13137 Regression - Introspection with BeanUtils started failing for java.awt.Component derived classes ("is duplicated by")

#12995 Review ExtendedBeanInfo implementation

#14663 Overhaul non-void JavaBean write method support
Issue 1:
#4213 added support to address instances by their names in route53, but a host_vars file with the same name is not being picked up by ansible.

Issue 2:
ISSUE TYPE

Bug Report

COMPONENT NAME

ssh connection plugin

ANSIBLE VERSION

ansible 2.0.2.0
config file = /root/rescube-devops/ansible/ansible.cfg
configured module search path = Default w/o overrides

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

ansible adds the -q (quiet) option when using ssh, but this hides the errors produced by ssh even when using -vvv

STEPS TO REPRODUCE

try to connect to a host with authorized keys not set up

ansible-playbook playbook.yml -vvv

EXPECTED RESULTS

The output should contain the string (the stderr from ssh when not using -q):

Permission denied (publickey,password).

ACTUAL RESULTS

fatal: [targetmachine]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}
to retry, use: --limit @playbook.retry
PLAY RECAP *********************************************************************
targetmachine : ok=0 changed=0 unreachable=1 failed=0

I believe -vvv should turn off the -q for ssh and show the ssh output to the user, to help diagnose the problem. Also ansible-playbook -vvvv could even enable -vvv for ssh (and only display if retval!=0) :)
Issue 1:
The following code fails with an ICE:

#![feature(associated_types)]
trait ATrait<T> {
type Output;
fn return_output() -> <Self as ATrait<T>>::Output;
}

The error:

associated.rs:4:43: 4:44 error: internal compiler error: unbound path path(T)
associated.rs:4 fn return_output() -> <Self as ATrait<T>>::Output;
^
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libsyntax/diagnostic.rs:113

Issue 2:
The version is rustc 0.12.0-nightly (9508faa22 2014-09-17 23:45:36 +0000)

Code:

trait Foo<T> {
type Bar;
fn get_bar() -> <Self as Foo<T>>::Bar;
}

Error:

C:\Users\Tomaka17\Projets\test\src\main.rs:5:34: 5:35 error: internal compiler e
rror: unbound path path(T)
C:\Users\Tomaka17\Projets\test\src\main.rs:5 fn get_bar() -> <Self as Foo<T>
>::Bar;
^
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugr
eport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'Box<Any>', C:\bot\slave\nightly-win32\build\src\libsynta
x\ast_util.rs:751

(because of some issues with my shell I can't print a backtrace for now)
Issue 1:
Description

[Description of the issue]

Steps to Reproduce

[First Step]

[Second Step]

[and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

Please paste here the output of executing scrapy version --verbose in the command line.

Additional context

Any additional information, configuration, data or output from commands that might be necessary to reproduce or understand the issue. Please try not to include screenshots of code or the command line, paste the contents as text instead. You can use GitHub Flavored Markdown to make the text look better.

Issue 2:
this is partly bug, partly feature but you can do something like this:

scrapy crawl dmoz -a start_requests="this"

and it will effectively overwrite spider start_requests with string "this" so that you will get

2015-12-10 14:19:05 [twisted] CRITICAL: Unhandled error in Deferred:

Traceback (most recent call last):
File "/home/pawel//src/scrapy/scrapy/cmdline.py", line 150, in _run_command
cmd.run(args, opts)
File "/home/pawel/scrapy/scrapy/commands/crawl.py", line 57, in run
self.crawler_process.crawl(spname, **opts.spargs)
File "/home/pawelsrc/scrapy/scrapy/crawler.py", line 153, in crawl
d = crawler.crawl(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1274, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File "/home/pawel/src/scrapy/scrapy/crawler.py", line 72, in crawl
start_requests = iter(self.spider.start_requests())
exceptions.TypeError: 'str' object is not callable
2015-12-10 14:19:05 [twisted] CRITICAL:

I discovered this when client asked to add option to pass download_delay when scheduling. Turns out you can do this without any updates to spider, but the type will be invalid.

I think it could be dangerous though, it allows lots of control over spider settings and can cause mysterious bugs, imagine you have some spider attribute that is string and someone passes this attribute from command line too. It would be unexpected for most users that command line argument can overwrite object attribute. The line responsible for this is here: https://github.com/scrapy/scrapy/blob/master/scrapy/spiders/__init__.py#L30
Issue 1:
Atom automatically inserts a newline at the end of a file on save. In my opinion, this is bad behavior because it is confusing and potentially problematic to save something that differs from what has been edited.

As one example, if I am editing a file in an existing repo, I don't want to automatically insert a newline because the resulting diff will distract from what I'm trying to do.

In addition, it's not just that this happens silently, it's that I can't find any way to end a file without a newline. Let me edit my files! =)

I couldn't find a setting for this, although I may be missing something. In my opinion this should not be default behavior in any case.

Issue 2:
Dupes of label -> command menu items should be gracefully handled.
Issue 1:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
>=3.2.2 >=3.3.0-beta1

Validation caching merges constraints for class and all of its parents. It's wrong behaviour, because the class already contains constraints from parent classes. As a result we have duplicated constraint.

The way to reproduce

Create two models, the second one extends the first one:

namespace AppBundle\Model;

class Foo
{
public $foo;
}

namespace AppBundle\Model;

class Bar extends Foo
{
}

Create validation config, add constraint to the first class, the second class should be defined (empty or with some constraints)

AppBundle\Model\Foo:
constraints:
- Expression: "this.foo !== null"

AppBundle\Model\Bar:

And validation of new Bar object will generates two duplicated violations:

$container->get('validator')->validate(new Bar()));

Note: this code should be executed in prod environment, because test environment doesn't use validation cache by default.

Issue 2:
Drupal needs potentially to adapt the exception listener to add more information from the original request. (see http://drupal.org/node/2057607) so what about extracing some of the logic into a new method.

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets

License
MIT
Issue 1:
The weekly build with nightly wheels from numpy and pandas

has failed. Check the logs for any updates that need to be

made in matplotlib.

https://github.com/matplotlib/matplotlib/actions/runs/2639783409

Issue 2:
As far as I can see (and according to the documentation), the only way to set the font of mathtext snippets in plots is via the mathtext.fontset rcparam.

It would be nice if there were some way to control the fonts used for mathtext rendering without messing with the rcparams system. Maybe the font could be chosen based on the FontProperties instance associated with the Text object? To make a concrete example, it would be nice if the y label for this plot were rendered using a serif font, like the rest of the plot.

import numpy as np
from matplotlib import pyplot as plt
from matplotlib.font_manager import FontProperties

fig, ax = plt.subplots()

fp = FontProperties(**{'family': 'stixgeneral'})

im = ax.imshow(np.random.random((800, 800)))
cb = fig.colorbar(im)
cbax = cb.ax

ax.set_xlabel('x label')
ax.set_ylabel(r'$\rm{y\ label}$')
cb.set_label('colorbar label')

labels = ax.xaxis.get_ticklabels() + ax.yaxis.get_ticklabels()
labels += cbax.yaxis.get_ticklabels()
labels += [ax.xaxis.label, ax.yaxis.label, cbax.yaxis.label]

for label in labels:
label.set_fontproperties(fp)

plt.savefig('test.png')

For additional context, see #6514 and my message to the matplotlib-devel mailing list: https://mail.python.org/pipermail/matplotlib-devel/2016-May/000454.html
Issue 1:
This is a regression from v1.32.3 to v1.32.4, likely caused by #18587

Seems similar to #17332, but given that this is a regression, I thought it warranted a separate issue.

See also #18587 (comment)

import { delay } from "https://deno.land/std@0.183.0/async/mod.ts"
import { serve } from "https://deno.land/std@0.183.0/http/mod.ts"

console.log(Deno.version.deno)

const controller = new AbortController()

serve(async (request) => {
const { response, socket } = Deno.upgradeWebSocket(request)

socket.addEventListener("open", async () => {
console.log("server close")
})

socket.addEventListener("close", async () => {
console.log("server close")
})

socket.addEventListener("message", async (event) => {
console.log("server message", event.data)
await delay(1) // this seems to be important; if commented out, this works on 1.32.4
console.log("server send", event.data)
socket.send(event.data)
})

return response
}, {
port: 0,
signal: controller.signal,
onListen: ({ hostname, port }) => {
const ws = new WebSocket(`ws://${hostname}:${port}/`)

ws.addEventListener("open", () => {
console.log("client open")
const data = "hello world"
ws.send(data)
console.log("client send", data)
})

ws.addEventListener("message", (ev) => {
console.log("client recv", ev.data)
controller.abort()
ws.close()
})

ws.addEventListener("close", () => {
console.log("client close")
})
},
})

$ deno run -A repro.ts
1.32.3
server close
client open
client send hello world
server message hello world
server send hello world
client recv hello world
server close
client close
# exits

$ deno run -A repro.ts
1.32.4
server close
client open
client send hello world
server message hello world
server send hello world
# hangs

Issue 2:
For some reason server now only pushes at the same time the browser client pulls something.

i use wss, establishing connection works fine, server onMessage works fine, but after using send on the server it just waits and does nothing until next incoming.

by downgrading to 1.32.3 everything works normal again.

Sidenote: with firefox websockets are waaaaay slower than with chrome.
Issue 1:
GlideApp

.with(myFragment)

.load(url)

.centerCrop()

.placeholder(R.drawable.loading_spinner)

.into(myImageView);

implementation 'com.github.bumptech.glide:glide:4.4.0'

annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'

no find GlideApp

Issue 2:
Hi, I load a gif image from local

The gif：

and other gifs:

I use

int source = R.drawble.xxx;

Glide.with(this).load(source).asGif().diskCacheStrategy(DiskCacheStrategy.SOURCE).into(imageView);

to load those Gifs

But I find the gif1 and gif2 can't display very well, though the gif can display on the phone, but it flick(flash , twinkle, glint sorry I'm not a English speaker, I don't know how to express it well, all in all the Gif1 and Gif2 in glide are not playing well, It seems that the last frame doesn't disappear)

However the 3rd Gif is normal.

I'm confused about the question, I try many gifs and find it seems that when the gif's background is transparent it will appear(not for all, just some of them)

I use Glide 3.6.1

and also find this problem in 3.7.0

But when I choose another gif lib like:

koral--/android-gif-drawable

it display all gifs very well.

So I help to solve this problem.

Thank you very much!
Issue 1:
Hi,

the albert tokenizer implements the convert_tokens_to_string function:

transformers/src/transformers/models/albert/tokenization_albert.py

Lines 222 to 223
in
ba0d50f

out_string = "".join(tokens).replace(SPIECE_UNDERLINE, " ").strip()

return out_string

While the deberta v2 and some other tokenizer just delegate this to the sentencepiece tokenizer:

transformers/src/transformers/models/deberta_v2/tokenization_deberta_v2.py

Line 146
in
ba0d50f

return self._tokenizer.decode(tokens)

IMO it would be better to always delegate to the sentencepiece tokenizer. What do you think?

PS:

Some more examples here

transformers/src/transformers/models/barthez/tokenization_barthez.py

Lines 251 to 252
in
ba0d50f

out_string = "".join(tokens).replace(SPIECE_UNDERLINE, " ").strip()

return out_string

transformers/src/transformers/models/camembert/tokenization_camembert.py

Lines 251 to 252
in
ba0d50f

out_string = "".join(tokens).replace(SPIECE_UNDERLINE, " ").strip()

return out_string

transformers/src/transformers/models/m2m_100/tokenization_m2m_100.py

Lines 187 to 188
in
ba0d50f

out_string = "".join(tokens).replace(SPIECE_UNDERLINE, " ").strip()

return out_string

transformers/src/transformers/models/mbart/tokenization_mbart50.py

Lines 208 to 209
in
ba0d50f

out_string = "".join(tokens).replace(SPIECE_UNDERLINE, " ").strip()

return out_string

transformers/src/transformers/models/speech_to_text/tokenization_speech_to_text.py

Lines 169 to 173
in
ba0d50f

out_string = "".join(tokens).replace(SPIECE_UNDERLINE, " ").strip()

if self.do_upper_case:

out_string = out_string.upper()

return out_string

transformers/src/transformers/models/xlm_prophetnet/tokenization_xlm_prophetnet.py

Lines 264 to 265
in
ba0d50f

out_string = "".join(tokens).replace(SPIECE_UNDERLINE, " ").strip()

return out_string

Issue 2:
System Info

When I finetuned the text classification model based on the glue no trainer script, I found a bug in our script.
The URL is below:
https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-classification/run_glue_no_trainer.py#L525

When we use the accelerator for multi-GPU training, the code should transfer from
if step == len(eval_dataloader)
to
if step == len(eval_dataloader) -1
Otherwise, it cannot work to filter the last step duplicated samples.

Who can help?

No response

Information

The official example scripts

My own modified scripts

Tasks

An officially supported task in the examples folder (such as GLUE/SQuAD, ...)

My own task or dataset (give details below)

Reproduction

just run the script with a text classification using multi-GPU accelerator. The problem occurs in the last step for duplicated samples.

Expected behavior

I think it should be fixed soon.
Issue 1:
Environment

Windows build number: 18363.900
PowerToys version: 0.19.2
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce

Use FancyZones' window arrangement utility by holding Shift while dragging a window. This might be specific to using a custom layout, I don't know yet.

Expected behavior

If you specify more or less than the default space around zones, that is how it should appear when you use FancyZones. It should retain the same behavior.

Actual behavior

After some time of using Windows, the space around zones gets reset to the default, 16. The layout options also shows that the space around zones has been reset.

Screenshots

Just to highlight the option I am referencing, I will provide more clarification if there is any confusion.

Issue 2:
📝 A Window Tiling Extension.

Some of us really like Tiling Window Managers, like i3, but it would be great if there was a powertoy to auto-tile windows when enabled, like the Pop!_OS 20.04 'Tile Windows' Feature. It would be great if this would be implemented in a later version, it would be great to see before 1.0. 👍

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Issue 1:
When you click on the triple horizontal lines to un-collapse the topbar then go back to a full size window and try to open a dropdown, the dropdown no longer opens.

To see the issue occur in jsfiddle, you will probably need two monitors, because it does not got from the mobile nav to the desktop nav.

http://jsfiddle.net/mzYsq/

Issue 2:
This is when enabling the responsive grid framework. I have this code:

<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">

<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>

<a class="brand" href="#">acme</a>

<!-- Everything here will be hidden below 940px -->
<div class="nav-collapse">
<ul class="nav">
<li><a href="#">Gallery</a></li>
<li><a href="#">Tools</a></li>
</ul>

<ul class="nav pull-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">My Account <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">My Profile</a></li>
<li><a href="#">My Galleries</a></li>
<li><a href="#">My Images</a></li>
</ul>
</li>
<li><a href="#">Logout</a></li>
</ul>

</div>

</div>
</div>
</div>
Issue 1:
I have a Symfony 2.6 project that uses the Symfony3 directory structure. When I clear/warmup for the first time the compiled DI container contains the wrong cache directory. E.g:

'kernel.cache_dir' => (dirname(dirname(dirname(__DIR__))).'/app/../var/cache/de_'),

While I have set my environment as "dev", not as "de_". This causes all sorts of problems and causes the application to fail due to missing directories.

Issue 2:
I just upgraded project to 2.6.1 from 2.5.8.

Running php bin/console cache:clear for a second time fails. Its reproducible with vanilla installation. Here is the screenshot:

I'm running these commands on Ubuntu 14.10, it also reproducible with (production servers) Debian Wheezy 7.6 with SYMFONY_ENV=prod.

https://twitter.com/oungur/status/541187828827578369
Issue 1:
Weekly Report of Dubbo

This is a weekly report of Dubbo. It summarizes what have changed in the project during the passed week, including pr merged, new contributors, and more things in the future.

It is all done by @dubbo-bot which is a collaborate robot.

Repo Overview

Basic data

Baisc data shows how the watch, star, fork and contributors count changed in the passed week.

Watch
Star
Fork
Contributors

3195
25700 (↑170)
14483 (↑86)
189 (↑1)

Issues & PRs

Issues & PRs show the new/closed issues/pull requests count in the passed week.

New Issues
Closed Issues
New PR
Merged PR

25
14
24
13

PR Overview

Thanks to contributions from community, Dubbo team merged 13 pull requests in the repository last week. They are:

Complete xsd definition for ConfigCenterConfig. (#3854)

Fix typo (#3839)

Fix issue 3785 (#3824)

polish code (#3823)

polish code (#3820)

polish code and fix some documentation errors (#3818)

RpcContext新增remoteApplicationName字段 (#3816)

[Dubbo-3812] fixed some small problems (#3811)

[Dubbo-3804] Update nacos client to 1.0.0-RC3 (#3810)

Update README.md (#3808)

remove duplicate code (#3807)

Add JSON-RPC protocol (#3786)

Merge dubbo-serialization-avro into incubator-dubbo #3708 (#3717)

Code Review Statistics

Dubbo encourages everyone to participant in code review, in order to improve software quality. Every week @dubbo-bot would automatically help to count pull request reviews of single github user as the following. So, try to help review code in this project.

Contributor ID
Pull Request Reviews

@ralf0131
25

@chickenlj
7

@chenlushun
7

@beiwei30
4

@htynkn
2

@CrazyHZM
2

@kexianjun
1

@nzomkxia
1

@lexburner
1

@Jeff-Lv
1

@moriadry
1

@kezhenxu94
1

Contributors Overview

It is Dubbo team's great honor to have new contributors from community. We really appreciate your contributions. Feel free to tell us if you have any opinion and please share this open source project with more people if you could. If you hope to be a contributor as well, please start from https://github.com/apache/incubator-dubbo/blob/master/CONTRIBUTING.md .

Here is the list of new contributors:

@rupertw

Thanks to you all.

Note: This robot is supported by Collabobot.

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

Java version: 1.8

Steps to reproduce this issue

Our project reference class 'com.alibaba.dubbo.rpc.RpcInvocation'. But this class is not included in module 'dubbo-compatible'.

It will help us a lot if class 'com.alibaba.dubbo.rpc.RpcInvocation' may be added to module 'dubbo-compatible'.