WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
I want to implement the cases that when any link is clicked in a webview, it's opened in the default browser. But webview only has the new-window event which is fired only when new window is opened (e.g., with _target). I wonder how do I support the case for links that don't open a new window?

Issue 2:
It would be very useful to get events related to navigation:

will-navigate: when the webview is about to navigate (url have been changed but no requests have been emited yet). It could eventually be cancelled with event.preventDefault())

page-url-set: like page-title-set but for url. It is different than before-navigate because it should also handle anchor changes and HTML5 url set without navigating (with history.pushState and history.replaceState)

did-navigate: after the navigation has occured (i.e. when a new entry have been pushed to history and canGoBack/canGoForward/canGo... may have changed)
Issue 1:
I'm using Symfony 2.3 and written something very similar to this cookbook entry (http://symfony.com/doc/2.3/cookbook/security/voters.html). I think my issue very much looks like #8467, although I believe my use case is different. Because I am not using a user provider at all, anonymous authentication is totally ok.

Now, InsufficientAuthenticationException is thrown with AccessDeniedException as a previous exception when I've denied access in my custom voter. I do not see why this first exception is thrown, since I just expect to return a 403 as a response and not a fatal 500.

Some more info: I've got two firewalls. One is ignoring all dev related paths. The other simply allows anonymous users. My security.yml looks like this:

security:
encoders:
Acme\DemoBundle\Entity\Person:
id: acme.demo.blowfish_password_encoder

providers:
in_memory:
memory: ~

firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false

default:
anonymous: ~

access_control:
- { path: ^/, roles: IS_AUTHENTICATED_ANONYMOUSLY }

access_decision_manager:
strategy: unanimous

Can anyone elaborate on this?

Issue 2:
firewalls:
dev:
pattern: ^/(_(profiler|wdt|fragment)|css|images|js)/
security: false

main:
pattern: /
ololo: ~
provider: users_entity
anonymous: ~

access_control:
- { path: ^/admin, roles: ROLE_ADMIN }

open as anonymous something like /admin/dashboard and got 500. Expected 403.

[2013-07-10 17:27:49] security.INFO: Populated SecurityContext with an anonymous Token [] []
[2013-07-10 17:27:49] security.INFO: No expression found; abstaining from voting. [] []
[2013-07-10 17:27:49] security.DEBUG: Access is denied (user is not fully authenticated) by "/vhosts/www.ololo.com/new/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php" at line 73; redirecting to authentication entry point [] []
[2013-07-10 17:27:49] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException: "Full authentication is required to access this resource." at /vhosts/www.ololo.com/new/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php line 109 {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\InsufficientAuthenticationException: Full authentication is required to access this resource. at /vhosts/www.ololo.com/new/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php:109, Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException: Access Denied at /vhosts/www.ololo.com/new/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php:73)"} []
Issue 1:
VSCode Version:1.0

OS Version:osx

Steps to Reproduce:

set locale to zh-CN

F1 open Command Palette, press "Tasks", nothing.

Issue 2:
VSCode Version:

バージョン 0.10.12-insider

コミット ef2a1fc

日付 2016-03-21T11:33:38.240Z

シェル 0.35.6

レンダラー 45.0.2454.85

ノード 4.1.1

Even Japanese people, typing Japanese words are very painful and time-consuming because of IME composition problems.

We expects that the commands are all in English.

For example, if I want to execute git pull, I will type "git pull"; not "git プル".

Hope you can understand our situation.
Issue 1:
Electron version: 1.8.2

Operating system: macOS High Sierra version 10.13.3

Expected behavior

Should work without crashing.

Actual behavior

build electron app example

upgrade to 1.8.2 => remove node modules => reinstall all node modules

run => app crash when running (rollback electron 1.7.12 => run success)

error:

