WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
When drag-drop a firefox tag across screens, the atom(0.190.0) will exit. On Ubuntu 14.04, Firefox 37.01. Here's the console log .

[23715:0414/125813:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.

App load time: 195ms

ATTENTION: default value of option force_s3tc_enable overridden by environment.

[23751:0414/125814:INFO:renderer_main.cc(212)] Renderer process started

[23715:0414/125816:INFO:CONSOLE(8)] "activate linter-erb", source: /home/lithium/.atom/packages/linter-erb/lib/init.coffee (8)

[23715:0414/125816:INFO:CONSOLE(7)] "activate linter-xmllint", source: /home/lithium/.atom/packages/linter-xmllint/lib/init.coffee (7)

[23715:0414/125816:INFO:CONSOLE(59)] "Window load time: 2382ms", source: file:///usr/share/atom/resources/app/static/index.js (59)

The program 'atom' received an X Window System error.

This probably reflects a bug in the program.

The error was 'BadAtom (invalid Atom parameter)'.

(Details: serial 353 error_code 5 request_code 20 minor_code 0)

(Note to programmers: normally, X errors are reported asynchronously;

that is, you will receive the error a while after causing it.

To debug your program, run it with the --sync command line

option to change this behavior. You can then get a meaningful

backtrace from your debugger if you break on the gdk_x_error() function.)

Issue 2:
Atom Version: 0.129.0

Video of me triggering the bug: http://ara.sh/private/atom-crash.ogv

Reproducible every time.

Environment:

Ubuntu 14.04 (all updates installed as of filing this issue)

Unity desktop environment

Repro steps:

Launch atom from the Terminal

Open a Firefox window (or use an existing one)

Drag the Firefox tab anywhere over the Atom window

Actual behavior:

It crashes

Expected behavior:

Not crash :-)

Additional Information:

The terminal prints out the following after the crash:

[7950:0920/180947:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[7950:0920/180947:ERROR:browser_main_loop.cc(189)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
ATTENTION: default value of option force_s3tc_enable overridden by environment.
App load time: 88ms
[7984:0920/180947:INFO:renderer_main.cc(227)] Renderer process started
[7950:0920/180948:INFO:CONSOLE(18)] "Window load time: 778ms", source: /opt/atom/resources/app/src/window-bootstrap.js (18)
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
(Details: serial 1360 error_code 5 request_code 20 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Issue 1:
Bug report

Describe the bug

The final generated HTML contains multiple references of the same script when using dynamic(() => import("XXX")) feature.

<script async="" data-next-page="/_rendr" src="/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_rendr.js"></script>
<script async="" data-next-page="/_app" src="/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_app.js"></script>
<script async="" src="/_next/static/chunks/commons.2e47dd92dd81134f73ae.js"></script>
<script async="" src="/_next/static/chunks/7.08bfb698f640f0ab437a.js"></script>
<script async="" src="/_next/static/chunks/11.b15a7a54832e0f86eb5f.js"></script>
<script async="" src="/_next/static/chunks/12.300ea2b94b09addb1f7a.js"></script>
<script async="" src="/_next/static/chunks/9.9fad9003200f003586d9.js"></script>
<script async="" src="/_next/static/chunks/8.d50c138bb6c1512ea7a0.js"></script>
<script src="/_next/static/runtime/webpack-0f37fb1d4bd42a96e0fc.js" async=""></script>
<script src="/_next/static/chunks/commons.2e47dd92dd81134f73ae.js" async=""></script>
<script src="/_next/static/runtime/main-dbac27a7acba993626ba.js" async="">

Firefox downloads twice commons.2e47dd92dd81134f73ae.js, I guess the async flag presents in the first reference, and not present in the second reference make a difference. Chrome does not behave the same.

To Reproduce

You can download the example here https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/.

The dynamic declarations are there: https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/pages/_rendr.js#L12-L18

There is also a live demo here: https://nextjs-with-remoteapi.rande.now.sh/

Expected behavior

No duplicate references.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

OS: linux or now.sh env.

Browser: Firefox and Chrome

Version of Next.js: 9.0.5

Additional context

Add any other context about the problem here.

Issue 2:
Bug report

I recently upgraded to the latest canary and noticed horizontal scrolling on some mobile devices. As it turned out, this was caused by #6754 (cc @developit).

Although the default new value of viewport is inserted only when there is no custom one, this logic did not work for me, because my custom viewport tag was in _document.js and not inside <Head />.

<meta name="viewport" content="width=device-width" />

Moving the tag into <Head /> solved the issue, but it took a while to investigate.

Expected behavior

It'd be great if Next.js searched for <meta name="viewport" content="..." /> inside custom _document.js and either did not insert the default one or asked developers to move their tag into <Head />. WDYT folks?

System information

Version of Next.js: 8.0.5-canary.17
Issue 1:
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.): dns, skydns, dns not resolving

Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.5", GitCommit:"b0deb2eb8f4037421077f77cb163dbb4c0a2a9f5", GitTreeState:"clean", BuildDate:"2016-08-11T20:29:08Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.6", GitCommit:"ae4550cc9c89a593bcda6678df201db1b208133b", GitTreeState:"clean", BuildDate:"2016-08-26T18:06:06Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}

Environment:

Hosted GKE cluster

What happened:

I created a new cluster with the create cluster button in the GUI.

Then, I created a number of headless services with explicitly defined endpoints that pointed at external google cloud VMS:

Endpoint:

{
"kind": "Endpoints",
"apiVersion": "v1",
"metadata": {
"name": "rabbitmq"
},
"subsets": [
{
"addresses": [
{ "ip": "validExternalIP" }
],
"ports": [
{ "port": 5672 }
]
}
]
}

Service:

{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "rabbitmq",
"labels": {
"name": "rabbitmq"
}
},
"spec": {
"ports": [
{
"port": 5672
}
]
}
}

