WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Environment info

Operating System: Centos 7

Linux c7-dev01 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Tensorflow version 0.8.0 (CPU tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl)

Nltk version 3.2.1

Steps to reproduce

When import tensorflow and nltk:

(core) [gbelousov@c7-dev01 ~]$ python -c "import tensorflow; import nltk;"

Segmentation fault

When importing nltk and then tensorfklow:

(core) [gbelousov@c7-dev01 ~]$ python -c "import nltk; import tensorflow"

Ok.

Logs or other output that would be helpful

python[5334]: segfault at 7f63fea092a0 ip 00007f63fea092a0 sp 00007ffde9450138 error 15 in multiarray.cpython-34m.so[7f63fea01000+f000]

Issue 2:
I install tensorflow use:sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0rc0-cp27-none-linux_x86_64.whl

linux version is :Linux version 3.10.0-229.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 6 11:36:42 UTC 2015

when I learn python, and import tensorflow,segmentation fault

import tensorflow

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally

I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally

Segmentation fault (core dumped)
Issue 1:
In the Babel repl, imported modules are available on the same line of code as the import statement, but the reference is lost on subsequent lines:

> import route from './src/route'; typeof route === 'object'
true
> typeof route === 'object'
false

This problem doesn't take placing when requireing a module.

A workaround is to assign the module to a variable on the same line, or use require.

Issue 2:
When I perform

import stuff from './stuff';

in babel-node CLI, it silently works but trying to access stuff on the following lines throws a ReferenceError: stuff is not defined.
Issue 1:
VSCode Version: 1.1.1

OS Version: Ubuntu 16.04

alt+click and column selection "hold shift" + "alt" + "drag" stopped working gradually, now i can't use these at all.

Issue 2:
On most Linux desktops alt+click will allow you drag a window by clicking anywhere over it. This conflicts with the multiple cursors binding.

It's still possible to obtain multiple cursors with commands like insertCursorAbove or insertCursorAtEndOfEachLineSelected, but this affects multiple people, and it's already covered in some articles with a workaround (which I'm copying here for Gnome based systems: gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier "<Super>" change <Super> with your preferred key )

It's also acknowledged in VScode's documentation that this shortcut might conflict even on Windows or Macosx...

Note: Your graphics card provider might overwrite these default shortcuts.

So, fixing this for Linux users might also be useful elsewhere. For comparison, the Atom editor uses ctrl+click instead of alt+click for this shortcut.

Rather than changing the default, making it customizable would already be a welcome improvement, but afaik unfortunately there's no way to change it. These are a couple of related default keybindings:

{ "key": "ctrl+shift+up", "command": "editor.action.insertCursorAbove",
"when": "editorTextFocus" },
{ "key": "shift+alt+up", "command": "editor.action.insertCursorAbove",
"when": "editorTextFocus" }

But since I cannot find any editor.action.insertCursor command, it seems that this option is lacking.
Issue 1:
https://babeljs.io/repl/#?experimental=true&evaluate=true&loose=true&spec=false&playground=true&code=console.log(%2Bundefined)%3B%0A

Issue 2:
IIRC, this may already be tracked in another bug, but I couldn't find it. So apologies if dupe.

This kind of thing is strange and misleading:

null and undefined are definitely not the same value. ;-)
Issue 1:
Electron Version: tested on 1.8.7, 2.0.0, 2.0.3, 3.0.0-beta.1.

Operating System (Platform and Version): tested on Windows 10.0.17134.112

Last known working Electron version: Unclear

Expected Behavior

When using a frameless Window on Windows, the maximize behaviour is not consistent. To test this out, repeat these steps:

ensure the window is not maximized

maximize the window with Windows Key + Up

unmaximize the window Windows Key + Down to revert to normal size

repeat

Each time you maximize, the available screen height should be used to render the frame.

Actual behavior

The window alternates between being in the correct spot ([-8,-8]) and incorrect spot ([-8, 9]) after maximizing which results in some of the desktop behind behind visible, with a white bar across the top of the frame.

I switched my desktop background to green to emphasize the distinct parts:

I gather the white is the additional space outside the usable space available to the app, and is intended to be drawn offscreen.

To Reproduce

$ git clone https://github.com/shiftkey/electron-quick-start -b frameless-maximize-issue
$ npm install
$ npm start

Screenshots

If applicable, add screenshots to help explain your problem.

Additional Information

Add any other context about the problem here.

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:
We want to have a dialog with scroll bar where we want height of dialog to be fixed, irrespective of number of items inside list. We have observed height can be increased from certain height but not decrease. We tried various styling but it's not working.

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

