WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Context:

Playwright Version: 1.22.0

Operating System: Windows

Python 3.10

Browser: Chromium

Extra: 2 screens

I specify the position of appearance x = 2000 so that the browser window appears on the second screen and the maxsize parameter. However, the browser does not become full screen. It's just the default window.

browser = playwright.chromium.launch(headless=False, args=["--window-position=2000,0","--start-maximized"])
context = browser.new_context()
page = browser.new_page( no_viewport=True )

Selenium, by the way, has no such problems

Monitor#2

Issue 2:
Context:

Playwright Version: 1.22.0

Operating System: Windows

Python 3.10

Browser: Chromium

Extra: 2 screens

I specify the position of appearance x = 2000 so that the browser window appears on the second screen and the maxsize parameter. However, the browser does not become full screen. It's just the default window.

browser = playwright.chromium.launch(headless=False, args=["--window-position=2000,0","--start-maximized"])
context = browser.new_context()
page = browser.new_page( no_viewport=True )

Selenium, by the way, has no such problems

Monitor#2
Issue 1:
Describe the workflow you want to enable

Is it possible to support any aggregation function as strategy in SimpleImputer?

The only thing we will need to check is that function returns one non-null value (aggregating) consistently (not random).

Describe your proposed solution

Support callable as valid strategy

Describe alternatives you've considered, if relevant

No response

Additional context

This could be an easier and more elegant solution for simple imputer strategies requests that are appearing from time to time.

Issue 2:
It seems like Imputer can be easily extended to handle arbitrary axis-wise strategies (at least in the case where the data is dense, or sparse with non-explicit entries to be imputed).

The strategy parameter could accept a function (or other callable) that reduces a given masked array along an axis, including scipy.stats.mstats functions. More flexibly, strategy could be a callable that either takes a 2d-array and an axis value and returns a 1d-array, or just takes a 1d-array and returns a scalar.

For example, one should be able to use:

from functools import partial
from scipy.stats import mstats
Imputer(strategy=partial(mstats.tmean, limits=(.1, None)))

