[BEAM-8811] Upgrade Beam pipeline diagrams in docs

R: @rosetn, @aaltay
CC: @davidyan74, @kennknowles, @pabloem
New wordcount pipeline diagram and new instructional diagrams in programming guide/"Design your pipeline" page.
The new diagrams represent:

PTransforms and PCollections are both as nodes in directed acyclic graphs.
PCollections functionally, as inputs and outputs for PTransforms.
The control flow with edges, rather than objects in the programming model.

For source control, the diagrams are SVGs, so you can download the images directly and modify them in graphics editor.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Staging links:
http://apache-beam-website-pull-requests.storage.googleapis.com/10200/get-started/wordcount-example/index.html
http://apache-beam-website-pull-requests.storage.googleapis.com/10200/documentation/programming-guide/index.html
http://apache-beam-website-pull-requests.storage.googleapis.com/10200/documentation/pipelines/design-your-pipeline/index.html

My bad if we cleared this during review, but an Aggregation is also a PTransform. The diagrams seem to imply that they're different. Maybe an 'Aggregating PTransform', or a 'Grouping PTransform', vs a 'per-element PTransform'.

My bad if we cleared this during review, but an Aggregation is also a PTransform. The diagrams seem to imply that they're different. Maybe an 'Aggregating PTransform', or a 'Grouping PTransform', vs a 'per-element PTransform'.

Good catch - thanks. I like "Aggregating PTransform" since it's also consistent with the language in the transform catalog. Will update the legends accordingly.

My bad if we cleared this during review, but an Aggregation is also a PTransform. The diagrams seem to imply that they're different. Maybe an 'Aggregating PTransform', or a 'Grouping PTransform', vs a 'per-element PTransform'.

Good catch - thanks. I like "Aggregating PTransform" since it's also consistent with the language in the transform catalog. Will update the legends accordingly.

Done.

Thanks Cyrus. It looks like http://apache-beam-website-pull-requests.storage.googleapis.com/10200/get-started/wordcount-example/index.html has a figure that needs updating.

Thanks Cyrus. It looks like http://apache-beam-website-pull-requests.storage.googleapis.com/10200/get-started/wordcount-example/index.html has a figure that needs updating.

Done.

Very cool having the SVG. RAT must be failing because the SVG files don't have the Apache license header. Other than that, LGTM.

Very cool having the SVG. RAT must be failing because the SVG files don't have the Apache license header. Other than that, LGTM.

Very cool having the SVG. RAT must be failing because the SVG files don't have the Apache license header. Other than that, LGTM.

Looks like it. Should be fixed now but I'll keep tabs on it in case this next build fails.

LGTM.
@rosetn - Could you review this please?

These diagrams are great! They'll definitely help users grasp concepts more easily. I have a few overall recommendations to improve these figures:

Add an alt attribute to each of the images for accessibility purposes
Resize the figures so that on a given page, the font on the figures are the same size. e.g. the sizing on "Figure: A linear pipeline with three sequential transforms." looks appropriate, but you'll need to resize the figure below it

I resized all of the figures that were bigger than the "linear pipeline with three sequential transforms" one.
What do you think we should do about figures that are smaller, like the wordcount example diagram? If I scale these diagrams up, then they're too long to fit on the page. I was thinking of leaving them in the smaller size, but I could also re-draw them vertically so that we could increase the size of the font/diagram components without overflowing.
It wouldn't take too long to re-draw the diagrams vertically, but one drawback of long, vertical diagrams is they'd take up a lot of space. Although maybe there's a way to wrap the text around the diagram so that it fits neatly in the page...

Your changes look good!
A wrapped flowchart might be a good compromise on web page space and text size readability here.
The longer figures can be split up, maintaining the left to right reading pattern e.g. https://wcs.smartdraw.com/flowchart/img/wrap-flowchart.jpg. Or you can do the same thing vertically e.g. https://www.researchgate.net/figure/s-a-flowchart-for-wrapping-process-that-has-been-clearly-done-after-the-host-and-the_fig5_320295347

Your changes look good!
A wrapped flowchart might be a good compromise on web page space and text size readability here.
The longer figures can be split up, maintaining the left to right reading pattern e.g. https://wcs.smartdraw.com/flowchart/img/wrap-flowchart.jpg. Or you can do the same thing vertically e.g. https://www.researchgate.net/figure/s-a-flowchart-for-wrapping-process-that-has-been-clearly-done-after-the-host-and-the_fig5_320295347

Done.


Use external links in readme for pypi

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.745%

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
649

Relevant Lines:
685

💛  - Coveralls


[BUG] Deleting a GameObject with skeleton makes engine crash

Describe the bug
When a GameObject that contians a skeleton is deleted the engine crashes.
To Reproduce
Steps to reproduce the behavior:

Load a GameObject with a skeleton, like Player.
Delete it.

Expected behavior
Not crashing.

This is not happening anymore, not sure where it was fixed.


Use best fit GMM with tests of > 1 component

Currently the dependent decoder assumes a single component in the GMM. Ideally, we take a Bayesian approach and test a number of components for fitting and use the best fit to proceed.
Write into the code a GMM test that looks at the AIC or BIC or some similar metric of multiple GMMs tested, then chooses the best fit to pull out the probability for decoding.

Testing completed and a single component GMM is the best option.


Anyone can open the chest and take items out

Title. The chest just opens right up and you can take the stuff

Other plugins like Latch can do this and I don'twant to write another latch.
If there are more requests, I'll consider this.

Title. The chest just opens right up and you can take the stuff

You can enable the GP or Latch "auto lock on placement" feature.

does latch play nicely with griefprevention?


Fix following issues in the diagram

Purpose

Fix Project Overview not revealing when tree view item is clicked
Fix issues in wait return matching

Fix issue where wait expressions declared with tuples not getting synced
Fix issue with the default worker init height is ignored

Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #18648 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master   #18648      +/-   ##
==========================================
- Coverage   15.15%    15.1%   -0.05%
==========================================
  Files          48       48
  Lines        1254     1258       +4
  Branches      197      198       +1
==========================================
  Hits          190      190
- Misses       1050     1054       +4
  Partials       14       14

Impacted Files
Coverage Δ

tool-plugins/vscode/src/overview/activator.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Linear regression example in rust.

Hello,
I am having trouble understanding how to set up the logp function for my use case, specifically the gradient term. I have managed to implement my model using emcee, as this doesn't require a gradient term but I would really like to use NUTS directly from rust!
A slightly more involved example, along the lines of this would be very helpful to understand how to fit a model (including priors) to data, from which I can extrapolate into my own use case.
Thank you for your work on this excellent crate.

Any reason you can't use PyMC?

Just using pymc is the easiest way to do this for sure.
But if you really want to do it in rust (depending on the problem you might indeed get better performance that way), you can, but will have to derive the gradient yourself, because I don't think there is a well established autodiff library in rust at the moment.
If you already worked out the logp function for your model, you only have to compute that in the logp function of the CpuLogpFunction trait, and write its gradient into grad.
If you are stuck somewhere, can you be more specific as to where exactly?
If you end up writing an example, I'd love a PR for it! :-)

@twiecki Having recently started to code in rust, I have really enjoyed the experience and want to see how far I can take my work using it, but perhaps this is a bridge too far at the moment.
I have used PyMC(3) previously but I ran into some issues with control flow when defining my model that I wasn't able to solve. For context, I am calculating the gravity signal due to spheres, cuboids, polyhedra etc. which tend to require looping over faces and edges. This led me to switch to numpyro, which allowed me to use control flow via jax, which I found to be a bit more intuitive. I will invest some time into updating my code to the latest version of PyMC, especially as it now has a plethora of backends available. Are there any tutorials that you know of for dealing with control flow in the definition of a PyMC model? If so, that would be a big help.
@aseyboldt The main sticking point was conceptualizing what exactly the gradient is that I should assign in the CpuLogpFunction. Is it correct that it is the partial differential of the log posterior with respect to each model parameter?
I have done some searching and I think you are correct that there isn't a stable/settled upon auto-diff library in rust just yet, this seems like it could be a possibility.
Thank you both for your quick replies. Much appreciated.

You can also just use JAX in your PyMC model definition if that helps. Otherwise it's the scan route which is pretty confusing indeed and tends to be slow, although current work tries to fix that.

Is it correct that it is the partial differential of the log posterior with respect to each model parameter?
Yes, that's it :-)

The library you mentioned won't work too well though. It only supports forward mode autodiff, which is a pretty bad fit when you want to compute gradients. We'd really like to have backward mode autodiff.

Piggybacking on this issue to request an example with parameter transforms like the logit.
Also, wrt autodiff, there's an ongoing project to integrate Enzyme AD into rustc.
And thanks for the awesome crate!

Even right now we could use dfdx, candle burn or tch-rs.
I have to admit that using this from rust isn't really my main motivation, but an example with any of those would be great.
I'd also be quite curios how easy it is to beat jax on the gpu. Implementing the Math trait should allow us to avoid copies between the GPU and main memory for instance.
I don't think I'll have time to do this before I release the Fisher HMC addition in nutpie though, but if someone beats me to it, I'd happily merge an example. :-)


Possible JavaScript projects for contributions

Open source projects with JavaScript components:

PyScript

Invitation for contributions

Jupyter
Jupyter Book
MathJax
d3js
bokeh
katex
overleaf

Other projects recommended by Deyan Ginev, but perhaps less well known:

mathcat
mathlive
mathquill
Algebrite
speech-rule-engine
writegood
resume-cli
tikzcd-editor
fiduswriter
lens

Specific Issues/stalled PRs singled out by project devs as being JavaScript focused contributions:

https://github.com/matplotlib/mpl-brochure-site/pull/17

c.f. 2023-01-03 Matplotlib New Contributors Meeting

cc @cranmer given our discussion today.


New issue template - provide contact details (optional)

Request users to provide their contact details when creating an issue. This will help us reach out to them, prioirtise the issue, and understand the problem better. This field can be made optional.

Just spoke with the devs about this issue. This is actually semi-intentional. By putting an email address field in the form we are implying that we will reach out to them via email which is not the case. We actually want them to continue the conversation in GitHub.
Now, in lieu of that, we do apply adopter labels issues so that we know the teams that have requested this. Through that, we have focals in the business that we can reach out to learn more about the given request.


Bump golang.org/x/crypto from 0.1.0 to 0.17.0

Describe the feature
Bump golang.org/x/crypto from 0.1.0 to 0.17.0

[!TIP]
Vote this issue reacting with :+1: or :-1:

Resolved by https://github.com/artemiscloud/activemq-artemis-operator/commit/e9cc2a514cb221efef7a6696758522bef88bb189


Changes to UI have affected usability

Some of the recent changes to the UI have slightly affected usability.
For instance in the startup screen, I now have to scroll past the roadmap links to get access to the chat. The "launch button" should always be the most prominent. Suggest splitting the screen in half, moving the launch button to the left and having the updates on the right.
Another thing I noticed is that the API keys are now buried down at the bottom of the UX tab. I find it a little confusing. Also not sure I would say the "Models" are logically part of "UX".

For instance in the startup screen, I now have to scroll past the roadmap links to get access to the chat. The "launch button" should always be the most prominent. Suggest splitting the screen in half, moving the launch button to the left and having the updates on the right.

Gread suggestions - applying.

Launch Screen (/news): Before | After.

Another thing I noticed is that the API keys are now buried down at the bottom of the UX tab. I find it a little confusing. Also not sure I would say the "Models" are logically part of "UX".

Agree - using the bottom of UX for "Shortcuts" (an explainer), moved LLM Setup to an uncollapsible first spot.


Add Resource Response Id to cloned activities when logging

Fixes #1101
Description
When sending an activity, a resource response id is returned from the service.  This PR adds that id to the activity being logged (if one is not present).
Testing
Added a unit test, and tested manually with a local bot.

Pull Request Test Coverage Report for Build 76003

11 of 11 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 88.266%

Totals

Change from base Build 75261:
-0.02%

Covered Lines:
3543

Relevant Lines:
3854

💛  - Coveralls

@cleemullins @benbrown, @stevenic can one of you chime in on this PR?
This PR a bug where the TranscriptLoggerMiddleware would blow up when trying to log the activity because of a missing activity.id.
The PR fixes this by logging cloned activities that have been updated with the resourceResponse.id.
The original behavior is to log the original outgoing activities which may or may not have an id provided by the user. This would blow up in FileTranscriptStore, but does not in AzureBlobTranscriptStore, which then uses "undefined" or "null" as the activity.id when constructing the blob.


Documentation : where are item types ?

Is your feature request related to a problem? Please describe.
The documentation is really thin. I cannot find good usage example.
Let's take the put_test_run method. The only example that I found is on the unit testing file :
https://github.com/jamasoftware-ps/py-jama-rest-client/blob/d03cb914b020d175fec6dd347434d28d8268c148/test/test_jamaClient.py#L159
Now I was wondering : from where do I get automatically the test run id (needed here) ? I would like to create a brand new test run for a test case ... how to do that ?
So I thought : maybe create an Item (a test run item ideally) ? So I went to the post_item unit test
https://github.com/jamasoftware-ps/py-jama-rest-client/blob/d03cb914b020d175fec6dd347434d28d8268c148/test/test_jamaClient.py#L283
But there is this item_type which seems to be an integer...and I cannot find the one who will allow me to create a new test run.
I looked for an enum or a dict or something that would enumerate all item types. But I was not able to find one like that.
Describe the solution you'd like
I would really like to have a more enhanced documentation with more example.
Describe alternatives you've considered
Currently the only alternative is to do what I did so far : kinda reverse engineering based on unit tests in te repo
Additional context
I a trying to send a test run for a specific test case

UPDATE :
I found the item type for a test run : 89035
But from the API I get this error :
json{"meta":{"status":"Bad Request","timestamp":"2023-03-28T08:08:21.246+0000","message":"You cannot create an item of item type 89035"}}
I sent this payload to the post_item method
{"project": 20697,
"itemType": 89035,
"childItemType": 89035,
"location": {"parent": {"item": 15580561}},
"fields": {"testRunSteps": [{"action": "some step", "expectedResult": "", "notes": "", "status": "PASS", "result": ""}], "testRunStatus": "FAIL"}}

What did I miss ?


Best way

Hi, I wanted to know which was the best way to:

create the italian translation
add the post code field to the Italian cities
Thanks.
Marco

@slamservice please consider upgrading to v1.1.15


save filetype from FileClassifier in the db

Description
Store the filetype into the db
Fixes # 70
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] bin/rails test

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Using FileClassifier for now. Let me know if we want a more custom way of identification.


apiv1 directory

I am new to API this means API version 1 is used in this repo?

I just figure this out  is on the todo section. Todo = "API authentication with JWT"

apiv1 means version 1. You can use versioning in the url/folder if you want, or you can use git branches for that.


Future Release: Orders Ops Fulfillment Refactor

This API update the documents the planned future release of the Orders Ops Fulfillment Refactor.
When the refactor is released, #179 (Prep Orders Ops Fulfillment Refactor) will migrate these files to the current API docs.  This will include building the request/response examples.
As you review the PR, I made some assumptions when I saw what I thought were discrepancies in the Orders Ops Fulfillment Refactor docs.

if an endpoint was defined like weight: "172 lbs" ... I defined it as weight: (decimal) not (string)
if an attribute was defined as just an object, I generally defined it as an array of object  [{attribute_name : (string) Attribute name, attribute_value : (decimal) Attribute value}]

If you want to review how the docs look, run bundle exec jekyll server at the command line ... which will open the docs on <IP_ADDRESS>:4000.  Then visit /future/ & /future_internal/
If these were incorrect assumptions, I'm happy to correct it.
Fixes #178

@nickcoleman those assumptions are probably backwards from their intention.  In your example of weigh, I put the string value field intentionally to show that it is not a decimal field and that it is in fact a string field.
If I did not indicate an array with the [] brackets, then it is not an array, but a single object.

Per conversation with Jeff, will leave the attributes as arrays.


[21.05] nixos/apple-sdk: 11.0 -> 11.1

The previous URL is a dead link. This commit updates it and bump the
SDK version to 11.1.
(cherry picked from commit 2565e3bba62d8d2f57a975c7ecce97d7c557dfa6)
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 132608 run on x86_64-darwin 1

This will is a stdenv rebuild of aarch64-darwin, but since we don't build staging for it let's just go with it.

Well, the complication with that argument is that once staging-next-21.05 merges, you'll have large rebuild on aarch64-darwin again.

... I guess at that point we'll just cancel the obsolete aarch64-darwin builds.  Those machines were otherwise idle now anyway, so no harm is done I think.


Adding return value of an SQLAlchemy Model instance method to response model

Apologies if this is a very basic question but I had a little trouble finding examples of this online, perhaps I'm searching for the wrong thing.
Question
Given a SQLAlchemy model with an instance method, how can I return the result of calling the method in the body of a response returning an instance of that model?
Example
from fastapi import FastAPI
from sqlalchemy import Column, Integer, String
from sqlalchemy.orm import relationship
from pydantic import BaseModel

from .database import Base

app = FastAPI()

class User(Base):
    __tablename__ = "users"

    id = Column(Integer, primary_key=True, index=True)
    first_name = Column(String)
    last_name = Column(String)

    def full_name(self):
        return f"{self.first_name} {self.last_name}"

class UserOut(BaseModel):
    full_name: str

@app.get("/")
def read_root(response_model=UserOut):
    user = # fetch user here
    return user

Description
The above example (not functional as it is) throws an error because the UserOut model expects full_name to be a property on the User model, not a method. Is there a way I could add the full_name instance method to the response_model so I can return the user's full name in the response body?
If I make full_name a property with the @property decorator then the example above works, but for my use case I'd prefer to have it as an instance method so it can accept arguments.
Thanks in advance for any advice offered.

I think you may be able to achieve this with?
class UserOut(BaseModel):
    full_name: str

    def __init__(self, first_name: str, last_name: str, **data: Optional[Mapping[Any, Any]]):
        super().__init__(full_name=f"{first_name} {last_name}", **data)

Hmm, if you want full_name to be a method that can accept arguments, then there wouldn't be an easy way to make Pydantic call it automatically, probably less with some arguments.
You probably need something that generates the data automatically as a @property, but if you need it to be called, then you probably have to call it manually and generate the data that you need manually, and then return that.

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


[HUDI-5980] Add tests to guard against repeated dag trigger using spark event listeners

Change Logs
as of now, we don't have a good way to guard repeated dag trigger. all of our existing tests only checks for data. but w/ reconcile strategy, the extra files will be removed if some dag was repeated. So, we might need to add more tests to catch them if incase someone changes the dag in future.
Impact
NA
Risk level (write none, low medium or high below)
low
Documentation Update
NA
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Please fix the PR description w/ proper details.


Stops response when driving by location

Units sometimes declare them self as on scene and will walk the rest to the caller.
It has to be an skipping due to reaching the time limit.

seemed to be a timeout error while in development. can't reproduce

maybe adding a teleport is also a solution if unit parked to far away

teleport seems not nessesary.
might reopen this issue in future


