WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
There is discussion around "lockfiles" and sub-resource integrity (see: #200).

There are also other "external" data that might be needed to describe a workload in Deno, like what the main module is, a custom TypeScript configuration, permissions and other command line options, import-maps, etc. While Deno should always just work without a meta data file, there are lots of use cases where external meta data is necessary or desired.

Providing a single file way of describing that meta data would be a desirable feature.

I propose the following:

Deno supports a single file meta-data schema that fully describes a workload.

That the format of this file would be .json

That when a command resolves an argument to a .json file, it assumes that it adheres to the meta-data schema, meaning that deno run app.json would read the meta data file and utilise that to determine how to cache and execute the app. This would also mean something like deno run https://example.com/app.json would also just work.

As this proposal evolves, the definition of the schema would be detailed, but would include all the functional areas mentioned above. Specifically for the "lockfile" mechanism, if an application is loaded and the .json file is writable (local) and there is no cache of the hashes of the modules, then Deno will write out the hashes of all dependent modules to the file. Upon subsequent invocations where the cache of the hashes is present, Deno will validate that all modules loaded match that cache, and if they don't they will throw and the workload would terminate.

Support a command like deno write main.ts app.json would scaffold out the meta data file, but not run the workload. Any arguments passed on the CLI could be automatically written to the file as well.

Issue 2:
I just ran ./tools/format.py when submitting a PR and it picked up a trivial formatting change:

diff --git a/js/mkdir_test.ts b/js/mkdir_test.ts
index 4f82401..27da93c 100644
--- a/js/mkdir_test.ts
+++ b/js/mkdir_test.ts
@@ -13,7 +13,8 @@ testPerm({ write: true }, function mkdirSyncMode() {
const path = deno.makeTempDirSync() + "/dir/subdir";
deno.mkdirSync(path, 0o755); // no perm for x
const pathInfo = deno.statSync(path);
- if (pathInfo.mode !== null) { // Skip windows
+ if (pathInfo.mode !== null) {
+ // Skip windows
assertEqual(pathInfo.mode & 0o777, 0o755);
}
});

It feels like this things should fail the CI. I am not sure why they don't.
Issue 1:
by mux2005:

What steps will reproduce the problem?

Run the attached program.

What is the expected output?

Something like this

40836728
53903472
79921352
105976016
105976016
<last number repeated>

What do you see instead?

The memory usage keeps increasing till the program dies with out of memory.

Which compiler are you using (5g, 6g, 8g, gccgo)?

8g

Which operating system are you using?

Ubuntu 10.04 32bit

Which version are you using? (run 'go version')

go version go1.0.2 +2d8bc3c94ecb
(from http://ppa.launchpad.net/gophers/go/ubuntu/)
Judged by the hg revision this seems to be go 1.0.3 even though the version string still
says 1.0.2.

Please provide any additional information below.

1. The problem depends on the size of fragment_size in the example program. Up to a
certain size everything is fine, the memory usage stabilizes. But once it exceeds the
safe number there is unlimited growth.

2. I came upon this problem while examining why our server application keeps crashing
with out of memory. In that application the problem occurs when the String() function on
large (about 20MB) bytes.Buffer objects is called repeatedly. Either the strings or the
buffers or both never get freed even after references to both have been dropped.

3. The problem does not occur with golang-tip from the gophers PPA, but I don't know if
this is because of an actual fix in the GC or because the optimizer optimizes away some
of the useless code. I cannot test golang-tip with our actual server application because
golang-tip is still too buggy (The application compiles but doesn't pass the regression
test suite).

Attachments:

testgarbage.go (731 bytes)

Issue 2:
What steps will reproduce the problem?
1. Checkout the latest version of the Go repository and build on Windows 7 X64 for
AMD64. Build using MINGW x64 GCC version 4.7.0 20120113.
2. Checkout the latest version of mgodbc from https://bitbucket.org/miquella/mgodbc and
build. I had to make two minor modifications to change from SQLPOINTER TO SQLLEN to get
it to compile. The file I used is attached.
3. Compile the file hello.go.
4. Run GDB hello
5. Set a breakpoint on fmt.Println
6. Run the program and it will crash.

What is the expected output?
The debugger will stop at fmt.Println

What do you see instead?
The debugger crashes and exists.

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
Windowx 7 X64

Which revision are you using? (hg identify)
43cf9b39b647 weekly/weekly.2012-02-14

Please provide any additional information below.
Files are attached. If I run the program without debugging, it executes successfully.
The SQL Server database version is 2008.

Attachments:

hello.go (867 bytes)

mgodbc.go (19376 bytes)
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 I execute ng-xi18n, I get the following:

TypeError: Cannot read property 'kind' of undefined

at maybeGetSimpleFunction (C:\SL\src\Clientnode_modules@angular\tsc-wrapped\src\collector.js:34:41)

at C:\SL\src\Clientnode_modules@angular\tsc-wrapped\src\collector.js:242:41

at visitEachNode (C:\SL\src\Clientnode_modules\typescript\lib\typescript.js:8247:30)

at Object.forEachChild (C:\SL\src\Clientnode_modules\typescript\lib\typescript.js:8407:24)

at MetadataCollector.getMetadata (C:\SL\src\Clientnode_modules@angular\tsc-wrapped\src\collector.js:204:12)

at ReflectorHost.getMetadataFor (C:\SL\src\Clientnode_modules@angular\compiler-cli\src\reflector_host.js:224:43)

at StaticReflector.getModuleMetadata (C:\SL\src\Clientnode_modules@angular\compiler-cli\src\static_reflector.js:484:40)

at Extractor.readFileMetadata (C:\SL\src\Clientnode_modules@angular\compiler-cli\src\extract_i18n.js:50:51)

at C:\SL\src\Clientnode_modules@angular\compiler-cli\src\extract_i18n.js:87:74

at Array.map (native)

Extraction failed

Expected behavior

At least a better error message, or an actual xlif output.

Reproduction of the problem

I do not have a simple repro. At least understanding what the problem could be would help.

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

Please tell us about your environment:

Windows.

Angular version: 2.0.0

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

n/a

Language: [all | TypeScript X.X | ES6/7 | ES5]

n/a

Node (for AoT issues): node --version =

n/a

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

[x] bug report => search github for a similar issue or PR before submitting

Current behavior

The project https://github.com/beginor/learning-angular2 produces an error message "Cannot read property 'type' of 'null'".

From a Stack Overflow question:

http://stackoverflow.com/questions/39190493/get-cannot-read-property-type-of-null-using-angular2-aot-ngc-compiler-with-r

Expected behavior

The compiler should report a message detailing the unsupported feature or produce a working program.

Reproduction of the problem

Execute ngc on the project in https://github.com/beginor/learning-angular2
Issue 1:
Hypothesis recently added support for generating pandas objects: http://hypothesis.readthedocs.io/en/latest/numpy.html#pandas

This could be useful for testing some of the higher-level methods like melt, merge, etc.

Are there any objections to adding some hypothesis-based tests to our test suite? Is anyone familiar with hypothesis and interested in putting together examples of how we could use it?

Issue 2:
Code Snippet

df = pd.DataFrame({"id":[1,2,3,4,5,6], "raw_grade":['a', 'b', 'b', 'a', 'a', 'e']})
df['grade'] = pd.Categorical(df['raw_grade'])
for t in df.itertuples(index=False):
print(t)

Error

---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-45-182b29164b1a> in <module>()
1 df = pd.DataFrame({"id":[1,2,3,4,5,6], "raw_grade":['a', 'b', 'b', 'a', 'a', 'e']})
2 df['grade'] = pd.Categorical(df['raw_grade'])
----> 3 for t in df.itertuples(index=False):
4 print(t)

/home/has2k1/scm/pandas/pandas/core/frame.pyc in itertuples(self, index)
549 # use integer indexing because of possible duplicate column names
550 arrays.extend(self.iloc[:, k] for k in range(len(self.columns)))
--> 551 return zip(*arrays)
552
553 if compat.PY3: # pragma: no cover

TypeError: izip argument #3 must support iteration

This is on master at commit 24b309f.

Edit:

Version string - pandas: 0.14.1-78-g24b309f
Issue 1:
Challenge http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life has an issue.

Whenever i write $($) to begin the exercise, the browser crashes.

Im using Chrome 44.0.2403.155 an Windows 10.

When using Firefox 40.0, im not able to reproduce the bug.

Issue 2:
Challenge Name

All of them

Issue Description

When you first load the editor you can't type on some lines and when you do start typing it moves the cursor somewhere different. This only happens once for every time you load a page.

Browser Information

I am using the latest version of chrome

Browser Name, Version: Chrome

Operating System: Windows 8

Mobile, Desktop, or Tablet: Desktop

Your Code

Screenshot
Issue 1:
Challenge Create a Form Element has an issue.

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

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

My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

.smaller-image {
width: 100px;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src="https://bit.ly/fcc-relaxing-cat"></a>

<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<input type="text" placeholder="cat photo URL">
<form action="action="/submit-cat

Issue 2:
Update

Please use Firefox while we come up with a fix. Apologies for the inconvenience.

Challenge Add a Submit Button to a Form has an issue.

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

Description edited by @systimotic for clarification

There is a warning displayed in the phone frame. It says: "Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards)."

Code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

.smaller-image {
width: 100px;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src="https://bit.ly/fcc-relaxing-cat"></a>

<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit">

</form>
<form action="/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
Issue 1:
Describe the issue linked to the documentation

I thought of updating the decision map available in the documentation.

I found the initial vectorgraphic image here.

I mostly changed the clustering and regression parts. For the regression I used the work of Quinn Lanners.

What do you thing of my work ? I can make some changes.

Suggest a potential alternative/fix

Here an image of my work, I also have the vectorgraphic version which is dynamic : each method has its link linked.

Issue 2:
As we have deprecated the GMM and VBGMM classes we must modify the ml_map.png.

To modify it correctly, you know where I can find the original file (gimp file, ...) ?
Issue 1:
It's currently not possible to download any customized build, regardless of the options selected, the CSS files are always practically emtpy. The error.txt in the same folder has this content:

{"type": "Parse","message": "Syntax Error on line 792", "index": 25106, "filename": "bootstrap.css", "line": 792, "column": 11, "extract": [" *margin: -5px 0 5px;"," ove rflow: hidden;"," background-color: @top;"]}

Issue 2:
Is a use as below not intended or am I doing sth. wrong, I have already checked it many times? Obviously the class "in" is not removed from the other items when clicking on another one.

Here online: http://jsfiddle.net/h95sT/

<dl id="faq">
<dt data-parent="#faq" data-target="#answer-1" data-toggle="collapse">
Term 1</dt>

<dd class="collapse in" id="answer-1">description 1</dd>

<dt data-parent="#faq" data-target="#answer-2" data-toggle="collapse">
Term 2</dt>

<dd class="collapse" id="answer-2">description 2</dd>
</dl>
Issue 1:
The change, that let's FileLoader cache duplicate requests by default, introduced a problem, when aborting a request before it's loaded.

XMLHttpRequest.abort() does not tirgger 'load' or 'error' events but instead an 'abort' event.

Because that event is not handled, the request will be stuck in the FileLoaders 'loading' object, that is used to determine, if a file is already loading.

Demo jsfiddle

By adding a listener for 'abort' this could be prevented:

request.addEventListener( 'abort', function ( event ) {
... handle the same way an error would be handled
}, false );

I'm not sure, if handling it as an error is the way to go, because aborting has to be called on purpose, but this is how i do it for now.

Three.js version

r88+

Browser

All of them

OS

All of them

Issue 2:
for(let mesh of gltf.scene.children){

mesh.material.transparent = true;

mesh.material.opacity = 0.5;

}

invalid
Issue 1:
Challenge http://freecodecamp.com/challenges/waypoint-remove-an-element-using-jquery has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

This challenge is missing the specific target instructions of what to remove. I only found out what was meant to be removed after clicking the "Run Code" button and the detailed lesson check list came up.

Otherwise all is great. Thanks for setting this up!!

Issue 2:
Challenge http://www.freecodecamp.com/challenges/waypoint-build-objects-with-functional-classes has an issue. Please describe how to reproduce it, and include links to screen shots if possible.

This is essentially feedback. The Udacity videos selected for the Object Oriented Javascript section cover the material too quickly and too abstractly to be easily grasped by those--in my opinion--who do not already have a firm understanding of the material. The moderator sounds as if he is on speed, and the examples used are too abstract to be easily duplicatable by the viewer.

Speaking for myself, the positive side of the Udacity (appropriate expletive forsaken) is that I know what FCC wants me to cover. I can now buy the books and/or relevant courses from Udemy or Frontend Masters that cover the same material in a humane fashion.
Issue 1:
Robert Macaulay opened SPR-3009 and commented

Affects: 2.0.1

Attachments:

test.zip (1.80 kB)

Issue Links:

#7658 use of multiple BeanNameAutoProxyCreators broke when we upgraded from 1.2.8 to 2.0.1 ("duplicates")

Issue 2:
Lari Hotari opened SPR-3249 and commented

After upgrading from Spring 2.0.2 to Spring 2.0.3 I'm getting this error in the startup:

java.lang.NullPointerException

at java.lang.StringBuffer.<init>(StringBuffer.java:104)

at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.parseStringValue(PropertyPlaceholderConfigurer.java:270)

at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingBeanDefinitionVisitor.resolveStringValue(PropertyPlaceholderConfigurer.java:401)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:143)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:89)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:59)

at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:246)

at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:325)

