WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
System information (version)

Steps to reproduce

Issue submission checklist

I report the issue, it's not a question

I checked the problem with documentation, FAQ, open issues,

answers.opencv.org, Stack Overflow, etc and have not found solution

I updated to latest OpenCV version and the issue is still there

There is reproducer code and related data files: videos, images, onnx, etc

Issue 2:
System information (version)

OpenCV => 4.2.0

Operating System / Platform => Windows 64 Bit

Compiler => Visual Studio 2019

Detailed description

I built and installed OpenCV 4.2.0 from source on Windows following guides from this blog post. The build and installation finished without error and I can import and use the cv2 module in PyCharm. However, PyCharm warns "Cannot find reference 'xxxx' in '__init__.py' for all the submodules, functions, variables etc. from the cv2 module. As a result autocompletion deos not work at all. I googled but couldn't find any solution although there are similar problems reported before.

Steps to reproduce

Issue submission checklist

I report the issue, it's not a question

I checked the problem with documentation, FAQ, open issues,

answers.opencv.org, Stack Overflow, etc and have not found solution

I updated to latest OpenCV version and the issue is still there

There is reproducer code and related data files: videos, images, onnx, etc
Issue 1:
Previously with the chocolatey based install I was able to open a command prompt and type atom . to open atom in the current folder, and after that command executed, my prompt would simply continue and allow me to do other things in the folder.

After the new install, when I type atom . I get the following output:

λ atom .
App load time: 147ms
[4124:1211/011828:INFO:renderer_main.cc(204)] Renderer process started
[4656:1211/011830:INFO:CONSOLE(64)] "Window load time: 2304ms", source: file:///C:/Users/<myuser>/AppData/Local/atom/app-0.156.0/resources/app/static/index.js (64)
[4656:1211/011833:INFO:CONSOLE(536)] "Error deactivating package 'keybinding-resolver'", source: c:\Users\<myuser>\AppData\Local\atom\app-0.156.0\resources\app\src\package.js (536)

And it blocks my prompt. I can either close Atom to get back to my prompt or CTRL-C (which obviously kills Atom)

Is it possible to get the old behaviour back?

Issue 2:
After loading 146 I have a problem starting atom. I use atom --dev . in my console and instead of just starting atom it shows debug stuff I'm not familiar with and never returns to a prompt. It runs in the foreground instead of separately. This also happens in safe mode.

This is what I see ...

C:\apps\autocomplete>App load time: 246ms
[9516:1113/150212:INFO:renderer_main.cc(204)] Renderer process started
[9652:1113/150214:INFO:CONSOLE(92)] "Download the React DevTools for a better development experience: http://fb.me/react-devtools"
, source: c:\Chocolatey\lib\atom.0.146.0\tools\atom\resources\app\node_modules\react-atom-fork\lib\React.js (92)
[9652:1113/150218:INFO:CONSOLE(46)] "Window load time: 4921ms", source: file:///C:/Chocolatey/lib/atom.0.146.0/tools/atom/resource
s/app/static/index.js (46)
[9652:1113/150219:INFO:CONSOLE(63)] "RESPONDER:", source: C:\apps\autocomplete\js\api.js (63)
[9652:1113/150219:INFO:CONSOLE(63)] "RESPONDER:", source: C:\apps\autocomplete\js\api.js (63)
[9652:1113/150219:INFO:CONSOLE(63)] "RESPONDER:", source: C:\apps\autocomplete\js\api.js (63)

Repro Steps

cd to project directory

atom --dev .

Expected: Return to prompt and load atom

Actual: see above

Versions

Atom: 0.146.0

Atom-Shell: 0.19.1

OS: Microsoft Windows 8.1 Pro with Media Center

Misc

�apm� �0.111.0�

�npm� �1.4.4�

�node� �0.10.33�

�python� �2.7.5�

�git� �1.7.11.msysgit.1�

�visual studio� �2013�

This report was created in and posted from the Atom editor using the package bug-report version 0.4.1.
Issue 1:
Describe the workflow you want to enable