Expected Behavior

Height should be customizable.

Current Behavior

Height of dialog is proportional to number of items.

Steps to Reproduce (for bugs)

Create a dialog

Add list items (count should be above 30) inside dialog

Add styling with different keywords.

Open dialog.

Context

Your Environment

Tech
Version

Material-UI

React

browser

etc

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

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Blank out value in the AutoComplete

Hit Enter

Menu gets dismissed but value does not update

Expect to see the menu get dismissed and onNewRequest invoked.

Context

The code below in AutoComplete.js will only call onNewRequest when the searchText is not blank.

switch (keycode(event)) {
case 'enter':
this.close();
const searchText = this.state.searchText;
if (searchText !== '') {
this.props.onNewRequest(searchText, -1);
}

Your Environment

Tech
Version

Material-UI

React

browser

etc
Issue 1:
I am creating an application for Android/Ios on Flutter in Android studio. This application has to get serial data from a classic bluetoth device.

I am new to Flutter. I have found a package: flutter_blue that allows to scan and connect to BLE device. I tried it and it only perform BLE scan and doesn't detect classic Bluetooth devices. I'd like to find a similar package for Bluetooth classic.

Is there any package on https://pub.dartlang.org/flutter that would allow me to do that ? Or lower level function to scan, connect and get the stream of my device?

Issue 2:
I worked now a year with Bluetooth on flutter and used flutter_blue and flutter_bluetooth_serial. flutter_blue is stale for quite a while and getting it to run on both platforms is close to a nightmare. flutter_bluetooth_serial supports only Bluetooth classic and only on Android. Because Bluetooth is such an important interface flutter should make it top priority to supply a high-quality package to boost the acceptance of flutter.

Summary:

Flutter should supply a Bluetooth package which supports:

IOS and Android, Linux, Windows, MAC

Classic and BLE

Good examples which run out of the Box with the latest stable release
Issue 1:
Andrei Stefan opened SPR-3904 and commented

Having an interface like:

interface GenericIFace<B> {

public void save(B bean);

public void saveAll(Collection<B> beans);

}

and a pointcut like: execution(* GenericIFace.save*(..)) - first method is intercepted, the second one isn't, except the case of execution(* GenericIFace+.save*(..)).

Affects: 2.0.6, 2.1 M4

Attachments:

aspectj.zip (1.48 kB)

2 votes, 2 watchers

Issue 2:
Andrei Stefan opened SPR-3556 and commented

I made two tests:

one with AspectJ support;

one with Spring's AspectJ support.

The tests involve two interfaces: Base<T> and DerivedInterface<T> extends Base<T>.

A Before pointcut matching all methods from Base and DerivedInterface is defined: @Before("execution(* example.Base+.*(..))")

In AspectJ a test creating an instance of a class implementing DerivedInterface: DerivedInterface<String> obj = new DerivedString(); and then calling methods on both interfaces demonstrates advice being applied on both methods.

The same test in Spring getting a bean instance from ApplicationContext like DerivedInterface<String> bean = (DerivedInterface<String>) context.getBean("myBean"); and calling methods on both interfaces, the advice is not applied to methods receiving as parameter the generic type <T>.

Methods like method(<T>) don't get the advice applied, but method2() have the advice applied.

Affects: 2.0.5, 2.1 M3

Attachments:

SpringAspectJ.zip (1.86 kB)

Issue Links:

#8309 Spring AOP @Aspect pointcut ignores generic type params and matches to many join points ("is depended on by")

#8559 AspectJ pointcut expressions fail to match generically parameterized methods ("is duplicated by")
Issue 1:
System info

Playwright Version: [v1.32.1]

Operating System: [Windows 11]

Browser: [Chromium]

Other info: Python version : 3.7.4

Source code

`import asyncio

import traceback

from playwright.async_api import async_playwright

async def scrape_hotels():

async with async_playwright() as p:

try:

browser = await p.chromium.launch()

page = await browser.new_page()

await page.goto('https://www.skyscanner.com/hotels')

# Input location and check-in date
await page.fill('#hotels-search-location', 'USA')
await page.fill('#hotels-search-check-in', 'Tomorrow')

# Submit form
await asyncio.gather(
page.click('#hotels-search button[type="submit"]'),
page.wait_for_selector('#hotels-search-results', state='visible')
)

# Extract hotel names
hotel_names = await page.evaluate('''
Array.from(document.querySelectorAll('.hotel-name')).map(e => e.textContent.trim())
''')
print(hotel_names)

await browser.close()
except Exception as e:
print(traceback.format_exc())

asyncio.run(scrape_hotels())

`

I provided exact source code that allows reproducing the issue locally.

Link to the GitHub repository with the repro

[https://github.com/your_profile/playwright_issue_title]

or

Config file

// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'], },
},
});

