WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
I noticed that coverage of test_constrainedlayout.py was only 87.6%. It turns out that the function test_constrained_layout8 is duplicated in the test file. I can't tell if this is just complete duplication, or duplication of the name only.

Issue 2:
Say one finds a pathological natural-neighbour griddata case that matplotlib.delaunay can't handle so installs natgrid, which can cope with your data but is pretty slow. Unfortunately if natgrid is importable then it will always be used in preference to the quicker matplotlib.delaunay. It would be great if there were a griddata argument for selecting matplotlib.delaunay or natgrid at runtime.

The interp keyword argument could be used for this purpose e.g.

nn - matplotlib.delaunay natural neighbour interpolation

linear - matplotlib.delaunay linear interpolation

natgrid - natural neighbour interpolation using natgrid (if installed)

Something that's worth considering is a failover mode where interpolation usig natgrid is attempted only if matplotlib.delaunay fails (with a KeyError (!)).
Issue 1:
Example: http://is.gd/9LFIF2

The outer macro attempts to parse the new variables as existing ones, and errors when it can't find them.

Issue 2:
This is a FIXME issue; currently, macro invocations are parsed too eagerly. In particular, the current system decides before expansion time whether a rhs pattern-use (e.g. $y) is bound or unbound. This is incompatible with macro-producing macros that use a given identifier in a pattern position. It's also incompatible with macros inside macros, where inner binding patterns are believed to be pattern uses. The solution is to delay this decision until the macro is encountered at expansion-time, by which time all outer macros have been expanded.

Here's an example of a macro that doesn't work in the current system:

// the z flows into and out of two macros (g & f) along one path, and one (just g) along the
// other, so the result of the whole thing should be "let z_123 = 3; z_123
macro_rules! g (
($x:ident) =>
(
{macro_rules! f(
($y:ident)=>({let $y=3;$x})
);
f!($x)})
)

fn a(){g!(z)}

Trying to expand this yields this error:

Running /usr/local/bin/rustc:
/tmp/g.rs:7:12: 7:13 error: unknown macro variable `y`
/tmp/g.rs:7 ($y:ident)=>({let $y=3;$x})
^

... indicating that the $y is believed to be a use, rather than a binder.
Issue 1:
Hi,

Recenly, one of our clusters on GCE (1.1.7) started having intermittent connection issues. It turned out to be dns resolver issues. Here are my findings during a recent occurance:

Pods can not resolve anything.

If I remove skydns ip from /etc/resolv.conf, they work fine. (secondary ip is 169.254.169.254)

skydns logs 2016/02/29 04:54:22 skydns: failure to forward request "read udp 169.254.169.254:53: i/o timeout" lines during these outages.

Our apps perform a lot of requests on several google apis and facebook apis. These would create a lot of dns requests.

Using default config provided by google cloud.

Tried replacing all nodes, which effectively restarted every single pod and this did not resolve anything.

Created another cluster while this was happening, it came up with the same issues. This would make me believe that the dns server was down but only skydns was failing at this point.

I thought maybe the dns server was throttling our requests. This would make sense that multiple clusters failed at the same time. But being able to directly query 169.254.169.254 from pods seems to eliminate this.

So, for some reason, skydns starts failing and recovers by itself. On the host machines everything works perfectly fine as they query the GCE dns server directly.

What could be the reason / solution in this?

Thanks!

Issue 2:
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):no

What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.): create,service

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

FEATURE REQUEST

https://bugzilla.redhat.com/show_bug.cgi?id=1378011

Kubernetes version (use kubectl version):

Environment:

Cloud provider or hardware configuration:

OS (e.g. from /etc/os-release):

Kernel (e.g. uname -a):

Install tools:

Others:

What happened:

What you expected to happen:

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

Anything else do we need to know:
Issue 1:
bug report

Current behaviour:

Now every browser comes with save password option.

If the password is saved by a browser when we reload a page that contains form password field. By default, it is set to invalid even though the browser fills password field. On clicking anywhere on the page it is set to valid.

This behaviour is only with input type="password".

Expected / new behaviour:

If a valid password is auto-filled by browser then it should be made valid

Issue 2:
I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Passing new Date() to FormControl doesn't work. Meaning that it is not reflected in the form.

new FormControl(new Date())

This works

new FormControl('2016-11-28')

Expected behavior

I expect the date to be parsed and shown in the form.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Windows 10, Vscode

Angular version: 2.2.3

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]
Issue 1:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-kops-aws-updown/1938/

Failed: TearDown {e2e.go}

error running kops delete: exit status 1

Issue 2:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-kops-aws-updown/485/

Failed: TearDown {e2e.go}

error running kops delete: exit status 1
Issue 1:
System information

Custom code, worked fine on 1.0

OS: Linux Ubuntu 16.04

installed binary via pip3

TensorFlow version v1.1.0-rc0-61-g1ec6ed5, 1.1.0

CUDA v8.0, cuDNN v5.1

GTX 1070, 8GB RAM

To reproduce: run tensorboard, try to filter runs in web interface, nothing happens

Problem description

Running tensorboard with v1.1 gives me the following warnings in the console (repeated four times) once the web interface is opened:

WARNING:tensorflow:path ../external/data/plugin/text/runs not found, sending 404

At first I ignored it, but it turns out that when examining the runs in the web interface, the regex filter for the runs doesn't work at all. This exact command in the exact same folder with the exact same logs worked without issue with v1.0.

Issue 2:
System information

Docker image tensorflow/tensorflow:nightly (or 1.1.0rc2)

Describe the problem

Start a tensorboard process

tensorboard --logdir /efs/log/atari

and try and filter. It does not have any effect.
Issue 1:
hello when i use

alt + space for run command its works great but if focus in other windows (like libreoffice or chrome) to works space keyboard doesn't work its always load run search bar

Issue 2:
Environment

Windows build number: [run "ver" at a command prompt]
PowerToys version: 0.19
PowerToy module for which you are reporting the bug (if applicable): PT Run

Steps to reproduce

Remap key from alt-space to win-space

execute shortcut multiple times

Expected behavior

don't have start menu false positive executions

Actual behavior

Lots of start menu executions
Issue 1:
have a git conflict

click around if the line conflict decorations don't show up

delete the conflicting lines

undo

Observe: now the conflict decorations never disappear without a Reload window or a new model instantiation.

Issue 2:
Ubuntu 12.04, vscode 0.10.1

Deleting and undoing the line doubles the highlight: (stays after closing and reopening the file)

Deleting from the end of the line above the ======= to the end of the line starting with >>>>>>>:

Undoing the above results in this:
Issue 1:
It would be really nice to have a way to get the compiler options into the code (like precompilation ifdef or something like that).

The main reason would be to make conditional code (=shim) conditionnally to the target ES version.

In term of code scalability, this would also help smooth transition to ES6.

Issue 2:
On codeplex this was a popular feature request:

https://typescript.codeplex.com/workitem/111

https://typescript.codeplex.com/workitem/1926

Personally I think preprocessor directives like #if, #elif, #else #endif with possibility to specify symbol to compiler would be very useful.

