WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Hi everyone,

I have built the static library for tensorflow with cmake in Windows and I have the error "No session factory registered for the given session options ". This issue is fixed with the flag /Wholearchive, however it seems there is not equivalent flag for Qt creator. So, my question is if someone knows if the static library built with bazel has the same issue (add the flag /wholearchive) in windows? I have read that someone people didin´t have this issue with bazel in Linux, but it would be great if someone can confirm it for Windows.

Thanks for your help.

Issue 2:
Hi everyone,

I have built the static library of tensorflow for C++ in windows. And I am trying to use this library in qtCreator, however I have the issue (no session factory registered for the given options). But, it looks adding these flags in qtCreator doesn´t work so I still have the issue. Does someone know how to build the library in Tensorflow so I can use the library without the flag -whole-archive?
Issue 1:
Remap shortcut to support character keys

Feature Request for Keyboard Manager

Context

Hi, only recently came across PowerToys and already fond of the wealth of utilities present. Many thanks for making these available!

Due to limited hand mobility, I’m heavily reliant on key-remapping and macros for keyboard interaction. As such, SharpKeys and AutoHotkey are ideal for remapping keys on a registry-level and scripting complex macros, respectively. I don’t expect Keyboard Manager to have feature parity with either of these dedicated solutions; I’m drawing inspiration from them. For example, AutoHotkey supports mouse input which is super-useful to me (worth raising a different feature request? :).

Summary

As part of Remap shortcuts, I was surprised to find it could only remap to another shortcut starting with a modifier key. What about remapping shortcuts to another key‽ Such as Alt + ? = ‽. Or Alt + Left | Right = ← | →.

Additionally, as per the examples, I don’t even see any way to map to the chosen Unicode characters. Is there any plans to allow inclusion of the wider Unicode characters range?

Thanks for your time, really appreciate it.

Issue 2:
[Power Toys Utility -Choose your layout for this desktop]

User Impact:

Low vision users using resize scaling will not be able to get the proper information as Choose your layout for this desktop utility dialog controls does not adapt resize settings.

Test Environment:

OS Version: 20221.1000

App Name: Power Toy Preview

App Version: v0.23.0

Screen Reader: Narrator

Pre-Requisites:

Set the screen resolution to 1280x768 > Set text size to 225% (Settings -> Ease of access -> Make text bigger)

Reproe-Steps:

Open Power Toys Settings application.

Navigate to Fancy Zone present at the left side of the pane and activate it.

Navigate to 'Launch Zone Editor' present at the right side of the pane and activate it.

Choose your layout for this desktop utility dialog will get open.

Observe the issue.

Note:

This issue is repro throughout the app.

Actual Result:

Choose your layout for this desktop ' utility dialog does not adapt Resize mode settings.

Expected Result:

Choose your layout for this desktop ' utility dialog should adapt Resize mode settings.

MAS Reference:

https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc=%7Bb69e5ccc-dde2-4406-b550-4deb38648f6d%7D&cid=b69d614e-72aa-42df-a6ad-5e3cfd7c4294

54_MAS1.4.4_Choose your layout for desktop dialog not adapting resize mode setting.zip
Issue 1:
(sorry if this is a dup, hard to narrow down the search of open issues -- a bunch of ENOENT cases)

If I want to create a new file with the atom helper, an exception is thrown:

~/Work/iojs-build ±master $ atom mynewfile

..throws:

events.js:141
Hide Stack Trace
Error: ENOENT: no such file or directory, open '/Users/jbergstroem/Work/iojs-build/mynewfile'
at Error (native)

Issue 2:
[Enter steps to reproduce below:]

Invoke atom for non-existent file: atom Dockerfile

Atom Version: 0.190.0

System: Mac OS X 10.9.5

Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/Users/arve/Projects/gradlehub/Dockerfile'

At events.js:141

Error: ENOENT: no such file or directory, open '/Users/arve/Projects/gradlehub/Dockerfile'
at Error (native)

Commands

-0:00.5 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
"core": {
"ignoredNames": [
".git",
".svn",
".DS_Store"
]
},
"editor": {
"showIndentGuide": true,
"preferredLineLength": 110,
"tabLength": 4,
"softWrapAtPreferredLineLength": true,
"invisibles": {},
"fontSize": 15
}
}

Installed Packages

# User
Stylus, v0.7.0
atom-lint, v0.20.1
auto-reveal-in-sidebar, v0.4.0
coffee-refactor, v0.6.2
editorconfig, v0.3.3
language-clojure, v0.14.0
language-docker, v1.1.3
language-gradle, v0.0.3
language-haskell, v1.0.0
language-scala, v1.1.0
refactor, v0.4.1
tabs-to-spaces, v0.9.2

# Dev
No dev packages
Issue 1:
I wanted to wrap the OpenGL API to create a safer interface. Like many other APIs the OpenGL API gives away integer tokens representing created objects. For example, the call glCreateProgram creates a GLuint token representing a shader program object. These tokens in the OpenGL API (and other similar APIs) are basically the same idea as pointer types. Because these tokens behave similarly to pointers I would like to wrap them in a type which has similar behaviours. For example, the glGetAttribLocation call gets a token representing an attribute, or buffer to fill with data of a shader program. I would like to wrap the token returned by glGetAttribLocation in a structure which has the same lifetime as the program token returned by glCreateProgram, but to do this I have to use an unneeded amount of pointers (to get proper lifetime guarantees.) Basically, I would like my wrapped glGetAttribLocation call to be like:

impl GLContext {
fn get_attrib_location <'r> (
&self,
program: Program <'r>,
name: ~str
) -> Option <AttributeLocation <'r>> { /* Definition Omitted */ }

Instead of:

impl GLContext {
fn get_attrib_location <'r> (
&self,
program: &'r Program,
name: ~str
) -> Option <AttributeLocation <'r>> { /* Definition Omitted */ }

Issue 2:
UPDATE: Updating this issue to reflect current thinking, which is that inference should issue a warning when a lifetime parameter is inferred to be bivariant (which implies that the parameter is unused).

ORIGINAL: It's sometimes necessary to specify a lifetime on an object that doesn't contain borrowed pointers, because lifetime dependencies can be required for safety outside of Rust's borrowed pointer system. A dummy borrowed pointer member is a workaround, but wasteful.

@nikomatsakis
Issue 1:
I see that it was previously possible to pass-in a prettier configuration file, but it seems that it's no longer possible.

Is there a way to change:

Indent size

Quotes style

Semicolons

Issue 2:
Tracking issue for flags that were removed in #3820, but are useful:

@nayeemrmn @ry there are two flags that are not present in this PR that are pretty useful: --stdout and --ignore-path=<FILE...>. Let's do them in follow up PR.

So probably we'd want to bring back 3 flags in total:

--stdout print formatted file to stdout instead of writing to disk (mutually exclusive with --check) (#3920)

--ignore-path - do not format/check files specified in this flag, IMHO --exclude is better (and shorter)

--config - flag to read config from file - AFAIK dprint does not yet support it (ref dprint/dprint#69)
Issue 1:
Bug report

Bug summary

TkAgg backend plots an empty figure with matplotlib=3.1.1 (python=3.7.3) installed within conda environment on MacOS=10.14.6.

Code for reproduction

The following lines return an empty (blank) figure in python shell

import matplotlib as mpl
mpl.use('TkAgg')
import matplotlib.pyplot as plt

f = plt.figure()
ax = f.add_subplot(1,1,1)
ax.plot(range(10))

f.show()

Actual outcome

Code runs without complaints or error messages but produces an empty figure with no frame or axes

Expected outcome

Simple line plot.

Matplotlib version

Operating system: MacOS=10.14.6

Matplotlib version: 3.1.1

Matplotlib backend (print(matplotlib.get_backend())): TkAgg

Python version: python=3.7.3

Jupyter version (if applicable):

Other libraries:

I have conda=4.7.11 installed and I created en environment:

conda create -n test_mpl python=3.7
conda activate test_mpl

Then I installed Matplotlib using conda using the default channel:

conda install matplotlib

which was installed correctly:

import matplotlib
print(matplotlib.__version__)

3.1.1

Issue 2:
Bug report

Bug summary

When using the latest stable version of matplotlib (v2.2.3), running plt.plot() only displays a blank figure, regardless of chosen backend. However, the .savefig() method correctly stores an image of the plot.

Switching to an older version (2.0.2) resolves the issue.

Code for reproduction

import matplotlib as mpl
mpl.use("TKAgg")

import matplotlib.pyplot as plt

plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
plt.savefig('testfigure.png', dpi=100)
plt.show(block=True)

Actual outcome

No code errors.

Expected outcome

Matplotlib version

2.2.3 - works on 2.0.2

Operating system: MacOS Mojave (10.14 Beta (18A384a))

Matplotlib version: 2.2.3

Matplotlib backend (print(matplotlib.get_backend())): TkAgg

Python version: 3.7

Jupyter version (if applicable): N/A

Other libraries: N/A

Installed via pip install matplotlib
Issue 1:
Halp ticket:

support/99c4b424c63611e397d244a7153df9be

Soft wrap is very buggy. Often, the cursor will stop displaying in the right position. Seems to happen more after doing a find and replace. It'll show up about 4 characters away from where it's actually inserted. And some characters will be impossible to select/delete.

...

Disabled all my packages. Still having wrapping issues. See line 30 in this screen shot: https://www.dropbox.com/s/p2416k52npr3sre/Screenshot%202014-04-22%2011.00.33.png

The end of that data-tooltip-position attribute should have “bottom left”, but bottom is just getting cut off. I’m on version 0.90.0 now.

Issue 2:
(discovered in Atom 0.110.0)

I'm on a german keyboard on windows right now, and i can't type characters that would involve the right Alt-Key (Labelled AltGr). The key is detected as Ctrl+Alt which is (as far as i know) more or less correct. This key is involved in these characters and triggers the following actions:

AltGr + ß (right of 0, left of backspace):

Detected as: Ctrl-Alt-[

editor:fold-current-row | .workspace .editor:not(.mini) | \keymaps\win32.json

AltGr + Q: @

Detected as: Ctrl-Alt-Q (so, yeah it is correct)

autoflow:reflow-selection | .platform-win32 .editor, .platform-linux .editor | \keymaps\autoflow.json

These bindings do work just fine:

AltGr + 2: ²

AltGr + 3: ³

AltGr + 7: {

AltGr + 8: [

AltGr + 9: ]

AltGr + 0: }

AltGr + <: |
Issue 1:
William Gorder opened SPR-9206 and commented

Having to define every annotated class with

<oxm:class-to-be-bound

is tedious. Would it be possible to add something like the following as part of the framework?

http://springinpractice.com/2011/12/29/its-back-the-classpathscanningjaxb2marshaller/

http://www.walgemoed.org/2010/12/jaxb2-spring-ws/

Affects: 3.1.1

Issue Links:

#13626 Add the ability to Scan Packages for JAXB Marshalling (java example provided) ("duplicates")

Issue 2:
Tomas Johansson opened SPR-6788 and commented

For example, if you use these two strings:

"text/html; q=0.7; charset=iso-8859-1"

"text/html; q=0.7"

then the compareTo method will return zero but equals will return false.

I suggest that a consistent implementation should either be fixed, or otherwise (if necessary for some reason ?) at least it should be mentioned in the javadoc that the natural ordering that is inconsistent with equals.

Example of JUnit test that I think should pass:

@Test
public void verifyConsistentImplementationOf_equals_And_compareTo() {
verifyConsistentImplementationOf_equals_And_compareTo(
MediaType.parseMediaType("text/html; q=0.7; charset=iso-8859-1"),
MediaType.parseMediaType("text/html; q=0.7")
);
verifyConsistentImplementationOf_equals_And_compareTo(
[add more test cases ...]
);
[add more test cases ...]
}

private void verifyConsistentImplementationOf_equals_And_compareTo(MediaType mediaType1, MediaType mediaType2) {
assertEquals(mediaType1.equals(mediaType2), mediaType1.compareTo(mediaType2) == 0);
}

/ Tomas Johansson

Affects: 3.0 GA
Issue 1:
Bug summary

When using plt.savefig() or plt.gcf().savefig() to save an active figure in EPS format, the resulting file is blank. The same commands produce the correct image when saving to PNG format. Error occurs in both Spyder and Jupyter Notebooks.

Code for reproduction

import numpy as np
import matplotlib.pyplot as plt

plt.figure()
plt.plot(1,1,'x')
plt.savefig('test.png', fmt='png')
plt.savefig('test.eps', fmt='eps')

Actual outcome

PNG file:

The EPS file cannot be uploaded, but is just a white rectangle of the same dimensions as the PNG.

Expected outcome

EPS file should look identical to the PNG.

Additional information

No response

Operating system

OSX Ventura 13.1

Matplotlib Version

3.5.1

Matplotlib Backend

module://matplotlib_inline.backend_inline

Python version

3.10.4

Jupyter version

3.3.4

Installation

conda

Issue 2:
Bug summary

Setting 'figure.autolayout' to 'True' removes most of the EPS savefig.

Code for reproduction

import matplotlib.pyplot as plt

plt.rcParams['figure.autolayout'] = 'True'

plt.plot([1, 2, 3], [1, 2, 3], 'o-')
plt.title(r'$\sum_{i=0}^{\infty} x_i$ just a test')
plt.savefig('test2.eps', format='eps')

Actual outcome

Actual image after being exported from gimp (300dpi)

This is the EPS file:

https://we.tl/t-ka6aoUGxKm

Expected outcome

Expect the image in ".eps" file like this.

This is the EPS file:

https://we.tl/t-Q7WBPMwDcy

Additional information

I found this bug by an accident while using a custom ".mplstyle" on Matplotlib 3.5.0

Seems like this rcParam ['figure.autolayout'] = 'True' destroys about 2/3 of the eps file.

plt.tightlayout() seem to not affect the result, the bug happens only with this rcParam on the latest matplotlib version.

import matplotlib.pyplot as plt

plt.plot([1, 2, 3], [1, 2, 3], 'o-')
plt.title(r'$\sum_{i=0}^{\infty} x_i$ just a test')
plt.savefig('test2.eps', format='eps')

This is the code for the expected outcome.

Operating system

Windows

Matplotlib Version

Bug present only on 3.5.0

Matplotlib Backend

Qt5Agg

Python version

Tested with 3.10 and 3.9

Jupyter version

No response

Installation

conda
Issue 1:
Hi there,

I am new to python and machine learning. I am facing the problem for the following code. Can anybody suggest me what should be done to remove the error. Thanks in advance .

Seaborn version:0.9.0

Python: 3.6.0

Code:

sns.distplot(d_p,color="skyblue", label="Distribution of neighbour image distances in route produced with GD")

# plt.savefig('dis_p.png')#distribution of distance of neighbour images(real frames) in route

sns.distplot(d_m,color="red", label="Distribution of neighbour image distances in route manually sellected")

plt.legend()

plt.savefig('disroute.png')#distribution of distance of neighbour images(real frames) in manually selected route

plt.clf()

sns.distplot(d_p_latent,color="skyblue", label="Distribution of neighbour pair distances in path produced with GD")

plt.savefig('distance_p_latent.png')#

plt.clf()

sns.distplot(d_m_latent,color="red", label="Distribution of neighbour pair distances in path w.r.t. manually selected route")

plt.legend(loc=2, fontsize = 'x-small')

plt.savefig('dis_m_lnt.png')

Error:

#########

ile "C:\VAE_learning-a-representation-for-navigation-master\navigation_function.py", line 546, in evaluate

sns.distplot(d_p,color="skyblue", label="Distribution of neighbour image distances in route produced with GD")

File "C:\Users\Anaconda3\envs\reti\lib\site-packages\seaborn\distributions.py", line 231, in distplot

kdeplot(a, vertical=vertical, ax=ax, color=kde_color, **kde_kws)

File "C:\Users\Anaconda3\envs\reti\lib\site-packages\seaborn\distributions.py", line 691, in kdeplot

cumulative=cumulative, **kwargs)

File "C:\Users\Anaconda3\envs\reti\lib\site-packages\seaborn\distributions.py", line 294, in _univariate_kdeplot

x, y = _scipy_univariate_kde(data, bw, gridsize, cut, clip)

File "C:\Users\Anaconda3\envs\reti\lib\site-packages\seaborn\distributions.py", line 366, in _scipy_univariate_kde

kde = stats.gaussian_kde(data, bw_method=bw)

File "C:\Users\Anaconda3\envs\reti\lib\site-packages\scipy\stats\kde.py", line 172, in init

self.set_bandwidth(bw_method=bw_method)

File "C:\Users\Anaconda3\envs\reti\lib\site-packages\scipy\stats\kde.py", line 499, in set_bandwidth

self._compute_covariance()

File "C:\Users\Anaconda3\envs\reti\lib\site-packages\scipy\stats\kde.py", line 510, in _compute_covariance

self._data_inv_cov = linalg.inv(self._data_covariance)

File "C:\Users\Anaconda3\envs\reti\lib\site-packages\scipy\linalg\basic.py", line 975, in inv

raise LinAlgError("singular matrix")

numpy.linalg.LinAlgError: singular matrix

Issue 2:
'LinAlgError: singular matrix' error pops up when trying to call the pairplot() function.
Issue 1:
This is a request to add a model viewer example.

I think it's a very common need to display a model, pan, rotate and zoom.

Features:

Load models of different formats with plugable loaders. It can help unify the loaders API if needed.

Auto zoom the model to a reasonable initial value. Allow zoom in/out.

Use TrackballControls to rotate the model.

Allow pan.

This example can be used as a base for many other examples.

For example, for showing different loaders and controls.

Thigiview is very nice but it uses an old version of three.js

n0r.org/thingiview.js/examples/client_side_ajax.html

https://github.com/tbuser/thingiview.js

Thanks

Issue 2:
r100 has been mentioned as the target release for removing support for rendering THREE.Geometry.

That means you can instantiate an instance of THREE.Geometry, but you will have to convert it to THREE.BufferGeometry prior to adding it to the scene.

By my notes, the remaining examples where Geometry is rendered are webgl_materials.html and svg_sandbox.html. I believe in all other examples where Geometry is used, Geometry is instantiated, but not rendered.

Also, to do is #14608 -- an important one.

I would also suggest renaming THREE.Geometry to THREE.LegacyGeometry.

At some point, THREE.BufferGeometry can become THREE.Geometry, but that would be in the distant future.
Issue 1:
Is there an existing issue for this?

I have searched the existing issues

Current Behavior

Hi there!

I going to migrate my monorepo from lerna to npm 7 and faced with the next issue:

when I doing npm --workspaces version pach - my packages updated as expected, but dependency in "package-a" still have old dependency version of "package-b"

how can i solve this issue?

Issue 2:
Is there an existing issue for this?

I have searched the existing issues

Current Behavior

The npm --no-git-tag-version --workspaces version <version> command doesn't update package devDependencies or dependencies with the new version. I'd expect that workspace dependencies would be updated to match the new versions that were set.

Expected Behavior

npm --no-git-tag-version --workspaces version "2.0.0-alpha1" should update all workspace package versions (currently does) and also update the package dependency versions

Steps To Reproduce

Setup a new npm workspace

Create /packages/packagea :

{
"name": "packagea",
"version": "2.0.0-dev"
}

Create ``/packages/packageb`:

{
"name": "packageb",
"version": "2.0.0-dev",
"dependencies": {
"packagea": "2.0.0-dev"
}
}

Run npm --no-git-tag-version --workspaces version "2.0.0-alpha1"

notice the package versions are updated but the dependencies are not.

I have an existing setup located here: https://github.com/exceptionless/Exceptionless.JavaScript/tree/feature/workspaces that reproduces it (but package names are changed...)

I noticed this after getting the following error:

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @exceptionless/core@2.0.0-dev.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

Environment

OS: Windows 10 latest

Node: v16.1.0

npm: 7.17.0
Issue 1:
Images & references

--> http://www.material-ui.com/#/components/text-field

Versions

Material-UI: 0.16.0

Browser: Sadari 10.0

Issue 2:
Problem description

A thin border surrounds every input

Here, the first input is not a textarea. I think it might have something to do with it.

I've also noticed that if I change in the browser -webkit-appearance: textfield to -webkit-appearance: none on the <div/> wrapping the text area, the border dissappear.

The hard part is to make this happen with the code. I wasn't able so far to do this. Someone in EnhancedTextarea overwrites my styles ;(

Here is the input:

<TextField inputStyle={WebkitAppearance: 'none', color: 'blue'} multiLine={true} />

Here is the real effect:

Notice that the color changes to blue, but -webkit-appearance doesn't.

Versions

Material-UI: ^0.16.0

React: ^15.3.2

Browser: Safari 10.0
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

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

Environment

Dubbo version: 2.7.3

Operating System version: Mac

Java version: 1.8

Dubbo-admin version: 0.2.0

Steps to reproduce this issue

i install the dubbo-admin-0.2.0 for dubbo 2.7.3, but i can't get the metrics in the statics page.

i want to know how to get the metrics in the page.

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

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

Environment

Dubbo version: 2.7.x

Operating System version: win/linux

Java version: 1.8

Steps to reproduce this issue

the session config (registry.session) of ZK registry is invalid. When create zookeeper client In AbstractZookeeperTransporter.class there is a filter. It will persist only two parameters for example timeout and backup. And it does not deal session time out with CuratorFrameworkFactory.Builder.

Now it only get from System.properties.

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!
Issue 1:
obj a() { }
let b = obj() { with a() };

rt: 4d8e:main:main: upcall fail 'Assertion !cx.terminated failed', ../src/comp/middle/trans_build.rs:34
rt: 4d8e:main: domain main @0x8999640 root task failed

As opposed to this:

obj a() { }
let c = a();
let b = obj() { with c };

Issue 2:
Right now, you can get errors like "a type named Primitive has already been imported in this module", which isn't very helpful. The error message would be much more helpful if it would tell you which line the other Primitive type was imported on.
Issue 1:
Leaving aside all arguments about whether a Byte Order Marker is a good thing or a bad thing (I don't much care) there are situations in which software which will be reading the files produced by atom require it to be there. This should be an option in the encodings menu.

Further if a Byte Order Mark is present in a file, it should not be displayed (it currently is), and should be kept in its current state when saving a file (it can be deleted by an unknowing user who thinks it is an extra space, or mangled by auto-indent).

Issue 2:
Variants of common Unicode encodings aren't supported, namely, UTF-8 w/ BOM, UTF-16 w/ BOM, etc.

I feel like Atom should natively support all Unicode encodings, even the most esoteric ones (e.g. UTF-32)