We have a custom ApplicationContext implementation and are using custom namespace handlers. They might have something to do with the problem. Any ways there could be some protective code in org.springframework.beans.factory.config.BeanDefitionVisitor's resolveValue method.

These are the lines that could be changed:

141:	else if (value instanceof TypedStringValue) {

142:	TypedStringValue typedStringValue = (TypedStringValue) value;

143:	String visitdString = resolveStringValue(typedStringValue.getValue());

144:	typedStringValue.setValue(visitdString);

suggested change

else if (value instanceof TypedStringValue) {
TypedStringValue typedStringValue = (TypedStringValue) value;
if (typedStringValue.getValue() != null) {
String visitdString = resolveStringValue(typedStringValue.getValue());
typedStringValue.setValue(visitdString);
}

Affects: 2.0.3

Issue Links:

#7965 2.0.3 Regression PropertyPlaceholderConfigurer and = NPE ("is duplicated by")

#7980 Nullpointer in PropertyPlaceholderConfigurator ("is duplicated by")
Issue 1:
I am using TF 0.6.0 with python 2.7.10 on both ubuntu linux and osx 10.9.5. TF base functionality is working fine. The issue is logging - I want to suppress the following messages that are emitted whenever I construct the first tensorflow Session:

I tensorflow/core/common_runtime/local_device.cc:40] Local device intra op parallelism threads: 2

I tensorflow/core/common_runtime/direct_session.cc:58] Direct session inter op parallelism threads: 2

