WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
I'm pretty sure this is a duplicate, but I couldn't find another already open issue about it.

I'd like to not transpile my es6 code with babel to es5 before uglifying it: I'd rather use a minified es6 version of my codebase.

Is there any uglifier production-ready/webpack-ready for this?

Watching in the meantime:

https://gist.github.com/avdg/43002267f959210a69aa3ec0f21ed751

Issue 2:
Bug report

(node:24724) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead

at FasterUglifyPlugin.apply (D:\work\web\React\...\node_modules\webpack-parallel-uglify-plugin\index.js:27:12)
at webpack (D:\work\web\React\web-rtc-html\node_modules\webpack\lib\webpack.js:51:13)
at Object.<anonymous> (D:\work\web\React\...\build\dev.js:20:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)

How do I eliminate Deprecation Warning when I use webpack-parallel-uglify-plugin

Other relevant information:

webpack version: 4.39.3

Node.js version: v10.16.3

Operating System: windows 10

Additional tools:"webpack-parallel-uglify-plugin": "^1.1.2"
Issue 1:
Summary of the new feature/enhancement

I spend more time on my work computer than on my personal computer. Corporate has locked down the installation of applications to approved applications only. Local administrators can run unapproved portable applications.

FancyZones in particular would be very usefull on my work laptop where I must have multiple windows open at all times.

It would be great if this app could be made portable. If not the entire settings and all apps, perhaps some of the individual apps, like FancyZone, could be.

Proposed technical implementation details (optional)

Issue 2:
Summary of the new feature/enhancement

Distribute releases in a zip file. When extracted the command can be executed right away without any installation process. At first run, the necessary integration with explorer etc. can be installed.

This would make it easier to use across multiple machines as I can simply update in one place and synchronize files (like via OneDrive).
Issue 1:
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):

No

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Ubuntu 14.04

TensorFlow installed from (source or binary):

binary

TensorFlow version (use command below):

1.1

Bazel version (if compiling from source):

CUDA/cuDNN version:

8.0/5.1

GPU model and memory:

Titan X

Exact command to reproduce:

Can you please update the scalar inputs to tf.image.sample_distorted_bounding_box to also be accepted as Tensors. I am dynamically creating min_object_covered values (random values) but currently can not input them to the function

Issue 2:
System information

Os version 4.4.4

-sdk level 19

logcat:

07-26 15:01:59.429 6521-6521/? E/AndroidRuntime: FATAL EXCEPTION: main

Process: al.omid.tfdroid, PID: 6521

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "rand" referenced by "libtensorflow_inference.so"...

at java.lang.Runtime.loadLibrary(Runtime.java:364)

at java.lang.System.loadLibrary(System.java:526)

at al.omid.tfdroid.MainActivity.(MainActivity.java:28)

at java.lang.Class.newInstanceImpl(Native Method)

at java.lang.Class.newInstance(Class.java:1208)

at android.app.Instrumentation.newActivity(Instrumentation.java:1061)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2114)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257)

at android.app.ActivityThread.access$800(ActivityThread.java:143)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:136)

at android.app.ActivityThread.main(ActivityThread.java:5120)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)

at dalvik.system.NativeStart.main(Native Method)

07-26 15:02:01.179 6521-6521/al.omid.tfdroid W/System.err: at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:94)

Describe the problem

Could you pleas tell me how can I solve this ? Is "libtensorflow_inference.so" usable for android devices of api level < 20 ?
Issue 1:
System info

Playwright Version: v1.35.1

Operating System: Windows 10

Browser: Electron

Other info:

Source code

Open-source project https://github.com/rancher-sandbox/rancher-desktop

See Windows setup docs at https://github.com/rancher-sandbox/rancher-desktop#windows

Then run:

# Install dependencies:
yarn
# Run all integration tests. You can hit ctrl-c if they all pass by the time it gets to `main.e2e.spec.ts`
yarn test:e2e
# Just run one test:
yarn test:e2e .\e2e\rdctl.e2e.spec.ts
# Will fail reporting

