[4.x] Use depth prepass to increase opaque render performance

Some minor performance improvements I came up with while investigating #68959.

Disable writing depth in opaque pass since we have already done so in the pre pass.
Change depth comparison op to equal in the opaque pass.
This has the big advantage that transparent fragments can be discarded by the early test before they even enter the fragment stage. We thus save ourselves from starting a fragment shader just to immediately quit it again when we discard.

I tested this PR using https://github.com/Rytelier/Godot-4-forest-benchmark and got the following results:

Details

As you can see this change can reduce the time needed for the opaque pass by up to half.
According to renderdoc 33678, 12582, and 3654 are all meshes used to render the leaves of the trees.
Visually I could see no difference between the rendered frames.
(Kinda) fixes #60364
This PR is not applicable to the mobile renderer, since it has no prepass. I am fairly certain that a similar change could be implemented in the OpenGL renderer, but it appears to be currently broken

I am fairly certain that a similar change could be implemented in the OpenGL renderer, but it appears to be currently broken

What seems broken, this change should be applicable to the OpenGL renderer as well

Checked the log, and it would appear that GL doesn't like many of the image formats that were used with the clustered renderer. Also, it would appear that refraction is currently broken. Whenever I try to start godot complains about the following:
ERROR: SceneShaderGLES3: Fragment shader compilation failed:
ERROR: 0:955: 'm_SCREEN_TEXTURE' : undeclared identifier
ERROR: 0:955: '' : compilation terminated
ERROR: 2 compilation errors.  No code generated.

A quick search would imply that this is caused by Line 1230 in material.cpp.
https://github.com/godotengine/godot/blob/d44d0cc0fd543da143010ad96978951facd87c1e/scene/resources/material.cpp#L1229-L1231

Is this change relevant for 3.x's GLES3 renderer, which features a depth prepass?

Checked the log, and it would appear that GL doesn't like many of the image formats that were used with the clustered renderer. Also, it would appear that refraction is currently broken. Whenever I try to start godot complains about the following:
ERROR: SceneShaderGLES3: Fragment shader compilation failed:
ERROR: 0:955: 'm_SCREEN_TEXTURE' : undeclared identifier
ERROR: 0:955: '' : compilation terminated
ERROR: 2 compilation errors.  No code generated.

A quick search would imply that this is caused by Line 1230 in material.cpp.
https://github.com/godotengine/godot/blob/d44d0cc0fd543da143010ad96978951facd87c1e/scene/resources/material.cpp#L1229-L1231

Ah yes, SCREEN_TEXTURE hasn't been re-implemented yet. I should do something to make sure it doesn't result in a compile error though. You shouldn't need the SCREEN_TEXTURE to test these changes

I've tested this change on https://github.com/Calinou/godot-reflection, but it doesn't improve things much on a Radeon RX 6900 XT (Mesa RADV):
1152×864

Before
After (this PR)

806 FPS (1.24 mspf)
817 FPS (1.22 mspf)

3840×2160

Before
After (this PR)

138 FPS (7.24 mspf)
139 FPS (7.19 mspf)

@Calinou That scene is a bad test case for this PR since it is >90% solid geometry.
What I do is leverage the depth pre-pass to make the rendering of alpha-clipped elements far cheaper, which doesn't really matter in scenes without alphaclipped objects. You should see at least some speedup if you open a scene with vegetation or hair cards.
I think there is a link to an example project in my original post.

Thanks!


[SPARK-29493][SQL] Arrow MapType support

What changes were proposed in this pull request?
This pull request add support for Arrow MapType into Spark SQL.
Why are the changes needed?
Without this change User's of spark are not able to query data in spark if one of columns is stored as map and Apache Arrow execution mode is preferred by user.
More info: https://issues.apache.org/jira/projects/SPARK/issues/SPARK-29493
Does this PR introduce any user-facing change?
No
How was this patch tested?
Introduced few unit tests around map type in existing arrow test suit

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@jalpan-randeri can you rebase? Arrow 0.15.1 upgrade is merged now.

@HyukjinKwon  Done.

ok to test

cc @BryanCutler

Test build #114037 has started for PR 26512 at commit 4eb1839.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18898/
Test PASSed.

Test build #114037 has finished for PR 26512 at commit 4eb1839.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114037/
Test FAILed.

Test build #114128 has started for PR 26512 at commit 606ae73.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18986/
Test PASSed.

Test build #114128 has finished for PR 26512 at commit 606ae73.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114128/
Test FAILed.

retest this please

Test build #114258 has started for PR 26512 at commit 606ae73.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19103/
Test PASSed.

Test build #114258 has finished for PR 26512 at commit 606ae73.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114258/
Test PASSed.

Test build #114311 has started for PR 26512 at commit b71b156.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19151/
Test PASSed.

Test build #114311 has finished for PR 26512 at commit b71b156.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114311/
Test FAILed.

retest this please

Test build #114328 has started for PR 26512 at commit b71b156.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19168/
Test PASSed.

Test build #114328 has finished for PR 26512 at commit b71b156.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114328/
Test PASSed.

Test build #114970 has started for PR 26512 at commit 29f44b6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19791/
Test PASSed.

jenkins, retest please

Test build #114970 has finished for PR 26512 at commit 29f44b6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114970/
Test PASSed.

@jalpan-randeri Thanks for your work. For better commit logs, can you use the new PR template in the description above? https://github.com/apache/spark/blob/master/.github/PULL_REQUEST_TEMPLATE

Sure. Shall I squash my changes into one commit and use the template you mentioned.

Thanks, @jalpan-randeri

Test build #115095 has started for PR 26512 at commit 2226804.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19911/
Test PASSed.

Test build #115095 has finished for PR 26512 at commit 2226804.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115095/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19945/
Test PASSed.

Test build #115132 has started for PR 26512 at commit 7fe88eb.

Test build #115132 has finished for PR 26512 at commit 7fe88eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115132/
Test PASSed.

The code itself looks good, but we need to update some docs, too (follow-up?);
https://github.com/apache/spark/blob/d7843dde0f82551f0481885feb15acd63dd554c0/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala#L1543
https://github.com/apache/spark/blob/master/docs/sql-pyspark-pandas-with-arrow.md#supported-sql-types

Done. Updated docs

Test build #115148 has started for PR 26512 at commit 03d5e81.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19960/
Test PASSed.

Test build #115149 has started for PR 26512 at commit 42501ae.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19962/
Test PASSed.

Test build #115149 has finished for PR 26512 at commit 42501ae.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #115148 has finished for PR 26512 at commit 03d5e81.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115149/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115148/
Test FAILed.

retest this please

Test build #115176 has started for PR 26512 at commit 42501ae.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19987/
Test PASSed.

Test build #115176 has finished for PR 26512 at commit 42501ae.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115176/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20294/
Test PASSed.

Test build #115491 has started for PR 26512 at commit 76b2a93.

Test build #115491 has finished for PR 26512 at commit 76b2a93.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115491/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20300/
Test PASSed.

Test build #115497 has started for PR 26512 at commit 76b2a93.

Test build #115497 has finished for PR 26512 at commit 76b2a93.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115497/
Test PASSed.

Merged to master.

wow!
@BryanCutler  Thank you for giving me opportunity to work on this.
@HyukjinKwon  @ueshin  @maropu @viirya Thank you for reviewing my work.
I hope to contribute more in future.

This was a pretty important change so it took a while until it gets merged. Thanks for your work and patience :-).

@jalpan-randeri What is the Apache Arrow execution mode ?


Issues using with phoenix 1.3.0

New to phoenix, trying this out.  I see in the README that you are upgrading, so perhaps this bug report is useless, but following along with the README to integrate sentinel with a test phoenix app I have I hit the following warning:
mix phoenix.gen.model is deprecated. Use phx.gen.schema instead.