Would be cool to have a preprocessor that maps dates (str or unixtime) to its' respective date parts: dayofmonth, dayofweek, hour,etc.

There's any reason this is not included in sklearn?

In case not, I could do a PR

Describe your proposed solution

from sklearn import preprocessing

de = preprocessing.DateEncoder(datepart=['month','hour'], cyclic=True)

de.fit(['2022-04-01 17:17:09.175803', '2022-04-01 17:17:09.175803', '2022-04-01 17:17:09.175803'])

DateEncoder()

de.datepart_

array(['month','hour'])

de.transform(['2022-04-01 17:17:09.175803', '2022-01-01 18:17:09.175803', '2022-03-01 02:17:09.175803'])

array([ [cos(04/12), sin(04/12), cos(17/24), sin(17/24)],

[cos(01/12), sin(01/12), cos(18/24), sin(18/24)],

[cos(03/12), sin(03/12), cos(02/24), sin(02/24)]

)

Describe alternatives you've considered, if relevant

No response

Additional context

No response

Issue 2:
Describe the workflow you want to enable

Do we want to add a transformer for pandas datetimes?

We haven't really added much based on pandas yet but this would be a pretty natural thing to add.

You could argue that you can do something like FunctionTransformer(lambda X: X.dt.dayofweek) or similar for the other features (year, hour, minute, month...) but the problem with that is that you don't get feature names, which is terrible for interpretation.

Featurizing datetimes is super common (the last ~10 datasets I worked on had it) and I think it's a workflow we should make easier.

Describe your proposed solution

Implement a DateTimeTransformer that takes in maybe just a single column (that would work well with ColumnTransformer but is a bit different from other transformers, but quite similar to the CountVectorizer, so maybe if it takes a single column it should be DateTimeVectorizer) and a list of features to derive, like dayofweek, dayofyear etc, but which creates meaningful feature names.

Describe alternatives you've considered, if relevant

An alternative would be to improve attaching feature names to FunctionTransformer, but this would still require some non-trivial code for datetimes, and they are just very very common.
Issue 1:
Checklist

I have verified that the issue exists against the main branch of Celery.

This has already been asked to the discussions forum first.

I have read the relevant section in the

contribution guide

on reporting bugs.

I have checked the issues list

for similar or identical bug reports.

I have checked the pull requests list

for existing proposed fixes.

I have checked the commit log

to find out if the bug was already fixed in the main branch.

I have included all related issues and possible duplicate issues

in this issue (If there are none, check this box anyway).

Mandatory Debugging Information

I have included the output of celery -A proj report in the issue.

(if you are not able to do this, then at least specify the Celery

version affected).

I have verified that the issue exists against the main branch of Celery.

I have included the contents of pip freeze in the issue.

I have included all the versions of all the external dependencies required

to reproduce this bug.

celery -A uniweb report

software -> celery:5.2.7 (dawn-chorus) kombu:5.3.0 py:3.9.17
billiard:3.6.4.0 redis:4.5.4
platform -> system:Linux arch:64bit
kernel version:3.10.0-1160.88.1.el7.x86_64 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:sentinel results:redis://:**@django-cms-test-redis-headless:6379/7

Our setup is Celery with Redis over Sentinel in a Kubernetes cluster. After upgrading Redis from version 4.5.4 to 4.5.5 the Celery worker crashed without any message. Return code after crashing is 0.

The same image running on Docker-Swarm without Sentinel works flawlessly.

pip freeze gives (I removed irrelevant packages):

billiard==3.6.4.0
…
django-redis==5.2.0
…
hiredis==2.2.3
…
kombu==5.3.0
…
redis==4.5.5 # <= the culprit, by downgrading to 4.5.4, Celery works fine
requests==2.31.0
…
urllib3==1.26.16
…

#8268 seems unrelated, because it has a different message.

Issue 2:
-I'm using celery Version: 4.1.1

In the celery Task I'm using group, chain and chord from celery

To excute the task I need to set the --concurrency=4

everything works fine

When I call pytest, using the worker for test (celery_session_worker) to test this task, a timeout excpetion occured.

Can you please advise how I can use the celery_session_worker with --concurrency=4.

Thanks in advance.
Issue 1:
I think that bootstrap should include icons on alert messages (errors/warnings/info/etc) by default. Having icons on alert messages would increase WCAG 2.0 (accessibility) across the web. The icons would allow colorblind users to understand messages easier.

Drupal had to solve this problem recently. Here's the issue where they discussed it: http://drupal.org/node/874370

I recognize this as a duplicate of #54 but I thought it might be time to revisit it since there are now icons available in the 2.0.

Looking through the icons, I don't actually see any that would fit for the alert messages. But perhaps we could find another solution.

Love to hear reactions to this.

Issue 2:
Bootstrap version 2.3.1

Samsung S3 default android browser

android 4.1.1

the <select> looks identical to an <input> -- there's no dropdown "icon" on the right side.. for multiple <select multiple="multiple"> there's no "scrollbar" or content

to duplicate, use default browser, surf to:

http://twitter.github.io/bootstrap/base-css.html#forms

scroll down to the select area..
Issue 1:
I don't know what happened

Issue 2:
Bug Report

When i test RuleAlteredJobAPIImpl.stopClusterWriteDB method

lock.tryLock() execute succeed, but the lock.isLocked() return false.

Which version of ShardingSphere did you use?

master b4f7482

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

ShardingSphere-Proxy

Expected behavior

lock.isLocked() return success.

Actual behavior

Reason analyze (If you can)

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

Step 1

Start multiple proxy, they share the same zookeeperr configuration

eg:

proxy one is on port 3307, proxy two is on port 3308

server.yaml

mode:
type: Cluster
repository:
type: ZooKeeper
props:
namespace: pg
server-lists: localhost:2181
retryIntervalMilliseconds: 500
timeToLiveSeconds: 60
maxRetries: 3
operationTimeoutMilliseconds: 500
overwrite: true

rules:
- !AUTHORITY
users:
- root@%:root
- sharding@:sharding
provider:
type: ALL_PRIVILEGES_PERMITTED
- !SQL_PARSER
sqlCommentParseEnabled: true
sqlStatementCache:
initialCapacity: 2000
maximumSize: 65535
concurrencyLevel: 4
parseTreeCache:
initialCapacity: 128
maximumSize: 1024
concurrencyLevel: 4

props:
max-connections-size-per-query: 1
kernel-executor-size: 16 # Infinite by default.
proxy-frontend-flush-threshold: 128 # The default value is 128.
proxy-hint-enabled: false
sql-show: true
check-table-metadata-enabled: false
show-process-list-enabled: false
# Proxy backend query fetch size. A larger value may increase the memory usage of ShardingSphere Proxy.
# The default value is -1, which means set the minimum value for different JDBC drivers.
proxy-backend-query-fetch-size: -1
check-duplicate-table-enabled: false
proxy-frontend-executor-size: 0 # Proxy frontend executor size. The default value is 0, which means let Netty decide.
# Available options of proxy backend executor suitable: OLAP(default), OLTP. The OLTP option may reduce time cost of writing packets to client, but it may increase the latency of SQL execution
# and block other clients if client connections are more than `proxy-frontend-executor-size`, especially executing slow SQL.
proxy-backend-executor-suitable: OLAP
proxy-frontend-max-connections: 0 # Less than or equal to 0 means no limitation.
sql-federation-enabled: false
# Available proxy backend driver type: JDBC (default), ExperimentalVertx
proxy-backend-driver-type: JDBC
proxy-mysql-default-version: 5.7.22 # In the absence of schema name, the default version will be used.
proxy-default-port: 3307 # Proxy default port.
proxy-frontend-database-protocol-type: PostgreSQL

Step 2

make sure already install docker, IT test will use it.

open the class org.apache.shardingsphere.integration.data.pipeline.cases.postgresql.PostgreSQLManualScalingIT

edit run configuration. add -Dit.cluster.env.type=native -Dit.env.postgresql.version=postgres:12

then execute the IT test

The final problem was

seems not lock succeed before.
Issue 1:
I decided to try and run a node project of mine with the following arguments:

$ deno run --node-modules-dir --allow-env --allow-sys ./src/main.ts --ext ts

It gave back the following error:

error: Parsing version constraints in the application-level package.json is more strict at the moment.

Not implemented scheme 'file'
at file:///{path/to/project}/src/main.ts:42:31

The library it was trying to import at :42:31 was one with the following definition in the package.json:

{
"dependencies": {
"@my/library": "file:ext/my-library"
}
}

This is a relatively straightforward bug, and is pretty low-priority, but thought I'd write it up as I couldn't find a duplicate.

Thanks for working on Deno!

Issue 2:
I have a node module test_node which is locally installed within the deno project into a node_modules folder via:

npm install --save ../test_node

package.json:

{
"dependencies": {
"test_node": "file:../test_node"
}
}

When I run with the node-modules-dir flag:

deno run -A --node-modules-dir index.js

I get the following error:

error: npm package 'test_node' does not exist
Issue 1:
Due to the way MSYS sandboxes file paths, paths passed to cl.exe are expanded into values which are invalid outside of MSYS.

Issue 2:
I anticipate a lot of "GEE I WONDER WHY I DIDN'T THINK OF THAT" when newcomers come into the channel asking how to make their types hashable, since the hash trait has some weirdo type signature, and the answer is "Derive this other typeclass you've never heard of before."

Why can't we just make it be #[deriving(Hash)]? It also makes already-written code more legible.
Issue 1:
Unlike the VS Code installer for Windows, the VS Code uninstaller for Windows is not signed. You can fix this by using the SignTool directive in your Inno Setup script. See http://www.jrsoftware.org/ishelp/index.php?topic=setup_signtool

For dual signing it's easiest to use Inno Setup 5.5.8 instead of 5.5.6 as you currently use: 5.5.8 allows you to have two SignTool directives, one for the sha-1 signing and another for the sha-256 signing.

Issue 2:
At first, moving lines up and down didn't seem to work at all, but then I found a stranger issue. Notice how line 6 becomes a mix of lines 5 and 7:

Here's the buffer, notice the first line is empty, so you can move the lines up.

if (this.mergeDecorator) {
this.mergeDecorator.dispose();
this.mergeDecorator = null;
}

if (!this.contextService || !this.gitService) {
return;
}

Steps:

Put cursor right before the first if

Duplicate cursor down 5 times

Move lines up
Issue 1:
Edit:

Issue has been exported to #8156

So I deleted content from here so that there is no duplication!

Issue 2:
Version

2.6.11

Reproduction link

https://codesandbox.io/s/epic-neumann-m8hqz

Steps to reproduce

Open link

What is expected?

Should display button under the text

What is actually happening?

Button is not displayed

I try to add separate vue component in svg. This component has foreginObject tag as root and contains button, wich was inserted thorought slot in another component. It do not work, I mean button is hidden in browser. However the button exist in DOM, more over has sizes

At the same time if forigenObject tag is declared in component with svg it is work. I can see button.

example: https://codesandbox.io/s/inspiring-mclaren-t1z09

I supose, there is porblem with slot content rendering in foreginObject, when forigenObject is root tag of separate component
Issue 1:
Updated to the latest version of Atom 0.121.0. When opening Atom I am now forced into full screen mode.. Toggling the mode doesn't seem to fix the issue either.

Possibly related to #3256 and #3257?

Attached is a screenshot:

Issue 2:
stick on the bar at the top - no window around.

fresh install from www.atom.io - version 0.122.0
Issue 1:
In PR #8354 we noted that the autograd engine always clears its final callbacks on execute():

auto Engine::execute(const edge_list& roots,
const variable_list& inputs,
bool keep_graph,
bool create_graph,
const edge_list& outputs) -> variable_list {
std::call_once(start_threads_flag, &Engine::start_threads, this);

// NOLINTNEXTLINE(cppcoreguidelines-pro-type-const-cast)
validate_outputs(roots, const_cast<variable_list&>(inputs), [](const std::string& msg) {
return msg;
});

// Callbacks are only valid for the duration of this run and should always be cleared
ClearCallbacks _cb_guard(final_callbacks, post_callbacks_lock);

Which suggests that if execute() is called twice during a run of backward() then callbacks already enqueued from the first or outermost run will be destroyed. This is clearly unexpected.

@apaszke and I think we could address this by associating final callbacks with backwards graphs and calling them as each graph finishes. We may also want to throw an error if a final callback is created outside of a backward graph it can be associated with.

Edit: code formatting.

Issue 2:
Currently, final_callbacks_ of an autograd engine is a vector shared by all backward passes on this engine. The autograd engine clears final callbacks at the beginning of the backward call. With reentrant backward calls, the final callback enqueued by the original backward call will be cleared by the reentrant ones (learnt from @pritamdamania87). I was a little surprised on this API behavior as I queued a callback but it never fires. Would it be better if we attach these final callbacks to each graph task? For example, we could use a thread local stack to hold the current graph task, and then push and pop accordingly similar to what we did for current_depth. Thoughts?

cc @ezyang @ssnl @albanD @zou3519 @gqchen
Issue 1:
Describe what you were doing when the bug occurred:

1.

2.

3.

Please do not remove the text below this line

DevTools version: 4.2.0-a8b8ffb89

Call stack: at e (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:154414)

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

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

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

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

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

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

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

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

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

Component stack: in dl

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 2:
PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE

I got this error when I click 'Ranked'.

Please do not remove the text below this line

DevTools version: 4.0.4-3c6a219

Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11441

at Map.forEach ()

at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11387)

at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11920)