to impute with a trimmed mean using absolute bounds (NB: tmean doesn't accept an axis argument), or:

Imputer(strategy=lambda X, axis: np.ma.mean(mstats.trimboth(X, .1, axis=axis),
axis=axis)

for a trimmed mean with quantile bounds.
Issue 1:
I think it would be a good idea to tune Material-UI into a truly responsive mobile-first framework. Responsive imagery using the HTML srcset and sizes attributes could greatly improve bandwidth usage and quality of service.

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

Issue 2:
When setting the height of the button itself, it breaks the vertical centering of the label. I've tried a few workarounds around setting the label height or line-height, or putting the button in a div of smaller height, but those haven't worked. Is there a known solution for this or am I incorrectly setting the button height in the style prop?

<FlatButton label="Cash Out" disabled={true} labelStyle={{ fontSize: '10px', fontWeight: 300, lineHeight: '25px', textTransform: 'none', width: '50px' }} style={{ border: '1px solid gray', borderRadius: '5px', color: 'gray', height: '25px', marginLeft: '15px' }} />

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

Your Environment

Tech
Version

Material-UI
0.18.7

React
15.5.4

browser
Safari 11

etc
Issue 1:
Does nextJS provide sourcemaps for dev? I added a debugger statement to my code and when It breaks in console, it just shows null as my code.

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

Expected Behavior

The sourcemap should be used and my actual code should show

Current Behavior

See above

Steps to Reproduce (for bugs)

Context

Makes debugging really challenging

Your Environment

Tech
Version

next
3.2.1

node
8.4.0

OS
Win 10 Pro

browser
Chrome Version 61

etc

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

Expected Behavior

I would expect to see the source map in the dev tools of Chrome.

Current Behavior

Steps to Reproduce (for bugs)

With Material-UI:

git clone git@github.com:callemall/material-ui.git

cd material-ui

git checkout v1-beta

yarn

yarn docs:dev

Or with a simpler project: https://github.com/callemall/material-ui/tree/v1-beta/examples/nextjs.

Context

I have first noticed this issue on a project at work.

Hopefully, I was able to nail down the npm release that introduced the issue by a bisection between the v1.0.0-beta.6 release and v1.0.0-beta.7 release of Material-UI.

I'm also able to reproduce the issue on a simpler example, the nextjs example of Material-UI.

So, it's 3 independent projects impacted by the issue. I do think that it's a strong SNR ratio.

Your Environment

Tech
Version

next
v3.2.1

node
v8.1.4

OS
MacOs

browser
Chrome
Issue 1:
The following code:

static ASCII_SPACE: u8 = b' ';
static ASCII_SAVE_MIN: u8 = 33;
static ASCII_SAVE_MAX: u8 = 255;

fn parse_byte(c: u8) {
match c {
ASCII_SAVE_MIN .. ASCII_SAVE_MAX => { },
ASCII_SPACE => { },
_ => { }
};
}

fn main() { }

results in this compiler error:

<anon>:7:9: 7:41 error: mismatched types between arms
<anon>:7 ASCII_SAVE_MIN .. ASCII_SAVE_MAX => { },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
playpen: application terminated with error code 101

Changing the literal for ASCII_SPACE makes it compile:

- static ASCII_SPACE: u8 = b' ';
+ static ASCII_SPACE: u8 = 22;

Issue 2:
I would guess it doesn't go (properly) through const eval, causing weird errors like this one:

static MAX: uint = -1;
match 0 {
1u..MAX => {}, // error: mismatched types in range
_ => {}
}

If the value of MAX is changed to -1u, the code compiles, showing that match checking looks at the value of the static MAX but not at its type or computed value.

Further experimentation - using -1 as uint for MAX - produces this ICE:

error: internal compiler error: node_id_to_type: no type for node `expr -1 as uint (id=26)`
Issue 1:
Describe the bug

When I load .glb file in creat-react-app , i just use three.js@136, but i can't see it in my iphone.It's catch error "response.body.getReader".

When i use three@133, I load it successfully. I search the document, I think it's changed FileLoader with Fetch Api in three@134.

Code

// code goes here
let gltfLoader=new GLTFLoader()
gltfLoader.load(
"xxx.glb",
(gltf) => {
scene.add(gltf.scene);
},
undefined,
(error) => {
console.info(error);

// reject(error);
}
);

Platform:

Device: Mobile

OS:IOS

Browser: Chrome

Three.js version: [dev, r134]

Issue 2:
[TypeError: undefined is not an object (evaluating ‘response.body.getReader’)]

Above error is produced when load function of any loader ( like GLTFLoader or ObjectLoader ) is called.

Platforms tested on:

Mobile - iPhone

OS: iOS, MacOS

Three.js version 0.135.0

expo-three version 6.0.1

expo-gl version 11.0.3

expo version 43.0.2

react version 17.0.1

react-native version 0.64.3

Sample Code:

const asset = Asset.fromModule(
require("./assets/v_knife_karam/v_knife_karam.gltf")
);
await asset.downloadAsync();

const loader = new GLTFLoader();

loader.load(
asset.uri,
(gltf) => {
// model = gltf.scene;
scene.add(gltf.scene);
},
(xhr) => {
console.log(`${(xhr.loaded / xhr.total) * 100}% loaded`);
},
(error) => {
console.error("An error happened", error);
}
);

Error : [TypeError: undefined is not an object (evaluating ‘response.body.getReader’)]
Issue 1:
Using electron > 0.32.0 makes inline style corrupt that contain float values.

Running the following code in the console:

window.location = "http://www.google.com";
document.querySelector('.content').style.paddingBottom = "100.50px";

Will print "100.50px", but if I re-query the value:

document.querySelector('.content').style.paddingBottom

It will print "100,50px" instead?! Also, looking in the elements tab and selecting the "class=content" node, shows the css value with a warning sign and "Invalid property value" note. How come that the "." is changed to ","?

It worked until electron 0.31.2.

I'm running OS X 10.10.5 with Swedish system language.

Issue 2:
Since version 0.32.0 when I do something like that :

angular.element(document.querySelector('#something')).css('height', '0.5px');

or

$('#plop').css('transition', 'all 0.5s linear');

The result in the DOM is height: 0,5px or transition: all 0,5s linear

If you want to reproduce the bug is pretty simple :

<body>
<div id="plop"></div>
<script>
var $ = require('./dist/js/jquery.min.js');
$( document ).ready(function() {
$('#plop').css('transition', 'all 0.5s linear');
})
</script>
</body>

I use the prebuilt osx
Issue 1:
I have Webupd8 has a PPA here. But it doesn't get very frequently updated. It'd be great to have a PPA by the atom folks themselves, so when the publish a new release on GitHub, they can push it to the PPA as well.

Issue 2:
BuildingASourcePackage

Uploading

Seems like it's a matter of having the right key installed on the right box, and running

debuild -S -sa
dput ppa:atomeditor/ppa <filename>.changes

Relevant, of course is the Ubuntu Packaging Guide
Issue 1:
Hi

I create the new "typescript" project.

I generate the description file for the app.ts by tsp --target es5 -d app.ts

I immediately receive the duplicate identifier error.

I am not sure how to deal with this issue as I want to have both implementation and description files in my project.

Here are the files app.ts

class Greeter {
element: HTMLElement;
span: HTMLElement;
timerToken: number;

constructor(element: HTMLElement) {
this.element = element;
this.element.innerHTML += "The time is: ";
this.span = document.createElement('span');
this.element.appendChild(this.span);
this.span.innerText = new Date().toUTCString();
}

start() {
this.timerToken = setInterval(() => this.span.innerHTML = new Date().toUTCString(), 500);
}

stop() {
clearTimeout(this.timerToken);
}

}

window.onload = () => {
var el = document.getElementById('content');
var greeter = new Greeter(el);
greeter.start();
};

and app.d.ts

declare class Greeter {
element: HTMLElement;
span: HTMLElement;
timerToken: number;
constructor(element: HTMLElement);
start(): void;
stop(): void;
}

Issue 2:
I have object with function like this

db.query({ /* queryParameter */ },function(err,data) { });

So I write jsdoc for pass this object in my function. And it got error

Also jsdoc is not support both @typedef and @callback so I got stuck here
Issue 1:
Updated from v92 to v110 and have flicker on the edges. I use PlaneBufferGeometry with null z values to represent unknown elevations(holes). The sparse grid shows a flicker where the nulls' edges are. Was not seen with flatShading: true or v92:

I know you are going to say NaN are not supported in geometries, but any chance you could fix this or point me in proper direction?

Three.js version

Dev

[x ] r110

...

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

macOS

Linux

Android

iOS

Hardware Requirements (graphics card, VR Device, ...)

Issue 2:
Samsung S3 Android 4.3 Chrome Dev.

the video vr example http://threejs.org/examples/#webvr_video

Click Enter VR

Presenting triggers an error. Should it fallback to sending the canvas fullscreen here for cardboard device view ? In WebVR 1.0 it tries to use the new API for presenting to displays.

VREffect.js:221 Uncaught (in promise) DOMException: VRDisplay cannot present
Issue 1:
t = pd.DataFrame(np.random.uniform(0,1,[100,100]),index=np.random.uniform(0,1,100)).rolling(10).apply(lambda x: x.argmax()).tail()``

The above code shows only integer values. However, the index defined is solely in floats (no integers).

0 1 2 3 4 5 6 7 8 9 ...

0.886683 1.0 4.0 1.0 7.0 3.0 6.0 2.0 7.0 5.0 4.0 ...

0.932133 9.0 3.0 0.0 6.0 2.0 9.0 1.0 6.0 4.0 3.0 ...

0.555330 8.0 2.0 4.0 5.0 9.0 8.0 0.0 5.0 3.0 2.0 ...

0.369954 7.0 1.0 3.0 4.0 8.0 7.0 5.0 4.0 2.0 1.0 ...

0.793682 6.0 0.0 2.0 3.0 7.0 9.0 4.0 3.0 1.0 0.0 ...

The reason here is that what gets passed into the rolling data frame is a ndarray and not a data frame so access to the index isn't possible. This limits the rolling function's usefulness especially when dealing with time series data where the index can matter a lot.

Output of pd.show_versions()

INSTALLED VERSIONS

commit: None

python: 3.6.3.final.0

python-bits: 64

OS: Windows

OS-release: 10

machine: AMD64

processor: Intel64 Family 6 Model 158 Stepping 9, GenuineIntel

byteorder: little

LC_ALL: None

LANG: en

LOCALE: None.None

pandas: 0.20.3

pytest: 3.2.1

pip: 9.0.1

setuptools: 36.5.0.post20170921

Cython: 0.26.1

numpy: 1.13.3

scipy: 0.19.1

xarray: None

IPython: 6.1.0

sphinx: 1.6.3

patsy: 0.4.1

dateutil: 2.6.1

pytz: 2017.2

blosc: None

bottleneck: 1.2.1

tables: 3.4.2

numexpr: 2.6.2

feather: None

matplotlib: 2.1.0

openpyxl: 2.4.8

xlrd: 1.1.0

xlwt: 1.3.0

xlsxwriter: 1.0.2

lxml: 4.1.0

bs4: 4.6.0

html5lib: 0.9999999

sqlalchemy: 1.1.13

pymysql: None

psycopg2: None

jinja2: 2.9.6

s3fs: None

pandas_gbq: None

pandas_datareader: None

Issue 2:
Returning a Series: http://stackoverflow.com/questions/19121854/using-rolling-apply-on-a-dataframe-object

Returning a Scalar: http://stackoverflow.com/questions/21040766/python-pandas-rolling-apply-two-column-input-into-function/21045831#21045831
Issue 1:
[Router 3.0.0-beta.2] "data" parameter exists in Route and we can pass static data through route definition, but unable to pass dynamic data through RouteLink or navigate method of Router.

Issue 2:
Is it possible to navigate to an URL and give a json object to it?

As:

// exactly like @RouteConfig
this.router.navigateByUrl('/path', { data: { entity: 'entity' } })

Best regards,

Tiago Braga
Issue 1:
Philippe Marschall opened SPR-9316 and commented

AutowiredAnnotationBeanPostProcessor.determineRequiredStatus uses ReflectionUtils.findMethod to look up a method named "required". If there is no such method then ReflectionUtils.findMethod returns null. However AutowiredAnnotationBeanPostProcessor.determineRequiredStatus never checks for null instead it directly passes the method to ReflectionUtils.invokeMethod which throws a NullPointerException which is then caught in a catch (Exception ex) block in AutowiredAnnotationBeanPostProcessor.determineRequiredStatus.

Annoations that don't have a method named "required" include @Inject @Value @Resource.

This is not so nice for several reasons:

when you debug one of your own NullPointerExceptions and set an exception breakpoint on NullPointerException you end up in Spring code

it uses NullPointerExceptions and catching them as part of normal control flow

filling in the stack trace of an exception is slow

Affects: 3.1.1

Issue Links:

#14001 AutowiredAnnotationBeanPostProcessor.determineRequiredStatus(Annotation) throws NullPointerException if method wasnt found. ("is duplicated by")

Referenced from: commits 26ee0c4, 2624b90, 46bdb2d

Issue 2:
Arjen Poutsma opened SPR-7803 and commented

Something like:

RestTemplate template = new RestTemplate("http://twitter.com");
template.GetForObject<string>("/statuses/user_timeline.xml?screen_name={id}", "poutsma");

Issue Links:

#17627 Ability to prefix each RestTemplate request using some kind of UriPrefixingClientHttpRequestFactory ("duplicates")
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

If the "Collapse" transition has finished, the content / children should be in the final position / layout.

To Reproduce you need the following composition:

A Collapse with an Input inside, which has a IconButton as Adornment.

Without the IconButton, everything works fine.

Current Behavior

After the transition, the input jumps a little bit downwards, when you are enter the first character.

Steps to Reproduce (for bugs)

https://codesandbox.io/s/l3rvkxkvr7

click on button collapse

enter a character

input is moving / jumping around

Context

Your Environment

material-ui@1.0.0-beta.32

Issue 2:
Description

I have a hard time indicating that the website is making a server request and the user might wait and at the same time prevent the user from clicking login again. Some of our users repeatedly click login if the server responds slowly.

It cloud be an excellent feature if the button could expect at "loading" prop. When the button is passed loading={true} it should disable interaction and indicate it is loading.

I am currently using material-ui@next in a project which is planned to be put into production soon :-) Great progress :-)!

