WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Challenge Nest an Anchor Element within a Paragraph has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36.

"Run tests" button doesn't work after this manipulation:

Create an anchor("cat photos") as described in the task(current and a previous one)

On the next page(the next task) you will still have that link(part of the task). And if you're curious enough, you try to click that link you made on the right of the screen.

"Oh, nothing happens, developers did well".

Do the task and press "Run tests"

Nothing happens

It doesn't work either by clicking on the button or pressing 'CTRL+ENTER'

If you update the page and do not click that link, it passes okay. Just a minor bug that I felt I should report.

Thanks for an amazing website.

My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

.smaller-image {
width: 100px;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>View more <a href="http://www.freecatphotoapp.com">cat photos</a></p>

<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat">

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Issue 2:
Challenge make-elements-only-visible-to-a-screen-reader-by-using-custom-css has an issue.

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

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

The code editor in this particular challenge is not loading properly.
Issue 1:
Challenge http://www.freecodecamp.com/challenges/waypoint-sift-through-text-with-regular-expressions has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

I'm forced by 2nd assertion to write:

var expression = /and+/gi;

which searches in testString for and or andd or anddd ... That's not the purpose of the exercise.

Also, the lesson is wrong about the regular expression: /the+/gi

+ means we want to find one or more occurrences of this pattern.

g after \, not +, tells to function match to find all occurrences of this pattern in testString

If we have to find a repeating succession of 'the' word, the regular expression has to be /(the)+/gi at least.

Issue 2:
In order to pass the test for this waypoint, the comment for the slash-start-start-slash type of commenting has to be on the same line as the first slash-star, otherwise it doesn't work.

Challenge http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Issue 1:
now that we removed sandbox in #13670, some scripts remain that use this.

I think we could fully remove the bench sub-dir, taking care if we don't have asv's for anything there (I think we do but need to check). (PR #16984)

scripts dir, we can blow windows_builder (PR #16984)

scripts dir, we can blow away most of these with the exception of: api_rst_coverage.py, find_undoc_args.py, merge-py.py, find_commits_touching_func.py, again checking for any benchmark scripts and make sure we have asv.

add README.md for scripts that documents purpose of these scripts

move pandas/build_dist.sh and pandas/release_stats.sh to scripts (need to updat e commit checklist though and slightly modify).

remove pandas/test_perf.sh and pandas/Makefile

Issue 2:
related #4468

Add keyword argument to ExcelFile parser to take an integer / list for the rows to interpret as header rows. If more than one, interpret as hierarchical columns / MultiIndex.

Presumably this would also allow you to round-trip Data Frame with hierarchical columns.

Basically, if you have something spanning two columns, just converts to two cells with the data in the original cell, ending up just like what you need for csv reader.
Issue 1:
to simple windows-maxsize -> page.windows_maxmize() like selenium;

Issue 2:
Selenium feature: https://www.selenium.dev/selenium/docs/api/py/webdriver_remote/selenium.webdriver.remote.webdriver.html#selenium.webdriver.remote.webdriver.WebDriver.maximize_window

Requested via Slack.

Scenario: Automate a website and then let the user complete something. Its great if the max possible width/height could be determined so the user has "maximum available viewport".

But not sure how or if its easy implementable since we in CR e.g. emulate the viewport independent from the window size.

For Chromium it works already like that:

// @ts-check
const playwright = require('playwright');

(async () => {
const browser = await playwright.chromium.launch({
args: ["--start-maximized"],
headless: false,
});
const context = await browser.newContext({
viewport: null
});
const page = await context.newPage();
await page.goto('http://whatsmyuseragent.org/');
await browser.close();
})();
Issue 1:
The documentation says very little about the priority attribute:

priority (int): The task priority, a number between 0 and 9.
Defaults to the :attr:`priority` attribute.

If you go to the bottom of the following page - http://docs.celeryproject.org/en/latest/userguide/calling.html - you will see:

priority

A number between 0 and 255, where 255 is the highest priority.

Supported by: RabbitMQ, Redis (priority reversed, 0 is highest).

So please clarify (and update the documentation):

Which of these documents are telling the right information - the (current) source code, or the docs.celeryproject.org ?

How are priorities ordered - does priority=0 mean highest priority, or not? Or it depends on the backend, as the docs page says...

Related StackOverflow question: https://stackoverflow.com/questions/49319834/could-someone-please-clarify-the-task-priority-usage-in-celery-tasks

Issue 2:
Checklist

I have checked the issues list

for similar or identical enhancement to an existing feature.

I have checked the pull requests list

for existing proposed enhancements.

I have checked the commit log

to find out if the if the same enhancement was already implemented in the

master branch.

I have included all related issues and possible duplicate issues in this issue

(If there are none, check this box anyway).

Related Issues and Possible Duplicates

Related Issues

None

Possible Duplicates

None

Brief Summary

Unfortunately Riak's development is discontinued.

Last commit on the python client's repository was 3 years ago.

The Python client doesn't support Python versions > 3.6 which is a problem for us.

We need to deprecate it and remove it from the codebase.

Design

The first step is to issue a deprecation warning to all of the Riak backend users.

I suspect there aren't many.

The second step is to remove the backend entirely.

Architectural Considerations

None

Proposed Behavior

N/A

Proposed UI/UX

A DeprecationWarning will be printed to the users.

Diagrams

N/A

Alternatives

None
Issue 1:
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/include\thrust/detail/allocator/allocator_traits.inl(101): error C2065: 't': undeclared identifier
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/include\thrust/detail/allocator/allocator_traits.inl(101): error C2923: 'std::_Select<__formal>::_Apply': 't' is not a valid template type argument for parameter '<unnamed-symbol>'
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/include\thrust/detail/allocator/allocator_traits.inl(101): error C2062: type 'unknown-type' unexpected
"

https://ci.pytorch.org/jenkins/job/caffe2-builds/job/py2-cuda9.0-cudnn7-windows-trigger-build/65967/

In this case it failed while Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedShort.cu.obj

It doesn't seem to happen reliably which is very mysterious.

cc @peterjc123

Issue 2:
Kind of similar to #25389

Sometimes our Eigen build fails this way:

C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2993: 'Derived': illegal type for non-type template parameter '__formal'
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2065: 'RhsType': undeclared identifier
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2923: 'std::_Select<__formal>::_Apply': 'RhsType' is not a valid template type argument for parameter '<unnamed-symbol>'
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2144: syntax error: 'unknown-type' should be preceded by ')'
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2144: syntax error: 'unknown-type' should be preceded by ';'
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(367): error C2062: type 'bool' unexpected
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(369): error C2059: syntax error: ')'
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(371): error C2143: syntax error: missing ';' before '{'
C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(371): error C2447: '{': missing function header (old-style formal list?)

It doesn't seem to reliably repro.

cc @ezyang @gchanan @zou3519 @seemethere @peterjc123
Issue 1:
TypeScript Version:

1.8.10

Code

function Foo() {
console.log(new.target);
}

new Foo();

Expected behavior:

When targeting ES6, this should compile without an error.

new.target is an obscure bit of ES6, but it is there, for example running the code in an ES6 browser returns what is expected in that new.target === Foo. When it is just Foo() without new then new.target === undefined.

While it maybe challenging to come up with an emit that works for ES5, it should be at least supported when targeting ES6.

I suspect and emit for ES6 might be something like this:

function Foo() {
var _newTarget = this === window ? undefined : this && this.constructor;
console.log(_newTarget);
}

Actual behavior:

Compiles as:

$ tsc --target es6 test.ts
test.ts(2,18): error TS1109: Expression expected.

Issue 2:
There isn't a lot in the current ES6 spec draft, but it seems to indicate the constructor object that is in the process of being new'd at runtime.
Issue 1:
Some element set display is inline-block, when use .visible-xx or .hidden-xx it will replace to block. and i found that bootstrap add tr,td,th style for the issues. I suggest use display:none only, like this::

@media (max-width: 767px) {
.visible-sm, .visible-md, .visible-lg, .hidden-xs{
display: none !important;
}
}

@media (min-width: 768px) and (max-width: 991px) {
.visible-xs, .visible-md, .visible-lg, .hidden-sm{
display: none !important;
}
}

@media (min-width: 992px) and (max-width: 1199px) {
.visible-xs, .visible-sm, .visible-lg, .hidden-md{
display: none !important;
}
}

@media (min-width: 1200px) {
.visible-xs, .visible-sm, .visible-md, .hidden-lg{
display: none !important;
}
}

and bootstrap can remove all .visible-xx and .hidden-xx before.

Issue 2:
related to issues #8500 , #7808 , #4929 ; using .hidden-sm to hide span within .nav > li > a . Because class is display: block above -sm then text wraps to new line. Would you consider .hidden-* classes to be display: inline-block instead ?

Here's a jsfiddle of the two cases - but the repercussions could be greater outside of this situation so probably needs more consideration... http://jsfiddle.net/jholl/P86yf/
Issue 1:
This might be considered a duplicate of #357 but it's not exactly the same issue.

I'd like to expose my application to the global share menu and to receive data from other applications, not only browsers.

The OS's share menu usually allows sharing data between apps like simple strings or even images.

Is it planned for Flutter?

Issue 2:
OEM widget:

Flutter widget:

Couple of things I noticed:

dates are a darker color in OEM version

left and right arrows in OEM version

month name has more top padding in OEM version

the day abbreviations are lighter, and thinner, in OEM version

"cancel" seems closer to "ok" in the OEM version

the year is in a different place

(also, the assumption is that the OEM widget follows the material design spec. Not sure if that's true? https://www.google.com/design/spec/components/pickers.html#pickers-usage looks more like the OEM version at a quick glance)
Issue 1:
Dave Syer opened SPR-9367 and commented

It is very difficult (impossible) to handle a 401 response in the RestTemplate with default settings (Documentation?). In fact it is possible, but you have to supply an error handler and a request factory. The error handler was obvious, but the problem is that the default request factory uses java.net which can throw HttpRetryException when you try to look at the status code of the response (despite it being obviously available). The solution is to use HttpComponentsClientHttpRequestFactory. E.g.

template.setRequestFactory(new HttpComponentsClientHttpRequestFactory());
template.setErrorHandler(new DefaultResponseErrorHandler() {
public boolean hasError(ClientHttpResponse response) throws IOException {
HttpStatus statusCode = response.getStatusCode();
return statusCode.series() == HttpStatus.Series.SERVER_ERROR;
}
});

With these settings then a 401 JSON response will be extracted and converted nicely if you just use template.exchange() expecting a JSON response in the 200 case. This is not exactly clear from the user guide, and HttpComponentsClientHttpRequestFactory isn't even mentioned - the deprecated CommonsClientHttpRequestFactory is (I'm looking at http://static.springsource.org/spring/docs/current/spring-framework-reference/htmlsingle/spring-framework-reference.html).

Affects: 3.1.1

Issue Links:

#21321 RestTemplate - providing custom ResponseErrorHandler does not prevent an error with http 401 responses ("is duplicated by")

Referenced from: commits 24ffa5a

Issue 2:
Matthew Sgarlata opened SPR-5931 and commented

The dojo framework creates form widgets using a syntax like this

<select	dojoType="dijit.form.FilteringSelect"
id="setvaluetest2"
name="state1"
autoComplete="false"
invalidMessage="Invalid state name"
onChange="dojo.byId('oc1').value=arguments[0]"

As far as I can tell, it's impossible to do stuff like this with the Spring <form> tags because there is no way to specify non-standard HTML attributes. An approach I've used for my own custom tags is to add a catch-all attribute called "attributes" so the syntax would look something like

<form:select id="setvaluetest2" attributes='dojoType="dijit.form.FilteringSelect" invalidMessage="Invalid state name" ... etc

Attachments:

SPR-5931-patch-draft.txt (4.54 kB)

Issue Links:

#10782 Upgrade the Spring JSP tag libraries to JSP 2.0 ("depends on")

#10543 form.tld - Add support for custom attributes ("is duplicated by")

Referenced from: commits 982ece5

1 votes, 3 watchers
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.6.1 - newest

Step to reproduce this issue

String value = null;

RpcContext.getContext().getAttachments().put("demokey", value)

2.

then invoke one method will NullPointException

**The Exception reason:

In RpcContextFilter.java，public void filter(ClientRequestContext requestContext) throws IOException

for (Map.Entry<String, String> entry : RpcContext.getContext().getAttachments().entrySet()) {

if (entry.getValue().contains(",") || entry.getValue().contains("=")

the entry.getValue not judge null!!**

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: 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 1:
It would be nice if keybindings.json added a warning (i.e yellow underscore) on a keybinding if it detects it is a duplicate with an existing keybinding.

Thanks

Issue 2:
If I try to install the extension, vscode asks to restart, then after restarting I see an "issue" at the bottom left of the vscode window.

[c:/Program Files (x86)/Microsoft VS Code/resources/app/extensions/csharp-o]: Cannot read file c:/Program Files (x86)/Microsoft VS Code/resources/app/extensions/csharp-o/package.json: ENOENT: no such file or directory, open 'c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\csharp-o\package.json'

This also breaks the install system, as the extension is half installed, I had to remove the extensions folder to fix that.
Issue 1:
I think next.js grown up into level when examples could live by own life in separate repository (eg. zeit/next.js-examples). Examples are more about wide community than core development and doesn't require so much quality as core do.

Many pull request are about updating examples or about adding new examples.

Separation could improve dynamism of both projects.

Issue 2:
And instead open a new repo called zeit/next.js-examples

It's painful to download all examples while cloning next.js for hacking...
Issue 1:
Consider:

- hosts: all

tasks:

- name: echo stuff
command: 'echo "{{ item }}"'
notify: notifier {{ item }}
with_items:
- "a"
- "b"
- "c"

handlers:

- name: notifier a
command: 'echo "A OK"'

- name: notifier b
command: 'echo "B OK"'

- name: notifier c
command: 'echo "C OK"'

This errors (on ansible 1.8.2) with:

PLAY [all] ********************************************************************

GATHERING FACTS ***************************************************************
ok: [test_server_3]
ok: [test_server_2]
ok: [test_server_1]

TASK: [echo stuff] ************************************************************
changed: [test_server_2] => (item=a)
changed: [test_server_3] => (item=a)
changed: [test_server_1] => (item=a)
changed: [test_server_2] => (item=b)
changed: [test_server_1] => (item=b)
changed: [test_server_3] => (item=b)
changed: [test_server_1] => (item=c)
changed: [test_server_2] => (item=c)
changed: [test_server_3] => (item=c)
ERROR: change handler (notifier {{ item }}) is not defined

It would awesome to define handlers with variable reference.

Issue 2:
Issue Type:

Bug Report

Ansible Version:

ansible 1.5.3

Environment:

N/A

Summary:

Parent task unable to call handlers of child

Steps To Reproduce:

production.yml
roles/
upstart/
tasks/
main.yml
templates/
upstart.conf.j2
graphite-web/
handlers/
main.yml
meta/
main.yml

roles/upstart/tasks/main.yml:

- name: config | {{ name }} | upstart template
sudo: yes
template: src=upstart.conf.j2 dest=/etc/init/{{ name }}.conf
ignore_errors: true
notify: restart {{ name }}

roles/upstart/templates/upstart.conf.j2:

description '{{ name }} upstart script'
author 'Joel'

start on (local-filesystems and net-device-up)
stop on shutdown

instance "{{ name }}"

respawn
respawn limit 5 60
limit nofile 165962 165962

script
{{script}}
end script

roles/graphite-web/handlers/main.yml:

- name: restart graphite
sudo: yes
service: name=graphite-web state=restarted

roles/graphite-web/meta/main.yml:

---
dependencies:
- { role: upstart, name: graphite-web, script: "/bin/true" }

Expected Results:

Play should run without errors, roles/upstart/tasks/main.yml should be able to call a notify on roles/graphite-web/handlers/main.yml

Actual Results:

ERROR: change handler (restart graphite-web) is not defined

Ansible failed to complete successfully. Any error output should be

visible above. Please fix these errors and try again.
Issue 1:
The following crashes in 0.7 and 1.0. I cannot reproduce this without parametric types or without at least two Unions in the struct.

struct Test{T}
A::Array{Union{Missing, T},1}
x::Union{Nothing, Int}
end

Base.map(f, t::Test) = Test(map(f, t.A), 1)

t = Test([missing, 1], 1)

Test(map(x->x, t.A), 1) # works
map(x->x, t) # crash

Versioninfo:

versioninfo()
Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, haswell)

The crash message:

Unreachable reached at 0x11ad423a4

signal (4): Illegal instruction: 4
in expression starting at /Users/epta/.julia/v0.7/GeoRaster/crash.jl:12
map at /Users/epta/.julia/v0.7/GeoRaster/crash.jl:7
jl_fptr_trampoline at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1829
do_call at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:324
eval_stmt_value at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:363 [inlined]
eval_body at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:686
jl_interpret_toplevel_thunk_callback at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:799
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x11492a85f)
unknown function (ip: 0x6)
jl_interpret_toplevel_thunk at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:808
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:831
jl_parse_eval_all at /Users/osx/buildbot/slave/package_osx64/build/src/ast.c:841
jl_load at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:865 [inlined]
jl_load_ at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:872
include at ./boot.jl:317 [inlined]
include_relative at ./loading.jl:1038
include at ./sysimg.jl:29
exec_options at ./client.jl:239
_start at ./client.jl:432
true_main at /Applications/Julia-0.7.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Applications/Julia-0.7.app/Contents/Resources/julia/bin/julia (unknown line)
Allocations: 581374 (Pool: 581270; Big: 104); GC: 0
[1] 18287 illegal hardware instruction /Applications/Julia-0.7.app/Contents/Resources/julia/bin/julia crash.jl

Code_typed:

print(@code_typed map(x->x, t))
CodeInfo(
7 1 ─ %1 = (Base.getfield)(t, :A)::Array{Union{Missing, Int64},1}
│ %2 = %new(Generator{Array{Union{Missing, Int64},1},##5#6}, ##5#6(), %1)::Generator{Array{Union{Missing, Int64},1},##5#6}
│ %3 = invoke Base._collect(%1::Array{Union{Missing, Int64},1}, %2::Base.Generator{Array{Union{Missing, Int64},1},getfield(Main, Symbol("##5#6"))}, $(QuoteNode(Base.EltypeUnknown()))::Base.EltypeUnknown, $(QuoteNode(Base.HasShape{1}()))::Base.HasShape{1})::Array
│ (Main.Test)(%3, 1)::Union{}
│ $(Expr(:unreachable))::Union{}
└── $(Expr(:unreachable))::Union{}
) => Union{}%

Issue 2:
Difficult to tell if this is a duplicate of some existing subtyping issue, but it's important:

julia> typeintersect(Base.RefValue, Ref{Union{Int,T}} where T)
Union{}

The answer should be (ideally) RefValue{Union{Int,T}} where T.