WhereIsAI/github-issue-similarity huggingface dataset:
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: 2.6.2

Operating System version: Linux

Java version: 1.8

Steps to reproduce this issue

Restart dubbo service.

Ping hostname becomes slow.

Expected Result

Start dubbo service quickly.

Actual Result

Dubbo service startup is slow, it takes two hours.

Thread dump like this:

More details

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.6.3

Operating System version: Centos 7

Java version: 1.8

Steps to reproduce this issue

For some time we found some performance jitter under some high loads points. Generally like the chart below (Figure 1) showing the latency on provider side didn't change much but latency on consumer side had a big deterioration.

Figure 1

The count of providers in the figure 1 is 3 in three nodes. Each nodes has 4 cores and 16G.

We have tried:

Check the nat gateway band width and connections monitor

30MB/s max and less then 3000 connections. They don't hit the limit.

Try to separate to a new connection for one service to see whether the problem is in ONE connection model.

The chart is capture after that and issue continues.

Check the tomcat thread pool usage

Though i think it's irrelevant to the issue but i have integrated Sentinel to make sure the tomcat thread pool will not be full.

Doubt if it's a vpc's performance problem (They are deployed in Aliyun.com) but we found similar issue in our IDC cluster as Figure 2.

6 Providers deployed.

Figure 2

Now we are continue figuring out what the problem is. Did anyone hit this issue and kindly gives some advices?

Thanks
Issue 1:
Is there any possibility to consider including feather as built in PANDAS I/O module?

https://blog.rstudio.org/2016/03/29/feather/

Issue 2:
conda packages are now available here

so this should be straightforward. a couple of things to note.

should support the LocalPath/PathLib objects (easy as we do this in other read_*)

non-supported on windows ATM. need to skip for testing. feather-format will just raise an ImportError for now.

catch and re-raise for non-supported things, mainly object dtypes that are not all strings. Alternatively / maybe better to introspect these columns (via lib.infer_dtype) to prevent in the first place

test unicode support / encoding (not sure supported as of yet)

biggest issue is how / if to support Series and a DataFrame with a non-default index. As we need a facility to write/read meta-data within feather see here. Both these can simply .reset_index(), but the problem is they can be stored but we don't know on read-back what to .set_index(). Can just raise for now.
Issue 1:
Challenge Waypoint: Use CSS Selectors to Style Elements has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) 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:

<style>
h2 {color: blue;}
</style>
<h2>CatPhotoApp</h2>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

Issue 2:
This will be the central issue for tracking this problem. So far it appears to be effecting tests that look for the style element or that test for specific style elements on body. Please let us know if you see cases that break from this pattern.
Issue 1:
TypeScript Version:

1.8.10

Code

interface Foo {
*generator(): Iterable<number>;
}

class Bar implements Foo {
*generator(): Iterable<number> {
yield 1;
return 2;
}
}

Compile with: tsc --noImplicitAny --target ES6 Foo.ts

Expected behavior:

Compiles with no warnings :)

Actual behavior:

Foo.ts(2,3): error TS1131: Property or signature expected.

Foo.ts(2,15): error TS1005: ';' expected.

Foo.ts(2,33): error TS1005: '(' expected.

Foo.ts(3,1): error TS1128: Declaration or statement expected.

Issue 2:
TypeScript Version:

nightly (1.9.0-dev.20160217)

Code

var z: { foo?: { bar: string; }; } = {};

z.foo = {bar: ''}

delete z.foo;

z.foo.bar; // Should be an error

Expected behavior:

Under strict-null mode, usages of delete are seen as, at least, assignments of undefined.

Actual behavior:

Compiler doesn't detect delete as object-mutating.
Issue 1:
Challenge http://beta.freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

Instructions state to "...nest all of our HTML in a div element with the class "fluid-container"..." However, the correct class should be "container-fluid". Similarly, the hint section states "Your div element should have the class "row"" which is also misleading.