Images & references

Screenshots is taken from https://vuetifyjs.com/components/buttons (Loaders section).
Issue 1:
I originally opened #2333 which was supposed to be resolved by #2150 but I am still seeing the issue in 0.5

Environment

Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0

Steps to reproduce

Set showTabsInTitlebar to true.

Expected behavior

Actual behavior

When showTabsInTitlebar is false

Issue 2:
Steps to repro:

Open cmd.exe or Powershel.exe

Press Win+. in order to open the Emoji Picker overlay

Click on any emoji, multiple times, until the console crashes
Issue 1:
I'd like to add a method to os/exec.Cmd to ease setting environment variables on commands before they're run.

Manipulating Env []string lists is tedious and error-prone, especially considering potential duplicates. (since programs would others choose either the first or last occurrence, unpredictably)

The proposed Cmd.SetEnv(key, value string) method would be documented as removing duplicates.

On Windows, environment variables are case-insensitive, so the method on Windows should de-dup case insensitively.

This method would replace a handful of copies of func mergeEnvLists that exist in various forms around the standard library, tests, and x/* repos.

/cc @ianlancetaylor @adg @rsc @griesemer @robpike

Issue 2:
I am working in a severely bandwidth-limited environment and am trying to strip down the
http responses generated by net/http. I would like to prevent the Content-Type and
Connection headers from being inserted into the http response. (The Connection header
should be safe to remove at least for HTTP/1.0 requests.) It does not currently seem
possible.

I would ideally like this to remove the Content-Type and Connection headers (it
currently works for removing the Date header):

header := resp.Header()
header["Content-Type"] = nil
header["Connection"] = nil

As a bonus bug:

header["Content-Type"] = []string{""}

causes duplicate Content-Type headers in the response:

HTTP/1.0 200 OK
Content-Type:
Content-Type: text/plain; charset=utf-8
Content-Length: 0
Connection: close

I would be happy to write a patch for this, if so desired.

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

1.1.1
Issue 1:
col-md-12 don't have the css attribute float:left like others columns.

The behavior is different (margin, padding, position ...)

Issue 2:
Example:

`

.col-xs-6 .col-md-4

.col-xs-6 .col-md-4

.col-xs-6 .col-md-4

`

see: http://stackoverflow.com/questions/18428450/bootstrap-3-layout-with-panel-display-not-correct-on-small-device/18433782
Issue 1:
Original ticket http://projects.scipy.org/scipy/ticket/534 on 2007-11-06 by @nilswagner01, assigned to unknown.

python /data/home/nwagner/local/lib64/python2.3/site-packages/scipy/io/tests/test_mio.py
Traceback (most recent call last):
File "/data/home/nwagner/local/lib64/python2.3/site-packages/scipy/io/tests/test_mio.py", line 25, in ?
class TestMIOArray(NumpyTestCase):
File "/data/home/nwagner/local/lib64/python2.3/site-packages/scipy/io/tests/test_mio.py", line 235, in TestMIOArray
format = case in case_table4 and '4' or '5'
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Issue 2:
In the documentation for rv_continuous, there is a clear note that only positive arguments are valid by default. However, such note is missing for rv_discrete. This is quite unintuitive and I would have like to be warned of that behavior instead of getting a ValueError: Domain error in arguments. exception.

While I understand it's not always a good idea to duplicate documentation, I think it'd be worth it to add a small note in the rv_discrete to remind readers of this fact, instead of just saying: “This class is similar to rv_continuous”.

I'm happy to send a pull request to support this issue.
Issue 1:
I18n is essetial i think so:

ICU/Intl is require but there is a problem in JS word to using i18n:

There is no valid implementation ISO for Intl. It's wired implementation for JS.

It's not the entire ICU library it's just simple the implementation that not cover all use cases.

There is no parser for Convert none Georgian calendar to Standard Unix time or Standard Date Object. and etc.

Access standard CLDR data (json output: https://github.com/unicode-cldr/cldr-json). List of valid locales and currency/calendar and etc ...specs... why it's not essential part of JS core ? I donno !!!

https://stackoverflow.com/questions/29961992/javascript-intl-datetimeformatter-as-iso-8601custom-output-pattern

https://medium.com/@semnanweb/javascript-intl-fails-da3cda114370

I suggest to see PHP implementation instead of Using same problem for JS

https://www.php.net/manual/en/book.intl.php

C library:

https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/

CLDR data:

http://cldr.unicode.org/

Issue 2:
As seen in #1952 / #1636 ICU needs to be added in Deno build.

Switching this flag to true maybe: https://github.com/denoland/deno/blob/master/.gn#L50 ?

ref: https://v8.dev/docs/i18n
Issue 1:
I've noticed that when opening/closing a modal box causes a little flicker on Chrome, so I realized that the cause of that is the next couple of lines in the CSS stylesheet for the .modal.fade .modal-dialog:

-webkit-transition: -webkit-transform 0.3s ease-out;
-moz-transition: -moz-transform 0.3s ease-out;
-o-transition: -o-transform 0.3s ease-out;
transition: transform 0.3s ease-out;

Issue 2:
This issue has been bouncing around a bit; basically, on my modal dialogs, I see a bit of "flicker" (the content rapidly appearing/disappearing) when hiding or unhiding the dialog.

I was able to capture some of it in a screen capture:

https://vimeo.com/73808307

It is most visible when closing the dialog.

This is on Mac 10.7.5 and Chrome 29.0.1547.65.
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.7.5-SNAPSHOT

Operating System version: macos 10.15.2

Java version: openjdk 11.0.5

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

Operating System version: centos

Java version: 1.8

Steps to reproduce this issue

Dubbo在构建服务调用参数信息时，现有的TypeDefinition无法对FastUtil中的Map进行解析。

例如，FastUtil中的Int2ObjectMap的getActualTypeArguments参数长度为1，MapTypeBuilder会对长度进行校验，导致抛出IllegalArgumentException异常。

TypeBuilder是支持SPI扩展的，可以自定义实现支持FastUtil的Builder，但是由于TypeBuilder中没有定义优先级顺序，因此在TypeDefinitionBuilder无法提升自定义TypeBuilder的优先级，导致无法构建相应参数定义信息。

异常信息：

[ServiceDefinitionBuilder] Map type [it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.shorts.ShortList>] with unexpected amount of arguments [[Ljava.lang.reflect.Type;@38866769].[interface it.unimi.dsi.fastutil.shorts.ShortList]
Issue 1:
all it does is close and update, never restarts for me.

Tested with .193 => .196

Issue 2:
Using the Restart and Update button on the release notes view doesn't properly restart and update. Atom closes, but it never restarts. When launched again, it hasn't updated. Restart and update from the Atom Menu works fine.

2010 iMac, OSX 10.10.2