WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Challenge doesn't count as complete on Firefox, same code works on Chrome just fine.

Challenge adjusting-the-color-of-various-elements-to-complementary-colors has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0.

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

<style>
body {
background-color: white;
}
header {
background-color: #09A7A1;
color: white;
padding: 0.25em;
}
h2 {
color: #09A7A1;
}
button {
background-color: #FF790E;
}
footer {
background-color: #09A7A1;
color: white;
padding: 0.5em;
}
</style>
<header>
<h1>Cooking with FCC!</h1>
</header>
<main>
<article>
<h2>Machine Learning in the Kitchen</h2>
<p>Join this two day workshop that walks through how to implement cutting-edge snack-getting algorithms with a command line interface. Coding usually involves writing exact instructions, but sometimes you need your computer to execute flexible commands, like <code>fetch Pringles</code>.</p>
<button>Sign Up</button>
</article>
<article>
<h2>Bisection Vegetable Chopping</h2>
<p>This week-long retreat will level-up your coding ninja skills to actual ninja skills. No longer is the humble bisection search limited to sorted arrays or coding interview questions, applying its concepts in the kitchen will have you chopping carrots in O(log n) time before you know it.</p>
<button>Sign Up</button>
</article>
</main>
<br>
<footer>&copy;2016 FCC Kitchen</footer>

Issue 2:
Issue Description

This is for the feature/curriculum-expansion branch only when run locally, and NOT the staging branch.

For several challenges (challengeType: 0, using the code editor with the mobile-phone output layout), the jQuery method .css() doesn't seem to be accessing the styles applied in a style tag in the given code. This is affecting any assert tests that use a pattern of assert($('selector').css('propertyToCheck') == 'valueToCompare', 'message: ...');.Here's an example:

<style>
h2 {
position: relative;
top: 15px;
}
</style>
<body>
<h1>On Being Well-Positioned</h1>
<h2 class="testCode">Move me!</h2>
<p>I still think the h2 is where it normally sits.</p>
</body>
<script>
console.log($('h2').attr('class')); // Works great, returns testCode
console.log($('h2').css('position')); // returns undefined
console.log($('h2').css('top')); // returns undefined
</script>

Related assert tests that aren't passing:

assert($('h2').css('position') == 'relative', 'message: Add a CSS rule to specify that the <code>h2</code> has a <code>position</code> set to <code>relative</code>.');

assert($('h2').css('top') == '15px', 'message: Use a CSS offset to relatively position the <code>h2</code> 15px away from the <code>top</code> of where it normally sits.');

Browser Information

Browser Name, Version: Firefox 48.0.1

Operating System: Mac OS X, El Capitan v10.11.3

Mobile, Desktop, or Tablet:
Issue 1:
[x] I have searched the issues of this repository and believe that this is not a duplicate.

It appears that https cannot work with nextjs in development but there is no documentation or direct answer to this question in the issues history.

I want to use https through the node https module on my local machine and communicate in dev environment over https to secure api's.

As far as I can tell the https server does not work properly. While I can create the https server the connection is not considered secure by chrome. I do see in the server specific http server handling, is this not accessible through the api to configure?

in the server I am using

const handle = app.getRequestHandler();

to handle the requests, as far as I can tell this should be all that I need to do to server the pages securely.

return handle(req, res, parsedUrl)

next v 3.0.1-beta.8

node v 7.8.0

OS osx

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

Expected Behavior

My index.html file is at this URL: mydomain.com/test-proj/test-slug/

When I put a prefetch attribute on my Link tag, like this:

<Link prefetch href={`${publicRuntimeConfig.ASSET_PATH}/about`}>
<a>About this project</a>
</Link>

It should prefetch the code at this address: mydomain.com/test-proj/test-slug/_next/8a75d7ea-0f56-4f5e-880e-5ca422462521/page/about.js

Current Behavior

Instead, prefetch attempts to fetch the code at this address: mydomain.com/test-proj/test-slug/_next/8a75d7ea-0f56-4f5e-880e-5ca422462521/page/test-proj/test-slug/about.js