They do not appear to be transmitted through the normal python logging mechanism. Any ideas? Did I just miss something?

I don't want to turn off all log messages, I just want TF to stop generating these two specific messages - and perhaps if you can tell me how to turn off all INFO messages from this particular (seemingly non-pythonic) source, that would be fine too.

Issue 2:
Create a way to control log message output., most options should be passed via ConfigProto or another proto. Maybe add a LogOptions structure to hold options related to logging. #1229

Environment info

Operating System: Mac 10.9.5

Feature request

Have a way to control logs that you record.As in gflags/re2 flags.Refer #1229

What have you tried?

#1229
Issue 1:
I get a dialog open "The editor has crashed" etc...

I am happy to provide more information but don't know what you want or where to find a trace log for atom.

I am on windows 7 64bit SP1, with nvidia graphics card driver 314.22.

Dual screen left screen is landscape, right screen is portrait.

I did remove the profile Roaming\Atom folder and try again same result.

Issue 2:
Hi,

I installed Atom via Chocolatey (and also tried the ZIP file), but I cannot use it. The installation runs fine, but whenever I run the executable, I get a popup window with a "The editor has crashed" error message, which includes 3 buttons: Close Window, Reload and Keep It Open:

Quickly searching through the code repo, I found out that this error message is generated by the handler of the @browserWindow.webContents.on 'crashed' event (in /src/browser/atom-window.coffee), but I don't know what could be causing the browserWindow to crash, since my teammates' computers are identical to mine, and they can all run it just fine.

