WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
The file example/template/index.tmpl has 2 distinct HTML elements with same ID "sidebar".

Afaiu this is not a good idea in HTML; one of them should be renamed.

Issue 2:
by TEgan256:

Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

Run "go version" and compare against
http://golang.org/doc/devel/release.html If a newer version of Go exists,
install it and retry what you did to reproduce the problem.

Thanks.

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1.
run this on windows x86_64 and it will crash
i am using mingw64 and i compiled sdl 1.2.15 and glew using the mingw compiler. I
followed this guide
http://www.gaia-gis.it/spatialite-3.0.0-BETA/mingw64_how_to.html
to setup mingw

What is the expected output?
it should display a line that runs infinite loop

What do you see instead?

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

Which operating system are you using?
windows 7 x86_64

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

Please provide any additional information below.

the function f() made from the c side works for some reason. If it call the function
C.f() from go everything works fine. But if i do it on separate lines such as

C.glBegin(...)
C.glEnd() and call those from go like in the example, it crashes, I stepped through it
and it seems to crash at the call of gl.Vertex2i call.

For some reason this works fine on another windows computer i tested out. This also
works on linux, but for some reason this computer crashes when doing this sort of thing.

some specific windows spec: amd a6-3420M APU with radeon hd graphics 1.5 ghz

Attachments:

test.go (1109 bytes)
Issue 1:
I'm evaluating Superset using the docker-compose quickstart on Linux, cloned from Git. I am unable to create new charts. However, opening an existing chart and saving it (with or without modifications) under a new name does work.

Expected results

Saving a new chart works.

Actual results

The save modal closes silently, but reopening shows the message "Failed to save slice". No new chart is created. A 500 error appears in the log, but no stack trace is available and the PostgreSQL container's /var/log/postgres is empty as logging does not seem to be configured.

superset_app | 172.20.0.1 - - [09/Jun/2020 15:05:57] "POST /superset/explore/?action=saveas&slice_name&add_to_dash=noSave&goto_dash=false HTTP/1.1" 500 -
superset_app | INFO:werkzeug:172.20.0.1 - - [09/Jun/2020 15:05:57] "POST /superset/explore/?action=saveas&slice_name&add_to_dash=noSave&goto_dash=false HTTP/1.1" 500 -

Screenshots

How to reproduce the bug

Create a new chart from the birth names sample set (I've seen the problem with both tables and big number/trendlines). In the screenshot below I adjusted the time range and group by and ran the query to validate, but those don't appear strictly necessary.

Save the chart, entering a name. The modal closes but nothing else happens.

Reopen the save modal to see the error message.

Checklist

I have checked the superset logs for python stacktraces and included it here as text if there are any.

I have reproduced the issue with at least the latest released version of superset.

I have checked the issue tracker for the same issue and I haven't found one similar.

Issue 2:
Currently, we can only create a chart from scratch, instead of modifying it based on an existing chart。
Issue 1:
Issue Type:

“Bug Report”

Ansible Version:

ansible 1.7.1

Environment:

Ubuntu 12.04, Python 2.7.3 in virtualenv.

Summary:

I use this often with no problem:

ansible-vault edit myfile.yml.encrypted --vault-password-file=~/ansible_password

But this fails:

ansible-vault decrypt myfile.yml.encrypted --vault-password-file=~/ansible_password

with ERROR: Values instance has no attribute 'vault_password_file'

Steps To Reproduce:

openssl rand -base64 12 > /tmp/ansible-password
echo 'foo: bar' > /tmp/file.yml
ansible-vault encrypt /tmp/file.yml --vault-password-file=/tmp/ansible-password
ansible-vault edit /tmp/file.yml --vault-password-file=/tmp/ansible-password
ansible-vault decrypt /tmp/file.yml --vault-password-file=/tmp/ansible-password

Expected Results:

The decrypt command should decrypt the file.

Actual Results:

I get ERROR: Values instance has no attribute 'vault_password_file'

Issue 2:
Issue Type: Bug Report

Ansible Version: 1.8 and 1.7.1

Environment: All

Summary: Mis-named variable breaks "ansible-vault decrypt" when used with --vault-password-file

Steps To Reproduce:

ansible-vault decrypt --vault-password-file=~/.password_file

Expected Results:

"File Decrypted"

Actual Results:

"ERROR: Values instance has no attribute 'vault_password_file'"
Issue 1:
ITMS-90338: Non-public API usage - The app contains or inherits from non-public classes in Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework: CAContext, CALayerHost, NSAccessibilityRemoteUIElement, NSNextStepFrame, NSThemeFrame, NSURLFileTypeMappings . If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

Issue 2:
I have read the Contributing Guidelines for this project.

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

Issue Details

Electron Version: 5.0.10

Rejection Email

ITMS-90338: Non-public API usage - The app contains or inherits from non-public classes in Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework: CAContext, CALayerHost, NSAccessibilityRemoteUIElement, NSNextStepFrame, NSThemeFrame, NSURLFileTypeMappings . If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
Issue 1:
p.form-control-static, label inside div.checkbox and label inside div.radio are always black. I apply has-* state on parent form-group, other controls are colored o.k.

Issue 2:
Validatio states should work the same for radio and checkboxes as well. If applied .has-error class on .form-group containing radio and/or checkboxes should apply styles on them as well. It is not happening right now.
Issue 1:
Hello everyone,

first things first – thanks to all of you for devoting your valuable time to this project! I have not found a corresponding issue for this case and I am not sure whether it is a bug or a feature. If it is a feature, please read this post as a suggestion for a more explicit documentation of the behavior.

Describe the bug

When I specify some request (or response) transformations in the default config and then use an empty array (or one with less transformation functions than the default has) in a request's transformation config, some of the default transformations are still being applied.

To Reproduce

client = Axios.create({
transformRequest: [
deepKebabTransform,
JSON.stringify
]
})

// ...

// a)
client.put(url, data, { transformRequest: [] })

// b)
client.put(url, data, { transformRequest: [data => data] })

In both cases, JSON.stringify is still run. In case a), both functions from the default config are applied.

