WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
I have executed the following code with Electron v6.0.0-beta.3.

And when I clicked the button on the form it crashed.

Apparently, there is a problem with the execution of .

Do you have any one who knows the solution?

Regards.

<html>
<body>
<form action="cgi-bin/abc.cgi" method="post" enctype="multipart/form-data">
<p>
<input type="file" name="datafile">
</p>
<p>
<input type="submit" value="send">
</p>
</form>
</body>
</html>

Issue Details

Electron Version:

v6.0.0-beta.3

Operating System:

Windows 10 Enterprise (1803)

Last Known Working Electron version::

v5.0.1

Issue 2:
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 an issue that matches the one I want to file, without success.

Issue Details

Electron Version:

(output of node_modules/.bin/electron --version) e.g. 11.0.3

Operating System:

(Platform and Version) e.g. macOS / Windows 10

Last Known Working Electron version:

Expected Behavior

Render PDF in BrowserWindow and webview for all partition

Actual Behavior

Renders PDF in default partition and partition with persist:

but does not work for partitions without persist:

eg:

{partition: 'somepartition'}

To Reproduce

Please use this modified template to verify

https://github.com/AbyAbyss/electron-quick-start.git

If you provide a URL, please list the commands required to clone/setup/run your repo e.g.

$ git clone https://github.com/AbyAbyss/electron-quick-start.git
$ npm install
$ npm start

Screenshots

Additional Information
Issue 1:
Environment

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

Steps to reproduce

# open Terminal with powershell
# open git repo with more than 100 commits
git log -100 # to fill in the entire screen with text
Clear-Host
# scroll up

Expected behavior

Cannot scroll up, Clear-Host cleared the terminal, all previous output is gone.

Actual behavior

Scrolling up shows previous output. This repros with both Powershel 6.2.3 and 5.2.1.

This does not happen with the powershell terminal, which correctly removes all previous output.

Issue 2:
Environment

Windows build number: 10.0.19013.0
Windows Terminal version: 0.6.2951.0

Steps to reproduce

SSH to a linux. I tired centos7.

Maximize the windows terminal window.

Enter a command which print something to the terminal. for example "ls".

Restore down the window.

keep pressing enter to create new lines.

Expected behavior

Nothing happens.

Actual behavior

Previous message is shown again.
Issue 1:
On Material UI Next, the Select component behaves different from Material UI 0.19.

On the old version, you could open the select box, and type to select an option, then press enter to select the option.

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

Expected Behavior

Opening the select box and typing one of the valid options should highlight said option and pressing enter should select it.

Current Behavior

Typing / pressing enter doesn't select anything, but it used to work under Material UI 0.19

Steps to Reproduce (for bugs)

https://material-ui.com/demos/selects/

Click on Age

Type "Twenty" and press enter

Try the same thing on the Native Select component below.

Do the same steps on http://www.material-ui.com/#/components/select-field (It works here)

Context

This small feature help users with navigation / selecting. It's expected behaviour in that component.

Your Environment

It doesn't really matter, you can replicate on the Material UI Next website.

Issue 2:
I open the same popover in a small browser window on PC and on mobile. On PC the popover fits page width (if I stretch the window it becomes bigger), has padding etc. On mobile it goes over the edge of the screen.

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

Expected Behavior

Same as on PC:

Current Behavior

Your Environment

Tech
Version

Material-UI
1.0.0-beta.19

React
16.0.0

browser
Chrome
Issue 1:
Hello everyone,

Would it be useful to have something like numpy.stats on the grounds of scipy.stats.describe ?

Though a simple implementation, I believe it would be very handy for Numpy users. More information on scipy.stats.describe here : https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.describe.html .

Thanks

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/1172 on 2009-07-15 by trac user etu, assigned to unknown.

a = array([-128], int8)

a

array([-128], dtype=int8)

abs(a)

array([-128], dtype=int8)
Issue 1:
Description of the problem

Not sure if this is the same bug or two different.

Whenever SkinnedMesh origin is out of camera frustum, the mesh gets culled even if its actual transformed geometry must be visible on the screen.

Seems like the bounding box used for clipping is not updated with animation.

Same happens for shadows.

When the SkinnedMesh moves away from its origin in light space, its shadow gets clipped/partially clipped by pointlight's perspectivecamera (I guess).

Here's an example in jsfiddle:

https://jsfiddle.net/vtb6z50j/

Sorry for inline json. The example was dependent of viewport dimensions. Fixed.

And its not light.shadow.camera.far, light.shadow.radius bug.

Actually the use case for this was to make a complete animation in any 3d editor (blender in my case) just to play it as is in three.js. So the character isn't moved by mesh.position, there is no need to sync movement/animation and hardcode movement positions.

It just plays baked animation!