Looking through the code, it seems this is still in the master branch at https://github.com/britton-jb/sentinel/blob/master/lib/mix/tasks/install.ex#L52.
I'd offer to help out with that, but I'm new to elixir/phoenix and probably would be more noise than signal. (I don't even know how to install the local cloned version of this app in favor of the one from hex.pm, for example)

@jmarca this is a known issue with 1.3, among others. I'm working on an update, but it's slow in the coming as this is something I do in my free time.
I'd love a hand with improving the generators/install step. You can install the local version by following the format below in your mix.exs
def depedencies do
  ...
  {:sentinel, path: "/path/to/local/sentinel"}
  ...
end

You can likely take inspiration of how to best update the generators by looking at the way Phoenix itself handles them, as the injection method used in 1.3 is likely a much more appropriate way to do it.
If you have any other questions you can reach me here, on the Elixir lang slack @britton, or via the email listed in my GitHub profile.

In the features/lockable_and_plug branch I'm working on the mostly done, but still in progress 1.3 update.

I'm just "reinventing the wheel", primarily to learn the language and its idioms. If I get competent enough I'll pitch in, but no promises

I understand, and don't worry about it. I appreciate contributions where possible, but I know that's not always on the table.


Add slide to explain issuers, brands, issuers, payments to the presentation

This should help people pick up the concepts more easily.

Done.


Mistake in documentation example regarding Folding in md.

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
There is an example of Folding feature in the docs. The markdown in the extended section isn't recognized and stays raw. It is because of the two spaces marked with the arrow on my screenshot.
To Reproduce
Steps to reproduce the behavior:

Go to https://wiki.dendron.so/notes/ba97866b-889f-4ac6-86e7-bb2d97f6e376/#folding
Expand the section in the example.
Observe raw markdown.

Expected behavior
The markdown in the section should be rendered as well as the markdown outside the section.
Screenshots

Sharp eye @dmytro-shapovalov - thanks for pointing this out.  I've fixed the example and added a quick note about the whitespace gotcha: https://wiki.dendron.so/notes/ba97866b-889f-4ac6-86e7-bb2d97f6e376/#folding


Test data disappears after loading or refreshing eloquent models from the database

Laravel Version: 5.7.14
PHP Version: 7.2.12
Database Driver & Version: MariaDB 10.2.15

Description:
We use PHPunit for unit testing. A lot of out tests rely on database testing. We use factories to enter data into the database that we can later use in our tests. This has worked for more than a year, but fails since we upgraded to Laravel 5.7.14.
Creating the models itself is not the problem. However, the problem occurs when we run a load() function or a refresh() on an existing relationship of a model. Suddenly, the data that exists within that relationship has disappeared, which causes nullpointers in out tests. If I revert back to Laravel 5.7.13, everything works as intended
Steps To Reproduce:

Install laravel 5.7.14
Create 2 models with an eloquent relationship between them
Create phpunit test
Prefill a database with data, including the relationship
Perform a $this->load('relationshipName') or $this->refresh() on the model during the unit test
Run the unit test

I'll need more info and/or code to debug this further. Please post relevant code like models, jobs, commands, notifications, events, listeners, controller methods, routes, etc. You may use https://paste.laravel.io to post larger snippets or just reply with shorter code snippets. Thanks!

Model 1:
class Subscription extends Model
{
    use HasPayments;
}

Model 2:
class Payment extends Model
{
    public function payable(): MorphTo
    {
        return $this->morphTo();
    }

    public function invoice(): HasOne
    {
        return $this->hasOne(Invoice::class);
    }
}

Model 3:
class Invoice extends Model
{
    public function payment(): BelongsTo
    {
        return $this->belongsTo(Payment::class);
    }

    public static function createFromSubscription(Subscription $subscription): Invoice
    {
        $payment = $subscriptionPeriod->payment->refresh(); // Nullpointer occurs here

        $invoice = new Invoice();
        $invoice->payment_id = $payment->id;
        $invoice->save();

        return $invoice;
    }
}

Trait with relationship:
trait HasPayments
{
    public function payments(): MorphMany
    {
        return $this->morphMany(Payment::class, 'payable');
    }

    public function getPaymentAttribute(): ?Payment
    {
        $this->load('payments');

        return $this->payments->first();
    }
}

Unit test:
class MarkAsPayedTest extends TestCase
{
    /** @var Invoice */
    protected $invoice;

    /** @var \App\Models\Payment */
    protected $payment;

    public function setUp()
    {
        parent::setUp();

        $subscription = factory(Subscription::class)->create();

        $this->payment = PaymentFactory::createForPayable($subscription,1000);
        $this->payment->save();

        $subscription->payments()->save($this->payment);

        $this->invoice = Invoice::createFromSubscription($subscription);
    }

    /** @test */
    public function cannot_mark_as_payed_as_normal_user()
    {
        $user = factory(User::class)->create();

        $this->logInToApi($user);

        $this
            ->json('PATCH', "/api/invoices/{$this->invoice->id}/mark-as-payed")
            ->assertStatus(403);
    }
}

Like I said, all of this is old code, hasn't changed in weeks.

Are you using UUIDs by chance? on the Payment model?
If so, there was a change in 5.7.14 that would affect you too: #26582

yes,  $table->uuid('id'); $table->primary('id');

Please check the other issue. You'll need to define a $keyType property.
@elimentz do you also have defined a UUID for your models?

We're working on the same app, lol. Will check if that fixes the problem and get back to you ;-)

Resolved. Thanks for the support


[Gssoc'21] Making Contact us page more attractive

Feature request:
I want to try to make contact page more attractive and cool

Feature request:
I want to try to make contact page more attractive and cool

ok

@Akshay6890 how this??

@Akshay6890 how this??

this looks great, but change the theme color of the button and illustration. Good Job!

@Akshay6890 in which color do you want it?

use previous style and colors only, don't make changes, looks cool.

@Akshay6890 how this??

this looks great, but change the theme color of the button and illustration. Good Job!

finalize this, we will see changes later

Ok @Akshay6890 i will create a PR in some time kindly add suitable labels on PR.
As on  last 2 PR s i got level 1 only white there was labels of level 2 on issue 😅

@Akshay6890 what happens ?? you close the issue !! why ? the PR is not merged yet!!


Debug why repo is failing

Just want to see what Travis says is going on, since everything looks like it is configured correctly to pull the AWS credentials from the ~/.aws folder...

Problem was we had set the wrong AWS creds.


Implement the terminated and the truncated conditions

Right now they never change from being False. The variables are created within the _step internal method. See here for an indication about what they are supposed to mean.

Kamino closed and cloned this issue to neurogym/neurogym


6.1.64

Without having too much knowledge on those changes they LGTM. Are there any suggested steps when reviewing this? I assume that one doesn't need to compile and run the kernel themself?

This is fine as-is. :)


/moeblob /moememe both do not work as intended.

Yes it is I, the creator of both of the original images.

Rather dapper aint she?
Anyway, just wanted to note that they are both broken. You can remove them or fix them or whatever. If you can find the original moememe image and send it to me that would be great.
Thanks Emmie!

Oh also /approval.


updated query to get unmatched manuscript

https://github.com/elifesciences/data-hub-issues/issues/610
From Scott:

We were expecting a particular preprint to appear in the feed under review (10.1101/2<IP_ADDRESS>7042), but I’m not seeing it there.
The eJP ID is 13-12-2022-RA-RP-eLife-85562, but that looks like an older date so this may not be related at all.  Are you able to trace why it’s not showing in the api?

In query results I can see the data Scott mentioned, but as api result it is still not appearing will look into the reason tomorrow.

Do you think it might be worth separating the fix mv_Editorial_Last_Manuscript_Version from the title match?


Temporarily remove unbreakable.

Mod thinks that you've just broken a tool (and grants you 3x crit+knockback multiplier) when using empty hand during combat. You can easily stack this for an unfair advantage.
Breaks flight assistant and grind enchantments math because of the negative durability.

More than happy to add this back later once the issues are solved.

Glad to hear that! I've released a patch that fixes the more common bug (that being, bonus knockback + damage on hit) and tweaks some other cosmetic stuff. The issue is that I apparently can't fix the noted incompatibilities:

Can't reproduce the bug with grind enchantments (may not be related; neither seems to touch upon the same code) but I did optimize the code in hopes of it resolving the issue
The bug with flight assistant seems to be on their end (Issue #32)


Supervision order REST endpoints

References
Add references/links to any related issues or PRs. These may include:

Fixes #2878
Related to DSpace/RestContract#208

Description
A rest endpoint according to what defined in REST Contract, accepting CRUD operations for supervision orders, with usage limited to Administrators has been exposed. Two new discovery configurations have been added: "otherworkspace" returning all Workspace item a user is a member of their supervision group, and "supervision" returning all workspace and workflow items, used by UI Workflow admin page.
Instructions for Reviewers
List of changes in this PR:
Several files have been added and / or updated, please refer to list of Changed files for a complete list.
Our suggestion is to test this PR together with its angular part
Checklist

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[ ] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[ ] If my PR modifies REST API endpoints, I've opened a separate REST Contract PR related to this change.
[ ] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[ ] If my PR fixes an issue ticket, I've linked them together.

We have updated this PR with an IT proving that when groups or items are deleted their related supervision orders are deleted as well

Hi @tdonohue ,
thank you for your comments, we are reviewing what suggested and reported and will get back to you soon

@tdonohue , @abollini thank you for these reviews, they are all being addressed, updating the PR once ready

@tdonohue , @abollini we have addressed the feedback and updated the PR. It is ready for a review. In the next days.
Please note that at least one of addressed feedback impacts on Angular PR, we will update it in the next days.


refactor: Compile(ecc.ID) -> Compile(field *big.Int)

This PR makes frontend.Compile hints witness and cs packages dependent on a field instead of being dependent on a curveID.
This PR adds a tinyfield package (modulus == 47), for test purposes.
I believe the only algorithmic change is witness Serialization; instead of using curve.Encoder it directly uses fr.Element [Set]Bytes() methods.

build: update to latest gnark-crypto
refactor: frontend.Compile(ecc.ID) -> frontend.Compile(field.Field)
refactor: field.Field -> *big.Int
build: update to latest gnark-crypto
feat: added internal/tinyfield
refactor: NewWitness(ecc.ID) -> NewWitness(field big.Int)
feat: build R1CS with tinyfield
test: ignore range circuit for tinyfield r1cs serialization
refactor: hint now takes *big.Int scalar field instead of curveID

Hey, I know this is a closed issue, but it was not updated in your Go package documentations https://pkg.go.dev/github.com/consensys/gnark#section-readme. Specifically, the first example given of a cubic equation. Would save time for beginners to just add the ecc.BN254.ScalarField() to the example! I had to look around the GitHub for this, which is good practice, but I'd rather save other's time just a little.
Thanks for all the hard work!


feat(sage-monorepo): format Python files in the workspace with Black

Description
Black is the most popular formatter for Python files. This PR centralizes the installation and configuration of Black for all Python projects in the monorepo, increasing code standardization across projects and simplifying the work of Python project owners by removing the need for individual projects to install and configure Black.
Key features of the monorepo for formatting Python files include:

Python files are automatically formatted on save in VS Code.
Staged Python files are automatically formatted before the commit is created.

Changelog

Add Poetry files to the workspace folder
Add Black to the workspace-level Poetry files
Update the command workspace-install to install the workspace-level Python packages
Update the Node.js script that updates Python environments when performing git operations (e.g. git checkout)
Update VS Code configuration to use the workspace-level Black package
Update lint-staged to format staged Python files with Black
Remove Black package from the project schematic-api

Notes

[!WARNING]
Trivy has reported security issues for the dependencies of the schematic-api project after updating its lock file (Black has been removed). Addressing these issues is out of scope for this PR.

Black was added to the Poetry files in the root folder with poetry add<EMAIL_ADDRESS>--group dev

Future work
Apply a similar approach to standardize linting of Python files with pylint across all projects. The same approach should be used for type checking with mypy.
Preview
Run Black
While developers do not need to run Black manually, Black is now available after running workspace-install.
$ black --version
black, 24.8.0 (compiled: yes)
Python (CPython) 3.10.12

When switching between branches with different Poetry lock files
Demonstration of re-installing Black when switching between two branches that define different versions.
vscode@63d7cfb97cbf:/workspaces/sage-monorepo$ git checkout -
Switched to branch 'sage-monorepo/test-another-black-version'
✨ Preparing Node.js environments
✨ Preparing Java environments
✨ Preparing Python dependencies
Installing dependencies from lock file

Package operations: 0 installs, 1 update, 0 removals

  - Downgrading black (24.8.0 -> 24.4.2)
✨ Preparing R environments
vscode@63d7cfb97cbf:/workspaces/sage-monorepo$ git checkout -
Switched to branch 'sage-monorepo/lint-staged-black'
Your branch is ahead of 'origin/sage-monorepo/lint-staged-black' by 16 commits.
  (use "git push" to publish your local commits)
✨ Preparing Node.js environments
✨ Preparing Java environments
✨ Preparing Python dependencies
Installing dependencies from lock file

Package operations: 0 installs, 1 update, 0 removals

  - Updating black (24.4.2 -> 24.8.0)
✨ Preparing R environments

@tschaffter I'm curious, it looks like we are going from black v23.7.0 in the schematic toml file to v24.8.0 in the global toml file. However none of the python files the the schematic app were changed. Where they scnaned with blakc at some point? I would expect some changes from 23.7.0 -> 24.8.0

@andrewelamb I now have formatted all the Python files with Black. Could you please have a look at the re-formatted files and let me know if there is any issues with their new format?
$ black .

...
reformatted /workspaces/sage-monorepo/libs/schematic/api-client-python/schematic_client/api_client.py
reformatted /workspaces/sage-monorepo/libs/schematic/api-client-python/schematic_client/model_utils.py

All done! ✨ 🍰 ✨
183 files reformatted, 49 files left unchanged.

@tschaffter Ah perfect! I was expecting most of the python files would change with minor updates, so I think we're set.


[TOPIC-BLE-LLCP] Bluetooth: controller: Make data length update procedure code Kconfig'able

Adding defined() clauses to not compile in DLE related code, when data length update procedure is not supported
Adding compile script to test building with misc. kconfig overrides. - specifically building without CONFIG_BT_DATA_LEN_UPDATE
Still to sort out:

Should we check the compile with automated permutation of features?
How ought we check functionality? Run EDTT (minus unsupported features) on a selection of builds/featuresets?

rebased

taken over by PR#36039


ADD Debug and Info logging messages

Controller runtime provides logr as an API to its opinionated way
to write logs. It's using zap logger on the backed via the
controller-runtime/log package.
The logger is instantiated in the manager context and passed down
to the reconcile function that will on it's turn pass the ctx
down with the same logger to other called methods.

closes #20


Add cluster-level synthesis file lists for tapeout

This PR adds the generation for file lists per cluster.
Major TODO:

[x] Create and add makefile for tapeout target
[x] Create and add into the occamygen and occamy the call functions for generating the filelists
[x] Modify top-level Makefile

@IveanEx and @Konste11ation plez approve hahahaha so I can move forward to synthesis!

I just think about if you can avoid modifying occamygen, as the the filelist should not be the work of occamygen...

I just think about if you can avoid modifying occamygen, as the the filelist should not be the work of occamygen...

OK I shall wait for it and make the necessary changes then.

Bump! @IveanEx and @Konste11ation here are the modifications to utilize the Hemaia util.

@IveanEx thanks for the fix too! Will push this now 😄


This prevents a relevant order to drag-through in case it's the longest sentence in the group.
Removing the relevant order when it's not the longest won't affect the desired effect either as some other sentence will prevail.
It won't remove relevant orders when all sentences are relevant orders - it keeps the logic as it was before
It will keep the same logic as before when there are no relevant orders.

We need clarification to workout what is the correct behaviour when there are relevant orders,
Our current briefing on this matter is:
"if a conviction contains multiple sentences where one is a relevant order, the relevant order is not taken into account for drag-through purposes"
Although this does not clarify a scenario where there are 3 convictions and 2 convictions are relevant orders and are also the longest of the 3.
I've played the following scenario in Unlock calculator and they gave me the longest conviction (1st conviction)
They all started in 1/1/2000 (same proceedings)
1st has a length of 48 months (longet relevant order)
2nd has a length of 36 months (second relevant order)
3rd is a motoring fine, should have expired in 6 months without endorsement
I've created another card to revisit this calculations again, this card can be found here: https://trello.com/c/sZ7qBDwe/105-dc-double-check-that-the-calculations-for-multiple-relevant-orders-in-same-proceedings-are-correct
Story: https://trello.com/c/ImE62qTS/95-dc-multiples-same-proceedings-scenarios-for-calculations-testing

 [DC] Multiples - 'Same' proceedings scenarios for calculations testing

@zheileman commit 3d9a7cd is to prove (with test examples) that no code change were needed.
What I'm going to do is close this PR and open one specifically to add these scenarios to our tests so that we don't have more doubts about this.
I'm still to understand the connection in regards in how relevant orders in different convictions affect the calculations.

 Ignore relevant order sentences in other separate, overlapping convictions.

I'm still to understand the connection in regards in how relevant orders in different convictions affect the calculations.

This card has superseded this work and aims to explain the connection https://trello.com/c/XJEnGNj6/109-ignore-relevant-order-sentences-in-other-separate-overlapping-convictions


Yasd is not breaking on consecutive requests on the same process

Please answer these questions before submitting your issue. Thanks!

What did you do? If possible, provides a simple script and debug step to reproduce the problem.

https://github.com/swoole/swoole-src/issues/4166#issuecomment-829638495

What did you expect to see?

I expect YASD to break on consecutive requests on the same process

What did you see instead?

It breaks only when I first restart the swoole process, but not on the request, just initial boot code...

What is your machine environment used (show your uname -a & php -v & gcc -v) ?

uname -a
Linux 1d132e96384b 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021 x86_64 Linux
 php -v
PHP 7.4.15 (cli) (built: Feb 18 2021 00:45:01) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Yasd v0.3.7, Our Copyright, by codinghuang
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-alpine-linux-musl/10.2.1/lto-wrapper
Target: x86_64-alpine-linux-musl
Configured with: /home/buildozer/aports/main/gcc/src/gcc-10.2.1_pre1/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --target=x86_64-alpine-linux-musl --with-pkgversion='Alpine 10.2.1_pre1' --enable-checking=release --disable-fixed-point --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-werror --disable-symvers --enable-__cxa_atexit --enable-default-pie --enable-default-ssp --enable-cloog-backend --enable-languages=c,c++,d,objc,go,fortran,ada --disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer --enable-shared --enable-threads --enable-tls --with-system-zlib --with-linker-hash-style=gnu
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.1 20201203 (Alpine 10.2.1_pre1)

Can consider to use swoole https://github.com/swoole/swoole-src/tree/support-xdebug
You can use xdebug directly, as long as the PHP version is 8.1 or greater


define_type with time-dependent ActiveRecord scope

I'm writing this to make sure if this is an intended effect :smiley:
suppose you have a AR model with scope like
scope :published, -> { where("articles.published_at <= ?", DateTime.now) }
and with Chewy mapper
class ArticlesIndex < Chewy::Index
  define_type Article.published do
    # all the mappings
  end
end

and this won't give you a fresh published scope when invoking update_index in the AR model.
I solved it with using delete_if proc, but if you'd like me to submit a PR reminding this behaviour on README, I'm more than happy to do so :hand:
Thanks so much for proving such a handy gem to Ruby btw :smiley_cat:

I've got the same conversation today already: https://github.com/toptal/chewy/issues/326#issuecomment-203389199
Since you both clearly seems to be in collusion, I have to think about all this stuff, but I'm still not sure that this is the thing you need. It probably will cause unpredictable side-effects in future. I personally would prefer to index everything and then filter on querying instead.

Oh, btw, you are still able to calculate time.now in sql instead of ruby

I'm still new to Elasticsearch (newbies will look for high-level wrapper like this), so thank you for the suggestions!
I'll consider them (and probably stick to Elasticsearch friendly way).


resourcemanager/resources/armpolicy support for policy versioning with api version 2023-04-01

Service Package Request
Hi,
Looking at resourcemanager/resources/armpolicy, it doesn't seem to support the latest policy versioning feature available in this API version: https://learn.microsoft.com/en-us/rest/api/policy/policy-definition-versions?view=rest-policy-2023-04-01
Please can we update?

We need service team to submit request to release a new version of the SDK.  cc @kenieva , @jodi-boone, could you help?


A record value should be narrowed down to array when using Array.isArray

Bug Report

🔎 Search Terms

🕗 Version & Regression Information

TypeScript 4.9.4
⏯ Playground Link

Playground link with relevant code
💻 Code

function foo(id: string) {
  const record: Record<string, number | Array<number>> = {};

  const arr = record[id];

  if (Array.isArray(arr)) {
    // work
    arr.push(1);
  }

  if (Array.isArray(record[id])) {
    // doesn't work
    record[id].push(1);
  }
}

🙁 Actual behavior

If the record value is used directly is not narrowed down to an array.
🙂 Expected behavior

The record value type should be narrowed.

Duplicate of #10530. Type narrowing does not occur for indexed access forms e[k] where k is not a literal.

In fact using record.id does work, I didn't notice it before. Closing since it is a duplicate.
Thanks.


Uploading empty files via tus is not working

Uploading empty files (0 bytes) via tus is currently not working.
When trying to upload such file, the initial POST request will be send (e.g. to https://localhost:9200/remote.php/dav/files/admin), but no further PATCH requests will be send as there is no data to send. This is correct behavior, therefore Web expects oCIS/Reva to create such files on the initial POST request in case Content-Length is 0.

Closed as duplicate of #3154, thanks for reporting!


Parallel Render Error

I'm getting this error on Win 8:
https://preview.ibb.co/dGYYee/ffmpeg_error.png

I haven't saved a .blend file - doing so - makes it work. So maybe a check, if the project has been saved before running the export, could avoid this error?
Here it sounds like the audio is "jumping" a bit in the resulting file. Is it playing normally for you?
Anyway, I really like your script - maybe you could post about it in the FB VSE group? https://www.facebook.com/groups/1981104845289453/

Well, now it seems like there is a permission problem again. Maybe it is better to create a temp folder in Documents and then delete it again after a successful export?

Unfortunately that does not work if you have relative paths in your project (as they will not work if I put file somewhere else).
I will have a think what to do about it.
I save temporary file to include in render any unsaved changes in your project. I think I could check if everything is saved and use file directly without creating a temporary one.

Ah, notice the path to ffmpeg in the ffmpeg command line. The executable is missing, but when entering the path, no error is detected(only if it is a missing file). So it needs to check for ffmpeg.exe.
Maybe the preferences need to check for the executable and maybe add a button for selecting the path to the executable?

I fixed the fist issue of not noticing that provided path is not actual executable.
I will probably look into making the cleaning up part an option too.

Great. You probably already know this, here's a bit on checking if the .blend project is saved(if it isn't, it will cause an error as mentioned above): https://blender.stackexchange.com/questions/58711/python-check-if-file-was-saved


Request: deleteTable returns TableDescription

First off, thanks for this library! It creates a nice bridge.
Currently, deleteTable() returns undefined on success, however, it would be nice to have the response callback of the delete call as it is in the aws-sdk deleteTable. This would allow us to run assertions that the correct table was, in fact, deleted.
If this is undesired functionality please feel free to delete the issue. 👍

Right, I do follow this and use the successful resolution as you demonstrate. It would just be nice to formally verify the deletion of the correct properties with the reponse of TableDefinition from DynamoDB.
Anyways, thanks for your quick response! 🍻

Sorry; I misunderstood the ask in the original post. deleteTable is currently discarding the table definition, but that can be changed.


Support RISC-V64 architecture

Hi, I got follwing exception trying to run dotnet test for RISC-V64:
Unhandled exception. System.NotSupportedException: Specified method is not supported.
   at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.ProcessHelper.GetCurrentProcessArchitecture() in /_/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs:line 45
   at Microsoft.VisualStudio.TestPlatform.CommandLine.Executor.PrintSplashScreen(Boolean isDiag, String[] args) in /_/src/vstest.console/CommandLine/Executor.cs:line 449
   at Microsoft.VisualStudio.TestPlatform.CommandLine.Executor.Execute(String[] args) in /_/src/vstest.console/CommandLine/Executor.cs:line 134
   at Microsoft.VisualStudio.TestPlatform.CommandLine.Program.Run(String[] args, UiLanguageOverride uiLanguageOverride) in /_/src/vstest.console/Program.cs:line 31
   at Microsoft.VisualStudio.TestPlatform.CommandLine.Program.Main(String[] args) in /_/src/vstest.console/Program.cs:line 22

I see that RISC-V64 is not even declared:
https://github.com/microsoft/vstest/blob/58a1f6b114170b612224731442a8245845dad722/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs#L6-L16
https://github.com/microsoft/vstest/blob/58a1f6b114170b612224731442a8245845dad722/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs#L32-L47
Hardware: StarFive VisionFive 2
OS: Unintu 23.10 (see https://ubuntu.com/download/risc-v)
.NET SDK: 8.0.1(see https://github.com/dkurt/dotnet_riscv/releases)
$ dotnet --info
.NET SDK:
 Version:           8.0.101
 Commit:            6eceda187b
 Workload version:  8.0.100-manifests.69afb982

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  23.10
 OS Platform: Linux
 RID:         linux-riscv64
 Base Path:   /usr/local/dotnet/sdk/8.0.101/

.NET workloads installed:
 Workload version: 8.0.100-manifests.69afb982
There are no installed workloads to display.

Host:
  Version:      8.0.1
  Architecture: riscv64
  Commit:       bf5e279d92

.NET SDKs installed:
  8.0.101 [/usr/local/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.1 [/usr/local/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 8.0.1 [/usr/local/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

This was inserted into net9 sdk, but insertion into net8 sdk is blocked on https://github.com/dotnet/sdk/pull/37983.


Flutter: Dice App: Part 1 - Add Assets

Description
Add assets for the dice images - 6 images of dice representing each side of the dice.
Reference: #5417
Domain
Android Dev (Flutter)
Type of Contribution
Others
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


[FR] Add the samples md files for DMAC

Note that I am still not adding things to main Readme

API changes have been detected in this PR. You can review API changes here

API changes have been detected in this PR. You can review API changes here


Convert HPACK regression test into unit test using Catch

No logical change.

Tests for XPACK is moved to #5710. I'll move rest of tests in to test_HPACK.cc when it is converted to Catch based.


Spectrogram vertical frequency label

This is actually an enhancement request for the Spectrogram plugin to display a vertical axis frequency label.  I'm using the timeline plugin for the horizontal axis which works well and now I'm just missing the frequency labels.
I'm trying to figure it out on my own, but not there yet!

@JulieMarie I created a sample that displays the labels for you. When I get a chance I'll add it to the official plugin.
http://codepen.io/entonbiba/pen/Bpmqrq

Thanks @entonbiba, I'll check it out!

@JulieMarie I've updated the spectrogram with khz labels, the labels with custom font/color etc will be available in the next version,

Fantastic... Thank you so much!

The spectrogram frequency labels parameter is now available in the latest version. #984


Microsoft.Data.Analysis version 0.* cannot be added because version 0.19.1 was added previously

I created a .ipynb file with a C# cell:

#i "nuget:https://api.nuget.org/v3/index.json"

#r "nuget:Microsoft.Data.Analysis,0.*"
#r "nuget: Plotly.NET, 2.*-*"
#r "nuget: Plotly.NET.Interactive, 2.*-*"

using System;
using Plotly.NET;
using Microsoft.Data.Analysis;

IEnumerable<Int32> x = Enumerable.Range(0, 20);
IEnumerable<Int32> y = Enumerable.Range(0, 20);

Console.WriteLine("Hello World!");

Chart2D.Chart.Point<Int32, Int32, String>(x, y).Show();

And a F# cell:

#i "nuget:https://api.nuget.org/v3/index.json"

#r "nuget:Microsoft.Data.Analysis,0.*"
#r "nuget: Plotly.NET, 2.*-*"
#r "nuget: Plotly.NET.Interactive, 2.*-*"

open System;
open Plotly.NET;
open Microsoft.Data.Analysis;

let x' = [0 .. 20]
let y' = [0 .. 20]

printfn "Hello World"

Chart.Point(x', y')

Every time I run a cell I get the error:
Error: Microsoft.Data.Analysis version 0.* cannot be added because version 0.19.1 was added previously.

I always need to restart the Notebook Kernel ...
Is this needed every time? If yes, why not do it automatically?
Side issues:

I don't have intellisense in both cells.
Do I need to have the notebook on a folder with a .csproj file?

What is the difference between .ipynb and .dib files?
I ran the code on the two file format and couldn't find any difference.
Which should be used with Net Notebooks?

.NET Interactive
Version: 1.0.317502+9c2a225c543085a04516cc4fc490919d5925ba87
Build date: 2022-03-25T20:43:44.0000000Z
OS: macOS
Browser: Safari
Frontend: Visual Studio Code

I see that error only if I re-run the #r directives. If I split them into a separate cell and don't re-run those, then I can re-run the C# or F# code blocks repeatedly.

The behaviour is that we do not allow multiple versions of the same nuget pacakge.
If you load a specific version or always resolve to latest will work, in this case having a patter to match is not checking if the matched version is also the one we have already loaded.


options for links (target=_blank, nofollow)

Disclaimer : I guess my question is pretty common and might has been asked/replied already. Unfortunately I can't find any reference.
It seems that all links inserted within the editor are target="_blank" rel="nofollow"
Even if modified in HTML mode.
is there any parameter to change it ?
Thank you.

That's controlled by WysiHTML5's parser rules: https://github.com/xing/wysihtml5/blob/master/parser_rules/simple.js#L24
You can extend them if you want:
  Bootsy.options = $.extend(true, Bootsy.options, {
    parserRules: {
      tags: {
        a: {
          set_attributes: {
            target: ''
          }
        }
      }
    }
  });

Once again : Perfect !Thank you so much @volmer for your prompt reply !


Another Merge pull request #1 from 1millionwomentotech/master

Updating Fork

Troubleshooting pull problems for a student by pulling this again.


Password Manager

no password manager

*Development Notes
https://www.electronjs.org/docs/latest/api/safe-storage

Development Notes https://www.electronjs.org/docs/latest/api/safe-storage

aren't you ditching electron in version 3.6.1?

Catalyst isn't getting switched away from Electron any time soon


feat: added systemManager facade

added systemManager facade to read and write parameters.

Hi @dali546. Thanks for your PR.
I'm waiting for a jenkins-x-plugins or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/ok-to-test

@dali546: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
68d6558190188ebef572c34cbda8549b6c463ca7
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jstrachan
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


modules from 'pew add ' are preferred over local modules

Hello,
I use python on a HPC cluster. There is a system python (old and without packages), and python 2.7 provided via a "module" that can be loaded, including some optimized packages like numpy.
So, using this python 2.7, I make a virtualenv with pew. Inside this virtualenv I install some  "custom" packages I need using pip install. Since I also want to use the cluster modules, I add the (non-standard) location of the site-packages folder via pew add.
Now, unfortunately, this folder contains one module that conflicts with a custom module (same name coincidentally). The virtualenv python session always prefers the module from the folder added with pew add. The custom module is not found.
Is there anything I can do? (renaming is not an option)
Thanks!

I don't know enough about your situation, so I guess there should be a cleaner solution, but... let's assume that /tmp/foo is the directory that you added via pew add
You could simply do
import sys
sys.path.remove('/tmp/foo')
sys.path.append('/tmp/foo')

as long as a module inside /tmp/foo (except the problematic one) is not shadowed by another package installed in the virtualenv. This should solve the problem by picking the virtualenv modules first
Maybe you could also pip install -e the cluster modules?
Also, maybe you could symlink the module that you care about from another directory, and only add this other directory with pew add ?

You are right, it's quite specific. Maybe the cluster admins have an idea how to do this cleanly. I though it was maybe connected to my use of pew.
All your recommendations are good ideas really, I'll try this. Thanks a lot :)
(pip install -e unfortunately does not work though because not all cluster modules are 'installable' with a setup.py)


Clone a list and random pointers

Related Issue
#1042
Proposed Changes
1.Code of clone a list with comments added
2.Separate readme with explaination
Additional Info
 Code is checked before submitting it is a hard level question and is asked frequently in many in interview rounds

Checklist

[x ] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Input 1 (Output is displayed with debugger)

Input 2

@Lakhankumawat is this PR good if not give me some suggestion how to improve it?

@siddhi-244 Please review now the function is added

No you haven't taken the input!

Sorry I thought separate function is needed, I have made the changes please review now

Can you give a more detailed approach or algorithm?

I have Attached debugged pics and Approach in read-me and I think that's all I can do to explain the code .I know it's a bit confusing as this is a hard level question.

Follow the announcements in discord , why did you modified A-Array's README

Follow the announcements in discord , why did you modified A-Array's README

Actually I  had contributed an array based question and  while I was updating the readme for Clone a list. I thought it would be better that whenever user goes through the readme and see the heading he can simply click on the heading to go to the code page , so I updated it by adding the link.

done


Master branch links to v0.11

Can you fix it?
Thanks

Not sure what you mean. If i checkout the git-repo I'll get the master branch which is at commit 22deeb7f9528c417cfecdd20bff513dd867de338 at the moment, which is latest release <IP_ADDRESS>
Cloning into 'dash'...
remote: Counting objects: 73330, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 73330 (delta 0), reused 0 (delta 0), pack-reused 73326
Receiving objects: 100% (73330/73330), 84.27 MiB | 3.08 MiB/s, done.
Resolving deltas: 100% (52466/52466), done.
Checking connectivity... done.

Holger@SINJA /c/issue618
$ cd dash/

Holger@SINJA /c/issue618/dash (master)
$ git branch
* master

Holger@SINJA /c/issue618/dash (master)
$ git rev-parse HEAD
22deeb7f9528c417cfecdd20bff513dd867de338

Holger@SINJA /c/issue618/dash (master)
$```

I've used
git clone https://github.com/dashpay/dash.git
(Yesterday)
that's the head I got:
37e4d80920ce170c2564b96dd9c1678196cc6acb
My knowledge of git is not that good...

22deeb7f9528c417cfecdd20bff513dd867de338 here, fix your git copy.
https://github.com/dashpay/dash/commits/master

Can't reproduce - closing.


Implement AENS v4

dependent on queries from john n

As I know, it is implemented, though we have some bugs to fix that are explained in other issues.


quasar cookies helper fix

Description
process.env.SERVER and process.env.CLIENT will be ever evaluated as false inside the lib, so the Cookie.parse thing would be handled at the dev land, otherwise that wil cause hydratation mismatches
Linked Issues
fixes #103

that's what i feared when creating the helper, can you also update the example in examples/quasar-cookies to reflect the changes ?

updated


Update Composer dependencies (2020-10-29-00-08)

Visual regression test passed!
View the visual regression test report


[BUG] - IPV6 addresses fail to parse

Internal/External
External   otherwise.
Area
Other
Summary
Add an IPv6 address as external address. Get an error.
Steps to reproduce
I run this:
cardano-node run \
   --socket-path /home/cardano/configuration/socket \
   --topology /home/cardano/configuration/mainnet-topology.json \
   --database-path /home/cardano/configuration/db \
   --host-addr  2601:640:8880:375b:2c0:caff:fe47:9d63 \
   --port 3001 \
   --config /home/cardano/configuration/mainnet-config.json

Get error
option --host-addr: Failed to parse: 2601:640:8880:375b:2c0:caff:fe47:9d63

Expected behavior
cardano-node should start up and bind to the given address
System info (please complete the following information):

OS: debian
Version 10.7
Node version cardano-node-1.25.0-linux.tar.gz

Additional context
Documentation explicitly states that host-addr can be an IPv4 or IPv6 address.
https://docs.cardano.org/projects/cardano-node/en/latest/
"--host-addr - Optionally specify your node’s IPv4 or IPv6 address."

I'm removing IPv6 options and making the host IP address omniversioned.

I like the way that you think, Sir, as this is in my opinion the correct answer.

Sorry, a better way is completely different: see #2431


Add overview text

need coding example.

:x: Validation status: errors

File
Status
Preview URL
Details

api/overview/azure/index.yml
:x:Error

Details

:x:Error

Details

api/overview/azure/index.yml

[Error] Error transforming model "W:\yssv-o-unknown\raw-\p2wwxk5c.dac\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

[Error] Error transforming model "W:\yssv-o-unknown\raw-\p2wwxk5c.dac\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

api/overview/azure/index.yml
:x:Error

Details

:x:Error

Details

api/overview/azure/index.yml

[Error] Error transforming model "W:\5n1c-o-68c1fb18\raw-\bz4iwjzo.i3g\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

[Error] Error transforming model "W:\5n1c-o-68c1fb18\raw-\bz4iwjzo.i3g\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

api/overview/azure/index.yml
:x:Error

Details

:x:Error

Details

api/overview/azure/index.yml

[Error] Error transforming model "W:\alil-o-c1de72ec\raw-\exg2rfpo.er5\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

[Error] Error transforming model "W:\alil-o-c1de72ec\raw-\exg2rfpo.er5\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

api/overview/azure/index.yml
:x:Error

Details

:x:Error

Details

api/overview/azure/index.yml

[Error] Error transforming model "W:\h2rs-o-c634d9be\raw-\i5bkq5r3.bh3\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

[Error] Error transforming model "W:\h2rs-o-c634d9be\raw-\i5bkq5r3.bh3\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

  It makes no sense.

Did you have an example for this one?

No samples - waiting on PM for direction.

I think we can go ahead and merge it as-is then, don't you?

Yes, #232  is the same situation


Bumping antlr dependency to 4.9.2 (from 4.8)

A project that would like to use omegaconf has some hard dependencies on antlr 4.9 in the existing build system. Would like to bump dependency here as well to integrate with existing system.

The compiler is included with the repo (https://github.com/omry/omegaconf/tree/master/build_helpers/bin).
However this may be tricky with fbcode (It has 4.8 and if we will be required to upgrade there as well it will be hard).
Also, Hydra's antlr version must match.

Fundamentally speaking, is the code compatible with both? if we are rolling our own ecosystem, should we be able to change the dependencies ourselves?
The issue seems to be that pip check fails when we have 4.9 installed:
https://github.com/conda-forge/omegaconf-feedstock/pull/25


[CORE] Store all locking callstacks for critical section

Stores all callstacks used when locking CriticalSection.
If "CRITICAL_SECTION_LOCK_LOG" is enabled, all callstacks when locking a CriticalSection are logged, not just the most recent one. This allows one to investigate unmatched locks/unlocks.

https://jenkins.code.rdkcentral.com/job/github-triggered/742/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/749/ started

I assume you will create a small Demo/PowerPoint presentation to explain how we can use this :-)


Auto adjust input width when user is typing

this is so needed. the default width is so small. @TimSchlechter why dont you merge this.


Fix pgo requirement in multibot shell

Short Description:

Fixed the pgo version in the runMultiBot.sh file and fixed the loop from the original run.sh
Fixed the .git at the end of the path for clones

👍


500 Internal Server error with "missing method CloseNotify"

Do you want to request a feature or report a bug?
Bug
What did you do?
Upgraded to 1.5.0-rc3 and then made a request.
What did you expect to see?
The response from the backend or 502/503 when backend is unavailable (as in 1.4.5).
What did you see instead?
500 Internal Server Error (and seee logs below)
Output of traefik version: (What version of Traefik are you using?)
Version:      v1.5.0-rc3
Codename:     cancoillotte
Go version:   go1.9.2
Built:        2017-12-20_02:24:44PM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?

config json
{
 "LifeCycle": null,
 "GraceTimeOut": 0,
 "Debug": true,
 "CheckNewVersion": true,
 "SendAnonymousUsage": false,
 "AccessLogsFile": "",
 "AccessLog": null,
 "TraefikLogsFile": "",
 "TraefikLog": null,
 "LogLevel": "DEBUG",
 "EntryPoints": {
  "http": {
   "Network": "",
   "Address": ":80",
   "TLS": null,
   "Redirect": {
    "entryPoint": "https"
   },
   "Auth": null,
   "WhitelistSourceRange": null,
   "Compress": false,
   "ProxyProtocol": null,
   "ForwardedHeaders": null
  },
  "https": {
   "Network": "",
   "Address": ":443",
   "TLS": {
    "MinVersion": "VersionTLS12",
    "CipherSuites": [
     "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305",
     "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
     "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
     "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
     "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
     "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
     "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305",
     "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
     "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
     "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
     "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
     "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
     "TLS_RSA_WITH_AES_128_GCM_SHA256",
     "TLS_RSA_WITH_AES_256_GCM_SHA384",
     "TLS_RSA_WITH_AES_128_CBC_SHA",
     "TLS_RSA_WITH_AES_256_CBC_SHA"
    ],
    "Certificates": null,
    "ClientCAFiles": null,
    "ClientCA": {
     "Files": null,
     "Optional": false
    }
   },
   "Redirect": null,
   "Auth": null,
   "WhitelistSourceRange": null,
   "Compress": true,
   "ProxyProtocol": null,
   "ForwardedHeaders": null
  }
 },
 "Cluster": null,
 "Constraints": [],
 "ACME": {
  "Email": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "Domains": null,
  "Storage": "/etc/traefik/acme/acme.json",
  "StorageFile": "",
  "OnDemand": false,
  "OnHostRule": true,
  "CAServer": "",
  "EntryPoint": "https",
  "DNSProvider": "",
  "DelayDontCheckDNS": 0,
  "ACMELogging": true,
  "TLSConfig": null
 },
 "DefaultEntryPoints": [
  "http",
  "https"
 ],
 "ProvidersThrottleDuration":<PHONE_NUMBER>,
 "MaxIdleConnsPerHost": 200,
 "IdleTimeout": 0,
 "InsecureSkipVerify": false,
 "RootCAs": null,
 "Retry": {
  "Attempts": 0
 },
 "HealthCheck": {
  "Interval":<PHONE_NUMBER>0
 },
 "RespondingTimeouts": null,
 "ForwardingTimeouts": null,
 "Web": {
  "Address": ":8080",
  "CertFile": "",
  "KeyFile": "",
  "ReadOnly": false,
  "Statistics": null,
  "Metrics": null,
  "Path": "",
  "Auth": null,
  "Debug": false
 },
 "Docker": null,
 "File": {
  "Watch": true,
  "Filename": "",
  "Constraints": null,
  "Trace": false,
  "DebugLogGeneratedTemplate": false,
  "Directory": "/config/"
 },
 "Marathon": null,
 "Consul": null,
 "ConsulCatalog": null,
 "Etcd": null,
 "Zookeeper": null,
 "Boltdb": null,
 "Kubernetes": null,
 "Mesos": null,
 "Eureka": null,
 "ECS": null,
 "Rancher": null,
 "DynamoDB": null,
 "ServiceFabric": null,
 "Rest": null,
 "API": null,
 "Metrics": null,
 "Ping": null,
 "ConfigFile": "//traefik.toml"
}

traefil.toml
debug = true

#InsecureSkipVerify = true

defaultEntryPoints = ["http", "https"]

logLevel = "DEBUG"

[retry]

[entryPoints]
  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
  address = ":443"
  compress = true
    [entryPoints.https.tls]
    minVersion = "VersionTLS12"
    cipherSuites = [
      "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305",
      "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
      "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
      "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
      "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
      "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
      "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305",
      "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
      "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
      "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
      "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
      "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
      "TLS_RSA_WITH_AES_128_GCM_SHA256",
      "TLS_RSA_WITH_AES_256_GCM_SHA384",
      "TLS_RSA_WITH_AES_128_CBC_SHA",
      "TLS_RSA_WITH_AES_256_CBC_SHA",
    ]

[acme]
storage = "/etc/traefik/acme/acme.json"
#caServer = "https://acme-staging.api.letsencrypt.org/directory"
email =<EMAIL_ADDRESS>#onDemand = true
onHostRule = true
entryPoint = "https"
acmeLogging = true

[web]

[file]
directory = "/config/"
watch = true

/config/services.toml (only file in there)
[frontends]
  [frontends.concourse]
  backend = "concourse"
    [frontends.concourse.routes.test_1]
    rule = "Host:concourse.my.example.com"

[backends]
  [backends.concourse]
    [backends.concourse.servers.server1]
    url = "http://concourse-web:8080"

If applicable, please paste the log output in debug mode (--debug switch)

logs
time="2017-12-28T15:26:25Z" level=info msg="Using TOML configuration file //traefik.toml"
time="2017-12-28T15:26:25Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
time="2017-12-28T15:26:25Z" level=info msg="Traefik version v1.5.0-rc3 built on 2017-12-20_02:24:44PM"
time="2017-12-28T15:26:25Z" level=info msg="
Stats collection is disabled.
Help us improve Traefik by turning this feature on :)
More details on: https://docs.traefik.io/basic/#collected-data
"
time="2017-12-28T15:26:25Z" level=debug msg="Global configuration loaded {"LifeCycle":{"RequestAcceptGraceTimeout":0,"GraceTimeOut":0},"GraceTimeOut":0,"Debug":true,"CheckNewVersion":true,"SendAnonymousUsage":false,"AccessLogsFile":"","AccessLog":null,"TraefikLogsFile":"","TraefikLog":null,"LogLevel":"DEBUG","EntryPoints":{"http":{"Network":"","Address":":80","TLS":null,"Redirect":{"entryPoint":"https"},"Auth":null,"WhitelistSourceRange":null,"Compress":false,"ProxyProtocol":null,"ForwardedHeaders":{"Insecure":true,"TrustedIPs":null}},"https":{"Network":"","Address":":443","TLS":{"MinVersion":"VersionTLS12","CipherSuites":["TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305","TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305","TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305","TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305","TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA","TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA","TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA","TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA","TLS_RSA_WITH_AES_128_GCM_SHA256","TLS_RSA_WITH_AES_256_GCM_SHA384","TLS_RSA_WITH_AES_128_CBC_SHA","TLS_RSA_WITH_AES_256_CBC_SHA"],"Certificates":null,"ClientCAFiles":null,"ClientCA":{"Files":null,"Optional":false}},"Redirect":null,"Auth":null,"WhitelistSourceRange":null,"Compress":true,"ProxyProtocol":null,"ForwardedHeaders":{"Insecure":true,"TrustedIPs":null}},"traefik":{"Network":"","Address":":8080","TLS":null,"Redirect":null,"Auth":null,"WhitelistSourceRange":null,"Compress":false,"ProxyProtocol":null,"ForwardedHeaders":{"Insecure":true,"TrustedIPs":null}}},"Cluster":null,"Constraints":[],"ACME":{"Email":"some-mail@example.com","Domains":null,"Storage":"/etc/traefik/acme/acme.json","StorageFile":"","OnDemand":false,"OnHostRule":true,"CAServer":"","EntryPoint":"https","DNSProvider":"","DelayDontCheckDNS":0,"ACMELogging":true,"TLSConfig":null},"DefaultEntryPoints":["http","https"],"ProvidersThrottleDuration":2000000000,"MaxIdleConnsPerHost":200,"IdleTimeout":0,"InsecureSkipVerify":false,"RootCAs":null,"Retry":{"Attempts":0},"HealthCheck":{"Interval":30000000000},"RespondingTimeouts":null,"ForwardingTimeouts":null,"Web":{"Address":":8080","CertFile":"","KeyFile":"","ReadOnly":false,"Statistics":null,"Metrics":null,"Path":"/","Auth":null,"Debug":false},"Docker":null,"File":{"Watch":true,"Filename":"//traefik.toml","Constraints":null,"Trace":false,"DebugLogGeneratedTemplate":false,"Directory":"/config/"},"Marathon":null,"Consul":null,"ConsulCatalog":null,"Etcd":null,"Zookeeper":null,"Boltdb":null,"Kubernetes":null,"Mesos":null,"Eureka":null,"ECS":null,"Rancher":null,"DynamoDB":null,"ServiceFabric":null,"Rest":null,"API":{"EntryPoint":"traefik","Dashboard":true,"Debug":true,"CurrentConfigurations":null,"Statistics":null,"Stats":null,"StatsRecorder":null},"Metrics":null,"Ping":{"EntryPoint":"traefik"}}"
time="2017-12-28T15:26:25Z" level=info msg="Preparing server http &{Network: Address::80 TLS:<nil> Redirect:0xc4204a92f0 Auth:<nil> WhitelistSourceRange:[] Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc4200bcb80} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2017-12-28T15:26:25Z" level=info msg="Preparing server https &{Network: Address::443 TLS:0xc4206bd180 Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] Compress:true ProxyProtocol:<nil> ForwardedHeaders:0xc4200bcba0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2017-12-28T15:26:25Z" level=info msg="Starting server on :80"
time="2017-12-28T15:26:26Z" level=info msg="Loading ACME Account..."
time="2017-12-28T15:26:26Z" level=info msg="Loaded ACME config from store /etc/traefik/acme/acme.json"
time="2017-12-28T15:26:26Z" level=debug msg="Building ACME client..."
time="2017-12-28T15:26:26Z" level=debug msg=AgreeToTOS...
time="2017-12-28T15:26:27Z" level=info msg="Preparing server traefik &{Network: Address::8080 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc4200bcbc0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2017-12-28T15:26:27Z" level=info msg="Starting provider *file.Provider {"Watch":true,"Filename":"//traefik.toml","Constraints":null,"Trace":false,"DebugLogGeneratedTemplate":false,"Directory":"/config/"}"
time="2017-12-28T15:26:27Z" level=info msg="Retrieving ACME certificates..."
time="2017-12-28T15:26:27Z" level=info msg="Retrieved ACME certificates"
time="2017-12-28T15:26:27Z" level=info msg="Testing certificate renew..."
time="2017-12-28T15:26:27Z" level=info msg="Starting server on :443"
time="2017-12-28T15:26:27Z" level=info msg="Starting server on :8080"
time="2017-12-28T15:26:27Z" level=debug msg="Validation of load balancer method for backend concourse failed: invalid load-balancing method ''. Using default method wrr."
time="2017-12-28T15:26:27Z" level=debug msg="Configuration received from provider file: {"backends":{"concourse":{"servers":{"server1":{"url":"http://concourse-web:8080","weight":0}},"loadBalancer":{"method":"wrr"}}},"frontends":{"concourse":{"entryPoints":["http","https"],"backend":"concourse","routes":{"test_1":{"rule":"Host:concourse.my.example.com"}},"priority":0,"basicAuth":null,"headers":{}}}}"
time="2017-12-28T15:26:27Z" level=debug msg="Creating frontend concourse"
time="2017-12-28T15:26:27Z" level=debug msg="Wiring frontend concourse to entryPoint http"
time="2017-12-28T15:26:27Z" level=debug msg="Creating route test_1 Host:concourse.my.example.com"
time="2017-12-28T15:26:27Z" level=debug msg="Creating entryPoint redirect http -> https : ^(?:https?:\/\/)?([\w\._-]+)(?::\d+)?(.*)$ -> https://$1:443$2"
time="2017-12-28T15:26:27Z" level=debug msg="Creating backend concourse"
time="2017-12-28T15:26:27Z" level=debug msg="Creating load-balancer wrr"
time="2017-12-28T15:26:27Z" level=debug msg="Creating server server1 at http://concourse-web:8080 with weight 0"
time="2017-12-28T15:26:27Z" level=debug msg="Creating retries max attempts 1"
time="2017-12-28T15:26:27Z" level=debug msg="Wiring frontend concourse to entryPoint https"
time="2017-12-28T15:26:27Z" level=debug msg="Creating route test_1 Host:concourse.my.example.com"
time="2017-12-28T15:26:27Z" level=debug msg="Creating backend concourse"
time="2017-12-28T15:26:27Z" level=debug msg="Creating load-balancer wrr"
time="2017-12-28T15:26:27Z" level=debug msg="Creating server server1 at http://concourse-web:8080 with weight 0"
time="2017-12-28T15:26:27Z" level=debug msg="Creating retries max attempts 1"
time="2017-12-28T15:26:27Z" level=info msg="Server configuration reloaded on :443"
time="2017-12-28T15:26:27Z" level=info msg="Server configuration reloaded on :8080"
time="2017-12-28T15:26:27Z" level=info msg="Server configuration reloaded on :80"
time="2017-12-28T15:26:27Z" level=debug msg="LoadCertificateForDomains [concourse.my.example.com]..."
time="2017-12-28T15:26:27Z" level=debug msg="Look for provided certificate to validate [concourse.my.example.com]..."
time="2017-12-28T15:26:27Z" level=debug msg="No provided certificate found for domains [concourse.my.example.com], get ACME certificate."
time="2017-12-28T15:26:31Z" level=debug msg="Look for provided certificate to validate [concourse.my.example.com]..."
time="2017-12-28T15:26:31Z" level=debug msg="No provided certificate found for domains [concourse.my.example.com], get ACME certificate."
time="2017-12-28T15:26:31Z" level=debug msg="Challenge GetCertificate concourse.my.example.com"
time="2017-12-28T15:26:31Z" level=debug msg="ACME got domain cert concourse.my.example.com"
time="2017-12-28T15:26:31Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/teams/main/pipelines/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US,en;q=0.5"],"Cache-Control":["max-age=0"],"Cookie":["ATC-Authorization=\"Bearer sometoken\""],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"]},"ContentLength":0,"TransferEncoding":null,"Host":"concourse.my.example.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"${my-ip}:53372","RequestURI":"/teams/main/pipelines/","TLS":null}"
time="2017-12-28T15:26:31Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" ForwardURL=http://concourse-web:8080 Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/teams/main/pipelines/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US,en;q=0.5"],"Cache-Control":["max-age=0"],"Cookie":["ATC-Authorization=\"Bearer sometoken\""],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"]},"ContentLength":0,"TransferEncoding":null,"Host":"concourse.my.example.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"${my-ip}:53372","RequestURI":"/teams/main/pipelines/","TLS":null}"
time="2017-12-28T15:26:31Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"http","Opaque":"","User":null,"Host":"concourse-web:8080","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US,en;q=0.5"],"Cache-Control":["max-age=0"],"Cookie":["ATC-Authorization=\"Bearer sometoken\""],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"]},"ContentLength":0,"TransferEncoding":null,"Host":"concourse.my.example.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"${my-ip}:53372","RequestURI":"/teams/main/pipelines/","TLS":null}"
time="2017-12-28T15:26:31Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"http","Opaque":"","User":null,"Host":"concourse-web:8080","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US,en;q=0.5"],"Cache-Control":["max-age=0"],"Cookie":["ATC-Authorization=\"Bearer sometoken\""],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"]},"ContentLength":0,"TransferEncoding":null,"Host":"concourse.my.example.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"${my-ip}:53372","RequestURI":"/teams/main/pipelines/","TLS":null}"
time="2017-12-28T15:26:31Z" level=debug msg="vulcand/oxy/forward/http: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"http","Opaque":"","User":null,"Host":"concourse-web:8080","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US,en;q=0.5"],"Cache-Control":["max-age=0"],"Cookie":["ATC-Authorization=\"Bearer sometoken\""],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"]},"ContentLength":0,"TransferEncoding":null,"Host":"concourse.my.example.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"${my-ip}:53372","RequestURI":"/teams/main/pipelines/","TLS":null}"
time="2017-12-28T15:26:31Z" level=debug msg="vulcand/oxy/forward: competed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"http","Opaque":"","User":null,"Host":"concourse-web:8080","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US,en;q=0.5"],"Cache-Control":["max-age=0"],"Cookie":["ATC-Authorization=\"Bearer sometoken\""],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"]},"ContentLength":0,"TransferEncoding":null,"Host":"concourse.my.example.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"${my-ip}:53372","RequestURI":"/teams/main/pipelines/","TLS":null}"
time="2017-12-28T15:26:31Z" level=debug msg="vulcand/oxy/roundrobin/rr: competed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/teams/main/pipelines/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US,en;q=0.5"],"Cache-Control":["max-age=0"],"Cookie":["ATC-Authorization=\"Bearer sometoken\""],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"]},"ContentLength":0,"TransferEncoding":null,"Host":"concourse.my.example.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"${my-ip}:53372","RequestURI":"/teams/main/pipelines/","TLS":null}"
time="2017-12-28T15:26:31Z" level=error msg="Recovered from panic in http handler: interface conversion: *negroni.responseWriter is not http.CloseNotifier: missing method CloseNotify"

Removing compress: true fixes it.

I still see this error... I disabled compression on traefik.toml and also i dont have the web activated... it only happens with a pages which have big images and videos... and on the browser I get: "Gateway Timeout"
[entryPoints]
  [entryPoints.http]
  address = ":80"
  compress = false
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
  address = ":443"
  compress = false
    [entryPoints.https.tls]

From the log:
proxy_1  | time="2018-08-21T18:38:22Z" level=debug msg="Upstream ResponseWriter of type *pipelining.writerWithoutCloseNotify does not implement http.CloseNotifier. Returning dummy channel."

I changed the network of the database container, to be the same as in traefik, and everything works fine. I think this issue is related to:
https://github.com/containous/traefik/issues/2348
https://github.com/containous/traefik/issues/970#issuecomment-267795260


[Snyk] Fix for 6 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

jobs/pacman-awsrules/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

569/1000  Why? Has a fix available, CVSS 7.1
Denial of Service (DoS) SNYK-JAVA-CHQOSLOGBACK-6094943
ch.qos.logback:logback-access:  1.2.3 -> 1.2.13
No
No Known Exploit

569/1000  Why? Has a fix available, CVSS 7.1
Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-JAVA-CHQOSLOGBACK-6097493
ch.qos.logback:logback-access:  1.2.3 -> 1.2.13
No
No Known Exploit

479/1000  Why? Has a fix available, CVSS 5.3
Directory Traversal SNYK-JAVA-ORGCODEHAUSPLEXUS-31521
org.apache.maven:maven-artifact:  3.3.9 -> 3.5.0
No
No Known Exploit

440/1000  Why? Has a fix available, CVSS 4.3
XML External Entity (XXE) Injection SNYK-JAVA-ORGCODEHAUSPLEXUS-461102
org.apache.maven:maven-artifact:  3.3.9 -> 3.5.0
No
No Known Exploit

696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Denial of Service (DoS) SNYK-JAVA-ORGJSON-5488379
org.json:json:  20180130 -> 20231013
Yes
Proof of Concept

696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Allocation of Resources Without Limits or Throttling SNYK-JAVA-ORGJSON-5962464
org.json:json:  20180130 -> 20231013
Yes
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
🦉 Directory Traversal
🦉 XML External Entity (XXE) Injection
🦉 More lessons are available in Snyk Learn

Checkmarx One – Scan Summary & Details – 0f8756ee-218d-46a4-9f97-482d4febe9ad
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2024-22243
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2024-22257
Maven-org.springframework.security:spring-security-core-5.0.7.RELEASE
Vulnerable Package

CVE-2024-22259
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package


ndis lwf sample file filteruser.h references NDIS_PARAMETER_TYPE, not defined for user mode apps.

For example: https://github.com/microsoft/Windows-driver-samples/blob/46db93c4c0542166457f5504010b402a9426ab1d/network/ndis/filter/filteruser.h#L71
A user mode app cannot be built successfully using the filteruser.h file, as it includes structures not defined by including ntddndis.h

Same here could not able to find EventWriteReadStart, EventWriteWriteStop, EventWriteFailAddDevice etc are missing, could not able to find their source code or related library. Google search comes empty...
So could not able to build following path samples, due to these functions.
D:\Windows-driver-samples-main\Windows-driver-samples-main\general\DCHU\osrfx2_DCHU_base\osrfx2_DCHU_base\bulkrwr.c (1 hit)
Line 76:     EventWriteReadStart(WdfIoQueueGetDevice(Queue), (ULONG)Length);
D:\Windows-driver-samples-main\Windows-driver-samples-main\usb\kmdf_fx2\driver\bulkrwr.c (1 hit)
Line 74:     EventWriteReadStart(&activity, WdfIoQueueGetDevice(Queue), (ULONG)Length);
D:\Windows-driver-samples-main\Windows-driver-samples-main\usb\umdf2_fx2\driver\bulkrwr.c (1 hit)
Line 73:     EventWriteReadStart(WdfIoQueueGetDevice(Queue), (ULONG)Length);


[Code completion] Teach code completion to use declarations for postf…

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

…ix completions.
Code completion had the ability to use declarations to provide better
code completion results for postfix completions, e.g., calls to
functions/methods, but it wasn't trying to get these declarations from
anywhere. Now, get these declarations from the solution to the
constraint system.
The impetus for this is to use default-argument information from the
declaration rather than the type, but plumbing this information
through also means that we get proper "rethrows" annotations, covered
by rdar://problem/21010193, and more specific completions in a
number of other places.
Fixes rdar://problem/21010193.

@swift-ci please test and merge


adding annotations

What this PR does / why we need it:
Adding an annotations block to use with auto discovery
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
integrating with sysdig requires an annotations block so sysdig can auto discovery and scrape of prometheus metrics expose by the stackdriver_exporter

/approve

/assign @prydonius

/lgtm

Please update the readme.

/ok-to-test

/assign

/lgtm


grpc async client: add hash_policy option

Signed-off-by: Kuat Yessenov<EMAIL_ADDRESS>(Follow up to https://github.com/envoyproxy/envoy/pull/8206)
Description: Propagate HTTP request/stream options to gRPC async client
Risk Level: low
Testing: unit
Docs Changes: none (internal refactor)
Release Notes: none

macos unit test timed out.


[Port Request] Fix for < > (non HTML) tags disappearing in WYSIWYG

This PR fixes #12931

PR from Main: #13267

Pull Request Test Coverage Report for Build 355109897

36 of 49 (73.47%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 39.559%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/contrib/notebook/browser/htmlMarkdownConverter.ts
36
49
73.47%

Totals

Change from base Build 354908673:
0.03%

Covered Lines:
20719

Relevant Lines:
48067

💛  - Coveralls


Added option to export style guide colors using Swift color literals.

Hi, @AdamSwinden! Thank you for the PR! I'll check it. Could you please attach an example of generated files?

I've updated the README to include an example and a description of the new option. Here's an example of the generated files:
//
//  UIColor+AppColors.swift
//  Oval - iOS
//
//  Generated by Zepcode on 09/02/2019.
//  Copyright © 2019 __MyCompanyName__. All rights reserved.
//

import UIKit

extension UIColor {

    static let electricBlue = #colorLiteral(red: 0, green: 0.337254902, blue: 1, alpha: 1)
}

I've combined the two custom initializer and color literals option into a single initializer style option that lets you pick between default, custom, and literal. The Swift generated is the exact same as before. I've also updated the README with the new option description.

Thank you, @AdamSwinden, looks great! I'll make a new release with your changes.


Postgresql having clause

Good day,
Is it possible to use "having" clause of Postgresql in squel?
Something like
squel.select().from('table', 't').left_join('table1, 't1', 't1.id = t1.id').field('t.name').field('count(t1.*)') group('t.name').having('count(t1.*) > ?', 15);
Do you plan to provide this feature?

Closing this as it's a duplicate of #86.


UserWarning: The operator 'aten::foreach_lerp.Scalar' is not currently supported on the DML backend

I encountered some issues while using the optimizers, and don't know how to resolve them.
Adam:
xxx\Lib\site-packages\torch\optim\adam.py:522: UserWarning: The operator 'aten::_foreach_lerp_.Scalar' is not currently supported on the DML backend and will fall back to run on the CPU. This may have performance implications. (Triggered internally at C:\__w\1\s\pytorch-directml-plugin\torch_directml\csrc\dml\dml_cpu_fallback.cpp:17.)   torch._foreach_lerp_(device_exp_avgs, device_grads, 1 - beta1)
SGD:
xxx\Lib\site-packages\torch\optim\sgd.py:360: UserWarning: The operator 'aten::_foreach_add_.List' is not currently supported on the DML backend and will fall back to run on the CPU. This may have performance implications. (Triggered internally at C:\__w\1\s\pytorch-directml-plugin\torch_directml\csrc\dml\dml_cpu_fallback.cpp:17.)   torch._foreach_add_(device_params, device_grads, alpha=-lr)

Are you using the latest torch-directml? It may be the problem.
try reverting to:
pip install torch-directml==0.2.0.dev230426

Yeah, I resolved this warning by downgrading torch-directml from version 0.2.2 to version 0.2.0.


WIP — Rewrite JS formatter

⚠ This is very incomplete work for now
Things left to do:

[ ] Source maps
[ ] Merge PrinterBis back into Printer
[ ] Better call arguments formatting
[ ] Lots of tests
[ ] Lots of formatting fixes

Let me know if you need any help. Happy to do things like rebasing with master etc if that helps too.

Excited for this! Thank you! :partying_face: :tada: