fix: uses nextest in the Release CI

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
I noticed from the discussion on https://github.com/GreptimeTeam/greptimedb/discussions/1570 that this could be the cause of the test failure in the release CI. This PR

Change Makefile to use nextest
Install nextest in corresponding jobs

I'm afraid our unit test can only run by nextest for now, due to those global variables.
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@zyy17 PTAL


enhancement of main page header section

i want to add a logo instead of the name fun fusion on the navbar and also get the search game option below the animated fun fusion

@Hansawani you can only work at 1 issue at a time

@Priyanshi662 can I work on this issue?


Fix inline radio element used with optionLabelPath (BS3)

I've not used this part, but found something that looks like an issue while exploring the code.

Good catch! Was introduced by https://github.com/kaliber5/ember-bootstrap/commit/508ae1f3db5d044fadbf5f63dca5195541716ae2. Seems like we are missing test coverage for the combination of having an optionLabelPath and inline=true.

@kumy Opened a pull request against your branch to add missing tests for this case: https://github.com/kumy/ember-bootstrap/pull/1

@jelhan thanks for putting the test together. I think I will merge this quickly, as the fix itself is fine and I wanted to cut a release today. Can you target your PR to the main repo's master instead?

@simonihmig Sure. Please find it as #768.


Adjust y-axis limit to encompass data in catch figures (Figures a and 4)

The ylim setting seems to be the default NULL so in case it's not a trivial fix I'll note it here (and do it at some point). Also shift the legend up (easy).

Done. Also tried prettying up the x-axis labels but not easy with the barplot stuff, so leave as is.


Container attempt to resolve instance even with null default argument

When making an object out the container, the container will try to resolve an instance even it has null default argument specified. This fails in the case of an unresolvable optional dependency, e.g.
class Foo {
    public function __construct (SomeDataClass $config = NULL) {}
}

class SomeDataClass {
    public function __construct($primitive) {}
}

Foo is unresolvable without configuration

Missing laravel version, missing steps to reproduce.
Please make sure you submit all the requested data.

Laravel: 5.3


Fixing the description of dbid

The Note points this out, but the description of the column was incorrect.  In this DMV dbid is only non-null for static SQL in stored procedures.

Docs Build status updates of commit cc8078f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/system-dynamic-management-views/sys-dm-exec-sql-text-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@rwestMSFT
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Revise GST - NEST Terminology - Component DB

[x] Revise GST
[x] Change NEST Terminology
[ ] Change Component DB

[x] Add API for NS view
[ ] Make SST --> Component
[ ] Create "config" API
[ ] Remove pdu

[x] Change Slice Mapping
[ ] Testing
[ ] Docs

For testing: Issue #24


Updates for drugFromSource and drugFromSourceId to support drug combinations

As discussed in 22 April meeting, we should make the attribute drugFromSource a list when split on / only (other delimiters have a different semantic in PGKB and should continue to be exploded into separate evidence) and rename the attribute to be plural drugsFromSource.
This is to support drug combinations like ivacaftor / lumacaftor.
To remove complexity and because CHEBI IDs aren't being used by OT, we will remove the drugFromSourceId attribute entirely.
Related OT issue here.

After a discussion with @DSuveges we have agreed that the most accurate solution is to create a drugs object. This will be a list of structs with 2 keys:
drugFromSource: name of the drug at source
drugId: CHEMBL ID that will be populated by us later on in the drug mapping step, so it will be null in your case
This solution solves the problem of keeping the parity between name and ID. Now that CHEBIs have been removed, you are not affected by this, but it is important for us so that we can map each drug name to the CHEMBL ID after it is mapped.
Thank you very much! Please let us know of any issues


Error in indicator size measurement for custom transformToString

When using a custom string transform, the the librarys bubble measuring is wrong. I assume it is using 0 or something else to probe the size, transformToString results in.
What I was doing is I used.
@Override
public String transformToString(int value) {
    DecimalFormat speedFormat = new DecimalFormat("#.##");
    float speed = value / 1000F;
    return speedFormat.format(value) + "x";
}

But set the minimum to 500 and the maxium to 2000. The result was the text being cropped. I assume that the library probes for a 0, which led to a result of x for my app. And that the library used the x as the bounds size for the bubble.
A good fix would be to use the mMax value to probe for the size.
A workaround I impemented was to use:
if (value < internalMin)
    value = internalMax;

inside
transformToString(int value)

That way the correct measurement is ensured.

Okay, this might be a more serious issue. I.e for 1999 I would return 1.99x, but for 2000 I return 2x. So the measurement is based on that number.
I think this is hard to fix without iterating over all the numbers.

The only solution I see is creating a specific method where the dev can specify a measuring "biggest text", but I'm not sure if it's a very "professional" solution...
I'm open to suggestions.

I'd met this problem, too... Any solution? @Ph1b

You could return what ever you know as the largest value at the initial set, assuming the first call is the measurement call. I didn't test this.
private boolean firstCall = true;

@Override
public String transformToString(int value) {
    if (firstCall) {
        firstCall = false;
        return "2.00";
    }
    DecimalFormat speedFormat = new DecimalFormat("#.##");
    float speed = value / 1000F;
    return speedFormat.format(value) + "x";
}

What I want to do is to change the largest value whenever I want to... But when I do the following
mDiscreteSeekBar.setMax(new Random().nextInt(10000));
It won't change the size of bubble.
Then I read the source code and found that there was no control command to the size.
public void setMax(int max) {
        mMax = max;
        if (mMax < mMin) {
            setMin(mMax - 1);
        }
        updateKeyboardRange();

        if (mValue < mMin || mValue > mMax) {
            setProgress(mMin);
        }
    }

Thanks all the same.


Wrong arg count -parameterless test and conf method declaring Object[]

In the scenario where a configuration method declares Objec[] type parameter and
is run for a parameterless test method, a superfluous (empty string) parameter is
added into the configuration method invocation, thus yielding IllegalArgumentException:
 @BeforeMethod setUp(@BeforeMethod setUp:
    Wrong number of arguments were passed by the Data Provider: found 3 but expected 2)

Switching the configuration method parameters order didn't do the trick (similar issue - #128)
The following test clarifies the problem (run from Eclipse plugin:  <IP_ADDRESS>20308_1617 ):
@Test
public class TestNG_confMethodParamsBugTest {

    @BeforeMethod
    public void setUp(Object[] params, Method method) {}

    @Test(dataProvider="param")
    public void testMethod1_ok(String param) {}

    public void testMethod2_bug() {}

    @DataProvider(name="param")
    public Object[][] getParam() {
        return new Object[][]{{"Kuk"}};
    }
}

Closed because we are not able to reproduce it.
Check comments from #1445 by @krmahadevan


if Gradient name changed to something other than Gradient Fill1 it is not exported correctly

I have a project where I name the fills - both regular and gradient with a particular schema so that it can be accessed in a lottie post render. Until now it has been all working as it should, but, with my recent exports, if I change the fill name to the one I need, when exported the gradient does not render correctly....
I always save the file before the export - so its not that issue...
Here's the AEP Project.
Gradient Export Problem.aep.zip
..

it was a glitch - it seems that for some unknown reason it is the particular schema name that is giving the issue in this particular file...

I take it back - the gradient render issue is still there... here's another project - I started it from scratch, in a new AEP... it has only one comp and one gradient and I can't render it out correctly - this time no matter what name I give the gradient.
LT_G - 2021-11-4 (new project).aep.zip
..

Hi I discovered that bodymovin may not distinguish layers with the same name, or layers end with another layer's name (eg: "a" and "xxxxxxa") when exporting gradients.
In your second project, the plugin seems to confuse the Zero | Rect_Blue layer (the gradient layer) with Rect_Blue layer, regardless of the gradient effect name itself. I try to change the layer's name to something like Rect_Blue | Zero and it works.


updating docker file to include flask oauth libraries

adding the following three libraries allows the superset container to leverage the flask oauth components.

Can you give an example of what you'd use these for?

within superset_config.py the AUTH_TYPE can now equal AUTH_OAUTH and leverage standard OAUTH providers like git, facebook and twitter. The superset documentation also calls out that OAUTH can be used but it doesn't work without these libraries.
http://airbnb.io/superset/index.html?highlight=oauth
CODE SNIP:
AUTH_TYPE = AUTH_OAUTH
OAUTH_PROVIDERS = [
{'name':'github', 'icon':'fa-github', 'token_key':'access_token',
'remote_app': {
'consumer_key':CONSUMER_KEY,
'consumer_secret':CONSUMER_SECRET,
'base_url':'https://github.com/api/v3/user',
'request_token_params':{'scope': 'user:email'},
'request_token_url':None,
'access_token_url':'https://github.com/login/oauth/access_token',
'authorize_url':'https://github.com/login/oauth/authorize'}
}
]


Matrix3x3 to Quaternion Conversion

Hi,
thanks for making a great library!
I noticed some strange rotation in the output from the debug renderer when setting the transform of a body using a Matrix3x3. The problem went away when converting to a quaternion using GLM, so I believe the problem is in the Matrix3x3 to Quaternion conversion. Here is some example code:
Matrix3x3 original(0.001743,-0.968608,0.248589,-0.614229,-0.197205,-0.764090,0.789126,-0.151359,-0.595290);
Matrix3x3 converted = Quaternion(original).getMatrix();
std::cout << original.to_string() << std::endl;
std::cout << converted.to_string() << std::endl;

Output:
Matrix3x3(0.001743,-0.968608,0.248589,-0.614229,-0.197205,-0.764090,0.789126,-0.151359,-0.595290)
Matrix3x3(0.124709,-0.992193,-0.000000,-0.784941,-0.098659,-0.611665,0.606890,0.076281,-0.791117)

Hello. Thanks a lot for taking the time to report this issue.
I have made a fix with this commit in the master branch.
Could you pull this change and let me know if the issue is also fixed on your side ?

Yes, it is fixed now. Thanks!


Handle non-gap null values in line and x-range plots

Closes #602
TODO:

[ ] Determine if plots should enumerate "null" in the scale and show "null" as a state or just leave it out?

Is it reasonable to say to let the model explicitly handle null values. If the user wants to see "null" as a state, then the model should output an explicit value of "NULL" or something for that null value.

Is it reasonable to say to let the model explicitly handle null values. If the user wants to see "null" as a state, then the model should output an explicit value of "NULL" or something for that null value.

Seems reasonable, probably worth running by @sschaffe?