node_modules/electron/dist/Electron.app/Contents/MacOS/Electron[30155]: ../../vendor/node/src/async-wrap.cc:399:void node::SetupHooks(const FunctionCallbackInfov8::Value &): Assertion `env->async_hooks_init_function().IsEmpty()' failed.

1: node::Abort() [node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]

How to reproduce

download electron app example

upgrade to 1.8.2 (change in package.json) => remove node modules => reinstall all node modules

Issue 2:
Electron version: Anything over 1.7.8, until the latest 1.8.2-beta.1

Node: 8.8.0

Operating system: high sierra

Going over 1.7.8 seems to break Electron for one of our projects. It's hard to track down what's going on but here's the output:

❯ yarn run electron
yarn run v1.2.1
$ electron .dev/electron.js
/Users/drcmda/dev/stepdoctor/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron[41928]: ../../vendor/node/src/async-wrap.cc:399:void node::SetupHooks(const FunctionCallbackInfo<v8::Value> &): Assertion `env->async_hooks_init_function().IsEmpty()' failed.
1: node::Abort() [/Users/drcmda/dev/stepdoctor/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
2: node::Assert(char const* const (*) [4]) [/Users/drcmda/dev/stepdoctor/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
3: node::AsyncWrap::Initialize(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>) [/Users/drcmda/dev/stepdoctor/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
4: v8::internal::StrDup(char const*) [/Users/drcmda/dev/stepdoctor/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
5: v8::internal::compiler::BranchElimination::ControlPathConditions::operator==(v8::internal::compiler::BranchElimination::ControlPathConditions const&) const [/Users/drcmda/dev/stepdoctor/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
6: v8::internal::compiler::BranchElimination::ControlPathConditions::operator==(v8::internal::compiler::BranchElimination::ControlPathConditions const&) const [/Users/drcmda/dev/stepdoctor/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
7: 0x3eadf51843fd
8: 0x3eadf527777c
9: 0x3eadf523be1c
✨ Done in 0.40s.

It happens when we require a file that has async/await calls in it, but nothing's yet executed. But the moment we go back to 1.7.8 it starts working again.
Issue 1:
julia> repmat(rand(2,2), Int32(1))
ERROR: MethodError: no method matching repmat(::Array{Float64,2}, ::Int32)
Closest candidates are:
repmat(::Union{AbstractArray{T,1},AbstractArray{T,2}}, ::Int64) at abstractarraymath.jl:271
repmat(::Union{AbstractArray{T,1},AbstractArray{T,2}}, ::Int64, ::Int64) at abstractarraymath.jl:271
in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64
in macro expansion at ./REPL.jl:95 [inlined]
in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68

Could the signature be relaxed to accept generic Integers? (I guess yes :)

Issue 2:
Currently, reshape requires the dimension parameters to be Int

reshape(parent::AbstractArray, dims::Int...) = reshape(parent, dims)

I am not sure if this is required for efficiency reasons, but I wonder if this could be changed to Integer?

In reading binary formatted data I often come across the situation where dimensions of an array are specified as Int32, and then the matrix data that follows has to be reshaped accordingly. Currently I have to escape the dimension specification using Int(), a small effort, but it would be slightly cleaner if that would not be required.
Issue 1:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gce-es-logging/2281/

Failed: [k8s.io] Cluster level logging using Elasticsearch [Feature:Elasticsearch] should check that logs from containers are ingested into Elasticsearch {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/cluster_logging_es.go:82
Some log lines are still missing
Expected
<int>: 100
to equal
<int>: 0
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/cluster_logging_es.go:81

Previous issues for this test: #34666 #34708

Issue 2:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gce-es-logging/2267/

Failed: [k8s.io] Cluster level logging using Elasticsearch [Feature:Elasticsearch] should check that logs from containers are ingested into Elasticsearch {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/cluster_logging_es.go:82
Some log lines are still missing
Expected
<int>: 100
to equal
<int>: 0
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/cluster_logging_es.go:81

Previous issues for this test: #34666 #34708
Issue 1:
Tooltip not showing in Firefox.

Left - Firefox. Right - Chrome

Firefox: 76.0 (64-bit)

Chrome: 83.0.4103.61 (Official Build) (64-bit)

Issue 2:
Macos using Python3.8 --> python setup install

I can find apache_superset-0.38.0-py3.8.egg was created in site-package /

How can I init superset and start server

(please complete the following information):

superset version: 0.38.0

python version: 3.8

node.js version: 14.12

npm version: 6.14

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

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.

Additional context

Add any other context about the problem here.
Issue 1:
In my previous text editor I could just select some text/code and would then see all other occurrences highlighted in the view. From there on I could jump to each one by a simple shortcut (it put the selection into the finder and then normal jumping between results could occur).

Would be great to have it also in Atom!

Issue 2:
Yet another Sublime Text feature (YASTF).

This should act as a preview of what Cmd-d will select.

http://discuss.atom.io/t/highlight-occurrences-of-selected-word/2080
Issue 1:
From @saneyuki on February 2, 2016 3:34

Environment

VSCode, Version 0.10.7-insider (0.10.7-insider), 6c2d51a4b7b81753a3a4c46f9de9a15179e20304

with enabling Salsa preview

typescript@1.9.0-dev.20160201

which is specified with typescript.tsdk

Description

The closure compiler style JSDoc allows the generics like Array<T>, not only Array.<T>.

But the above environment shows the argument styled with its style as any in the intellisense.

problem case

/**
* @params {Array<string>} v
* @return {string}
*/
function bar(v) { //
return v.join();
}

var b = bar(["1", "2"]); // Intellisense shows this signature as `bar(v: any)`;

non-problem case

It's ok Array.<T> or T[]which is allowed in http://usejsdoc.org/tags-type.html

/**
* @params {Array.<string>} v
* @return {string}
*/
function foo(v) {
return v.join();
}

var b = foo(["1", "2"]); // Intellisense shows this signature as `foo(v: any)`;

What I expect

I want Salsa interprets the closure compiler style's generics annotation.

By any chance, I should report this to https://github.com/Microsoft/TypeScript?

Copied from original issue: microsoft/vscode#2629

Issue 2:
Generic types may not be specified for variable, param, or return types currently. For example, both of the below just show up as 'any's.

/** @type {PromiseLike<string>} */
var a9;

/**
* @return {PromiseLike<string>}
*/
function f9(){}

We should support this using a syntax like that show above, which closely matches TypeScript's and is covered in the Closure Compiler docs also (https://developers.google.com/closure/compiler/docs/js-for-compiler#instantiating-a-generic-type)
Issue 1:
When I run npm test on the root of DefinitelyTyped, I got below error in the console:

$ npm test

> definitely-typed@0.0.3 test /home/beenotung/workspace/github.com/beenotung/DefinitelyTyped
> node node_modules/types-publisher/bin/tester/test.js --run-from-definitely-typed

Clean data
Clean logs
Clean output
Using local Definitely Typed at /home/beenotung/workspace/github.com/beenotung/DefinitelyTyped.
Parsing definitions...
Found 5881 packages.
Parsing in parallel...
Running: git rev-parse --verify master
96ecf8642b80681d2a1890dedd2b3569095df725
Running: git diff master --name-status
Error: Error: stdout maxBuffer exceeded
at Socket.onChildStdout (child_process.js:329:14)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:246:13)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:601:20)

at Object.execAndThrowErrors (/home/beenotung/workspace/github.com/beenotung/DefinitelyTyped/node_modules/.github.com/Microsoft/types-publisher/51db099db4d654ab4c12c46035541b53b2b00801/node_modules/types-publisher/src/util/util.ts:166:15)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
ERROR  Test failed. See above for more details.

Not sure who to mention, but it seems below authors are knowledgeable on the script setting in package.json:

@Flarna @sandersn

Issue 2:
If you know how to fix the issue, make a pull request instead.

I tried using the @types/xxxx package and had problems.

I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript

I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).

Mention the authors (see Definitions by: in index.d.ts) so they can respond.

Authors: @DefinitelyTyped

If you do not mention the authors the issue will be ignored.

When I run npm run test, I get the following output:

> node node_modules/types-publisher/bin/tester/test.js --run-from-definitely-typed

Clean data
Clean logs
Clean output
^[{ RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stderr maxBuffer length exceeded
at Socket.onChildStderr (child_process.js:382:14)
at Socket.emit (events.js:193:13)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:272:13)
at Socket.Readable.push (_stream_readable.js:231:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:150:17) cmd: 'git diff --name-only' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! definitely-typed@0.0.3 test: `node node_modules/types-publisher/bin/tester/test.js --run-from-definitely-typed`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the definitely-typed@0.0.3 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-05-25T13_38_42_644Z-debug.log

It seems that maxBuffer should be increased when the tests run. Or am I doing something wrong?
Issue 1:
Pasting 4 spaces is absolutely broken. Atom is trying to preserve the indent and thus refusing to paste.

Video: http://youtu.be/uVpGAkxB3EY

Issue 2:
I'm refactoring. I press cmd-shift-f, type some characters, press enter, click on one of the search results, and replace the matching line with a new implementation.

I press cmd-shift-f again, press enter again because it's the only way I can see the search results without tabs, and the old version line I just changed is still in the search results.

Occasionally the results will mix it up by giving me duplicate results for the same match: One with a path relative to the current project root and one with an absolute path.

I've reported this and related issues a few times now without getting much insight. I'd really like to know what I'm doing that makes search usless for me and OK for everybody else. What am I doing wrong?

Atom Version: 0.49.0

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Atom/0.49.0 Atom-Shell/0.8.7 Safari/537.36
Issue 1:
If a cypher query returning nodes is executed using the transactional REST endpoint essential meta-information is missing (e.g. labels). This disallows creating generic mapping frameworks for languages, An example:

CDO (http://github.com/buschmais/cdo-neo4j) allows the user to map annotated Java interfaces to nodes:

@Label
public interface Person {
// represents nodes labeled with Person
public String getName();
public void setName(String name);
}

@Label
public interface Customer extends Person {
// represents nodes labeled with Customer and Person
public int getCustomerNo();
public void setCustomerNo(int customerNo);
}

The user now may issue cypher queries using the CDO interface

List<Person> persons = cdoManager.createQuery("match (p:Person) return p", Person.class).execute();

CDO will execute this query but for each node returned by the query it needs to decide whether to create an instance of Person or Customer - this can only be achieved if the labels are availabe as metadata.

Note: As also relationships may be of different types and can be mapped to language specific types (e.g. Java classes) they should also contain metadata (i.e. their type) if they are part of the return clause.

Issue 2:
I've currently got an ugly workaround in place to get the labels for a node returned in the transactional HTTP endpoint REST format that calls the URI for labels. It would be awesome if there were a format that had (all in one response):

node id

labels--one big list

properties

nothing else; no bloat!
Issue 1:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
3.2.4

Taking from this ticket : https://github.com/symfony/assetic-bundle/issues/428

Have the same problem.

Issue 2:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
yes

RFC?
no

Symfony version
3.2.x

This problem occurs after an upgrade to symfony 3.2.x if you use kriswallsmith/assetic and have exported bash functions in your current environment variables. In previous versions they were ignored by proc_open but in the 3.2 branch they are added using a self built environment string which tries to load these functions into sh which respectfully declines. This causes a bc break.

Results per symfony/process version when adding a bash function environment variable:

Installed 3.1.*
========================================
hello world

Installed 3.2.0
========================================
sh: 1: export: BASH_FUNC_foo%%: bad variable name

Installed *
========================================
sh: 1: export: BASH_FUNC_foo%%: bad variable name

Installed 3.2.x-dev
========================================
sh: 1: export: BASH_FUNC_foo%%: bad variable name

Installed dev-master
========================================
hello world

The script to check:

#!/usr/bin/env bash
# Create and export bash function
foo() { echo 'bar'; }
export -f foo

# Load bash function foo and add it to a process
# using a process builder, run it and show output.
PHPCODE='
require __DIR__ . "/vendor/autoload.php";

$foo = getenv("BASH_FUNC_foo%%");
$pb = new \Symfony\Component\Process\ProcessBuilder(["echo", "hello world"]);
$pb->setEnv("BASH_FUNC_foo%%", $foo);
$p = $pb->getProcess();
$p->run();

echo $p->getErrorOutput() . $p->getOutput() . PHP_EOL;
'

# Try multiple versions of the symfony/process component
for VERSION in '3.1.*' '3.2.0' '*' '3.2.x-dev' 'dev-master'; do
composer -q require symfony/process "$VERSION"
echo "Installed $VERSION"
echo '=================='
php -r "$PHPCODE"
done
Issue 1:
Elasticsearch version: 2.3.5

JVM version: OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-1~deb8u1)

OS version: Debian 8.5

Description of the problem including expected versus actual behavior: log messages are written to ${path.logs}/${cluster.name}.log and stdout. When using SystemD, logs end up in two files (ES log and syslog)

I don't see a good reason to keep both locations for logs (see "the bad" section here : http://www.kibinlabs.com/systemd-logging-tricks/)

Issue 2:
When we moved query parsing on the coordinating node (see #10217), we added a new SearchSourceBuilder#fromXContent method that given an XContentParser and the current QueryParseContext parses and creates a new SearchSourceBuilder object. The parse code ends up duplicating what we already have in our SearchParseElement classes. We made a choice not to refactor these initially as they depend on SearchContext and there are still apis that use them to parse lucene queries straight-away and set them to the search context rather than going through our intermediate query representation.

This solution can only be temporary though, as we are currently duplicating parsing code. What we should do ideally instead, is move over parsing code to the new solution (either SearchSourceBuilder#fromXContent or an updated version of SearchParseElement that doesn't depend on SearchContext) and get rid of the previous parsing code. I realize how this becomes hard to do given that we have not moved yet all of the search sections over. Maybe we should wait till the search refactoring is completed, but after that we should clean this up and have only one way to parse search sections, with code in one single place, otherwise it becomes hard to understand how each api parses search sections.