Test file (self-contained)

it('should check the box using setChecked', async ({ page }) => {
await page.setContent(`<input id='checkbox' type='checkbox'></input>`);
await page.getByRole('checkbox').check();
await expect(page.getByRole('checkbox')).toBeChecked();
});

Steps

[Run the test]

[...]

Expected

It should load the webpage and search for the css input selector on input webpage

[Describe expected behavior]

Actual

It is always giving this greenlet import error, DLL not found, I have tried the official document aysnc and sync apis as well to load any webpage but it always giving same error, Please look into this issue asap. This is my second attempt to learn this wonderful library and use it in my day to day complex data scraping tasks.

[Describe actual behavior]

Issue 2:
On localhost, we're testing a project with self-signed certificates. Running codegen from cli works fine:

npx playwright codegen --ignore-https-errors

Running codegen with "Record new" from vscode yields to:

How can I configure the vscode plugin to ignore HTTPS errors?
Issue 1:
System info

Playwright Version: 1.34.4

Operating System: macOS 13.4

Browser: N/A

Other info:

Source code

I provided exact source code that allows reproducing the issue locally.

Link to the GitHub repository with the repro

https://github.com/OliverJAsh/playwright-vs-code-extension-list-files-issue

This is a brand new Playwright project created using yarn create playwright. The only changes on top of this are:

Use dotenv

Add tsconfig.json

Steps

Clone the project

$ yarn
$ tsc

Open VS Code

Expected

The tests load, or if the tests fail to load, an error message should appear.

Actual

The tests never load, nor is there an error message to indicate an error occurred.

Notes

This issue started when I upgraded from 1.33.0 to 1.34.4.

I spent some time trying to debug this. In developer tools we can see this error message: e.projects is not iterable.

I modified the extension to log the value of e:

It appears that when the config file is loaded via listFiles (code), the FOO environment variable does not exist. This suggests that dotenv is not working.

To debug this further I added a console log inside listFiles to see the value of the configFolder argument we pass to runNode:

As you can see, the extension is trying to load .cache/typescript/playwright.config.js (generated by tsc) instead of playwright.config.ts in the project root.

This means that dotenv isn't able to find .env (which also lives in the project root).

A few thoughts:

Could we improve error handling inside the extension? If there is an error, this should be displayed to the user (as opposed to the infinite loading state that's currently shown).

How can I instruct the extension to ignore .cache/typescript/playwright.config.js? We only want it to use playwright.config.ts in the project root.

Issue 2:
System info

Playwright Version: [v1.32.1]

Operating System: [Windows 11]

Browser: [Chromium]

Other info:

When I run the test case using the uiMode

Then The test is executed and passed but I can not see anything in the uiMode browser.

Screenshot
Issue 1:
https://discourse.julialang.org/t/playing-around-with-intmod/980/5

Possibly also ^(x::Number, y::Number) = ^(promote(x,y)...) but I'm less sold on that since promoting the exponent to the same type as the base generally makes a lot less sense.

Issue 2:
ERROR: InexactError()
in in at range.jl:553 (repeats 2 times)
while loading C:\Users\Michael\Dropbox\Masters\Masters-Experiments\Experiment1-J
ulia\main.jl, in expression starting on line 35

I get the above when running a function defined in main (which calls many other functions)

Should this not show the entire backtrace rather?

(If there is a way to view it already I apologise)

On 0.3.5
Issue 1:
This seems to be the exact problem in #7224, except for the flutter_tools package.

Steps to Reproduce

cd packages/flutter_tools

pub run test

Logs

--snip--
02:33 +340 -5: test/commands/test_test.dart: flutter test should report a nice error when an async function was called without await [E]
Expected: match '══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════'
Actual: 'Shell: Do not know weight for: TeXGyreSchola (BoldItalic) '
Full output:
- - - -----8<----- - - -
00:00 +0: - TestAsyncUtils - handling unguarded async helper functions
Shell: Do not know weight for: TeXGyreSchola (BoldItalic)
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
--snip--

Flutter Doctor

~/dart/flutter
$ bin/flutter doctor
[✓] Flutter (on Linux, locale en_US.UTF-8, channel master)
• Flutter at /usr/local/google/home/jcollins/dart/flutter
• Framework revision 7627d31c2e (88 minutes ago), 2018-01-17 11:54:50 -0800
• Engine revision a1328e7730
• Tools Dart version 2.0.0-dev.16.0
• Engine Dart version 2.0.0-edge.28757928b47b192efcec082c78258102beb03f78

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /usr/local/google/home/jcollins/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /opt/android-studio-3.0/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Android Studio (version 3.0)
• Android Studio at /opt/android-studio-3.0
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] IntelliJ IDEA Community Edition (version 2017.2)
• Flutter plugin version 20.0.2
• Dart plugin version 172.4343.25