If the link looks like this instead, the prefetch works properly, but the actual link goes to mydomain.com/about which 404s on refresh.

<Link prefetch href={`/about`}>
<a>About this project</a>
</Link>

Steps to Reproduce (for bugs)

Create a project hosted on a non-root domain path.

Create a link to a page with a prefetch attribute.

See that the prefetch fails when the link has its asset path provided.

Context

I would like to prefetch content, but can't until this is resolved.

Your Environment

This bug was observed using Chrome on Mac OS Sierra.
Issue 1:
https://travis-ci.org/pandas-dev/pandas/jobs/348215410#L2717

[gw1] linux -- Python 3.6.4 /home/travis/miniconda3/envs/pandas/bin/python
self = <pandas.tests.frame.test_analytics.TestDataFrameAnalytics object at 0x7f86fa5d54a8>
axis = 0
@pytest.mark.parametrize("axis", [0, 1, None])
def test_clip_against_frame(self, axis):
df = DataFrame(np.random.randn(1000, 2))
lb = DataFrame(np.random.randn(1000, 2))
ub = lb + 1

> clipped_df = df.clip(lb, ub, axis=axis)
pandas/tests/frame/test_analytics.py:2066:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pandas/core/generic.py:5605: in clip
if np.any(pd.isnull(lower)):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = 0 False
1 False
dtype: bool
def __nonzero__(self):
raise ValueError("The truth value of a {0} is ambiguous. "
"Use a.empty, a.bool(), a.item(), a.any() or a.all()."
> .format(self.__class__.__name__))
E ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().

Issue 2:
Reproducible example:

In [10]: df = pd.DataFrame({'col': range(9)}, index=pd.MultiIndex.from_product([['A0', 'A1', 'A2'], ['B0', 'B1', 'B2']], names=[1,2]))

In [11]: df
Out[11]:
col
1 2
A0 B0 0
B1 1
B2 2
A1 B0 3
B1 4
B2 5
A2 B0 6
B1 7
B2 8

In [12]: pd.options.display.max_rows = 4

In [13]: df
Out[13]:
col
1 2
A0 A0 0
A0 1
... ...
A2 A2 7
A2 8

[9 rows x 1 columns]

So the truncated repr shows incorrectly the first index level (with integer level name 1) again for the second level.

Original post:

Code Sample, a copy-pastable example if possible

import wget
import pandas
import pickle

url = 'https://www.dropbox.com/s/aldllo0bi3m3wkl/stock?dl=1'
filename = wget.download(url)
df = pickle.load(open(filename))
df
#bad display, index duplicated?
df.head()
#expected display

Problem description

merged

1	2

a.	a.	2

abel	abel	1

agnes	agnes	2

alain	alain	8

alain	2

I have created a multi-index based on 2 columns .

Those two columns wont appear properly, index_column "2" being duplicated from "1"

When displaying up to the 60th first rows of dataframe, it's fine, then it duplicates again the column 1 in the column 2.

Expected Output

merged

1	2

a.	masson-dubois	2

abel	pinchard	1

agnes	paquet	2

alain	corcia	8

hudelot-noellat	2

Output of pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 2.7.9.final.0
python-bits: 64
OS: Linux
OS-release: 4.9.4-moby
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None

pandas: 0.19.1

nose: None

pip: 9.0.1

setuptools: 28.8.0

Cython: None

numpy: 1.11.2

scipy: 0.18.0

statsmodels: 0.6.1

xarray: None

IPython: 5.1.0

sphinx: None

patsy: 0.4.1

dateutil: 2.5.0

pytz: 2016.7

blosc: None

bottleneck: None

tables: None

numexpr: None

matplotlib: 1.5.3

openpyxl: None

xlrd: None

xlwt: None

xlsxwriter: None

lxml: None

bs4: 4.5.1

html5lib: None

httplib2: 0.9.2

apiclient: 1.5.1

sqlalchemy: None

pymysql: None

psycopg2: None

jinja2: 2.8

boto: None

pandas_datareader: None
Issue 1:
Issue originally made by @jedireza

Bug information

Babel version: 6.13.2

Node version: 6.3.1

npm version: 3.10.3