Expected behavior

I would expect the default config entries for transformRequest and transformResponse (if not all array entries) to be either replaced completely by or merged with their counterparts in a request's config.

Environment:

Axios Version 0.18.0

OS: OSX 10.15.2

Browser: tested in Chrome 79.0.3945.88, Safari 13.0.4

Additional context

Regarding the merge function in utils I came to the assumption, that the arrays would likely be treated as objects and thus their entries are effectively overridden positionally.

Issue 2:
Describe the issue

When I read the 'Axios' source code, I found that' utils. deepMerge() 'will convert arrays to objects, which is unreasonable.

https://github.com/axios/axios/blob/master/lib/utils.js#L286

Code

var deepMerge = require('./lib/utils').deepMerge;
var a = {foo: {bar: 111}, hnd: [444, 555, 666]};
var b = {foo: {baz: 456}, hnd: [456, 789]};
console.log(deepMerge(a, b));

result

{ foo: { bar: 111, baz: 456 }, hnd: { '0': 456, '1': 789, '2': 666 } }

Expected behavior

Executing 'utils.deepMerge()' does not change the data type.

{ foo: { bar: 111, baz: 456 }, hnd: [ 456, 789, 666 ] }

Environment:

Axios Version 0.19.0
Issue 1:
When running test suites, I don't want to rely on an internet connection. However, I have defined the checkMX constraint on various email fields, and this does a remote DNS lookup to perform the validation.

Should it not be possible to tell the validator that for the test environment any remote DNS calls should be skipped? Currently some of my tests fail when there is no connectivity due to the MX lookup failing.

I have tried using expression syntax in the validation but this does not appear to work

email:
- Email:
message: The email {{ value }} does not seem to be valid.
checkMX: @=parameter('kernel.environment') == 'test' ? false : true

Any thoughts?

Issue 2:
stty: standard input: Invalid argument

ssh example.com stty -a
Issue 1:
Hi, I have one question

In our react component, we choose to discard using bable-plugin-transform-runtime,

so that we are building a duplicating code lib like function _classCallCheck () ={} ; _classCallCheck() ...

but we have a plan, in our engineering, we are using bable-plugin-transform-runtime to transform function _classCallCheck () ={} ; _classCallCheck() with babel/runtime under node_modules by webpack config, emm...something like:

{
test: /\.(js|jsx)?$/,
exclude: /node_modules\/(?!(@music)\/).*/,
use: [{
loader: 'babel-loader',
options: {}
}]
},

However, by looking into the packaged code, I found the duplicated codes is still exist, may i know how bable-plugin-transform-runtim works with bable-runtime ?

or our plan is wrong ? many thanks :)

Issue 2:
Issue originally made by Axel Rauschmayer (rauschma)

Bug information

Babel version: 6

Description

My understanding of these packages is:

babel-regenerator-runtime: support for transpiling generators to ES5

babel-polyfill: brings the ES6 runtime library to ES5

babel-runtime: the helpers that are normally compiled into the code, collected in a module, to improve code reuse.

If that is true then I don’t understand the following dependencies:

babel-polyfill depends on babel-regenerator-runtime and babel-runtime

babel-runtime depends on babel-runtime(!), core-js, babel-regenerator-runtime
Issue 1:
Hello. I found an inconsistency between SO (Seaborn Objects) and functional API.

When having a values sorted descendingly, SO puts the first value (as ordered in pandas df) to the bottom. This problem occurs only for horizontal bar chart.

SO

This works differently than in the functional API.

Functional API

Would it be possible to have the default set as in the functional API with an option to override it? This default would work better with value_counts, since people start looking at the plot from the top-left corner, so this is the place where we want them to show the "most important" category.

Issue 2:
Three distinctive things happen on the categorical axis in seaborn's categorical plots:

The scale is drawn to +/- 0.5 from the first and last tick, rather than using the normal margin logic

A grid is not shown, even when it otherwise would be with the active style

If on the y axis, the axis is inverted

It probably makes sense to have so.Nominal scales (including inferred ones) do this too. Some comments on implementation:

This is actually trickier than you'd think; I may have posted an issue over in matplotlib about this at one point, or just discussed on their gitter. I believe the suggested approach is to add an invisible artist with sticky edges and set the margin to 0. Feels like a hack! I might have looked into setting the sticky edges on the spine artist at one point?

Probably straightforward to do in Plotter._finalize_figure. Always a good idea? How do we defer to the theme if the user wants to force a grid? Should the grid be something that is set in the scale object itself

Probably straightforward to implement but I am not exactly sure where would be best.
Issue 1:
This is a plugin problem, right?

W/BiChannelGoogleApi(18413): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms
D/FirebaseAuth(18413): Notifying id token listeners about user ( K6KxjCzEPaTMX7FI801vgDfeX333 ).
D/FirebaseApp(18413): Notifying auth state listeners.
D/FirebaseApp(18413): Notified 0 auth state listeners.
D/FirebaseAuth(18413): Notifying auth state listeners about user ( K6KxjCzEPaTMX7FI801vgDfeX333 ).
D/AndroidRuntime(18413): Shutting down VM
E/AndroidRuntime(18413): FATAL EXCEPTION: main
E/AndroidRuntime(18413): Process: com.communup.dev, PID: 18413
E/AndroidRuntime(18413): java.lang.NullPointerException: null value in entry: uid=null
E/AndroidRuntime(18413):	at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:34)
E/AndroidRuntime(18413):	at com.google.common.collect.ImmutableMapEntry.<init>(ImmutableMapEntry.java:49)
E/AndroidRuntime(18413):	at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:122)
E/AndroidRuntime(18413):	at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:198)
E/AndroidRuntime(18413):	at io.flutter.plugins.firebaseauth.FirebaseAuthPlugin.userInfoToMap(FirebaseAuthPlugin.java:312)
E/AndroidRuntime(18413):	at io.flutter.plugins.firebaseauth.FirebaseAuthPlugin.mapFromUser(FirebaseAuthPlugin.java:330)
E/AndroidRuntime(18413):	at io.flutter.plugins.firebaseauth.FirebaseAuthPlugin.access$000(FirebaseAuthPlugin.java:24)
E/AndroidRuntime(18413):	at io.flutter.plugins.firebaseauth.FirebaseAuthPlugin$SignInCompleteListener.onComplete(FirebaseAuthPlugin.java:302)
E/AndroidRuntime(18413):	at com.google.android.gms.tasks.zzf.run(Unknown Source)
E/AndroidRuntime(18413):	at android.os.Handler.handleCallback(Handler.java:751)
E/AndroidRuntime(18413):	at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(18413):	at android.os.Looper.loop(Looper.java:154)
E/AndroidRuntime(18413):	at android.app.ActivityThread.main(ActivityThread.java:6186)
E/AndroidRuntime(18413):	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(18413):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
E/AndroidRuntime(18413):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

Issue 2:
AdMob banner covers Snackbars. I haven't found a good way to solve it. I can provide padding my scaffold but that doesn't work on iOS because the banner is supposed to have transparency to the left and right.
Issue 1:
After the clone() function challenge in JQuery, the button with ID target5 in #left-well is duplicated in all the challenges.

The first button is because of the JQuery statement whereas the second button is the duplicate copy

Browser: Google Chrome - version:49

OS: windows 7 ultimate

Issue 2:
Challenge Waypoint: Clone an Element Using jQuery has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36.

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

Issue

I believe I've found bug in the phone simulation in Waypoint: Clone an Element Using jQuery:

I entered the code to clone target5 and append it to left-well, and now I see three target5 buttons in the phone simulator. FCC says my code is correct and advances me to the next challenge. The following challenges also show three target5 buttons:

Waypoint: Target the Parent of an Element Using jQuery

Waypoint: Target the Children of an Element Using jQuery

@qualitymanifest confirms this issue on his Linux box.

My code:

<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
});
</script>

<!-- Only change code above this line. -->

<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
Issue 1:
Problem description

I am trying to wrap ListItem into a custom component to reduce boilerplate/duplicates in my code.

Original code:

<SelectableList id="menu" value={location}>
<ListItem primaryText="Encoding" primaryTogglesNestedList={true} value="/encoding" nestedItems={[
<ListItem primaryText="Base32" containerElement={<Link to="/base32"/>} value="/base32"/>,
<ListItem primaryText="Base32Hex" containerElement={<Link to="/base32Hex"/>} value="/base32Hex"/>,
<ListItem primaryText="Base64" containerElement={<Link to="/base64"/>} value="/base64"/>,
<ListItem primaryText="Base64Url" containerElement={<Link to="/base64url"/>} value="/base64url"/>,
<ListItem primaryText="Hex" containerElement={<Link to="/hex"/>} value="/hex"/>

as you can see - a lot of duplicities (running version to be inspected can be found here).

So I decided to wrap the component to get rid of duplicates:

const MenuItem = ({anchor, ...other}) => (
<ListItem value={anchor} {...other} key={"item-"+ anchor}/>
);

But the menu item is no longer selectable (try difference between these two sementically identical approaches)

const App = () => (
<MuiThemeProvider muiTheme={getMuiTheme()}>
<SelectableList id="menu" value="/li"> {/* Change here to /mi, update, run -> MenuItem is not selected */}
<ListItem primaryText="ListItem" value="/li" />
<MenuItem primaryText="MenuItem" anchor="/mi" />
</SelectableList>
</MuiThemeProvider>
);

Example on JsFidle: https://jsfiddle.net/1vk8wzoc/27/

I have asked on StackOverflow and user Chris pointed out the probable cause. I would create a PR, but I am just a beginner when it comes to React, so my repair would probably cause more harm than good :-).

Material-UI: "material-ui": "^0.16.6",

React: "react": "^15.0.1",

Browser: Chrome Version 56.0.2924.87

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

AutoComplete's suggestions dropdown list should display as Select's options list display in a TableCell.

Current Behavior

Autosuggest's suggestions list was hidden behind TableCell layer while putting an AutoComplete / Autosuggest component in a TableCell.

Your Environment

Tech
Version

Material-UI
v1 beta 16

React
15.5.4

browser
Chrome / Firefox
Issue 1:
Describe what you were doing when the bug occurred:

Open ranked tab

Changing "Render at" repeatedly

Error appeared

Please do not remove the text below this line

DevTools version: 4.3.0-3e0967783

Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159833

at Map.forEach ()

at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159779)

at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:160302)

at Sl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:322998)

at ii (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59363)

at qi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:67999)

at Sl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:108660)

at Ic (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:99973)

at Tc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:99898)

Component stack: in Sl

in div

in div

in div

in vo

in Unknown

in n

in Unknown

in div

in div

in Qi

in Ve

in nn

in Da

in Yc

Issue 2:
PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE

I got this error when I click 'Ranked'.

Please do not remove the text below this line

DevTools version: 4.0.4-3c6a219

Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11441

at Map.forEach ()

at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11387)

at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11920)

at _i (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:277123)

at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)

at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:98280)

at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)

at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363

Component stack: in _i

in div

in div

in div

in Or

in Unknown

in n

in Unknown

in div

in div

in Ha

in le

in ve

in ko

in Ul
Issue 1:
Description

Since v2.8.46, relative dates are not supported anymore by DateTimeType.

I am guessing this is because of the patches :

bug #28466 [Form] fail reverse transforming invalid RFC 3339 dates

bug #28372 [Form] Fix DateTimeType html5 input format

It would be great to introduce the feature again by adding a dedicated value of the format option, or anything better you can think of.

Example

At @lrqdo, the relative dates are helping us simplify our Behat scenarios.

Here is an example of a Behat scenario failing on v2.8.46:

When I send a POST request to "/endpoint" with values:
| distributionDate | +14 days |
Then the response code should be 200
Failed asserting that 400 is identical to 200.

Here is the form type we wrote:

public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add(
'distributionDate',
DateTimeType::class,
array(
'widget' => 'single_text',
)
);
}

And here is the detailed error we get:

Issue 2:
Q
A

Bug report?
no

Feature request?
yes

BC Break report?
no

RFC?
yes

Symfony version
4.1

SensioFrameworkExtraBundle provides three main features:

Annotations (@Route(), @Security(), ...)

Param converters

PSR-7

This proposal is only about annotations. We started moving some annotations into Symfony core, but we only moved one of them and that's why now we have two @Route annotations:

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\Routing\Annotation\Route;

So, should we move the rest of annotations to avoid mixing namespaces like this?

use Symfony\Component\Routing\Annotation\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;

If you agree with this, should we move each annotation to the related package?

use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Annotation\Method;
use Symfony\Component\Security\Annotation\Security;
// ...

Or should we put all annotations in the same place to make things simple?

use Symfony\Bridge\Annotation\Route;
use Symfony\Bridge\Annotation\Method;
use Symfony\Bridge\Annotation\Security;
// ...