WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Gisbert van Rossum opened SPR-6428 and commented

When using 2 PropertyPlaceHolderConfigurers, placeholders declared (and given a value) in the first PPC are not resolved in the second PPC.

<bean id="configurer1" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">

<property name="properties">

<bean class="java.util.Properties">

<constructor-arg>

<map>

<entry key="resourceDirPlaceHolder">

<value>myResourceDir</value>

</entry>

</map>

</constructor-arg>

</bean>

</property>

<property name="order" value="1"/>

<property name="ignoreUnresolvablePlaceholders" value="true"/>

</bean>

<bean id="configurer2" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">

<property name="locations">

<list>

<value>classpath:${resourceDirPlaceHolder}/props.properties</value>

</list>

</property>

</bean>

this configuration results in:

java.io.FileNotFoundException: class path resource [${resourceDirPlaceHolder}/props.properties] cannot be opened because it does not exist

Affects: 2.5.6

Attachments:

multiplePPCs.zip (4.84 kB)

Issue Links:

#10389 only the first PropertyPlaceHolderConfigurer is initialized. Others are not ("is duplicated by")

#10389 only the first PropertyPlaceHolderConfigurer is initialized. Others are not

Referenced from: commits spring-attic/spring-framework-issues@09aea36

2 votes, 2 watchers

Issue 2:
Milan Skuhra opened SPR-9322 and commented

I tried to inject collection of beans (services) twice, into two beans (registers); and every register has injected different count of services.

Proxied bean was missing in second injection. It happend when first injection occurs and injecting proxied bean isn't created yet.

I debug it and found that method org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(..) has critical role in decision process if proxied bean will be injected or not.

If first injection occurs and proxied bean is not created yet, then method isTypeMatch(..) check injection suitability according to bean definition. Of course the proxied bean must be created to complete injection but apparently nothing check if type criteria is still matching after creation. When second injection occurs instance is already available and method isTypeMatch(..) check injection suitability according to instance - because it's a proxy it can return different result (as was in my case).

I attached simple project with one test case where this specific case is simulated. Of course there are many possibilities to fix it, but when somebody else accidentally configure something like this, it can be really hard to find where is the problem.

I suggest to duplicate condition (about suitability of bean to be injected) also after its creation.

If condition changes, exclude it from candidates and log some warning message.

Affects: 3.1.1

Attachments:

dependency-feature.tgz (3.34 kB)

2 votes, 2 watchers
Issue 1:
If I compile the following code on the old compiler (with the module command line flag) I get the error 'error TS2058: Return type of exported function has or is using private type 'MyElement'.'

If I use the new compiler and the --module flag it compiles with no complaints

export module Foo
{
interface MyElement extends HTMLElement {
}

export function bar(): MyElement {
return null;
}
}

Issue 2:
TypeScript Version:

1.8.10

Code

let a;
let b = { a as string };
let c = { <string> a };

Expected behavior:

The type of b and c should be { a: string } and the output should be this:

var a;
var b = { a: a };
var c = { a: a };

Actual behavior:

var a;
var b = { a: as, string: string };
var c = {} < string > a;
;
Issue 1:
Checklist

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 master branch of Celery.

Steps to reproduce

I'm using django 1.8 + Celery 4.0.1 + Kombu 4.0.1 + Redis as broker

from kombu.common import Broadcast

CELERY_QUEUE_BROADCAST = 'broadcast'

CELERY_QUEUES = (Broadcast(queue=CELERY_QUEUE_BROADCAST), )

@task(ignore_result=True, queue=CELERY_QUEUE_BROADCAST)

def broadcast_task():

print "task runned"

started two workers

celery -A proj worker -Q broadcast

broadcast_task.delay()

Expected behavior

tasks are performed by each worker at same time

Actual behavior

tasks performed by one worker at same time

also i placed my question on SO

http://stackoverflow.com/questions/41639334/broadcast-messages-in-celery-4-x