Error: No tests found

I provided exact source code that allows reproducing the issue locally.

... which is what I've done above

Link to the GitHub repository with the repro

[https://github.com/rancher-sandbox/rancher-desktop)

Steps

yarn

yarn test:e2e e2e/rdctl.e2e.spec.ts

Expected

Should run about 60 tests

Actual

Runs no tests and reports

Error: no tests found

Issue 2:
System info

Playwright Version: [v1.XX]

Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]

Browser: [All, Chromium, Firefox, WebKit]

Other info:

Source code

I provided exact source code that allows reproducing the issue locally.

Link to the GitHub repository with the repro

[https://github.com/your_profile/playwright_issue_title]

or

Config file

// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'], },
},
});

Test file (self-contained)

it('should check the box using setChecked', async ({ page }) => {
await page.setContent(`<input id='checkbox' type='checkbox'></input>`);
await page.getByRole('checkbox').check();
await expect(page.getByRole('checkbox')).toBeChecked();
});

Steps

[Run the test]

[...]

Expected

[Describe expected behavior]

Actual

[Describe actual behavior]
Issue 1:
Environment

Windows build number: Win32NT 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0

Steps to reproduce

printf '\e[?25l'

Expected behavior

The cursor should become invisible.

Actual behavior

The cursor remains visible and blinking. It is often misplaced on subsequent operations, though.

E.g. press the Up arrow, it brings back the previous printf command to the command line. Press the Left arrow, the cursor doesn't move. Press Backspace, the letter l is removed (that is, the logical cursor did indeed move to the left in the previous step), the cursor now blinks at the right edge.

Issue 2:
Environment

Windows build number: 1903 (Build 18890)
Windows Terminal version (if applicable): N/A

Any other software? Inspect.exe and UI Recorder to identify UI elements.

Steps to reproduce

Launch Terminal

Launch Inspect or UI Recorder

Attempt to locate Accessibility/Automation ID for the Terminal Tab Elements (big + sign and Down Arrow ˅ sign, and the close tab little x sign)

Expected behavior

Inspect.exe is able to recognize Accessibility Attributes in the top bar, and WinAppDriver is able to automate against them.

Actual behavior

No automation ID attributes being picked up via Inspect.
Issue 1:
julia> b = (1:3) .> 2;

