WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Describe the bug

This appears to be the core issue behind google/model-viewer#2915

It seems that something about a recent materials change has caused shader compilation on my PC to take ~10x(!) longer than it used to. If I were to guess at why I'd say that it's probably the DirectX shader compiler hitting a pathological case that wasn't there before and trying to do an insane loop unroll or something of that nature.

To Reproduce

Steps to reproduce the behavior:

git checkout r132

Open examples/webgl_animation_keyframes.html

Observe load time

git checkout r133

Refresh examples/webgl_animation_keyframes.html

Observe (much longer) load time

With r132 I get the following recording from the performance tab in Chrome dev tools (though it's worth noting the same regression is also observable when using Firefox):

You can see that the largest block of work on the main thread takes ~500ms. It bottoms out at a bunch of getProgramInfoLog calls and a couple of texImage2D calls that all take about 20-50ms.

With r133 the recording looks significantly different. There are multiple calls to getProgramInfoLog that take ~150ms each and one particularly long one that takes 3+ seconds! In total, the block of work that represents to model's upload to the GPU takes nearly 5 seconds to complete, a 10x increase between versions (and consistent with what was seeing.)

Platform:

Device: Desktop, Intel Core i7-10700K, Nvidia GTX 1660 Super

OS: Windows 11

Browser: Chrome Canary 97.0.4685.2, Firefox Nightly 95.0a1

Three.js version: r133

Issue 2:
Describe the bug

The introduction of SRGB8_ALPHA8 in #22551 improved the render quality of sRGB textures, but also added significant synchronous conversion times that block the main thread. Every sRGB texture adds to the total blocking time, resulting in a poor user experience, especially when the scene contains many textures.

To Reproduce

Steps to reproduce the behavior:

Set encoding of any Uint8 RGBA texture to sRGBEncoding. (WebGL 2 context is required.)

Render a scene that uses the texture.

See the main thread being blocked for a noticeable period of time during the first frame.

Code

The following example loads a cube map and sets its encoding to sRGBEncoding:

https://codesandbox.io/s/srgb8-alpha8-wv3jf?runonclick=1&file=/index.js

Live example

LinearEncoding (0.16 seconds blocking) (Refresh to see small freeze)

sRGBEncoding (1.49 seconds blocking) (Refresh to see long freeze)

The blocking behaviour can also be observed in live examples that load GLTF models, such as https://threejs.org/examples/?q=gltf#webgl_loader_gltf.

Expected behavior

Ideally, the main thread should not be blocked at all. Blocking time should at least be reduced as much as possible.

Screenshots

With LinearEncoding or sRGBEncoding pre r133
With sRGBEncoding since r133

Longest blocking time = 160 ms
Longest blocking time = 1496 ms

Platform:

Device: Desktop

OS: Windows

Browser: Chrome, Brave, Firefox

Three.js version: r133
Issue 1:
Description

Adding a user defined, small text label field to (mapped) task instances, which would appear in the UI

Use case/motivation

Currently it is difficult to differentiate between mapped tasks in both the Grid view and the Browse > Task Instances view. It requires a lot of hunting and pecking into either the parent XCOM to find what you need, or individually clicking through the Rendered task view.

It would be helpful to be able to mark tasks with metadata at runtime in some fashion, to distinguish in the UI

Related issues

No response

Are you willing to submit a PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct

Issue 2:
Description

Airflow currently exposes map_index to the user as a way of distinguishing between tasks in an expansion. The index is unlikely to be meaningful to the user. They probably have their own label for this action. I'm requesting that we allow them to add that label.

To see the problem, consider a dag that sends email to a list of users which is generated at runtime:

with DAG(...) as dag:

@dag.task
def get_account_status():
return [
{
"NAME": "Wintermute",
"EMAIL": "wintermute@tessier-ashpool.com",
"STATUS": "active",
},
{
"NAME": "Hojo",
"EMAIL": "ops@research.shinra.com",
"STATUS": "delinquent",
},
]

BashOperator.partial(
task_id="send_email",
bash_command=dedent(
"""
cat <<- EOF | tee | mailx -s "your account" $EMAIL
Dear $NAME,
Your account status is $STATUS.
EOF
"""
),
).expand(env=get_account_status())

Notice that in the grid view, it's not obvious which task goes with which user:

Use case/motivation

I'd like to be able to explicitly assign a name to each expanded task, that way I can later go look at the right one. I would like this name to be used (when available) anywhere that the user interacts with the expanded task.

In cases where the user provides no names, perhaps we can generate some. For instance, this expansion generates four instances.

BashOperator.partial(task_id="greet").expand(
bash_command=["echo hello $USER", "echo goodbye $USER"],
env=[{"USER": "foo"}, {"USER": "bar"}],
)

The friendliest way would be to use the requested feature name each task:

hi_foo

hi_bar

bye_foo

bye_bar

As it is, the user will see:

1

2

3

4

But if the user doesn't give names, maybe we should generate some names for them:

bash_command_1_env_1

bash_command_1_env_2

bash_command_2_env_1

bash_command_2_env_2

I don't know. I'm creating this issue so we have a place to discuss it.

Related issues

No response

Are you willing to submit a PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct
Issue 1:
Electron Version: 12.0.0-beta.21

Operating System: Linux

Last Known Working Electron version: 11.x works well on the same project/code-base and dataset

Expected Behavior

No crash.

Actual Behavior

See attached dump.txt file.

To Reproduce

There is no simple way to provide minimal repro project but there are session.webRequest.{onBeforeRequest,onBeforeSendHeaders,onHeadersReceived,onErrorOccurred,onCompleted}-like handlers setup in this way: https://github.com/vladimiry/ElectronMail/blob/48ac271b441a7860bad41c31707316fb9447db36/src/electron-main/web-request/index.ts.

Additional Information

The #27603 is a possibly related issue.

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:

12.0.0-beta.21

Operating System:

Windows 10

Last Known Working Electron version:

12.0.0-beta.20

Expected Behavior

No crash.

Actual Behavior

Crash reported to Sentry using minidump uploader:

https://sentry.io/share/issue/70e843318a304dae9616805c3223a1cc/

To Reproduce this might be enough

Use Electron.WebRequest .onBeforeRequest(
{
urls: [],
},
({ url }, callback) => {
if (url.startsWith('https://test..com')) {
callback({ cancel: true });
} else {
callback({ cancel: false });
}
},
);
Issue 1:
In the process of learning how to use ansible with my linode I had pip installed all the necessary libraries. Then I had cloned the ansible repository to have access to the inventory scripts in my local documents folder. When I cloned the main repo I named it ansible-src/ just so I'd remember that it was a clone from a read only repo.

python ansible-src/plugins/inventory/linode.py

Traceback (most recent call last):
File "plugins/inventory/linode.py", line 87, in <module>
from chube import *
File "/usr/local/lib/python2.7/site-packages/chube/__init__.py", line 4, in <module>
from .api import api_handler as chube_api_handler
File "/usr/local/lib/python2.7/site-packages/chube/api.py", line 1, in <module>
from linode import api as linode_api
File "/Users/morgan.craft/Documents/projects/ansible-src/plugins/inventory/linode.py", line 89, in <module>
load_chube_config()
NameError: name 'load_chube_config' is not defined

Took me abit to sort through what was going on, at first I thought pip had exploded on me and trashed my environment. But then I found this section of code in plugins/inventory/linode.py

# chube imports 'yaml', which is also the name of an inventory plugin,
# so we remove the plugins dir from sys.path before importing it.
old_path = sys.path
sys.path = [d for d in sys.path if "ansible/plugins" not in d]

Turns out yaml isn't all it blocks, but the linode.py file as well from the sys.path inclusion which causes a weird circular import. This is because of

sys.path = [d for d in sys.path if "ansible/plugins" not in d]

I don't think we should have a hard coded file/directory path name. Or if it is the only way then maybe we should propogate an exception if ansible is not the cloned repo name so at least devs know their file-pathing doesn't match.

Happy to work on the issue and submit a pr, just want feedback on how best to approach.

Issue 2:
It would be really nice if ansible would parse the playbook YAML

before requesting the sudo password.

I'm just learning YAML, and rely on ansible to tell me I'm wrong. I'm

frequently wrong.

Our company's ansible account has a tedious and annoying sudo

password. (It's not security through obscurity, it's security through

"I can't even type the damn thing.")

From a user perspective, this seems like an easy change to make. Any

chance your could add this to ansible, even as an option in

ansible.cfg or something?

(filed per mpdehaan's request on mailing list)
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: centos7.0

Java version: 1.8

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

Hello,

There are two network cards in my machine, IP are 10.x.x.x and 172.x.x.x, zookeeper IP is 172.x.x.x, after services start up, providers path in zookeeper, service ip is 10.x.x.x. and because of all my business servers IP are 172.x.x.x, this service who exported with IP 10.x.x.x could not be invoked by other services.

I read the source code of Dubbo, it chooses IP from IP list only if one is a valid IP address.

IP_PATTERN in this picture, just a regular expression which matches a valid IP address.

Can we choose the IP first in the same IP segment with zookeeper address instead of a random one? That's guaranteed that servers are reachable to each other at default configure.

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

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

Environment

Dubbo version: 2.7.0

Operating System version: windows 10

Java version: 1.8

Steps to reproduce this issue

当dubbo端口设为-1时, 如何在代码中获取当前dubbo的端口?
Issue 1:
Challenge http://www.freecodecamp.com/challenges/waypoint-divide-one-number-by-another-with-javascript has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

It does not go to the next waypoint after run the code succefully.

Issue 2:
Challenge http://www.freecodecamp.com/challenges/waypoint-use-comments-to-clarify-code has an issue.

When following the directions all of the code gets commented automatically.

go to the top of the line and create a space for entering the comment

In the new space, start typing in <!--

Bug: all of the code gets commented automatically so that if you pasted in the comment afterwards it doesn't work.

to complete the exercise the user will have to go to the bottom of the code and erase --> then go back to the top and paste in the comment. (I don't believe this is what was intended to happen).
Issue 1:
WARNING: /data/users/ezyang/pytorch-tmp/BUILD.bazel:580:1: in hdrs attribute of cc_library rule //:aten_headers: Artifact
'bazel-out/k8-fastbuild/bin/aten/src/ATen/Config.h' is duplicated (through '//:aten/src/ATen/Config.h' and '//:aten_src_AT
en_config'). Since this rule was created by the macro 'cc_library', the error might have been caused by the macro implemen
tation
WARNING: /data/users/ezyang/pytorch-tmp/BUILD.bazel:1857:1: in hdrs attribute of cc_library rule //:torch_headers: Artifac
t 'bazel-out/k8-fastbuild/bin/torch/csrc/autograd/generated/VariableType.h' is duplicated (through '//:torch/csrc/autograd
/generated/VariableType.h' and '//:cpp_generated_code'). Since this rule was created by the macro 'cc_library', the error
might have been caused by the macro implementation
WARNING: /data/users/ezyang/pytorch-tmp/BUILD.bazel:1857:1: in hdrs attribute of cc_library rule //:torch_headers: Artifac
t 'bazel-out/k8-fastbuild/bin/torch/csrc/autograd/generated/RegistrationDeclarations.h' is duplicated (through '//:torch/c
src/autograd/generated/RegistrationDeclarations.h' and '//:cpp_generated_code'). Since this rule was created by the macro
'cc_library', the error might have been caused by the macro implementation
WARNING: /data/users/ezyang/pytorch-tmp/BUILD.bazel:1857:1: in hdrs attribute of cc_library rule //:torch_headers: Artifac
t 'bazel-out/k8-fastbuild/bin/torch/csrc/autograd/generated/Functions.h' is duplicated (through '//:torch/csrc/autograd/ge
nerated/Functions.h' and '//:cpp_generated_code'). Since this rule was created by the macro 'cc_library', the error might
have been caused by the macro implementation
WARNING: /data/users/ezyang/pytorch-tmp/BUILD.bazel:1857:1: in hdrs attribute of cc_library rule //:torch_headers: Artifac
t 'bazel-out/k8-fastbuild/bin/torch/csrc/autograd/generated/variable_factories.h' is duplicated (through '//:torch/csrc/au
tograd/generated/variable_factories.h' and '//:cpp_generated_code'). Since this rule was created by the macro 'cc_library'
, the error might have been caused by the macro implementation

cc @malfet

Issue 2:
One thing which is so valuable in some problems, is that we are able to apply the softmax operation along a predefined dimension. Tesnorflow has this parameter in definition of the softmax layer but pytorch has not. Good to have this feature in next release of pytorch!
Issue 1:
Electron Version: 2.0.2

Operating System (Platform and Version): Windows 10 (17134)

Last known working Electron version: N/A

Expected Behavior

When maximizing a frameless window, then unmaximizing and then maximizing again, there should not be a white bar atop the window.

Actual behavior

The first maximize works. Removing maximize also works. Immediately maximizing again (without resizing the window) leaves a white bar several pixels high atop the browserwindow.

To Reproduce

Use the latest Discord app (or various others like Spotify), follow the workflow above to reproduce this very easily.

Further discussion here: https://www.reddit.com/r/Windows10/comments/8h3eqo/windows_1803_white_bar_across_top_of_maximized/

See a video of the behavior in action: http://recordit.co/3vTX9jpuVK

Issue 2:
Electron Version: 2.0.1

Operating System (Platform and Version): Windows10 1803

Last known working Electron version: 2.0.1

Expected Behavior

Maximized normal and restore normal when i click button in no frame window

Actual behavior

The first click is normal, but on the second click, there is a white edge on the window, and the window is also embedded under the taskbar.

To Reproduce

$ git clone https://github.com/muxiaozi/electron-quick-start.git
$ cd electron-quick-start
$ npm install
$ npm start || electron .

Screenshots

Additional Information

(┬＿┬)
Issue 1:
I wrote my fairly simple flutter app and was testing in debug mode in my device. However when I try to relaunch the app again from recent apps of my device the app restarts, no state is saved for the app(even if I relaunch after few seconds).

Issue 2:
What is instance state, and why it exists

On Android, an Activity can be killed at any time by the system. This happens usually when Android needs memory when your Activity is not in the foreground, or because of a non-handled configuration change, such as a locale change.

To avoid the user having to restart what he did from scratch when Android killed the Activity, the system calls onSaveInstanceState(…) when the Activity is paused, where the app is supposed to save it's data in a Bundle, and passes the saved bundle in both onCreate(…) and onRestoreInstanceState(…) when the task is resumed if the activity has been killed by the system.

The issue about it in flutter

In the flutter apps I tried (Flutter Gallery, and the base project with the FAB tap counter), if I open enough apps to make Android kill the flutter app's Activity, all the state is lost when I come back to the flutter activity (while not having remove the task from recents).

Steps to Reproduce

Install Flutter Gallery

Open the device's settings, and in developer options, switch "Don't keep activities" on. (see the screenshot)

This will allow to simulate when Android kills Activities because it lacks memory and you're not in the foreground.

Open the Flutter Gallery app and go anywhere other than the main screen.

Go to the launcher by pressing the device's home button.

Press the overview button and return to Flutter Gallery. Here's the bug.

What's expected: The app is in the same state that where we left off, with untouched UI.

What happens: The activity is restarted from scratch, losing all the UI state, even really really long forms.
Issue 1:
Do you want to request a feature or report a bug?

Bug

What is the current behavior?

When using AggressiveSplittingPlugin, 2 problems. Firstly it doesn't work unless you also include "CommonsChunkPlugin", as this then has the bootstrap code, (webpackJsonp etc). Also if not using "CommonsChunkPlugin" duplicates are created. eg. If say I used PouchDB twice in 2 entry points I get 2 350k files,..

But the biggest problem, if you have more than 1 entry point using Watch mode, first compile is fine, successive compiles give errors like ->

ERROR in chunk 1 [entry]
8a7cd0cd2cc5f21ec12a.js
Conflict: Multiple assets emit to the same filename 8a7cd0cd2cc5f21ec12a.js

ERROR in chunk 3 [initial]
93a8d32df50e5f918ebe.js
Conflict: Multiple assets emit to the same filename 93a8d32df50e5f918ebe.js
etc.

Also worth noting, on these successive compiles, it again then duplicates files, eg. It shows 2 350k files again, like when not using "CommonsChunkPlugin".

A temporary solution while developing in watch mode only have 1 entry point, and only work on this. Once you are happy re-include all entry points and do a full compile again.

If the current behavior is a bug, please provide the steps to reproduce.

Create a project with 2 entry points, start compile in watch mode.

Now modify a file to cause a recompile.

What is the expected behavior?

It works like the first compile, and doesn't error.

Issue 2:
been battling with this error for a day now, really putting me off trying to upgrade to webpack 2 :)

webpack 1.x runs without any issue. webpack 2.x runs, but only if i don't use any loaders

As soon as a loader is added, i get the Segmentation Fault: 11 error.

tried deleting & reinstalling node_modules.

tried reinstalling node (running node 4.2.2, npm v2.15.0).

tried deleting & reinstalling global node_modules

tried reinstalling global webpack modules

tried forcing version of fsevents (from this post). Cannot complete install.

the loaders i am trying to get running are for typescript (tried both ts-loader and awesome-typescript-loader)

I see typescript compilation has been working in the past from this blog post, so i know it at least works for someone

should webpack 2.x be able to run with node 4.4.x without this error? Anyone else have it working with typescript?

running OSX 10.11.1
Issue 1:
ISSUE TYPE

Feature Idea

COMPONENT NAME

yum

OS / ENVIRONMENT

CentOS/RHEL Linux

SUMMARY

Currently the yum module has no functionality for handling checksums (according to https://docs.ansible.com/ansible/latest/yum_module.html). Thus, if you want to check that a downloaded RPM has the expected checksum you need to break it into a get_url and then a yum to install from the downloaded artifact

STEPS TO REPRODUCE

Currently:

- name: Get RPM
get_url:
url: https://centos7.iuscommunity.org/ius-release.rpm
checksum: "md5:insertmd5sumhere"
dest: /tmp/ius-release.rpm

- name: Install downloaded rpm
yum:
name: /tmp/ius-release.rpm
state: present

Proposed:

- name: get and install RPM
yum:
url: https://centos7.iuscommunity.org/ius-release.rpm
checksum: "md5:insertmd5sumhere"
state: present

Issue 2:
SUMMARY

The module unarchive should support the parameter "checksum" the same way the get_uri module provides it (https://docs.ansible.com/ansible/latest/modules/get_url_module.html#parameter-checksum)

ISSUE TYPE

Feature Idea

COMPONENT NAME

unarchive.py

ADDITIONAL INFORMATION

could provide a PR if desired
Issue 1:
Challenge quoting-strings-with-single-quotes has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.

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

var myStr = '<a href="http://www.example.com" target="_blank">Link</a>';

You should have two single quotes ' and four double quotes "

Am I just counting this wrong, or..?

Issue 2:
On the current staging, two challenges ("Escaping Literal Quotes in Strings" and "Quoting Strings with Single Quotes") do not pass all tests with standard solution code.

Namely, tests asserting regex match lengths for non-escaped double quotes are failing:

code.match(/[^\\\\]\"/g).length === 2 in the former challenge and

code.match(/\"/g).length === 4 in the latter.

(Note: each of these is only one half of their respective test, and it might be beneficial in this case to split each test into two parts so users know where to look for their mistake instead of counting every quotation mark, as well as speeding up debugging if something breaks the regex again later on.)
Issue 1:
Although I set cursor: pointer to all tab buttons, the top area where titlebar was located still show default cursor.

Please watch the video.

https://www.youtube.com/watch?v=bTCijr-KE3Q&feature=youtu.be

Same condition of #4151.

Issue 2:
If this option is set, you can't drag/drop elements that are located in the top of the window (in the region where window's toolbar is placed). Even with -webkit-app-region: drag, dragging is not performed correctly.

The element which being dragged is native input[type="range"]

Here is the preview:
Issue 1:
Issue originally made by Loren Sanz (techmandu)

Bug information

Babel version: ~6 - see shrinkwraps for specifics

Node version: v0.12.13

npm version: 2.15.1

Options

plugin - es2015 see https://github.com/mrsanz/samplenodemodule for exact options

Input code

https://github.com/mrsanz/samplenodemodule

Description

When you run the branch oldDeps you'll see that the transpiled code is at 100% code coverage. When updating to the latest babel, code coverage drops for branches.

Issue 2:
As per nlf/lab-babel#4 (comment)

The auxiliaryComment before/after are working awesomely but they aren't applied to the _classCallCheck method call in a class constructor. If they were applied to that line, lab would be able to report coverage correctly.

Thanks!

EDIT by hzoo: also #4450 + _possibleConstructorReturn
Issue 1:
The FileDumper automatically creates a backup of a file (filename.yml~).

Why is this the default behavior? It should be an option in my opinion.

Issue 2:
I'm updated to commit 06c3222

When validating a form using choice validation, following exception arises:

FatalErrorException: Error: Cannot call constructor in /my/project/Symfony/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/ChoiceValidator.php line 31

Everything worked ok before updating.

Thanks!