So without special handling, the SerializedValue.Null special aerie protocol placeholder would just not plot and leave an actual blank space in the UI for those periods, but all the other legit values would still plot in their corresponding periods right? As long as that transition is still clear and there's no confusion that sounds fine to me. And otherwise any special domain specific stringification of null to "NULL" or "N/A" or "-" can be handled in the model.
I actually rather like that approach would allow much more obvious intermittent blips for real values on x-range plots without the full bar of color otherwise rendering for the long nulls.


registrationId has to be hardwired to '{registrationId}'

SpringSecuritySamlGrailsPlugin.groovy has the following check in the doWithSpring closure:
               if (metadataUrl) {                     if (!metadataUrl.contains("{registrationId}")) {                         throw new IllegalArgumentException("grails.plugin.springsecurity.saml.metadata.url must contain {registrationId}")                     }                     requestMatcher = new AntPathRequestMatcher(metadataUrl)                 }
thus requiring the metadataUrl to be hardwired to '{registrationId}'.
Should the test be comparing "${registrationId}"?
There's a couple of other locations where the $ is missing too.
Using Grails 6.2, plugin version 5.0.0-RC3

No, this is intentional. It's a Spring Security (or perhaps even Spring proper) aspect of the AntPathRequestMatcher. If you use that {registrationId} template, it will parse the registrationId from the URL.
The URL /login/saml2/sso/abc with the template /login/saml2/sso/{registrationId} gives you registrationId=abc
If you want a metadata url like /custom-metadata-url without the registrationId, then you will have to define your own Saml2MetadataFilter with a custom RequestMatcher that has the hard wired registrationId.
Meanwhile for the SAML SSO and SLO endpoints, there is the defaultIdp setting that allows you to set a custom assertionConsumerService and singleLogoutService without any restrictions.

Got it. Thanks for your help.


Move types and update dependencies

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (ceda3d3) 100.00% compared to head (5dac343) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #214   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           39        39
  Lines         1497      1497
  Branches       255       255
=========================================
  Hits          1497      1497

Files Changed
Coverage Δ

src/coola/types.py
100.00% <ø> (ø)

src/coola/summarizers/summarizer.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bug in handling indexing on the left-hand side of an equation.

Hello,
Describe the bug
Indexing has a problem when going deeper than the first level, when solving the left hand side of an equation.
To Reproduce
With the following code:
var game = {flags={}, varia=1, myset=[]}
var dialogue_line = await DialogueManager.get_next_dialogue_line(event, "start", [game])
Run the following script:
Nathan: Hello world.
set varia = 2
set myset = [1,2,3,4,5]
set myset[0] = 0
set flags.myset = [1,2,3,4,5]
set flags.myset[1] = 0
Nathan: myset: {{myset}}   flags.myset: {{flags.myset}}
Expected behavior
The arrays should be [0,2,3,4,5] and [1,0,3,4,5], but instead we get [0,0,3,4,5] and [1,2,3,4,5].

A similar problem can be found by doing this:
var game = {flags={}, varia=1}  # Note: no myset variable on the top level
var dialogue_line = await DialogueManager.get_next_dialogue_line(event, "start", [game])
Nathan: Hello..
set flags.myset = [1,2,3]
set flags.myset[0] = 0
..which creates the false error message "Missing property on current scene or game state. See Output for details."


[E2E -- CI] Drone integration.

1, Enable drone as the CI per PR on Harbor.
2, Implement the drone.yml
3, Support Harbor deployment within Drone.
4, Support run Harbor UT within Drone.
5, Support build Harbor within Drone.

Drone code mount path: /drone/src/github.com/vmware/

Done.


WS-Federation with Dynamics 365 Online

[ X] I read and understood how to enable logging