Options

{
filename: filename,
sourceMap: 'inline',
sourceFileName: filename,
auxiliaryCommentBefore: '$lab:coverage:off$',
auxiliaryCommentAfter: '$lab:coverage:on$'
}

Description

I noticed a case when testing a class with only static methods that my code coverage misses _classCallCheck.

A simple demo repo is setup here: https://github.com/jedireza/lab-es6

{F80637}

Issue 2:
As per nlf/lab-babel#4 (comment)

The auxiliaryComment before/after are working awesomely but they aren't applied to the _classCallCheck method call in a class constructor. If they were applied to that line, lab would be able to report coverage correctly.

Thanks!

EDIT by hzoo: also #4450 + _possibleConstructorReturn
Issue 1:

Issue 2:
Internet explorer and Firefox ignores width and height of images when embedded in forum using img tag, ok in Chrome . Bootstrap v2.3.1

Bootstrap css:

img {

width: auto\9;

height: auto;

max-width: 100%;

vertical-align: middle;

border: 0;

-ms-interpolation-mode: bicubic;

}

bootstrap.min.css

img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}

If i remove max-width:100% then the problem i am having on FF and IE9 also appears in chrome.
Issue 1:
There are a few other related issues regarding to this problem. But I think none of them explained why this is really needed.

asset() by default, will only output a path that is absolute under the current domain. If assets_base_urls is set then it will output an absolute url with domain. This is generally fine in most cases. However if twig is used to generate an email template, we will always want an absolute url with domain name regardless of the assets_base_urls setting.

Given that it is not easily possible to detect whether assets_base_urls is set, a better alternative is to accept a second parameter for asset(). If assets_base_urls is not set, then it will use the current domain and scheme. If otherwise then it will simply follow the original behaviour.

Issue 2:
Hey guys!

Currently, there's no standard way of retrieving the absolute URL to an asset. This would be useful when generating asset paths in a template for an email. Would be cool a function like:

{{ asset_url('images/foo.jpg') }}

The current solution is not pratical and breaks when using CDN.

Thanks,

Marcos
Issue 1:
Description

jax.scipy.special.betaln becomes very inaccurate for large inputs.

The image is comparing jax, scipy, and a jax version I made that parallels scipy's version (at the expense of duplicated work, due to the evaluation of both branches).

The more accurate jax version can be found here. I would be happy to open up a PR for it, if someone could answer the following:

If this went in jax._src.scipy.special, where should I import jnp.where from to avoid circular dependencies?

Since I just ported (two branches of) of scipy's version of betaln, I expect there may be be license issues including it in jax. Is that the case? Scipy's license is linked in the ported version.

What jax/jaxlib version are you using?

0.3.23

Which accelerator(s) are you using?

CPU

Additional system info

MacOS 12.6

NVIDIA GPU info

No response

Issue 2:
Analogous to checkpoint in Autograd (but handling closed-over tracers).
Issue 1:
by arnehormann:

What is the expected output?

There should be a way to access the full information a driver has for result columns.
Workarounds are brittle and slow. They depend on the struct layout, require reflect or
unsafe and involve some duplication.

What do you see instead?

I can only get the names by calling Columns(). The rest of the result metadata can not
be retrieved.

Please provide any additional information below.

I posted a proposal on go-nuts:
https://groups.google.com/forum/#!topic/golang-nuts/2aLctcVyp6Q

In short, I propose to add a new interface to database/sql/driver that passes a callback
function to the driver.
The callback is returned after a type assertion in database/sql.Register.
It can be used to get the driver.Rows implementation given database/sql/Row[s].
The native Rows implementation by the driver is returned as interface{}.

Given this function, a driver can decide to expose more detailed metadata for the result
columns by implementing the interface and providing an exported function that retrieves
the metadata from *Row or *Rows.

Issue 2:
Please expose original database column type at least as string. this is currently so restricting on this package. this will help us to do some level dynamic column value parsing
Issue 1:
I'm seeing an issue when PdoSessionStorage is enabled where values set on the user's session are not being saved at all.

More details at the forum -> http://forum.symfony-project.org/viewtopic.php?f=23&t=51646