at _i (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:277123)

at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)

at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:98280)

at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)

at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363

Component stack: in _i

in div

in div

in div

in Or

in Unknown

in n

in Unknown

in div

in div

in Ha

in le

in ve

in ko

in Ul
Issue 1:
The workbench on visual studio online on Azure has a nice power-shell terminal to let user work with their workplace in cloud. Other mature IDE products also have term window in their workbench. That way, user can interactively exec some command without switch between desktop and vscode window.

Issue 2:
It would be great if vscode has integrated terminal feature refer vim or atom https://atom.io/packages/term3

I saw this suggestion pending in uservoice(https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7752357-integrated-terminal) and repost here since it has specific repo
Issue 1:
Problem description: ".resample" documentation too vague

url: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.resample.html

e.g.:

rule: "The offset string or object representing target conversion"

No idea what is meant by that but a more helpful description to amateurs like me seems to be e.g.:

'a frequency or valid rule for re-sampling an inputted time-series object. Expressed as a string. '

Where is the documentation on 'how'? Or is it deprecated. If so, why is it there?

There are 13 parameters with only 9 descriptions.

Lastly, I think that if documentation is structured, a better suited layout is in the form of tables with clear headers but I suppose the documentation is too far in for anyone to be motivated to change it!

Best

Ed

Issue 2:
Reference docs (see: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.resample.html):

Add to docs the list of options that can be passed to fill_method. Some of which are pad, bfill, ffill.

-- The list seems to be documented for the method on fillna: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.fillna.html#pandas.DataFrame.fillna

The convention parameter is not well documented. It is unclear what the values of end or start means (and the associated aliases). (#15432 is dupe), PR #16965

The kind parameters is also unclear. The best I could get from it was a infinite stack recursion: #5026. (#19084)

how can also be a function or list of functions, not only a string

for the closed and label keywords, I think it could be explained which are default in which cases (which is not always the same). In every case, that label='right' is default as stated in the docs (http://pandas.pydata.org/pandas-docs/dev/timeseries.html#up-and-downsampling) is not true.

A list of all available methods for how

Tutorial docs:

example using custom how function

example showing how to use base