WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
After setting syntax or file encoding from the menus in the status bar, the cursor focus stays in the status bar, and to move focus back to the file with keyboard only, you need to press Tab key twice (after setting syntax) or thrice (after setting encoding). Imho it would be better to move the cursor focus to its last position in the file window.

Even though the focus is retained (coloured outline) after completing syntax/encoding change, there is no way to bring up these menus with Enter key (or other key combinations that I've tried).

If you decide to move cursor focus to file, the status bar menu outline should be removed.

If you decide to keep the focus in the status bar, the focus appearance could be improved in appearance. Currently it doesn't look bad, but it could at least use some padding on the sides of the focused item.

Lastly, setting syntax/encoding should be available from the Command Palette. Perhaps the same way as in Sublime Text (showing all entries prefixed appropriately) or just a way to trigger the selection menus as they exist now.

(Atom 1.0 on OSX 10.10)

Issue 2:
Not quite sure if this counts as a bug or enhancement, but I've noticed that clicking on any links in the status bar focuses them, when it should keep focus on whatever was focused before clicking on them. However, the correct element is focused if you dismiss the modal by clicking away from it.

Atom 0.206.0
Issue 1:
Apache Airflow version:

Kubernetes version (if you are using kubernetes) (use kubectl version): 1.18+

Environment:

Cloud provider or hardware configuration: GCP

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

Kernel (e.g. uname -a):

Install tools:

Others:

What happened:

Tried to trigger a dag with config but got an error saying "Invalid JSON configuration, must be a dict"

This worked in 2.1.0

What you expected to happen:

How to reproduce it:

Running airflow 2.1.1 try trigger a dag with config

Anything else we need to know:

How often does this problem occur? Once? Every time etc?

Always

Any relevant logs to include? Put them here in side a detail tag:

webserver_logs

```
10.60.7.19 - - [09/Jul/2021:10:00:46 +0000] "POST /trigger?dag_id={dag_id}&origin=%2Ftree%3Fdag_id%3D{dag_id}HTTP/1.1" 200 19096 "https://{airflow-domain}/trigger?dag_id={dag_id}&origin=%2Ftree%3Fdag_id%3D{dag_id}" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
10.60.7.19 - - [09/Jul/2021:10:00:46 +0000] "GET /static/dist/lint.css HTTP/1.1" 304 0 "https://{airflow-domain}/trigger?dag_id={dag_id}&origin=%2Ftree%3Fdag_id%3D{dag_id}" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
10.60.7.19 - - [09/Jul/2021:10:00:46 +0000] "GET /static/dist/codemirror.css HTTP/1.1" 304 0 "https://{airflow-domain}/trigger?dag_id={dag_id}&origin=%2Ftree%3Fdag_id%3D{dag_id}" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
```

Issue 2:
Apache Airflow version: 2.1.1

Kubernetes version (if you are using kubernetes) (use kubectl version): NO

Environment: local (docker + ubuntu)

Cloud provider or hardware configuration:

OS (e.g. from /etc/os-release): Debian GNU/Linux 10 (buster)

Kernel (e.g. uname -a): linux

What happened:

airflow is not accepting configuration from Admin UI

when I submit a DAG configuration from UI, it is giving me error Invalid JSON configuration, must be a dict

the same workflow is working in airflow 2.1.0 version

I think this issue occurred in this PR #15057

What you expected to happen:

Airflow admin should accept the conf from UI and trigger the dag

How to reproduce it:

It can be reproduced for all cases, we have to put any valid JSON into the configuration window on a DAG

Willing to submit PR

YES
Issue 1:
Challenge Waypoint: Manipulate Arrays With shift has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36.

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

My code:

var ourArray = ["Stimpson", "J", ["cat"]];

removedFromOurArray = ourArray.shift(); // removedFromOurArray now equals "Stimpson" and ourArray now equals ["J", ["cat"]].

var myArray = ["John", 23, ["dog", 3]];

// Only change code below this line.

var removedFromMyArray;

// Only change code above this line.

(function(y, z){return 'myArray = ' + JSON.stringify(y) + ' & removedFromMyArray = ' + JSON.stringify(z);})(myArray, removedFromMyArray);

As you can see the removedFromOurArray variable was used but not declared , if the user doesn't realise that then he won't be able to move forward and it might discourage him.

Issue 2:
Challenge Waypoint: Manipulate Arrays With shift has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36.

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

My code:

var ourArray = ["Stimpson", "J", ["cat"]];

removedFromOurArray = ourArray.shift(); // removedFromOurArray now equals "Stimpson" and ourArray now equals ["J", ["cat"]].

var myArray = ["John", 23, ["dog", 3]];

// Only change code below this line.

var removedFromMyArray = myArray.shift();

// Only change code above this line.

(function(y, z){return 'myArray = ' + JSON.stringify(y) + ' & removedFromMyArray = ' + JSON.stringify(z);})(myArray, removedFromMyArray);
Issue 1:
Description

[test_deprecated_attribute_spiders is flaky it fails randomly in different environments.

see https://travis-ci.org/scrapy/scrapy/jobs/590415988 ]

Steps to Reproduce

[just run the test in travis ci environment build]

[re trigger the build and you can see the test being flaky]

Expected behavior: [the test should pass reliably ]

Actual behavior: [test is flaky]

Reproduces how often: [for me it happened twice in 3 times but I don't have a concrete number. I see it happening in other pulls as well]

Versions

1.7.0

Issue 2:
Every now and then the Travis build fails on tests.test_crawler.CrawlerRunnerTestCase.test_deprecated_attribute_spiders, I'm not sure why.

Some examples:

https://travis-ci.org/scrapy/scrapy/jobs/582184413#L407

https://travis-ci.org/scrapy/scrapy/jobs/580207692#L419

https://travis-ci.org/scrapy/scrapy/jobs/584701732#L415

https://travis-ci.org/scrapy/scrapy/jobs/584762868#L418

PS: Sorry, I feel bad for ignoring the bug report template, but I felt like it didn't apply in this case.
Issue 1:
I think many would greatly appreciate if you added SASS/Compass support for Bootstrap. The use of Less is holding us back to use your otherwise very great framework :(

Oh and drag&drop support via jquery would be awesome too :D

Issue 2:
I'm using the Bootstrap v3.0.3.

<div class="form-group">
<label class="sr-only" for="searchZipcode">Zipcode</label>
<input type="text" class="form-control input-lg input-search" id="searchZipcode" placeholder="Zipcode of home?">
</div>

My expectation is that when the viewport shrinks that the input form field would take on the default settings, but that is not the case. The only way I have been able to solve this issue is by writing my own media query, but I dont know the default input form field settings. Is there a better way to handle? Does Bootstrap handle this scenario?
Issue 1:
I am using Glide in my app to display the images (like photo app), when i do the lazy loading of images from server my app is getting crash.

Pls find the crash log

E/StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. java.lang.Throwable: Explicit termination method 'close' not called at dalvik.system.CloseGuard.open(CloseGuard.java:180) at java.net.AbstractPlainSocketImpl.create(AbstractPlainSocketImpl.java:103) at java.net.Socket.createImpl(Socket.java:451) at java.net.Socket.getImpl(Socket.java:517) at java.net.Socket.setSoTimeout(Socket.java:1108) at com.android.okhttp.Connection.connectSocket(Connection.java:195) at com.android.okhttp.Connection.connect(Connection.java:172) at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:367) at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126) at com.bumptech.glide.load.data.HttpUrlFetcher.loadDataWithRedirects(HttpUrlFetcher.java:101) at com.bumptech.glide.load.data.HttpUrlFetcher.loadData(HttpUrlFetcher.java:53) at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.loadData(MultiModelLoader.java:95) at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61) at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282) at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:252) at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:222) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:347)