I'm using PHP 5.4.4 and Symfony 2.1.2 (just updated using php composer.phar update).

I appreciate any help with this problem.

Issue 2:
Image a website where content can be created in 80 languages, but the team in charge of translating the UI can only translate it in two languages.

The UI locale may be given with an url parameter named _locale, while the content local may be given with an url parameter named content_locale. It would be nice to be able to reuse the LocaleListener to handle both cases, which would mean having a parameter_name string dependency that would be used in the class instead of the hardcoded _locale and would default to it. For the moment, my team has copy / pasted the whole class because private properties make it hard to extend, which, I'm given to understand after reading @fabpot 's article, is by design, in order to let feature requests like this one be formulated.
Issue 1:
try this:

if(true){
//}
}

Issue 2:
Related: lee-dohm/emacs-flow#3

Repro case can be found (with permission) at: https://gist.github.com/debtosh/e5b25c7719867ec56382

Repro Steps

Open a new file

Paste in the text from the Gist linked above

Set the grammar to C++

Place the cursor after the brace at the end of line 2

Expected: Matches brace on line 33

Actual: Does not match

Place the cursor after the brace in the comment at the end of line 20

Expected: Does not match

Actual: Matches brace on line 33

If the braces at the end of the comment lines are deleted, all braces match as they would be expected to.
Issue 1:
Powertoys 0.13.0

W10 version: 10. 0.18362.145

Description:

Powertoys decides that the user has held down a modifier to invoke Fancyzone switching and does not let up, even when nothing is being held down.

affected keys are the number row. i.e.

1!2@3#4$5%6^7&8*9(0)

10key numberpad not affected

Steps: Unknown. Just happens after some time (hours). Might be a key combination I'm not aware of, but trying multiple combinations doesn't seem to trigger or undo the issue

Workaround: Restart PowerToys. Not in a long-enough session to know if it happens again afterwards

Issue 2:
📝 Provide a description of the new feature

What is the expected behavior of the proposed feature? What is the scenario this would be used?

When editing a layout, I would like to see the resolution (W x H) of each zone.

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Issue 1:
GitHub issues are for bugs / installation problems / feature requests.

For general support from the community, see StackOverflow.

To make bugs and feature requests more easy to find and organize, we close issues that are deemed

out of scope for GitHub Issues and point people to StackOverflow.

For bugs or installation issues, please provide the following information.

The more information you provide, the more easily we will be able to offer

help and advice.

Environment info

Operating System: Browser issue with readme tensorboard

Installed version of CUDA and cuDNN:

(please attach the output of ls -l /path/to/cuda/lib/libcud*):

If installed from binary pip package, provide:

not tensorproblem but website

If installed from sources, provide the commit hash:

Steps to reproduce

Go to https://www.tensorflow.org/versions/r0.9/how_tos/summaries_and_tensorboard/index.html and click on the readme tensorboard. Give you 404 not found error.

What have you tried?

nothing, its on the website

Logs or other output that would be helpful

(If logs are large, please upload as attachment).

Issue 2:
The link https://www.tensorflow.org/versions/tensorboard/README.html for README file in tensorboard page is broken.
Issue 1:
CN Yee opened SPR-5404 and commented

Spring beans are not available within @BeforeTest methods with TestNG tests, as follows:

@ContextConfiguration("/applicationContext.xml")
public class Testing extends AbstractTestNGSpringContextTests {

@Autowired
SessionFactory sessionFactory;

@Test
public void testMe() {
Session s = sessionFactory.openSession(); // This is OK
}

@BeforeTest
public void beforeTest() {
Session s = sessionFactory.openSession(); // This give NullPointerException
}
}

Affects: 2.5.6, 3.0.5

Issue Links:

#8750 Should AbstractTestNGSpringContextTests use @BeforeSuite instead of @BeforeClass? ("duplicates")

5 votes, 4 watchers

Issue 2:
Sam Brannen opened SPR-4072 and commented

AbstractTestNGSpringContextTests's springTestContextPrepareTestInstance() method is currently annotated with @BeforeClass, which prohibits @BeforeSuite methods in subclasses from interacting with the ApplicationContext.

