sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: opencv
Issue: Opencv with Qt cmd remains after actual opencv window is closed when it should be closed also
Labels: category: highgui-gui,RFC

- OpenCV version: 2.4 / 3
- Host OS:  Windows 7/10

have opencv various versions with Qt 4.x or 5.x    build with visual sutdio 2010 
when i run my exe, with simple opencv loading an image , waitkey and release , Qt seems to keep open the cmd window if i close the opecv window. ( it only closes the cmd window if i press button to realease and destroy window from code).  this cmd also has output ''init done''.

without QT build, the cmd closes automatically when i close the opencv window, as expected.
moreover the exe, when i have the QT builded opencv, seems to have a memory leak and doesnt let me delete it.
Repository: three.js
Issue: Can character-based caching remove the memory manager from AnimationMixer?
Labels: Suggestion

##### Description of the problem

Is there a way to remove the memory manager from the AnimationMixer?  The memory manager is responsible for a large part of that code base.  If we just made people pre-assign Clips/Actions to their characters, and then just not enable those Clips/Actions, the characters could act as their own caches -- which is generally the main use case.  This would simplify the AnimationMixer and remove the main need for the memory manager as I understand it.
##### Three.js version
- [x] Dev
- [x] r76
- [ ] ...
##### Browser
- [x] All of them
- [ ] Chrome
- [ ] Firefox
- [ ] Internet Explorer
##### OS
- [x] All of them
- [ ] Windows
- [ ] Linux
- [ ] Android
- [ ] IOS
##### Hardware Requirements (graphics card, VR Device, ...)
Repository: neovim
Issue: Special marks change on diffupdate
Labels: bug-vim,diff

- Neovim version: 0.1.4-dev
- Vim behaves differently? Vim version:
- Operating system/version: Ubuntu 15.10
- Terminal name/version: rxvt-unicode 9.21
- `$TERM`: tmux-256color
### Problem behaviour

When editing buffers in "diff mode", a `:diffupdate` causes the `'[` and `']` marks to be moved to the first and last lines of the buffer. (Vim apparently has this bug, too)
### Expected behaviour

`:diffupdate` should not change these marks.
### Steps to reproduce using `nvim -u NORC`

