WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Similar to how file explorers/tree views work on most platforms, it would be convenient to be able to navigate through the folder explorer using a-z. For example:

ctrl+0 or click to focus sidebar

Type "foo" in quick succession to go to the directory (in the current directory) starting with /fo?o?/, if it exists

Issue 2:
VSCode Version: Any

OS Version: Any

Feature Proposal

When opening a folder containing hundreds of items (for example: node_modules) There is no easy way to get to a child folder/file without scrolling around.

Would it be possible to allow the file viewer to navigate down to let's say the first file of the next letter keypressed?

node_modules (folder is highlighted)
( letter L is hit )
---- automatically scrolls down within node_modules to folders beginning with "L"
+++ Folders shown:
+ Lodash / etc

Just an idea, would help navigating large filesystems a bit easier.
Issue 1:
All doc links reference window.parent.goTo which has possibly never worked(?)

First commit referencing window.parent.goTo by @mrdoob on July 24th, 2012 git show -p 9a1bd006143e7d949d4b21804d28ccf80db701c1 -- docs/page.js

commit 9a1bd006143e7d949d4b21804d28ccf80db701c1
Author: Mr.doob <info@mrdoob.com>
Date: Tue Jul 24 18:01:05 2012 +0200

Refactored documentation system. No more XMLHttpRequest.
Now you can browse the docs from the local system too.

Altered by @alteredq on Aug 8th 2012 git show -p a650f50aa9ccb66e00d29d2efcbf31d6f13540fa

commit a650f50aa9ccb66e00d29d2efcbf31d6f13540fa
Author: alteredq <postfilter@gmail.com>
Date: Wed Aug 8 17:49:40 2012 +0200

Fixed bug in docs regular expression.

This was creating mess when URL contained "html" also elsewhere than just at the end.

Up next is @caseygrun git log -p -- docs/page.js --author=Casey Grun who made a bunch of commits to the docs file. This is a likely culprit because of multiple commits to address the same thing.

commit 5ddb3b7427f293eae8dedd496b1318ea42ea41b7
Author: Casey Grun <casey.grun@gmail.com>
Date: Wed Oct 15 00:14:18 2014 -0400

AlImprove member cross-linking functions in docs

...etc

Whodunit? :D

I don't know what the problem is because on the docs pages, window.parent.goTo is defined.

I actually don't know if the doc method linking ever worked? I'm also not sure why we don't just use <a href="#anchor"> which is the standard way to link to anchors on a page.

Issue 2:
I've been looking at contributing documentation changes and noticed that there are some inconsistencies with the return value of methods.

For example, Vector3's page has a this after all methods that modify the Vector3 in place and then return the same Vector3. But there are methods like .distanceToSquared() that have no return value after the method.

So my questions are:

When should a return value follow a method definition?

When should that return value text be this or the type, eg. Vector3?

Side Note: There are methods that link to non-existent pages because their return type is a standard JS type ( eg. Boolean, Float, etc ). This is confusing if you are expecting to be redirected to the page on that type.
Issue 1:
The current airflow scheduler architecture can scan the DAG, understand the cron schedule defined in the DAG and submit a task to a local/remote executor. This works best for most of use cases to automate any flavor of workflows. The cron schedule can fit most of workflow patterns but there are few complex business scheduling requirements as specified below.

Run the workflow on every alternative week ends and don't run on holidays

Run the workflow on every week and include few holidays except Christmas and New Year.

These 2 are sample examples.

Use case / motivation

Most of licensed scheduler have calendar based scheduling feature where users can pick or customize schedule according to pre-defined calendar for each workflow.

**Feature Request ** :

Have a configurable option to use customized calendar based schedule or cron based

schedule for each DAG.

Scheduler can read the option at each DAG level schedule option and act according to calendar based schedule or cron based schedule

Webserver DAG Graph view can display the calendar based schedule or cron based schedule.