julia> @show b
b => [#undef,false,true]
3-element BitArray{1}:
false
false
true

In contrast,

julia> v = [false,true,false];

julia> @show v
v => [false,true,false]
3-element Array{Bool,1}:
false
true
false

julia> versioninfo()
Julia Version 0.3.0-prerelease
Commit 41267f0* (2014-02-09 22:19 UTC)
Platform Info:
System: Linux (x86_64-redhat-linux)
CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm

Issue 2:
The return value of a function is determined by the function as defined in the last appearance in the code, instead of the value of the function as it is defined at the moment of the evaluation. Take, for instance

function f()
g() = 1
return g()
g() = 2
end

When calling f() it returns 2, even if the definition of g as the constant function 2 was never reached. I would expect this code to return 1.

versioninfo()

Julia Version 1.0.1

Commit 0d71392 (2018-09-29 19:05 UTC)

Platform Info:

OS: Linux (x86_64-pc-linux-gnu)

CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz

WORD_SIZE: 64

LIBM: libopenlibm

LLVM: libLLVM-6.0.0 (ORCJIT, skylake)
Issue 1:
Installation via apt would be so much easier, just like for Mongo

(see : http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb)

Do you plan to offer this way to install Elasticsearch ?

Issue 2:
Elasticsearch version: v5.0.0-alpha5

Plugins installed: non

JVM version: 1.8.0_92

OS version: Mac 10.11.5

Description of the problem including expected versus actual behavior:

Execute bin/elasticsearch-plugin with no arguments and the usage is printed, but there is also what appears to be an erroneous ERROR: E is not a recognized option is being displayed:

djschny:meetup djschny$ elasticsearch-5.0.0-alpha5/bin/elasticsearch-plugin
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - Removes a plugin from elasticsearch

Non-option arguments:
command

Option Description
------ -----------
-h, --help show help
-s, --silent show minimal output
-v, --verbose show verbose output
ERROR: E is not a recognized option
Issue 1:
Migrated issue, originally created by Anonymous

Hello everyone,

this is the first of two tickets I'm going to open regarding the polymorphic map, which I consider a very neat feature of SA. I haven't found much documentation on it though, so I'm not sure whether these are features or bugs - I'd guess the latter.

The polymorphic map, as I understand it, is an alternative to the default polymorphic_identity system and f.e. suitable for setups where you would dynamically decide which class to map to.

In that case you shouldn't have to set a polymorphic identity in your polymorphic classes. This, however, seems to be necessary for inserting objects into the database, as the discriminator otherwise would be inserted as NULL.

I have attached a test to demonstrate this.

Best Regards,

Thomas Wiebe

Attachments: test_insert_polymorphic_map.py

Issue 2:
+ sphinx-build -b man -d sqlalchemy doc/build .
Running Sphinx v3.4.3
/usr/lib64/python3.8/site-packages/scss/selector.py:26: FutureWarning: Possible nested set at position 329
SELECTOR_TOKENIZER = re.compile(r'''
WARNING: while setting up extension changelog: extension 'changelog' has no setup() function; is it really a Sphinx extension module?
Issue 1:
I often open Atom, then hit ⌘ + O to open a file or source directory. The annoyance I have though, is that Atom now has two windows open, one that has the directory I just opened, but also the one that was opened when Atom was opened, which is an empty window.

It would be nice if Atom was smart enough to realize that the first window that was opened is not useful if blank, and replaces it with the window I just opened, rather than adding a new window.

The reason this is annoying is that when I click Atom on the dock, it brings up both windows, which is suboptimal when switching between different programs running.

Issue 2:
Seems reasonable

cmd-o AND file -> open is always opening a new window, there is a separate command for that. It's quite the nuisance. <3

This is perhaps a BIG one that undermines the foundation of Atom...but I find it quite irritating after coming from Sublime: I would like to be able to drag random files into a project/Atom instance so I can reference code side–by–side. Currently if I drag a random file from the finder into an Atom instance it automatically opens a new instance with the folder containing that file as the project root. Since I like to code in fullscreen, this means switching between a number of fullscreen Atom instances to look at or copy snippets of code. This isn't a particularly desirable workflow.

(from #1721)

...

Suppose that I open atom in my home directory. The working directory shown on the left is my home directory.

Now if I want to open a file that is not in the working directory then Atom opens a new window with that file and its directory. Same thing happens if I want to open a third file that is outside of those two working directories.

...

I'm coming from Sublime Text 2 and the default behavior there is every file in a new window. There is a configuration file that can be tweaked to make all files open in the same window.

...

I, too, would love to have files open in a new tab. It is absolutely crucial to my workflow. In the meantime I will continue using Sublime Text for this reason alone.

...

This is probably my single biggest annoyance and the reason why I can't use Atom full time.

(from #2005)

Also related issues:

#770 - Multiple folders in projects

atom/tree-view#63 - Add option to configure multiple root folders in tree-view
Issue 1:
I have two matplotlib figures inside a QSplitter.

When I move the Splitter to the edge (the figure disapear then), the code crashes.

the error I get is

Traceback (most recent call last):
File "C:\Python36\lib\site-packages\matplotlib\backends\backend_qt5.py", line 397, in resizeEvent
self.figure.set_size_inches(winch, hinch, forward=False)
File "C:\Python36\lib\site-packages\matplotlib\figure.py", line 902, in set_size_inches
raise ValueError(f'figure size must be positive finite not {size}')
ValueError: figure size must be positive finite not [0. 6.12]

This wasn't an issue before, when only one of the two side of the Qsplitter was on the screen, my code did not crash. When I pull the splitter to the center again, the figure reappear properly.

here a minimal example:

from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
import sys
import matplotlib.pyplot as plt
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas

class window(QMainWindow):
def __init__(self, parent=None):
super(window, self).__init__()
self.parent = parent

self.centralWidget = QWidget()
self.setCentralWidget(self.centralWidget)

self.mainHBOX_param_scene = QHBoxLayout()

self.mainsplitter = QSplitter(Qt.Horizontal)
V1 = Viewer()
V2 = Viewer()
self.mainsplitter.addWidget(V1)
self.mainsplitter.addWidget(V2)

self.mainHBOX_param_scene.addWidget(self.mainsplitter)
self.centralWidget.setLayout(self.mainHBOX_param_scene)

class Viewer(QGraphicsView):
def __init__(self, parent=None):
super( Viewer, self).__init__(parent)
self.parent = parent
self.setStyleSheet("border: 0px")
self.scene = QGraphicsScene(self)
self.setScene(self.scene)
self.figure = plt.figure()
self.canvas = FigureCanvas(self.figure)

self.axes_Delay = self.figure.add_subplot(1, 1,1)
self.axes_Delay.set_title("Title")

# self.canvas.setGeometry(0, 0, 1600, 500 )
layout = QVBoxLayout()
layout.addWidget(self.canvas)
self.setLayout(layout)
self.canvas.show()

def closeEvent(self, event):
plt.close(self.figure)

def main():
app = QApplication(sys.argv)
ex = window(app)
ex.show()
sys.exit(app.exec_( ))

if __name__ == '__main__':
main()

How can I avoid this error?

I use matplotlib version 3.2.1 by the way.

Issue 2:
Bug report

Bug summary

I use matplotlib + PyQt5. The figure is placed inside a QSplitter (a standard Qt widget that consists of several vertical or horizontal parts which can be resized by handles between those parts) . When a part of QSplitter shrinks to a zero size it automatically resizes the widget it contains. Matplotlib raises an error as was mentioned in #16687.

Actual outcome

ValueError: figure size must be positive finite not [17.45 0. ]

Expected outcome

A zero height figure.

Matplotlib version

Operating system: Kubuntu 19.10

Matplotlib version: >=3.2.0 (installed by pip)

Matplotlib backend: Qt5Agg

Python version: 3.6.9

Other libraries: PyQt5
Issue 1:
When inserting something like "módulos", the caret immediately before "ó" gets deleted. This happens as soon as I type "o" after so I don't get to see the full word as sampled above. If I kept typing at the end I would just see "ódulos".

Issue 2:
Atom 0.106.0, OSX 10.10, using React-Editor

When typing the ^ key followed by any other key, the character left to the the ^ will be removed.

Atom:

Sublime:
Issue 1:
I have various Link in my application but when deployed in production they stop working. The code is as follows:

<Link href="/register">
<a>Register</a>
</Link>

When navigating in development they work fine. When I deploy to production the link takes forever to load the next page. If I write the URL in the address bar it loads fine. When I click on the Link it just hangs, and never loads the page.

Production environment is:

Ubuntu 18.04

Node.js custom server (Express) behind Nginx.

Issue 2:
This is bug report

Link does not work with css-module imported. That happens when page with Link has no css, and linked page has. No errors in console, so im not sure about reasons, but there is minimal repo to reproduce:

https://github.com/standy/next-css-error

Bug appears in next@7.0.0 + next-css@1.0.1,

Older next@6.1.2 + next-css@0.2.0 works fine
Issue 1:
Is there an existing issue for this?

I have searched the existing issues

Current Behavior

npm i --save ... removes related peer dependency.

Expected Behavior

npm i --save ... does not remove peer dependencies.

Steps To Reproduce

Existing package.json:

"dependencies": {
"@my-org/my-pkg": "^1.0.0"
},
"peerDependencies": {
"@my-org/my-pkg": "^1.0.0",
"some-other-pkg": "^2.3.4"
}

Running npm i --save @my-org/my-pkg@1.0.1 results in the following package.json:

"dependencies": {
"@my-org/my-pkg": "^1.0.1"
},
"peerDependencies": {
"some-other-pkg": "^2.3.4"
}

Note that the peer dependency "@my-org/my-pkg": "^1.0.1" was removed during install.

Environment

OS: Manjaro 21.0.5

Node: 12.19.1

npm: 7.14.0

Issue 2:
*Updated* as of 01/15/2021

Note: Please read this doc before filing a new issue.
Issue 1:
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):

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

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

BUG REPORT

Kubernetes version (use kubectl version):

v1.4.0

Environment:

Cloud provider or hardware configuration: VM

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

Kernel (e.g. uname -a): Linux ubuntu 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Install tools:

Others:

What happened:

when run KUBERNETES_PROVIDER=ubuntu ./kube-up.sh , it should report missing saltbase. After corrected this, run kube-up.sh once again, it deploye kubernets to the Nodes, but report

/bin/bash: line 7: /root/kube/make-ca-cert.sh: Permission denied

What you expect1ed to happen:

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

install a fresh ubuntu 14

download kubernets v1.4.0

expande kuernets files into /opt/

modify /opt/kubernetes/cluster/ubuntu/config-default.sh, change nodes to only one, as export nodes=${nodes:-"root@127.0.0.1"} roles=${roles:-"ai"} and export NUM_NODES=${NUM_NODES:-1}

copy the missing saltbase into /opt/kubernetes/cluster

run KUBERNETES_PROVIDER=ubuntu ./kube-up.sh , it should deploy files into nodes, but report make-ca-cert.sh error.

Anything else do we need to know:

Issue 2:
I'm trying to integrate configmaps into our continuous delivery flow. It's important for us that the deploys are idempotent.

Typically we'd create the configuration from files by doing

kubectl create configmap myconfig --from-file=file1.yml --from-file=file2.yml

However, if this is run more than once we get this since the command is a create

Error from server: configmaps "myconfig" already exists

There are apply and replace commands for file or stdin resources but no apply configmap. We could grab all the contents of each file and pipe that into a resource YML then pass that through to apply but it seems awkward.

What is the current accepted practice for updating a configmap that is file driven?

There is some overlap with this and #24744 plus #22368.
Issue 1:
The master documentation says the following about the entity form type:

The class of your entity (e.g. AcmeStoreBundle:Category). This can be a fully-qualified class name (e.g. Acme\StoreBundle\Entity\Category) or the short alias name (as shown prior).

However, the Bundle:Entity syntax throws the following exception:

Class Bundle:Entity does not exist

I've downloaded the symfony-standard edition and made the following test, just to be sure the problem is not caused by my project.

namespace Acme\DemoBundle\Entity;

class Smartie
{
private $smarties = array('red', 'green', 'yellow', 'brown');

public function getSmarties()
{
return $this->smarties;
}
}

namespace Acme\DemoBundle\Form;

public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('yummie', 'entity', array(
'class' => 'AcmeDemoBundle:Smartie',
'property' => 'smarties'
));
}

{{ form_widget(form.yummie) }}

And that throws the following exception:

Class AcmeDemoBundle:Smartie does not exist

vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php at line 158

$proxyClass = new \ReflectionClass($class);

Maybe something has changed due the latest form improvements, I don't know. Either it's a bug or the documentation needs a update.

Issue 2:
I'm not sure but I think there is a regression introduced yesterday at commit 17ca9b6.

All my forms were working before I ran composer.phar update command.

After having updated my codebase, I had to update my entity type fields in all my forms to use a FQCN everywhere instead of the Doctrine entity shortcut name. In other words, before the update I had:

$builder
->add('foo', 'entity', array(
'class' => 'FooBarBundle:Foo',
'property' => 'name',
))
;

Then I updated Symfony and the ManagerRegistry::getManagerForClass() method modified yesterday in commit 17ca9b6 don't translate my shortcut class name to its FQCN anymore. So I'm forced to use a FQCN instead in all my forms to make it form again:

$builder
->add('foo', 'entity', array(
'class' => 'Foo\Bundle\BarBundle\Entity\Foo',
'property' => 'name',
))
;

So I suspect a regression with yesterday's commit.