G-Data / BitDefender doesn't like oCIS

Describe the bug
On a Windows 10 computer with G-Data installed, I could not browse https://ocis.ocis-traefik.latest.owncloud.works/ because G-DATA blocked it because of "virus".
You can also reproduce this with virustotal.com:

(https://www.virustotal.com/gui/url/0ca693562689f8f56e6d4dbc5c904a18875b7bc6f4c2179ddab129b74aa6fc79)
Context
https://ocis.a11y.owncloud.works/ is also flagged as virus, while https://owncloud.a11y.owncloud.works/ is flagged as clean. Therefor it can't be about DNS or Traefik since both use the same.

https://ocis.ocis-traefik.latest.owncloud.works/ is still reported as malicious. Another installation on Kubernetes based on the oCIS Helm Chart with NGINX as ingress is reported as clean. So this might not directly related to oC Web, but to the domain / Traefik.


LocalInvariant lifetime check is wrong if body nonterminating

#[verifier::external_body]
tracked struct X { }

#[verifier::external_body]
proof fn no_dupes(tracked x: X, tracked y: X)
    ensures false
{
}

struct Pred { }
impl InvariantPredicate<(), X> for Pred {
    open spec fn inv(k: (), v: X) -> bool { true }
}

fn stuff(tracked inv: LocalInvariant<(), X, Pred>)
{
    open_local_invariant!(&inv => x1 => {
        let tracked x2 = inv.into_inner();
        proof {
            no_dupes(x1, x2);
            assert(false);
        }

        loop { }
    });
}

The theory here is supposed to be that the lifetime used in &inv is stretched to the end of the open_local_invariant block. The way this is supposed to work is apparent in the expansion of the macro:
let (guard, mut $iident) =
                $crate::invariant::open_atomic_invariant_begin($eexpr);
{ .. }
 $crate::invariant::open_invariant_end(guard, $iident);

By using guard at the open_invariant_end statement, we force the lifetime to extend all the way to the end of the invariant block.
... Except as the example shows, this doesn't work if the body is non-terminating, since then Rust MIR won't consider the open_invariant_end at all.
I don't believe this is a fundamental issue with nontermination - I think we just need to find a different way to force the lifetime to extend here.

We could also change the specification of into_inner so that it has to open the invariant.


[3.x] Rename BACK constant to BACKWARD in Vector3

3.x version of #67265.

We do not consider breaking changes for the 3.x branch, its API is stable and must remain so.


Fix xstream security issue CVE-2021-29505

https://x-stream.github.io/CVE-2021-29505.html

Codecov Report

Merging #13437 (7e84109) into master (9e3e9df) will decrease coverage by 26.30%.
The diff coverage is n/a.

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

alluxio-bot, merge this please


qt6.qtmultimedia: fix build on darwin

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Is this an upstream patch? Maybe we should submit it if not? Otherwise LGTM.

Is this an upstream patch? Maybe we should submit it if not? Otherwise LGTM.

Is this an upstream patch? Maybe we should submit it if not?

No. Qt 6 doesn't support macOS 11.

So wait, are we downgrading here? Maybe we should just require a newer macOS then?

We can't, macOS 11 SDK is already the most recent one in Nixpkgs.


decent-sampler: 1.9.4 -> 1.10.0

Description of changes

Updated from 1.9.4 to  1.10.0
https://www.decentsamples.com/decent-sampler-release-notes/
Added VST files
Closes https://github.com/NixOS/nixpkgs/issues/291270
Added icon and desktop file

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Can this be merged? Many thanks!


Copy blocks within page

I have researched a bit and found a link
https://github.com/facebook/draft-js/pull/1784

@iFlameing looks worth exploring further...

Implemented in #1567


How to exit HA-Bridge in a "clean" way?

Until now, we killed that java process, which results in an unclean shutdown:
root@xyz-0800270f2789:/# service habridge status
● habridge.service - HA-Bridge
   Loaded: loaded (/lib/systemd/system/habridge.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2019-07-30 10:36:39 CEST; 2s ago
  Process: 6438 ExecStart=/usr/bin/java -jar -Dconfig.file=/opt/habridge/data/habridge.config /opt/habridge/ha-bridge.jar (code=exited, status=143)
 Main PID: 6438 (code=exited, status=143)

Jul 30 10:36:36 xyz-0800270f2789 java[6438]: 2019-07-30 10:36:36,576 [main] INFO  com.bwssystems.HABridge.plugins.http.HttpClientPool - Shutting down client pool
Jul 30 10:36:36 xyz-0800270f2789 java[6438]: 2019-07-30 10:36:36,579 [main] INFO  com.bwssystems.HABridge.plugins.http.HttpClientPool - Client pool shut down
Jul 30 10:36:36 xyz-0800270f2789 java[6438]: 2019-07-30 10:36:36,590 [main] INFO  com.bwssystems.HABridge.plugins.http.HttpClientPool - Instantiated SSL components.
Jul 30 10:36:36 xyz-0800270f2789 java[6438]: 2019-07-30 10:36:36,592 [main] INFO  com.bwssystems.HABridge.plugins.http.HttpClientPool - Shutting down client pool
Jul 30 10:36:36 xyz-0800270f2789 java[6438]: 2019-07-30 10:36:36,593 [main] INFO  com.bwssystems.HABridge.plugins.http.HttpClientPool - Client pool shut down
Jul 30 10:36:36 xyz-0800270f2789 java[6438]: 2019-07-30 10:36:36,594 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge (v5.3.0RC8) exiting....
Jul 30 10:36:39 xyz-0800270f2789 systemd[1]: habridge.service: Main process exited, code=exited, status=143/n/a
Jul 30 10:36:39 xyz-0800270f2789 systemd[1]: Stopped HA-Bridge.
Jul 30 10:36:39 xyz-0800270f2789 systemd[1]: habridge.service: Unit entered failed state.
Jul 30 10:36:39 xyz-0800270f2789 systemd[1]: habridge.service: Failed with result 'exit-code'.

How to shut down the HA-Bridge properly?
Thx for feedback.

If you look at the log, it did shutdown clean. The ha-bridge has an interrupt hook to cleanly shutdown.
The following log message means it exited cleanly:
"Jul 30 10:36:36 xyz-0800270f2789 java[6438]: 2019-07-30 10:36:36,594 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge (v5.3.0RC8) exiting...."
You can also shut it down from the web gui as well.

Thank you for your fast feedback. So this is the usual way to shut it down, which results in a failed state at the end?

Ahh, got you now. Since you are running the new systemd control system, the command would be:
sudo systemctl stop habridge.service
Which will give you the clean shutdown.

Thank you very much!! :-)

Hi
When I use
sudo systemctl start habridge.service
The script runs then 20 seconds later stops the service.
Help!


added telecom-sudparis.org domain

Official english website: https://www.telecom-sudparis.eu/en/
Engineering curriculum: https://www.telecom-sudparis.eu/en/formation/engineering-curriculum/

@tictacmenthe I am sorry, the page at https://www.tm-alumni.eu/article/l-e-mail-a-vie-un-service-t-ma/02/01/2018/1627 says that this address is offered for the whole life. We restrict unlimited licensing for such addresses, because it provokes license misuse. Please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).
I have to close the request without merging.


⚠ Bofrost.at has degraded performance

In fb7c227, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1148 ms

Resolved: Bofrost.at performance has improved in db4c9be.


Green screen in Youtube videos (RDNA1)

Hi all,
I use the AMDVLK driver with the GFX1012 (RDNA1) graphics card in my home PC and I started seeing the following artifacts in Chrome when playing Youtube videos

I don't have any logs (yet) but I was wondering if anyone recognizes the issue.
Looks like something went wrong with color formats or compression. (More broadly speaking, I'm not sure if AMDVLK is at fault here, it could be something in the kernel driver or drm. I think I was using the same AMDVLK version previously and it worked just fine. Nonetheless, it does look GPU related, and without AMDVLK, the video works just fine)
My OS is Ubuntu 22.04 and I'm using the dev branch of the driver.

Could you help to provide more details info for this issue, like AMDVLK version, video URL?
All the videos are observed such issue on YouTube?

Thanks for the catch. We're working on it.


Power automate connects to Dataverse through API hub

Hi team,
I just wonder how the authentication works when power automate talks to Dataverse via API Hub (APIM).
Will the APIM do the caching stuff for tokens like Access Token and Refresh token?
I ask this question because for example a flow is using service principal to talk to Dataverse.
I find the flow still works with the existing connection even if the client secret is updated.
I assume this is due to something like caching stuff setup in APIM?
Regards
Randy
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: dfd0090a-e7a9-a172-9d3a-97ba84c828ea
Version Independent ID: dfd0090a-e7a9-a172-9d3a-97ba84c828ea
Content: Connecting and authenticating to data sources - Power Platform
Content Source: power-platform/admin/security/connect-data-sources.md
Service: power-platform
Sub-service: admin
GitHub Login: @lancedMicrosoft
Microsoft Alias: lanced

Thanks for your comment, @randolphnz. This issue has been assigned to the doc author for review.


Unable to write data to the transport connection: Broken pipe.

Created a discussion about this earlier as I figured it was something common enough that I've probably messed up on my end, but the issue has been bugging me for weeks now and I haven't been able to find the cause.
After observing it some more, at some point during the session there will appear an Unable to write data to the transport connection: Broken pipe. exception. I don't know what exactly happens client-side for this exception to trigger, but when it happens it seems to massively snowball until the server is unable to handle connections and disconnections and eventually becomes unresponsive.
I'd love to hear any ideas about tackling this, and please let me know if there's any relevant connection related code I can post that would make sense to look into. It's becoming a massive problem in my game and requiring constant attention from me.
Thanks!

Does the exception happen server side or client side?
Generally a "broken pipe" references a service that uses named pipes/handles, such as your database client.
Where does this exception get caught in your code? Does it trace back to some certain code within this library? Can you produce a small snippet of code that will reliably reproduce the issue?
Cheers
Joel

It will be very important to confirm that this exception actually comes from this library, and not from some other part of your code, such as a database client

@jchristn Thank you for the quick reply!
It happens server side. Here's the stacktrace it gave earlier (it was from an earlier version of WatsonTcp, hopefully makes no big difference):
Unable to write data to the transport connection: Broken pipe.:    at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at WatsonTcp.WatsonTcpServer.SendHeaders(ClientMetadata client, WatsonMessage msg) at WatsonTcp.WatsonTcpServer.SendInternal(ClientMetadata client, WatsonMessage msg, Int64 contentLength, Stream stream)
It gets picked up by the ExceptionEncountered event in WatsonTcp. I'm using .NET drivers for MongoDB and PlayFab's C# SDK, so I guess those could be the other possible culprits here, however I'm not able to catch any exceptions from the code thats in charge of talking with those services.
I haven't been able to reproduce the issue at all which makes this a bit difficult. My WatsonTCP server acts as the backend for a multiplayer game and there's usually a couple of hundred connected clients online. The issue starts arising usually a few hours into the session but sometimes longer. I haven't been able to see any patterns in it, it happens seemingly randomly.

Thanks, this is definitely coming from this library. This is the first time I've seen "broken pipe" which is usually used for named services. Does it happen only under heavy load?

It definitely seems to happen more often with more players in the game, but I'm not certain if it's due to heavier load the server is under or if it just has higher odds of happening with more players going in and out of the game.
It did happen more often when there was a lot of network traffic happening in a short amount of time. To lay out the full scenario, the server was running hourly events where the players could participate in, always at xx:00. This meant that hundreds of people were coming joining the events at once and a lot of network messages were being sent back and forth in a very short period of time. The broken pipe exception came up pretty often during those, but it didn't always lead to a "crash" like mentioned in the OP. I've since disabled those events and the broken pipe exception comes up less often, but it seems to eventually still creep up.

Is this running on a Windows or Linux machine?  Which runtime version are you using?

.NET Core 3.1, it's running on an Ubuntu droplet on Digital Ocean.

Would assume that it happens under heavy load. Server's currently holding 400+ players and weird things start happening. Lots of lag and connections seem to start getting mishandled.
try { 	_server.Send(client.AssociatedSessionGuid, objectString); } catch (Exception e) { 	Console.WriteLine("Exception sending data to client: " + e.Message); }
Is continously returning an Unable to find client exception among other weird stuff.

I'm still not sure what the root cause is, but when it happens it seems to basically clog the client connection attempts. The server takes a really long time to process the connections and sometimes it's able to process them all at once after a sizeable delay, but usually not.
Disconnects and other messaging between clients and the server work fine even in that state though, so already connected users aren't impacted at all and their disconnections are properly handled.

In the past 3 or so hours it has happened a few times but the server has been able to recover on its own and let connections through. This is what seems to happen:

After some time (highly varies, sometimes it starts happening 15 minutes after a server restart and sometimes 6 hours), players are no longer able to connect to the server. The server doesn't seem to be able to handle the connections at all or at least the ClientConnected event doesn't fire. There seems to sometimes be some Broken pipe exceptions before this happens, but I can't say for sure if that's directly what's causing the server to act this way.
When the server enters that stage, the Broken pipe exception gets printed out. A lot.
Sometimes after 5-10 or so minutes the server is unclogged and processes all the connections that were attempted during during the clog and everything seemingly returns to normal. Other times, the server doesn't unclog and connections don't go through until I restart the entire process.

This is one of those problems that is going to be impossible to diagnose at runtime.  We really need a simple set of code that reproduces the issue.  I don't  know how to proceed otherwise.

It's a tough one. I didn't run into the problem at all when playtesting the game for weeks and CCU was less than 100, but now in the 300-600 CCU range it's happening frequently. I have no idea how to reproduce it.
I could share with you the repository if you'd like to have a closer look. I don't really know how to take smaller pieces out of if as I'm not sure what might or might not be relevant. But I realize that's asking for a lot from your end!

First thing I would check is the CPU utilization, memory utilization, number of processes (and thread count). Anything that wraps TCP is going to be vulnerable to system/load conditions affecting their operation. In your case you could try scaling up the hardware to see if the errors don't occur as quickly (or if you're able to handle a larger number of connections as a result).
If you can produce code that simulates the load, I'd be happy to take a look at that specific code.

Restructured some things and started using Server.SendAsync instead of Server.Send and the issues appear a bit clearer now. It seems that there are 2 exceptions that lead to the Broken pipe and Cannot access a disposed object spam. More commonly it seems to be Connection timed out exception and more rarely No route to host.  I haven't enabled Keepalives by the way. After running into one of them, the server logs the Cannot access a disposed object exception hundreds of times. Now using the asynchronous methods it doesn't clog up the entire traffic anymore and the problem doesn't appear to cause as many issues (if any).
Still trying to come up with a way to reproduce the issue outside of production, will post the code here when/if I succeed.

Thanks for the update @teSill

Hi @teSill closing this, since the next release will guide everyone into the async APIs.  Please re-open if you disagree.


[Icon] Add new icon for Briefcase

Is your feature request related to a problem? Please describe.
Request from the designer:

I have already created a new icon Briefcase ,  cause that i found in library was too detailed for   left menu in Appstore. Can you please add second version to icon-library?

Describe the solution you'd like
Designer need to revied the icon draft and find a good name for this new icon.

PR https://github.com/semrush/intergalactic/pull/861 was merged.


Clean up /etc/hosts on ddev remove (remove unused hostnames)

Feature request:
Please add some automatic cleanup to remove unused hostnames from /etc/hosts.
When you use a lot of projects or test a lot, the /etc/hosts gets cluttered with all the hostnames.
It would be great if ddev remove --remove-data would also remove the hostname from /etc/hosts.
Or maybe you want to introduce another flag that triggers the removal of unused hostnames.

I definitely agree, thanks for bringing this up.

I suggest ddev hostname --clean-up.

I was poking around this issue last night and uncovered how the ddev hostname command is used internally to add hostnames, but doesn't provide support for removing hostnames, a prerequisite to cleaning up.  Considering the v0 status, how do we feel about adding some explicit subcommands to ddev hostname?

sudo ddev hostname add mysite.ddev.local <IP_ADDRESS>
sudo ddev hostname remove mysite.ddev.local <IP_ADDRESS>
sudo ddev hostname cleanup

As a user, an "add this hostname" command implies an equal and opposite "remove this hostname" command, but that doesn't currently exist.

I'm good with this general approach @andrewfrench . It's all the easier since we rarely suggest that people actually use the ddev hostname directly.

👍 ddev hostname is largely something that end-users shouldn't need to muck with directly despite the fact that we expose it, so that approach is fine by me.

It's trivial to hide:
https://github.com/spf13/cobra/blob/master/command.go#L74-L75
Might not be desirable though, as it looks like we're adding more functionality to it.

@beeradb Yeah, I'm not super concerned about hiding it. Similar to import-files, even if 99% of users never use it, it is there and our top level command list isn't so large to be unwieldy (yet). So I would say leaving it visible for now is fine.


The model?

Hi,
Nice repo. How to access and try the model?

Hi, here is the link to the model documentation, the models are available as pretrained model on Intel openvino.

Thanks. Do you know how to get the model and run them? Any samples?


OKTA SCIM 2.0 compliance test failed with OSIAM 3.0 and latest snapshot

I'm trying to integrate OSIAM with OKTA, so I ran the OKTA's SCIM 2.0 compliance tests (https://developer.okta.com/standards/SCIM/index#test-your-scim-server) first to check the compatibility. The above page contains a test spec file for Runscope (https://www.runscope.com). Please see the spec file for testing details.
I uploaded the spec to Runscope and ran it against a OSIAM server in an AWS EC2 instance. Only 4 out of 16 tests fully passed. Others either failed or the returned JSON body had missing/unexpected fields.
Tested with the latest snapshot (Aug 8, 2017).
I'm wondering if OSIAM team is aware of these issues and has a plan to fix them? Any advice is appreciated.
Here are the testing results:
1. Test ServiceProviderConfig endpoint
The response is good, but the JSON body has following errors:

body.authenticationSchemes[0].type — was empty — Unable to locate 0 property in path 'authenticationSchemes[0].type' in JSON.
body.authenticationSchemes[0].description — was empty — Unable to locate 0 property in path 'authenticationSchemes[0].description' in JSON.
body.bulk.maxOperations — was empty — Unable to locate maxOperations property in path 'bulk.maxOperations' in JSON.
body.bulk.maxPayloadSize — was empty — Unable to locate maxPayloadSize property in path 'bulk.maxPayloadSize' in JSON.

2. Check if ServiceProviderConfig is read-only
The response code is 200, but 405 is expected.
3. Check ResourceTypes endpoint
The response code is 404, but 200 is expected.
4. Check if ResourceTypes is read-only
The reponse code is 404, but 405 is expected.
5. Check Schemas endpoint
The response code is 404, but 200 is expected.
6. Check if Schemas is read-only
The response code is 404, but 200 is expected.
7. Test Users endpoint
The response is good, but the JSON body has following errors:

body.Resources[0].name.familyName — was empty — Unable to locate name property in path 'Resources[0].name.familyName' in JSON.
body.Resources[0].name.givenName — was empty — Unable to locate name property in path 'Resources[0].name.givenName' in JSON.
body.Resources[0].emails.value — 'None' didnot have the value '' — Unable to locate emails property in path 'Resources[0].emails.value' in JSON.

8. Get Users/{{id}}
The response is good, but the JSON body has following errors:

body.name.familyName — was empty — Unable to locate name property in path 'name.familyName' in JSON.
body.name.givenName — was empty — Unable to locate name property in path 'name.givenName' in JSON.
body.emails[0].value — was empty — Unable to locate emails property in path 'emails[0].value' in JSON.

12. Create Okta user with realisitic values
The response code is 500 instead of 201. This is an internal error.
16. Verify Groups endpoint
The response is good. but the JSON body has following error:
Resources is of type Array: expected false to be truthy

Oh my god, are we really scoring so badly? That's embarrassing.
But thank you very, very much, @bluestoat, for running these compliance checks against OSIAM. We really appreciate this and are very grateful.

I'm wondering if OSIAM team is aware of these issues

We are aware, that OSIAM is still not 100% compliant to the SCIM RFCs. That's mainly because we started OSIAM before the SCIM specs became final. But we'd never have thought that the situation is so bad.

and has a plan to fix them?

Of course, we will. Being fully SCIM compliant is one of our main goals. I think it would be a good idea to add the compliance test suite to our CI pipeline. We might come back to you, when we need help with this. I hope this is ok for you.
And thanks again from the whole team for letting uns know about this issues and making this effort to help us.


⚠ BCR Bot has degraded performance

In 18f567b, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1605 ms

Resolved: BCR Bot performance has improved in be81d86.


Add support for Output widget (requires special handling, seems jupyter notebooks and labs have special code to handle this particular widget) (2)

Add telemetry for interact function
Add telemetry for use of output widget
Add telemetry for use of ipywidgets (add in register comm target call)


Add text input to filter details tag key values

The details page calls the tag API to fetch tag keys and values for use with the group-by menu and toolbar tag filter. However, if there are too many tag key values returned by the tag API request, the UI may hang.

I did a count for tag keys in OSD’s data and they’ve got tags with 100,000 and 1 million values in them. They clearly picked some AWS auto generated tags to send in their cost and usage report, so those aren’t really user-generated tags, but they’re still there. -- Andrew

To help solve this issue, the tag API will limit the number of tag key values returned to 50 per tag key. If this limit is reached, we would like the toolbar filter to show a text input in place of the existing select component.
This will allow the user to enter their own tag key value, instead of inadvertently omitting all other values from the filter.
When there are less than 50 tag key values, the toolbar can continue to show the existing select component.
See https://github.com/project-koku/koku/pull/2069

verified


Content: CPU Scheduling Algorithm - FCFS

Description
Add the article for FCFS Scheduling algorithm. Use the following structure:

Introduction
Explanation
Algorithm
Code
Sample I/O
Complexity Analysis

Hey @HarshCasper would like to work on this


Remove new relic key from public repo

This removes your guys' New Relic licence key from the project.
I would go as far as to consider removing entire New Relic folder from the project - this shouldn't be part of the project, at most it's dependency. I am also using New Relic, but have installed it in a separate folder and am injecting the directory in the run script.

Thanks, @MatejBalantic! This was forgotten when we first open sourced mamute, good catch!
I think it makes sense to remove this whole directory from mamute, what do you think @leocwolter?


Developing the Rainfall and River depth interface

This interface should be able to display Rainfall against River depth

How are we going to do this? Given we do not collect rainfall data where we collect river depth.

Discussed this with Hans and we agreed it will be too problematic since the data is not collected together (Rainfall and river depth data)


User is not directed back to Product Opener after verifying their email address

After clicking the link the user is directed to their account page.
This is not the case for the "forget password" option where the email link redirects back to Product Opener after the user has changed their password.

Which entrypoint is causing the issue? The "sign in" button works fine for me:

OK, I was able to reproduce it. The basic problem is that we can't pass the locale into the account screen - it has to use the locale stored against the user. However, if the user doesn't change the locale in Keycloak then no value is stored, so the scenario to re-create the problem is:

Launch the Keycloak login process passing a locale in ui_locales=... (e.g. xx)
Register a new user and verify the email
Launch the account page from the app - the browser's default locale will be used

Fixed now with a test.


Ping build kafka

fixng the replace fu, w/ the correct registry

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-v0.22.0@6ab01c1). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             release-v0.22.0     #145   +/-   ##
==================================================
  Coverage                   ?   73.41%
==================================================
  Files                      ?      146
  Lines                      ?     5741
  Branches                   ?        0
==================================================
  Hits                       ?     4215
  Misses                     ?     1281
  Partials                   ?      245

Continue to review full report at Codecov.

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

@lberk  I think we need at least one successful build, to get the images to the registry.
Also, I noticed that the replace was still wrong, and had the old registry in - looks like I forgot that, on kafka ... :thinking:

/lgtm


Update AWS SDK

Update AWS SDK v3 nuget packages to latest minor versions

Looks good, the appveyor build died, are you should be able to rebuild this commit from the appveyor front end

"Failed ... in 1 hr" yikes. I will try again. It really should be a breaking change as it's all minor versions.


Feature feedback on post error

This PR addresses https://github.com/theodi/csvlint/issues/200
It halts the validation 'spinner' once a ajax failing response is returned to the jQuery request and displays a warning message

Do not merge

Right. I've got access to a test Travis instance and I've added some logging to the middleware like so:
  def self.mock(path, status, headers = {}, body = "")
    puts "MOCKING PATH = #{path}, STATUS = #{status}"
    @@mocks ||= {}
    @@mocks[path] = [status, headers, body]
    puts @@mocks # Log the mocks
  end

... snip ..

  def call(env)
    puts @@mocks # log the mocks again
    @@mocks.each_pair do |path, response|
      if env["PATH_INFO"] =~ /#{path}/
        puts "MOCKING #{path}"
        return response
      end
    end
    puts "NOPE #{env["PATH_INFO"]}"
    @app.call(env)
  end

And here's what I see:
    Given I go to the homepage                                                                          # features/step_definitions/web_steps.rb:1
    And I attach the file "csvs/valid.csv" to the "file" field                                          # features/step_definitions/web_steps.rb:27
MOCKING PATH = /package, STATUS = 413
{"/package"=>[413, {}, ""]}
    And the data exceeds the amount the proxy can handle                                                # features/step_definitions/fixture_steps.rb:51
    When I press "Validate"                                                                             # features/step_definitions/web_steps.rb:23
    Then I should see "The request couldn't complete"                                                   # features/step_definitions/web_steps.rb:33
{}
NOPE /package.json

So, it seems like the mock gets set up OK, but the middleware state doesn't hang around

Ah ha. Also, adding logging to the reset:
  def self.reset
    puts "RESETTING"
    @@mocks = {}
  end

I see that the mock is getting reset BEFORE the last step:
    When I press "Validate"                                                                             # features/step_definitions/web_steps.rb:23
    Then I should see "The request couldn't complete"                                                   # features/step_definitions/web_steps.rb:33
RESETTING
{}
NOPE /package.json

Wut?

@pezholio I was going to bring this up to date with master in an attempt to get it merged again, but there are a couple of conflicts around the javascript uploader, which I thought it might be best to get you to resolve. Can you take a look and bring it up to speed? Ta :)