Issue 2:
Checklist

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 master branch.

I have included all related issues and possible duplicate issues in this issue

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

Related Issues and Possible Duplicates

Related Issues

None

Possible Duplicates

None

Description

Freenode is dead, so the IRC channel moved to irc.libera.chat - however the README still mentions freenode

Suggestions

modify the README so that users can find the correct IRC channel
Issue 1:
Summary of the new feature/enhancement

It would be nice if it was possible to right click on a folder in Windows Explorer and select "Open in Terminal" sort of like you can do with PowerShell 6.0.

It would also be nice to be able to type "terminal" on the windows explorer address bar and have terminal open on that folder (like powershell does).

For example:

Go to a folder in Windows Explorer (i.e. c:\temp)

Type pwsh in the address bar and hit enter

A powershell 6.0 terminal window opens on the C:\temp folder:

Issue 2:
Add "open Windows terminal here" to right-click context menu?

We know that, for windows 7, by default when we click "shift + right click with mouse" when we enter into a folder without selecting anything, we can see the option "open command window here".

While for windows 10, by default when we click "shift + right click with mouse", we can see the option "open powershell window here".

So for Windows 10 (version later than 1903), how can we make the following three options available in right-click context menu?

open command window here

open powershell window here

open Windows terminal here

Looking forward to your reply, thanks a lot~
Issue 1:
We hope to support the fuzzy query of encrypted fields

Now it is to report exceptions directly, and the algorithm can be implemented by itself

Is your feature request related to a problem?

no

Issue 2:
sharding-sphere 3.0.0 ， Tables not configured with sharding rules will not choice the defaultDataSrouces,and will choice the first dataSource in dataSourcesMap.

Please answer these questions before submitting your issue. Thanks!

Which version of ShardingSphere did you use?

3.0.0

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

Sharding-JDBC

Expected behavior

Actual behavior

Tables not configured with sharding rules will not choice the defaultDataSrouces,and will choice the first dataSource in dataSourcesMap.

Reason analyze (If you can)

TableFiller will not fill the table to sqlStatement ,so RoutingEngineFactory not find the Correct DefaultDatabaseRoutingEngine.

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

Example codes for reproduce this issue (such as a github link).
Issue 1:
Environment

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

Apple bootcamp 6.1

Steps to reproduce

Open windows terminal and try to type [ or ]

Expected behaviour

One is able to type the characters

Actual behaviour

In PowerShell one gets

digit-argument : 8

in ubuntu one gets

(arg: 8)

instead of the actual characters

Typing the characters in CMD.exe works fine.

Issue 2:
Your Windows build number:

10.0.18362.86

What you're doing and what's happening:

Trying to enter the @ sign on a Swedish keyboard in a PowerShell console using Alt Gr + 2.

See animated gif:

What's wrong / what should be happening instead:

Windows terminal shows digit-argument instead of outputting the @ sign as expected.

It's possible this is a PEBKAC error somehow but the problem doesn't show up in the normal PowerShell console... 😓
Issue 1:
Hi,

Ever since installing VS Code I seem to have a problem with Git/Dropbox.

Whenever I have a folder open in VS Code which is a git repository it seems to constantly update the index file and the FETCH_HEAD file. I don't mean every time I save a file, I mean every few seconds.

This causes a problem with Dropbox because I'm using it to sync files between my home and work computers. The notifications in the bottom right of my screen keep coming thick and fast and it's driving me crazy. Not to mention that Dropbox is constantly uploading files because it thinks they've changed.

Anyone else having this problem?

Version of VS Code: 0.10.6

Issue 2:
Several times now I've had mysteriously deleted files when doing a git pull in a console while Visual Studio Code is running. I've seen this roughly since version 0.10.

It seems that when auto-merging, Git is able to delete a file but not able to write the merged file back if it's open in Code. However that is just a hypothesis.

Seen the issue last with git version 1.9.5.msysgit.1 and Code 0.10.2.
Issue 1:
I have a "dynamic" component that is loaded through a DynamicComponentLoader. In that dynamic component I'm trying to set a template variable. But for some reason this doesn't seem to get parsed by Angular. Eventhough the exact same thing works fine from the "main" component.

Here is an example of my problem: http://plnkr.co/edit/38mf2kWzH16RjTNcyLEO?p=preview

You should see two texts. A text in a h2 tag, which has a dynamic id attribute. This id attribute is successfully parsed

Then the Dynamic component is loaded underneath that h2 element. The div that says _I should have a dynamic ID_ has no id attribute anymore. For some reason the variable isn't parsed. Even worse, the entire id tag disappeared.

Bug?

Issue 2:
I'm submitting a ... (check one with "x")

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

{{ '9999-12-31T23:59:59Z' : date:'short'}} => page errors out without an error in the console

{{ '9998-12-31T23:59:59Z' : date:'short'}} => formats to 1/1/9999 12:59 PM

Expected behavior

{{ '9999-12-31T23:59:59Z' : date:'short'}} => 1/1/9999, 12:59 PM

{{ '9998-12-31T23:59:59Z' : date:'short'}} => 1/1/10000, 12:59 PM

(current behaviour in Chrome)

Minimal reproduction of the problem with instructions

Plunkr to replicate it: https://plnkr.co/edit/xTi4YetvG8ASlS7vPdg3?p=preview

What is the motivation / use case for changing the behavior?

Browser consistency

Please tell us about your environment:

Windows 10

Angular version: 2.2.4

Browser: [IE11 | Edge ]

Language: [TypeScript 2.0.3]
Issue 1:
Params specified using axios.create are ignored. Here's a test case:

const axios = require('axios');

const agent = axios.create({
baseURL: 'https://www.test.com',
params: {
test: 'test',
},
});

Promise.all([
agent.get('/'),
agent.get('/', { params: { foobar: 'foo' } }),
]).then((arr) => arr.map(({ request: { path } }) => console.log(path)));

EXPECTED OUTPUT:

/?test=test

/?test=test&foobar=foo

ACTUAL OUTPUT

/

/?foobar=foo

Issue 2:
Describe the bug

Specific request params do not get merged with the instance default params.

To Reproduce

const instance = axios.create({
baseURL: "http://www.example.com",
params: {
q: "question",
}
});

instance.get("/page",
{
params: {
page: 2
}
}
)

What happens is that the request param object overrides the instance default param object. The instance no longer has a query param of q.

Expected behavior

According to the docs, all configuration options are merged. https://github.com/axios/axios#instance-methods

I expected request to contain both q and page params. This is also how it was working in version 0.18.0, which is how I noticed.

Environment:

Axios Version: 0.19.0

OS: 10.14.5 (18F132)

Browser: Node Express, and Chrome

Browser: Node 10.15.0, Chrome Version 74.0.3729.169 (Official Build) (64-bit)
Issue 1:
System information (version)

OpenCV => 4.1.2

Operating System / Platform => Windows 64 Bit

Compiler => Visual Studio 2015

Detailed description

I compiled OpenCV4.1.2 from source , add OpenVINO R3 support and banding to python3.6.4.

When i use net.setPreferableBackend(cv2.dnn.DNN_BACKEND_INFERENCE_ENGINE)

net.setPreferableTarget(cv2.dnn.DNN_TARGET_OPENCL) to load darknet yolov3.weights, it comes to failed with log:

cv2.error: OpenCV(4.1.2) D:\software\opencv-4.1.2\modules\dnn\src\op_inf_engine.cpp:704: error: (-215:Assertion failed) Failed to initialize Inference Engine backend: Unsupported primitive of type: OpenCVLayer name: yolo_106 in function 'cv::dnn::InfEngineBackendNet::initPlugin'

Can anyone help me?

Steps to reproduce

Issue 2:
Corrupt JPEG data: 1 extraneous bytes before marker 0xdb
Issue 1:
I am trying to find a better packing way than browserify file into one.

