sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Tracking issue for `fundamental` feature
Labels: T-lang,B-unstable,C-tracking-issue,S-tracking-needs-summary,F-fundamental

This feature flag, part of [RFC 1023](https://github.com/rust-lang/rfcs/pull/1023), is not intended to be stabilized as-is. But this issue tracks discussion about whether _some_ external feature it needed. Perhaps there is a cleaner way to address the balance between negative reasoning and API evolution. See the RFC for details.
Repository: rust
Issue: Tracking issue for internal feature `no_core`
Labels: T-lang,B-unstable,C-tracking-issue,S-tracking-needs-summary

The `no_core` feature allows you to avoid linking to `libcore`.
Repository: rust
Issue: Tracking issue for `box_patterns` feature
Labels: T-lang,B-unstable,C-tracking-issue,A-patterns,S-tracking-perma-unstable

Box patterns were gated by [RFC 469](https://github.com/rust-lang/rfcs/pull/469).
Repository: rust
Issue: Add the GDB pretty-printers to the Windows Rust installation
Labels: A-debuginfo,O-windows-gnu,T-bootstrap,C-feature-request

The pretty printers can be made to work in Windows, as described here: http://stackoverflow.com/questions/33570021/how-to-set-up-gdb-for-debugging-rust-programs-in-windows/33570022#33570022

At a minimum the GDB pretty-printers should be added to the Windows GNU ABI Rust installation, so that they don't have to downloaded separately. 

At best, the pretty-printers GDB auto-loading should work as well. I think for that the GDB auto-load info should be added to the debug information of the generated code in Windows.

@michaelwoerister Regarding this comment: https://github.com/rust-lang/rust/issues/16365#issuecomment-67150133 , what issues did you have trying this out in Windows?
Repository: go
Issue: doc: Effective Go should use sync.WaitGroup, not dummy channel, for Parallelization example
Labels: Documentation,NeedsInvestigation

This is a documentation issue.

The section in Effective Go on [parallelization](https://golang.org/doc/effective_go.html#parallel) shows how to use a channel to count goroutine completions.  This seems like bad advice for Go learners, since [sync.WaitGroup](https://golang.org/pkg/sync/#WaitGroup) is a more concise alternative that is expressly designed for this idiom.
Repository: TypeScript
Issue: namespace / module: Duplicate declaration & needlessly remove line-breaks
Labels: Suggestion,Help Wanted

I wonder why TSC re-declare a global var after each namespace or module block.

``` ts
namespace OurName {
    export var isAndroid = true;
    export var isWinPhone = false;
    // do something
    var checkCookies = function() {
        return true;
    }
}

namespace OurName {
    export var HTML = '<b>hello</b>';
    export var state = [1, 2, 3];
    export var addToCart = function() {
        return true;
    }
}

namespace OurName {
    var xyz = false;
    // do something
    export module Office {
        var isClosed = false;
    }
}
```

Above code is translated to:

``` ts
var OurName;
(function (OurName) {
    OurName.isAndroid = true;
    OurName.isWinPhone = false;
    // do something
    var checkCookies = function () {
        return true;
    };
})(OurName || (OurName = {}));
var OurName;
(function (OurName) {
    OurName.HTML = '<b>hello</b>';
    OurName.state = [1, 2, 3];
    OurName.addToCart = function () {
        return true;
    };
})(OurName || (OurName = {}));
var OurName;
(function (OurName) {
    var xyz = false;
    // do something
    var Office;
    (function (Office) {
        var isClosed = false;
    })(Office = OurName.Office || (OurName.Office = {}));
})(OurName || (OurName = {}));
```

It also removes the line-breaks that help me keeping the code easier to look. I am porting our production ES5 code to TypeScript, so I have to carefully re-check the output of TSC. This behaviour makes my work even harder.
Repository: youtube-dl
Issue: Feature Request - Add playlist number to metadata
Labels: request,postprocessors

I've been using youtube-dl to download audio playlists. Instead of having to go through and manually add all the track numbers, it would be nice if youtube-dl could automatically add them to the file metadata.

(Not sure if this is the correct place to make a feature request, I'm not sure where else to put it.)
Repository: youtube-dl
Issue: Document ytsearch
Labels: documentation

it isn't clear from the documentation how to search youtube using wildcards with regex.

for example, as i've tried various regex expressions but youtube-dl complains about providing a URL

"ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output."

what i want to do is search youtube for say videos with keyword _photograph_ for example and dump out the audio codec and the youtube video number for each one it finds

here is part of my bash script
opt="--ignore-config --ignore-errors  --no-warnings "
opt+="--skip-download  --match-title *photograph* "
opt+="--get-format --get-id --get-format "

youtube-dl ${opt} http://www.youtube.com

normal ywt searches should look like
https://www.youtube.com/results?search_query=def+leoppard+photograph&page=1
Repository: youtube-dl
Issue: Site support request: memritv.org
Labels: site-support-request

Could you add support for downloading videos from the video site of MEMRI?
Here's a few links to random videos from the site:

http://www.memritv.org/clip/en/5148.htm
http://www.memritv.org/clip/en/5142.htm
http://www.memritv.org/clip/en/5141.htm

Note that every or almost every video has also a transcript of the speech linked to it, it'd be nice, if you could just integrate it into the .description file or something like that.
Repository: neovim
Issue: API for v:windowid or equivalent
Labels: needs:decision,api,gui,ui,needs:design

The value of `v:windowid` is not defined. In a terminal emulator, I can use the value of `$WINDOWID` instead, and @equalsraf has just implemented `$WINDOWID` on Neovim-Qt too (see: https://github.com/equalsraf/neovim-qt/issues/64). Perhaps the variable `v:windowid` is superfluous and can be deleted.

This issue is somewhat related with https://github.com/neovim/neovim/issues/2681
Repository: youtube-dl
Issue: add learn.infiniteskills.com
Labels: site-support-request,account-needed

please can you add this elearning website 
learn.infiniteskills.com

it will very helpful for everyone

thanks
Repository: go
Issue: encoding/xml: unexpected behavior of encoder.Indent("", "")
Labels: NeedsFix

Marshaling xml with prefix and indent set to empty strings results in unindented xml. Tested in Go 1.5.1 darwin/amd64.

The following code:

``` go
package main

import (
    "encoding/xml"
    "fmt"
)

type Person struct {
    XMLName   xml.Name `xml:"person"`
    Id        int      `xml:"id,attr"`
    FirstName string   `xml:"name>first"`
    LastName  string   `xml:"name>last"`
    Age       int      `xml:"age"`
}

func main() {
    v := &Person{Id: 13, FirstName: "John", LastName: "Doe", Age: 42}

    output, err := xml.MarshalIndent(v, "", "")
    if err != nil {
        fmt.Printf("error: %v\n", err)
    }

    fmt.Println(string(output))
}
```

gives:

``` xml
<person id="13"><name><first>John</first><last>Doe</last></name><age>42</age></person>
```

but expteded was:

``` xml
<person id="13">
<name>
<first>John</first>
<last>Doe</last>
</name>
<age>42</age>
</person>
```

I know, not major, but believe it or not, I actually need the latter behavior. :-)
Repository: You-Dont-Know-JS
Issue: es6 & beyond: ch8, remove `Object.observe(..)`
Labels: for second edition

`Object.observe(..)` has been withdrawn from TC39 proposal.
Repository: go
Issue: cmd/link:  ppc64 (big endian)  cgo errors 
Labels: compiler/runtime

I've built golang from master with the patches from issue 11184 to get external linking to work with ppc64le.  That seems to work well on ppc64le with external linking and cgo.

In cmd/dist/build.go, linux/ppc64le is in the cgoEnabled map but linux/ppc64 is not.  So the build of golang with the latest patches on ppc64 does not quite work with cgo.

If I build the golang toolchain on ppc64 with CGO_ENABLED=1, I first get this error:

cannot use dynamic imports with -d flag

I made a change to cmd/link/internal/ppc64/obj.go to get rid of this message, but then hit this error:
/home/boger/golang/gitsrc/latest/go/pkg/linux_ppc64/net.a(_all.o): unknown relocation type 51; compiled without -fpic?
......
runtime/cgo(.opd): unexpected relocation type 307
.......
and then too many errors

I can see that relocation type 51 is R_PPC64_TOC and that is not handled by the code.  I tried adding those defines but not sure what should be generated for this relocation type.  If there are suggestions on what to do I can try them out.
Repository: flutter
Issue: We should support ideographic, hanging, and mathematical baselines
Labels: c: new feature,engine,a: typography,P3,team-engine,triaged-engine

<a href="https://github.com/Hixie"><img src="https://avatars.githubusercontent.com/u/551196?v=3" align="left" width="96" height="96" hspace="10"></img></a> **Issue by [Hixie](https://github.com/Hixie)**
_Thursday June 23, 2015 at 19:55_
_Originally opened as domokit/mojo#264 then copied to https://github.com/flutter/engine/issues/46_

---

The TrueType 'bsln' table exposes metrics for ideographic, hanging, and mathematical baselines. We should add support for those to FreeType and our other font backends, then add support to Skia to report these metrics, then add support to the Sky engine to be able to align to those baselines and report the distance from the top of a LayoutRoot to each of those baselines, then add support for those baselines to the Dart-level RenderBox baseline protocol.
Repository: go
Issue: x/net: add Deadline, ReadBuffer, ReadDeadline, WriteBuffer, WriteDeadline getters
Labels: NeedsInvestigation,FeatureRequest

Currently there are the following setter functions in the net package for the IPConn, TCPConn, UDPConn, and UnixConn objects:

```
SetDeadline(t time.Time) error
SetReadBuffer(bytes int) error
SetReadDeadline(t time.Time) error
SetWriteBuffer(bytes int) error
SetWriteDeadline(t time.Time) error
```

Under the covers, these all call the unix C `setsockopt()` function

Since `setsockopt` has a corresponding `getsockopt` function, I'm proposing that we add the corresponding Getter functions to the `net` package, looking something like this:

```
GetDeadline() (time.Time, error)
GetReadBuffer() (int, error)
GetReadDeadline() (time.Time, error)
GetWriteBuffer() (int, error)
GetWriteDeadline() (time.Time, error)
```

This shouldn't be too difficult to implement, since the generated `zsyscall_*.go` files already have the `getsockopt` function.

This could be useful for debugging and logging information, and for checking if the corresponding `Set` function needs to be called.
Repository: TypeScript
Issue: Add "tonicExample" or "tonicExampleFilename" field to package.json
Labels: Suggestion,Help Wanted

To inform [this,](https://tonicdev.com/npm/typescript) which is linked to from the [npm package page](https://www.npmjs.com/package/typescript) in the right sidebar under ["try it out"](http://blog.tonicdev.com/2015/10/28/npm-plus-tonic.html). I imagine we'd rather the entire experience just be within [the Playground](http://www.typescriptlang.org/Playground), but it's not under our control, so we should probably improve the example as best we can.
Repository: neovim
Issue: syntax: end delimiter of a region highlighted incorrectly
Labels: bug-vim

This is a minor graphical bug with an easy workaround, so there’s really no hurry to fix it, but I thought I’d report it anyway.
## Steps to reproduce
- `nvim -u NORC +"syntax region Error matchgroup=Error transparent start='b' end='d'"`
- Type `iabcde`

Note: the problem does not happen if the region and matchgroup have different highlighting groups. For example, changing “region Error” to “region Whatever” works around the problem.
## Expected result

The characters `b` and `d` are highlighted as `Error`, and thus appear red.
## Actual result

Only `b` is red. `d` has the default color.
Repository: go
Issue: x/build: remove redundant [...] on build.golang.org for branches
Labels: Builders

When you view, for example, the dev.ssa branch on build.golang.org, all commits\* are prefixed with [dev.ssa].  Together with the fact that there's not a lot of space for the commit title, you end up with the build dashboard looking like:

[dev.ssa] cmd/compile: ...
[dev.ssa] cmd/compile: ...
[dev.ssa] cmd/compile: ...
[dev.ssa] cmd/compile: ...
[dev.ssa] cmd/compile: ...

which is pretty uninformative.  It's similarly redundant for all the other branches.  Could we elide the [branch] prefix?  It's useful for email but for the dashboard we've already filtered on this field.

*except merges from master

@bradfitz @adg
Repository: javascript
Issue: React eslint not catching the use of underscore with internal methods
Labels: pull request wanted

In the [React/JSX Styleguide 'Methods' section](https://github.com/airbnb/javascript/blob/master/react/README.md#methods) it says you shouldn't use `_` to prefix internal methods. However, some of my code contains this convention and it isn't being caught by the linter. I double-checked the eslint rules for react/jsx files and there doesn't seem to be a rule defined for this convention.

Is this intentional? If so, why specify the rule in your documentation? I found a related issue (#490), but it wasn't clearly stated whether or not this rule should definitely be adhered to but rather that it's more or less up to the programmer.

Any clarification would be greatly appreciated.
Repository: go
Issue: x/mobile/app: lifecycle events not firing correctly
Labels: mobile

Hi ! Im having some issues related to lifecycle event. The problem is that, i want to know when an App wants to Quit, but i don't get the corrects events 

the gist is here : https://gist.github.com/BrianCraig/bb2bb411a202b35c1a88
### First, im gonna run it on my PC (x86 AMD - default linux mint 17 Quiana cinnamon distro)

**start the process**

StageDead none
StageAlive on
StageVisible on
StageFocused on

_this is a correct event, which says that the stage is created (alive), visible, and focused_

paint internal

_now this paint is internal, but, it should be external; there is not a single paint event sent in my code_

**minimizes window**

_nothing happens_

**close button window**

_nothing happens_

**log out session**

_nothing happens_
### Then, im gonna run it on my phone (Android 4.4.2 - Moto E first gen)

**start the process**

StageDead none
StageAlive on
StageVisible on
StageFocused on

_this is a correct event, same for pc_

paint external

_correct context_

**minimizes app**

StageDead none
StageAlive none
StageVisible off
StageFocused off

_correct event_

**opens view**

StageDead none
StageAlive none
StageVisible on
StageFocused on

_correct event_

**minimizes app again**

StageDead none
StageAlive none
StageVisible off
StageFocused off

_correct event_

**closes the app**

_nothing_

So, is this working right ?
Repository: go
Issue: x/sys: provide termios.h-like functionality
Labels: NeedsInvestigation

Go needs a way to flush the stdin before prompt and Scanln.

See <a href="https://github.com/odeke-em/drive/issues/157">https://github.com/odeke-em/drive/issues/157</a> for psoible fix for Linux.
Repository: kubernetes
Issue: Implement dedicated nodes using taints and tolerations
Labels: priority/backlog,sig/scheduling,kind/feature,area/admin,lifecycle/frozen

This is really a meta-feature; it can be built from other features that we already have or plan to have.

The requirements are
- nodes are partitioned into groups
- administrator can specify a policy that forces pods meeting particular criteria to only run on machines in one of these groups
- optionally, the policy can say that pods that do _not_ meet the criteria can _not_ run on those machines

One possible implementation that meets these requirements is
- each node optionally has a label with key 'dedicated' and some value denoting a group name
- an admission controller has a table mapping namespace name to label value, and adds the corresponding <"dedicated", value> node selector to a pod if its namespace is in the table (ideally this is done in a way that the end-user cannot later modify, but I don't think we have that ability yet)
- not sure yet about how to implement the third bullet from the requirements; #14573 has some discussion.

(I guess this could be done with annotations instead of labels.)

The user who requested this feature also requested the following: kube-proxy on a node in the dedicated machine group belonging to namespace A should not know about any of the services outside of namespace A (except system services of course). Of course this only makes sense if the policy in the admission controller assigns pod to dedicated machine group based on the pod's namespace.

This is closely related to the discussion in #14573, but here I'm trying to capture the exact feature that was requested from a user in-person recently.

There is of course a "preferred" variant of this that acts as a preference rather than a hard constraint.
Repository: kubernetes
Issue: Apiserver should expose a non-authenticated endpoint to check its health
Labels: priority/backlog,sig/api-machinery,lifecycle/frozen,triage/accepted

While setting up k8s in a HA configuration in AWS and configuring an internal elastic load balancer to front the apiservers I noticed that the apiserver does not appear to expose a non-authenticated endpoint that ELB could use to perform an HTTPS health check (it expects a 200 response).  That limits the health check to a generic SSL or TCP check.
Repository: nvm
Issue: Install script should also update ~/.bash_profile
Labels: installing nvm: profile detection,pull request wanted

I was installing nvm on Mac OSX 10.11.1 and ran the install script in the README, which added the following line to my `~/.bashrc`:

```
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
```

But when restarting my shell, I got: `-bash: nvm: command not found`

I resolved this by adding the line above to my `~/.bash_profile` instead. Maybe the install script should also do this in case other people have this issue (more info about `~/.bashrc` vs `~/.bashprofile`: http://stackoverflow.com/a/415444)

(Note: you could also add `[[ -r ~/.bashrc ]] && . ~/.bashrc` to `~/.bash_profile` to make it load the `~/.bashrc` file.)
Repository: go
Issue: cmd/go: `go install -buildmode=c-shared std` does nothing
Labels: NeedsInvestigation,GoCommand

Should it? The similar command `go install -buildmode=shared std` works.

cc @ianlancetaylor
Repository: kubernetes
Issue: Move all mirror pod logic to a single module
Labels: priority/backlog,kind/cleanup,sig/node,lifecycle/frozen

Right now we have mirror pods being passed to the pod workers. Removing the mirror pod references scattered in kubelet.go and centralize them in one place brings benefits such as
- Easy disabling/enabling of such a feature, if necessary
- More readable code
- Pod workers no longer need to interact with apiserver
- Allow enhancements such as waiting a certain period of time before trying to recreate (to account for watch delay)
Repository: go
Issue: cmd/go, cmd/cgo: repeatable builds on Solaris
Labels: OS-Solaris,NeedsFix,compiler/runtime

Binaries built with "go build" that use cgo or include packages that use cgo contain references to a temporary directory. Multiple builds for the same binary will produce inconsistent results.

Simple reproduction:

``` go
// foo.go
package main

// #include <math.h>
// #cgo LDFLAGS: -lm
import "C"

import "fmt"

func main() {
        fmt.Println(C.sqrt(4))
}
```

```
$ go build foo.go && md5sum foo
d4cc4febe540953e8115417476adc4a4  foo
$ go build foo.go && md5sum foo
28f5f670a48e6f72a2f31405d9fbf2cc  foo
$ strings foo | grep go-build
/tmp/go-build847878379/command-line-arguments/_obj/_cgo_export.c
/tmp/go-build847878379/command-line-arguments/_obj/foo.cgo2.c
/tmp/go-build988195549/runtime/cgo/_obj/_cgo_export.c
/tmp/go-build988195549/runtime/cgo/_obj/cgo.cgo2.c
```

Some build systems require reproducible results: The same inputs should produce precisely the same outputs. The above behavior violates that requirement.

The problem appears to be that the gcc command invoked by "go build" includes the absolute path of the source file in $WORKDIR, which gcc then bakes into the resulting object file.

One fix might be to execute gcc from within $WORKDIR. There is, however, a comment in cmd/go/build.go indicating that the current behavior is intentional: "We always pass absolute paths of source files so that the error messages will include the full path to a file in need of attention."

Another possibility might be to use -fdebug-prefix-map to elide $WORKDIR from the debugging information written by gcc. I don't know if this can be generalized to other compilers.
Repository: youtube-dl
Issue: Site request: npodoc.nl
Labels: site-support-request

npodoc.nl is in some way part of npo.nl, so I expected it to be supported already. However, when I enter for instance http://www.npodoc.nl/live/vipdoc/laura-poitras.html it does not grab all present videos on that site. Videos on npodoc.nl are not available on npo.nl.

Would you like to add support for npodoc.nl?
Repository: TypeScript
Issue: Language service: open Type.id
Labels: Suggestion,Help Wanted,API

I am using language service to "traverse" the program, and I would like very much to "remember" which types and symbols I already saw, and to cache my computation results for them. Performance boost _and_ avoiding infinite loops.

The compiler very helpfully supplies `id` for `Type`, `Symbol` and `Node`, and it seems to be "really, really" unique for [symbols](https://github.com/Microsoft/TypeScript/blob/master/src/compiler/checker.ts#L16) and [nodes](https://github.com/Microsoft/TypeScript/blob/master/src/compiler/checker.ts#L10), and "relatively unique" (i.e. within a given typechecker) for [types](https://github.com/Microsoft/TypeScript/blob/master/src/compiler/checker.ts#L40). 

The problem is, however, that, unlike nodes and symbols, types hide their `id`s behind the ["internal" qualifier](https://github.com/Microsoft/TypeScript/blob/master/src/compiler/types.ts#L1850) and the lack of accessor function, making them not legally visible to me as a consumer of the language service. Of course, this being JavaScript, nothing prevents me from accessing them anyway, and that is what I currently do, but this is not ideal, because I am not protected from the code evolution in the future.

So it seems to me that nothing stands in the way of adding a `getTypeId` method to the typechecker, unless I'm missing something very important.
Repository: rust
Issue: Tracking issue for allowing overlapping implementations for marker trait
Labels: A-trait-system,T-lang,B-unstable,B-RFC-implemented,C-tracking-issue,F-marker_trait_attr,S-tracking-needs-to-bake,T-types,S-tracking-blocked

Tracking issue for rust-lang/rfcs#1268.

## Status

- [x] Initial implementation: #41309 
- [ ] Documentation
- [ ] Move to stabilize
- [ ] Stabilization PR

## Known bugs

- [ ] [cross-crate support lacking?](https://github.com/rust-lang/rust/issues/29864#issuecomment-295907958)
- [x] #102360

## History 

- initial implementation #41309
- https://github.com/rust-lang/rust/pull/53693

## Prior to stabilization

1. Is it ok that adding items to a previously empty trait is a breaking change? Should we make declaring something a marker trait more explicit somehow? --> resolved by adding explicit `#[marker]` annotation, see https://github.com/rust-lang/rust/pull/53693

## Other notes

In #96766 we decided NOT to disable the orphan check for marker traits as part of this work (just the overlap check), which was a proposed extension.