WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
xdf = pd.DataFrame(new_data).sample(frac = 0.2, replace = False , random_state = 1)
ccols = xdf.columns[0:28]
grouped_data = xdf.groupby('Class')
sns.set(font_scale = 0.8)
sns.set_palette(['#06B1F0' , '#FC4B60'])
fig , axes = pltFD.subplots(nrows = 4, ncols = 7, figsize = (16 , 12) , tight_layout = True)
for ax , p in zip(axes.ravel() , ccols):
for k , v in grouped_data[p]:
sns.kdeplot(v , ax = ax , label = str(k) + ":" + v.name)
pltFD.setp(ax.get_legend().get_texts() , fontsize = '10')

Gives this Error.

Total columns of dataframe=29

Any one, do have any idea, only print, 21 subplots. can not plot all the features length cols.

Issue 2:
To reproduce this:

import matplotlib.pyplot as plt
x = [0.15, 0.11, 0.06, 0.06, 0.12, 0.56]
plt.boxplot(x,sym='+')
plt.show()

The outliers display correctly.

However, after I add import seaborn, the outliers disappear.
Issue 1:
Jörg Heinicke opened SPR-3654 and commented

I have a property of type collection and want to bind a form:select to it. Since it's of collection type the CustomCollectionEditor is used. Unfortunately, there is no chance to use an additional custom PropertyEditor for the actual collection elements.

This seems to be quite similar to #7322 for form:checkbox.

I wrote my analysis in the forum at http://forum.springframework.org/showthread.php?t=40960.

There is a hackish work-around at the moment: Since CustomCollectionEditor.convertElement(Object) actually replaces PropertyEditor.setAsText(String) + PropertyEditor.getValue() only a proper conversion from Object to String is missing. Spring falls back to toString() at the end in ValueFormatter.getDisplayString(Object, PropertyEditor, boolean). So the hackish work-around is to implement toString() doing the PropertyEditor.setValue(Object) + PropertyEditor.getAsText() part of the custom PropertyEditor I actually wanted to use.

I find the CustomCollectionEditor quite strange anyway since it is used for both converting a collection to ... hmm ... a collection and to convert a string representation of a single object into a collection as well by delegating to convertElement(Object). Actually my extended CustomCollectionEditor gets injected the custom PropertyEditor for the collection elements. This one is used in convertElement(Object). If there would only be a way to convert the objects to strings. I'd prefer a solution where I don't need to touch the CustomCollectionEditor at all.

Joerg

Affects: 2.0.6

Issue Links:

#8842 form:checkboxes and form:radiobuttons should use registered property editor ("is duplicated by")

1 votes, 2 watchers

Issue 2:
Bozhidar Bozhanov opened SPR-9318 and commented

Currently all @Async methods are executed using the same thread pool. But often you need different groups of related async operations and you don't want them to share the same pool. For example, a scheduled job may want to asynchronously invoke a method multiple times, but if it uses @Async it will consume all the threads that are supposed to be used by other processes.

That's why I suggest to add an async group. @Async(group="main"), @Async(group="calculations"), etc. Each of them will have a separate pool.

<task:executor id="mainExecutor" pool-size="100" group="main" />

<task:executor id="calcExecutor" pool-size="20" group="calculations" />

<task:annotation-driven executors="mainExecutor,calcExecutor" /> (or a nested <list>)

Affects: 3.1.1

Issue Links:

#11513 Enable Executor qualification with @Async ("duplicates")

1 votes, 1 watchers
Issue 1:
richard oates opened SPR-5205 and commented

In our setup we want to read in many bean definition "fragments" and then in a later step allow bean overriding. In BeanDefinitionParserDelegate the method parseBeanDefinitionElement checks for duplicate beans using the method checkNameUniqueness. If this method was protected instead of private, we could simply subclass and override it.

As it is, we're forced to subclass and duplicate the implementation of parseBeanDefinitionElement. Not a major problem, but it would be nice if the visibility of checkNameUniqueness could be changed to protected to enable us to avoid this.

Affects: 2.5.5

Issue 2:
Richard L. Allen opened SPR-9324 and commented

