WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Challenge target-html-elements-with-selectors-using-jquery has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/601.7.8.

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

I have completed this challenge successfully but am not able to move forward after hitting "submit" in the (newly formatted?) black ribbon strip.

<script>
$(document).ready(function() {
$("button").addClass("animated bounce");
});
</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 2:
Challenge use-rgb-values-to-color-elements has an issue.

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

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

<style>
body {
background-color: rgb(0, 0, 0);
}
</style>
Issue 1:
I installed with npm the babel-core and this files are empty, i need them for system js.

Issue 2:
When I install the latest babel-core I end up with browser.js and browser.min.js as empty files with no content just some white space, each file is around 4 bytes, compared to babel-core 5.8 where browser.js is 2MB. I am using npm 2.11.3. I don't see any errors or warnings on install everything appears fine, except those files are empty.
Issue 1:
Hello everybody,

I have a little issue with the modal component.

When I open a modal, the button close (with data-dismiss attribute) works and close it. But if I reopen the same one, it's over, it doesn't work anymore. The only way to close the modal is to click outside of it or to press ESC.

Any idea ? (I'm a PHP developper with only few basics in JS)

Thanks

Robin

PS: Excuse me if my english is not so well, i'm french

Issue 2:
Hi,

The code used on last Thursday worked fine. But after updated to latest code on Monday (GMT+8), the modal dialog when clicks to dismiss for seconds onward cannot be close.

I am checking on source code line 932, if I commented out this line then it is working again.

this.$element

.removeClass('in')

.attr('aria-hidden', true)

//.off('click.dismiss.modal')

Am I missing anything...?

Sorry for the grammar. Thanks.
Issue 1:
When I click on a link with an ID, the link target shows up under the bar. This is not as noticeable for functions, which have a very large title, but here is an extreme example of what happens when I go to the docs for np.uint8:

I have to scroll up a bit to see the actual link target:

If this issue is with pydata/pydata-sphinx-theme as #18549 was, I would be more than happy to replicate it there as well.

Issue 2:
Documentation

When searching the documentation and clicking on the listed links, the link refers to a specific heading/reference in the generated documentation page. On the new HTML documentation design, the fixed top bar covers up this referenced element:

https://numpy.org/devdocs/reference/generated/numpy.repeat.html?highlight=repeat#numpy.repeat

Image illustrating what is seen when entering the page from a search:

Scrolling slightly down reveals the header of the desired content
Issue 1:
Electron version: 1.6.10

Operating system: Windows 10

Expected behavior

Actual behavior

How to reproduce

Tray works in development, but once I run build and install the app, tray doesn't work.

$ git clone https://github.com/ehguo/ZenFocus -b tray

$ yarn

$ yarn run package-win

Installer found in the "release" folder in root directory

$ yarn run dev

will confirm that it works in development.

Relevant files can be found in app/electron/tray/index.js and app/main.dev.js (very last line)

Issue 2:
http://electron.atom.io/ mentions npm install && npm run, but npm run is not a thing :) Should be changed to npm start.
Issue 1:
After #14531 we are running the CI infrastructiure of ours using r5a.2xlarge machines. They are needed for tests (thanks to having 8xCPUs and 64 GB RAM we can run full suite of tests in 15 minutes instead of 1h by running the tests in parallel. Likely (due to ~ 2x less cost of running tests (2x more price/ 4x less time) we are saving money. We also achieve 30%-40% speedups on Pylint, Static Checks (thanks to 8 CPUS available).

However not all jobs can use the memory/parallelism and we can use much cheaper machines without impacting CI execution time:

Docs (not yet but possible)

K8S tests (not yet but possible)

Building Images

Providers building and testing

Image verification

Image waiting (this one is particularly wasteful)

By introducing a smaller type of machines and assigning the "big" machine type only to the jobs that can utilise higher we can drive the cost down significantly.

Small machine = r5a.large with 2 CPUs and 16GB memory should likely be enough

Spot Price in Frankfurt:

r5.2xlarge = $0.1549 per Hour

r5a.large = $0.0365 per Hour

This means that for non-test jobs we can have further 4 x smaller cost if we do it.

Issue 2:
Greenplum DB is a popular open source relational DBMS[1].

I want to implement some database specific behaviour for a common class. It's easy to check connection type for postgres, mysql or oracle. Now I use postgres connection type for Greenplum and cannot explicitly check type.

Airflow has PostgresHook based on psycopg2. As Greenplum supports PostgreSQL libpq API [2], PostgresHook could be reused for Greenplum.

As I see it's enough to change 2 code line in the connectoin.py.

I'm not sure that it's nice to reuse Hook.

Please confirm or reject my idea.

Index: airflow/models/connection.py
===================================================================
--- airflow/models/connection.py (revision 6416d898060706787861ff8ecbc4363152a35f45)
+++ airflow/models/connection.py (date 1598717245079)
@@ -109,6 +109,7 @@
('grpc', 'GRPC Connection'),
('yandexcloud', 'Yandex Cloud'),
('spark', 'Spark'),
+ ('greenplum', 'Greenplum'),
]