Note: This feature request is based on usage of airflow for more than 3 to 4 years and felt it would be a great feature to incorporate in the airflow architecture.

Issue 2:
Apache Airflow version

2.1.3

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

Community Helm chart 8.0.8

What happened

I have created 1000 dags like that

test_AIR10001.py

...

test_AIR11001.py

After wait period of 5 minutes try to open any dag and can't.

Here is an exception details: https://sentry.io/share/issue/b97fca62ccec47709e814e70deb3e4ba/

If I try do do 5 dags like that I do not have this issue.

What you expected to happen

I expect dags would be loaded to Ariflow without any issue

How to reproduce

dag code

import numpy as np
from airflow import DAG
from airflow.operators.python import PythonOperator
from datetime import datetime
from src.helpers import dag_helper

with DAG(
dag_id=dag_helper.get_dag_id_from_path(__file__),
schedule_interval=None,
start_date=datetime(2021, 1, 1),
catchup=False,
tags=["example"]
) as dag:
def print_array():
"""Print Numpy array."""
a = np.arange(15).reshape(3, 5)
print(a)
time_wait_cuy = dag_helper.get_time_wait_cuy()
print(time_wait_cuy)
return time_wait_cuy

run_this = PythonOperator(
task_id="print_the_context",
python_callable=print_array,
)

Here is dag_helper

import os
from pathlib import Path

def get_time_wait_cuy():
return os.environ['environment']

def get_dag_id_from_path(dag_file_path):
path = Path(dag_file_path)
stem = path.stem
trimmed_path = Path(*path.parts[5:len(path.parts) - 1])
prefix = str(trimmed_path).replace(os.path.sep, '_')
return '__'.join([prefix, stem])

Anything else

No response

Are you willing to submit PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct
Issue 1:
ISSUE TYPE

Feature Idea

COMPONENT NAME

vault

ANSIBLE VERSION

2.3

SUMMARY

Extend the --output flag to work with the encrypt_string action to update/add the variable defined with -n.

So running: ansible-vault encrypt_string -n PASSWORD MySecret --output=group_vars/servers

Would update group_vars/servers file, adding PASSWORD: if it didn't exist, or updating if it did.

Issue 2:
Issue Type:

Bug Report

Ansible Version:

ansible 1.5.2

Environment:

Ubuntu 12.04

Summary:

SSL verification fails when attempting to use the hipchat module

Steps To Reproduce:

Use the hipchat module and attempt to send a message.

Expected Results:

No errors, message gets sent.

Actual Results:

msg: failed to validate the SSL certificate for api.hipchat.com:443. You can use validate_certs=no, however this is unsafe and not recommended

Ansible v1.5.2 appears to have enabled SSL server certificate verification. If I attempt to use the HipChat module, it fails due to an unclear error message:

msg: failed to validate the SSL certificate for api.hipchat.com:443. You can use validate_certs=no, however this is unsafe and not recommended

It appears that Ansible hard-codes the Certificate Authority bundle based on the current platform and distribution. For Ubuntu, the file is hard-coded to /usr/share/ca-certificates/cacert.org/cacert.org.crt.

Running update-ca-certificates on Ubuntu does not fix the problem because this generates a bundle in /etc/ssl/certs/ca-certificates.crt.

I see a few improvements:

Display the attempted filename in the error message--this would help clarify what went wrong.