Issue 2:
Glide Version 4.9.0 does not support AndrdoidX?，Only version 4.8 supports Androidx? Why does version 4.8 support version 4.9 not support Android X?
Issue 1:
I am trying to do least squares with a rank deficient matrix using the / operator. It works in the general case, but fails when applied on a square symmetric matrix with duplicate rows (and columns).

> n, p = 99, 8;
> y = randn(n);
> X = randn(n, p);
> X[:, 1] = 1;

# Rank deficient. X[:, 1] = X[:, 2] + X[:, 3]
> X[:, 3] = 1 - X[:, 2];
> (X\y)'
1x8 Array{Float64,2}:
-0.0643163 -0.123173 0.0588565 0.0812868 -0.0363878 -0.0676099 -0.0715549 0.0175931
> ((X'*X)\(X'*y))'
1x8 Array{Float64,2}:
-0.124538 -0.0629509 0.119078 0.0812868 -0.0363878 -0.0676099 -0.0715549 0.0175931

# Duplicate column. X[:, 1] = X[:, 3] = 1
> X[:, 3] = 1;
> (X\y)'
1x8 Array{Float64,2}:
-0.00272991 -0.182029 -0.00272991 0.0812868 -0.0363878 -0.0676099 -0.0715549 0.0175931
> (X'*X)\(X'*y)
ERROR: Base.LinAlg.SingularException(8)
in \ at linalg/factorization.jl:25
in \ at linalg/dense.jl:448

Issue 2:
I propose adding methods for all and any to allow for convenient testing of nary predicates. The behavior would be equivalent to that given by

myall(f,itrs...) = all(map(args->f(args...),zip(itrs...)))

but with an efficient implementation along the lines of the current all(f,itr) method (same thing for any). This additional signature is directly analogous to the extant generalization for map methods and allows for things like

julia> xs,Xs = 1:3,[Set([1,2]),Set([2,5]),Set([3])]
julia> myall(in,xs,Xs)
true

which saves one from having to zip and splat for nary functions.
Issue 1:
I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request

Current behavior

When a <select> is bound with [ngModel]) the binding is not refreshed when the options are reloaded as can happen when the options are loaded from the server asynchronously.

In the repro provided below, given this HTML template,

State:
<select [(ngModel)]="address.state">
<option *ngFor="let state of states">{{state}}</option>
</select>

the state selection for the address "Chicaco, Illinois" is shown as "California" rather than "Illinois"

Expected behavior

Should be "Illinois" as shown in the workaround

Minimal reproduction of the problem with instructions

https://plnkr.co/edit/NnnXJWz1oJuSgJLFtZWw?p=preview

Please tell us about your environment:

Windows, Chrome

Angular version: 2.3.0

Language: [all]

Issue 2:
The two-way data binding was already broken before in Firefox in the sense that user input did not modify the model (#8215). This was fixed.

However in the recent version there is now the problem that the initial model value (which is assigned to a Control in its constructor) is not applied to the view and instead the view initially displays the first possible select option. The bug occurs in Firefox as well as Chrome. Maybe the fix for #8215 introduced this new other bug.

Reproducer: http://plnkr.co/edit/EGBoO2xRDJXByZykgiHF?p=info

You can see that bCtrl initially displays the value AA although CC is stored in the model.
Issue 1:
While packaging Julia 0.4.1 for Debian, we experienced a build failure on x86 caused by a timeout.

I performed a series of test builds in a Debian unstable i386 chroot, building the latest release-0.4 using various LLVM versions from 3.3 to 3.7. Please inspect the complete build and test suite logs with

git clone https://gist.github.com/d9f0ddab9658f57c762e julia-llvm-linux-x86-tests

These are the run-times of the test suite obtained with time:

arch
julia
llvm
elapsed

x86
eb31eef
3.3
5:59.55

x86
eb31eef
3.4
segfault

x86
eb31eef
3.5
segfault

x86
eb31eef
3.6
segfault

x86
eb31eef
3.7
1:04:29

On x86 the Julia test suite is an order of magnitude slower using LLVM 3.7, compared to LLVM 3.3.

(Using LLVM 3.4, 3.5, or 3.6 the test suite aborts with a segmentation fault.)

For comparison I performed the same series of test builds in a Debian unstable amd64 chroot on the same machine. The test suite takes longer with LLVM versions > 3.3, but the increase is still tolerable:

arch
julia
llvm
elapsed

x86_64
eb31eef
3.3
5:22.86

x86_64
eb31eef
3.4
8:41.82

x86_64
eb31eef
3.5
10:01.84

x86_64
eb31eef
3.6
10:11.50

x86_64
eb31eef
3.7
9:56.67

Unfortunately I cannot provide more detail regarding the x86 performance regression, but it appears to affect all tests across the board. This issue is blocking Julia 0.4 from entering Debian. The Julia version currently in Debian unstable, 0.3.12, does not exhibit this issue when using LLVM ≥ 3.4.

I wish I had better news to report so shortly before the 0.4.2 release (#14186).

Issue 2:
this is an umbrella issue for tracking known issues with switching to LLVM35 as default. please edit this post or add a comment below. close when someone edits deps/Versions.make to 3.6.0 3.7.0

current known issues:

requires editing deps/Versions.make - #14623

#7910 (upstream patch committed to 3.7 -- only an issue on Mac)

figure out performance regression (perhaps only run passes once (requires writing a TargetMachine wrapper and overloading addPassesToEmitMC) (requires changes to LLVM to expose passes))

requires leaving behind LLVM33

would eliminate content from the "fixed in LLVM 3.5" issue label

#8137

#8999

#9280

#9339 (LLVM36-only issue)

#9967 (fixed in LLVM36)

#10377

#10394

#11085 linalg/arnoldi test on win64

#11083

#10806 (afaict, this is a non-fatal issue in valgrind. jwn)

#11003

#13106 (this issue is a non-fatal performance regression. jwn)

re-disable FPO

related:

#7779 coverage flags are broken with LLVM 3.5 on master

@Keno
Issue 1:
@birkskyum: About duplicate content. I think the Accounts module nested in meteor/accounts-base is necessary, in order to match the javascript, but can the global Accounts module be removed?

@fullflavedave: It would be great to remove all the duplication. This was created when Meteor added support for ES2015 modules (the global modules were the original). Does Meteor 1.4 still support global modules (e.g. for super quick prototyping)? If so, then the global module definitions probably need to be there for backwards compatibility. However, it would be great if the global Accounts module and the one nested in meteor/accounts-base referenced one set of definitions (and all other modules too). My TypeScript skills are a little out-dated, and I haven't fooled around to see if it's possible -- want to give it a try @birkskyum? Let's add a separate issue and continue discussion there.

@birkskyum: Sure, I'll have a look at it.

Issue 2:
The convert function that should be available on each lodash/fp exported member is not typed correctly for mapValues (the only one I checked but probably others too)

I should be able to do the following:

import { mapValues } from 'lodash/fp'

const mapValuesUncapped = mapValues.convert({ cap: false })
// I get the error => `[ts] Property 'convert' does not exist on type 'LodashMapValues'.`

I tried using the @types/xxxx package and had problems.

I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript

I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).

Mention the authors (see Definitions by: in index.d.ts) so they can respond.

Authors: @bczengel @chrootsu @stepancar @aj-r @Ailrun @e-cloud @thorn0 @jtmthf @DomiR
Issue 1:
Referencing this post on stackoverflow.

There may be situations when we write huge databases of images into a TFRecord (or at least a few TFRecords). It would be good if there's an option to check every write to prevent such cases of corrupted data happening during training.

@allenlavoie

Issue 2:
Hi,

Have I written custom code: NO

OS Platform and Distribution: Ubuntu 18.0.4 LTS

TensorFlow installed from: Github 1.9 release branch

TensorFlow version: 1.9

Bazel version: 0.16.0

CUDA/cuDNN version: 9.1 / 7.0

GPU model and memory: GTX 1070 Ti, 8 Go

Exact command to reproduce: see below

I'm working on a FCN (Fully Convolutional Network https://people.eecs.berkeley.edu/~jonlong/long_shelhamer_fcn.pdf) and wanted to make it work on mobile. The advantage of this type of network is that we can use any dimensions as input, the network still work. (for example, an image 512x512 or 512x384 or 612x358...)

TfLite allow us to convert a freezed graph (.pb) to Tflite format (.tflite), but we need to put a fixed size for "input_shape".

bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=frozen.pb --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE --output_file=/tmp/test.tflite --inference_input_type=FLOAT --input_arrays=input_image --output_arrays=output_image --input_shapes="1,384,512,3"

And this what I would like:

bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=frozen.pb --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE --output_file=/tmp/test.tflite --inference_input_type=FLOAT --input_arrays=input_image --output_arrays=output_image --input_shapes="1,None,None,3"

I'm wondering if anyone is working on this feature, because I think it can be very useful for a lot of people.

Thank you for your time, and sorry if I duplicate any thread, I didn't find this feature request.
Issue 1:
[Enter steps to reproduce below:]

1.Put some music and devellopers file on a folder

2. Open the folder with atom

3. clic on a music and it will crash atom because atom try to read it.

Atom Version: 0.170.0

System: Unknown Windows Version

Thrown From: Atom Core

Stack Trace

Uncaught Error: Atom can only handle files < 2MB for now.

At c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:360

Error: Atom can only handle files < 2MB for now.
at Project.module.exports.Project.buildBuffer (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:360:15)
at Project.module.exports.Project.bufferForPath (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:337:63)
at Project.module.exports.Project.open (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:291:19)
at Workspace.module.exports.Workspace.openUriInPane (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\workspace.js:487:29)
at Workspace.module.exports.Workspace.open (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\workspace.js:414:19)
at Ipc.<anonymous> (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\window-event-handler.js:45:32)
at Ipc.emit (events.js:110:17)
at process.<anonymous> (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\atom\renderer\api\lib\ipc.js:22:29)
at process.emit (events.js:118:17)

Commands

Config

{
"core": {
"themes": [
"atom-dark-ui",
"base16-tomorrow-dark-theme"
]
},
"editor": {
"invisibles": {}
}
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Issue 2:
So, I use my text editor for all kinds of things (writing code, reading readmes, editing dotfiles, etc). One of the things I do most often during any given day is open up large log files to troubleshoot Enterprise problems. These files can sometimes get as large as 500-800MB.

I just tried viewing a 350MB log file and Atom locked up immediately -- the file selector didn't change and the entire window went completely white 4 seconds after I tried viewing the file. I could still close the top level window, but we should still have better handling for this kind of thing.

Sublime Text 2 took about 55 seconds to open the file, but gave a nice progress indicator while it was loading:

Once it loaded it was as responsive as any other file I load (scrolled fast, normal text highlight performance, etc). It would be nice if we set this as a baseline for expected behavior (progress bar + responsive after loading).
Issue 1:
It's so easy to accidentally drag a folder to another and not even know it, i've done it several times but each time i've been lucky to catch it. On a huge project this could be a nightmare. Please alert the user or at least create a preference that allows us to set an alert.

Thanks!

Issue 2:
I am on windows 7, latest vscode, behind a corporate proxy, but have specified in in settings. I get a list of all extensions, but when I try and install for example magicpython I get the following error:

getaddrinfo ENOTFOUND marketplace.visualstudio.com marketplace.visualstudio.com:443

Any ideas?
Issue 1:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.239]
Windows Terminal version (if applicable): 0.3

Steps to reproduce

Make sure at least two lines exists in the terminal window (eg. by typing in a command)

Use CTRL+mouse scroll wheel to zoom either in or out

Expected behavior

The buffer is not modified and the second line stays in place.

Actual behavior

100% zoom

This is expected behaviour

Powershell

WSL 1

1x zoomed in

The second line is indented

Powershell

WSL 1

1x zoomed out

The second line is indented the other way, causing the data to return to the first line.

Powershell

WSL 1

Issue 2:
Environment

Windows build number: 10.0.18362.175
Windows Terminal version (if applicable): 0.2.1715.0

Steps to reproduce

Wheel-click a tab within Windows Terminal.

Expected behavior

Close the tab or whatever the intending behaviour is by design.

Actual behavior

Application becomes unresponsive for a matter of seconds and forcibly terminates.
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When I'm using some dynamic component with SSR: false that is crashing I expect it to see the error somehow.

Current Behavior

Аpp is just stuck in "loading..." page state: no page error, no console output, no term output.

Steps to Reproduce (for bugs)

// pages/index.js
import dynamic from 'next/dynamic'
const TestLoader = dynamic(import('../components/Test'), { ssr: false})
export default () => <TestLoader />
// components/Test.js
throw new Error('test')
export default () => <div>hello</div>

Context

Some 3rd-party libs are validating the initial options by throwing an error (e.g. Auth0); it makes nearly impossible to debug them

Your Environment

Tech
Version

next
3.2.1

node
8.4.0

OS
Mac 10.12

browser
Chrome

Issue 2:
i had a call to an undefined function inside of componentDidMount. it errors Cannot read property 'Component' of undefined instead of notify that the function is undefined

also a manual throw an error inside componentDidMount shows Cannot read property 'Component' of undefined