WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Environment

Windows build number: Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version 35d7d20a079e78323ed510e5535bb71fdb68712a

Any other software?

Visual Studio Community 2019 16.3.4

Steps to reproduce

git clone https://github.com/microsoft/Terminal.git

cd Terminal

git submodule update --init --recursive

nuget restore OpenConsole.sln

Open solution in VS

Change debug to release

Expected behavior

VS Changes debug to release and proceeds

Actual behavior

VS hangs at 100% cpu then drops to 0% still hung.

Other Info

Other projects still work OK, previous WindowsTerminal trees can still be built either release or debug target.

Issue 2:
Please provide the feature to change the sequence of Tabs in Windows Terminal as it is being done by other apps like Chrome or even in Ubuntu actual desktop terminal tabs order/sequence can be changed by dragging the particular tab.
Issue 1:
Environment

Microsoft Windows NT 10.0.18363.0
Version: 0.6.3161.0

Steps to reproduce

Run vim from PowerShell with the following PowerShell function:

function vim
{
Write-Host "$([char]0x1b)[?1049h"
vim.exe @args
Write-Host "$([char]0x1b)[?1049l"
}

This is used to work around how vim screen scrapes the screen so it can restore it, but colors are messed up because screen scraping doesn't work with 24 bit colors.

Edit a file with at least double the number of lines in the window.

Go to the bottom, reposition the cursor, and move the cursor line wise up - rendering will be horribly broken.

Gztkkkk

Here's a guess at the commit introducing the regression: #3160

Expected behavior

Rendering works the same as on the main screen buffer.

Actual behavior

Lines are duplicated or sometimes not, it's super confusing to understand what exactly is happening.

Issue 2:
Summary of the new feature/enhancement

Basically, include Hebrew glyphs in Cascadia.

In general, in terminal contexts, using Hebrew is a total nightmare. Very, very few Monospace fonts actually work with Hebrew, and using font fallback isn't a good solution (look at what it does).

Having Hebrew glyphs supported in a modern terminal font would just make the experience work well out of the box.

Proposed technical implementation details (optional)

I understand that Arabic and Farsi is very complicated. But Hebrew really isn't. The entire Unicode block is 88 points. Hebrew doesn't have ligatures or any complex font behavior, at least for letters. And even diacritics could be omitted and it'd still be super duper useful and cover 99%+ of use cases (Hebrew is almost never written with vocalization). So just covering the Hebrew alphabet would only require 27 glyphs.

And even if they're super basic and ugly it would still be really useful, just not having the layout break and stuff. Even just copying the glyphs for Hebrew from Courier New or Liberation Mono and resizing them for Cascadia would be a major help.
Issue 1:
Apache Airflow version: 2.0.1 Git Version:.release:2.0.1+beb8af5ac6c438c29e2c186145115fb1334a3735

Kubernetes version (if you are using kubernetes) (use kubectl version): 1.17.17-gke.2800

Environment:

Cloud provider or hardware configuration: GKE (Kubernetes)

OS (e.g. from /etc/os-release): Debian GNU/Linux 10 (buster) - docker image python:3.8-slim-buster

Kernel (e.g. uname -a): Linux bd0d5605654a 4.15.0-140-generic #144-Ubuntu SMP Fri Mar 19 14:12:35 UTC 2021 x86_64 GNU/Linux

Install tools: pip

Others: Python 3.8, Kubernetes Executor, Docker

What happened:

Pod template contained non existing volume which caused pod to be impossible to run. The volume existed before but was deleted. Task in Airflow was also stuck at "queued".

Even after clearing task these pods stayed stuck in container creating and it seems that they need to be manually deleted.

Pods are stuck with

Unable to attach or mount volumes: unmounted volumes=[secret-volume], unattached volumes=[google-key airflow-logs secret-volume]: timed out waiting for the condition
MountVolume.SetUp failed for volume "secret-volume" : secret "airflow-secret-14610" not found

Configuration:

AIRFLOW__KUBERNETES__DELETE_WORKER_PODS=True
AIRFLOW__KUBERNETES__DELETE_WORKER_PODS_ON_FAILURE=True

What you expected to happen:

I would expect Airflow to delete pods that are not possible to be created, at least after clearing the task.

How to reproduce it:

Create a pod template with a volume and later delete that volume without pausing DAGs

Anything else we need to know:

It happens all the time and pods are not being deleted.

Issue 2:
Hi Team,

We have a requirement that we need to schedule a Airflow Job on last Thursday of every month.

So basically we might have 4 or 5 Thursdays depends on the month.

how can it be changed dynamically. i.e.: its 4th or 5th Thursday.

We tried implementing with the below, but it didn't work

We have scheduled it for schedule_interval= "45 01 * * 4L".

We have raised to google support after multiple options and support team asked to raise the issue with Airflow team.

Could you please help us with the requirement.
Issue 1:
Hello , please i run this code :

print the summary of the architecture

model.summary()

load the loss summary (training and validation losses)

import pickle

losses = pickle.load( open('./tmpdata/history_exp' + str(exp_number) + '.pickle' , 'rb'))

load the test set

test_set = pickle.load( open('./tmpdata/TestSet.pickle', 'rb'))

X_test = test_set['X_test']

Y_test = test_set["Y_test"]

and i get this issue :

ImportError Traceback (most recent call last)

in ()

5 exp_number = 15

6 with open('/home/ubuntu/nilmtk/nilmtk/neuralnilm/tmpdata/history_exp' + str(exp_number) + '.pickle' , 'rb') as f:

----> 7 losses = pickle.load(f)

8 # load the test set

9 with open('/home/ubuntu/nilmtk/nilmtk/neuralnilm/tmpdata/TestSet.pickle', 'rb') as v:

ImportError: No module named multiarray

can someone please help me

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/1284 on 2009-11-04 by trac user reckoner, assigned to unknown.

On winxp 32-bit:

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on

win32

Type "help", "copyright", "credits" or "license" for more information.

>>> import numpy
>>> import cPickle
>>> a = numpy.eye(10)
>>> cPickle.dump(a,open('from32bitxp.pkl','w'))
>>> import numpy.core.multiarray
>>> numpy.__version__
'1.0.4'
>>>

On linux 64 bit:

Python 2.5.4 (r254:67916, Feb 5 2009, 19:52:35)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> import cPickle
>>> cPickle.load(open('from32bitxp.pkl'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named multiarray
>>> numpy.__version__
'1.2.1'
>>> import numpy.core.multiarray
>>>

Note that I transfer the from32bitxp file from the winxp32 machine to

the linux host. Also, I've tried this with version 1.3 on winxp and

get the same problem on the linux host.

Here's more interesting info:

On linux:

>>> a = numpy.eye(10)
>>> cPickle.dump(a,open('from64bitLinux.pkl','w'))

upon transferring the file to winxp 32 and on winxp32:

>>> cPickle.load(open('from64bitLinux.pkl'))

See? No problem going from linux to winxp32; but problems going the other way.

Please let me know if you need more info on this.

Any help appreciated.
Issue 1:
read_excel() seems to give the same results for a multi-index column file if index_col=None or index_col=0. Using the file from /pandas/test/io/data:

>>> df = pd.read_excel(
"testmultiindex.xlsx", header=[0, 1], index_col=None,
sheetname='mi_column_name')

>>> print(df.columns)
MultiIndex(levels=[[u'bar', u'foo'], [u'a', u'b']],
labels=[[1, 1, 0, 0], [0, 1, 0, 1]],
names=[u'c1', u'c2'])

>>> print(df)

c1 foo bar
c2 a b a b
0 1 2.5 2015-01-01 True
1 2 3.5 2015-01-02 False
2 3 4.5 2015-01-03 False
3 4 5.5 2015-01-04 True

Expected Output

With index_col=None I would have expected the result to look something like:

MultiIndex(levels=[[u'bar', u'c1', u'foo'], [u'a', u'b', u'c2']],
labels=[[1, 2, 2, 0, 0], [2, 0, 1, 0, 1]],
names=[u'', u''])

c1 foo bar
c2 a b a b
0 0 1 2.5 2015-01-01 True
1 1 2 3.5 2015-01-02 False
2 2 3 4.5 2015-01-03 False
3 3 4 5.5 2015-01-04 True

Problem description

This behavior is due to pandas.io.excel._pop_header_name().

def _pop_header_name(row, index_col):
""" (header, new_data) for header rows in MultiIndex parsing"""
none_fill = lambda x: None if x == '' else x

if index_col is None:
# no index col specified, trim data for inference path
return none_fill(row[0]), row[1:]
else:
# pop out header name and fill w/ blank
i = index_col if not is_list_like(index_col) else max(index_col)
return none_fill(row[i]), row[:i] + [''] + row[i + 1:]

There are two things in the function that I do not understand

index_col is None pulls out the first column and then treats it as an index.

index_col == 0 returns something similar but adds a column of '' to the front of the return row. Why are these almost the same?

Output of pd.show_versions()

# Paste the output here pd.show_versions() here

INSTALLED VERSIONS

commit: None

python: 2.7.13.final.0

python-bits: 32

OS: Windows

OS-release: 7

machine: AMD64

processor: Intel64 Family 6 Model 69 Stepping 1, GenuineIntel

byteorder: little

LC_ALL: None

LANG: None

LOCALE: None.None

pandas: 0.19.2

nose: 1.3.7

pip: 9.0.1

setuptools: 30.3.0

Cython: 0.24

numpy: 1.12.0

scipy: 0.13.3

xarray: None

sphinx: 1.5.1

patsy: 0.4.1

dateutil: 2.6.0

pytz: 2016.10

blosc: 1.3.2

bottleneck: 1.0.0

tables: 3.1.0

numexpr: 2.5.2

matplotlib: 1.5.1

openpyxl: 2.3.4

xlrd: 0.9.4

xlwt: 1.0.0

xlsxwriter: None

lxml: 3.6.0

pandas_datareader: 0.3.0.post

Issue 2:
From SO: http://stackoverflow.com/questions/34020061/excel-to-pandas-dataframe-using-first-column-as-index

@chris-b1 another one on the multi-index excel issues .. :-)

Small test case: content of excel file:

A
A
B
B

key
val
key
val

1
2
3
4

1
2
3
4

gives:

In [2]: pd.read_excel("test_excel_index_col.xlsx", header=[0,1], index_col=None)
Out[2]:
A A B
key val key val
1 2 3 4
1 2 3 4

It's not super clear in the formatting of the dataframe, but the [1, 1] is the index and [A, key] are seen as the level names of the multi-indexed columns.
Issue 1:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-test/13349/

Failed: [k8s.io] [HPA] Horizontal pod autoscaling (scale resource: CPU) [k8s.io] [Serial] [Slow] ReplicationController Should scale from 5 pods to 3 pods and from 3 to 1 and verify decision stability {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/horizontal_pod_autoscaling.go:73
Expected error:
<*errors.errorString | 0xc820cb6830>: {
s: "Only 4 pods started out of 5",
}
Only 4 pods started out of 5
not to have occurred

Issue 2:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/11123/

Failed: [k8s.io] [HPA] Horizontal pod autoscaling (scale resource: CPU) [k8s.io] ReplicationController light Should scale from 1 pod to 2 pods {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/horizontal_pod_autoscaling.go:88
Expected error:
<*errors.errorString | 0xc820de4c80>: {
s: "Only 0 pods started out of 1",
}
Only 0 pods started out of 1
not to have occurred

Previous issues for this test: #27443 #27835
Issue 1:
I have a form with three levels of nesting. Imagine a group, which has users, which have phone numbers.

The GroupType has the option cascade_validation => true, and a collection of UserType.

The UserType has the option cascade_validation => true, and a collection of PhoneType.

I have validations defined for the three entities in the file validation.yml, simple NotBlank validations.

The validations of Group and User work perfectly and I get the error when I try to submit the form with blank fields, but if I let the fields of the Phone empty, the form goes ahead and causes a db error because is receiving a null for a non null column.

The issue is in beta4, I haven't had time to test it in the RC1, even I haven't seen anything related in the change log.

Issue 2:
The CSRF token is not regenerated for each request but seems to be session-bound which is a security issue.
Issue 1:
The description for the NPM package (https://www.npmjs.com/package/angular2) should include instructions how to use ng2 directly in JS for a new webpage.

As a beginner you may tend to use the node_modules/angular2/angular2.js in the root folder, instead of node_modules/angular2/bundles/angular2.js

Including the first in your script tag doesn't cause any error message and some of the ng2 functionalities are available, but e.g. data binding doesn't work (again without any error).

Therefore the line 1. The files located in the root folder can be consumed using CommonJS is misleading.

There should be added a line stating something like:

The files in the bundles folder can be used in the script tag of your page

Issue 2:
Hi!

Would it be possible to automatically include, on each release, the correspondent typings file?

The current process of pushing the files to https://github.com/borisyankov/DefinitelyTyped is good, specially because we can use tsd to get them, but it's not in sync with your release process.

@alexeagle @jeffbcross

Cheers!
Issue 1:
I'm having a problem with tables not being responsive. The rest of the content is responsive, except for my table.

<div class="row">
<div class="col-lg-12">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th><input type="checkbox"/</th>
<th>Title</th>
<th>Content</th>
<th>Date</th>
<th>Author</th>
<th>Category</th>
<th>Keywords</th>
<th><i class="icon-comments"></i></th>
<th>Status</th>
<th>Other</th>
</tr>
</thead>

Is this just my code or is it really not working?

Issue 2:
This remains a big weakness in twitter bootstrap.

It's hard to kludge this.

What would be good is a way to automatically have data tables of any width turn into 1-column lists with the table header first, then the data, with appropriate word wrapping.

e.g.

Header 1 Header 2

Data1 Data2

becomes

Header1

Data1

Header2

Data2

There's blog posts on this

one example: http://css-tricks.com/examples/ResponsiveTables/responsive.php

http://mobifreaks.com/user-interface/responsive-and-seo-friendly-data-tables/

Thank you, Tom
Issue 1:
Currently ControlArrays are connected to the form via the ng-control-group Directive. This works fine, when using the model-driven approach.

When using template-driven approach there is currently no way to create ControlArrays declaratively. So it is not possible to create arrays of values in this scenario.

Issue 2:
Don't know if it's the right place to report it but if you open a bio on the about of angular.io then close it and reopen another one it fail to bind.
Issue 1:
Hi guys, I meet a problem when I trying to paralleling my code using multi-thread

for (lgt,val) in gp
absorb!(lgt, val, the_ERR)
end

to

Threads.@threads for (lgt,val) in gp
absorb!(lgt, val, the_ERR)
end

gp is a Dict{Int, Array{Myread,1}}()

Myread is my custom struct

function of absorb is complicate to explain, but generally it will filter out some item in the Array according to the lgt variable

Everything goes well without @threads, but after add @threadand a MethodError will occur and output data in val, like this

Issue 2:
On the master branch, it looks like neither of these currently works,

julia> @Threads.threads for (i,j) in [(1,2),(3,4)]
i
end
ERROR: syntax: invalid syntax in "local" declaration

julia> @Threads.threads for i=1:2, j=3:4
i
end
ERROR: syntax: invalid assignment location "i=1:2"

I think this might be low hanging enough fruit that even I could figure it out. Would a PR adding this functionality be something the developers are interested in?
Issue 1:
Environment

Version: 1903

OS BUILD: 18362.10006 (Microsoft Windows [Version 10.0.18362.10006])

Windows Terminal version (if applicable):

Any other software?

# Steps to reproduce

Build code from 42c1e58966b50c72039808b09b663b74180519ce and the build completes, but when I start the app, I get failures and app just instantly closes out.
If I restore the file (src/cascadia/TerminalConnection/ConhostConnection.cpp) from 0da13cdf2d5ba2081f12f85f6816546489d4918b to any newer code then build succeeds and the app starts normally
# Expected behavior
I expect the newer version of src/cascadia/TerminalConnection/ConhostConnection.cpp to not cause the app to crash on startup

<!-- A description of what you're expecting, possibly containing screenshots or reference material. -->
I start the app with newest code and app crashes. But when I restore the file of src/cascadia/TerminalConnection/ConhostConnection.cpp to pre 42c1e58966b50c72039808b09b663b74180519ce version, everything works fine.

# Actual behavior

The app crashes when I use the latest code of src/cascadia/TerminalConnection/ConhostConnection.cpp

Issue 2:
After signing to Azure Cloud Shell, I immediately want to use PowerShell, but I'm having issue with the cursor going to the top of the screen.

Environment

Windows 10 Pro Build 1903 (x64)
Windows Terminal (Preview) - Version: 0.3.2171.0
PowerShell 6.2.2 GA
PowerShell 7 Preview.2

Steps to reproduce

Open Terminal Settings to change the "colorScheme": "Solarized Dark", to "colorScheme": "Campbell", for better user experience

From the terminal list select "Azure Cloud Shell".

Type pwsh, and wait for the prompt.

At the PowerShell prompt, type $psversiontable, and press enter.

Type "dir" and check the cursor position.

Type "exit" and press enter to exit PowerShell. (not possible)

Expected behavior

To be able to use PowerShell without any issues.

Actual behavior

At the PowerShell prompt, type $psversiontable, and press enter.

Type "dir" and check the cursor position.

Type "exit" and press enter to exit PowerShell. (not possible)

At this moment, after a few minutes, Azure Shell seems to freeze, forcing the manual terminate the session.
Issue 1:
Version: 0.190.0

Setup: Enter text into an editor window.

Action: Use Cmd-+ or Cmd-- to change the size of the text. If you press the keys slowly, it works as expected. If you press them quickly (faster than about 5Hz), the text does not properly change size and 'bounces' between sizes.

Expected:Text size changes rapidly.

Example in video: https://www.youtube.com/watch?v=yKx4I5uiyF0&feature=youtu.be

Issue 2:
Halp tickets:

support/5faf0c18c3ab11e38dacd5d22cc224b1

support/00caa684c59111e393ec7e730bc5c159

Open a file

Move the file to different folder ( while it is still open )

Now the file stays open and is still editable. When I save it. it saves to the previous location instead of the new location. I found it quite annoying.

...

I have a directory with files open for editing. Now I clicked rename to rename that directory and I actually moved the directory one-level-up, but the files that were opened in editor are still saved to old location, whereas they should be now saved to new location.
Issue 1:
Barnabas Bodnar opened SPR-9806 and commented

Autowired properties of prototype-beans referencing singletons can remain unset, if ApplicationContext.getBean(...) is called for the prototype-bean concurrently.

Neither the initialization-type of the singleton, nor the fact, whether the singleton already exists or not, plays a role (i.e. the error occurs even if the singleton is already initialized).

The error is reproducible even with low concurrency-rates (2 threads).

Affects: 3.1.2

Attachments:

concurrent-getbean-with-autowiring.zip (4.51 kB)

Issue Links:

#13901 Threading issue in InjectionMetadata.InjectedElement ("is duplicated by")

#14485 @Resource injection of singleton in prototype using AnnotationConfigApplicationContext is not thread-safe

Referenced from: commits b79260a, 7fc1629

Issue 2:
Nate McCall opened SPR-2988 and commented

UrlFilenameViewController now does its own (incorrect?) view name parsing as opposed to delegating to:

http://static.springframework.org/spring/docs/api/org/springframework/web/util/WebUtils.html#extractFilenameFromUrlPath(java.lang.String)

as stated in the javadoc. This change differs from the funcitonality in 1.2.8 in the following way:

with bothUrlFilenameViewController versions mapped to the url "/foo/**" and a request for "/foo/bar/filename.jsp" is received

1.2.8: uses the functionality in WebUtils to return "filename"

2.0: uses an internal implementation to return "bar/filename"

Was there a decision to update UrlFilenameViewController to take this new approach? If so, the documentation must be updated. This is related to issue #7673

Affects: 2.0 final

Attachments:

patch.txt (543 bytes)

Issue Links:

#7476 UrlFilenameViewController backward compatibility broken ("duplicates")
Issue 1:
Problem first occurred in my website, which i updated today to 3.1.1 from 3.0.3(Worked fine). All of the dropdowns appeared in the left even if the button is in extreme right.

This problem also exists in the new version of Mozilla 29.0. Works fine in IE11. No clue for Chrome

Issue 2:
I'm getting this bug in my app on Chrome and even see it happening on http://getbootstrap.com/javascript/#tooltips Using Chrome 30.0.1599.66 on Ubuntu 12.10.

So when I mouseout of the element in question it leaves behind a pale gray version of the tooltip. Then if I move my mouse around some more, say over a link or an input, then the tooltip disappears. I'm pretty sure this is not the desired behaviour for the tooltip, because that's just plain weird. Once you mouseout of the tooltip() element, that tooltip should not be visible anymore. I have Firefox as well and its not an issue there, seems this is just a webkit bug.

I'm especially able to duplicate this on my own app by moving out of the element and straight onto the tooltip itself, and then moving out from there. The faded gray tooltip will reside until I mouse onto a link or whatnot.
Issue 1:
For example, a variable of type

type Path = string & { __pathBrand: any };

cannot be used as an indexer type, and cannot be used to index an object with a string type indexer (despite being safely usable as a string in all other locations).

If an intersection type contains types which are valid for use in an index signature, then the intersection type itself should probably be valid as an index signature.

Issue 2:
I was experimenting with intersection types and primitives, and I discovered that when you create an intersection type with a number, you can't use it in arithmetics and element access:

type extendedNumber = number & { extended: any };
let a: extendedNumber;
let obj: any;

a + 1; // Operator '+' cannot be applied to types 'number & { extended: any }' and 'number'.
obj[a]; // An index expression argument must be of type 'string', 'number', 'symbol, or 'any'.

Though you can't create properties on numbers, this can be useful to add brands to numbers, like this:

type int = number & { __intBrand: void };
function int(value: number) {
return <int> (value | 0);
}

Currently intersections are only allowed on these locations if all parts of the intersection are number or string, but that rule should only apply to union types. Suggestion: for intersection types (at least) one type should be number (or string) if it's used in arithmetics or element access.

I've implemented a fix in #4373.
Issue 1:
There are a handful of tests in Angular's code base, but nothing that really does a good job giving non-Angular-core developers a way to test their components. See Angular Dart 1.0's TestBed for examples.

Issue 2:
Prerequisite: #614, #596

describe('MyComponent', () => {
it('should instantiate', @Injectable (tb:Testbed) => {
var element:Element = tb
.directive(MyDirective, { override: [new Template(...), new Component(...)] })
.compile({
html: '<my-component a="b" [c]="exp">lightdom</my-component>')
.instantiate({some instance or Type})
.element;
});
});
});

@Component({
selector: 'my-component'
})
class MyComponent{}