Essentially, the question raised in the forum is: would it be better to annotate the springTestContextPrepareTestInstance() method with @BeforeSuite instead of @BeforeClass?

Affects: 2.5.6, 3.0.7, 3.1.1

Reference URL: http://forum.springframework.org/showthread.php?p=148532#post148532

Issue Links:

#10077 AbstractTestNGSpringContextTests: Spring beans not available within @BeforeTest methods ("is duplicated by")

13 votes, 14 watchers
Issue 1:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
yes

RFC?
no

Symfony version
>4.0.3

After update Symfony to version 4.0.3 (4.0.4 -the same) cache:clear command (with implicit cache warming) warms up cache incorrectly. As i can compare with 4.0.2 cache folder some dependencies is not warmed.

4.0.3

root@bacac0721dd9:/var/www/symfony# bin/console ca:cl -e=prod
root@bacac0721dd9:/var/www/symfony# ls -1 var/cache/prod/
ContainerM4N54hq
annotations.map
srcProdProjectContainer.php
srcProdProjectContainer.php.meta
srcProdProjectContainerUrlGenerator.php
srcProdProjectContainerUrlGenerator.php.meta
srcProdProjectContainerUrlMatcher.php
srcProdProjectContainerUrlMatcher.php.meta
templates.php

4.0.2

root@bacac0721dd9:/var/www/symfony# bin/console ca:cl -e=prod
root@bacac0721dd9:/var/www/symfony# ls -1 var/cache/prod/
ContainerW99Fklq
annotations.map
annotations.php
doctrine
easy_admin
pools
serialization.php
srcProdProjectContainer.php
srcProdProjectContainer.php.meta
srcProdProjectContainerUrlGenerator.php
srcProdProjectContainerUrlGenerator.php.meta
srcProdProjectContainerUrlMatcher.php
srcProdProjectContainerUrlMatcher.php.meta
templates.php
translations
twig
validation.php

For develop env it isn't critical, but for production it is.

ps As workaround i used bin/console cache:warmup -e=prod after

Issue 2:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
yes

RFC?
no

Symfony version
3.4

There seems to be a BC break in Symfony 3.4 when clearing/warming the cache.

Until a couple of days ago, it was possible to write to %kernel.cache_dir% during cache warming and the contents would persist. Now they are deleted when the cache directory is moved from de_ to dev. However, when using the $cacheDir parameter provided to the warmUp method, the files are kept.

I realize that using the path provided to warmUp is preferred, but we have different places in our code base where the path is injected to cache warming services through the service configuration. This way, we can configure a common path for shared cache objects and use a common cache service.

Example:

https://gist.github.com/lxg/de91dad64059a63c3ffed0e4179aa057

https://gist.github.com/lxg/05299c118bba0db197327cb1b07ca091

I agree that this could be solved differently. However, this change breaks the previous behaviour which has been there since several years.
Issue 1:
Electron Version: 2.0.0

Operating System (Platform and Version): windows 8.1

Last known working Electron version: none

Expected Behavior

I create a browerwindow with frame: false and transparent: true, when i use maximize(), i need the event 'maximize' and isMaximized() return true.

Actual behavior

no event emited, and isMaximize() return false.

Issue 2:
Currently, the bluetooth-select-device event is within the main process. If the user wants to mimick standard WebBluetooth behavior, the renderer process needs to display a dialog.

Also, receiving a long list of devices (with many duplicates!) is not user-friendly. The user needs to see devices as they are found. Often, a devices is found only after turning it off and on again.

Following suggestion: Implement bluetooth-select-device on the renderer side, with a single argument, the callback.

Implement a bluetooth-device-found event; its argument should be a standard BluetoothDevice instance with an "id" property instead of a "deviceId" property.

The user could display an empty dialog on the former event and remember the callback. On the latter events, the user would fill the dialog.

The dialog could event become part of the standard Electron package. See, for example, the file DeviceChooserUI.js in the web-bluetooth-polyfill package for an implementation.

Electron version: 1.7.8

Operating system: Mac OS 10.12.6