WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

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

Environment

Dubbo version: 2.7.1

Operating System version: mac osx

Java version: 1.8

Steps to reproduce this issue

I am using the newest dubbo and nacos,but when register to the nacos the service only show in the [public] namespace,even if I assign the namesapce name.

Will dubbo support this feature ? Nacos >= 0.8.0 has supported the namespace params.

Thank you

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

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

Environment

Dubbo version: 2.7.8

Operating System version: MacOS

Java version: 1.8

dubbo HeaderExchangeChannel source code.

public void close() {
try {
// graceful close
DefaultFuture.closeChannel(channel);
channel.close();
} catch (Throwable e) {
logger.warn(e.getMessage(), e);
}
}

I understand that if closed field is added to this class as the state control of the channel, it should be added to each of its methods. For example, the close method should be modified to

public void close() {

if (closed) {

return;

}

closed = true;

try {

// graceful close

DefaultFuture.closeChannel(channel);

channel.close();

} catch (Throwable e) {

logger.warn(e.getMessage(), e);

}

}

But if you don't do state control in the class, why not directly let HeaderExchangeChannel inherit the AbstractPeer class?
Issue 1:
In the React context, when building an app I'm used to the concept of containers and components. It appears to me that "pages" are somewhat equivalent to containers within next.js.

Is there a recommended way to add an application layout container such that I could specify for example global <Header/> and <Footer/> components with the router determining which content to display within (the page)? Similar to how the popular react-router package match function can be configured on the server.

Using the next.js default router and pages folder as is, to achieve this do I have no option but to duplicate <Header/> and <Footer/> across all pages?

Issue 2:
Hi,

I've been seeing deployment errors with my Next.js project using Now. My project runs as expected on my own device and when I try to deploy I get several build errors, I suspect it has something to do with my build scripts. The project with previous deployments had worked just fine before, I recently added dynamic importing of some components. Maybe this has something to do with how the Now servers are building the deployment. Thanks for taking a look!

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

Expected Behavior

Just trying to deploy to now.

Current Behavior

`

sh: next: not found

npm ERR! file sh

npm ERR! code ELIFECYCLE

npm ERR! errno ENOENT

npm ERR! syscall spawn

npm ERR! jm-site-react@1.0.0 build: next build

npm ERR! spawn ENOENT

npm ERR!

npm ERR! Failed at the jm-site-react@1.0.0 build script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR! /home/nowuser/.npm/_logs/2017-08-17T19_26_59_314Z-debug.log

`

Steps to Reproduce (for bugs)

download this repo: https://github.com/jay-manday/jm-site-react/tree/responsive-p5

git checkout responsive-p5

yarn

now deploy

Context

Your Environment

Tech
Version

next
latest

node
8.0.0

OS
Mac OSX 10.12.5

browser
Chrome

etc
Issue 1:
A very handy feature in Notepad++: one can just open a new editing tab, or multiple ones, cut and paste stuff, or scribble a few notes.

Upon closing the application or shutting down the computer, instead of the usual "Do you want to save/not save/cancel" (as vsCode does), all those unsaved and unnamed files are simply saved to a temp location by the app, and restored in the same state upon next start.

Rgds

Issue 2:
Mac OSX 10.10.5 Yosemite, VS Code 0.10.1

Modern apps have a convention of not losing changes when the application quits and files haven't been explicitly saved. Sublime Text is particularly nice in this regard, where newly created or unsaved files are silently preserved on quit and restored when it is launched again. This would be nice for VS Code to support as well.

To Reproduce

Make changes to a file, or create a brand new unsaved file

Quit VS Code

Desired Behavior

VS Code immediately quits with no prompt. After relaunching the changed file is restored with changes intact and an unsaved indicator.

Actual Behavior

VS Code prompts you to save the file or discard your changes.
Issue 1:
Version

2.6.10

Reproduction link

https://jsfiddle.net/zhoulu_hp/x2ab4cug/1/

Steps to reproduce

Open the link in IE browser: https://jsfiddle.net/zhoulu_hp/x2ab4cug/1/;

Refresh the page more than twice，you will see the page shows a alert dialog. Because input event is trigger. but the code is normal in chrome browser.