I've just updated to version 0.115.0, but the error persists.

Thanks,

Luciano.
Issue 1:
Guidelines

Please note that GitHub issues are only meant for bug reports/feature requests.

If you have questions on how to use Neo4j, please ask on StackOverflow instead of creating an issue here.

Before creating a new issue, please check whether someone else has raised the same issue. You may be able to add context to that issue instead of duplicating the report. However, each issue should also only be focussed on a single problem, so do not describe new problems within an existing thread - these are very hard to track and manage, and your problem may be ignored. Finally, do not append comments to closed issues; if the same problem re-occurs, open a new issue, and include a link to the old one.

To help us understand your issue, please specify important details, primarily:

Neo4j version: X.Y.Z

Operating system: (for example Windows 95/Ubuntu 16.04)

API/Driver: (for example Cypher/Java API/Python driver vX.Y.Z)

Steps to reproduce

Expected behavior

Actual behavior

Additionally, include (as appropriate) log-files, stacktraces, and other debug output.

Example bug report

I discovered that when I mount data/ to a volume on my host, and then stop the container, the write.lock is not removed as well as a number of other files not being cleaned up properly.

Neo4j Version: 3.0M03

Operating System: Ubuntu 15.10

API: Docker

Steps to reproduce

Pull the image: docker pull neo4j/neo4j:3.0.0-M03

Create a directory on the host that will be a mount for the data: mkdir /home/neo4j-data

Start a new container that mounts to this directory: docker run -d --name neo4j-test -p 7474:7474 -v /home/neo4j-data:/data neo4j/neo4j:3.0.0-M03

Navigate to the write.lock file located in the directory: /data/databases/graph.db/schema/label/lucene/labelStore/1/

Stop the container: docker stop neo4j-test

Expected behavior

write.lock should be removed now.

Actual behavior

write.lock is still present and preventing access by other programs.

Issue 2:
Duplicate of #4434 and #4439 as these are failing again, did it break in 2.2.3? Referred in StackOverflow