Allow configuration of the bundle file in the Ansible configuration (similar to curl's --cacert parameter).

curl also allows a --capath directory to search for certificates within this directory. Support this functionality.
Issue 1:
See

https://groups.google.com/d/msg/elasticsearch/OZsc5ofNhag/9JfwSy-CEMwJ where Shay says "...with the design of the facets, if shouldn't be hard to implement..."

Issue 2:
This might sound entirely trivial, but this would be a real boon for consistency in our aggregation parsing code. doc_count is currently a property of each bucket in a bucket agg, which makes it an exception when walking the aggregation tree.

If we could get a dedicated doc_count metric agg we could handle it the same way we handle every other metric agg, even if its only purpose is to duplicate the doc_count property of the bucket.
Issue 1:
electron-v0.30.4-linux-x64.zip

Linux Mint 17.2

Menus are twice (or larger?) the size they should be. This includes the context menu in dev tools which occupies a very large area but I wasn't able to capture a shot of it.

I know there's been a ton of discussion about high DPI support. I apologize if this bug is a duplicate.

Issue 2:
I am trying to convert my webpage to PDF using webContents.printToPDF. Most of the times its working fine but for pages containing iframe which I am using for youtube videos this method doesn't end at all. To update the electron version is impossible for my application. I tried to use webview in the place of iframe which was also not helping. Is there any way to fix this in the same version of electron.

Electron version : 5.0.13

OS: mac OS, Windows

win.webContents.printToPDF({
printBackground: true,
landscape: false,
marginsType: 1,
pageSize
}, (error, data) => {
console.log('Inside printToPDF callback')
if(error) {
showMessage("Unable to export PDF")
return console.log(error.message);
}
fs.writeFile(filePath, data, (err) => {
if (error) {
showMessage("Unable to export PDF")
return console.log(error.message);
}
console.log('Write PDF successfully!');
showMessage(`PDF exported successfully !`);
});
});

For pages containing iframe, the log "Inside printToPDF callback" is never printed.
Issue 1:
This returns 0, and is not consistent with:

length(“\0q”) -> 2

length(utf16(“\0q”) -> 2

length(utf32(“\0q”) -> 2

length(utf16(“\0\uff) -> 2

Issue 2:
This comes up periodically and it's a bit embarrassing that our official answer right now involves a inefficient splatting. We should have a function – maybe call it stack? – that efficiently does what vcat(vec_of_vecs...) does without the splatting. It should also stack in slices in different dimensions so that you can either stack slices as rows or columns, etc.
Issue 1:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable):0.3.2171.0

Steps to reproduce

Forgive the title - I couldn't think of a good way of articulating it

Set the default profile to PowerShell

Create a cmd tab

Press enter until the text covers most of the screen

Split the view horizontally

Close the bottom pane

Does not repro if:

The primary tab's text does not fill the screen

The secondary/bottom pane is not PowerShell

The primary/top pane is Ubuntu/WSL, and exhibits a different bug if the primary/top pane is PowerShell

The bottom/PowerShell pane loses focus (either to an external window or to the top pane)

Expected behavior

The pane closes

Actual behavior

The UI thread hangs. Screenshots:

Issue 2:
NOTE: This is different from, but may be related to, #2230

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version: 0.3.2142.0

Steps to reproduce

Open a new Windows Terminal instance

Open a second tab using either the "+" button

Close the new tab using CTRL+W, middle clicking the tab, or clicking the tab's "x"

Repeat steps 2-3 as fast as possible.

Expected behavior

Tabs continue to open and close.

Actual behavior

PowerShell - Most of the time, WT stops responding and interacting with it shows the "WindowsTerminal.exe is not responding" modal

CMD / WSL - WT stops responding for about 1 second and then exits (also happens for PowerShell sometimes)
Issue 1:
We're due to release 0.13.1 in a few days (or as soon as we clear the queue),

as a bugfix release stabilising 0.13.0, allowing us to start on the 3 month release cycle for 0.14.

Anything that isn't in 0.13.1 will have to wait until then to hit pypi.

Any objections, warnings or notes?

cc @jseabold , @yarikoptic, @juliantaylor, @takluyver

Issue 2:
Code Sample, a copy-pastable example if possible

import pandas as pd
df = pd.read_csv('https://user-name:pwd@my.fqdn.com:8080/get_content.csv')
# fails with urlopen error [Errno 11003] getaddrinfo failed Python2.7 as well as Python 3.x

Problem description

HTTPS basic auth is very common. This URL format works in Excel, other text editors, etc. This url works in requests library. It seems like the scenario doesnt work because the underlying urlopen doesnt work

# I think it fails because the underlying code here fails in pandas/io/common.py:
from urllib2 import urlopen as _urlopen
b = _urlopen('https://un-name:pwd@my.fqdn.com:8080/get_content.csv')
# fails with urlopen error [Errno 11003] getaddrinfo failed

see stackoverflow issue urllib basic auth

Only way to overcome this is using requests + StringIO ?

Expected Output

be able to get a CSV loaded dataframe

Output of pd.show_versions()

python: 2.7.13.final.0
python-bits: 64
pandas: 0.20.1
Issue 1:
Electron Version: 2.0.1

Operating System (Platform and Version): MacOS 10.13.1

Last known working Electron version: 2.0.1

Expected Behavior

This error occurred when registered the shortcut in only meta key combination.

For example, CommandOrControl+Shift or only CommandOrControl

The code is

globalShortcut.register('CommandOrControl+Shift', () => {
// …
})

I expected it would work as other shortcut registration.

Actual behavior

It occurs this error message.

TypeError: Error processing argument at index 0, conversion failure from Shift+CommandOrControl
at registerFontShortcut (/repo-path/main.js:161:20)
at fonts.map.font (/repo-path/main.js:97:36)
at Array.map (<anonymous>)
at EventEmitter._electron.ipcMain.on (/repo-path/main.js:97:24)
at emitThree (events.js:136:13)
at EventEmitter.emit (events.js:217:7)
at WebContents.<anonymous> (/repo-path/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/browser/api/web-contents.js:286:13)
at emitTwo (events.js:126:13)
at WebContents.emit (events.js:214:7)

To Reproduce

Starting a electron app and using these accelerator combination can reproduce it.

Additional Information

I think maybe it is the limitation of the OS. It’s weird to register only the meta key as shortcut.

If it is not permitted by the OS, should add usage restrictions of this api?

Issue 2:
Electron version: 1.6

Operating system: windows 10

I can't register a combination of modifiers as a global shortcut.

When doing: globalShortcut.register( "Shift+Super", someFunction ); I expect to have the function assigned to the Shift + Super key combination, but I get the following error:

TypeError: Error processing argument at index 0, conversion failure from Shift+Super

From my experiments we get this error everytime the shortcut is a combination of modifier keys only.

I don't think it's an OS limitation because I can assign the shortcut in another software.
Issue 1:
Electron version: 1.4.1

Operating system: macOS Sierra

Crash reporter do not send data. I got empty POST variable on server !

Issue 2:
Electron version: 1.4.0

Operating system: Windows 7 64bit (using exe packaged by electron-builder for "win32 x64")

If the Crash reporter wants to send something it doesn't really send anything. In the Server logs nothing is there. And no crash report seems to be triggerd if I check last report.

I call Crashreporter.start on following code:

autoUpdater.on("error", (err) => {
crashInit()
tray.displayBalloon({
title: 'Autoupdater',
content: 'Ein Fehler ist aufgetreten!'
})
})

CrashInit is defined like that:

function crashInit() {
crashReporter.start({
productName: 'Lornsenschule Vertretungsplan Desktop',
companyName: 'Nordgedanken.de',
submitURL: 'http://ls-crash-report-server.herokuapp.com',
autoSubmit: true
})
console.log(crashReporter.getLastCrashReport());
}

And yes I reuired all libaries (even I haven't included the imports in these code snippets).

Also the tray notification shows up so It should be triggered.

Any Ideas what goes wrong?
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When list is long in Dialog, it should have vertical scroll bar in dialog. This works well in Chrome and Firefox.

Current Behavior

https://material-ui-1dab0.firebaseapp.com/demos/dialogs/ the Confirmation Dialogs demo.

when open in ie 11, the vertical scroll bar doesn't work. it lists all items which push buttons out of page.

Steps to Reproduce (for bugs)

open https://material-ui-1dab0.firebaseapp.com/demos/dialogs/ in IE 11

Click Confirmation dialogs demo. (Phone ringtone example)

Context

Your Environment

Tech
Version

Material-UI
current demo version

React
current demo version

browser
IE 11.0.9600

etc

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

Context

I think categorizing the components by use case, something like what Ant design are doing with having navigation, data entry, data display categories etc. will be a nice improvement for having an easier time getting through the list of component demos/API.
Issue 1:
This may be a result of being an early user (or something I did wrong), if so, feel free to #wontfix, but if I right click an MD file and select "open with" to open in Chrome on OS X, I get what I believe to be every version ever installed as an option. Verified in Applications that only one version exists, as far as I can tell:

Issue 2:
support/6be6d1eaa44911e38bd5c0467822a465?page=1
Issue 1:
Migrated issue, originally created by Michael Bayer (@zzzeek)

i.e. the table with composite PK and a col==itself, like in test_relationships RelationTest2:

CREATE TABLE task (
"name" text NOT NULL,
asset text NOT NULL,
parent_asset text,
<more columns>
CONSTRAINT "task_PK" PRIMARY KEY (asset, name),
CONSTRAINT "task_parent_FK" FOREIGN KEY (parent_asset, "name")
REFERENCES task (asset, "name") MATCH SIMPLE
ON UPDATE CASCADE ON DELETE CASCADE);

I think what has to happen is the condition is detected in the PJ, and a new annotation is added to one side of name==name that somehow does the right thing in clause adaption - likely a flag passed to clause adaption only during the eagerload phase.

Issue 2:
from sqlalchemy.dialect.mysql import insert
from sqlalchemy import func
insert_stmt=insert(t).values(col1=1,col2=2)
upsert_stmt=insert_stmt.on_duplicate_key_update(col2=func.coalesce(insert_stmt.inserted.col2,t.c.col2))

the upsert statement is rendered incorrectly as

INSERT INTO t (col1,col2) VALUES (%s, %s) ON DUPLICATE KEY UPDATE col2=coalesce(inserted.col2, t.col2)
Issue 1:
Challenge http://freecodecamp.com/challenges/waypoint-comment-your-javascript-code has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

If you look in the code validations, I don't believe that the statement

"assert(editor.getValue().match(/(//)...../g), 'Create a // style comment that contains at least five letters');"

should be a visible element to users, it isn't meant to be there.

Issue 2:
The zipline-build-a-simon-game shows as complete even though I have not completed or submitted a solution. May have some relation to the recent update.
Issue 1:
Why not add a mechanism in tree view that can visit it's parent folder?

like add a line .. on the top of tree view

Now I must do "Show in Finder" —> find the file in parent folder -> drag it into Atom ->"Reveal in tree view" to show the parent folder content in the tree view.

By the way, if you really do so, you will find you can not get the tree view of the parent folder. It only highlights the current folder. See more detail in #4524

Thank you

Issue 2:
From @chovy on December 18, 2014 5:10

If I open the file in ./foo/bar/baz.js there's no way for me to browse up to ./foo

Copied from original issue: atom/atom#4679
Issue 1:
Challenge Add a Submit Button to a Form has an issue.

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0.

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

My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

.smaller-image {
width: 100px;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back" src="https://bit.ly/fcc-relaxing-cat"></a>

<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>

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:
Environment

Windows build number: 18875
Windows Terminal version (if applicable): 0.5.2681.0

Steps to reproduce

Open any console in Terminal.

Press Windows+..

Try inputting characters from the selection panel by clicking on them.

Expected behavior

Clicked characters should be entered into the console window.

Actual behavior

The characters are not entered into the console window.

Issue 2:
Environment

Microsoft Windows [版本 10.0.18362.267]
Windows Terminal version (if applicable):0.3.2142.0

Steps to reproduce

Open the terminal.

Switching CJK input methods.(doesn't work)

Typing.

Expected behavior

Show phrase candidate boxes.

Actual behavior

Directly entered English.