What is expected?

the input event should not be trigger in IE.

What is actually happening?

input event is trigger inexplicably In IE

Issue 2:
Both of the following work in Vue 1:

<a href="{{ 'something' | linkHandler }}">link</a>
<a :href="'something' | linkHandler">link</a>

Neither of them work in Vue 2.0, because you can only use filters inside interpolations, and you can't use interpolations as attributes anymore.

Any way around this?
Issue 1:
Despite having turned on "Move newly created windows to their last know zone", ever since 0.19 and still in 0.19.1 when a new PDF document opens, fancy zones will not snap the pdf to the same zone. When the new document is opened in a new tab within Acrobat reader, Acrobat moves to a new location and shrinks to what I assume is Acrobat's default positioning / size for new documents.

Other details:

Will snap to last known zone on the same monitor of the Windows Explorer window where the document is being opened, but only when opening a whole new instance of Acrobat. When snapping to the zone in this case, it quickly flashes in the other on the before moving to the new second monitor and zone.

If Acrobat is open and the new document is opened in a new tab, it relocates Acrobat to the window, size and location that I can only guess is Acrobat's default setting, even if that is on a different monitor.

Issue persists if Acrobat settings changed to open each document in a new window (turn off tabs). The first instance opens in the last known zone in the same monitor as Window Explorer. The second and subsequent instances opens in the same monitor, but with the smaller size and location as described above (not snapped to the zone).

Zone behavior settings attached.

Issue 2:
Make zones available to conference apps such as Teams for screen sharing.

Full screen sharing doesn't work very well if you are using an ultra widescreen monitor, and as teams has no partial screen sharing option it would be useful to have a zone shared so that you don't have to keep changing the app your sharing.

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Issue 1:
The responsive utility class .visible-* assumes that we always want display:block to reenable displaying of the given element. It would be nice if in the case that we used this class on an inline element it produced a display:inline style.

Adjustments are offered in the case that the tag is table related, but not a span (which really should be inline). Perhaps other inline elements could be considered also? https://developer.mozilla.org/en-US/docs/HTML/Inline_elements

A span rule could be added to the .responsive-visibility() mixin in mixins.less

.responsive-visibility() {

display: block !important;

table& { display: table; }

tr& { display: table-row !important; }

th&,

td& { display: table-cell !important; }

span& { display: inline !important; }

}

Issue 2:
related to issues #8500 , #7808 , #4929 ; using .hidden-sm to hide span within .nav > li > a . Because class is display: block above -sm then text wraps to new line. Would you consider .hidden-* classes to be display: inline-block instead ?

Here's a jsfiddle of the two cases - but the repercussions could be greater outside of this situation so probably needs more consideration... http://jsfiddle.net/jholl/P86yf/
Issue 1:
Describe the bug

After upgrading three to r123 on a working project, that was before using r119, three cannot find some Camera's anymore. Strangely enough it can find some cameras, but not others. It doesn't seem to be related to ortographic vs perspective. It looks like the problem arrises only with nested camera's, so cameras within other 3D objects. But I'm not completely sure yet.

I've read all migration guides from r119 -> r120 up to the last one, but cannot find anything in there that should cause this IMO.

I'm still debuging, but so far this seems to be the issue: getObjectByName() can find some camera's, but others return undefined so cannot be found in the scene loaded by gltf. Before this was working fine, the only thing I needed to do before was traverse this object, because for some reason camera's are wrapped inside some object in gltf. But now even the wrapper object cannot be found. It is still in the gltf or glb though, nothing changed to the data.

const cameraWrap = scene.getObjectByName(camName);

I keep you informed if I know more when exactly this happens. But for now please let me know if something has changed that could cause this that I should be aware of! Thanks

To Reproduce

Steps to reproduce the behavior:

Create a scene with objects and camera's in blender (probably the problem occurs when cameras are nested (and nested) within 3D objects, but not sure yet)

Use the blender gltf or glb export to export to gltf or glb

Import the gltf or glb in three to get the scene

Try to get the cameras by using scene.getObjectByName(camName)

Code

scene.getObjectByName(camName)

Expected behavior

Nothing changed in three version according to the migration guide around cameras or objects AFAIK, so I would expect this to still work in r123.