My DNS quickly began failing to resolve anything.

According to http://kubernetes.io/docs/user-guide/debugging-services/ this command should always work:

root@pod:/usr/src/app# nslookup kubernetes.default
;; connection timed out; no servers could be reached

What you expected to happen:

I expected the kubedns pods to properly direct intra-cluster traffic

How to reproduce it (as minimally and precisely as possible):

Create a new cluster, wait

Issue 2:
@nikhiljindal there are two controllers in federation for v1.3, however the clientset of cluster controller and service controller are different so I open this issue to discuss with you how to keep them identical.

The versioned clientset kept broken before I merged service controller, like watcher always get a unversioned object so the type assertion is always failed, so after checking with caesarxuchao, I changed the clientset and object in service controller to unversioned, but in cluster controller, they are versioned. We need to decide which one we should use.

Cluster controller has a go file cluster_client.go to create clientset and the clientset was wrapped as private member of ClusterClient which can not be refered by service controller. In service controller, I duplicated to origin code of NewClusterClientSet() to create clientset(discoveryClient is not needed however), however NewClusterClientSet was changed, so the right way to make it work is to add a util func to return *clientset.Clientset so that both controller can call.

what do you say?
Issue 1:
I'm using Atom 0.121.0 on OSX 10.9.4. I turn Atom into Mac Fullscreen mode, and back. I found the Window is restored to normal, but the header is covered by the menu bar, and I cannot access it.

Here is the screenshot:

Check it with exposé, window header is there.

Issue 2:
Updated to the latest version of Atom 0.121.0. When opening Atom I am now forced into full screen mode.. Toggling the mode doesn't seem to fix the issue either.

Possibly related to #3256 and #3257?

Attached is a screenshot:
Issue 1:
Summary of the new feature/enhancement

Allow mapping the Windows key alone as the shortcut key for PowerTools Run, disabling the windows start menu launch, but still allowing the windows combo shortcuts (WIN+L, WIN+1, WIN+TAB etc) to work. One can still access the start menu or it's search by clicking with mouse.

Reason: I would like to replace the traditional windows menu/search with this instead.

Issue 2:
ℹ Computer information

PowerToys version: 0.21.1.0

PowerToy Utility:

Running PowerToys as Admin: yes

Windows build number: [run "winver"] Microsoft Windows NT 10.0.19041.0

📝 Provide detailed reproduction steps (if any)

Actually wasn't even doing anything on my computer, just had powertoys running in the background (notification tray) and looking at a tablet screen to look up and have an error on powertoys on my desktop computer.

Version: 0.21.1.0

OS Version: Microsoft Windows NT 10.0.19041.0

IntPtr Length: 8

x64: True

Date: 09/29/2020 13:32:18

Exception:

System.IO.FileNotFoundException: D:\User Profile\Desktop\Flash Drive Sync\Documents\acp_commander_gui_156.exe

at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)

at Microsoft.Plugin.Program.Programs.Win32Program.ExeProgram(String path)

at Microsoft.Plugin.Program.Programs.Win32Program.GetAppFromPath(String path)

at Microsoft.Plugin.Program.Storage.Win32ProgramRepository.OnAppCreated(Object sender, FileSystemEventArgs e)