Issue 2:
The beta version of the course does not mark the Introduction to Basic CSS complete after going through it. I can reproduce this behavior on Linus and Windows systems using Chrome, Firefox, and Opera. I am on current versions of all three of these browsers.
Issue 1:
I only saw this once. (i.e. it doesn't reproduce often.)

The app had about 130 active goroutines when the error occured.

What steps will reproduce the problem?
1. build and run Taipei-Torrent app, let it run for a few minutes

What is the expected output? What do you see instead?

Saw a SIGSEGV. (See attached for the program output)

What is your $GOOS? $GOARCH?

OSX Leopard AMD 64

Which revision are you using? (hg identify)

$ hg identify
c3169cad2f47+ tip

Please provide any additional information below.

The source of the app is at

http://github.com/jackpal/Taipei-
Torrent/tree/d1b2ecd5db95229b5ef16d84e5765307ce898a19

Attachments:

gocrash.txt (2141077 bytes)

Issue 2:
by kfox1111:

Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

Trunk

Run "go version" and compare against
http://golang.org/doc/devel/release.html If a newer version of Go exists,
install it and retry what you did to reproduce the problem.

Thanks.

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.

http://golang.org/src/pkg/archive/tar/writer.go
Line 133 reads:
// TODO(dsymonds): handle names longer than 100 chars

This has been corrupting data on us for a while and we never realized it till just now.

What is the expected output?
Error happens on filename too big, or else files go in properly.

What do you see instead?
Silent truncation!

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

Which operating system are you using?
Any

Which version are you using? (run 'go version')
1.0 through Trunk

Please provide any additional information below.
Issue 1:
nicolas de loof opened SPR-6335 and commented

log4j users used to wrapp debug code with isDebugEnabled to avoid building logging Strings and calling toString() when not necessary. slf4j Uses MessageFormat as a workaround :

logger.debug( "some log about {}", object );

Spring Assert also is supposed to only fire an exception when some unexpected error occurs. Using same strategy it could avoid building the error message anytime an assertion is checked :

// Many String concatenation + implicit toString() calls

Assert.notNull( "the entity " + entity + " with ID " + id + " is not of type " + type );

// Less useless CPU consumed in happy path

Assert.notNull( "the entity {} with ID {} is not of type {}", entity, id, type );

using varags can also make the parameter list as long as necessary for assertion message to contain all contextual elements the developper may provide.

Issue Links:

#9822 Use MessageFormat to pass messages to spring Assert ("duplicates")

Issue 2:
Jonas Kilian opened SPR-478 and commented

When binding my beans to the JmxMBeanAdapter, I found that they're exported (and therefore instantiated) BEFORE PropertyPlaceholderConfigurer has done its work.

E.g. for my datasource, this leads to errors like:

Cannot instantiate driver, caused by ClassNotFoundException: ${db.driver}

and the like..

Issue Links:

#5240 Type mismatch when using custom property editors with Spring JMX ("is duplicated by")
Issue 1:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Electron Version

13.X.X

What operating system are you using?

macOS

Operating System Version

macOS 11

What arch are you using?

x64

Last Known Working Electron version

12.X.X

Expected Behavior

load https://google.com successfully

Actual Behavior

app immediately crashes right after google's homepage loaded

Testcase Gist URL

No response

Additional Information

access google.com from mainland china via proxy, not sure if that cause the problem.

Issue 2:
Electron version: 1.2.5

Operating system: Mac 10.10.5

When I open a modal browser window, the title in the title bar changes to the name of the document that I originally loaded into the parent browser window. I had used setTitle() to change the window title to something else.
Issue 1:
Using julia-c4865bd18d-Darwin-i386.tar.gz I get the following error when trying to run ./julia in the julia dir. Also happen if I add the julia executable to the path using export PATH="$(pwd)/julia:$PATH".

dlopen(libarpack, 2): image not found

error during init:

could not load module libarpack

in dlopen, /Users/viral/julia/j/base.j:99 sys.ji:17

There is a libarpack fil in the /lib dir.

Issue 2:
Initial attempt to run after download and unpack:

$ cd ~/Downloads
$ tar xf julia-c4865bd18d-Darwin-i386.tar
$ cd julia
$ ./julia
dlopen(libarpack, 2): image not found
error during init:
could not load module libarpack
in dlopen, /Users/viral/julia/j/base.j:99 sys.ji:17

Attempt to run it again, this time specifying DYLD_LIBRARY_PATH:

$ DYLD_LIBRARY_PATH=~/Downloads/julia/lib ./julia
dyld: Library not loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
Referenced from: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
Reason: Incompatible library version: vecLib requires version 1.0.0 or later, but libLAPACK.dylib provides version 0.0.0
Trace/BPT trap: 5
Issue 1:
After installing an Atom update and restarting, the blue squirrel stays present until I restart again. If you have OCPD or FOMO it's hard to ignore that squirrel, but also annoying to re-open all the windows/files as they were.

It'd be great if installing an update hid him immediately.

Sorry if this is the wrong repo to create the issue. I didn't see a sub-package that seemed responsible for handling updates.

Issue 2:
The little squirrel icon that appears when there is an update it's perfect.

But it's coloured even when there is no update but just to point you to the release notes. I find this behaviour confusing.

I think it should act as follows:

Coloured when there is an update to install

Gray when it's there to point you to the release notes
Issue 1:
Description

The documentation of default values in many classes is either not included, inconsistent in how it is written, or out-of-date. I would like to gather a few people to work on the default value documentation for every class as there are a ton of classes where these issues exist. I have been told that the default values should be documented as "default=<'value'>" and so I am creating this issue under that assumption.

Solution

Here are a few things that I have seen for the parameters which should be changed:

no mention of whether there is a default should be checked against code as a few parameters are missing this entirely

"optional" should be changed to "default=<'value'>"

make sure how the default values are documented is consistent within the class, i.e. change everything to the format "default=<'value'>"

Modify a single file per PR

If a few people work on a few classes each, then this should be done in no time! These should all be fairly simple fixes.

Examples

https://scikit-learn.org/stable/modules/generated/sklearn.cluster.AgglomerativeClustering.html

The link above is an example where default values are not indicated but the parameters say "optional", and where those with default values indicated are all inconsistently documented.

Issue 2:
Describe the workflow you want to enable

It would be convenient if after each step of the pipeline you could call a custom function (callback) if needed.

For example, in simple TF-IDF + LogReg pipeline, after the step of fitting TF-IDF, I would like to look at the dimension of the resulting dictionary (output it to stdout).

Describe your proposed solution

Add additional parameter callbacks to Pipeline, which takes List of (name, transform) tuples, similar to the steps parameter (default: None).
Issue 1:
Hi.

It would be nice to have a multiple autocomplete and multiple autocomplete with checkbox component within bootstrap :)