Platform:

Device: Desktop/Mobile

OS: Windows

Browser: Edge Chromium

Three.js version: r123

Issue 2:
Description of the problem

I use a tool called OarConv which produces collada files with multiple <polylist> elements in one <mesh> refering to the same material. This works in colladaloader but in colladaloader2 there seems to be a design flaw that the return value of buildGeometry() is a group which is a map indexed by the material name and which contains just one THREE.Mesh (or similar) object per material name, so when the function runs it overwrites the preceeding 's representation with the succeding one.

I am not totally convinced that this Collada is within the specification but it seems logical that you can have multiple s with the same material and these colladas load in blender and 3ds max and unity.

As this is an architectural level issue I don't see a possibility for me to fix it, there is no easy patch that can be done. I was thinking about uniquifying the material name and duplicating the definition but that was too much of a hack for me to bear...

oar_house.txt

Attached .txt file is actually a dae file.

Three.js version

[x ] Dev (also tried r74 but the code looks the same)

r81

...

Browser

All of them (obviously)

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

Linux

Android

IOS

Hardware Requirements (graphics card, VR Device, ...)
Issue 1:
ℹ Computer information

PowerToys version: 0.21

PowerToy Utility: FancyZones

Running PowerToys as Admin: Yes and No

Windows build number: [run "winver"] 19041.508

📝 Provide detailed reproduction steps (if any)

1.Run Powertoys on startup

2.Enable any form of triggering fancyzones, Shift Key, secondary mouse button. or WinButton+Arrow

✔️ Expected result

On triggering fancy zones, the zone outlines should appear, or if using arrows, windows should snap to configured zones.

❌ Actual result

nothing happens.

Issue 2:
ℹ Computer information

PowerToys version: v0.21.1

PowerToy Utility: FancyZones

Running PowerToys as Admin: No

Windows build number: Windows 10 Version 2004: 19041.450

📝 Provide detailed reproduction steps (if any)

Check the Allow zones to span across monitors checkbox

Configure a zone which uses multiple monitors via the Launch zones editor and Apply

Attempt to snap window to zones, or use Shift key to highlight zones while dragging

✔️ Expected result

A window should snap to a zone

Zone highlighting ought to be functional

The Allow zones to span across monitors setting should persist even when closing settings

If there are errors "Activating" the zones, these should be raised to the user

❌ Actual result

A window will not snap to a zone when the Allow zones to span across monitors is configured

Window zone highlighting is also not functional

When FancyZones settings is closed and re-opened, the Allow zones to span across monitors checkbox is unchecked

When Allow zones to span across monitors is toggled to checked, then unchecked, zone highlighting and snapping functions, though obviously not with the multi-monitor zones

📝 Other Notes

There is a difference in framerate/refresh rate between the two monitors--could that be an issue?

System is a SurfaceBook 2 in a Surface Dock which drives a 2560 x 1440 monitor at 60 fps and a 2560 x 1440 monitor at 30 fps

The fps cannot be made the same as far as I can tell. Likely a hardware limitation.

Display is an LG 49 ultra-wide ( 5120 x 1440)

📷 Screenshots

FancyZones Settings:

Zone Editor spanning monitors:

Monitor configuration:
Issue 1:
It would be nice if in addition to the less files their were the equivalent sass files in a sass folder.

Issue 2:
With the launch of v3 and the new org, we should formalize the node packages that are out there and ensure they're kept up to date. No idea what this would take, but I'm making a note of it here so we tackle it soon. These two seem like the most popular, Less and Sass versions:

Bootstrap: https://npmjs.org/package/twitter-bootstrap

Sass port: https://npmjs.org/package/bootstrap-sass

Let me know if folks think of any other ports, packages, add-ons, etc that could use formalizing (aside from Sass).
Issue 1:
The Fixed-to-top navbar when used in mobile view (i.e. clicking a link) does not collapse afterwards. This means that the menu remains expanded and therefore covers the content.

See: http://www.eng.ox.ac.uk/hems/hems.html

Is it possible to have the menu collapse down after clicking a hyperlink?

Issue 2:
Hello,