Hi,
I have a working implementation of IdentityServer, already integrated with a website using AuthorizationCode flow. I do also need to federate a Dynamics 365 Online with my IdentityServer.
I have the following configurations.
On the Dynamics side:
$dom = "xxx.org”
$brandname = "xxx"
$issuerUri = "https://xxx"
$passiveLogonUri = "xxx/core/wsfed"
$activeLogonUri= "xxx/core/login"
$meta = "xxx/core/wsfed/metadata"
$cert = "MIxxxx"
Set-MsolDomainAuthentication -DomainName $dom -FederationBrandName $brandname -Authentication Federated -ActiveLogOnUri $activeLogonUri -IssuerUri $issuerUri -PassiveLogOnUri $passiveLogonUri -MetadataExchangeUri $meta -LogOffUri $passiveLogonUri -SigningCertificate $cert -PreferredAuthenticationProtocol WsFed
On the IdentityServer side:
Realm = "urn:federation:MicrosoftOnline",
Name = "CRM Dynamics Dev",
Enabled = true,
ReplyUrl ="https://xxx.dynamics.com", // have tried https://login.microsoftonline.com/login.srf also
TokenType = "urn:oasis:names:tc:SAML:2.0:assertion", // have tried urn:oasis:names:tc:SAML:1.0:assertion also
But everytime I tried the login, once the user is successfully authenticate, the IdSrv redirected back, but I just keep on getting the following error on the browser:
"Intente esta acción de nuevo. Si el problema persiste, consulte la Comunidad Microsoft Dynamics 365 para obtener soluciones o póngase en contacto con el administrador de Microsoft Dynamics 365 de su organización. En última instancia, puede ponerse en contacto con el Soporte técnico de Microsoft."
On the URL we can see the following error code: https://xxx.dynamics.com/_common/error/errorhandler.aspx?BackUri=https%3A%2F%2Fxxx%2Fcore%2Fwsfed%3Fclient-request-id%3D3467526b-74b4-4a1d-a359-1b3722f0b382
(...) &ErrorCode=&Parm0=%0d%0a%0d%0aDetalles%20del%20error%3a%20Invalid%20URI%3a%20The%20hostname%20could%20not%20be%20parsed.&RequestUri=%2fdefault.aspx&user_lcid=3082
By the way, when I tried using ReplyUrl ="https://login.microsoftonline.com/login.srf" with SAML1.1, the error was:
AADSTS90019: The SAML 1.1 Assertion contains no ImmutableID of the user.
and with SAML2, the error was:
AADSTS50008: Cannot read SecurityToken. Expected element is (Assertion, urn:oasis:names:tc:SAML:1.0:assertion) the actual element is (Assertion, urn:oasis:names:tc:SAML:2.0:assertion
I was unable to find any working example anywhere online. Could anyone please provide any hint on how to procede? Many thanks in advance.
Regards.
Relevant parts of the log file
There isn't any exception on the IdSrv log side.
2017-11-27 10:15:28.515 +01:00 [Information] {
  "Category": "Endpoints",
  "Name": "WS-Federation endpoint success",
  "EventType": "Success",
  "Id": 50001,
  "Details": {
    "EndpointName": "wsfederation",
    "Operation": "signin",
    "Realm": "urn:federation:MicrosoftOnline",
    "Subject": "xxxxx",
    "Url": "https://xxxxx/core/wsfed?client-request-id=3467526b-74b4-4a1d-a359-1b3722f0b382&username=xxx%40xxx&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=LoginOptions%3D3%26estsredirect%3d2%26estsrequest%3drQIIAaVSv2_TQBS2m7QqUYYKJFQJISFEsiD_PDtnR4ogakgaFLuKSTDJdvZdEttxHF0uJcnIwMSAxNYRmDoCExL_QKfO_AWIAbUbI1YEnQDxQ7on3fve-957eu_LceXCiLHprCxJPo0DH8WYHIrpVxPxcoJSZCb6SSzRy7mdyBlq79j1-6961-DNs7dPjvm9C-44mWNKcECJzxL6kwINqTpnI-d7itScYLIQ0Wy6OOX5Tzz_cSPvzuoEE4pYkEyOMucbU1p5PBtcQEUaV9btCgAV1EH6fjdwGi7S-d8RMBmg-ZitpyrS5X-Q04SEDgNcKZUUxdN9VVCQTgQNISgYOkAC9JEHIcQe1M3iJJn4pLLnWO6DdAPi2hVLoKRBAGXDNGQADFM1xH6jqVgrJ7AabXZQc2I7kGW75kQttynbnS7rufXIcvtja9VdWrWe3g-j1HBkraqs3-kCeynLB52HYcu9t7DDNrNW0aoXtlU7HI2suD56k7llYgg8H-iC4hmyoEEFC-YAmIJBPNOTkUlUIJ9mc5-zeTlT3t7O7XC73A3ua5Z_uZkK5OnVKx-882P76PWLL_t3Te5kU2otVI969jB5pNBaOz39baWkHgZdaoeBG_bqS5UF-8MaVki1AsrK8638yRZ3tsW9v_SM_2NxlTUN_Fpgd35gneTfT_oN0&cbcxt=&mkt=&lc="
  },
  "Context": {
    "ActivityId": "8dd637e1-65a8-4f39-b404-98a9d756cc59",
    "TimeStamp": "2017-11-27T09:15:28.5144126+00:00",
    "ProcessId": 3312,
    "MachineName": "xxx",
    "RemoteIpAddress": "xxx",
    "SubjectId": "xxx"
  }
}

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!


Restructure PR template and add information to release instructions

Before submitting this PR

Description: Change to the PR template --> this structure.
Jira task / GitHub issue: DDS-1501
How to test: X
Type of change: Check the relevant boxes in the section below
Add docstrings and comments to code, even if you personally think it's obvious.

What type of change(s) does the PR contain?

[ ] New feature

[ ] Breaking: Please describe the reason for the break and how we can fix it.
[ ] Non-breaking

[ ] Bug fix

[ ] Breaking: Please describe the reason for the break and how we can fix it.
[ ] Non-breaking

[ ] Security Alert fix
[ ] Documentation
[ ] Tests (only)
[x] Workflow

Checklist

Changelog

[x] Added
[ ] Not needed (E.g. PR contains only tests)

Rebase / Update / Merge from base branch (the branch from which the current is forked)

[ ] Done
[ ] Not needed

Blocking PRs

[ ] Merged
[x] No blocking PRs

PR to master branch

[ ] Yes: Read the release instructions

[ ] I have followed steps 1-6.

[x] No

Actions / Scans

Black: Python code formatter. Does not execute. Only tests.
Run black . locally to execute formatting.

[x] Passed

Prettier: General code formatter. Our use case: MD and yaml mainly.
Run npx prettier --write . locally to execute formatting.

[x] Passed

Yamllint: Linting of yaml files.

[x] Passed

Tests: Pytest to verify that functionality works as expected.

[ ] New tests added
[x] No new tests
[x] Passed

TestPyPi: Build CLI and publish to TestPyPi in order to verify before release.

[x] Passed

CodeQL: Scan for security vulnerabilities, bugs, errors

[ ] New alerts: Go through them and either fix, dismiss och ignore. Add reasoning in items below.
[ ] Alerts fixed: What?
[ ] Alerts ignored / dismissed: Why?
[x] Passed

Trivy: Security scanner

[ ] New alerts: Go through them and either fix, dismiss och ignore. Add reasoning in items below.
[ ] Alerts fixed: What?
[ ] Alerts ignored / dismissed: Why?
[x] Passed

Snyk: Security scanner

[ ] New alerts: Go through them and either fix, dismiss och ignore. Add reasoning in items below.
[ ] Alerts fixed: What?
[ ] Alerts ignored / dismissed: Why?
[x] Passed

DDS web PR with same structure has already been approved.


Some grammar updates.

What is this PR for?
Just noticed some grammar inconsistencies that I thought I could clean up while getting myself started on Zeppelin. Thanks for a great project!
What type of PR is it?
Documentation

LGTM

Thanks @mressler for the contribution. Merge to master if no further comment.


[HOLD https://github.com/Expensify/App/issues/17091] Deeplinks to ValidateLogin links are broken on dev

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Sign into an account on the passwordless beta on mobile
Click on the validate login link sent to the email

Expected Result:
It correctly deeplinks you to the validate login page, and then signs you in
Actual Result:
Nothing happens with the deeplink. You stay on the page requesting the validate code
Workaround:
N/A
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @joekaufmanexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

⚠ Looks like this issue was linked to a Deploy Blocker here
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

The ValidateLogin page is currently broken, but will be fixed after https://github.com/Expensify/App/issues/17091 is sorted out. Therefore I'm putting this on HOLD for that for the time being.

Cool cool. Seems like this is all set, but LMK if there's anything I can help with!

Just tried to repro this on dev and wasn't able to reproduce, closing


net::ERR_NAME_NOT_RESOLVED

Hello,
Getting above error while deleting file on s3
Please help me.

i'm getting the same Error
@tatva-hiral did u get any solution?


give cooked meats construction component

About the PR
fixes #20248
no idea how cooking steaks worked just fine before this but yeah
also bear steak (nothing else) had the target entity be FoodMealBearsteak which is very weird everything else used the cooked X meat prototype
Why / Balance
bug
Technical details
no
Media
meat fresh out of the fire

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
no
Changelog
no cl no fun

Okay, how did linter pass before merge but not after merging...

it didnt :trollface:


update probe exclusion list (996 new probes deemed sketchy by Illumina, Sep '19)

added to version 0.6.1. If using methylcheck.load and the sample files match the pattern, it will warn the user about sketchy probes and explain how to filter them out.


Add arm64 support

Codecov Report

Merging #341 (e564029) into master (525dca8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #341   +/-   ##
=======================================
  Coverage   85.21%   85.21%
=======================================
  Files          50       50
  Lines        2712     2712
=======================================
  Hits         2311     2311
  Misses        276      276
  Partials      125      125

Impacted Files
Coverage Δ

openapi/waiter.go
61.11% <0.00%> (ø)

cli/flag_set.go
93.87% <0.00%> (ø)

cli/flag_field.go
100.00% <0.00%> (ø)

cli/color.go
100.00% <0.00%> (ø)

config/user_agent.go
100.00% <0.00%> (ø)

openapi/restful.go
79.03% <0.00%> (ø)

openapi/force_rpc.go
100.00% <0.00%> (ø)

cli/completion_utils.go
63.00% <0.00%> (ø)

cli/parser.go
73.17% <0.00%> (ø)

cli/errors.go
100.00% <0.00%> (ø)

... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 525dca8...e564029. Read the comment docs.


[Event Request] table 1003 "Job Planning Line" - CopyFromResource

Describe the request
Could you please add the following event?
local procedure CopyFromResource()
var
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforeCopyFromResource(Rec, xRec, IsHandled);
    if IsHandled then
        exit;

    Res.Get("No.");
    Res.CheckResourcePrivacyBlocked(false);
    Res.TestField(Blocked, false);
    Res.TestField("Gen. Prod. Posting Group");
    if Description = '' then
        Description := Res.Name;
    if "Description 2" = '' then
        "Description 2" := Res."Name 2";
    "Gen. Prod. Posting Group" := Res."Gen. Prod. Posting Group";
    "Resource Group No." := Res."Resource Group No.";
    Validate("Unit of Measure Code", Res."Base Unit of Measure");
    //+EVENT
    OnAfterCopyCopyFromResource(Rec, Job, Res);
    //-EVENT
end;

[IntegrationEvent(false, false)]
local procedure OnAfterCopyCopyFromResource(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job; Resource: Record Resource;)
begin
end;

Additional context
We would like to transfer custom fields similiar to the Event OnAfterCopyFromItem or OnAfterCopyFromGLAccount.
Internal work item: AB#524720

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 18489.


mediaelch: fix loading of libmediainfo

Motivation for this change
#159918
@JalilArfaoui please test this.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I would say this is good enough :) Patching has other disadvantages.

Is there something to do manually to have it available in 21.11 ?

if #160508 gets merged, the fix is applied in 21.11 as well.


Incorrect line numbers in compile error trace

The compiler reports incorrect line numbers and text when code (probably containing macros) fails to compile.
For example this line using Crystal at 5e53fb1 prints:
in ./src/fs_adapter/driver.cr:164: undefined method 'table_path' (if you declared 'table_path' in a suffix if, declare it in a regular if for this to work)

      tables_.not_nil!.map(&.[2])
                        ^~~~~~~~~~

I believe it's due to the line references being collected before expanding macros, but take my word with a grain of salt as I don't know almost anything about the compiler's internals.

@trapped I almost went crazy with this one! Are you developing in Windows or something like that? Your newlines are \r\n instead of \n.

I do too develop through Windows (actually, using a buggy sshfs driver) occasionally, but it's actually because I have git configured to convert to CRLF line endings.


change dynoJedisClient builder initialization with new dyno-queues ve…

…rsion

Pull Request Test Coverage Report for Build 3312

0 of 12 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.009%) to 70.024%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

redis-persistence/src/main/java/com/netflix/conductor/dyno/RedisQueuesDiscoveryProvider.java
0
1
0.0%

redis-persistence/src/main/java/com/netflix/conductor/dao/dynomite/queue/DynoQueueDAO.java
0
11
0.0%

Totals

Change from base Build 3297:
-0.009%

Covered Lines:
10262

Relevant Lines:
14655

💛  - Coveralls


Failed to load game

Fabric loader said that modmenu conflicts with fabric [<0.30.0] (running Fabric API 0.28.1+1.16) when I was updating modmenu from 1.14.3 to 1.16.9.
1.16.8 results with same init error, what can I do?
P.S. This all started because mod menu was causing crash on version 1.14.3, here is logs: https://pastebin.com/i7NtXWKP

Updating Fabric API and loader solved all issues above. I was confused with "<" sign for some reason...


Unable to use LOG_BACKEND_DEFINE macro from log_backend.h using C++

Describe the bug
When including log_backend.h from a C++ application, the following error is produced by the C++ compiler:
zephyr/include/logging/log_backend.h:81:2: error: designator order for field 'log_backend_control_block::id' does not match declaration order in 'log_backend_control_block'
To Reproduce
Steps to reproduce the behavior:

Add the following code to a C++ source file

#include <logging/log_backend.h> const struct log_backend_api my_backend_api = {}; LOG_BACKEND_DEFINE(my_backend, my_backend_api, true);
Expected behavior
A compilation error is not produced.
Impact
Annoyance.  A workaround is to #undef the macro and redefine it with correct order of arguments.
Fix
The fix is to reverse the order of the .id and .active initialization lines in the LOG_BACKEND_DEFINE macro.
Environment (please complete the following information):

OS: Fedora
Toolchain Zephyr riscv SDK
Commit SHA 4fea711f5e9ab9e20d26fb570edd302f56f51c4a

Fix is in pull request - https://github.com/zephyrproject-rtos/zephyr/pull/22483


How to open parameteers back?

I hide some params and now can't find how to make it show again?

CleanMyMac solve this issue...

Update Lookin to latest version (1.0.1) to fix this bug.


Unexpected token '&&=' in node_modules/gltfjsx

file:///../Gumroad/Bananas/bananas/node_modules/meow/source/index.js:34
        description &&= help ? `\n  ${description}\n` : `\n${description}`;
                    ^^^

SyntaxError: Unexpected token '&&='

Error when attempting to use npx gltfjsx [modelName].glb --transform

This is most likely an issue with your version of Node. Logical assignment operators were introduced in Node v15.0.0.
Run node -v to check which version you're on.

i had the same issue. As @willkrakow said, i used node v14.17.6, i fixed it just by updating the node version to 20.5.1 (the latest at this time).


Microsoft Azure blob storage integration

This PR  allows to use to Microsoft Azure blob storage service (https://azure.microsoft.com/en-us/documentation/articles/storage-introduction/#blob-storage) for backend.

Looks fine, small comment on version in pom.xml

Fixed pom.xml

Looks good, thanks for the contribution

Thanks

This hasn't been documented in the README.

Please feel free to submit a PR to add this in README
On Tue, Oct 10, 2017 at 9:21 AM, Tomás Senart<EMAIL_ADDRESS>wrote:

This hasn't been documented in the README.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/pull/194#issuecomment-335528708, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHCX_zprb1iw3hupdf3oQVXZCVUdkvuMks5sq5megaJpZM4H35U3
.


Refactoring express example to thr own router file causes weird error

@jlalmes
Awesome work on this package. I am getting this weird issue, take a look.
I am trying to take out for example here postsProtectedRouter to its own file. But typescript is yelling at me.
export const postsProtectedRouter = createProtectedRouter()
                                                         ^
TypeError: (0 , index_1.createProtectedRouter) is not a function

Hi @jascodes, I can't really help without a reproduction.

@jlalmes Mate, I solved it I was weird as this was only happening from index.ts file, changing that fixed it. Still don't understood what was trigging this.
Thx


JAX leak when running on Google Colab

The following code causes leaks when running on Google Colab.
Run on: Colab CPU instance.
JAX version: 0.2.21
Jaxlib version: 0.1.71
import jax
import jax.numpy as jnp

def g(t):
    for i in range(100): t =  t + 1

while True:
    with jax.check_tracer_leaks(True):
        jax.eval_shape(g, 1)

The error traceback:
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
<ipython-input-1-23a3fa9853e6> in <module>()
      7 while True:
      8     with jax.check_tracer_leaks(True):
----> 9         jax.eval_shape(g, 1)

4 frames
/usr/local/lib/python3.7/dist-packages/jax/_src/api.py in eval_shape(fun, *args, **kwargs)
   2629   out = pe.abstract_eval_fun(wrapped_fun.call_wrapped,
   2630                              *map(shaped_abstractify, args_flat),
-> 2631                              debug_info=debug_info)
   2632   out = [ShapeDtypeStruct(x.shape, x.dtype, x.named_shape) for x in out]
   2633   return tree_unflatten(out_tree(), out)

/usr/local/lib/python3.7/dist-packages/jax/interpreters/partial_eval.py in abstract_eval_fun(fun, debug_info, *avals, **params)
    412 def abstract_eval_fun(fun, *avals, debug_info=None, **params):
    413   _, avals_out, _ = trace_to_jaxpr_dynamic(
--> 414       lu.wrap_init(fun, params), avals, debug_info)
    415   assert all(isinstance(aval, AbstractValue) for aval in avals_out)
    416   return avals_out

/usr/local/lib/python3.7/dist-packages/jax/interpreters/partial_eval.py in trace_to_jaxpr_dynamic(***failed resolving arguments***)
   1489     main.jaxpr_stack = ()  # type: ignore
   1490     jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(fun, main, in_avals)
-> 1491     del main, fun
   1492   return jaxpr, out_avals, consts
   1493

/usr/lib/python3.7/contextlib.py in __exit__(self, type, value, traceback)
    117         if type is None:
    118             try:
--> 119                 next(self.gen)
    120             except StopIteration:
    121                 return False

/usr/local/lib/python3.7/dist-packages/jax/core.py in new_main(trace_type, dynamic, **payload)
    796       leaked_tracers = maybe_find_leaked_tracers(t())
    797       if leaked_tracers:
--> 798         raise Exception(f'Leaked level {t()}. Leaked tracer(s): {leaked_tracers}.')
    799
    800 @contextmanager

Exception: Leaked level MainTrace(1,DynamicJaxprTrace). Leaked tracer(s): [Traced<ShapedArray(int32[], weak_type=True)>with<DynamicJaxprTrace(level=1/0)>, Traced<ShapedArray(int32[], weak_type=True)>with<DynamicJaxprTrace(level=1/0)>, Traced<ShapedArray(int32[], weak_type=True)>with<DynamicJaxprTrace(level=1/0)>, Traced<ShapedArray(int32[], weak_type=True)>with<DynamicJaxprTrace(level=1/0)>, Traced<ShapedArray(int32[], weak_type=True)>with<DynamicJaxprTrace(level=1/0)>].

There is no leak when I run it as a python script.
$ cat leak.py
import jax
import jax.numpy as jnp

def g(t):
    for i in range(100): t =  t + 1

while True:
    with jax.check_tracer_leaks(True):
        jax.eval_shape(g, 1)
$ python3 leak.py
# No error

Also, when I run it as a function in a new thread, there is no leak.
import jax
import jax.numpy as jnp
import threading

def f():
    def g(t):
        for i in range(100): t =  t + 1

    while True:
        with jax.check_tracer_leaks(True):
            jax.eval_shape(g, 1)

th = threading.Thread(target=f)
th.start() # no error
th.join()

My theory for this behavior is that Google Colab increases reference count of traced arrays when it looks into the stack for status reports (shown as call stack in the status bar of Colab).

Thanks for the concise repro! Your theory sounds plausible - I'll take a look and loop-in the Colab team if necessary.

Internal tracking: b/205274673

It sounds like the issue comes from Colab's use of debugpy for inspecting runtimes; as such it is likely that a similar failure could be reproduced in, e.g. VSCode in debug mode.
A workaround is to disable tracing in the main thread; if you run this, your snippet no longer errors:
import threading
threading.current_thread().pydev_do_not_trace = True

With that in mind, the way forward is not entirely clear to me. A couple options:

Perhaps this could be considered an issue with debugpy, though I suspect if we raised the issue their answer would be along the lines of, "if grabbing of references is problematic, then don't run in debug mode".
Perhaps JAX could be modified to work around this, and set pydev_do_not_trace whenever it is checking for leaks. The downside is that it would cause debuggers to stop functioning in these blocks, which some users might see as a bug. Maybe we could add a disable_debugger option to  jax.check_tracer_leaks that could control this, or perhaps we could somehow detect when a debugger is listening and raise a more informative error.
Perhaps this is a rare enough that we could simply document the workaround above.

What do you think?

Thank you for the workaround. It does avoid the problem in my notebooks.
I don't know enough about JAX or debugpy to have a strong opinion about these options.
However, I think most people get this error from time to time. Moreover, the bigger the model is the higher chance of getting the error (I think).
As a Colab user, who uses JAX a lot, I want an option to disable debugpy and its related features.

One imperfect solution that would address this issue on Colab: within check_tracer_leaks we could add something like:
if not getattr(threading.current_thread(), 'pydev_do_not_trace', True):
  raise ValueError("Leak checking is broken by debuggers, set `pydev_do_not_trace = True`")

Or, for more convenience, we could also add a disable_debugger option to check_tracer_leaks and have the error reference that.
This would not catch cases where pydev_do_not_trace is not explicitly set, but in Colab in particular it is always set, so it would have prevented your issue. What do you think?

if not getattr(threading.current_thread(), 'pydev_do_not_trace', True):
  raise ValueError("Leak checking is broken by debuggers, set `pydev_do_not_trace = True`")

As a user, I like this error message. It tells me the cause and recommends a solution. That is good enough for me.


Add nextflow_schema.json file

Closes #714
Here I am adding a nextflow_schema.json file.
This was created with the tool nf-core schema build, including substantial editing using the nice little web interface that the tool includes.
I have also added some docs about how to update the schema and a validation check to the config check action.
Most of the descriptions I took from our code comments, but have a look at those to see if they all make sense, along with some of the other constraints on the inputs that I specified.

copying a comment i made here since it may have gotten lost upon accepting a suggestion https://github.com/AlexsLemonade/scpca-nf/pull/720#discussion_r1516668298 -

Something else to note is that I did NOT get this prompt with the 2.4 version I was originally running on, so maybe add a version in here somewhere?

Something else to note is that I did NOT get this prompt with the 2.4 version I was originally running on, so maybe add a version in here somewhere?

I don't think this level of detail is needed or helpful, which is why I included "may". I filed a bug report, so it may get fixed, and I don't know what versions it affects.


Support for S3 Stream

Is it possible to use as FileStream a S3 file as filename in
watcher = tw.Watcher(filename=r'c:\temp\test.log', port=None)
cli = tw.WatcherClient(r'c:\temp\sum.log')

I would like gensim smart_open to open a ordinary stream from a S3 device:
from smart_open import open
# stream lines from an S3 object
with open('s3://commoncrawl/robots.txt') as s3_logger
    watcher = tw.Watcher(filename=s3_logger, port=None)
   cli = tw.WatcherClient( s3_logger )

It would be handy to have an interface to a FileStream object for the input device, so a read/write file stream abstraction layer like smart_open could pass the stream from different source like S3, HDFS, etc.
Thank you

It should be possible! We will need to add a new class for this and test it. I'll keep this issue open.


IRRexplorer.nlnog.net currently just returns bad gateway error

Attempted access today:
504 Gateway Time-out
nginx/1.18.0 (Ubuntu)

One of the processes sometimes freezes. Monitoring is in place to detect this (until a better solution is found) , processes have been restarted, the site is available again. Thanks for reporting this here as well.


Diego api to automatically add diego cell or Create BOSH VM  on which containers can be deployed on .

Detailed Description
Diego API api to add diego cell or Create BOSH VM on which containers can be deployed on .
Currently a new diego cell has to be provisioned manually on Vsphere environment
Context
. We wish to automate it using scripts so that based on load a new diego cell can be provisioned automatically on cloud environments like Azure/AWS etc.
This will help users to not only scale containers but also the underlying VMs on which containers are deployed on
Possible Implementation
Bosh   could provide apis to provision new diego Cells
Complexity
Medium

Hey @viju2008!
VM management and scaling isn't really in the scope of diego's responsibilities. I don't believe BOSH provides any APIs for triggering scale out of instance groups at this time either, so I'd suggest adding a feature request to bosh itself for the live instance-group scale-up/down API.
After that, you could potentially write something that watches scaling KPI metrics for cells on the firehose, and trigger the BOSH scaling API with any custom logic you have for ensuring the events don't happen in an inopportune time, or scale out of control. There's a lot of potential for unexpected issues when doing this though, so I'd proceed with a lot of caution.
Going to close this out, since I don't think it's something we'd ever provide via diego specifically.


demo joystick swing

Here is a small example to control the swing with a controller if you are interested. Normally you can easily adapt it for bebop and mambo.
I also simplified the use of set_flying_mode.

That's pretty cool looking.  I can't test it since I have no swing but I'll go ahead and merge it.  Did you want to add it to the documentation?


Support creating new stream with hotwords

Hi, this is more of a feature request than an issue report. Apologies if this is not the proper place.
Currently, the context graph of a stream is initialized only once, and the path to the hotwords file is dependent on its value in config. This config is then used during model initialization, where the context graph is thus initialized.
Is it possible to support a frontend API (Python, mobile, etc) where we can update the list of hotwords multiple times, with only 1 instantiation of a model? This is motivated by the fact that it takes a while for the model to initialize on mobile phones, hence it might be convenient, if possible, to initialize the model once, but support replacing the hotword-boosted stream multiple times.
Thank you!

Yes, I think it is possible.
https://github.com/k2-fsa/sherpa-onnx/blob/3f2a17ef47c9ccba8491bc2abad3bf70acedfdc7/sherpa-onnx/csrc/online-recognizer.h#L140
We already have C++ APIs for that.  You can check whether it is wrapped to Python/C/Kotlin etc. If it is not, could you help contribute by adding it?

Hi there, I just create this pull request #568 to support hot words on android/ios frontend

Closing after successful merge


Swagger "oneOf" for path params?

There isn't much about the Swagger DSL itself here, so it is unclear how much to expect out of this gem or what the "best practices" are. How would you define a path param that can be one type or another? Like this:
      parameter(
        one_of({
          "$ref" => "#/parameters/user_name_param",
          "$ref" => "#/parameters/uuid_path_param",
        })
      )

and assuming a shared setup like:
  parameters: {
        user_name_path_param: {
          name: :user_name,
          type: :string,
          in: :path,
          required: true,
          description: "A username that uniquely identifies an user",
          pattern: '^[a-z0-9\-]{2,32}$',
          example: "mathias"
        },
        uuid_path_param: {
          name: :uuid,
          type: :string,
          in: :path,
          required: true,
          description: "A UUID that identifies an object",
          pattern: '^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$',
          example: "f9fa5355-be64-45f0-a102-583c4e5e8644"
        },

(except this does not work)

Apologies for the lack of documentation. I’d love to improve it but just don’t have the cycles right now. If you’re interested in contributing to better docs, a PR would be more than welcome.
With this gem, there’s an assumption that you’re familiar with the Swagger specification itself. If you know how to describe your API with Swagger then it should map directly to the rswag DSL. So, I would suggest investigating how you might represent your use case with Swagger first, then the application in this gem will be relatively straightforward.

@mathias  Is it possible to use one_of in rswag?

I have no luck using all_of in rswag

I know this is an old issue, but it came up in results, so I'm going to put this here for reference.
If you need oneOf, you can do something like this:
schema(
  type: :object,
  properties: {
    whatever_key: {
      oneOf: [
        { type: :string },
        { type: :integer }
      ]
    }
)

Also note: nil/null is a special case. You can handle that like this:
schema(
  type: :object,
  properties: {
    whatever_key: {
      type: :string,
      'x-nullable': true
    }
)


Fix dispatch when there are different receivers

with different numbers of arguments.
Fixes https://github.com/chef/chef-dk/issues/546

Wow, nice catch. :+1:

@chef/client-core This is a blocker for 12.5 final

I'm a little confused what this actually changed?

@coderanger the issue was that we were modifying the input args variable before; so if we truncated them to pass to a formatter that took 1 arg, then we'd have to pass 1 args to everyone (even those who expect 2).

The attached tests fail without the change, and succeed with them, fyi.

:+1:

Got it :+1:  :)

:+1: FWIW


Unexpected jump once the textarea's scrollbar is revealed within a ParallaxLayer

🐛 Bug Report
When you start typing content in a textarea within a ParallaxLayer (not the first one), and enter enough breaklines so the textarea's scrollbar shows, a jump happens towards the top of the page.
To Reproduce
Steps to reproduce the behavior:

Enter content with enough breaklines to trigger the textarea's scroll bar.

Expected behavior
No jump. Nothing should happen to the main scrollbar.
Link to repro (highly encouraged)

Environment

react-spring v8.x.x
react v16.8.x (or react-native v0.58.x)

If anyone is having the same issue, simple fix is to stop the event propagation on the textarea 👍 :
<textarea onScroll={e => e.stopPropagation()} />


Artist Card bugs

From @briansw on July 29, 2016 14:5

[x] When artist is dead, "b. 1940" should become "1946–1999" eg: https://cl.ly/0z2H2P2A2q2z https://www.artsy.net/artist/martin-wong
[x] When anything other than "born" precedes birth year don't display "b." eg: https://cl.ly/1E0a3u0m3J3Z https://www.artsy.net/artist/bernadette-corporation

Copied from original issue: artsy/force-private#5427

Seems all done

@alloy this still is an issue. See screenshot below and link for reference: https://www.artsy.net/artist/jonathan-horowitz/related-artists

@alloy the Martin Wong example as well: https://www.artsy.net/artist/jonathan-horowitz/related-artists

@briansw Aha, thanks for the updates 👍
I think we do all of these shenanigans in MP already, so Force should just display that directly.


tag outlines request\help

hello again!
I've been playing with adding pretty flair to #tags by adding outlines with a snippet, in combination with this colored tag plugin https://github.com/pfrankov/obsidian-colored-tags.
I've spent two days pulling my hair out with this. finally got it half working after half a dozen snippets attempts
1st i tried copying pieces of the maple theme css into a snippet. that didn't work at all.  also their outline is awesome, trying to grab that as a snippet as well but it didn't work
2nd i found a snippet example of the forums and finally figured out outline styles!!! unfortunately the outline will only render in reading view, which i almost never use. in maples theme they render in both reading and edit mode.  ill attach the snippet and examples at the bottom.
could you suggest what i need to add to the snippet to get it to render in editing mode?? please
or maybe you want to integrate this into magic user too as it adds more awesome flair. and that outline menu!
snippet samples, the tag_outline.css is the one I'm running currently.
tags - snippet samples.zip
thanks
xavier
here a couple example screen shots ...
from the maple theme split in editing\reading mode

from magicuser split in editing\reading mode

I'm committed to improving the tag feature for MagicUser theme. It's actually on my list of planned enhancements (if you check the Projects tab).
If you could share your ideal way for tags to look, I can explore building a native solution entirely from scratch. This ensures seamless integration and makes it a core part of the MagicUser theme, without relying on external CSS snippets from other themes. Additionally, I could consider options for user customization of tag appearance.
Thanks for sharing your thoughts/feedback.
All the best

and after fiddling with this snippet for a few more hours, copied from the maple theme, i got them working on both views after 2 days! 😀

the tagging feature of obsidian is great! it doesn't exist in onenote. would be great to dress it up.
this is spinnets and the colorful tags plugin running. they pop out nicely.

snippets off here...

and this is stock with both snippets and plugins turn off

i mixing the bright colors with outline options is the way to go... maybe even had your heading glow effect behind them! i llove that feature of your theme. its looks great.
i have little idea on how to code that. what ive been playing with mostly copy and paste, trial and error.
cant wait to see what you come up with.
thanks
x

Glad you found the solution that is working well. Congrats 👍 👍
Thank you so much for the screenshots and for motivating me to start working on this feature (tag). I will have to think how to let the users define the background colors for their tags. I will try to add the option to outline the tags and also neon mode as well (when this mode is activated).
I have some ideas, I hope to start working on this later at night or during the weekend.
Stay tuned!

Quick Preview

Still many things to test and add more features. But it is a start...

Well, I think the icons/emojis will look better on the right side of the tag.

Very nice! I like the icon\emijo accents. That's looking great. I think\prefere the an icon be after the tag text.
And one more detail I wish is I could figure out is how to make the '#' of a tag just a tiny bit bigger then the tag text, not much, maybe 2 or 3 px.
The only way Ive been able to figure out how to get emojis  in the tag is copy &paste them at the end (without a space). And still they don't right inside the '#codeblock'👨💻 in editing view, the will render correctly in reading view.

Yes, I agree. I prefer on the right too (after the text).

The star rating is better with rating on the right too

Thanks for the suggestions. The hashtag symbol is difficult to target... I will see what I can do.

It's distracting before the #, especially if you want edit a tag, click where now? Lol
The maple theme as a cool toggle in the settings that will allow you to click into a tag in editing mode as it were text to edit.    The default obsidian function when clicking a tag anywhere is to activate the internal search with that tag name.
I found it in the theme, was able to copy it into a snippet

Type one phone.
How they have that function set up separates the hashtag from the text.
That little piece of code is in the CSS file on the first post of this thread

Interesting. But the search feature can be useful when clicking on the tag (I like it).
Yes, the tag pill is not one single piece (not one span or div element). So I can't add some effects on it in an easier way. It takes more time, you have to target the first part of the tag and the end part.
I will continue tomorrow night. I also want to add some neon effects and maybe the option to hide the hashtag. I removed the hashtag but the user experience was not good at all, in my opinion, it was difficult to edit the tag text (I didn't like it).
Still have to test more and check which options to add to Style Settings customization. Depending on the number of possibilities it will be better to create a Tags submenu, like tables and others.
If you have suggestions for some preset tag names, here is the list of tags I added so far:

General todo and task status:

#todo
#inprogress
#ready
#completed
#implemented

Alerts

#attention

Academic:

#article
#reference
#review
#research
#watch
#test

Solo/Team tags:

#solo
#team

Schedule:

#date

General purpose:

#study
#work
#family
#finances
#video
#art
#idea
#magic

Stars rating tags:

#s1
#s2
#s3
#s4
#s5

its still works by clicking the # if you click in the word it acts a text.
while i was trying to modify this code to add outline, at one point i got outlines between the |#|tagname| it was related to this click to edit function.
here the snippet ive been playing it. ive noted the area that i could was to identify what they were doing. dont laugh its a mess. .... im likely also missing important elements from else where in the theme that i dont know how to find
after two day of moving elements around and testing everything random i some got it working.

/* source: https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/13 */

.tag {
  background-color: var(--text-accent);
  border: none;
  color: rgba(152, 224, 50, 0.668);
  /* color: white; */

  font-size: 11px;
  padding: 1px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 0px 0px;
  cursor: pointer;
  border-radius: 14px;

/* this is what i added to get the out outlines to render in reading mode.
they do not render in editing mode, which is were i leave obsidian 95% of the time. */

  /*outline: 1px;*/
  outline: 2px;
  /*outline: 3px;*/

  /*outline-style: dotted;*/
  /*outline-style: solid;*/
  /*outline-style: groove;*/
  /*outline-style: inset;*/
  /*outline-style: double;*/  /*i will end up picking one of these styles, just checking out the options*/
  outline-style: ridge;

  /*outline-color: rgba(208, 208, 208, 0.679);*/
  outline-color: sandybrown;
}
/* end forum snippet post */

/* hacked out of the maple theme */

/* @settings

name: ✏ Maple Editor
id: maple-editor
settings:
    -
        id: setting-code-inline
        title: inline code color
        title.zh: 行内代码文字色
        type: variable-themed-color
        format: hex
        opacity: false
        default-light: '#'
        default-dark: '#'
    -
        id: tag
        title: tag
        title.zh: 标签
        type: heading
        collapsed: true
        level: 2
    -
        id: tag-click-to-edit
        title: click to edit tags in Live-Preview mode
        description: click '#' to jump
        title.zh: 点击标签进行编辑
        description.zh: 点击'#'跳转
        type: class-toggle
    -
        id: tag-style
        title: tag style
        description: tags of obsidian / todo / important / progress / complete will be colorized when use outline or fill
        title.zh: 标签样式
        description.zh: 当选择 outline 或者 fill 时，obsidian / todo / important / progress / complete 标签会有额外颜色
        type: class-select
        allowEmpty: false
        default: tag-outline
        options:

            -   label: outline
                value: tag-outline

    -
        id: setting-tag-bg
        title: tag background color
        title.zh: 标签背景颜色
        type: variable-themed-color
        format: hex
        opacity: false
        default-light: '#'
        default-dark: '#'
    -
        id: tag-outline-setting
        title: outline style setting
        title.zh: 边框模式设置
        type: heading
        collapsed: true
        level: 3
    -
        id: setting-tag-color
        title: tag text color
        title.zh: 标签文字颜色
        type: variable-themed-color
        format: hex
        opacity: false
        default-light: '#'
        default-dark: '#'
    -
        id: setting-tag-border
        title: tag border color
        title.zh: 标签边框颜色
        type: variable-themed-color
        format: hex
        opacity: false
        default-light: '#'
        default-dark: '#'
*/
/* end settings region */
/* --------------------------------------------------  */

/* note sure what these are doing? */

body:not(.tag-outline) .setting-item[data-id=tag-outline-setting] {
  display: none;
}

body:not(.tag-outline) .setting-item[data-id=tag-outline-setting] + .style-settings-container {
  display: none;
}

.code-theme :is(.markdown-rendered, .markdown-source-view.mod-cm6) :is(.token:is(.tag, .constant, .symbol, .deleted, .class-name, .maybe-class-name), .cm-tag, .cm-operator) {
  color: var(--code-tag);
}

/* --------------------------------------------------  */
/* #region tag */

body {
  --tag-color: var(--accent-active);
}

/* this line lets you click the `#` to search, can edit text,  */
/*
.HyperMD-header .cm-hashtag {
  font-size: var(--tag-size) !important;
}
*/

/* have no idea what this line does */
/*
.cm-line span.cm-hashtag {
  vertical-align: baseline;
}
*/

/* this line turns off the #tag being a hyperlink to search bar. if on you can click\edit the text without setting of the search panel */
/*
body.tag-click-to-edit .cm-line span.cm-hashtag:not(.cm-formatting) {
  pointer-events: none;
}
*/

/* effects code block size and spacing of the tag */
:is(body, .print .markdown-rendered) {
  --tag-padding-x:  0.4rem;
  --tag-padding-y:  0.05rem;
}

/* toggle option from the style settings to hide or not have outlines around tags */
/*
body.tag-plain {
  --tag-background: tag-outline;
}
*/

body.tag-outline {
  /*--tag-border-color: var(--setting-tag-outline, var(--accent-inactive))  !important;*/

  --tag-border-color: /*var(--#888888)*/ var(--setting-tag-outline, var(--accent-inactive)) !important;

  --tag-border-width: var(--size-2-1)  !important;
  --tag-color: var(--setting-tag-color, var(--accent-active))  !important;
}

body.tag-outline {
  --tag-border-color: /*var(--#666666)*/   /*var(--color-purple) */ !important;
  --tag-color: var(--tag-border-color);
  /*--tag-color: var(--#888888);*/
}

/*not a big fan of the light purple outline, am trying to change it but broke it, the outline went white, too bright! */

/* this is cute but the colored tag plugin over-rides setting custom colors
which they state on their read me.
i like the plugin way of coloring all tags anyway
so I'm not going to bother setting individual colors */

/*
.tag:hover {
color: white;
background-color: var(--text-accent-hover);
}
.tag[href^="#obsidian"] {
  background-color: #4d3ca6;
}
.tag[href^="#important"] {
  background-color: red;
}
.tag[href^="#complete"] {
  background-color: green;
}
.tag[href^="#inprogress"] {
  background-color: orange;
}
.tag[href^="#todo"] {
  background-color: rgb(255, 255, 255);
  color: #000000;
}
*/

/* orig code from post before i edited it */
/* source: https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/13 */

/*
.tag {
  background-color: var(--text-accent);
  border: none;
  color: white;
  font-size: 11px;
  padding: 1px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 0px 0px;
  cursor: pointer;
  border-radius: 14px;
}
.tag:hover {
color: white;
background-color: var(--text-accent-hover);
}
.tag[href^="#obsidian"] {
  background-color: #4d3ca6;
}
.tag[href^="#important"] {
  background-color: red;
}
.tag[href^="#complete"] {
  background-color: green;
}
.tag[href^="#inprogress"] {
  background-color: orange;
}
*/

a bit more on separating the #|fromthetext
i do that this toggle off at the moment, but can see it usefulness as well

/* this line lets you click the `#` to search, can edit text,  */

.HyperMD-header .cm-hashtag {
  font-size: var(--tag-size) !important;
}

/* this line seprates the `#|tagtext` */

.cm-line span.cm-hashtag {
  vertical-align: baseline;
  /*font-size: medium;*/
  outline: 1px dotted;
}

/* this line turns off the #tag being a hyperlink to search bar. if on you can click\edit the text without setting of the search panel */
/*
body.tag-click-to-edit .cm-line span.cm-hashtag:not(.cm-formatting) {
  pointer-events: none;
}
*/

and a few more for the general list

General todo and task status:
#warning
#caution

Academic:
#citation
#cheatsheet

Solo/Team tags:

Schedule:
#appointment
#meeting

General purpose:
#important
#favorite
#bookmark
#wishlist

in addtions to star ratings i like a grade system (based on us school grading system which probably is relevant anywehre else in the world. lol)
#gA
#gB
#gC
#gD
#gF

Please check theme version 20.3.0. I added the tags submenu and many options. Thanks for the suggestions.
Tags customization

Turn on colored tags (44 preset tags)

Tags shape (0 = square tags)

Spacing between the text and the hashtag (#) - slider controller

Hide hashtags (#)

Tags text foreground color

Tags text foreground hover color

Tags background color

Tags background hover color

Tags border color

Tags border hover color

44 preset tags layout with icons

General todo and task status:

#todo
#inprogress
#ready
#completed
#implemented

Alerts

#attention
#warning
#caution

Academic:

#article
#reference
#citation
#cheatsheet
#review
#research
#watch
#test

Solo/Team tags:

#solo
#team

Schedule:

#date
#appointment
#meeting

General purpose:

#study
#work
#family
#finances
#video
#bookmark
#important
#favorite
#wishlist
#reminder
#art
#idea
#magic

Stars rating tags:

#s1
#s2
#s3
#s4
#s5

School grading system:

#gA
#gB
#gC
#gD
#gF

I hope you enjoy
All the best

You have to activate colored tags to see the colors.

Just saw ur post on the forum. They look great thank you!
I'm currently looking a the theme.css to figure out out u get the icons in there. I'll make a snippet for others as I dream them up. For the fun of it.
Ps.. are you really putting magic user on the back burner? Sorry to see u go. Seriously the amount of options you put into this theme is fantastic.

Thank you very much for the comments. I'm glad you liked it.
No, I will still work on the MagicUser theme, but the theme is complete. I have other projects to focus on, but MagicUser will still be active and up to date. But not weekly, maybe monthly.
If you still have suggestions to improve it or if you find any bugs, just let me know.
All the best


X-axis labels for LineChart

Hey :)
I just discovered this amazing library. It seems to do most of what I want. However, two things that bug me are the inability to have labels / units on the X-Axis for LineChart and the lack of simple way of specifying range for the Y axis. Are those features planned / would they be accepted in a PR if I get to implementing them (won't be immediately unfortunately).
Thanks :)

Badly need this feature!!

I am currently work on this feature, I will raise a pull request when it is finished.


Remove and ignore the tmp directory

It seems like this should not be a part of the repo. Is that correct @Magnus-G?

@calleerlandsson good catch!

I'll merge this.


Preselected belongs_to assotiation

Hi, would be great to have bolongs_to association preselected in this case: http://oi42.tinypic.com/v41o9l.jpg (when editing profile and trying to add new email address)

already implemented.
Check the README, look for :inverse_of


Location issue in Create a bot project

Describe the bug
Invalid path "Create a new folder" button gets enabled.
Version
Version:  1.4.0-nightly.236088.ef8eb11
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser

[X] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[X] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:
Refer the Screenshots
Expected behavior
Create a new folder button should be disabled.
Screenshots
Display error message thats fine & ok button gets disabled but create a new folder its enabled.

Able to create a folder but the path does not exits & ok button gets enabled

Finally composer try to create a project & its shows the errror.

Additional context

This will be included in the next release per @Dewain27

This will be fixed prior to the next release

I find it odd that we've communicated that this will be addressed in an upcoming release, yet is a P2 on the milestone.


feat: add ability to specify job names to run command

Idea from discussion of https://github.com/evilmartians/lefthook/issues/846
:zap: Summary

[x] Add lefthook run <hook> --jobs job1 job2
[ ] Add tests

From https://github.com/evilmartians/lefthook/issues/846#issuecomment-2558039200_

But if you have jobs with the same name – all of them will be run. Do you find this useful?

Yeah, I think that would be fine. And also as mentioned in #846, it would be great if one could also run (only) groups by their name.
I'm also wondering if all those three (commands, jobs, and groups) could be merged into one option, let's say --only THING would run only all commands, jobs, and/or groups named THING. Not sure for example if commands and jobs can coexist, or if there's much use for three separate options for these as they're kind of mutually exclusive anyway (unless e.g. --commands FOO --jobs BAR would run commands FOO and jobs BAR. Anyway mostly jut thinking aloud, not refined ideas in any way.

I'd keep both --commands and --jobs. If you want to avoid running commands or jobs, you can pass --commands no-command-with-this-name or --jobs no-job-with-this-name.
I think I will try deprecating commands in the future, but I don't want to break the compatibility too early.


Add Electrical power measurement to energy management app

This PR adds the EPM (Electrical Power Measurement) cluster into examples/energy-management-app.
This PR is based off #31518 and should not be reviewed until that has merged.
It is also based off #31622 which adds test event triggers to fake energy readings.

[x] Add Delegate into EnergyManagementApp
[x] Add helper code to demonstrate how to use the cluster
[x] Add TE trigger to send power readings

Misc changes:

[x] Added protection to ensure SafeAttributePersistenceProvider in EVSE cluster was initialised (relates to #31591 seen on ESP32)

Fixes #31095

https://github.com/project-chip/connectedhomeip/issues/31095

-[x] Added TC_EEM_2.1, 2.2, 2.3, 2.4, 2.5 - all passing
-[x] Added TC_EPM_2.1, 2.2 - all passing

More like a generic comment: why do we have the feature attribute as part of the API? Why not use the usual attribute storage for it? I found this to be confusing since this is the first time I saw such approach and I don't see benefit in adding a variation to how this is mostly done (unless there is one which I don't know of).

More like a generic comment: why do we have the feature attribute as part of the API? Why not use the usual attribute storage for it? I found this to be confusing since this is the first time I saw such approach and I don't see benefit in adding a variation to how this is mostly done (unless there is one which I don't know of).

A lot of clusters now have the feature attribute as part of the API (instead of using ZAP) - e.g. Modes and other clusters seem to be going down this route, where less dependency on ZAP is needed. In this case the only attribute that you do edit in ZAP seems to be the cluster revision.
It does seem that there is a pattern emerging compared to a couple of years ago where most clusters used ember framework, that clusters in 1.2 and 1.3 are starting to move away from that. I've just followed the more recent pattern of delegates and separate cluster server code here.


Improve extensibility of middleware by introducing interfaces for AuthenticationOptions

Resolve https://github.com/aspnet/Security/issues/35

A solution may lie in providing delegates for obtaining the 'appId' etc. or the entire Options for that matter, the default would return the Options set on the Middleware. I think we can provide a solution without another interface.
Tratcher's observation that the majority of users are developing apps that function as a single 'client' seems correct.
I think the scenario that this discussion brings up, is one that will help some users.

@kingdango we're closing out this PR for now because we would like to take a different approach to multi-tenancy for the auth middleware. As we make progress on any future design ideas, we'll keep https://github.com/aspnet/Security/issues/35 updated with notes.


java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.concurrent.DefaultPromise

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.concurrent.DefaultPromise
	at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:35)
	at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:49)
	at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:61)
	at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:52)
	at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:44)
	at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:36)
	at Main.main(Main.java:9)

With:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="debug" strict="true" name="XMLConfigTest">
    <Appenders>
        <Appender type="Console" name="STDOUT"/>
        <GELF name="GrayLog"/>
    </Appenders>
    <Loggers>
        <Root level="trace">
            <AppenderRef ref="STDOUT"/>
        </Root>
    </Loggers>
</Configuration>

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>graylog2-issue</groupId>
    <artifactId>graylog2-issue</artifactId>
    <version>1.0-SNAPSHOT</version>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>

        <log4j.version>2.6.2</log4j.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-core</artifactId>
            <version>${log4j.version}</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-slf4j-impl</artifactId>
            <version>${log4j.version}</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.graylog2.log4j2</groupId>
            <artifactId>log4j2-gelf</artifactId>
            <version>1.3.0</version>
        </dependency>
    </dependencies>
</project>

import io.netty.channel.nio.NioEventLoopGroup;

import java.net.MalformedURLException;
import java.net.UnknownHostException;

public class Main {

    public static void main(String... args) throws UnknownHostException, MalformedURLException {
        NioEventLoopGroup group = new NioEventLoopGroup();
    }
}

I tried to analyze the issue, and as I understand it, it is an chicken&egg problem: at init time Netty is trying to log into gelf which uses not yet initialized Netty \o/

@juherr Thanks for reporting this.
The following Java class is working (you also have to change the dependency scope of org.apache.logging.log4j:log4j-core accordingly):
import org.apache.logging.log4j.LogManager;

public class Main {

    public static void main(String... args) {
        LogManager.getLogger(Main.class).info("Test");
    }
}

While the original error message is interesting, I don't see any bug with log4j2-gelf but rather a classpath issue with the project.

The problem is on NioEventLoopGroup group = new NioEventLoopGroup(); and in my real-life usage, I'm not the one who calls it.
Are you able to create a NioEventLoopGroup?

Without the log4j-slf4j-impl dependency, it is working like a charm too because Netty won't use any logger (it doesn't support log4j2 for the moment).
But when you introduce a logger implementation it knows (here, slf4j), then it will fail.

@juherr I see. It looks like Maven is pulling in the shaded version of log4j2-gelf instead of the normal version.
Try using this dependency instead:
        <dependency>
            <groupId>org.graylog2.log4j2</groupId>
            <artifactId>log4j2-gelf</artifactId>
            <version>1.3.0</version>
            <classifier>jar</classifier>
        </dependency>

Awesome! It is working like a charm! Thanks a lot 👍

In fact, it is not working :(
Without <classifier>jar</classifier>
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ graylog2-issue ---
Downloading: https://jcenter.bintray.com/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.jar
Downloaded: https://jcenter.bintray.com/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.jar (0 B at 0.0 KB/sec)
[INFO] graylog2-issue:graylog2-issue:jar:1.0-SNAPSHOT
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.6.2:runtime
[INFO] |  \- org.apache.logging.log4j:log4j-api:jar:2.6.2:runtime
[INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.6.2:runtime
[INFO] |  \- org.slf4j:slf4j-api:jar:1.7.21:compile
[INFO] \- org.graylog2.log4j2:log4j2-gelf:jar:1.3.0:compile
[INFO]    \- org.graylog2:gelfclient:jar:1.4.0:compile
[INFO]       +- io.netty:netty-all:jar:4.0.29.Final:compile
[INFO]       \- com.fasterxml.jackson.core:jackson-core:jar:2.5.4:compile

With <classifier>jar</classifier>
[ERROR] Failed to execute goal on project graylog2-issue: Could not resolve dependencies for project graylog2-issue:graylog2-issue:jar:1.0-SNAPSHOT: Failure to find org.graylog2.log4j2:log4j2-gelf:jar:jar:1.3.0 in https://jcenter.bintray.com was cached in the local repository, resolution will not be reattempted until the update interval of jcenter has elapsed or updates are forced -> [Help 1]

It is not a big surprise because log4j2-gelf-1.3.0-jar.jar doesn't exist. I'm just surprised that Maven doesn't complain.

In fact, I'm able to generate the issue without log4j2-gelf: https://github.com/netty/netty/issues/5806

@joschi After all, it looks something should be done in Graylog. Check comment from @Scottmitch: https://github.com/netty/netty/issues/5806#issuecomment-249382910

Well, the shaded artifact resolves the issue. Maybe the documentation should advise using the shaded artifact if the project has already netty in the classpath.


Fixed#5796: UUID string append "" making length 38

Describe your changes :

Fixes: #5796

Type of change :

[x] Bug fix

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
@mohitdeuex

let's change the name for the function as formatUID or some such with some context to what we are doing

@mohitdeuex, addressed in the latest commit.


Can't load Mapnik tiles anymore

Hi,
since a few days, Osmbugs can't download Mapnik tiles as a background map. Other map styles (opentopo, transport map) work as usual.
This seems to be related to osmdroid library, using a fixed user-agent, and being blocked by Mapnick tile server. See https://github.com/osmdroid/osmdroid/issues/1289
Please, can you ugrade to osmdroid v0.6.1 and publish new apk on F-Droid ?
Thanks.

Hi,
Thank you very much for the Issue, and the Hint how to fix this.
I really appreciate it!
A new version has been uploaded and will hopefully be build by F-Droid soon.

Hi,
Just got Osmbugs v1-1-5 from F-Droid : Mapnik tiles are now downloaded just fine.
Thank you for the quick fix.


Veryfy that schemas are generated properly

Generated schemas should take the #[serde(untagged)] into account, and not introduce an additional message layer. Ensure it is a case, and if not we need to find a workaround for that.

Seems to be generated properly. @hashedone please take a look and if it's all fine then we can close this issue.
Currently our messages are generated as so:
      "Cw1QueryMsg": {
        "oneOf": [
          {
            "type": "object",
            "required": [
              "can_execute"
            ],
            "properties": {
              "can_execute": {
                "type": "object",
                "required": [
                  "msg",
                  "sender"
                ],
                "properties": {
                  "msg": {
                    "$ref": "#/definitions/CosmosMsg_for_Empty"
                  },
                  "sender": {
                    "type": "string"
                  }
                }
              }
            },
            "additionalProperties": false
          }
        ]
      },

It corresponds to format generated for other cosmwasm messages like for exmaple:
    "DistributionMsg": {
       "description": "The message types of the distribution module.\n\nSee https://github.com/cosmos/cosmos-sdk/blob/v0.42.4/proto/cosmos/distribution/v1beta1/tx.proto",
       "oneOf": [
         {
           "description": "This is translated to a [MsgSetWithdrawAddress](https://github.com/cosmos/cosmos-sdk/blob/v0.42.4/proto/cosmos/distribution/v1beta1/tx.proto#L29-L37). `delegator_address` is automatically filled with the current contract's address.",
           "type": "object",
           "required": [
             "set_withdraw_address"
           ],
           "properties": {
             "set_withdraw_address": {
               "type": "object",
               "required": [
                 "address"
               ],
               "properties": {
                 "address": {
                   "description": "The `withdraw_address`",
                   "type": "string"
                 }
               }
             }
           },
           "additionalProperties": false
         },

The thing to check on the first place is if flatten schemas are properly generated. There were no problems expected for interfaces, but we want to double check if contracts with own messages and at least one interface are ok too.

0.2 is released - moving it to 0.3.

Closed, it is working.


Fix some TCK tests of #205 and improve

Fix: LRA Status was reported with Class name but consulted without from MetricService
Improve: correct deployment name, better assert messages, ...

@xstefank Also for you to review

I agree that 412 status code is the logical result of the compensate/complete methods but due to another reason.
The @LRA(value = LRA.Type.REQUIRED) starts a new LRA (as mentioned in the spec since there is an id present but an inactive one so REQUIRED must create a new LRA) but method logic (when coded in a real world situation) must return status 412 since it doesn't know about this LRA.
I'mm adjust the location of the @LRA in the test class

The behaviour of LRA annotation and JAX-RS participant methods (for example Complete/Compensate), make class level placement of annotation not feasible.

When I was running these tests against our implementation I needed to set the consistency delay to something bigger than our "periodic recover scanner" interval. These are the only tests where we need to set a non zero delay. Is it possible for you to introduce a second config property (such as "lra.tck.consistency.delay2") so that implementations can set a different delay for these specific tests. It would mean changing your tests to call applyConsistencyDelay2() instead of applyConsistencyDelay(). The resulting time difference it makes to our TCK run is huge.

@mmusgrov We should call the 2 delays shortDelay and longDelay.
The shortDelay needs to be used when we just need to wait for the implementation to call the participant methods
The longDelay is used when multiple calls to these participant methods needs to be performed.

Okay. I added this recommendation in PR https://github.com/eclipse/microprofile-lra/pull/219


error: Property 'innnerHTML' does not exist on type 'DocumentFragment'

TypeScript Version:  2.3.4
Code
const container = document.createDocumentFragment();
container.innerHTML = '
Hello World
';

Expected behavior:
No error message
Actual behavior:
error: Property 'innnerHTML' does not exist on type 'DocumentFragment'

console.log('innerHTML' in document.createDocumentFragment()); // false

DocumentFragment has a Node interface, which does not include innerHTML.

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


Make the headers of tables and pivot tables fixed

When the user scrolls the table, the header should remain fixed

Coverage decreased (-0.2%) to 81.256% when pulling 05c0ca469f2568f5169b41770f121347e865d301 on x4base:fixed_table_header into 7c2d485de0f2dbb95c962e90970b30bb93451d9c on airbnb:master.


add a default repo for treebanks

it should be possible to add a new treebank to our server without requiring it be listed in the the client adapters config

I think I had intended, but never fully implemented, to have it support multiple possible endpoints, so that we could find the right one for a specific text.


Geocode should also return accuracy data

Some providers do give certain details about what type of result it is. Having this information (when available) will help validate the results, and can help determine if I need to use another provider as a fallback if the results is not accurate enough.

ss

你好, 我在浏览器 输入 //https://maps.googleapis.com/maps/api/geocode/json?address=徐州市铜山区人口和计划生育局单集镇服务站&key=AIzaSyC9pbjT6IX19tygRxVeFqKOEZG30Rs_Vxs 是OK的
但是用程序执行就超时

my email<EMAIL_ADDRESS>

@romalin99, it doesn't timeout on me, but got nothing from the address. I got (34.1837478,<PHONE_NUMBER>) if I geocode "徐州市铜山区人口和计划生育局".


add SOC constraints as sensors

Description
This PR introduces the possibility to define SOC Targets, SOC Maxima and SOC Minima as sensors. The existing way of defining those is still supported.
TODO

[x] Changelog entry
[x] Add documentation to trigger schedule endpoint docstring.
[x] Add CLI field to pass the SOC target as sensor. Currently, we don't support passing these as values, but we should support passing a sensor. A CLI changelog entry should follow. Moved to https://github.com/FlexMeasures/flexmeasures/issues/1002

Potential improvements to be done in the same PR or follow up Issues/Discussions/PRs.
Related Items
https://github.com/FlexMeasures/flexmeasures/discussions/957

[X] I agree to contribute to the project under Apache 2 License.
[X] To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

@victorgarcia98 Can you resolve the merge conflicts, please? I believe this could still be shipped.


Submodules

First; fantastic job on putting this together.
Now my problem; the concept of submodules.
I'll try to make it short;
Lumping everything together in the same src/ directory is not ideal from an "isolation" standpoint. We are very careful with the interfaces between our components, making only that which is necessary public -- and then we ignore this concept completely on the physical level.
I have a project with separate "modules" even for smaller parts and was considering putting them together in the same src/ directory and join their CMakeLists.txt into the top one -- but that means those modules will be permanently "fused" and you loose an important point of separation.
I think John Lakos original idea regarding "packages" may be more what I want here, but I have not read his book yet (been waiting for the new one for a while ...)
Thoughts?

Sorry for the delay on this one.
For projects that wish to subdivide themselves, the document also supports submodule separation via the libs/ directory, specified in the submodules sections.
In general, I consider and believe that creating submodules for a regular library project to be an anti-pattern, and rather let users link to a single library and let the linker throw out the parts they do not need. If a user ever finds an "Undefined reference" error, I see that as a failing of the library in which the reference is used and/or defined. Creating many small submodules within a project and interlinking them is certainly possible, but very difficult and error prone. You will eventually find that a piece does not belong to any particular submodule, or that it is equally applicable to both. You'll always end up with a DAG in the end (hopefully!), but you can alleviate those constraints by creating a single module and including all sources there.
As for designating physical components to be "private": We're in the same boat as namespaces. I typically avoid having separate "private headers," and declare the "private" namespace and types in the same header in which they public-facing users appear. This is a common pattern. Other projects will place the private components in a qualified filepath. Boost uses a detail/ subdirectory, and Qt uses a _p in the filename stem.


implement log rotate on messages file in ranchers ingress image

Rancher versions:
rancher/server or rancher/rancher: v1.6.18
rancher/agent or rancher/rancher-agent:
Infrastructure Stack versions:
healthcheck: v0.3.6
ipsec: v0.2.4
network-services: v0.2.9
kubernetes (if applicable):  v1.10.3-rancher1-1
ingress image: rancher/lb-service-haproxy:v0.9.1
Steps to Reproduce:

create an ingress
over time the /var/log/messages file will grow to something massive
ideally cull things in /var/log

config: "defaults\nlog <IP_ADDRESS>:8514 local0 info\noption httplog\ntimeout client 50000\ntimeout connect 5000\ntimeout server 50000"
haproxy logging is enabled here.

When haproxy logging is enabled, all haproxy related logs go to var/log/haproxy. We used to log everything else (for eg, syslog logs) as a catch all in var/log/messages.
So we won't be logging anything there now onwards instead of log rotating or filtering what goes in there.


Sync API

Would it be possible to provide a ( possibly restricted ) sync API to work with in-memory stores?

Hi, what kind of synching are we talking about?
Is the callbacks support not enough to sync changes in the local graph(s)?
Thanks.

Right. I meant sync as in "no callbacks".
I am writing some fairly complex logic that requires multiple dependent SPARQL queries and programmatic processing of results on top of an RDF graph. Having to deal with callback/promise hell makes the code explode in complexity pretty fast.
 Is Async only inherited from the persistence layer?
You could provide an in-memory storage option that relied on simple data structures for indices, etc. for small in data size but complex in logic programs.

Got it, a synchronous API.
You're right about the possibility of building a synchronous version of the API for the in-memory store. That was the case for the first version of the library that was implementing a synchronous engine for the non-persistent store and an asynchronus one for the persistent one. However the public interface was still asynchronous because in the execution of queries you have to interact with asynchronus code: a parser in a load query, an AJAX request loading a remote graph, etc.
In the new version, I removed the asynchronous engine because it was increasing the complexity of the code a lot. It's really easier to mantain just a single asynchronous engine conected to the sync memory index/lexicon or the async IndexDB index/lexicon.
It would still be possible with some refactoring to provide an API that would accept both, a callback and return the value at the same time if the result is available, but it would only work with the in-memory implementation and certain SPARQL queries.


NTR:abnormal protein distribution along RNA polymerase II-transcribed genes during mitotic metaphase

final one:
abnormal protein distribution along RNA polymerase II-transcribed genes during mitotic metaphase

abnormal protein distribution along RNA polymerase II-transcribed genes during mitotic metaphase FYPO:0007741


AttributeError: 'Conv2DLayer' object has no attribute 'num_groups'

Theano - v1.0.1
Lasagne - v0.2.dev1
Command:
python AED_test.py --filenames 'dataset/schreien_scream.wav' --modelname 'AED_Example_Run_model.pkl' --overlap 4 --results 5 --confidence 0.01
HANDLING IMPORTS...
Using cuDNN version 7103 on context None
Mapped name None to device cuda: GeForce GT 650M (0000:01:00.0)
...DONE!
IMPORTING MODEL... DONE!
Traceback (most recent call last):
  File "AED_test.py", line 159, in <module>
    TEST_NET = getPredictionFuntion(NET)
  File "AED_test.py", line 71, in getPredictionFuntion
    net_output = l.get_output(net, deterministic=True)
  File "/home/enniya/miniconda2/lib/python2.7/site-packages/lasagne/layers/helper.py", line 197, in get_output
    all_outputs[layer] = layer.get_output_for(layer_inputs, **kwargs)
  File "/home/enniya/miniconda2/lib/python2.7/site-packages/lasagne/layers/conv.py", line 352, in get_output_for
    conved = self.convolve(input, **kwargs)
  File "/home/enniya/miniconda2/lib/python2.7/site-packages/lasagne/layers/conv.py", line 643, in convolve
    if self.num_groups > 1:  # pragma: no cover
AttributeError: 'Conv2DLayer' object has no attribute 'num_groups'

The reason for this the newest Lasagne release. num_groups is a new feature to the Conv2DLayer, unfortunately the downloadable snapshot of the net does not support this feature. There's only two options here: Use an older Lasagne version (which might not work well with the newest Theano release) or train your own model and use that snapshot instead.


Biicode support

Hi!
My name is Luis Martinez and I write you from biicode a small start-up that’s developing a C and C++ dependency manager; just like Maven and Maven Central for Java. Our tool aims to allow our users to set-up a project with just #includes.
Biicode is based on CMake to build the projects, so its very flexible and "no-invasive" solution.
A biicode user is developing a videogame using biicode and requested us to have nanovg (and nanosvg, I will send you a PR in a minute) libraries on biicode. We think its really cool library and we decided to publish them in biicode.
https://www.biicode.com/lasote/nanovg
https://www.biicode.com/lasote/nanosvg
I think people that like your library can easy include it, GLFW and GLEW are already on biicode and included as a dependency in your project. Its tested on Windows with MinGW, Linux with GCC and OSx with Clang. Visual Studio is failing because of NVG_NOTUSED macro, I don't know if its a bug or I'm missing something.
I have an example of re-use nanovg here
In the Pull Request (and the example of use) you can see that biicode (in most cases) can work just including a CMakeLists.txt and a biicode.conf file.
Biicode.conf declares the configuration biicode needs to build and make a library reusable:

[requirements] section for declare dependencies to other blocks.
[includes] Maps includes to a remote blocks, so you don't need to change your includes to depend to a remote block.

The uploaded block (we call them block, but you can think about blocks as libraries or repositories) is on lasote/nanovg, but we will glad if you want to try biicode and/or upload the library to your biicode's user. We will help you (or do it) if you need it.
If you want to know more about biicode or need help just write me!
For know a little more about biicode I recommend you to read the getting started guide here.
<EMAIL_ADDRESS>Thanks!

Hi,
Maintaining multiple build systems has been a real pain for me in the past. One of the build systems always break on the next version and it's me here answering the questions I don't have answers or :)
If you wish to add and maintain biicode support, I recommend to fork.

I'm not sure whether it is possible with biicode, but a 'non-intrusive' option might be to keep the biicode-files in a separate project, and reference nanovg from there, for instance via a git submodule. That way it is obvious for biicode users that the biicode wrapper isn't part of the original project. I've done this many times when 'fipsifying' 3rd party libraries (fips is my attempt of a cmake wrapper which seems to be partly similar to biicode in that it can import external dependecies).
For instance, here are a few examples for fipsified bfgx, glfw, glm, ...:
https://github.com/floooh/fips-bgfx/
https://github.com/floooh/fips-glfw
https://github.com/floooh/fips-glm

@memononen I can append to the PR a .travisci and/or appveyor that checks biicode build. What do you say?
@floooh Thanks for the tip, I will take a look!