def __init__(
@@ -243,7 +244,7 @@
elif self.conn_type == 'google_cloud_platform':
from airflow.contrib.hooks.bigquery_hook import BigQueryHook
return BigQueryHook(bigquery_conn_id=self.conn_id)
- elif self.conn_type == 'postgres':
+ elif self.conn_type in ('postgres', 'greenplum'):
from airflow.hooks.postgres_hook import PostgresHook
return PostgresHook(postgres_conn_id=self.conn_id)
elif self.conn_type == 'pig_cli':

https://github.com/greenplum-db/gpdb

https://gpdb.docs.pivotal.io/6-10/security-guide/topics/ports_and_protocols.html
Issue 1:
Challenge Name

Issue Description

Browser Information

Browser Name, Version:

Operating System:

Mobile, Desktop, or Tablet:

Your Code

Screenshot

Issue 2:
In all the exercises, we the users are forced to press the enter key before writing any code.

Update:

We have locked the conversation temporarily on this thread to collaborators only, this has been resolved in staging, and will be live soon.

The fix can be confirmed on the beta website.

The workaround currently on production website is:

Press the Enter key on the challenge editor and then proceed with the challenge.

Apologies for the inconvenience meanwhile.

Reach us in the chat room if you need any assistance.
Issue 1:
If you don't set the title property of a MaterialApp, it will display as null.

Steps to Reproduce

Create a new MaterialApp and do not set the title of the app in the constructor. On Android, if you do this, run the app, and then view it in the list of open applications, it will show "null" as the title.

Issue 2:
Steps to Reproduce

No error is happening, although, when you omit the title property of MaterialApp, when you click the app drawer, the title of the app appears as null.

I initially got that error because I was setting the title in Scaffold --> AppBar, which is most likely incorrect. After reporting this on gitter I was told to open an issue because:

hm, we shouldn't be toString()ing null...

@Hixie

Logs

No logs, no warning.

Flutter Doctor

❯ flutter doctor [14:22:29]
[✓] Flutter (on Linux, channel master)
• Flutter at /home/joel/code/flutter
• Framework revision 01a8d51022 (17 hours ago), 2016-11-09 18:15:51
• Engine revision 84a060820a
• Tools Dart version 1.21.0-dev.3.0

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
• Android SDK at /opt/android-sdk
• Platform android-25, build-tools 25.0.0
• ANDROID_HOME = /opt/android-sdk
• Java(TM) SE Runtime Environment (build 1.8.0_112-b15)

[-] IntelliJ IDEA Ultimate Edition (version 2016.2.bak)
• Dart plugin installed
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/2016.2/managing-plugins.html

[-] IntelliJ IDEA Ultimate Edition (version 2016.1)
• Dart plugin installed
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/2016.2/managing-plugins.html

[-] IntelliJ IDEA Ultimate Edition (version 2016.2)
• Dart plugin installed
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/2016.2/managing-plugins.html

[-] IntelliJ IDEA Ultimate Edition (version 16)
• Dart plugin installed
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/2016.2/managing-plugins.html

[✓] IntelliJ IDEA Ultimate Edition (version 2016.3)
• Dart plugin installed
• Flutter plugin installed

[✓] Connected devices
• Nexus 6P • 84B7N15A10004400 • android-arm • Android 7.1.1 (API 25)
Issue 1:
Barry Kaplan opened SPR-3434 and commented

The changes from 2.0.3 to 2.0.4 has cause some side effects. In 2.0.3 the PABPP would use beanFactory.getBean(..) to obtain the EMFs. In 2.0.4 it first beanFactory.isTypeMatch(..)

When the EMF has not yet been created in the context, AbstractEntityMangagerFactoryBean.getObjectType will return EntityManagerFactory.class, but PABPP compares the class against EntityManagerFactoryInfo.class. Hence due the abitrary ordering of bean creation most of my EMFs fail to be discovered by the PABPP.

PABPP.findNamedEntityManagerFactory(..) returns EntityManagerFactory (not EMFInfo), so why does it check for the EMFInfo.class?

I cannot simply have PABPP depend on the LCEMFBs because it defined in a generic config file, where the LCEMFBs are defined in component specific config files.

Affects: 2.0.4

Issue Links:

#8054 PersistenceAnnotationBeanPostProcessor fails to match unitName of lazy loaded EMFs in some cases ("duplicates")

Issue 2:
Xun Wang opened SPR-9302 and commented

Due to recent release of Jackson 2.0, hope it is on the road map to give Spring user the option to use Jackson 2.0 for Jackson related json functions. Jackson 2.x has different package name for its classes to let code with 1.x be able to coexist. Maybe a new set of the Spring classes need to be created for the same reason for those who like to use the 2.x while others can remain on 1.x. For example MappingJacksonJsonView remains but with MappingJacksonJsonView2 for the 2.x Jackson. I believe someone has better idea how to get it done.

Affects: 3.0.5

Attachments:

MappingJacksonHttpMessageConverter.patch (1.65 kB)

Sub-tasks:

#14141 Backport "Use Jackson 2.0 for Jackson based json processing such as MappingJacksonJsonView"

Issue Links:

#13972 Support for Jackson 2.X ("is duplicated by")

#14589 Add support for jackson 2.0 message converters MappingJacksonHttpMessageConverter refers to the older ObjectMapper package and methods ("is duplicated by")

9 votes, 10 watchers
Issue 1:
There appears to be a race condition in the index CUDA kernels where multiple threads are writing to the same address.

Reproducer code:

import torch

ref = torch.arange(0, 20).view(4, 5).float()

indexer= [slice(None), [1 for i in range(5)]]

src = torch.randperm(ref[indexer].numel()).view(ref[indexer].size()).float()

print('ref', ref)
print('indexer', indexer)
print('ref[indxer]', ref[indexer])
print('src', src)

cpu_ans = ref.clone()
cpu_ans[indexer]=src

nump_ans = ref.double().numpy()
idxs = tuple(indexer)
nump_ans[idxs] = src.double().numpy()

print('ref numpy\n', ref.numpy())
print('idx numpy\n', idxs)
print('src numpy\n', src.numpy())

gpu_ans = ref.cuda()
gpu_ans[indexer]=src.cuda()

print('cpu result', cpu_ans)
print('numpy result\n', nump_ans)
print('cuda result', gpu_ans)

Output:

cpu result
0 6 2 3 4
5 4 7 8 9
10 13 12 13 14
15 19 17 18 19
[torch.FloatTensor of size 4x5]
numpy result
[[ 0. 6. 2. 3. 4.]
[ 5. 4. 7. 8. 9.]
[ 10. 13. 12. 13. 14.]
[ 15. 19. 17. 18. 19.]]
cuda result
0 6 2 3 4
5 **16** 7 8 9
10 13 12 13 14
15 **5** 17 18 19
[torch.cuda.FloatTensor of size 4x5 (GPU 0)]

Looks like a preprocessing step will need to be added to identify which source indices is allowed to write to destination.

I'm not sure if this will also be a problem in the other advanced indexing kernels.

Issue 2:
### Pretext:

I recently installed pytorch-nightly, and my cuda version is upto date. But when I run my command, I get the following error:

### Error:

Traceback (most recent call last):
File "main.py", line 77, in <module>
algo.sample(datapath, cfg.STAGE)
File "C:\Users\hunte\OneDrive\Documents\Projects\EAD Project\StackGAN-Pytorch-master\code\trainer.py", line 238, in sample
netG, _ = self.load_network_stageII()
File "C:\Users\hunte\OneDrive\Documents\Projects\EAD Project\StackGAN-Pytorch-master\code\trainer.py", line 110, in load_network_stageII
netG.cuda()
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 263, in cuda
return self._apply(lambda t: t.cuda(device))
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 190, in _apply
module._apply(fn)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 190, in _apply
module._apply(fn)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 190, in _apply
module._apply(fn)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 196, in _apply
param.data = fn(param.data)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 263, in <lambda>
return self._apply(lambda t: t.cuda(device))
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\cuda\__init__.py", line 163, in _lazy_init
torch._C._cuda_init()
RuntimeError: CUDA error: unknown error
Issue 1:
const enum E { }

Try to get occurrences on the const keyword.

Error: Debug Failure. False expression:

at assert (:1143:17)

at fail (:1148:13)

at getFlagFromModifier (:25796:29)

at getModifierOccurrences (:25751:17)

at getOccurrencesAtPosition (:25484:25)

at Anonymous function (:27826:17)

at simpleForwardCall (:27643:9)

at forwardJSONCall (:27657:13)

at forwardJSONCall (:27688:13)

at getOccurrencesAtPosition (:27825:13)

Issue 2:
Action description:

getOccurrencesAtPosition('C:\test\t2.ts', 0)

Script callstack:

Error: Debug Failure. False expression:

at assert (:1125:17)

at fail (:1130:13)

at getFlagFromModifier (:23623:29)

at getModifierOccurrences (:23578:17)

at getOccurrencesAtPosition (:23315:25)

at Anonymous function (:25657:17)

at simpleForwardCall (:25474:9)

at forwardJSONCall (:25488:13)

at forwardJSONCall (:25519:13)

at getOccurrencesAtPosition (:25656:13)

source:

const x = 0;

Cursor is at "const"
Issue 1:
Electron version: 0.36.12 (earliest tested) to 0.37.5 (latest)

Operating system: Windows 8.1

I am working on a project to test some code in a sandboxed iframe that gives limited access to the parent. The implementation is pretty straight forward. The problem is it works in modern web browsers but not in Electron. It is even verified working in Chrome. And both the jQuery and vanilla JS versions produce the same results.

The iframe is created with:

$('<iframe>', {
src: 'about:blank',
id: 'ptg-sandbox',
frameborder: 0,
scrolling: 'no',
style: 'width: 0px; height: 0px; display: none;'
}).appendTo('body');

And then the eval works much like:

$('#ptg-sandbox')[0].contentWindow.eval('alert("test");');

Code is in place to ensure the iframe exists in the DOM before firing the code. So I ruled that out. The expected result should be an alert that says "test". But unfortunately I can't get it and no error is returned. If it helps to know I am also have nodeIntegration set to false for this BrowserWindow.

Issue 2:
Currently there's no support for alert and confirm dialogs in iframes (see discussion in #2522).

Once the "Session wide preload script" #2605 is ready, I think we should implement a default preload that will add the missing dialogs (kind of like what override.coffee does for the parent window).
Issue 1:
Repo steps:

Enable Override Windows Snap shortcut (Win + Arrow) to move windows between zones.

Span a window across 2 or more zones.

Press Win + ← or →.

Actual result:

Window moved to next zone.

Window lost any spanning.

Expected result:

Moving from zone 2 & 3 to 3 & 4 shouldn't shrink the window.

Moved to 3 & 4, with 4 being last, next move in that direction should shrink the window first, then move to next display (or most opposite display edge, if no further display exists).

Maybe we need a new shortcut, e. g. Win + CTRL + ← or →, then, because if shrunk due to aforementioned reasons, one might want to span again instead of moving to the next zone.

Issue 2:
Summary of the new feature/enhancement

I would like to have an option to keep PowerRename opened after file rename in order to perform multiple rename for selected files.

Proposed technical implementation details (optional)

It could be an option in PowerToys Settings for configure the default behaviour: do not close window after file rename.
Issue 1:
Very Minor cleanup. duplicate end of statement semicolon

src\host\conareainfo.cpp(187):

SMALL_RECT OldRegion = _caInfo.rcViewCaWindow;;

src\host\consoleInformation.cpp(388):

ci.Attributes = GenerateLegacyAttributes(attr);;

src\interactivity\base\InteractivityFactory.cpp(349):

NTSTATUS status = ApiDetector::DetectNtUserWindow(&level);;

src\interactivity\win32\screenInfoUiaProvider.cpp(534):

HRESULT hr = S_OK;;

src\interactivity\win32\UiaTextRange.cpp(151):

UiaTextRange* range = nullptr;;

src\host\conareainfo.cpp(187): SMALL_RECT OldRegion = _caInfo.rcViewCaWindow;;

src\host\consoleInformation.cpp(388): ci.Attributes = GenerateLegacyAttributes(attr);;

src\interactivity\base\InteractivityFactory.cpp(349): NTSTATUS status = ApiDetector::DetectNtUserWindow(&level);;

src\interactivity\win32\screenInfoUiaProvider.cpp(534): HRESULT hr = S_OK;;

src\interactivity\win32\UiaTextRange.cpp(151): UiaTextRange* range = nullptr;;

Found in the clang-format PR #1141

Issue 2:
Description of the new feature/enhancement

I think it would be helpful if each tab appeared in its own taskbar thumbnail. Clicking on the thumbnail would activate the window with that tab open. The way the app currently works, if you have multiple tabs open and the app is currently in the background you would need to click the taskbar button to switch to the app and then click the tab you want to work with if it's not the currently active one.

Proposed technical implementation details (optional)
Issue 1:
VSCode Version: 0.10.12-alpha

OS Version: Windows10

Steps to Reproduce:

Launch an app from command prompt without any command line argument.

code-alpha

Open any folder which contains C# code.

Verify installed extensions for C#, PS, GO etc. should work fine.

Verify there should not be any error message.

Close app and re-launch it from command prompt with disable-extension argument.

code-alpha --disable-extension

Verify app behavior and configuration changes.

Actual:

Getting error message Like: "Cannot convert undefined or null to object"

There is no changes in app behavior or configuration.

a. Default setting is not changing at all.

b. Linter is working as it was working before re-launch.

c. Debugger is working as it was working before re-launch.

d. Intellisense is working as it was working before re-launch.

Expected: There should not be any error message.

Clarification: What are the changes user should expect when launching app with --disable-extension argument.

Issue 2:
VSCode Version: 0.10.12-alpha

OS Version: Windows10

Steps to Reproduce:

Launch app and open any folder.

Try to add .js or .cs file by clicking on + sign.

Verify app behavior.

Try to add other file like go, css, ts and verify app behavior.

Actual: Getting error "Cannot convert undefined or null to object" when adding .js or .cs file.

Expected: It should not throw any error while adding .js or .cs file.

Note: I tried the same steps on MAC and it is working fine.
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When page is reloaded, the render should be stable. It is correct in the development build, i.e when I do npm run dev

Current Behavior

When page is loaded, the render is unstable. It happens when I run npm run build and npm run start

Steps to Reproduce (for bugs)

Following the instructions at https://github.com/zeit/next.js/tree/canary/examples/with-material-ui-next

curl https://codeload.github.com/callemall/material-ui/tar.gz/v1-beta | tar -xz --strip=2 material-ui-1-beta/examples/nextjs

cd nextjs

npm run build

npm run start

Context

Your Environment

Tech
Version

Material-UI
1.0.0-beta.25

React
16.2.0

browser
Chrome 63.0.3239 on MacBook

Next
4.2.1

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

Expected Behavior

If I choose a date, this date should correctly displayed

Current Behavior

For the year 1979 and longer ago, the localized version interpretes the months wrongly, e.g. July will be August, August will be September and so on. Sorry, it is difficult to explain for me in english, but luckily easy to reproduce ;-)

Steps to Reproduce (for bugs)

You can reproduce the bug here: http://www.material-ui.com/#/components/date-picker. Use the localized example (I tried the french version), as this bug only appears in the localized version

Try to set the datepicker to the "19 July in 1968", the date in the output-field will show "19 August in 1968"

This could be helpful for bugfixing:

If you click on the arrows for the months, You will see, that the month "march" ("mars") appears two times, only after the second click the next month is shown