Update: yes, making frustumCulled = false does fix both problems (which is enough for me to continue),

but most engines update object bbox with root motion/transforms.

Update2: actual temporary fix #11991 (comment)

Three.js version

r87

r85

Browser

Firefox

OS

Windows

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

Issue 2:
Description of the problem

Hi,

I've been playing around with a model for a while, and noticed that if I load it in three.js and zoom closely to the head, it disappears, along with the helmet.

I'm sure it's not the clipping field, because they disappear suddenly, from one frame to another.

I'm also sure this bug is not limited to @donmccurdy 's gltf viewer ( https://gltf-viewer.donmccurdy.com/ ), as I tested it in a project made from scratch recently, and the bug appears there, too.

It works flawlessly in the babylon sandbox: http://sandbox.babylonjs.com/, so I believe this has something to do with three.js.

Also, I think it has something to do with the fact that the mesh is skinned. If I apply the armature pose in blender before exporting, then the model appears correctly in three.js as well.

I attach a zip with 2 model files, one with skin, the other one with the applied pose:

player.zip

Three.js:

Babylon.js:

Three.js version

Dev

r94

...

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.

Expected Behavior

All Icons of the bottom navigation should be in one row.

Current Behavior

On Firefox on iOS the last icon of the bottom navigation escapes the row of icons. See picture attached. This behavior is only seen in Firefox on iOS

Steps to Reproduce (for bugs)

goto: demo.cliniserve.de -> start -> 541661-> next

Context

Your Environment

This error only occures on Firefox on an iOS device (iPhone 6)

Tech
Version

Material-UI
0.20.0

React
15.6.2

browser
Firefox on iOS

etc

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

Expected Behavior

In Chrome it works as expected. 👌

The text on an input field is not stripped.

Current Behavior

In Firefox, the text on an input field is bottom stripped for some letters. 'g/y/j/p/q' for instance.

Steps to Reproduce (for bugs)

Go to the MaterialUI Next website

On the first field, type some: "The letters gyjpq in Firefox".

You'll see the bottom of the "gyjpq" are stripped.

Context

As an extra, one thing I noticed is:

The letters are bottom stripped.

But if you select the text, then the issue is "solved" the text is perfectly aligned. (unless you append some more text).

Your Environment

Tech
Version

Material-UI
1.0.0-beta.21

React
15.4.2

browser
Firefox Quantum 57.0 (64-bit)
Issue 1:
I think it would be possible for Deno to support ARM as rust can be compiled for ARM architecture devices

Issue 2:
I was originally excited about the security-consciousness of deno, but I am now struggling to see the benefit.

It strikes me that the security is too broad-grained in two ways:

It tries to make do with ± five flags something that other approaches need a much more elaborate vocabulary to pull off (e.g. Apple's sandboxing or SELinux). And with the current flags it seems there has already been discovered some uncomfortable overlap between e.g. "file" access vs. all other access under many OSes.

It is process-level. I guess it's handy to not trust someone else's executable as much, but honestly how much "other people's code" we use these days doesn't semi-legitimately need --allow-write and --allow-net access? That's usually been the point of most tools we have to use, git and heroku and kubectl and certbot not to mention webpack with @babel/preset-env…

Putting the two together… isn't it the operating system's job to privilege processes? With some googling and platform-specific shell-fu, couldn't I already prevent pretty much anything I launch from gaining net access if I cared to?

What would seem a lot more useful problem to solve, if deno could, is per-import privileges. My process as a whole needs a lot of access. But the helper libraries it imports often don't. (left-pad, event-stream… the current --allow flags actually seem more appropriate at that level… my server needs everything but some parser it uses needs nothing.)
Issue 1:
Q
A

Bug report?
yes?

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
3.3.10

Given

use Psr\Log\LoggerInterface;
class Some {
public function __construct(LoggerInterface $logger) { }
}

services:
_defaults: { autowire: true, autoconfigure: true, public: false }
Ns\Some:
tags: [ { name: monolog.logger, channel: my_channel } ]

I get the app channel logger. However if i add

Ns\Some:
arguments: { '$logger' : '@logger' }
tags: [ { name: monolog.logger, channel: my_channel } ]

I get the my_channel logger. Can we improve that?

Issue 2:
It looks like the MonologBundle has a priority too high, and runs too early, applying channel tagging before that the services have been autowired.

In my case :

services:
_defaults:
autowire: true
autoconfigure: true
public: false
tags:
- { name: monolog.logger, channel: technical }

AppBundle\Manager\:
resource: '../../../src/AppBundle/Manager'

My loggers inside my managers are not handled with technical channel.

But if i change the service definitions by :

AppBundle\Manager\:
resource: '../../../src/AppBundle/Manager'
arguments:
- '@logger'

it works.

So it looks like MonologBundle find the tag, but there is no logger inside the service to be overridden. Then, the autowiring will run and will put the default logger inside my services, ignoring the tagging.
Issue 1:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gce-serial/214/

Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:279
Oct 23 15:35:49.303: CPU usage exceeding limits:
node jenkins-e2e-minion-group-r7vu:
container "kubelet": expected 95th% usage < 0.220; got 0.234
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:188

Previous issues for this test: #26982 #33994 #34035

Issue 2:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-soak-continuous-e2e-gce/6512/

Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Sep 7 04:56:39.012: Memory usage exceeding limits:
node jenkins-e2e-minion-group-4yze:
container "kubelet": expected RSS memory (MB) < 83886080; got 85123072
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153

Previous issues for this test: #26982
Issue 1:
Alvin Chee opened SPR-7241 and commented

If current request context is en_US, and no theme_en_US.properties specified (or no key specified in theme_en_US.properties), it should fallback to theme_en.properties, then theme.properties.

<bean id="themeSource" class="org.springframework.ui.context.support.ResourceBundleThemeSource">

<property name="basenamePrefix" value="theme_" />

</bean>

<bean id="themeResolver" class="org.springframework.web.servlet.theme.SessionThemeResolver">

<property name="defaultThemeName" value="en_US"/>

</bean>

Affects: 2.5.6

Issue Links:

#11911 ResourceBundleThemeSource should resolve *.properties like ResourceBundleMessageSource ("duplicates")

Issue 2:
Alvin Chee opened SPR-7252 and commented

If current request context is en_US, and no theme_en_US.properties specified (or no key specified in theme_en_US.properties), it should fallback to theme_en.properties, then theme.properties.

<bean id="themeSource" class="org.springframework.ui.context.support.ResourceBundleThemeSource">

<property name="basenamePrefix" value="theme_" />

</bean>

<bean id="themeResolver" class="org.springframework.web.servlet.theme.SessionThemeResolver">

<property name="defaultThemeName" value="en_US"/>

</bean>

Affects: 3.0.2

Issue Links:

#11900 ResourceBundleThemeSource should resolve *.properties like ResourceBundleMessageSource ("is duplicated by")
Issue 1:
#[static_assert]
static X: bool = true;

fn main() {}

static-assert.rs:2:1: 2:23 warning: code is never used: `X`, #[warn(dead_code)] on by default
static-assert.rs:2 static X: bool = true;
^~~~~~~~~~~~~~~~~~~~~~

These might not be used directly in the rest of the code, but they are still serving a concrete purpose, i.e. they are being semantically used.

Issue 2:
#[static_assert]
static a: bool = 1 == 1;

fn main() {
}

/tmp/sa.rs:2:1: 2:25 warning: code is never used: `a`, #[warn(dead_code)] on by default
/tmp/sa.rs:2 static a: bool = 1 == 1;
^~~~~~~~~~~~~~~~~~~~~~~~
Issue 1:
Challenge Waypoint: Add Borders Around your Elements has an issue.

User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36 OPR/32.0.1948.25.

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

p.s. I am using opera browser and it doesn't work here... the same thing works in chrome.

My code:

<link href="http://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;
}

.smaller-image {
width: 100px;
}

.thick-green-border { border-color: green; border-width: 10px; border-style: solid; }
</style>

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

<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat">

<p class="red-text">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>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Issue 2:
Challenge http://freecodecamp.com/challenges/waypoint-add-borders-around-your-elements has an issue. "Give your image a border width of 10px doesn't work.
Issue 1:
I noticed that ByteSizeValue allows any input value, including negative values.

When it comes to serializing it though, we use writeVLong which starts with an assertion assert i >= 0;. I suspect this is the reason why in some cases we do not use ByteSizeValue instance but plain long values instead, in places like OsStats (because we default to -1 which cannot be serialized) and we end up creating a new ByteSizeValue instance on demand for each get call.

Should we change the way we serialize it or shall we introduce some validation at construction time in ByteSizeValue?

Issue 2:
See the discussion on #19717

The stats api has some problems, which makes it hard to safely add new statistics or even keep the current ones working:

ByteSizeValue is currently used, but its not obvious how to handle "unsupported" or "unbounded" cases, while at the same time using this API. doing "interpretation" to 0 is confusing. Using ByteSizeValue itself, well, its totally unclear about what values it supports. Does it really support negatives? Does it really support -1? In one method you can see logic for e.g. -1, in other methods you can see they will be clearly broken if the value is negative. I assume there are missing unit tests as well as missing checks and missing docs and bugs.

Stats have missing unit tests. It would be flaky to test the results from the jvm, but simple unit tests can be written for e.g. serialization/deserialization logic. This is easy to do and plain old POJO testing, it can ensure all possible range of values (including exceptional cases) will work correctly.

The wrapper POJOs are missing docs. This makes it hard to work the code, since its not easy to correlate them to the MBean where they come from, and the methods on them to which mbean methods returned that piece of data. Adding @see can help, as well as trying to improve the consistency of naming...

Too much leniency: lots of catch (Exception) and allowing things to be null that are unnecessary. For example ManagementFactory methods document whether or not something is guaranteed to be there in the jvm, we shouldn't allow these to be null or catch Exceptions. If its not guaranteed, sure, but those are special cases. This leniency hides the fact, for example, that classloader statistics are currently just "dropped" across the wire.

I closed that PR because i don't think we should be piling on more statistics until we fix this stuff...
Issue 1:
Problem description

Loading steps dynamically seems to not be possible.

I have an array of simple steps and I'm just trying to display them but when I do it I get an error

In Stepper.js?724d:109

Uncaught TypeError: Cannot read property 'props' of null

Link to minimal working code that reproduces the issue

My code is something as simple as that:

var steps = [{stepLabel: 'a'}, {stepLabel: 'b'}];
<Stepper>
{steps.map(step => {
<Step>
<StepLabel>{step.stepLabel}</StepLabel>
</Step>;
})}
</Stepper>;

It looks liks I cannot put the smallest amount of JS between and , even and console.log() would make it fail. I have no idea why this would happen ...

Versions

"material-ui": "^0.18.2",

"react": "^15.5.4",

Thanks a lot for your help ...

Issue 2:
Problem description

I have a responsive layout for Stepper in which if the media query is mobile size it will have a vertical orientation and if tablet and above will render a horizontal orientation. The problem is that Stepper component will issue an error if I will place a conditional statement on StepContent and if I don't an annoying warning will be shown on console. I know this will be removed in production but it shows an annoying warning when doing unit tests.

Link to minimally-working code that reproduces the issue

<Stepper activeStep={stepIndex} orientation={isVertical ? 'vertical' : 'horizontal'} linear={false}>
<Step>
<StepButton onTouchTap={() => this.setState({stepIndex: 0})}>User</StepButton>
{isVertical &&
<StepContent>
{getContent(stepIndex)}
</StepContent>
}
</Step>
</Stepper>

Error

Versions

Material-UI: Latest

React: Latest

Browser: All
Issue 1:
When using the FancyZones Editor, it would be nice to enable a "snap to grid" functionality where the user can define a preset number of rows and columns, so that lining up Focus Zones is easier (and lined up).

Issue 2:
ℹ Computer information

PowerToys version: v0.20.1

PowerToy Utility: FancyZones

Running PowerToys as Admin: Yes

Windows build number: Version 1903 (OS Build 18362.900)

📝 Provide detailed reproduction steps (if any)

Open Visual Studio

Drag out a tool so it becomes a window while activating FancyZones (this could be the solution explorer)

✔️ Expected result

FancyZones activates and allows me to drop the tool window on one of the zones.

❌ Actual result

FanzyZones does not activate.

📷 Screenshots

No

Additional info

A Workaround is to drag out an open document/file so it creates a "document window? / application window?" and then use that window to dock tools in.

Drag out a open document/file.

Drop the window on a desired fancy zone.

Drag the tool and dock it on the "document window? / application window?"

From here I can drag the document/file back to the main window or close it, the new window created from this process remains as drop-able on fancy zones.

On a side note, this works for Dell's display manager so it should be possible to make work.
Issue 1:
I'm submitting a ... (check one with "x")

[x] bug report
[x] feature request

Current behavior

There are markAs methods that can manipulate a form's internal validation state. These are highly useful. However, they propagate to children only sometimes.

The following methods also mark their children:

markAsUnTouched

markAsPristine

These methods do not mark their children:

markAsTouched

markAsDirty

I'm not even sure what this method is for...

markAsPending

Expected behavior

All methods to mark validation should interact with their groups either always or optionally.

Alternatively, some basic iteration machinery should be introduced so that we may instrument our own state changes easily.

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

For example; I want to show validation when loading a record from the DB but I would prefer not to show validation when creating a new record. It would be convenient to to mark everything as dirty or at least touched (as my validation would key off of those states) at the form level.

Conceptually, considering the semantic meaning of FormGroup, it seems if a parent control is marked as dirty that would indicate the children are dirty as well. The same reasoning which was originally used to implement reset() and the other markAs functions that handle their children.

Angular version: 2.0.0

Browser: all

Language: all

Issue 2:
It would be nice to have the possibility to explicitly call a .validate() method on a ControlGroup.

Starting with an invalid form just because the user still hasn't entered anything isn't always ideal.

In your forms guide it's quite convenient to start out with a populated model, hence you don't need to check !field.dirty or !field.touched in the view.

Please see my video or check out my ng2_play repo, it's always easier to show the problem.