WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
When building a large library many classes need to define fields and methods that are meant only for use by other classes within the library, not the client. There is no simple way to express this in TypeScript. One can duplicate the entire public API in a set of mirror interfaces classes, but that creates a lot of duplicated code & doc maintenance, and sometime you really want to expose class names to the client. There appears to be a common convention of using the @internal JSDoc tag in this situation but it is not enforced by the compiler nor recognized by JSDoc.

The solution in Java is package-private access. The analogous mechanism in TS would be namespace-private access.

Issue 2:
Currently to protect integrity of data one can only use classes with private or protected fields. Classes are harder to work with compared to object literals. Being able to specify that certain fields are invisible to outside modules would be a valuable addition to support programming in functional style in TypeScript.

So what I am suggesting is to be able to specify whether a field of an interface is exported from a module or not. This also means that the instance of such interface can only be created within the module it is declared.

The similar features can be found in:

F# called signature files: http://msdn.microsoft.com/en-us/library/dd233196.aspx

Haskell called export lists: http://www.haskell.org/onlinereport/modules.html
Issue 1:
when adding the class "col-lg-offset-1" (as it says in the docs), the div did not offset, but it worked when I changed it to "col-offset-1"

Issue 2:
So as per the documentation, I tried using two different offsets for desktop and phone. But I could not find the col-lg-offset on the CDN hosted css file.

http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css

Am not sure if this is an issue or am I going wrong somewhere?
Issue 1:
Using TensorBoard histogram_freq feature cause a lot of warnings like:

Instructions for updating:
Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope.
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/Keras-1.1.2-py3.5.egg/keras/callbacks.py:525 in _set_model.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.

Also, turning it off cause another warning:

WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/keras/callbacks.py:536 in _set_model.: SummaryWriter.__init__ (from tensorflow.python.training.summary_io) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.FileWriter. The interface and behavior is the same; this is just a rename.```

Issue 2:
Please go to TF Forum for help and support:

https://discuss.tensorflow.org/tag/keras

If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with the documentation (for small docs fixes please send a PR instead).

The form below must be filled out.

Here's why we have that policy:.

Keras developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

URL(s) with the issue:.

https://keras.io/examples/timeseries/

Please provide a link to the documentation entry, for example: https://keras.io/guides/customizing_what_happens_in_fit/

Description of the issue (what needs to be changed):.

Duplicate entry of Classification example on Keras Timeseries example homepage

See the attached image

Correct links.

Is the link to the source code correct?

Parameters defined.

Are all parameters defined and formatted correctly?

Returns defined.

Are return values defined?

Raises listed and defined

Are the errors defined?

Usage example

Is there a usage example?

See the API guide: https://www.tensorflow.org/community/contribute/docs_ref on how to write testable usage examples.

Request visuals, if applicable.

Are there currently visuals? If not, will it clarify the content?

Submit a pull request?.

Are you planning to also submit a pull request to fix the issue? See the docs contributor guide:
Issue 1:
Failed: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke/2189/

Run so broken it didn't make JUnit output!

Issue 2:
Failed: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke/1883/

Run so broken it didn't make JUnit output!
Issue 1:
Make sure these boxes are checked before submitting your issue - thank you!

I have checked the superset logs for python stacktraces and included it here as text if any

I have reproduced the issue with at least the latest released version of superset

I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.18.4

Expected results

Labels are seen fully wherever they are located on heatmap.

Actual results

Steps to reproduce

Run superset

Create calendar heatmap chart, check labels behaviour.

Issue 2:
Make sure these boxes are checked before submitting your issue - thank you!

Superset version

Expected results

I see the callout is visible

Actual results

It is overlayed when placed on dashboard ( see attachment screen )

Steps to reproduce

Create calendar heat map and place on dashboard.

click on cell
Issue 1:
System info

Playwright Version: 1.32

Operating System: macOS 13.2

Browser: All

Source code

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)

// cmp.test.ts
import test from '@playwright/test'

enum URLs {
FR = 'https://www.vinted.fr',
LT = 'https://www.vinted.lt',
DE = 'https://www.vinted.de',
}

test.describe('cookies', () => {
for (const [country, baseURL] of Object.entries(URLs)) {
test.describe(() => {
test.use({ baseURL })

test(`test accepting cookies in ${country}`, async ({ page }) => {
// test
})
})
}
})

Expected

Test names in UI mode to be displayed the same like in VS Code plugin - with variable names.

All parameterized tests to be displayed

VS Code plugin 🟢

Actual

Currently it shows one correct name plus nested titles with project name but those do not run the tests.

UI Mode 🔴

Issue 2:
System info

Playwright Version: [v1.35.0]

Operating System: [All]

Browser: [Chromium]

Other info:

Source code

In our application we have toggle button that looks like this:

<div class="custom-togglebtn>
<label class="custom-togglebtn__label">
<input class="custom-togglebtn__input>
<span class="custom-togglebtn__icon"></span>
</label>
</div>

I see in docs that Locator.setChecked() should be used only for 'checkbox or a radio element' but in common toggle element is a checkbox.

When I use Locator.setChecked() method to 'check' or 'uncheck' the toggle (page.locator('div.custom-togglebtn')) -> it works in reverse.

What I mean:

setChecked(true) disables the toggle

setChecked(false) enables the toggle

Steps

Try to enable a toggle element using Locator.setChecked(true)

Expected

Toggle is enabled

Actual

Toggle is disabled
Issue 1:
I'm using PR4 and when generating a Doctrine crud with routes the UrlMatcher contains duplicate GOTO commands.

I tried adding a prefix to the imported routes but that did not work.

If I remove the method requirements in the CRUD routes there is no longer a duplicate GOTO in the UrlMatcher.

I'm including my bundle routes (which includes the generated CRUD routes) in the main routing.yml file. If I include the CRUD routes directly into the main routing.yml everything works.

Issue 2:
$io = new SymfonyStyle($input, $output);
$io->ask('question with default value Backslash\\', '\\');

This code snippet will print the following in command line:

question with default value Backslash</info> [</comment>]:
>

symfony/console v3.1.3

php v7.0.9

Mac OSX v10.11.6
Issue 1:
Hi,

I just upgraded from 1.8.4 to 1.9.0.1 and while my roles and inventory SSH configuration are unchanged:

Inventory SSH Configuration:

[group1:vars]
ansible_ssh_user=deployment
ansible_ssh_private_key_file=./files/dev/deployment_rsa
ansible_sudo_pass=password123

my_role/vars/main.yml:

---
sudo: yes

This previously working task my_role/tasks/main.yml:

---
- name: install jdk
yum: pkg=jdk-{{ jdk_package_version }} state=present

is now failing with:

failed: [host1] => {"failed": true}
msg: Error from repoquery: ['/usr/bin/repoquery', '--show-duplicates', '--plugins', '--quiet', '-q', '--disablerepo=*', '--pkgnarrow=installed', '--qf', '%{name}-%{version}-%{release}.%{arch}', 'jdk-1.2.27.1.0-3707']: Could not set cachedir: [Errno 13] Permission denied: '/var/tmp/yum-deployment-aVYwNt'
Error: Could not make cachedir, exiting

whereas before the ansible upgrade it was working fine. I am not passing any sudo / user related configuration in CLI.

If I add sudo: yes to every task in the tasks/main.yml it works, but clearly this is not something I want to do.

Has something changed in the sudo / user precedence in the new ansible version that I should know about? This seems like a bug to me but I could be wrong..

Thanks in advance,

Yannis

Issue 2:
ISSUE TYPE

Feature Idea

COMPONENT NAME

network namespace

ANSIBLE VERSION

none

CONFIGURATION

n/a

OS / ENVIRONMENT

Linux

SUMMARY

Ansible currently has no support for Linux network namespaces. It would be highly useful to get at least basic support for them via facts. Right now, if an interface is a non-default network namespace, ansible won't detect it at all, and it wont show up in fact variables such as ansible_interfaces or ansible_{{ifname}}.

STEPS TO REPRODUCE

Have an interface in a non-default network namespace.

EXPECTED RESULTS

Interface details to show up in facts such as ansible_interfaces and ansible_{{ifname}}.

ACTUAL RESULTS

Interface details missing.

Details

Writing a custom fact for this would be very cumbersome as ansible gathers a lot of information about the interfaces and state of networking that would have to be duplicated.

I think it might be simple to support this by getting a list of network namespaces, and then running the setup module again inside each network namespace (via ip netns exec). Could also enhance that by only gathering the network related facts. The resulting variables would then be available inside a netns_{{nsname}} tree. For example:

{
"ansible_network_namespaces": ["foo","bar"],
"ansible_netns_foo": {
"ansible_all_ipv4_addresses": [ "1.2.3.4" ],
"ansible_interfaces: [ "iffoo" ],
"ansible_iffoo": { "ipv4": { "address": "1.2.3.4", "netmask": ... } },
...
},
"ansible_netns_bar": {
"ansible_all_ipv4_addresses": [ "5.6.7.8" ],
"ansible_interfaces: [ "ifbar" ],
"ansible_ifbar": { "ipv4": { "address": "5.6.7.8", "netmask": ... } },
...
},
Issue 1:
Description of the new feature/enhancement

The list of implemented keybindings is missing the option of moving tabs to the left/right.

I did try and look for this request in other places, but the closest I could find was PR #3478, which implements this functionality as mouse-input by drag & drop, but as far as I could tell it is still missing as keyboard shortcuts.

I saw this mentioned in another thread, but again I was not able to tell if this was just proposed as a request or actually solved.

Proposed technical implementation details (optional)

This should be straightforward: Get the keywords moveTabLeft and moveTabRight in to the list of supported keybindings.

Issue 2:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.295]
Windows Terminal version (if applicable): Version: 0.3.2171.0

Any other software?
GNU Emacs 24.3.1
tmux1.8
CentOS 7.0

Steps to reproduce

When I ssh to my CentOS 7.0 server and start a new tmux session (tmux new-session -s someSession), and open a new or existing file in emacs, every time I move my cursor on a white space or special character, I get a unwanted square character printed on the screen. Some characters are already there (e.g. on empty lines) when I first open the file. The changes are only visual and don't modify the actual text file (i.e. saving and re-opening the file clears the new characters) but those that are there when the file opens appear consistently, generally in empty lines.

If I try with emacs outside of tmux it works fine, so it seems to be specific to tmux or one of its setting.

I did try to set my $TERM to xterm-256color, rxvt, etc. in the tmux configs but it didn't seem to change anything.

Expected behavior

The text file should display as is without any additional characters, e.g.

Actual behavior

See screen shot and additional square characters:
Issue 1:
We recently started to use the cluster sniffing feature in the Java API for node discovery which works great. But in our cluster setup we have 3 nodes (out of 9) which have different hardware (disk, less iops) and those are causing performance problems when they have to handle requests. To solve the issue I disabled sniffing again and didn't connect to those 3 nodes.

In order to still have node discovery in case a node is added or removed to/from the cluster it would be great to have an exclusion feature.

Settings.Builder settingsBuilder = Settings.settingsBuilder()
.put("cluster.name", "cluster")
.put("client.transport.sniff", true).
.putArray("client.transport.sniff.exclude", "node1", "node2", ...);

So sniffing would detect every x seconds all the nodes in the cluster, but it will not connect to the ones which are excluded.

Issue 2:
I have a case where the completion suggester is omitting results, below are two example documents. For a search like "Samsung", only Document 1 will be returned. Actually its the only document returned, so the size=10 is not reached. The only major difference i can is see is the weight, will the completion suggester omitt result if there's a huge difference in weight?

Document 1:

{ "_index" : "suggester", "_type" : "suggestions", "_id" : "b089f7c6a85f39fb882398b6c8ba34c1", "_score" : 1.0, "_source":{"suggest":{"input":["Sm","Samsung Mobiles Tablets","Mobiles \u0026 Tablets","(Export) Galaxy Note 4 Sm","Galaxy Note 4 Sm","Note 4 Sm","4 Sm"], "output":62020, "payload":{"br":"Samsung", "ca":"Mobiles \u0026 Tablets", "cl":"N910C LTE 32GB White","co":"product","li":"http://one", "pr":"(Export) Galaxy Note 4 Sm","th":"thumb1.jpg"},"weight":63}} }

Document 2:

{ "_index" : "suggester", "_type" : "suggestions", "_id" : "22480c43af984689f7254bda8d16f99a", "_score" : 1.0, "_source":{"suggest":{"input":["Samsung Mobiles Tablets","Mobiles \u0026 Tablets","Galaxy Note 4 Sm","Note 4 Sm","4 Sm","Sm"],"output":21970, "payload":{"br":"Samsung","ca":"Mobiles \u0026 Tablets","cl":"N910S LTE Black (Local warranty)","co":"product","li":"http://two", "pr":"Galaxy Note 4 Sm", "th":"thumb2.jpg"}, "weight":27}} }
Issue 1:
I’m using the German ergonomic keyboard mapping Neo and Mac OS.

By default, Atom has several key bindings of the form Alt+X (X being a letter). These correspond to special characters on my keyboard map, e.g., Alt+F (or, in Apple terms Option F) is =.

Expected behaviour:

The symbol is inserted.

Actual behaviour:

The key binding is triggered.

I suppose you could argue that this behaviour is not a bug; in this case I urge you to reconsider the default bindings, since the current default effectively blocks me (and other non-English keyboard users) from entering various special characters.

Issue 2:
I am running Atom 0.161.0 on Mac OS X Yosemite and use the German Neo Layout. Unfortunately I can't type the characters : < > and =. In other applications (Browser, Email and so forth) it works as expected.

I am aware of the issues atom/atom-keymap#35, #1625 and #3834 but these are only for the "right ALT" key.
Issue 1:
Please allow terminal to run scripts at startup from a task bar jump list.

What would be nice is having the Windows Terminal jump list provide a list of startup scripts, same way VS allows me to open projects form the jump list. I could pull up the jump list from the task bar and select whichever project I was working on. For example I could select a script from the jump list to take me to a particular working directory and setup command line compilation for the terminal instance.

Issue 2:
Your Windows build number: (Type ver at a Windows Command Prompt)

Version 10.0.17134.407, Intel Core i7-7700 embedded graphics, Full HD, 100%

What you're doing and what's happening:

Our console app uses WriteConsoleOutputCharacterW, WriteConsoleOutputAttribute, FillConsoleOutputCharacterW, FillConsoleOutputAttribute etc.

We draw on-screen boxes and menus using the box-drawing characters. When a sequence of characters is drawn in a single API call, the glyphs are contiguous. If written one at a time in adjacent locations, single pixel (I think) gaps separate the horizontal lines. The right-hand extension in the first image is done char-at-a-time, the horizontals in the tabs were done as single writes.

We use a green background to indicate entry fields. When no text is written to the field cells, they draw slightly narrower than cells with text.

I noticed something like this in the past, where writing a field to spaces to erase it then writing something in (or vice-versa, can't remember) left hairlines at the left and right edges of the region in question. This was hidden by carefully sequencing the write operations.

This behaviour appears on some PCs in our company but not others.

Previously I thought changing the font size fixed it, but not at present. This may be because the artifacts do not seem to appear for non-Unicode screen drawing using the same font and size.

Note that choosing properties, font, OK causes the screen to redraw and all lines are contiguous until redrawn by the application when the gaps reappear.

I normally use Lucida Console 18, but the same effect occurs with Consolas and at other font sizes. The image snippets captured use extra-large fonts for detail.

What's wrong / what should be happening instead:

Line-drawing characters should be contiguous, backgrounds should be uniformly sized.
Issue 1:
This is related to #2170, which describes how to use tf.gather to index on the first dimension of a tensor. What I'd like to do now is batch this operation:

params = tf.constant([[1, 2], [3, 4], [5. 6]])
indices = tf.constant([0, 1, 0])
gathered = tf.batch_gather(params, indices)
# gathered = [1, 4, 5]

Issue 2:
We should make our slicing and assignment ops more general to capture more of the functionality of numpy slicing, and add __getitem__ sugar for all of it. Specifically,

We should have a 2.5 dimensional set of ops, with dimensions (1) get vs. set, (2) slice type, and for the assignment ops (3) the update op. Currently we have slice, assign_update, assign_add, assign_sub, gather, scatter_update, scatter_add, scatter_sub. We should also have assign_slice_update, assign_slice_add, assign_slice_sub.

Both slicing and slice assignment should support strides, with no performance cost if strides aren't used.

Ideally, the slice ops should support negative indexing a la Python. Since the slice parameters are already CPU, this is implementable with near zero cost. The unfortunate bit is that since we picked the wrong format for specifying ranges (start + length instead of start : end), negative indexing might be awkward. Thus, it might be best left to a separate bug.

Support numpy-like boolean indexing.

Generalize gather and scatter_* to take an array of input index tensors, efficiently broadcast them, and do multidimensional indexing similar to numpy.

Make __getitem__ provide sugar for all of the above. Ideally we'd have something idiomatically similar at least to __setitem__, but this is problematic since the returned assignment op is important to have, __setitem__ does not return a value, and the nice range sugar is available only inside indexing / assignment calls.

@ebrevdo: I'm assigning this to you for now since you might get to it first, but feel free to grab only the piece of it that you need for now.
Issue 1:
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 a feature request that matches the one I want to file, without success.

Electron Version

12.0.5

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 21.04 x86_64 5.11.0-16-generic

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

SVG Icon could also be loaded too

Actual Behavior

Testcase Gist URL

No response

Additional Information

No response

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:

Electron 9.1.0

Operating System:

Debian GNU/Linux 10 (buster)

Expected Behavior

Rotate the electron after the npm start command

Actual Behavior

[17300:0714/163809.183079:FATAL:electron_main_delegate.cc(264)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

To Reproduce

Just follow the documentation to install electron and create the application.
Issue 1:
Challenge http://freecodecamp.com/challenges/waypoint-manipulate-arrays-with-pop has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

All of the javascript challenges have assertions with long strings of code. I am not sure if it is by design but it seems odd to me.

Issue 2:
beta.freecodecamp.com

Issue Description

It's exactly the same problem at this issue.

I decided to link my email in settings. (I login with my Github account)

After submitting the form I got an email from freecodecamp for verification.

On clicking the verification link I was redirected to the main site of freecodecamp ie https://www.freecodecamp.com instead of the beta site http://beta.freecodecamp.com

and I got an error message "Oops, something went wrong, please try again later" on https://www.freecodecamp.com.

When I came back to the beta site i.e http://beta.freecodecamp.com there the email setting section of the setting page my email address was already linked

And I noticed that I had only 1 brownie point. When I checked my public profile I found out that all my solved challenges were wiped out completely.

My FreeCodeCamp's account (freecodecamp.com not beta.freecodecamp.com) has not affected.

May I get back my progress?
Issue 1:
I've noticed that text appears more blurry on electron than in regular Chrome.

Mind you i'm using the latest electron version 1.6.0.

This is a comparison between Chrome (Top) and Electron's Chromium (Bottom)

Any ideas how to fix this?

Issue 2:
Since Electron 1.2.0, that means since the update from Chrome 50 to Chrome 51, there no LCD-text-antialiasing anymore (tested only on Windows).

Here an animated GIF showing the difference (300% zoomed screenshots) - look at the 'To run...' text:

The text is now less sharp and slightly blurred...

NWJS has the same problem since updating to Chrome 51, but Chrome 51 itself is fine.

Due my own research it seems that the problem might be somehow related to some page/window background-color and/or transparency settings... (Chrome renders automatically with grayscale-antialiasing on transparent elements).