I am fiddling a bit around with the responsive approach in Bootstrap. I feel that the way it is implemented is sometimes a bit static. Are there any plans or idea's (or am I not aware of the ability) to say something like "4 columns" on desktop size. "3 columns" on tablet size. And/or to say the sidebar for instance is just informative, it should be hidden when seeing the site on a mobile device.

I know how I can do this myself, but I was wondering if this community had such a thing in the planning or you have idea's what the best way is to build it? Any feedback is welcome.

I am creating something like this now.

Example 1 (4 columns on desktop, 3 on tablet)

<div class="span3 portrait-span4">one</div>
<div class="span3 portrait-span4">two</div>
<div class="span3 portrait-span4">three</div>
<div class="span3 portrait-span12">four</div>

Example 2 (2 columns on desktop, 1 on tablet)

<div class="span8 portrait-span12">main</div>
<div class="span4 portrait-hidden">side</div>

CSS

@media (min-width: 768px) and (max-width: 980px) {
.portrait-hidden{
display:none;
}
.portrait-span12, .portrait-container {
width: 724px;
}
.portrait-span4 {
width: 228px;
}
Issue 1:
Borrowing a unique pointer temporarily invalidates its type (the pointer is no longer unique). We need to ensure that the original unique pointer is inaccessible while the borrow alias exists (except, possibly to create other borrows). This will be done in a separate pass (I've actually implemented most of the code as part of #2046) which will check when a ~T is borrowed that either:

the borrowee is an rvalue, in which case the only accessible copy is the borrowed ptr and everything is fine.

the borrowee is an lvalue that is rooted in a local variable. This local variable is then made inaccessible for the scope of the borrow.

Issue 2:
#![feature(associated_types)]

trait Wub {
type Zoop;
}

trait Flim: Wub {}

fn main() {}

<anon>:7:13: 7:16 error: associated types may not be referenced here
<anon>:7 trait Flim: Wub {}
^~~
Issue 1:
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)

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

One click deployment from https://github.com/mui-org/material-ui/tree/v1-beta/examples/nextjs should work.

Current Behavior

One click deployment to now fails.

Steps to Reproduce (for bugs)

Click on 'deploy to now' button in https://github.com/mui-org/material-ui/tree/v1-beta/examples/nextjs

Provide valid zeit token

Click Deploy

Deployment fails and following message is shown in the deploy page:

Deploying examples/nextjs directory in v1-beta branch of mui-org/material-ui

Deploy failed, please check the repo and try again.

Context

Unable to use one-click deploy to quickly see a demo of this example.

Your Environment

Tech
Version

Material-UI

React

browser

etc
Issue 1:
In 1.6, stack traces got syntax highlighting in the REPL, but methods did not.

Syntax highlighting would help with readability. Presumably the code can be reused.

Issue 2:
Hello!

I love being able to see all the various implement methods, or methods using a certain type in Julia.

However, I didn't find it easy to find what I was looking for at a glance. Particularly for functions with many (tens-hundreds) of implementations. So, I've tried adding a bit of colour. I've found it really helpful, and think it would be good if something like it were the default.

Happy to make a PR, or just see my work used.

Example

Current output for methods(sum)

My output for methods(sum)

Code

function Base.show(io::IO, m::Method)
tv, decls, file, line = Base.arg_decl_parts(m)
sig = Base.unwrap_unionall(m.sig)
if sig === Tuple
# Builtin
print(io, m.name, "(...) in ", m.module)
return
end
printstyled(io, decls[1][2]; color=:blue)
print(io, "(")
for (d, i) in zip(decls[2:end], 2:length(decls))
if isempty(d[2])
printstyled(io, d[1]; color=:magenta)
else
printstyled(io, d[1]; color=:magenta)
typespec = split(d[2], "{"; limit=2)
if length(typespec) == 1
printstyled(io, "::", d[2]; color=:yellow)
else
printstyled(io, "::", typespec[1]; color=:yellow)
printstyled(io, "{", typespec[2]; color=247)
end
end
if i < length(decls)
printstyled(io, ", ")
end
end
kwargs = Base.kwarg_decl(m)
if !isempty(kwargs)
printstyled(io, "; "; bold=true)
for (k, i) in zip(kwargs, 1:length(kwargs))
printstyled(io, Base.sym_to_string(k); color=:magenta)
if i < length(kwargs)
printstyled(io, ", ")
end
end
end
print(io, ")")
Base.show_method_params(io, tv)
printstyled(io, " in "; color=:light_black)
printstyled(io, m.module; color=:light_red)
if line > 0
file, line = Base.updated_methodloc(m)
printstyled(io, " at "; color=:light_black)
printstyled(io, file; color=:green)
printstyled(io, ":", line)
end
end

function Base.show_method_list_header(io::IO, ms::Base.MethodList, namefmt::Function)
mt = ms.mt
name = mt.name
hasname = isdefined(mt.module, name) &&
typeof(getfield(mt.module, name)) <: Function
n = length(ms)
if mt.module === Core && n == 0 && mt.defs === nothing && mt.cache !== nothing
# try to detect Builtin
print(io, "# built-in function; no methods")
else
printstyled(io, "# "; color=:light_black)
printstyled(io, n; color=:cyan, bold=true)
print(io, " ", n==1 ? "method" : "methods")
sname = string(name)
if hasname
what = startswith(sname, '@') ? "macro" : "generic function"
print(io, " for ", what, " ")
printstyled(io, sname; color=:blue)
elseif '#' in sname
print(io, " for anonymous function ", namefmt(sname))
elseif mt === Base._TYPE_NAME.mt
print(io, " for type constructor")
end
print(io, ":")
end
end
Issue 1:
Alright, kind of a React newb but React is not following the principle of least surprises with this one so I have to ask.

Our team only really wants serverside rendering for a particular project. We don't need to do much special on the client.

However, as far as I have learned, you need to have a reference to the same React components on the client as you do on the server in order to actually get dynamic behavior (events are bound etc) on the client.

My question is, if we have a <div id='react-root'> </div>

why isn't React setup so that on the front-end we could just call:

ReactDOM.render(document.getElementById('react-root');

(without the React component first argument.)

Doesn't / couldn't React have enough info to go off of already, so as to not need an actual reference to the React component on the front-end as well? As long as React on the front-end has a reference to the root DOM node, couldn't / shouldn't that be enough?

The whole thing where you have to re-render on the client is kinda unexpected. I am sure I am missing something, or there must be some good reason why the lib works this way, I just don't know and want to know which is why I am writing this. Thanks.

Issue 2:
Describe what you were doing when the bug occurred:

Click on "ranked" in the Profiler

Please do not remove the text below this line

DevTools version: 4.2.0-a8b8ffb89

Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:156567

at Map.forEach ()

at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:156513)

at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157036)