[-] IntelliJ IDEA Community Edition (version 2017.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 171.4694.29
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins

[-] IntelliJ IDEA Community Edition (version 2016.3)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 163.13137
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
✗ This install is older than the minimum recommended version of 2017.1.0.

[-] Connected devices
• None

Issue 2:
Run flutter test packages/flutter

@chinmaygarde
Issue 1:
The dropdown disapear in IE <=9 when use bootstrap with bootstrap theme

eg: http://bootply.com/84998

Issue 2:
This is a usability issue, but if you read this post, some people are under the impression that bootstrap behaviour is not ideal, where in fact just a small correction to the HTML code in the docs will solve the issue. (Note, however, that some CSS changes will have to take place so the correct pointer cursor is shown - which seem like the really tricky bit?.)
Issue 1:
Building atom with a source dir and an installation dir show es error messages instead of building atom. May somebody test that, please.

The error occurred on Ubuntu 14.04.1

Issue 2:
Some files require root permissions to be edited, but sometimes those files are already modified when one realizes those files require said permissions. It would be nice if Atom could ask for the root password and apply the changes instead of having to close the file, close Atom, open Atom with root privileges and re-edit the file.
Issue 1:
<RaisedButton
label="Connect with Facebook"
labelPosition="after"
backgroundColor="#3a5999"
labelColor="white"
fullWidth
>
<FontIcon className="icon ion-social-facebook" />
</RaisedButton>

FontIcon appears on the right side of label

Issue 2:
The documentation claims that RaisedButton has a labelPosition property, while a FlatButton does not. In reality, it is the opposite.
Issue 1:
Keybindings use a different keyboard-layout than the editor.

I have a swiss-german layout which works perfectly inside the editor.

In the keybinding resolver however, I see, that for example instead of a "?" it recognises a "{".

That makes it impossible to use certain keybindings and also hard to configure them.

Repro Steps

Start the keybinding resolver and then type a "?" on a swiss-german keyboard. You will see that it wrote a "?" in the editor, but a "{" was recognised by the keybinding resolver.

Expected: Use the right keyboard layout also for keybindings

Actual: It uses a different keyboard-layout for the keybindings than in the editor.

Versions

Atom: 0.187.0

Atom-Shell: 0.21.3

OS: linux 3.17.6-1-ARCH

Misc

apm 0.142.0

npm 2.5.1

node 0.10.35

python 2.7.9

git 2.2.2

This report was created in and posted from the Atom editor using the package bug-report v0.6.3.

Issue 2:
Original issue: atom/atom#1625

Use https://atom.io/packages/keyboard-localization until this issue gets fixed (should be in the Blink upstream).
Issue 1:
why do spot and directional lights have a particular object they point towards at all times, instead of use their own transform? It's strange that spot and directional lights use Object3D, yet their rotation is completely useless, and they opt instead to have an extra positioned object. If the goal was to make positioning / pointing the lights simpler, it didn't really work, since Object3D can already easily point towards a position using lookAt.

This is not truly an issue, but weird from an api standpoint, and makes adding a spotlight as something like a headlight extra annoying. Of course there are probably workarounds like adding the target to the light object but it just always seemed strange, and more complex than it could ever make something simpler.

Issue 2:
As far as I'm aware, we should be able to get the same results by just adding a distance property to those light types. By removing the target we'll then fix the problems that those lights have in the editor.

@gero3 any interest on tackling this one?
Issue 1:
https://huggingface.co/google/bert_uncased_L-2_H-128_A-2

The link is broken for a long time which is very inconvenient for users. It would be very helpful if you can fix this bug.

Issue 2:
Hello, I found that the link in the model card is not working properly https://huggingface.co/uer/chinese_roberta_L-2_H-128

Other model cards also have the same problem https://huggingface.co/google/bert_uncased_L-2_H-128_A-2