Issue 2:
Use case:

You create a library/tool that has dependencies.

You want to distribute your library in a UMD format (and have it work in the browser without a user having to use something like system.js to polyfill "require")

Current solution:

Using browserify to do the inlining work or create a custom build system to support this.

Ideal solution:

A flag to enable this joining inside of babel.

Why does this belong in core?

If you support exporting to UMD, then for it to be truly universal inlining the dependencies is essential.

Thanks 👾
Issue 1:
VSCode Version: 0.10.13-insider

OS Version: win10

How can i switch back to the English commands or the console can support both 'English' and 'Chinese'?When i'm coding, I have to switch the IME.

Issue 2:
From @espresso3389 in #4679:

I'm on Windows 10 and the IME is ATOK; a Japanese thirdparty IME.

Even with MS-IME, the behavior is same.

Typing "git: プル" correctly works but doing "git プル" does not work.

The search function does not seem to work with Japanese characters.

Is there an optimization to not recheck characters if the last character is replaced? While not being shown here, Japanese IMEs can also transforms multiple Japanese characters into an even smaller number of characters, by going from English -> Kana -> Kanji.
Issue 1:
Describe the feature:

Currently epoch_millis has what appears to be an arbitrary 13 character upper limit on what can be parsed. The date format documentation indicates that the year range is between 1653 and 2286, and that you should use a different formatter if your values exceed that range.

Because epoch_seconds is a subset of the epoch_millis format, it too has a strange upper limit of 10 characters.

We commonly receive (incorrect) data with epoch millisecond values with more than 13 characters.

For epoch_millis, one might assume this low number of digits is an attempt to prevent 32 signed int overflow, but that doesn't compute.

Max signed 32 bit int is 2147483647, which is 10 digits.

The underlying library used by Elasticsearch for Date parsing is Joda Time, and uses DateTime(millis, DateTimeZone.UTC) to construct an immutable DateTime value from epoch_millis , where millis is a Java Long value. millis can certainly accept more than 13 chars of digits.

Cross-post alert:

I've asked this question in the discussion forums as well.

I have a PR ready to submit, pending the outcome of this discussion.

Issue 2:
The suggester API is a good choice to get simple suggestions. But these suggestions may take additional informations into account. Typing in something like restaurant will result in restaurants all over the world. But in this case the geolocation of the request can be used to get better results, namely those which are close to point of the request. Another usecase could be a simple type or group information which allows the suggester to return results fitting this context.

In general the suggester should be able to handle generic information and create result with this information taken into account.
Issue 1:
In the "Install" tab under "Settings", the search box is no longer searching when the enter key is pressed. In order to search I have to click on the inactive button in the button group with "Packages/Themes", then click back to the category that I actually want to search. I'm on a new MacBook running OS X 10.10 with Atom v0.206.0.

Issue 2:
Steps to reproduce:

Open settings

Install

Search for anything and press enter to run the search

Items come up

Repeat 3-4 if you want to to prove that it'll work again and again

Close settings tab

Open settings (it should still be on install pane)

Search for anything and press enter to run the search

It doesn't work

As a side note, you can make it work by toggling to themes and then back to packages. So presumably the keybinding gets lost when the tab is first closed.

I'm using Atom 2.0.7.

Screencap (though not overly helpful as you'l have to trust that I'm pressing enter after typing my search terms!):
Issue 1:
Claim Your Front End Development Certificate

https://www.freecodecamp.com/challenges/claim-your-front-end-development-certificate

Step 3 displaying challenge map multiple times (infinite loop?), loading prompt never finishes

After reaching step 3 where my profile is checked to see if I've completed all Front End Dev challenges, I receive an error 'Oops! There was an issue.'

Browser Information

Google Chrome, 49.0.2623.110 and Firefox 45.01

Operating System: Windows 10

Mobile, Desktop, or Tablet: Desktop