at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(WatcherChangeTypes changeType, ReadOnlySpan`1 name)

at System.IO.FileSystemWatcher.ParseEventBufferAndNotifyForEach(Byte[] buffer)

at System.IO.FileSystemWatcher.ReadDirectoryChangesCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

--- End of stack trace from previous location where exception was thrown ---

at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pNativeOverlapped)

✔️ Expected result

No idea what power toys was trying to accomplish. Log attached.

2020-09-29.txt

Even with the 'Something went wrong' box still up, my Fancyzones and shortcut guide, the portions of Power Toys that I primarily use, are still working fine, so not seeing anything that suddenly had a problem.
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.2+

Operating System version: mac

Java version: jdk8

Steps to reproduce this issue

refer: https://github.com/apache/incubator-dubbo/issues/2511， Multiple reference configurations on the same interface will be overwritten

reproduce this issue: https://github.com/freeseawind/copycat-dubbo

Expected Result

@reference does not affect each other on the same interface

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

[ x ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: latest

Operating System version: mac

Java version: 1.8

Steps to reproduce this issue

public interface DemoService {

int getListSize(List list);
int getSetSize(Set set);

}

telnet localhost 20881

invoke xxx.getListSize([1,2,3])

invoke xxx.getSetSize([1,2,3])

Expected Result

ok

ok

Actual Result

ok

No such method
Issue 1:
From @jwulf on November 24, 2015 12:49

Copied from original issue: microsoft/vscode#544

Issue 2:
TypeScript Version:

nightly (1.9.0-dev.20160217)

Code

A contrived example:

interface Convert {
(arg: string): number;
(arg: number): string;
}

function convert(arg: number | string): number | string {
return typeof arg === 'number' ? arg.toString() : parseFloat(arg);
}

let foo: Convert = convert;

Expected behavior:

Code above compiles, and the following compiles and runs without errors:

let result1: string = foo(10);
let result2: number = foo(result1);
assert(result2 === 10);

Actual behavior:

Compilation error:

...(10,5): error TS2322: Type '(arg: number | string) => number | string' is not assignable to type 'Convert'.

Type 'number | string' is not assignable to type 'number'.

Type 'string' is not assignable to type 'number'.

Current approach:

Specify all overloads again above function:

interface Convert {
(arg: string): number;
(arg: number): string;
}

function convert(arg: string): number;
function convert(arg: number): string;
function convert(arg: number | string): number | string {
return typeof arg === 'number' ? arg.toString() : parseFloat(arg);
}

let foo: Convert = convert;
Issue 1:
Documentation Link

https://matplotlib.org/stable/api/figure_api.html?highlight=note#module-matplotlib.figure

Problem

The usage of

Notes
------

vs

Note:

vs

.. note::

is a bit inconsistent. As an example, the linked page use all three versions.

Stats in current main (lib directory, not doc):

Note: : 19

Notes: 153

.. note::: 59

There may for sure be a reason to use a particular approach in a gives instance, but it also may be a reason to try to make things more consistent.

Suggested improvement

At least replace the Note: to one of the other.

Replace Notes with .. note::?

Issue 2:
Documentation Link

No response

Problem

We currently have a mix of .. notes:: and numpydoc Notes in the docstrings, and they render differently (compare e.g. https://matplotlib.org/devdocs/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.grid and https://matplotlib.org/devdocs/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.zaxis_date). Admittedly I'm not sure we can be always consistent, because (I think?) there can be only one Notes numpydoc section whereas there can be as many .. notes:: as needed with any nesting. Perhaps we should try to improve partial consistency, or perhaps not... Just pointing this out :)

Suggested improvement

No response

Matplotlib Version

3.5.0.dev2456+g2c3f14ed28

Matplotlib documentation version

3.5.0.dev2456+g2c3f14ed28
Issue 1:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
dev-master

I have reproduced this in a small example in this git repository.

If I load my dependency injection configuration from a config file that looks like this the environment variables aren't parsed.

parameters:
log.file: '%env(APP_LOG)%'
log.level: '%env(LOGGING_LEVEL)%'
services:
stream_handler:
class: \Monolog\Handler\StreamHandler
arguments:
- '%log.file%'
- '%log.level%'
log:
class: \Monolog\Logger
arguments: [ 'default', ['@stream_handler'] ]

The error I get looks like:

Fatal error: Uncaught UnexpectedValueException: The stream or file "env_PATH_a61e1e48db268605210ee2286597d6fb" could not be opened: failed to open stream: Permission denied in /var/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 Stack trace: #0 /var/www/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\Handler\StreamHandler->write(Array) #1 /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(337): Monolog\Handler\AbstractProcessingHandler->handle(Array) #2 /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(532): Monolog\Logger->addRecord(100, 'Initialized dep...', Array) #3 /var/www/html/index.php(17): Monolog\Logger->debug('Initialized dep...') #4 {main} thrown in /var/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107

I've asked on stack overflow to no response.

It seems the root of the problem is ContainerBuilder::resolveEnvPlaceholders() is never called.

Issue 2:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
3.2.2

Hi,

I'm trying to use the new env() placeholder introduced with #19681, but I can't get it to work. I installed symfony/dependency-injection|config|yaml, and I followed Setting up the Container with Configuration Files.

This is my script—mostly copy/pasted from the documentation:

<?php

require __DIR__ . '/vendor/autoload.php';

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;

$container = new ContainerBuilder();
$loader = new YamlFileLoader($container, new FileLocator(__DIR__));
$loader->load('services.yml');

var_dump(getenv('NAME'));
var_dump($container->getParameter('test'));

This is my services.yml file:

parameters:
test: '%env(NAME)%'

And this is the output of the command NAME=madonna php test.php:

/Volumes/GIT/olvlvl/test-di-env/test.php:13:
string(7) "madonna"
/Volumes/GIT/olvlvl/test-di-env/test.php:14:
string(11) "%env(NAME)%"

I also read How to Set external Parameters in the Service Container but it doesn't give more information, so I'm not sure what's wrong.

Here is the package list:

symfony/config v3.2.2 Symfony Config Component
symfony/dependency-injection v3.2.2 Symfony DependencyInjection Component
symfony/filesystem v3.2.2 Symfony Filesystem Component
symfony/yaml v3.2.2 Symfony Yaml Component

Can you help?
Issue 1:
Why is this important and How to do it?

I see a lot of job seeking websites are asking for Github username, because they are interested to know what we have done till now with codding.

And that's where my idea comes from, we have so much code written in FCC and so little in Github!

Why not connect FCC with Github and whatever you Submit in FCC it would transfer the same code in Github too.

I wish this will get done soon.

Because I hate copy & paste it from FCC to Github !

It's so BORING !

Example with user: takumar

His profile in FCC:

His profile in Github:

Imagine how Amazing it would be if he had the same contributions !

If I where a CEO of a Company I would hire him immediately!

Issue 2:
We are looking for a low-friction way for campers to be able to push their Free Code Camp challenge solutions to a GitHub repository.

We need to establish:

is it possible to create, then write to, a camper's open source repository? (https://developer.github.com/v3/repos/#create)

could we push a .md file with their solution to the repository?

Is there an alternate way where the camper could download the solution .md file to a specific repository, then manually push it up to GitHub?
Issue 1:
Just to confirm that there are numerous translations that are missing in the Spanish translation. I think a message asking for help for translation or any indication of why some of them are not still completed should be considered?

Issue 2:
As an user, when completing challenges in a non-english language and running into a challenge that does not have an active translation, I want a notification explaining that translation is being worked on, and the current one is missing. And invitation to contribute with it, perhaps?

Said notification should link to the translation repo's issues, with the respective language tags selected.

Active translations are translations of a challenge that is relatively up to date
Issue 1:
From @cherusk on 2016-09-16T16:58:59Z

Come back to me asap, please. Were prepared for impl. if OK.

ISSUE TYPE

Feature Idea

COMPONENT NAME

mount module

ANSIBLE VERSION

ansible 2.0.0.2

Copied from original issue: ansible/ansible-modules-core#4885

Issue 2:
Issue Type:

Bug Report

Ansible Version:

Ansible 1.9.2

Ansible Configuration:

[defaults]
library = /etc/ansible/library

Environment:

Ubuntu 14.04 LTS

Summary:

When a playbook is run more than once concurrency from one host to another a suspected race condition occurs

Steps To Reproduce:

I think there might be a race condition in the function involving

ansible/v1/ansible/utils/__init__.py

Line 319
in
5ce3988

raise errors.AnsibleError("Could not make dir %s: %s" % (tree, e))

If I run the same playbook twice against the same host it is possible that one of the runs dies with the following:

GATHERING FACTS ***
fatal: [web.tst.example.com] => Could not make dir /var/lib/jenkins/.ansible/cp: [Errno 17] File exists: '/var/lib/jenkins/.ansible/cp'

My use case is I have Jenkins jobs running a playbook against a host that manages Apache config along with some application specific settings. Even if I do run two Jenkins jobs at the same time the above doesn't always happen so it leads me to suspect a race condition during the temporary directory creation.

Is there a reason this directory isn't also unique per run as the things placed under it?

Expected Results:

I'd expect each separate playbook run not to try to create and delete the same directory so they can happily run side by side.

Actual Results:

If I run the same playbook twice against the same host it is possible that one of the runs dies with the following:

GATHERING FACTS ***
fatal: [web.tst.example.com] => Could not make dir /var/lib/jenkins/.ansible/cp: [Errno 17] File exists: '/var/lib/jenkins/.ansible/cp'
Issue 1:
Possibility to setup rules for automatic moving windows in to zones.

I think it might be a useful feature when newly opened window will be moved in to defined zone automatically. The rules for automatic moving can be applied based on process name (and/or window title, etc).

The rules can be applied when window is opened or by shortcut.

The rules can be disabled/enabled.

The layout should support import/export with all rules.

Issue 2:
Hi all,

It would be great to choose what apps to show up on startup within a specific layout using FancyZones. For example, I have a setup of two displays and three virtual desktops and I need to open my apps and reposition them on the screen each time I boot-up my system.