```
nvim -u NORC
:e file1
:vsp file2
:windo diffthis
yy
`[
`]
:diffupdate
`[
`]
```
Repository: opencv
Issue: /MT flag while building OpenCV
Labels: bug,priority: low,category: build/install

I am having problems while building OpenCV with /MT flags using Intel Compiler for Windows. 
### Please state the information for your system
- OpenCV version: 3.1
- Host OS: Windows 7
- Compiler: Intel Compiler
### In which part of the OpenCV library you got the issue?

Building OpenCV
### Expected behaviour

To be able to build with /MT flag
### Actual behaviour

the /nodefaultlib:libcmt.lib causes my links to fail with unresolved C runtime symbols
### Additional description

If I remove the /nodefault:libcmt.lib flags from the CMakeLists.txt files, then my build is successful. Why is this flag present, and can it be removed to allow static-runtime builds without requiring modifications?
Repository: TypeScript
Issue: Issue an error if tsconfig.json results in no files to compile
Labels: Bug,Help Wanted

**TypeScript Version:** 1.8.9

I'm trying to run `tsc -p .` to use the tsconfig.json file and compile app.ts but it gives no warnings and no output.

The same tsconfig and app.ts in a Visual Studio project correctly gives app.js and app.d.ts files.  This is happening on two different computers.

By the way, is there no tsc --verbose or tsc --debug? The first is "unrecognized" and the second is "unsupported".

```
C:\demo>dir /b
app.ts
tsconfig.json

C:\demo>type app.ts
∩╗┐var data = 'hello';
C:\demo>type tsconfig.json
{
  "compilerOptions": {
    "module": "es6",
    "target": "es6",
    "noImplicitAny": false,
    "sourceMap": true,
    "declaration": true
  },

    "exclude": [
        "node_modules"
    ]
}
C:\demo>tsc -v
Version 1.8.9

C:\demo>tsc -p .

C:\demo>dir /b
app.ts
tsconfig.json

C:\demo>wtf
```

![image](https://cloud.githubusercontent.com/assets/17498172/14869658/ccb67368-0ca2-11e6-8a08-4d54a3702218.png)
Repository: kubernetes
Issue: Clarify security philosophy around update & delete
Labels: area/security,area/api,sig/api-machinery,lifecycle/frozen,sig/security

We had some vigorous discussion in the API machinery SIG earlier today about what a system administrator should expect when granting a user update rights on a given object or class of objects.

My own position is that update is strictly more powerful than delete and you shouldn't give anyone update powers over an object you don't want them to do destructive things to.

The opposing position is, as @derekwaynecarr put it, update : delete :: paint house : burn house down.

We discussed whether it's reasonable to expect system admins to understand the exact power update gives you over any particular sort of object; some objects allow more destructive updates than others. We discussed extracting "harmless" field updates into subresources which would be safe, with source code that is easily checkably safe.

We discussed how our current update validation path appears to be a fertile source of CVEs, and whether or not we should expect that to change in the future.

We didn't come to clear conclusions on these issues, and whatever we do decide the system's philosophy should be here, we need committers and reviewers to understand it. So I'm opening this issue so we can hopefully come to some agreement.

The issue that triggered this is the garbage collector: #23656 and also see discussion on its API PR: #23928
Repository: vscode
Issue: Handle pasting code from column selection specially
Labels: feature-request,editor-columnselect

https://github.com/Microsoft/vscode/issues/1515#issuecomment-210166838

From @seva0stapenko

---

Tried column selection in VSCode 1.0. Well, rectangular selection does work, cutting and pasting back also works, but that's about it.
Cutting and pasting into a different part of the code does not work as expected. Both Notepad++ and VS remember that copied text was a rectangular block and paste it as a rectangular block.
VSCode treats copied block just like a regular text, so pasting it anywhere outside of the current multi-cursor context would create a mess.
It's good that the feature is being worked on, but it's not fully baked yet.

---

*Addition from @hediet*

This is (still) the current behavior of VS Code. The copied/pasted text matches the selection:

![recording](https://user-images.githubusercontent.com/2931520/137472294-6333109f-44bb-4053-9d32-7e589fa68112.gif)

However, the copied/pasted text should match this selection:

![recording](https://user-images.githubusercontent.com/2931520/137472471-d06f55b3-0db1-4700-b4b1-e206e82cec07.gif)

See also #43145 for how other editors handle it.
Repository: vscode
Issue: Support to print the editor contents
Labels: feature-request,editor-rendering

- VSCode Version: 1.0
- OS Version: Windows 10.0.10586.218

Steps to Reproduce:
1. Open a File in VSCode or enter some code
2. Try to print it to a printer

Sometimes paper is unbeatable.
Repository: TypeScript
Issue: Allow `this` in static initializers
Labels: Suggestion,ES Next,Awaiting More Feedback

The following is an error:

``` ts
function factory() {
  return class {
    static x = 1;
    static y = this.x * 2;
  }
}
```

I can see some potential for confusion here, though I'm not sure what that confusion might be. On the flip side, it seems useful to be able to refer to an anonymous class in a static initializer. It is also easy to teach that "this in instance initializers = the instance, this in static initializers = the class, same as methods vs. static methods."
Repository: kubernetes
Issue: Feature request: A way to signal pods
Labels: priority/backlog,area/api,sig/node,kind/feature,lifecycle/frozen

This has come up a bunch of times in conversations.  The idea is that some external orchestration is being performed and the user needs to signal (SIGHUP usually, but arbitrary) pods.  Sometimes this is related to ConfigMap (#22368) and sometimes not.  This also can be used to "bounce" pods.

We can't currently signal across containers in a pod, so any sort of sidecar is out for now.

We can do it by `docker kill`, but something like `kubectl signal` is clumsy - it's not clearly an API operation (unless we revisit
'operation' constructs for managing imperative async actions).

Another issue is that a pod doesn't really exist - do we signal one container?  Which one?  Maybe all containers?  Or do we nominate a signalee in the pod spec?
Repository: youtube-dl
Issue: Implement --hls-prefer-livestreamer
Labels: request

- [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.04.24**
- [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones
### What is the purpose of your _issue_?
- [ ] Bug report (encountered problems with youtube-dl)
- [ ] Site support request (request for adding support for a new site)
- [x] Feature request (request for a new functionality)
- [ ] Question
- [ ] Other

---
### Description of your _issue_, suggested solution and other information

FFmpeg seems to be very ineffecient on HLS streams, especially on a slow ones. For example, it drops a lot of segments on vlive.tv streams with middle/high quality (low-res streams are recorded fine). On the other hand `livestreamer "hls://stream-url.m3u8" best -o out.ts` works perfectly fine. So I think it would be great to have support for external livestreamer downloader. Note that `HlsFD` currently can't handle live streams.

(This is just a propose, I currently don't have any code for this.)
Repository: go
Issue: runtime/metrics: add goroutine state counts, total goroutines created, total threads
Labels: help wanted,Proposal,Proposal-Accepted,FeatureRequest,early-in-cycle

**Update**, Jun 7 2023: runtime/metrics now exists, but there are a few metrics in the draft CL here that aren't yet exposed. See https://github.com/golang/go/issues/15490#issuecomment-1564615291.

- - -

MemStats provides a way to monitor allocation and garbage collection.

We need a similar facility to monitor the Scheduler.

Briefly:
- Total goroutines create
- Current number of of goroutines
- Total number of goroutines scheduled
- Current number of goroutines scheduled
- Total thread starts
- Current number of threads.
- Metrics on the delay between a goroutine being ready and running on a proc.
Repository: rust
Issue: Add additional LoopUnswitch and LICM passes
Labels: A-LLVM,I-slow,C-enhancement,T-compiler

This is [recommended by LLVM](http://llvm.org/docs/Frontend/PerformanceTips.html#pass-ordering) for languages with lots of guards that are rarely executed.  Rust certainly does (mostly array bounds checks, but also `Option::unwrap()` and `Result::unwrap()`).
Repository: electron
Issue: Add workspace API
Labels: enhancement :sparkles:

All major platforms now support workspaces (virtual desktops), we should probably add a set of workspace related API, so it can:
- get the workspace of window;
- list available workspaces;
- choose which workspace to put the new window;
- move windows between workspaces.
Repository: rust
Issue: Suggest move closures when a Sync bound is not satisfied through a closure
Labels: C-enhancement,A-diagnostics,A-closures,T-compiler

``` rust
use std::thread;
use std::sync::mpsc;

fn main() {
    let (send, recv) = mpsc::channel();
    let t = thread::spawn(|| {
        recv.recv().unwrap();
    });

    send.send(());

    t.join().unwrap();
}
```

[playpen](https://play.rust-lang.org/?gist=2fa73177cd7f0935cbf9883c8348715d&version=stable&backtrace=0)

This currently gives the error

```
<anon>:6:13: 6:26 error: the trait `core::marker::Sync` is not implemented for the type `core::cell::UnsafeCell<std::sync::mpsc::Flavor<()>>` [E0277]
<anon>:6     let t = thread::spawn(|| {
                     ^~~~~~~~~~~~~
<anon>:6:13: 6:26 help: see the detailed explanation for E0277
<anon>:6:13: 6:26 note: `core::cell::UnsafeCell<std::sync::mpsc::Flavor<()>>` cannot be shared between threads safely
<anon>:6:13: 6:26 note: required because it appears within the type `std::sync::mpsc::Receiver<()>`
<anon>:6:13: 6:26 note: required because it appears within the type `[closure@<anon>:6:27: 8:6 recv:&std::sync::mpsc::Receiver<()>]`
<anon>:6:13: 6:26 note: required by `std::thread::spawn`
error: aborting due to previous error
playpen: application terminated with error code 101
```

If a closure needs to be Sync, we should perhaps suggest that it be made a move closure.

Perhaps we should verify that the closure _can_ be made move (i.e. it is `: 'static` when made move), but I'm not sure how easy that is to do.

We already suggest move closures when you do the same thing with a `Vec`, because the error reaches borrowck. Typeck sync issues don't suggest move.

cc @nikomatsakis
Repository: opencv
Issue: Compiling Opencv with cuda fails Mac OS 10.9.5
Labels: bug,category: build/install,category: gpu/cuda (contrib),platform: ios/osx

Opencv3.1.0
- Host OS:Mac 10.9.5
- Compiler & CMake: GCC 4.5 or NVCC from cuda 7.5 & CMake 3.5.2

cmake completes configuring and writes the build files.
(Although the error log is unhappy with a variety of inscrutable errors)
make gives

```
.
.
[  5%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jp2_cod.c.o
nvcc fatal   : GNU C/C++ compiler is no longer supported as a host compiler on Mac OS X.
CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:208 (message):
  Error generating
  /Users/me/Downloads/opencv-master/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o


make[2]: *** [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
```

This error occurs with either compiler when configuring cmake

`-D WITH_CUDA=ON -D CMAKE_CXX_FLAGS=-fno-inline -D CUDA_HOST_COMPILER=/usr/local/cuda/bin/nvcc`

or

`-D WITH_CUDA=ON -D CMAKE_CXX_FLAGS=-fno-inline -D CUDA_HOST_COMPILER=/usr/local/bin/gcc-4.5`

Does anyone have insight on the problem??
Repository: opencv
Issue: Please consider supporting RelWithDebInfo
Labels: RFC

I don't see the purpose of the following line in the top level CMake script:
`set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Configs" FORCE)`
What are the reasons for disabling RelWithDebInfo?
Repository: go
Issue: net/http: send and understand the hop-by-hop Keep-Alive header
Labels: NeedsInvestigation

Now that we have `net/http.Transport.IdleConnTimeout` we could also advertise our timeout to the peer:

https://tools.ietf.org/id/draft-thomson-hybi-http-timeout-01.html#rfc.section.2

It's a little useless for the client to send it, but perhaps the server could take care not to close the connection just before (~second) of the client's announced close time, just in case the client was about to send something as the server would have otherwise closed.

Independently, and more usefully, the server could announce its keep-alive idle time (once it exists: #14204) and the client could respect it.
Repository: youtube-dl
Issue: [SR] Mediathek Site support request
Labels: site-support-request

- [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.05.01**
- [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones
- [x] Site support request (request for adding support for a new site)
- Single video: http://sr-mediathek.de/index.php?seite=7&id=1795
- Single audio: http://sr-mediathek.de/index.php?seite=7&id=7480

**description**
Can you please add support for SR Mediathek (Saarländischer Rundfunk)?
Log for audio example is attached.

**log**

```
youtube-dl.exe -v "http://sr-mediathek.de/index.php?seite=7&id=7480"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://sr-mediathek.de/index.php?seite=7&id=7480']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.10 - Windows-XP-5.1.2600-SP3
[debug] exe versions: ffmpeg N-67100-g6dc99fd, ffprobe N-67100-g6dc99fd, rtmpdump 2.4
[debug] Proxy map: {}
[generic] index: Requesting header
WARNING: Falling back on generic information extractor.
[generic] index: Downloading webpage
[generic] index: Extracting information
ERROR: Unsupported URL: http://sr-mediathek.de/index.php?seite=7&id=7480
Traceback (most recent call last):
  File "youtube_dl\extractor\generic.pyo", line 1393, in _real_extract
  File "youtube_dl\compat.pyo", line 279, in compat_etree_fromstring
  File "youtube_dl\compat.pyo", line 268, in _XML
  File "xml\etree\ElementTree.pyo", line 1642, in feed
  File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: syntax error: line 1, column 1
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 673, in extract_info
  File "youtube_dl\extractor\common.pyo", line 341, in extract
  File "youtube_dl\extractor\generic.pyo", line 2063, in _real_extract
UnsupportedError: Unsupported URL: http://sr-mediathek.de/index.php?seite=7&id=7480
<end of log>
```
Repository: react
Issue: RFC: Configure Warning Levels Using ENV Variable
Labels: Type: Enhancement,React Core Team

Would it be feasible to specify the version of warnings you want through a static environment variable?

That would silence new warnings so that you can safely update minor versions without worrying about warning spew.

Dynamic configuration creates stateful shared module dependencies which we're very close to getting rid of for the isomorphic package (ReactCurrentOwner being the last one).
Repository: go
Issue: cmd/compile: evaluate the need for shortcircuit
Labels: Performance,NeedsInvestigation,early-in-cycle

For Go1.8
1. What version of Go are you using (`go version`)?
   go version devel +097e2c0 Mon May 2 21:02:54 2016 +0000 linux/amd64
2. What operating system and processor architecture are you using (`go env`)?
   linux/amd64
3. What did you do?
   ./make.bash & check the size of binaries in pkg/tools/linux_amd64
4. What did you expect to see?
5. What did you see instead?

Shortcircuit pass increases the size of the binary by approx 0.04%, but this is not consistent.

with shortcircuit
 3244469 addr2line
 4909014 api
 3982946 asm
 3988940 cgo
10647306 compile
 4914435 cover
 3424419 dist
 3825731 doc
 2916445 fix
 4070497 link
 3207010 nm
 3532598 objdump
 1996235 pack
 9308102 pprof
 8435425 trace
 6246651 vet
 2879901 yacc
81530124 total

without shortcircuit
 **3236277** addr2line
 **4904918** api
 **3978850** asm
 _3993036_ cgo   // higher
**10638988** compile
 **4906243** cover
 3424419 dist
 3825731 doc
 2916445 fix
 4070497 link
 3207010 nm
 _3536694_ objdump   // higher
 1996235 pack
 **9304006** pprof
 8435425 trace
 **6242555** vet
 **2875805** yacc
81493134 total
Repository: go
Issue: x/net/publicsuffix: automate periodic regeneration
Labels: Builders,NeedsInvestigation

Please answer these questions before submitting your issue. Thanks!
1. What version of Go are you using (`go version`)?
   1.6.1
2. What operating system and processor architecture are you using (`go env`)?
   linux/amd64
3. What did you do?

I used golang.org/x/net/publicsuffix and it doesn't contain the last updated list
1. What did you expect to see?

An updated list
1. What did you see instead?

A list from 2016-03-01

The list is changing more than before. The trigger was LetsEncrypt but people begin to understand the security implications beside Letsencrypt.
Repository: TypeScript
Issue: umd module compiler option doesn't have a fallback for global namespace.
Labels: Suggestion,Needs Proposal

Most umd patterns have a third fallback that allows exporting to the window.namesapace = export; As such the current umd module export is pretty broken when a huge number of users / library developers need to support all three.

``` js
(function(root, factory) {
  if (typeof define === 'function' && define.amd) {
    define(factory);
  } else if (typeof exports === 'object') {
    module.exports = factory(require, exports, module);
  } else {
    root.exceptionless = factory();
  }
}(this, function(require, exports, module) {}
```
Repository: bitcoin
Issue: Script disassembly for short byte arrays is confusing
Labels: Docs

ScriptToAsmString will convert any push shorter than 4 bytes to a number before display. This can lead to some confusion if you were expecting a hex-encoded blob as it does for longer-than-4-byte chunks. I'm not sure this is even documented anywhere.
Repository: go
Issue: cmd/compile: SSA performance regression on polygon code
Labels: Performance,NeedsFix,early-in-cycle

1. What version of Go are you using (`go version`)?
   go 1.6.2 and devel +15f7a66
2. What operating system and processor architecture are you using (`go env`)?

```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/nkovacs/progs/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
```
1. What did you do?

clone this repo: https://github.com/nkovacs/polygonperf
and run `go test -cpu x -bench .` with go 1.6.2 and devel +15f7a66

Results for BenchmarkContains (ns/op) on a Core 2 Q6600:

| master 4 cpu | 1.6.2 4 cpu | master 1 cpu | 1.6.2 1 cpu | master 2 cpu | 1.6.2 2 cpu |
| --- | --- | --- | --- | --- | --- |
| 370 | 285 | 297 | 282 | 334 | 264 |
| 378 | 295 | 297 | 284 | 325 | 264 |
| 374 | 304 | 299 | 283 | 367 | 235 |
| 364 | 295 | 298 | 411 | 316 | 251 |
| 386 | 285 | 298 | 278 | 353 | 301 |
| 375 | 272 | 298 | 277 | 328 | 254 |
| 374 | 305 | 297 | 279 | 351 | 260 |
| 379 | 318 | 298 | 394 | 333 | 241 |
| 374 | 289 | 298 | 310 | 361 | 247 |
| 380 | 296 | 298 | 272 | 346 | 247 |
| 375.4 | 294.4 | 297.8 | 307 | 341.4 | 256.4 |

Results for BenchmarkStructContains (ns/op) on a Core 2 Q6600:

| master 4 cpu | 1.6.2 4 cpu | master 1 cpu | 1.6.2 1 cpu | master 2 cpu | 1.6.2 2 cpu |
| --- | --- | --- | --- | --- | --- |
| 390 | 280 | 297 | 408 | 353 | 327 |
| 367 | 299 | 441 | 283 | 357 | 279 |
| 387 | 282 | 297 | 283 | 339 | 277 |
| 372 | 314 | 444 | 413 | 347 | 250 |
| 371 | 307 | 296 | 298 | 339 | 264 |
| 381 | 284 | 296 | 278 | 340 | 281 |
| 371 | 291 | 297 | 288 | 359 | 280 |
| 348 | 298 | 435 | 278 | 351 | 288 |
| 343 | 295 | 300 | 411 | 338 | 274 |
| 394 | 304 | 297 | 397 | 364 | 302 |
| 372.4 | 295.4 | 340 | 333.7 | 348.7 | 282.2 |

(last line is average)

I've seen a similar 30% increase in ns/op on an AMD Athlon II X2 270, but on that CPU the 1 cpu benchmark had the same result as the 2 cpu benchmark.

On the two more modern Intel CPUs I briefly tested, this simple polygon does not show a difference between master and 1.6.2. I added a second polygon (BenchmarkContains2 and BenchmarkStructContains2) that does show a difference, with 1.6.2 again being faster. On the Q6600, go 1.6.2 performs twice as fast in these benchmarks, on a Xeon server, go 1.6.2 is about 100-200 ns/op faster.
Repository: nvm
Issue: Should io.js be removed from nvm ls? Now that it is merged with node again
Labels: feature requests,io.js

Since io.js isn't going to be developed anymore.