We use a custom ClassPathBeanDefinitionScanner along with AnnotationConfigWebApplicationContext. To achieve this, we have to extend AnnotationConfigWebApplicationContext and override the loadBeanDefinitions method to substitute our custom scanner. Would be nice if AnnotationConfigWebApplicationContext simply had a set method for the scanner the same as the set methods for the BeanNameGenerator and ScopeMetadataResolver.

Affects: 3.1.1

Referenced from: commits 0230c49, 20beace

Backported to: 4.1.9

1 votes, 1 watchers
Issue 1:
Go 1.5.1 on OS X 10.10.5 with Xcode 7

It appears Go builds c archives with absolute addressing, which makes Xcode unhappy when using the resulting static library in a project:

(null): PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in __cgoexp_45a75e65c81e_Test from build/iphoneos/main.a(go.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

I made a sample test project here: https://github.com/swisspol/Go-Bridge

Issue 2:
When including the generated gomobile iOS framework into another iOS framework, calling gomobile generated method from the wrapper framework causes linker failure with message "ld: illegal text-relocation to 'type..eq.[0]string'"
Issue 1:
Rust often requires more than 2G of virtual memory so it's not possible to build it on a 32-bit OS. This is especially problematic on Windows.

#18678 may be enough to fix this on Linux / FreeBSD, and would allow preventing regressions via the jemalloc mapped statistic (+ accounting for the VM used by libraries, etc.).

Issue 2:
This code generates

trait Y<'a>: Sized {
fn f(&'a self) {
}

fn g(&self) where Self: for<'r> Y<'r> {
self.f();
}
}

this ICE

<anon>:6:14: 6:17 error: internal compiler error: coherence failed to report ambiguity: cannot locate the impl of the trait `Y<'_>` for the type `Self`
<anon>:6 self.f();
^~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', ../src/libsyntax/diagnostic.rs:176

playpen: application terminated with error code 101
Issue 1:
I want to override the FOSUserBundle validation.xml so I created a new bundle which extends the FOSUserBundle:

public function getParent()
{
return 'FOSUserBundle';
}

But the validation.xml of the FOSUserBundle is still loaded.

I think the Validation component should respect the bundle inheritance.

Issue 2:
I'm trying to override validation of a parent bundle, here is my code.

Here is parent bundle validation.xml.

In this particular case, I want to make product description optional.

Following @stof comments on #3224 I decided to go with validation groups.

But the effect I got is that now, fields are not validated at all. I mean, none of constraints from Default or Sandbox group are applied.
Issue 1:
Bug Report

I would like to work on a fix!

Current behavior

Syntax error Unexpected token is thrown.

REPL

Input Code

class Foo {
private public foo;
}

Expected behavior

Syntax recoverable error Accessibility modifier already seen. is thrown. Like TS. Also only the first access modifier should be included in AST.

Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)

Filename: babel.config.js

Environment

Possible Solution

Additional context

Issue 2:
Choose one: is this a bug report or feature request?

Feature

Provide a general summary of the issue in the title above

Babel is one of the most important parts of my system, and as such I would like to have more control over what is being loaded when it runs (particularly when I use it with other tooling indirectly like webpack).

to summarize, I would like to have the ability to see

What configuration is being used

source of the configuration (directly provided by arguments, rc files, package.json)

Plugins used to produce the transformations

configurable output of this log
Issue 1:
Bug report

Describe the bug

Trailing slashes doesn't work. When I am clicking on links on my site everything is fine. All routes are ended with trailing slashes. Only problem is that those route doesn't work when I refresh page manually. Then I got 404 error. When I remove trailing slash - it works. So

/about/ works when Im clicking from app on that route

/about/ does not work when I enter this route manually or I refresh the page

/about works all the time

One more this. When Im on homepage and click on /about - it is ok, but on page view there is no SSR of content of my page. Only layout is generated, but the content of the does not exists.

Page content is appearing only when I remove trailing slash - then ssr is working.

I have this:

module.exports = {
exportTrailingSlash: true,
}

in next.config.js

Expected behavior

trailish slashes routes should work on refresh, also SSR should works also on trailish slashes routes

System information

OS: chrome

Browser: chrome

Version of Next.js: 9.1.1

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

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Context

Your Environment

Tech
Version

