WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
The solaris scripts are using grep with the -E option. This option is not supported in the default distribution.

[ Dec 28 15:11:22 Disabled. ]

[ Dec 28 15:12:11 Enabled. ]

[ Dec 28 15:12:11 Executing start method ("/scratch/elasticsearch/bin/elasticsearch"). ]

grep: illegal option -- E

Issue 2:
Since Elasticsearch 2.1.1 the elasticsearch startup script has contained this line:

daemonized=`echo $* | grep -E -- '(^-d |-d$| -d |--daemonize$|--daemonize )'`

This means Elasticsearch 2.1 doesn't start on Solaris. Changing grep -E to egrep makes it work on all of Solaris, Linux and Mac OS X:

daemonized=`echo $* | egrep -- '(^-d |-d$| -d |--daemonize$|--daemonize )'`

On Solaris:

$ echo -d -x -g --hello | grep -E -- '(^-d |-d$| -d |--daemonize$|--daemonize )'
grep: illegal option -- E
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .
$ echo -d -x -g --hello | egrep -- '(^-d |-d$| -d |--daemonize$|--daemonize )'
-d -x -g --hello

On Linux and Mac OS X:

$ echo -d -x -g --hello | grep -E -- '(^-d |-d$| -d |--daemonize$|--daemonize )'
-d -x -g --hello
$ echo -d -x -g --hello | egrep -- '(^-d |-d$| -d |--daemonize$|--daemonize )'
-d -x -g --hello

However, I am not sure if there are other platforms where egrep wouldn't work, so if there are any others you want to support you might want to check them too.
Issue 1:
Consider the following code:

import numpy
from numpy.linalg import inv
from multiprocessing import Process

def hang():
a = numpy.identity(3)
b = inv(a)

p = Process(target=hang)
p.start()
p.join()

If numpy uses OpenBLAS, it hangs forever consuming 100% CPU with OPENBLAS_NUM_THREADS>1. If export OPENBLAS_NUM_THREADS=1, it works OK.

I am testing this code on 32-core machine, if this matters.

It may be related to issue #654

numpy version 1.8.1

python version 3.4.1

openblas version 0.2.8

ubuntu 14.04

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/2201 on 2012-08-14 by trac user agchang, assigned to @pv.

There seems to be an issue with numpy.linalg being called in unison with python's multiprocessing module. When invoking a numpy.linalg method from within a subprocess, e.g., through a worker pool and map() function, the program hangs and ignores all interrupt signals.

The code provided below will demonstrate the case:

import numpy as np
import multiprocessing as mp

def foo(x):
print np.linalg.inv([[2,3],[2,2]]) #this causes the crash
#print np.dot([[1,2],[3,4]],[[1,2],[3,4]]) # this works fine

def test():
print "running..."
print np.__version__
print mp.__version__
vals = [1,2,3,4]
#pool = mp.Pool(1) #This has an issue
#pool = mp.Pool(mp.cpu_count()) #this has an issue
pool.map(foo, vals)

if __name__ == "__main__":
test()
#foo(1) #this works fine

By hang I mean the program becomes unresponsive and does not respond to interrupts(Ctrl-C).

I took a look using pdb and it seems that it hangs after the call

waiter.acquire() in threading.py(the python system module) so I suspect some sort of deadlock?

multiprocessing.version is 0.70a1

numpy.version is 1.6.1

Some potentially related packages?

ii libblas3gf 1.2.20110419-2 Basic Linear Algebra Reference implementatio

ii liblapack3gf 3.3.1-1 library of linear algebra routines 3 - share

ii python 2.7.3-0ubuntu2 interactive high-level object-oriented langu

ii python-numpy 1:1.6.1-6ubunt Numerical Python adds a fast array facility

My kernel version is(uname -a):

Linux agc 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Let me know for any additional information.

Thanks.
Issue 1:
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

When an async pipe is present on a component, all component's @Input are triggered whenever the async value is updated.

This is especially annoying in the case of @Input bounds to setters @Input() set foo(v){ }.

Not sure how this is useful, but I observed the following:

It seems that the async pipe calls unwrapValue which increments unwrapCounter, forcing checkBinding to return true the first time it's called, causing updateProp to be called.

Expected behavior

Only the @Input bound to the async pipe should be updated. (At least it was the case with v2)

Minimal reproduction of the problem with instructions

http://embed.plnkr.co/MDvG3iKe4klFCAayIYh5/

Please tell us about your environment:

macOS Sierra 10.12.3

Angular version:

4.0.0-rc.3

Browser:

Firefox 47.0.1

Language:

Typescript

Issue 2:
so I added the ref as indicated in change log.