http://jqueryui.com/demos/autocomplete/#multiple

or

http://www.emposha.com/demo/fcbkcomplete_2/

What do you think about that?

Thanks for all!

Issue 2:
When launching the modal component (http://getbootstrap.com/javascript/#modals) the entire content will slightly move to the left on mac OS (haven't tried it on windows yet). With the active modal the scrollbar seem to disappear, while the content width still changes.

You can observer the problem on the bootstrap page
Issue 1:
mul! normally works for arbitary matrixs.

The product of two triangular matrixs is itself triangular.

But if i specify the storage destination as being a triangular matrix mul! errors.

julia> using LinearAlgebra

julia> X = LowerTriangular(rand(10,10));

julia> Y = LowerTriangular(rand(10,10));

julia> Z = LowerTriangular(rand(10,10));

julia> mul!(Z, X, Y)
ERROR: MethodError: no method matching lmul!(::LowerTriangular{Float64, Matrix{Float64}}, ::LowerTriangular{Float64, Matrix{Float64}})
Closest candidates are:
lmul!(::Tridiagonal, ::LinearAlgebra.AbstractTriangular) at /usr/local/src/julia/julia-master/usr/share/julia/stdlib/v1.6/LinearAlgeb
ra/src/triangular.jl:683
lmul!(::Diagonal, ::AbstractVecOrMat{T} where T) at /usr/local/src/julia/julia-master/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/d
iagonal.jl:210
lmul!(::UniformScaling, ::AbstractVecOrMat{T} where T) at /usr/local/src/julia/julia-master/usr/share/julia/stdlib/v1.6/LinearAlgebra
/src/uniformscaling.jl:286
...
Stacktrace:
[1] mul!(C::LowerTriangular{Float64, Matrix{Float64}}, A::LowerTriangular{Float64, Matrix{Float64}}, B::LowerTriangular{Float64, Matri
x{Float64}})
@ LinearAlgebra /usr/local/src/julia/julia-master/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/triangular.jl:700
[2] top-level scope
@ REPL[5]:1

If i make it store in a normal matrix it is fine

julia> mul!(collect(Z), X, Y)
10×10 Matrix{Float64}:
0.476498 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.480309 0.159117 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
1.38858 0.480959 0.0549959 0.0 0.0 0.0 0.0 0.0 0.0 0.0
...

I guess the reasonable thing to do is to define it to operate on the parent of the destination then rewrap it?

Issue 2:
using LinearAlgebra
M1 = UpperTriangular(rand(100,100))
Mr = similar(M1)
mul!(Mr,M1,M1) # Doesn't work

Mr2 = zeros(100,100)
mul!(Mr2,M1,M1) #Does work

Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
OS: Linux (x86_64-redhat-linux)
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
JULIA_NUM_THREADS = 4
Issue 1:
Hi, i writing an extension to VS Code, but i dont find any way to be able use VS Code Formating on my Strings (Like HTML and JS Format separatly). Any plans to add it?

Issue 2:
Hi,

this is a feature request and not an issue.

Please give code formatting for multiple languages in one file. As example: If you are having HTML and PHP code in a php-file, then you won't get formatted HTML code and you have to format your HTML code manually.

As solution, it would be nice to associate a extension to multiple languages in the settings:

"files.associations": { "*.php": ["php", "html"] }

Thanks and best regards!
Issue 1:
The file below will compile (--target es5, --module commonjs, --jsx "preserve") but not run, because the require statement is optimized away.

In the subsequent JSX translation, the `

` elements are translated to `React.createElement()` calls which are then no longer possible.

import React = require("react");

export function render(): JSX.Element {
return (<div></div>);
}

My current workaround is this:

/* tslint:disable:no-unused-expressions */
import React = require("react"); React
/* tslint:enable:no-unused-expressions */

export function render(): JSX.Element {
return (<div></div>);
}

but that is rather cumbersome due to the tslint errors you will get.

Therefore, maybe not optimize React require away in case of .tsx?

Issue 2:
When using --jsx preserve, the React declaration is removed if not directly used. Issue #3764 fixed this for --jsx react but not for the preserve case.

import * as React from "react";
import * as ReactDOM from "react-dom";

var targetEl = document.getElementById("app");
ReactDOM.render(
<div>{"Some Text"}</div>,
targetEl)

This breaks the the app after ran through webpack -> babel

Currently, the workaround is to include a dummy reference to React;, but this shouldn't be necessary and the imports should pass through to babel.
Issue 1:
A build prepared with make full-source-dist fails because in a second stage deps/pcre.mk tries to retrieve pcre2 from ftp.pcre.org which is "no longer available", it's said FTP, but in practice I don't see either port 443 receptive for the line of deps/pcre.mk containing https://ftp.pcre.org/pub/pcre/pcre2-$(PCRE_VER).tar.bz2

https://pcre.org -currently last modified on Thu, 04 Nov 2021 23:13:21 GMT- says:

Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead.

Furthermore to consider pcre.org do not provides anymore officially version 10.36,

Here is PCRE2 ChangeLog

and an extract if I USE_SYSTEM_PCRE:=1 with system pcre 10.39

building julia-git-1.8.0.DEV.r51086.gdd0c14ba1d0

PCRE2_jll (1) | started at 2022-01-18T20:06:00.377

PCRE2_jll (1) | failed at 2022-01-18T20:06:15.913

Test Failed at aur/julia-git/src/julia/usr/share/julia/stdlib/v1.8/PCRE2_jll/test/runtests.jl

Expression: vn == v"10.36.0"

Evaluated: v"10.39.0" == v"10.36.0"

giving the only test failure from a version string assert check

Issue 2:
Hello,

The example in the documentation of the isless function is not showing properly. Looking at the docstring I think there is a column of extra space preventing the proper display of the sample code.

If needed, I can make the fix myself.
Issue 1:
Looking at the other tickets related to this issue, it appear that it was fixed and then the fix for whatever reason was reverted.

img {
max-width: 100%;
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
}

Max width interferes with how google maps sets image sprites in the ui. The image is placed within a div and positioned with absolute positioning. Setting max-width on the image, forces the image to a width of its parent even though its suppose to be larger.

I suspect there is a purpose to having max width in the image tag (responsive design?) so i would suggest the following override to prevent this from being an issue in the future. It does rely on Google not changing its CDN path, but its the only unique identifier within the Google Maps DOM that I have found.

img[src^="http://maps.gstatic.com/"] {
max-width: none;
}

Issue 2:
First of all thanks for your fantastic work. It does SAVE me a lot of time.

When I put Google Maps into Bootstrap layout, img tag in Google Maps breaks because Bootstrap set img max-width to 100%. When I comment max-width, it's working find but I'm not sure whether it'll break something else in Bootstrap or not.

Bootstrap and Google Maps

http://jsfiddle.net/jhnRD/1/

Google Maps without Bootstrap

http://jsfiddle.net/aVx8L/

Cheers,
Issue 1:
Go version 1.5

Summary

We've run into some behavior we didn't expect from go/types importing packages. If a package p has been imported (by some other package) and its source code is present but not installed (that is, there is no package archive such as $GOROOT/pkg/darwin_amd64/p.a) then Check returns an error saying it can't find the package.

We're not sure if this is intended behavior, but we found it surprising.

cc @tessr

We've tried to produce a minimal test case:

https://github.com/kr/gotypesrepro

Steps to reproduce

1. git clone https://github.com/kr/gotypesrepro $GOPATH/src/p
2. cd $GOPATH/src/p
3. go run try.go # fails
4. go install p
5. go run try.go # now it works

Expected output

package testdata ("testdata")
package testdata ("testdata")

Actual output

testdata/import.go:3:8: could not import p (can't find import: p)
package testdata ("testdata")

Issue 2:
It is common to use go/types is as part of a go generate command

or other command line tool to introspect a Go package.

The go tool goes to some lengths to ensure that whenever

you operate on a package, it builds the source for that

package into object form before using it, so you don't

end up using symbol information that's out of date with respect

to the source.

When using go/types from a command line tool, you

don't have that luxury, and it's not necessarily appropriate

to call "go install" automatically.

I believe that a better way would be for the default

importer to use the object file data only if it's newer

than the source files, otherwise fall back to using the

source directly. Or at least it would be nice to have

that option, so that it's easy to make go generate

utilities operate on the up to date code.

I hope this could be considered before Go 1.5 as

we won't be able to change this behaviour after then.