AbstractText label for editorial note

Fixes https://github.com/elifesciences/elife-pubmed-feed/issues/73
Switching to always use a PubMed <AbstractText> tag for paragraphs of the abstract. If the configuration file value matches what is in the <bold> tag in JATS for that paragraph, then the label attribute of the <AbstractText> tag will be set in the pubmed deposit file.

A small change with some good test coverage, I will merge this PR. I want to do some linting next.


Activation notification

In the demo today, @chrislema pointed out that it's important that we give the user next steps after activating the plugin. This PR introduces a welcome message that will display for each user once after the plugin has been activated, linking them directly to the "Airstory Configuration" portion of their user profile. Fixes #14.
Before this can be reviewed, however, #18 and #19 need to be approved and merged, as this PR has dependencies on those branches for the Airstory settings API.

@norcross Now that #18 and #19 are good to go, we're safe to move onto #20.


Re-write README

I saw some areas that could be improved in README.md.
( Also includes changes I suggested in #15 )

@ashmaroli  Thanks for this! Super helpful.

You're welcome. M glad that this finally got merged!! :tada: :beers:


Published files not viewable on data site if user isn't a part of project

The logic for permissions needs to be updated to allow published files to be viewable by users who aren't on the project. Right now the public data site doesn't allow external users to view the files.

The permissions code has been updated but has not been tested.

Verified that files in published datasets are viewable.


Roll Flutter Engine from e7d7edab98ad to 02cb78905ac0 (11 revisions)

https://github.com/flutter/engine/compare/e7d7edab98ad...02cb78905ac0
2022-11-08<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from sa5bVGimNo3JwLV27... to d4l6A1aPw6Z0YjxmA... (flutter/engine#37432)
2022-11-08<EMAIL_ADDRESS>Revert "Roll Skia from 0c8127b3dd7d to 8b19fb0f57d4 (1 revision) (#37409)" (flutter/engine#37430)
2022-11-08<EMAIL_ADDRESS>Pass the correct name for gclient variables in ci.yaml (flutter/engine#37429)
2022-11-08<EMAIL_ADDRESS>Roll Skia from 0c8127b3dd7d to 8b19fb0f57d4 (1 revision) (flutter/engine#37409)
2022-11-08<EMAIL_ADDRESS>Update display_list_image_filter_unittests to be permit Skia roll (flutter/engine#37327)
2022-11-08<EMAIL_ADDRESS>Add test for image readback (flutter/engine#37401)
2022-11-08<EMAIL_ADDRESS>Adding release_build:true property to windows builders. (flutter/engine#37397)
2022-11-08<EMAIL_ADDRESS>Fix boolean json property. (flutter/engine#37403)
2022-11-08<EMAIL_ADDRESS>Roll Skia from aef6d301c0b5 to 0c8127b3dd7d (6 revisions) (flutter/engine#37402)
2022-11-07<EMAIL_ADDRESS>Roll Dart SDK from d97d5ad98893 to b22b36c0f52e (1 revision) (flutter/engine#37400)
2022-11-07<EMAIL_ADDRESS>clang-tidy: added the ability to shard jobs (flutter/engine#37265)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from sa5bVGimNo3J to d4l6A1aPw6Z0
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Question: How can I share textures, meshes and other important assets b/w multiple instances of a GLB loaded from UnityGLTF

Hi @pfcDorn @hybridherbst
This one is rather a question. My use case now is to spawn multiple instances of same GLB in a scene. I'm using .Load() from GLTFComponent.cs in multiple game objects. It seems like they're having spikes every time I call .Load() because of the fact that all the assets including textures, meshes are loading multiple times instead of using same assets.
Is there a way to accomplish this situation where they can share important assets instead of creating new ones? Thankyou

I've tried this code and I think you're talking about same thing right? This one is insanely good. I can change materials colors and new Instanced Material will be created. Otherwise I don't need to change meshes and textures at runtime. PERFECT for my usecase..... Thanks MAN!!!!

I think you can find all Renderers on the loaded object (before the first instantiate call), get all sharedMaterials, and enable material.enableInstancing.
GLTFSceneImporter does have an option to enable it as well but I'm not sure if that is exposed for runtime import (cc @pfcDorn)

Great! And what about destroying the object....
Is it ??
Destroy() == Delete object
DestroyImmediate(object, true) == Delete object with resources

Can I replace DestroyImmediate() with something similar to Destroy() ?

usually it's
if (Application.isPlaying)
   Destroy(target);
else
   DestroyImmediate(target);

I found this utility on LastLoadedScene. This MonoBehaviour is attached to the top most scene and is doing everything I needed without using custom Instantiate() calls and I can do Destroy() calls here.

One thing I noticed that using this above method, there is a memory leak of animation clips as shown in the code below. I suppose that GLTFComponent.cs has reference of these AnimationClips that might be the reason. Even DestroyImmediate(object, true) was also not able to delete those clips and memory profilers shows them as leaked objects.
If I use Destroy(gameObject) which is the current game object with GLTFComponent.cs script then it was able to delete everything including those clips.

cc @pfcDorn can you look at the leak so that we can close this issue?

The Animation Clip issue will be fixed with 48355bb91649026dbd5c91f15908051edbb0d14a :)
Thanks for testing!


Update v2ray and hysteria versions

update v2ray version for security, ~update hysteria along the way~
I guess I failed at updating Hysteria for the build, and it fails with 1.1.0... so let's just do the security fixes for v2ray for now, one of us can look at updating Hysteria to the latest soon

I reverted the Hysteria change, so I think this is ready to go

yeah, looks ok and rc worked when i tested it. :+1:


patch getbuild to fix tce-load rsync on boot2docker 1.7

Pretty ugly fix for #52 but it's a starting point for a discussion. :dancer:

@leemhenson This does not work for me:
2015-06-23 09:46:44 [INFO] Installing rsync in the Boot2Docker image
Boot2Docker version 1.7.0, build master : 7960f90 - Thu Jun 18 18:31:45 UTC 2015
Docker version 1.7.0, build 0baf609
rsync.tcz.dep OK
Downloading: popt.tcz
Connecting to repo.tinycorelinux.net (<IP_ADDRESS>:80)
popt.tcz             100% |*******************************| 28672   0:00:00 ETA
popt.tcz: OK
Downloading: rsync.tcz
Connecting to repo.tinycorelinux.net (<IP_ADDRESS>:80)
rsync.tcz            100% |*******************************|   180k  0:00:00 ETA
rsync.tcz: OK
error in run: exit status 1

Yeah I just saw that. For some reason tce-load returns 1 despite succeeding? I guess we could swallow the exit code?

yeah rsync seems to be silently hanging for me too. abort mission!

@leemhenson I haven't tried this yet, but https://github.com/boot2docker/boot2docker/issues/936#issuecomment-114675231.


sort message order

messages weren't sorted when i tried this tool.. maybe something in the slack api changed
also, using python3 created misnamed directories which caused slack-export-viewer to fail, so I added a note to the readme about using python2

spacing error


Allow redirect of IO for PIP

Looking at PyPackage.Manager.Pip.pas and cross-referencing with PythonEnvironments' PyTools.ExecCmd.pas there are methods defined to capture IO but these are unused as everything calls the Run(AOutput) version
It seems desirable to use the capture if a (unimplemented) PIP/Conda IO event were available. This would possibly allow the use of the Progress option to monitor what the install was doing. This would be especially useful for very large packages (e.g. Torch-GPU takes 4 mins to download with no way to inform the user what's going on)

@peardox it was in our plans to make it available on events. What do you have in mind?

From looking at what PIP does it shows a progress bar when installing a new module.
This is displayed on one line being overwritten periodically looking like this...
Using pip 22.1.2 from

C:\Users\simon\AppData\Local\Programs\Python\Python39\lib\site-packages\pip (python 3.9)
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
Collecting torch
Downloading https://download.pytorch.org/whl/cu116/torch-1.12.0%2Bcu116-cp39-cp39-win_amd64.whl (2388.0 MB)
-- ------------------------------------- 0.2/2.4 GB 6.6 MB/s eta 0:05:36

The very last line is the interesting one as it changes showing the progress of the download.  Try it yourself with this...

pip install -v torch --extra-index-url https://download.pytorch.org/whl/cu116

Yoiu might need to "pip uninstall torch" and possibly "pip cache purge" to get a proper idea of the issue.
What I'm hoping is that the last line can be parsed to return some useful info on install progress in the 5 mins 36 secs mine says it's taking. This could then be used to drive a Delphi progress bar etc.
While I'm using an extreme example here this also applies to smaller packages - it just isn't quite as bad as this case...
A lot of ML Python  stuff relies on large  quantities of data - I mean CoCo 2017 (117k training images) is 18Gb for example. Those I can handle as it's just files from the Internet but PIP has no mechanism for developer-friendly progress information.


[question] Understanding "GenerateOrdering"

What is the purpose of GenerateOrdering with "(SELECT 1)"
It seems to simply generate unneccessary SQL ORDER BY statement - if it is required, would
"ORDER BY 1" work? (I have issues with an engine that only supports ordering on columns)
Further technical details
EF Core version: 2.1
Database Provider: any
Operating system:
IDE: (e.g. Visual Studio 2017 15.4)

Hello @ErikEJ,
The 1 would be the ordinal numeral of the select, so I observed this instruction will only be printed when there is a constant.
Example: select 'x' from bar order by 1 desc.
it's just a guess, it makes sense to you!

I am not sure that (SELECT 1) refers to the first column in the SELECT list, but I am well aware that 1 does - that is the reason for my question - why not just use "1" iso (SELECT 1) ?

Yes, I understood, I looked for information on why and did not find it, I really believe that we could use only "1" instead of "(SELECT 1)", since this is no longer an expression and becomes a sub-query, looking at some tests I realize that does not make much sense!
For Exemple:
https://github.com/aspnet/EntityFrameworkCore/blob/dev/test/EFCore.SqlServer.FunctionalTests/Query/GearsOfWarQuerySqlServerTest.cs#L6290-L6301

@smitpatel to respond.

Order by 1 indicates that ordering should be done on first column in projection. (same for other numbers). Same is true for parameters too (using their values). Hence if linq has OrderBy(e => 42) we cannot generate Order By 42 in SQL since it would be incorrect.
We cannot ignore Order By fully either. If SelectExpression has Limit/Offset then there must be an Order by clause else its invalid SQL. So we need a "cookie". Order By (Select 1) is same as ordering by a constant in linq.
Further, side effect of current implementation, by the time we realize that ordering is by a constant value and it may not be needed (not skip/take), we have already printed ORDER BY  in SQL so we have print the cookie 😉

@smitpatel any suggestions for workarounds for an engine that only supports ORDER BY a column?

@ErikEJ - What do you intend to do if the ordering is by non-column? This part is just SQL printing. If you need to cause a client eval then better place is in provider specific QueryModelVisitor VisitOrderByClause method.

Thanks!


MET-455 - Update docs for the new metering-sidecar configuration for fetching usertype/email

This could be merged only after cf-mendix-buildpack released on Sept 9th.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@rus-kh
Hi Ruslan,
I propose the following release note in https://docs.mendix.com/releasenotes/developer-portal/mendix-cloud

We added a new custom environment variable USAGE_METRICS_EMAIL_FIELDS which allows you to identify which entities are used to hold your end user details.

@rus-kh
Hi Ruslan,
I propose the following release note in https://docs.mendix.com/releasenotes/developer-portal/mendix-cloud

We added a new custom environment variable USAGE_METRICS_EMAIL_FIELDS which allows you to identify which entities are used to hold your end user details.

@MarkvanMents, looks good!

Metering sidecar was released, so this updates could be published now.


df_result_data_store on server side

Right now df_result_data_store is cached in a normal dcc.Store element, meaning in the clients browser. To cache it on the server I introduced the ServersideOutput Store element for the previous result_data_store. Right now I think it makes sense to also save the df_result_data_store in a ServersideOutput class to allow for redis storage. What do you think?

Agree!
I used normal dcc.Store elements for no speacial reason.

Resolved by Pullrequest #37


/simulator/submodules/kubernetes was Removed.

This problem was caused by #193.
Before #193
https://github.com/sanposhiho/kube-scheduler-simulator/tree/a3dd22af5997b2eb2d2a69e3bed5f604e25611c3/submodules
After #193
https://github.com/sanposhiho/kube-scheduler-simulator/tree/e3662ec00dfe1c661ce2fd69eaeece732a4e3ccf/simulator/submodules
/kind bug
/priority important-soon
/assign @sanposhiho

Nice catch. will fixed by #202


Add a (Listener)FilterStatus::Error?

I find we might miss a return value of ListenerFilter::onAccept(ListenerFilterCallbacks& cb)
See the return type below.
enum class FilterStatus {
  // Continue to further filters.
  Continue,
  // Stop executing further filters.
  StopIteration
};

So it's impossible to express that onAccept find an error.
Currently if a listener filter wants to report an error, it must

return StopIteration at onAccept
register an event
the callback of the above event call cb.continueFilterChain

The drawback of this detour is that we have to report that error at the second event cycle.
What's worse, as long as it potentially report error, we have to wait another event cycle. See https://github.com/envoyproxy/envoy/blob/b3c130679fc735696a9c5bd861caf663da73d6cf/source/extensions/filters/listener/tls_inspector/tls_inspector.cc#L71-L92
I am proposing
add a FilterStatus::Error
allow onAccept return it, and handle this value in ActiveSocket::continueFilterChain
Alternatively, since the FilterStatus type is also used by NetworkFilter, we can let onAccept return a new ListenerFilterStatus and only add Error here.
The benefits: we can save one epoll cycle on tls_inspector and http_inspector each, every time a connection is connected on listener which owns such filter.
@lizan @PiotrSikora  thoughts?

@silentdai wondering in what case you want to return an error without reading anything in onAccept from tls_inspector or http_inspector?

I'm also confused. If there is an error don't you want to close the connection?

@lizan The idea is if onAccept is allowed to return error, onAccept can read, instead of schedule another callback using the file event.
So another way to ask the question: why cannot onAccept inline the read()?

@silentdai can you succinctly explain what you are actually trying to accomplish? Thanks.

I'm also confused. If there is an error don't you want to close the connection?

Not sure if there is such error. I didn't find an example to close connection in a listener filter. The existing code use  cb_->continueFilterChain(success /* could be false */) to report the error. And let the ActiveSocket to close the connection

@mattklein123 Sorry for the unclear.
My goal is to to allow onAccept inline the read()/recv()/peek() in listener filter.
Since the read/recv/peek may lead to error, I am proposing the solution to allow onAccept return a value named Error.

Question, take tls_inspector for example

do you agree that read at the onAccept would reduce the latency?
Return error at onAccept and let the caller ActiveSocket do the clean up, or close the connection directly in tls_inspector? IMHO I think the former can avoid the connection close spread every where

OK I see. For better or worse the pattern we have used elsewhere is to just have the filter close the socket/connection and then detect that in the connection handler and deal with it properly. IMO we could do that pretty easily without any API changes but will defer to @lizan and @PiotrSikora


Quick Action - Copy to Clipboard

Design Spec
Copy the contents of a message. Users must tap the copy action. A toast alert will display letting the user know that the action was successful.

CopyMessage component created and styled. Pending changes to implement functionality.


Add more logging

Let's see what happens on Kafka! Let's look a bit closer for the PoC purposes.

Travis: pylama warning is unrelated.


Add mothership plugin

See also: https://github.com/kyma-incubator/reconciler/issues/268

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[mergify] Update match string for labeling backported PRs

More in the quest to make the backport flow work again. The body of backport PR messages got changed in Mergifyio/mergify-engine#768, so I updated the match string to work again.
This fixes the cause of #1438 not getting the "Backport" label.

If we merge this, the label action should trigger on #1438, which should trigger the no-review merge action.


Idea: compiling with include files

I got many files starting like this.
include ../mixins/blade-mixins
include ../mixins/menu-mixins
include ../mixins/more-mixins

// code

I've been thinking, it would be cool, if you would not need to include the mixin-files in every jade file.
So, it would be cool if you would not need them in the files, just tell the compiler in the options, which files  it has to include.
With that feature, you could in future configure a gulpfile.js, define all include files there, and you will have global include files and don't need them having in the jade files anymore.
And - you could include mixins from a Github repository or NPM or Bower module.

you could also use gulp to prepend the string "include ../mixins/blade-mixins" before the compilation task.
also I thought you include recursively (but did not try) so you could include ../mixins/all and in all include all the other files.

Ok, thanks, I will try that, then this is not really necessary, just too much work.

I wrote a Gulp plugin that does exactly this! (and can path them to your node_modules or whatever other directory you'd like)
https://github.com/tomlagier/gulp-jade-modules

great :+1:

Will Pug add the relative path feature so that when compiling different *.pug files, the relative paths inside will automatically updated?
http://stackoverflow.com/questions/35583911/how-to-write-the-gulp-file-when-compiling-jade-files-and-wanting-to-keep-the-rel


feat(ngCookies): Additional parameters for $cookies service (domain, expires, secure)

This PR allows setting additional parameters on cookies created by $cookieStore. The changes are only on $browser to avoid major changes.
It seems to me the cookie logic could be somehow moved to $cookies, but I will leave that to someone else.
The expires parameter can be specified as integer seconds or as a Date object.
The parameters are set as follows:
angular.extend($browser.cookieOptions, {
  path: '/',
  domain: '.example.com',
  expires: 3600
});

Closes #590, and is an alternative PR to #2459

This PR is no longer valid given 92c366d205da36ec26502aded23db71a6473dad7


att_masks

Sorry to disturb you, What does att_masks means?

Because each image have different number of att features


Indeterminate ProgressBar plays animations while Visibility is Collapsed

Describe the bug
The WinUI ProgressBar plays its Indeterminate animation continuously while its Visibility is Collapsed. This incurs an unnecessary performance load on DWM.exe while the animation is not in use from the user's perspective.
Note that the WUXC ProgressBar had a similar bug in Win 8, which was fixed. The MUXC ProgressBar does not appear to similarly monitor and factor in its Visibility when updating VisualStates, so it regressed relative to recent versions of WUXC ProgressBar.
I believe the workaround is similar to that of the Win 8 WUXC ProgressBar. When collapsing the MUXC ProgressBar, also set IsIndeterminate="False".
Steps to reproduce the bug
This snippet reproduces the continuous animation:
<muxc:ProgressBar
    IsIndeterminate="True"
    Visibility="Collapsed" />

My application's repro is using the 2.8 prerelease.
Expected behavior
When the MUXC ProgressBar is set to Visibility="Collapsed", the animation is paused, similar to what is done in WUXC ProgressBar. For example, it could go to a VisualState that does not use a Storyboard with RepeatBehavior="Forever".
Screenshots
No response
NuGet package version
Microsoft.UI.Xaml 2.7.0
Windows app type

[X] UWP
[ ] Win32

Device form factor
Desktop
Windows version
Insider Build (xxxxx)
Additional context
No response

@karenbtlai FYI. @ranjeshj easy perf gain

I would like to look into this.


Update third-party headers to be compatible with Xcode Header Search Path

While linking snowplow-tracker with our project via Cocoapods we get the following error:
error: 'FMDB.h' file not found with <angled> include; use "quotes" instead

This is what I assume is wrong. Cocoapods adds the third party header files to the Pods/Headers/Private directory and set the Xcode config to look for the Headers there.
If we add import statements like #import <FMDB.h> the Xcode is unable to find them, as this statement resolves to path Pods/Headers/Private/FMDB.h while the path Xcode actually wants is Pods/Headers/Private/FMDB/FMDB.h

Hi @chunkyguy we have hopefully already addressed this issue with this PR.  In that we have added quotes instead of angle braces to the FMDB import.
Would you mind pulling down the 0.6.0 branch instead of 0.5.2 to see if you have any issues with the library then?
You can do this like so: pod 'SnowplowTracker', :git => 'https://github.com/snowplow/snowplow-objc-tracker', :commit => 'c56ce2a4b912eb86cb9b89266b3895da83beb55c'
Out of curiosity what version of cocoapods are using with your project?

I'm using version 0.39.0.
Yes that commit indeed fixes the issue with header files, but has some other unrelated errors.

But the fix by replacing import <FMDB.h> with import "FMDB.h" doesn't sounds very good to me, as FMDB is a ThirdParty Dependency and by removing the angular brackets we are telling the Xcode to find the Header File itself by either resolving to local paths or standard paths. But, if we replace it with import <FMDB/FMDB.h> and import <Reachability/Reachability.h>, we directly tell Xcode that these header files belong to an external project, and it should use the locations we have provided with the Header Search Paths configuration.
What is you say?

Those errors are due to API changes coming with the new release.  The technical documentation has been updated to reflect these changes.
As we have some users that do not use Cocoapods and choose to instead manually add all of the library files it is potentially easier for XCode to figure it out itself.  Rather than having to have anyone change the file headers.

Okay, that makes sense.


Fix ipfs-adapter build

Add ethers to website deps and realign versions

Codecov Report

Merging #7 (6646699) into main (27aaec7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   97.56%   97.56%
=======================================
  Files           9        9
  Lines         205      205
  Branches       31       31
=======================================
  Hits          200      200
  Misses          5        5

Flag
Coverage Δ

contracts
93.82% <ø> (ø)

sdk
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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

Waiting for https://github.com/wighawag/sveltejs-adapter-ipfs/issues/3


Port account provisioning code to Terraform Cloud

Describe the issue
Our workload account provisioning automation code - the code that creates workload accounts and applies BC Gov-specific "layers" to them in the SEA landing zone - has been developed and tested on a developer's workstation, but not executed within a managed runtime / state management environment.  We need to do this so the code can be executed on demand by any CPF team with applicable permissions, and executions logged, monitored, etc.
Which Sprint Priority is this issue related to?
The 'Milestone' should clearly list Sprint Priorities - which one is this issue related to?
Additional context

This task does not include implementation of CI/CD for the account provisioning code
This should be done in a way that we can replicated for repurposed LZ1 and any subsequent AWS landing zones based on SEA codebase

Definition of done

appropriate resources and access configured in TF Cloud.
existing "state" migrated to TF cloud.
provisioning code is triggerable remotely

PR: https://github.com/bcgov-c/aws-lz2-workspaces-live/pull/2

PR: https://github.com/bcgov-c/aws-lz2-workspaces-live/pull/2


[FLINK-23541] Call StreamOperator#finish on EndOfData

What is the purpose of the change
We want to be able to bring the entire topology with a single checkpoint/savepoint. In order to do that we must be able to call finish on all operators before such a checkpoint is triggered. The idea is to emit EndOfData, which once received, triggers finish()/endInput(). After such a sequence we can trigger a checkpoint/savepoint which meets the aforementioned criteria.
This PR reworks the stop-with-savepoint --drain a bit so that it works correctly with the EndOfData already. Moreover it stops the legacy sources before triggering the final savepoint, so that it includes all records.
Brief change log
See commit messages
Verifying this change
All tests pass, especially around savepoints, such as e.g. SavepointITCase. Added a couple of additional tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

I rebased in order to skip the unstable python test from Azure run.

@flinkbot run azure

Merged in #16761


Move artifact events, add user field and pull and delete events

Changes
The first commit contains no functional change to the spec.
It moves artifact events to their own file (similar to what we did for testing events), in preparation for further artifact events being added.
Cleaned up some wrong references, left over when moving test events, added both testing and artifact events to spec.md too.
The second commit adds the user field to the artifact push event and it introduces the artifact pulled and deleted events, both with a user field too.
Partially-fixes: #143
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has the primer doc been updated if a design decision is involved
[x] Have the JSON schemas been updated if the specification changed
[x] Has spec version and event versions been updated according to the versioning policy
[x] Meets the CDEvents contributor standards

Artifact pulled (or quarantined as I prefer because an "existing" but "un-useable" artifact helps to ensure that said "bad artifact" is not accidentally re-proxied/re-deployed) should initiate downstream actions that impact deployments (future or existing) for software and services which identifies said artifact within its SBOMs.  An upstream deployment/release system could monitor for this event and "mark" said software/service un-useable.  Reasons for this could be a high severity security finding such as RCE, a legal (licensing or patent) finding, the artifact becoming un-supported (internally or externally), or any other policy that a company might need to implement within this space, such as not using old major versions of a dependency.

Also, I'd suggest an artifact promoted event here as well (as most recently mentioned on #143)

I don't really see why there would need to be an artifact.pulled CDEvent defined. What use case would it serve in a CI/CD context?

Heh, I might want to be notified if a certain artifact is downloaded.

Definitely something an auditor would want to know; security/legal + info sec

On Dec 4, 2023, at 9:03 PM, Andrea Frittoli @.***> wrote:
I don't really see why there would need to be an artifact.pulled CDEvent defined. What use case would it serve in a CI/CD context?
Heh, I might want to be notified if a certain artifact is downloaded.
—
Reply to this email directly, view it on GitHub https://github.com/cdevents/spec/pull/172#issuecomment-1840017140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGNZLKMIBM6ZHCVMNRQ2WDYH2TJNAVCNFSM6AAAAAA72ZB5ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQGAYTOMJUGA.
You are receiving this because you commented.

My $0.02 for what it's worth @e-backmark-ericsson . . .
Artifact pulled (or quarantined as I prefer because an "existing" but "un-useable" artifact helps to ensure that said "bad artifact" is not accidentally re-proxied/re-deployed) should initiate downstream actions that impact deployments (future or existing) for software and services which identifies said artifact within its SBOMs. An upstream deployment/release system could monitor for this event and "mark" said software/service un-useable. Reasons for this could be a high severity security finding such as RCE, a legal (licensing or patent) finding, the artifact becoming un-supported (internally or externally), or any other policy that a company might need to implement within this space, such as not using old major versions of a dependency.
While not "best practices" from a pure CD point of view, automated roll-backs are performed based on some of these events in live systems today. Events in this space enable automation to be created that helps streamline processes that use this model today.
Additionally, a quarantine event could trigger automated dependency update pipelines (such as those that might be done via Dependabot, Update-CLI or as otherwise suggested in #39). That would again streamline the process for companies that need to roll-forward as fast as they can.

Thanks. I renamed "pulled" do "downloaded". I will follow up on the idea of "quarantined" in a separate PR

@e-backmark-ericsson @xibz ready for review


Updated filter position

fixed spacing around table
added a scss for FeatureTable.js

thanks @jjmulenex

Coverage increased (+0.004%) to 71.719% when pulling f4814916f4f4bc4f7cc263e4e9ad2a6a5db3015d on FeatureTableUpdates into 5faaf8565aa17a9cc997c38b8b45b70cfc1ce903 on master.


Textinput: past/copy problems

The problems appear on the real device. I have 'ASUS memopad HD7' .

I typed the text in a text field. Further I try to insert a new letter into the text middle, but together with this letter the text which costs to the right of the cursor is inserted also. After clear the text field and type a letter inserting previouse part of text. Problem leaves after switch-off virtual keyboard.
There are link to the video:
http://www.youtube.com/attribution_link?a=sF-EMSwaLGA&u=/watch%3Fv%3DoP1o_NmiLVs%26feature%3Dem-upload_owner
I copy the text from one field, I insert it into another, but I receive unreadable symbols. I code all text in my program by Unicode.
There are link to the video:
http://www.youtube.com/attribution_link?a=sF-EMSwaLGA&u=/watch%3Fv%3D3bxy96n110w%26feature%3Dem-upload_owner

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

same on win10, python3.4

@picibucor, have you compiled kivy yourself with msvc?

@picibucor, I'm copying text from one field to the next in kivycatalog win10, and there are no issues. Could you share a runnable example which reproduces your issue? Kivy version?
@KeyWeeUsr, have you also seen it on windows or just android?

@dessant The second video(issue): Checked now on windows(py2/py3) with sdl2 and master, checked even on android, custom launcher with master branch from 13042016  - nothing. Copied some cyrillic text from wikipedia because I don't have russian keyboard - maybe again only keyboard issue?
The first one however is quite alive on android. No such problems on windows.

I've downloaded the wheel from:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
Probably miss-clicked by the issue, as I use the shortcut for copy a text from textinput, it crashes.
Here's what  my log says:

Traceback (most recent call last):
File "C:\Users\Mihaly\Documents\munka\CETA-Software\EZS-2G\main.py", line 1527, in
EZS.run()
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\app.py", line 828, in run
runTouchApp()
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\base.py", line 487, in runTouchApp
EventLoop.window.mainloop()
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\core\window\window_sdl2.py", line 619, in mainloop
self._mainloop()
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\core\window\window_sdl2.py", line 552, in _mainloop
self.modifiers):
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (kivy_event.c:7654)
File "kivy_event.pyx", line 1224, in kivy._event.EventObservers.dispatch (kivy_event.c:13497)
File "kivy_event.pyx", line 1148, in kivy._event.EventObservers.dispatch (kivy_event.c:13023)
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\core\window_init.py", line 159, in _on_window_key_down
return self.dispatch('on_key_down', keycode, text, modifiers)
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (kivy_event.c:7654)
File "kivy_event.pyx", line 1224, in kivy._event.EventObservers.dispatch (kivy_event.c:13497)
File "kivy_event.pyx", line 1148, in kivy._event.EventObservers.dispatch (kivy_event.c:13023)
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\uix\textinput.py", line 2336, in keyboard_on_key_down
self.copy()
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\uix\textinput.py", line 1676, in copy
return Clipboard.copy(self.selection_text)
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\core\clipboard_init.py", line 80, in copy
self.copy(data)
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\core\clipboard_init.py", line 99, in _copy
self.put(data, self._clip_mime_type)
File "C:\Users\Mihaly\AppData\Local\Programs\Python\Python35\lib\site-packages\kivy\core\clipboard\clipboard_winctypes.py", line 41, in put
msvcrt.wcscpy(c_wchar_p(pchData), text)
OSError: exception: access violation writing 0x0000000000000000

@picibucor, it is an unofficial wheel, not supported by us. I'm not aware of anyone from the team working on shipping a py3.5 wheel, the more likely outcome is that we will wait until mingwpy releases a version which supports py3.5, unless someone from the community steps in and makes kivy work with msvc.

Hello !
I made this post 3.5 years ago, but as I see the problem is not solved. I bought a new tablet with Android 7.0, an error appears in it. I downloaded from PlayMarket KivyShowcase, in this program there is also an error. I tried to work with two built-in keyboards (SwiftKey, Gboard), on both of them there is an error. Unless on Gboard at use of an English layout it is shown much less often. I made a fresh video for illustration https://youtu.be/GqMhwFWR8ХА. With such a problem, the use of Kivy becomes problematic, a minor correction of the text leads to radical changes.