at gl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:314363)

at fi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59263)

at lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:103717)

at kc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89467)

at wc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89392)

at pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:86341)

Component stack: in gl

in div

in div

in div

in _o

in Unknown

in n

in Unknown

in div

in div

in zi

in Ge

in un

in ba

in Rc
Issue 1:
I know there is a similar issue (#1954) but it is related with Squirrel.Windows and Windows 10. This problem is also on Windows 7 and Squirrel.Windows shouldn't be needed for pinning an application.

app.setAppUserModelId('electron.app.AppName') doesn't make any difference.

This is happening when I drag (as in the gif above) the .exe to the taskbar and then I try to run it. If I execute the app first and then pin the running instance, the pinned app will work correctly.

Issue 2:
Output of node_modules/.bin/electron --version: 3.0.0

Output of node_modules/.bin/electron --version on last known working Electron version (if applicable): 2.0.10

Operating System (Platform and Version): macOS 10.12.6

Expected Behavior

When setting the titleBarStyle to hiddenInset on macOS I would expect it to show the macOS "traffic lights" buttons for closing, minimizing and expanding the window.

Actual behavior

The traffic lights are not visible, yet they do respond to clicks when you click on the area corresponding to each of the buttons.

To Reproduce

$ git clone https://github.com/hellais/electron-quick-start.git -b hidden-inset
$ npm install
$ npm start

Screenshots
Issue 1:
Failed: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/17719/

Run so broken it didn't make JUnit output!

Issue 2:
Failed: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-test-go/17098/

Run so broken it didn't make JUnit output!