Your Code

// If relevant, paste all of your challenge code in here

Screenshot

https://gyazo.com/0e10378398c445a1dc2f73f3d2f62fe3

https://gyazo.com/2443b85e5a3ab91aaefc7b8598363c63

https://gyazo.com/6e5660840a48d40d9d244862a57e52b1

Issue 2:
Hi, this looks to be the same as issue #5174, which is closed.

When I try to claim my front end development certificate at:

https://www.freecodecamp.com/challenges/claim-your-front-end-development-certificate

When I get to step 3, and I click "Open link in new tab (this unlocks this step)", I get an "Oops" error.

Console log says:

Failed to parse SourceMap: https://www.freecodecamp.com/challenges/rx.all.map

Screenshot below:
Issue 1:
Description

My team has an airflow stack orchestrating many of our ETL jobs. Recently, we noticed a bug in one of our hourly job's code causing a large number of hourly datasets to be malformed(more than 500). Thus, after fixing the ETL job, we have the need to rerun all the impacted DAG runs to correct the data.

I learnt that it's possible to batch initiate DAG reruns through the "Browse" -> "Task Instances" view, where I can filter out the task instances I want to rerun through execution date and dag Id and simply clear their states. However, since we set a concurrency limit for DAG runs, after we initiate the reruns, it appears that airflow is prioritizing reruns over latest runs, so out latest DAG runs got delayed. As we have a agreement with our consumers on data processing time, we don't want the latest DAG runs to get delayed.

I'm wondering if it's possible for Airflow to support a more intuitive and safe way to rerun DAG's in batch, where reruns only start if they don't impact latest runs.

Use case/motivation

Backfill/rerun is a common use case for ETL workflows. I feel it could be valuable to make it safe and more intuitive.

Related issues

Didn't find related issues after some simple searches. Please let me know if this is discussed somewhere else before.

Are you willing to submit a PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct

Issue 2:
Description of the problem

A common workflow we have is running daily DAGs not dependent of past runs. When deployed, It need to catch up for many years before the runs are up to date and can be used by analysts.

The problem is that most of times, recent runs are more used/valuable than performing ETL of execution time 20 years ago. In practice we deploy the DAG two times, one for filling recent data and one for filling since inception.

Feature requested

A flag (back_run=False) on DAG class. If this flag is set to True, DAG runs are scheduled in reverse order.

E.g. consider we're on day 10 and in the middle of the process a new run for day 11 happens:

the DAG runs would be scheduled like 10 -> 9 -> 8 -> 11 -> 7 -> 6 -> 5 (assuming the run for 11 happened after running for day 8). This flag can only be used if depends_on_past=False
Issue 1:
I'm using numpy 1.12.0 version.

>>> a= np.load('a.npy')
>>> len(a)
1030703
>>> np.fft.fft(a[0:len(a)-3])
array([-18765.00000000 +0.j , 11107.65388924+14875.98484147j,
-1335.17295525 +4724.62925166j, ...,
-386.13524067 +590.33225249j, -1335.17295525 -4724.62925166j,
11107.65388924-14875.98484147j])
>>> np.fft.fft(a)

I've interrupted cause np.fft.fft(a) doesn't return while 1hours.

Data I used

http://home.wisewolf.org/static/a.npy

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/506 on 2007-04-27 by @cournape, assigned to unknown.

Currently, using fft on arrays of size which has a prime number is extremely slow (up to 15 minutes for eg an array of size 100003). The major problem though is that the code being uninterruptible, this effectively kills the current python session. My understanding is that the fft in numpy is using fftpack converted in C, which uses a O(N^2) algorithm for prime numbers ? Would it be possible at least to make the code interruptible ?

{{

!python

import numpy as N

from scipy import fftpack

prime is a prime number

prime = 100003

a = N.random.randn(prime)

print 'scipy computing...'

fftpack.fft(a)

print 'numpy computing...'

N.fft.fft(a)

}}