///<reference path="node_modules/angular2/typings/browser.d.ts"/>

and yet in latest .6 I get a bunch of missing types now.

am I missing something? or feature broken?

regards

Sean
Issue 1:
I install Bootstrap 3.1.0 in my Visual Studio 2013 update 1 with WebEssential 1.8.5. I have a MVC 5.1 Project. What can i do to see corectly the site ? Now don't find css. I also compile bootstrap.less.

Issue 2:
Hi @mdo @fat,

Thanks for creating Bootstrap V3.

http://getbootstrap.com/javascript/#modals

Just tried "Launch demo modal" button and it works great, however there is small issue, when we open and close modal it seems like it Flick the page for a while.

Mufaddal
Issue 1:
I'm running on OS X.

Steps to reproduce:

Start Atom

Open a directory

Open a file so there's a tab open

Restart Atom

Reopen the same directory

I expect the workspace to be restored (i.e. the file should be opened) when I reopen the directory in Atom. If I open the directory a second time after startup, it does the proper thing (but then I have two workspaces open that are backed by the same directory/project).

Issue 2:
Like I mentioned here in my comment opening a folder won't work for the first time you open it, wether if you drag&drop it or just open it via the shortcut.

Same Problem on two different computers with Atom (0.124.0) running on Mac OS X (Mavericks).
Issue 1:
Hi!

I translated all the English documents into Chinese.

Let's bring the documentation to all the -speaking community 🌐 (currently 0 out of 267 complete)

Who would want to translate? Please follow the 🤗 TRANSLATING guide. Here is a list of the files ready for translation. Let us know in this issue if you'd like to translate any, and we'll add your name to the list.

Some notes:

Please translate using an informal tone (imagine you are talking with a friend about transformers 🤗).

Please translate in a gender-neutral way.

Add your translations to the folder called <languageCode> inside the source folder.

Register your translation in <languageCode>/_toctree.yml; please follow the order of the English version.

Once you're finished, open a pull request and tag this issue by including #issue-number in the description, where issue-number is the number of this issue. Please ping @ArthurZucker, @sgugger for review.

🙋 If you'd like others to help you with the translation, you can also post in the 🤗 forums.

Issue 2:
Environment info

transformers version: 4.4.2

Platform: linux

Python version: 3.7

PyTorch version (GPU?): 1.8

Tensorflow version (GPU?): -

Using GPU in script?: -

Using distributed or parallel set-up in script?: -

Who can help

t5: @patrickvonplaten, @patil-suraj

Information

I am using mt5-small model:

the problem arises when using fp16 with mt5

The tasks I am working on is:

translation

To reproduce

Steps to reproduce the behavior:

python run_translation.py --model_name_or_path google/mt5-small --do_train --do_eval --source_lang en --target_lang ro --dataset_name wmt16 --dataset_config_name ro-en --output_dir test/tst-translation --per_device_train_batch_size=4 --per_device_eval_batch_size=4 --overwrite_output_dir --predict_with_generate --max_train_samples 100 --fp16

outputs:

***** eval metrics *****
epoch = 3.0
eval_bleu = 0.0039
eval_gen_len = 2.95
eval_loss = nan
eval_mem_cpu_alloc_delta = 4MB
eval_mem_cpu_peaked_delta = 5MB
eval_mem_gpu_alloc_delta = 0MB
eval_mem_gpu_peaked_delta = 1080MB
eval_runtime = 72.1865
eval_samples = 1999
eval_samples_per_second = 27.692

Expected behavior

being able to use fp16 with mt5 models. Thank you very much for your help, this is really crucial for me to be able to run these models with fp16 to be able to fit more data into old GPUs I have access to and I appreciate a lot your help.
Issue 1:
please help add Mail plugin to send the email to different services like gmail outlook etc..

Usecase and Observation : as per the observation currently we are using nodemailer to send the reports generated by playwright and that is also some times not working due to asynchronous nature and some times it's picking n-1 report which is already exist so it would be very helpful if we have a mailing functionality to send an email

Issue with the node mailer :

nodemailer works along with the hooks but the reports are generating after completion of context, in this case we could not able to sync hold to gather

Issue 2:
Let us know what functionality you'd like to see in Playwright and what your use case is:

I work for a fortune 100 company. We just implemented Playwright after having no automation framework. Everything is awesome thus far, you all did an awesome job and my app dev team thanks you immensely. But if you could possibly please help us (?). we are looking for a way to take the results of the nightly smoke test results from Playwright, via Playwright Reporter and we need to be able to export those results back to our Enterprise MS Outlook, or more preferably, Microsoft Teams (group message if possible) to review what passed/failed before going into the daily stand up meeting. And since smoke tests are ubiquitous in our industry, to answer your aforementioned question, I am confident this feature would be well received amongst a plethora of testers and developers. Before submitting this feature request, I did research thoroughly through the playwright.dev document on export types, like TestNG, Cucumber, JUnit, etc., but it would be super awesome to be able to have Playwright Reporter integration with MS Teams, Outlook, or even Power Automate Desktop? :)

I searched numerous YouTube videos, but I only saw that XRay (test management plugin tool for JIRA) works well with Playwright, which is really sweet and would love to see both companies continue to build that relationship and technology.

Do you think others might benefit from this as well?:

Playwright gaining rapid adoption amongst QA Automation Engineers, it would be extremely helpful to expand its functionality when implementing with Microsoft Power Desktop, or any exporting results of Playwright reporter via MS Teams, or Outlook, as mentioned above.

Thank you all so much; many blessings to you all for making our lives so much easier!! <3
Issue 1:
I've noticed some odd behavior in Deno.compile().

The first time I compile a file it works more or less as expected. But if I change or delete the source file and call Deno.compile() a second time I get the same result as the first time. Apparently Deno is caching the source file.

I'd like to do a fresh compile every time. I'm purposely trying to push new changes out to web users. I'd rather not call an external process to compile the TypeScript inputs before serving the JavaScript output to web users. I guess I could, but I'd rather use the compiler API built into Deno.

The caching is done within the process. As soon as I restart my Deno process, the cache is clear. The next time I call Deno.compile() it will reread the source file. But only that next time.

Deno is caching the input files, not the results. So the compiler still takes a long time to run and it still produces a ton of warning messages.

These are all local files. Caching a local file will not save any resources.

Ideal solution: Deno.compile() would do no caching, or it would give me the option to explicitly clear the cache.

At a bare minimum, add a note to the documentation so the next person doesn't get stuck.

Thanks!

Issue 2:
Currently there is no way to internally cache bust with the compiler APIs, only if Deno is invoked with --reload will the compiler APIs cache bust.
Issue 1:
At the moment, libstd depends for example on libnative, which itself depends on libstd. So it is not possible to compile libnative without libstd. I am not sure how rust is able to compile libstd, but I think it requires an existing libstd to compile with.

My suggestion is to factor out more parts of libstd into their own crates with non-cyclic dependencies.

from_str: belongs to collections, because this is where string is defined?

path: this can be made it's own crate libpath, if we also extract some of the common macros (see below) into their own crate.

os: this can be made it's own crate, if we somehow factor out io::{IoResult, IoError} from libstd.

libio ?

After that, for example libnative would no longer depend on libstd. I haven't looked at other libraries, but I think it's possible too to de-cycle them.

What else would need to be done?

deriving(Clone) right now generates code with ::std::clone::Clone while it should be ::core::clone::Clone. I think this is useful in general also for other projects that solely depend on libcore. Other derivings might have to be changed to ::core as well.

format_args!: same here.

libstd/macros.rs: fail!, assert!, assert_eq!, debug_assert!, debug_assert_eq!, unreachable!, unimplemented!, format!, try!, vec!. They shouldn't live in libstd as they might be useful in other software that depend on libcore (plus fail functionality).

If this is something we want, I can come up with some patches. Clearly more discussion is needed IMHO.

Issue 2:
Original title: "Rewrite core::run"

As per a FIXME, // Spawn two entire schedulers to read both stdout and sterr // in parallel so we don't deadlock while blocking on one // or the other. FIXME: Surely there's a much more clever way // to do this.
Issue 1:
Challenge http://www.freecodecamp.com/challenges/waypoint-learn-how-script-tags-and-document-ready-work has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

Issue 2:
jQuery All Chapter don't show required task until you click on " Run Test "

I'll submit two screenshots one before clicking on Run Test One After Clicking on Run Test Button.

screenshot Before Clicking On " Run Test Button "

screenshot after clicking on " Run Test button"

Challenge http://freecodecamp.com/challenges/waypoint-delete-your-jquery-functions has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Issue 1:
System information (version)

OpenCV => latest

Detailed description

See the code

opencv/modules/core/include/opencv2/core/check.hpp

Lines 137 to 153
in
fa66c6b

#ifndef NDEBUG

#define CV_DbgCheck(v, test_expr, msg) CV__CHECK_CUSTOM_TEST(_, auto, v, (test_expr), #v, #test_expr, msg)

#define CV_DbgCheckEQ(v1, v2, msg) CV__CHECK(_, EQ, auto, v1, v2, #v1, #v2, msg)

#define CV_DbgCheckNE(v1, v2, msg) CV__CHECK(_, NE, auto, v1, v2, #v1, #v2, msg)

#define CV_DbgCheckLE(v1, v2, msg) CV__CHECK(_, LE, auto, v1, v2, #v1, #v2, msg)

#define CV_DbgCheckLT(v1, v2, msg) CV__CHECK(_, LT, auto, v1, v2, #v1, #v2, msg)

#define CV_DbgCheckGE(v1, v2, msg) CV__CHECK(_, GE, auto, v1, v2, #v1, #v2, msg)

#define CV_DbgCheckGT(v1, v2, msg) CV__CHECK(_, GT, auto, v1, v2, #v1, #v2, msg)

#else

#define CV_DbgCheck(v, test_expr, msg) do { } while (0)

#define CV_DbgCheckEQ(v1, v2, msg) do { } while (0)

#define CV_DbgCheckNE(v1, v2, msg) do { } while (0)

#define CV_DbgCheckLE(v1, v2, msg) do { } while (0)

#define CV_DbgCheckLT(v1, v2, msg) do { } while (0)

#define CV_DbgCheckGE(v1, v2, msg) do { } while (0)

#define CV_DbgCheckGT(v1, v2, msg) do { } while (0)

#endif

The following macros

CV_DbgCheckTypeEQ
CV_DbgCheckDepthEQ
CV_DbgCheckChannelsEQ
CV_DbgCheckType
CV_DbgCheckDepth

are missing.

Steps to reproduce

Issue 2:
pipeline.zip

I trained an object detection example model of pets by tensorflow (ubuntu 16.04 python 3.5 tensorflow 1.11.0).

I am trying to convert is to opencv.

I get the error

Scales: [0.25, 0.5, 1.0, 2.0]

Aspect ratios: [0.5, 1.0, 2.0]

Width stride: 16.000000

Height stride: 16.000000

Features stride: 16.000000

2018-10-31 12:34:02.608202: I tensorflow/tools/graph_transforms/transform_graph.cc:318] Applying sort_by_execution_order

Traceback (most recent call last):

File "D:\TFS\LPR\IP\MAIN\SRC\PythonProjects\TensorFlow\UseModelZoo\tf_text_graph_faster_rcnn.py", line 228, in

createFasterRCNNGraph(args.input, args.config, args.output)

File "D:\TFS\LPR\IP\MAIN\SRC\PythonProjects\TensorFlow\UseModelZoo\tf_text_graph_faster_rcnn.py", line 56, in createFasterRCNNGraph

assert(graph_def.node[0].op == 'Placeholder')

AssertionError

faster_rcnn_resnet50_pets_shay.zip
Issue 1:
Environment

Windows build number: Version 10.0.18362.356

Steps to reproduce

Open a WSL shell in conhost and execute the following command:

printf "\ec\e[1;15r\e[3g\e[1;20H\eH\e[?25l\e[9;20H\e[?1049hstart\r\e[99Bmargin\e[H\ttab\n"

This initialises a number of terminal properties.

The scrolling margins are set to 1:15 (DECSTBM).

The tabstops are cleared and then a single tabstop is set at column 20 (TBC/HTS).

The cursor blinking is disabled (DECTCEM).

The cursor position is set to line 9 column 20 (CUP).

It then switches to the alternate screen buffer (private mode 1049) and "tests" the state.

The text "start" is output to indicate the starting position.

The cursor is moved down 99 lines (CUD), and the text "margin" is output to indicate the bottom margin position.

The cursor is moved to the home position (CUP) and a tab is output, followed by the text "tab" to indicate the position of the tab stop.

Expected behavior

I would expect all of the initial state to be inherited by the alt buffer, producing the following results:

The "start" text should be on line 9, column 20, i.e. the position before the switch to the alt buffer.

The "margin" text should be on line 15, the bottom margin.

The "tab" text should be in column 20, the position of the tab stop that was set.

The cursor should be invisible.

Here's what the output looks like in XTerm:

Actual behavior

When switching to the alt buffer in conhost, we reset all those properties, producing the following results:

The "start" text is in the top left corner.

The "margin" text is at the bottom of the screen.

The "tab" text is in column 9.

The cursor is visible.

Here's what our output looks like:

The reason for this behaviour is because these properties are part of the SCREEN_INFORMATION class, and the alternate buffer is implemented as a separate instance of that class, when it should really be sharing much of that state with the main buffer.

The scroll margins are a little more complicated, since those properties are also duplicated in the AdaptDispatch class. And this can result in some weirdness when switching to the alt buffer since the two sets of values can end up out of sync.

Issue 2:
Environment

Microsoft Windows [Version 10.0.18362.295]
Any other software? No

Steps to reproduce

Install the application from Windows Store (or from binaries released on this repo) and launch it, it results in the following error:

Builds made on my machine launches just fine, so I don't know how I can get more info to debug this issue (they crash after using it for a while, but I don't think this is related to the same bug).

Expected behavior

The application installed from the store should launch just like the ones built on my machine.

Actual behavior

It crashes, with the error File system error (12029).
Issue 1:
A user of my package BinningAnalysis.jl approached me yesterday with the following peace of code.

using BinningAnalysis
mutable struct MyStruct
x::LogBinner{Float64,32}
end
function run!(s::MyStruct)
push!(s.x, rand())
end
s = MyStruct(LogBinner(Float64))
run!(s)

His observation (which I can reproduce on both Julia 1.5 and 1.6) was that run!(s) takes forever / hangs indefinitely. To investigate the issue I tried @code_warntype run!(s) which also hung indefinitely. Just by inspection, I realised that the underlying issue is that a third type parameter has recently been added to the type LogBinner. Just by upgrading BinningAnalysis, the type of the field x has subtly changed from concrete to abstract. If I adjust the field's type appropriately, everything is fast again.

Reasons for filing this issue:

While it is understood that using abstract types for fields is a performance gotcha, Julia shouldn't hang indefinitely here.

The fact, that LogBinner{Float64,32} is abstract is very subtle / hard to realise for the user. Perhaps we should force users to specify all type parameters?

Issue 2:
Hi guys!

I'm packing latest git version of Julia and today I noticed the following warning:

julia-unstable-debug.x86_64: W: no-soname /usr/lib64/libjulia-debug.so.0.5.0

Indeed, using objdump I can see that there is no SONAME in the -debug library:

# objdump -x libjulia-debug.so.0.5.0 |grep SONAME
#

Notice that everything is fine with libjulia.so.0.5.0:

# objdump -x libjulia.so.0.5.0 |grep SONAME
SONAME libjulia.so.0.5
#

Is there anyway to fix this problem?
Issue 1:
Waypoint: Passing Values to Functions with Arguments

I get a RangeError with this code:

// Example
function ourFunction(a, b) {
console.log(a - b);
}
ourFunction(10, 5); // Outputs 5

// Only change code below this line.
function myFunction(a, b){
console.log(a + b);
}
myFunction(1, 2);

Issue 2:
Challenge Waypoint: Passing Values to Functions with Arguments has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.

Running tests outputs RangeError: Maximum call stack size exceeded and no tests pass.

My code:

// Example
function ourFunction(a, b) {
console.log(a - b);
}
ourFunction(10, 5); // Outputs 5

// Only change code below this line.

function myFunction(c, d){
console.log(c + d);
}
myFunction(2, 3);
Issue 1:
Environment

Windows build number: [Version 10.0.19041.329] 2004
PowerToys version: v0.19.0
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run

Steps to reproduce

Open PowerToys Setting.

Press Alt+Space

Expected behavior

PowerToys Run starts.

Actual behavior

The active window (PowerToys Settings) context dialog appears (The same behaviour as right clicking title bar).

Screenshots

Issue 2:
Environment

Windows build number: [Version 10.0.18362.836]
PowerToys version: v0.18.1
PowerToys: PowerToys Run

Steps to reproduce

With PowerToys installed and running, press Alt + Space from any screen.

Expected behavior

PowerToys Run popup shows up to start typing a command or a search term

Actual behavior

window menu (Restore / Move / Size / Minimize / Maximize / Close) shows up in the top left corner of the focused window if the focus is on a window or nothing at all if the focus is on the desktop.

Screenshots
Issue 1:
Maybe I am missing something, but is this correct?

np.issubdtype(np.double, np.bool) => True

At the very least, this is confusing.

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/1739 on 2011-02-10 by @pv, assigned to unknown.

Interestingly,

>>> np.issubdtype(int, np.bool_)
False
>>> np.issubdtype(str, bool)
True

The issubdtype routine apparently does not work correctly for this case (and never has). What it does is

if issubclass_(arg2, generic):
return issubclass(dtype(arg1).type, arg2)
mro = dtype(arg2).type.mro()
if len(mro) > 1:
val = mro[1]
else:
val = mro[0]
return issubclass(dtype(arg1).type, val)

Using mro[1] makes e.g. the Python int type behave as the more general signedinteger.

For bool, it's directly generic, which results into strangeness.

It might be better to hardcode the special handling of Python types, than just picking mro[1]...