And a way to mark function (or ambient function declaration) as Conditional (something like ConditionalAattribute in C#) would be great improvement too.

I have lot's of console.log like function calls that decrease performance of my application and ability to easily remove all calls to this function would be great.
Issue 1:
I'm running into an issue using a StreamedResponse to return a file to the user that can be limited in size by a post parameter. In some cases, we return 10,000 rows, and in others only 4.

Since upgrading to Symfony 3.x our tests related to small sized files have broken on our front end because of duplication of the Symfony-Derived HTTP headers:

apiVersion (we inject this one time via a kernel.event_listener, kernel.response event)

Cache-Control

Set-Cookie

X-Debug-Token

X-Debug-Token-Link

I've been able to duplicate this issue in 3.0 and 3.1, and it is identical. Seems to be related to the body size of the response, as I've stripped out all other related code. Small body, double headers. Larger body, works as expected.

So if you test on app_dev.php you will see the debug tokens duplicated with the iterator set to 10. Set the iterator to 1000 and the duplicated headers go back to normal.

http://pastebin.com/NQMGrHEJ

Issue 2:
Hi,

Currently the access_control setting only allows regex paths, wouldn't it be nice to allow a route name as well. This would avoid duplicating paths between routing and security.

access_control:
- { path: '^/admin' }
- { route: 'some_route_id' }

Any thoughts?
Issue 1:
Summary of the new feature/enhancement

Ability to create zones which span multiple monitors

Proposed technical implementation details (optional)

I have this giant 49" screen which are practically 2 27"monitors in 5120x1440 resolution without a bezel.

I'd like to be able to create a zones which extends from 1 monitor into the other like for example to place a window in the middle. Right now the zone will stop at the border of the screen.

It would also be nice to be able to create different zones on each monitor.

like 50/50 on monitor 1, 33/33/33 on monitor 2 etc.

Issue 2:
Environment

Windows build number: 10.0.18365.449 (1909)
PowerToys version: 0.12 and 0.13
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce

Unsure what triggers this. I noticed at random times, pressing keys on the top (number) row no longer types in the numbers or symbols. After much time spent troubleshooting my keyboard, I noticed that when the desktop was visible while I hit a number key, the FancyZones zones would highlight but I wouldn't be able to type those numbers. Exiting out of PowerToys resolves this.

This has occurred to me three times now in the past week, had this happen on both 0.12 and 0.13

Not sure if it matters, but keyboard is Corsair k70 lux
Issue 1:
📝 When searching in PowerToys Run, show 1 or 2 currently running processes that match the search string with a high confidence at the top

Often, I use PowerToys Run to open currently running processes and sometimes they are at the bottom below matches to open programs (often unrelated ones and even below file results at times). It would be great if some currently running processes that match are displayed at the top.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Issue 2:
Summary of the new feature/enhancement

It would be more useful if already running programs are shown first in the results list in the quick launcher (like the old WindowWalker). Or maybe an option to change the priority.

Proposed technical implementation details (optional)

In the results list, the running programs should be first in the list.
Issue 1:
Mathias Bogaert opened SPR-168 and commented

It would be very usefuly to be able to enable query caching on all DAO's that extend HibernateDaoSupport. Add a boolean cacheQueries to HibernateTemplate, and evaluate it in createQuery. Then add a setter to HibernateDaoSupport which calls the setter on HibernateTemplate.

No further details from SPR-168

Issue 2:
Andruschuk Borislav opened SPR-7393 and commented

We have some DAO which call an other DAO in RowMapper to get linked entities. Sometimes we have to do that to link different loosely coupled entities in depends of included application modules, data base state etc. After migration from Spring 2.5.6 to Spring 3.X we've got the following issue:

org.hibernate.HibernateException: connnection proxy not usable after transaction completion
at org.hibernate.jdbc.BorrowedConnectionProxy.invoke(BorrowedConnectionProxy.java:66)
at $Proxy6.prepareStatement(Unknown Source)
at org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.createPreparedStatement(PreparedStatementCreatorFactory.java:245)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:580)

It happens on prepared statement creation for query need to be executed after execution any SQL statement in DAO called from RowMapper. I've created Unit test to show this incident.

Affects: 3.0 GA, 3.0.1, 3.0.2, 3.0.3

Attachments:

RowMapperTest.java (3.19 kB)

Issue Links:

SEC-1778 MutableAclService#updateAcl() fails in JPA environment ("is duplicated by")

Referenced from: commits b261d33
Issue 1:
Challenge http://www.freecodecamp.com/challenges/waypoint-override-all-other-styles-by-using-important has an issue.

If there is a space between "!important" and ";" test will return:

Cannot read property 'length' of null

Having a space between last character and ";" on other lines do not provide a failed test case.

<style>
body {
background-color: black;
font-family: Monospace;
color: green;
}
#orange-text {
color: orange;
}
.pink-text {
color: pink !important ;
}
.blue-text {
color: blue;
}
</style>
<h1 id="orange-text" class="pink-text blue-text" style="color: white">Hello World!</h1>

Issue 2:
Challenge http://www.freecodecamp.com/challenges/waypoint-override-all-other-styles-by-using-important has an issue.

When editing the style, do not include ";" after !important, and the checklist will change "Your pink-text class should have the !important keyword to override all other declarations." to "Cannot read property 'length' of null"

Adding the ";" changes the checklist back.

Screenshot: http://screencast.com/t/TNalhp6su
Issue 1:
ne is a point-wise math operator so porting it from the TH code to Aten (and TensorIterator) expected to be easy. Such migration will help to clean up the code, simplify dispatch as well as provide immediate 2-3x operator performance gain.

Porting guide: https://github.com/pytorch/pytorch/wiki/TH-to-ATen-porting-guide

Example PR with porting of the adaptive_avg_pool2d: #14714

How to use TensorIterator: https://github.com/pytorch/pytorch/wiki/How-to-use-TensorIterator

Issue 2:
Porting TH operators is essential for code simplicity and performance reasons.

Porting guides and Q&A are available in umbrella issue: #24507

Feel free to add @VitalyFedyunin as a reviewer to get a prioritized review.
Issue 1:
Transferred from http://code.opencv.org/issues/4106

|| tzafrir last_name on 2015-01-08 09:05
|| Priority: Normal
|| Affected: branch 'master' (3.0-dev)
|| Category: ml
|| Tracker: Bug
|| Difficulty:
|| PR:
|| Platform: x64 / Windows

Examples runs in debug mode but crash in release mode

I'm using Visual studio 12 (2013) on a windows 7, 64 bit machine
downloaded the opencv 3.0 beta relase
and I try to run the cpp/letter_recog example.
If I set visual studio to debug mode, and link it against opencv_world300d.lib the example crashes
However in Release mode, when linking against opencv_world300.lib the example works fine

History

Maksim Shabunin on 2015-04-28 17:00

Probably a duplicate of #4085 (fixed).
Can you, please, check if your issue has been fixed too?
- Target version set to 3.0
- Assignee changed from Maria Dimashova to Maksim Shabunin
- Status changed from New to Incomplete

Issue 2:
BOWKMeansTrainer class is not available in even latest Opencv 3.1 java version

The same bug is raised for version 2.4.5 , 3 years ago available at link

http://code.opencv.org/issues/3003

by mohammag

No solution yet.
Issue 1:
Challenge Waypoint: Delete Properties from a JavaScript Object has an issue.

User Agent is: Mozilla/5.0 (iPad; CPU OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13C75 Safari/601.1.

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

My code:

var ourDog = {
"name": "Camper",
"legs": 4,
"tails": 1,
"friends": ["everything!"],
"bark": "bow-wow"
};

delete ourDog.bark;

var myDog = {
"name": "Happy Coder",
"legs": 4,
"tails": 1,
"friends": ["Free Code Camp Campers"],
"bark": "woof"
};

// Only change code below this line.

delete myDog.tails;

// Only change code above this line.

(function(z){return z;})(myDog);

Issue 2:
Thanks to Thad for reporting. His words:

I have a question about the code output area. I'm referring to the area just under the Reset, Help and Bug buttons on the left side of the page at FCC. It seems that there was a change to how that functions in the past few days.

In the past, when it was dictated that an array should show up in the code output area, it was displayed just like an array...["Split", "me", "into", "an", "array"]. Now, since the change a few days ago, it displays like...Split, me, into, an, array. I've attached a screenshot.

Is this the desired output or is it a bug? If it's the desired output, it doesn't seem very useful. If the answer is supposed to be an array, it's reasonable to expect to see an array (not just the array items) displayed there.
Issue 1:
Description of the new feature/enhancement

if you right-click on the icon in the taskbar the menu shows only "unpin from taskbar". It would be nice if there are the terminals that are in the settings described.

How it looks now:

How I think it is better:

Proposed technical implementation details (optional)

Issue 2:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.356]
Windows Terminal version (if applicable): Windows Terminal (Preview) Version: 0.4.2382.0

Steps to reproduce

Open many terminal tabs -or- a small number with long titles

Note that at some point, depending on the width of the screen, new tabs do not appear on the tab bar at the top.

The tab is there, and you can Ctrl+Tab -or- Ctrl+Shift+Tab to cycle the tabs.

Expected behavior

Current tab is always shown when on that tab.

Tab bar can scroll left or right to make the current tab show in the tab bar.

Current tab shows as much of title bar from left to right as possible, still allowing other tabs to have enough space to be clickable.

Cycling through tabs does not show hidden tabs even when landing on one of the hidden tabs.

Would really like to have the option as in VS Code to not have and X to close, but instead right-click Close menus item. This will be important as you apply making items smaller that are not the current tab-item, as it will be easy to click the close box by accident. Or, you can make the close box X only visible for the currently highlighted tab, but this seems overly complicated.

If there are too many items in the list, the last item should be ..., and clicking it should list all the tabs in order.

Tabs should be able to be moved to a different position in the list.

Hovering over a tab that has been shortened due to screen real estate should show a popup indicating the full title. (Bonus points for showing other information about the tab (date it was opened, how long the session has been opened, what type of prompt it is such as PowerShell, CMD, Linux, etc.)

Actual behavior

If you Ctrl+Tab to a tab that is not in the list at the top, the tab is still not shown. There is no way to verify which tab you are on, except based on what was in the window as you left it.

The current tab is not highlighted to indicate which tab is the current tab.

The tab bar shows a static list of the first few items, each at their full width until space runs out.

All tabs are shown at full width, even though they are not the currently selected tab.

There is no UI for accessing the full list of all open terminals.

There is no way to scroll through the list of tabs. Usually down with < and > buttons appearing when the list becomes to big to display fully in the tab bar.
Issue 1:
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from requests.packages.urllib3.poolmanager import PoolManager
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'requests.packages'

The following import statement used to work for the older version 2.14.2 but fails for the latest version 2.16.0

Issue 2:
Hey so the 2.16.0 release broke all of the vendored things I am assuming. I have issued two PRs to two frameworks I use that rely on the vendored packages in requests.

The changelog was a bit obscure about this

2.16.0

Unvendor ALL the things!

Something like BREAKING CHANGE: Vendor packages have been removed, if you relied on these you will need to modify your code would be nice in a 2.16.1 changelog update maybe?

I realize that it can be said these vendored packages are internal and should not be relied on but at least these packages had a use case for using requests and some of the underlying libs and used the vendor packages to ensure everything worked as expected with requests.

Anyone who was relying on these will have their code break upon upgrade, so perhaps a bigger version bump would have been welcome, but at least this can be a warning to people coming here wondering why stuff broke. My solution was a compat.py that conditionally imported urllib3 (works the same for other vendored packages), see my PRs for that fix.
Issue 1:
One feature about DataFrame that I found uncomfortable is the inconsistency of results:

x = pd.DataFrame({'A': [1,2,3,4,5]}, index=['a','b','c','d','e'])
x.loc[['a', 'f']] # fine, value of 'f' is numpy.nan
x.loc[['f']] # throws

When developing data applications, I spend lot of time fixing this issue. I think we should make it more consistent. Either always returns (preferred) or always throws.

Issue 2:
I just upgraded to latest Pandas 0.16, and the new error has hit me (with Pandas 0.15) when slicing with multiple values. (df.ix[[list_of_values]]). I actually think it is more valid to return an empty DataFrame, than to throw an error.

The best I've been able to come up with to reproduce the previous behaviour (fail silently, return empty DataFrame) is:

# I want to filter a DataFrame by the first level of the index
df.ix[df.reset_index().IndexValue.isin(list_of_values).values]

Not saying I'm right on the error/empty argument; but is the above the most elegant solution?

Perhaps we should consider three distinct slicing operations:

Insists on everything being there (and throws errors)

Creates spaces where there is nothing there (reindex)

Just returns what's present, leaving the rest out (silent error)

I would think anyone indexing would be vary aware of what they are expecting from the above?