next

node

OS

browser

etc
Issue 1:
@dcolebatch: 'There is conflicting reports out there, some google group posts say you can disable vertex ID reuse[1], some say you can't[2].

We'd love to be able to disable ID reuse in embedded mode and think it could be documented in Chapter 21[3] if it is there already... ?

1: https://groups.google.com/forum/?fromgroups#!searchin/neo4j/node$20ID/neo4j/wn5sQA1BFf4/T-siwqtof5QJ

2: https://groups.google.com/forum/#!topic/neo4j/ilq7624PwaU

3: http://docs.neo4j.org/chunked/milestone/embedded-configuration.html

'

Issue 2:
@cheadp: 'On node deletion, related indexes entries will be removed only when the next query on those indexes occurs and should return the deleted node.

As indexes work with internal node id, and as they can be recycled, not removing indexes entries when a node is deleted can lead to index corruption (and happened in one of our pre-production database)

As it was told, indexing will be refactored in a futur milestone.

But I think a good thing to do now is to add a warning in the manual about this issue, and advice users to always think about removing indexes entries'
Issue 1:
Summary of the new feature/enhancement

I ask if you want to consider integrating Mouse without Borders (http://aka.ms/mm) from Truong Do.

You can argue that Mouse without Borders is a PowerToy already and it would be a nice addition to the current tools

Issue 2:
Summary of the new feature/enhancement

I would like it to support mapping holding a key to a function, e.g. holding CapsLock key for a given period to switch input language
Issue 1:
by gheorghe.postelnicu:

Pprof doesn't seem to be working properly under Windows 7 64-bit:

$ go tool pprof sokoban_main.exe a.prof_3
go tool: no such tool "pprof"

Trying to invoke it manually doesn't work either, but with a different error:

$ perl /c/go/pkg/tool/windows_amd64/pprof /c/Users/ghighi/go/src/sokoban/exampl
e/example.exe /c/tmp/cpu_sokoban_5
sh: /usr/bin/file: No such file or directory
/c/tmp/cpu_sokoban_5: need a 64-bit perl to process this 64-bit profile.

Which operating system are you using?
Windows 7 64-bit

Which version are you using? (run 'go version')
go1.0.2

Issue 2:
This is a placeholder issue for supporting linking against static libraries. There are
plenty of good reasons to support it including more stable builds, fewer dependency
issues outside of the go build system, and supporting projects that prefer to support
static libraries instead of shared ones.

This came up again as the leveldb support for shared libraries has been pretty hit or
miss and they weren't too keen on supporting it in the first place.
Issue 1:
Feature request

Is your feature request related to a problem? Please describe.

It isn't related to a problem. But if what I'm asking already exists its a good idea to let it more clear on the docs.

Describe the solution you'd like

It will be awesome if we can add a config on next.config that allow us to add a ignored name folder to /pages that will not crawl that folder as an app page.

The purpose of it is a way to create a components folder wich has the components that belong to a unique page and (probably) wont be reused again. That kind of practice let clear that this components belong only to that page and will be easier to add things like useMemo, React.memo and useCallback without pollute the root /components folder with never reused components.

Something like:

Folder:

/pages
.... /customers
........ /components
........ index.js

Config:

module.exports = {
notPage: ['components']
};

Describe alternatives you've considered

It is possible to create a /pages components inside root /components folder and there add that kind of component.

Issue 2:
Feature request

Is your feature request related to a problem? Please describe.

There are many different methods of codebase organization in the wild and one popular one is to use an index.js file for the page component itself and surround it with sibling files for various subviews that are specific to that page.

However, next doesn't support this kind of structure because it automatically assumes all files inside of pages/ are real pages.

Describe the solution you'd like

There already is precedent in the codebase for convention over configuration when it comes to filenaming:

the [id].js pattern for dynamic routing

the _(app|document|error).js pattern for overriding built-in pages

I propose extending the leading-underscore naming pattern such that any file inside pages/ prefixed with an underscore will not be considered as a public page and can simply live in the folder.

pages/
index.js <- page
accounts/
index.js <- page
_constants.js <- not a page
_modal.js <- not a page

Describe alternatives you've considered

Another prefix I thought of was "$", e.g. $constants.js but this felt a little strange to write and actually is not supported in some filesystems.
Issue 1:
Use a config schema instead. See the configuration section of https://atom.io/docs/latest/hacking-atom-package-word-count and https://atom.io/docs/api/latest/Config for more details

Called 3 times

Package.activateConfig - /Applications/Atom.app/Contents/Resources/app/src/package.js:250:11

Package.activateNow - /Applications/Atom.app/Contents/Resources/app/src/package.js:221:14

Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows:

"activationCommands": {

"atom-workspace": ["foo:bar", "foo:baz"],

"atom-text-editor": ["foo:quux"]

}

Called 1 time

Package.getActivationCommands - /Applications/Atom.app/Contents/Resources/app/src/package.js:764:9

Package.hasActivationCommands - /Applications/Atom.app/Contents/Resources/app/src/package.js:689:20

Issue 2:
After updating to Atom 0.190.0 I get the following 3 deprecation notices of Atom core. Anyone else noticed this?

Use a config schema instead. See the configuration section of https://atom.io/docs/latest/hacking-atom-package-word-count and https://atom.io/docs/api/latest/Config for more details

Called 1 time

Package.activateConfig - /usr/share/atom/resources/app/src/package.js:250:11

Package.activateNow - /usr/share/atom/resources/app/src/package.js:221:14

Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows:

"activationCommands": {

"atom-workspace": ["foo:bar", "foo:baz"],

"atom-text-editor": ["foo:quux"]

}

Called 1 time

Package.getActivationCommands - /usr/share/atom/resources/app/src/package.js:764:9

Package.hasActivationCommands - /usr/share/atom/resources/app/src/package.js:689:20

ContextMenuManager::add has changed to take a single object as its argument. Please see https://atom.io/docs/api/latest/ContextMenuManager for more info.

Called 1 time

ContextMenuManager.add - /usr/share/atom/resources/app/src/context-menu-manager.js:57:18

Package.activateResources - /usr/share/atom/resources/app/src/package.js:299:61
Issue 1:
I'd like to see the ability to map a keyboard shortcut in the Keyboard Manager to an action such as running a program.

Issue 2:
Create custom shortcuts that will launch certain programs.

Say for example I want to launch Firefox, I could be able to create a shortcut for that call it "ff" and then by typing "ff" in the search it will launch firefox.

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Issue 1:
Hi, I've noticed that a structure like this:

<div class="row">
<div class="col-xs-6 col-sm-4 col-md-4 col-lg-2 yellow"><h2>Col 4</h2></div>
<div class="col-xs-6 col-sm-8 col-md-4 col-lg-4 blue"><h2>Col 8</h2></div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-6 red"><h2>Col 8</h2></div>
</div>

wasn't rendering correctly in xs and sm sizes because of the css was missing:

@media (min-width: 768px){
.col-sm-12{
float:left;
}
}
.col-xs-12{
float:left;
}

Issue 2:
Like said before on posts #10152 and #9454 full-width columns (.col-*-12) should also be floated, since those are not inline elements.

As other columns are floating, full-width column will ignore those because browser removes floating elements from the normal flow. For that reason full-width element will be displayed just where it occurs in the text, and that is under floated columns, not next to those.

Inline elements inside full-width column do respect the boundaries of the floating elements, but that is not enough.

See this fiddle: http://jsfiddle.net/8Bg2H/ and remove the "float: left;" of the full-width element to see what I mean.

This change will affect to files grid.less and mixins.less (.make-grid-columns-float).
Issue 1:
One of the more recent threads on stack overflow suggests modifying geometry to index into a texture atlas. . I believe i've seen the same answer before though.

I also remember three.js had an issue when cloning the texture, they would get duplicated on the gpu.

This conversation happened a while ago:

#5876

This PR more recent:

#11863

Docs say:

var texture = new THREE.TextureLoader().load( "textures/water.jpg" );
texture.wrapS = THREE.RepeatWrapping;
texture.wrapT = THREE.RepeatWrapping;
texture.repeat.set( 4, 4 );

if i add:

var texFoo = texture.clone()
texFoo.repeat.set(2,2)

var texBar = texture.clone()
texBar.repeat.set(6,6)

What should the expectation be here? Mine is that some UV attribute (call it channel0 for example) would get scaled by the .repeat value of the texture, and display all the textures with their appropriate values?

var myMaterial = new THREE.MeshPhongMaterial({
map: texture,
specularMap: texFoo,
normalMap: texBar,
})

And will this still upload only one image to the gpu?

var oneGeometry = new BoxGeom()
var squares_5x5_units_in_world_space = loadTexture()

for ( var i = 0 ; i < 1000 ; i ++ ){
var mesh = new THREE.Mesh( oneGeometry , new Material())
var meshScale = Math.random()
mesh.scale.multiplyScalar(meshScale)
mesh.position.set(Math.random(),Math.random(),Math.random())

mesh.material.map = squares_5x5_units_in_world_space.clone() //should still use one image?
mesh.material.map.repeat(meshScale, meshScale)
}

I guess I can test both.

Three.js version

Dev

r88

Issue 2:
Description of the problem

ObjectLoader doesn't support parsing the following geometries:

TextGeometry

ParametricGeometry

InstancedGeometry

WireframeGeometry

This causes an issue where the Editor cannot load any scenes or objects that use these geometries.

Three.js version

Dev

r102

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

macOS

Linux

Android

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

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

Environment

Dubbo version: xxx

Operating System version: xxx

Java version: xxx

Steps to reproduce this issue

xxx

xxx

xxx

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

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

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

Just put your stack trace here!

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

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

Environment

Dubbo version: 2.7.2

Operating System version: xxx

Java version: xxx

Steps to reproduce this issue

public void removeListener(String key, String group, ConfigurationListener listener) {
cacheListener.removeListener(key, listener);
}

@Override
public String getConfig(String key, String group, long timeout) throws IllegalStateException {
/**
* when group is not null, we are getting startup configs from Config Center, for example:
* group=dubbo, key=dubbo.properties
*/
if (StringUtils.isNotEmpty(group)) {
key = group + "/" + key;
}
/**
* when group is null, we are fetching governance rules, for example:
* 1. key=org.apache.dubbo.DemoService.configurators
* 2. key = org.apache.dubbo.DemoService.condition-router
*/
else {
int i = key.lastIndexOf(".");
key = key.substring(0, i) + "/" + key.substring(i + 1);
}

return (String) getInternalProperty(rootPath + "/" + key);
}

addListener and getConfig used different path, so only one of the could get data from configcenter

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

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

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

Just put your stack trace here!
Issue 1:
Migrated issue, originally created by John Mercouris (@jmercouris)

If you look in the examples, the documentation mentions that you may setup directed graphs:

http://docs.sqlalchemy.org/en/rel_1_0/orm/examples.html#module-examples.graphs

The code for the directed graph can be found here:

http://docs.sqlalchemy.org/en/rel_1_0/_modules/examples/graphs/directed_graph.html

Unfortunately the code for the directed graph is actually for an undirected graph

(directed vs undirected graph) http://www.differencebetween.com/wp-content/uploads/2011/05/DifferenceBetween_Directed_UnDirected_Graphs1.jpg

The reason it is a directed graph is because you may not add a relationship from n1->n2 as well as from n2->n1. The program will crash and complain that there is a duplicate entry.

For your convenience I have modified the program to show an example of a directed graph:

(http://pastebin.com/xJDPdvYJ) - also attached to this issue. Also attached is the database generated from running the file.

You can run the program to demonstrate it for yourself, thank you for your time.

Attachments: data.db | graph.py

Issue 2:
Good evening!

We have a problem while executing following code:

import sqlalchemy as db

import pandas as pd

import cx_Oracle

engine = db.create_engine("oracle+cx_oracle://{user}:{pw}@{host}:{port}/{db}"

.format(user = "usr",

pw = "pwd",

host = "host",

port = "port",

db = "db"), encoding='utf8', echo=True)

metadata = db.MetaData()

connection = engine.connect()

connection.execute("ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS' NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD HH24:MI:SS.FF'")

data = "select * from big_view"

df = pd.read_sql(data, connection)

print(df.shape)

connection.close()

Instead of geting 2 mil rows i get only about 200k rows.