Deploy only one celery instance

Applicable spec:  N/A
Overview

Run celery only in one unit. To achieve that, the celery container is removed and it will be planned instead on a single unit along with the indico process
Rationale

Celery does not provide exactly once guarantees, so multiple units can cause tasks to be executed by multiple workers, impacting user experience when those have a visible result.
Juju Events Changes

leader elected
peer relation departed

Module Changes

charm.py
Library Changes

N/A
Checklist

[x] The charm style guide was applied
[x] The contributing guide was applied
[x] The changes are compliant with ISD054 - Managing Charm Complexity
[x] The documentation is generated using src-docs
[x] The documentation for charmhub is updated
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

If I'm understanding this correctly we're relying on the peer-relation-departed event happening before leader-elected. If it doesn't, we'd remove the nominated unit but not nominate a new unit until another leader-elected event is triggered at some point in the future.

Exactly, there should be a leader at any point, so if the celery unit is leader, a leader elected event will be fired when it is removed (if not earlier)

Exactly, there should be a leader at any point, so if the celery unit is leader, a leader elected event will be fired when it is removed (if not earlier)

But if the leader-elected event is fired before peer-relation-departed we'd run the following:
if peer_relation and not peer_relation.data[self.app].get("celery-unit"):

Since "celery-unit" is set, it would do nothing. Then the peer-relation-departed event fires, and we unset this value, and we'd continue with an unset value until the next leader-elected event is fired, at some unknown point in the future.

Exactly, there should be a leader at any point, so if the celery unit is leader, a leader elected event will be fired when it is removed (if not earlier)

But if the leader-elected event is fired before peer-relation-departed we'd run the following:
if peer_relation and not peer_relation.data[self.app].get("celery-unit"):

Since "celery-unit" is set, it would do nothing. Then the peer-relation-departed event fires, and we unset this value, and we'd continue with an unset value until the next leader-elected event is fired, at some unknown point in the future.

In that case, the change would occur in the peer relation departed handler. All the units receive that event, so if the celery unit is not the leader, the leader will set that value to itself

In that case, the change would occur in the peer relation departed handler. All the units receive that event, so if the celery unit is not the leader, the leader will set that value to itself

Sorry, you are right. Thanks for the out of band explanation, I'd missed that the peer-relation-departed event is handling things different if the "celery-unit" value is set to the current leader or not exactly to take care of this possibility.


Accessible vectors

Is your feature request related to a problem? Please describe.

There is a larger issue that I really don't have a solution for: All vectors, not just markers, need to be tabbable. The way things are currently, only markers are tabbable. This means that VoiceOver and other accessibility technologies won't work for other vectors.

Originally posted by @nateirwin in https://github.com/Leaflet/Leaflet/issues/3210#issuecomment-73268793

Adding some substance to this issue:
For basic keyboard and screen reader accessibility, vectors would:

[ ] Need to be focusable (i.e. set the SVG tabindex attribute to 0), similar to markers:
https://github.com/Leaflet/Leaflet/blob/2960f58a02e0858f9403788f14fa9f4bd9fd2736/src/layer/marker/Marker.js#L226-L227

[ ] Have a default accessible name, similar to markers:
https://github.com/Leaflet/Leaflet/blob/2960f58a02e0858f9403788f14fa9f4bd9fd2736/src/layer/marker/Marker.js#L43-L45

What should the default accessible name be?
IIRC, using NVDA with Firefox: "blank" is announced for e.g. SVG <path>, whereas in Chrome: "graphic" is announced. Maybe vectors should default to Graphic.

How should it be exposed?
Probably as aria-label, with an option for tooltips via the title attribute or the SVG <title> element, similar to markers:
https://github.com/Leaflet/Leaflet/blob/2960f58a02e0858f9403788f14fa9f4bd9fd2736/src/layer/marker/Marker.js#L39-L41

[ ] If a vector binds to a popup or otherwise is clickable it should have role="button", similar to markers: https://github.com/Leaflet/Leaflet/blob/2960f58a02e0858f9403788f14fa9f4bd9fd2736/src/layer/marker/Marker.js#L228

Further enhancements:

[ ] If a vector binds to a popup it should convey the expanded/collapsed state of the popup using aria-expanded="true|false, same as for markers: #7527. aria-expanded relies on the presence of role="button".

@IvanSanchez made a valid point in https://github.com/Leaflet/Leaflet/issues/4179#issuecomment-176726915:

what if the line is rendered using a L.Canvas rendered instead? This functionality would be specific to the SVG renderer

Most canvas usage I've seen on the web largely or entirely neglects keyboard and screen reader users.
Ideally (at least in the long term) the same keyboard functionality and accessible names would be provided independently of whether SVG or Canvas is used. That may be a bit of a challenge, and I haven't delved into canvas accessibility before. I'll list some potentially useful resources here for reference:

https://webaim.org/blog/future-web-accessibility-html-canvas/:

All of the canvas accessibility solutions discussed in the previous section have one thing in common: they all require some nontrivial work on the part of the developer in order to make accessibility happen.

https://www.w3.org/Talks/2014/0510-canvas-a11y/

https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/hh968259(v=vs.85)

https://www.oreilly.com/library/view/html5-canvas-2nd/9781449335847/ch01s12.html

To make the Canvas accessible, a method known as “Fallback DOM Concept,” or sub dom, was devised. Using this method, developers create a DOM element to match each element on the Canvas and put it in the sub dom.

https://www.tpgi.com/html5-canvas-sub-dom/

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas#accessibility_concerns

The Accessibility Object Model (AOM) may be relevant in the (distant) future.

Azure Maps use visually hidden elements (they happen to use popups, but that's probably not desirable for Leaflet) to enable keyboard and screen reader accessibility for vectors in their Shape Selection sample:

Hi @Malvoz,
Thanks for raising this. Valuable work! 👍🏻
Linking to the PR again, for extra visibility: #8251.


enable single quote for rust (correctly)

Ref: https://github.com/windwp/nvim-autopairs/pull/143#issuecomment-930783297

I am not sure if this is the correct way to add a rule for a specific filetype. Please feel free to correct me.

@numToStr yes you can do that maybe add %w too
@felix-clark can you confirm . i need to learn rust first :)

@windwp I suppose I need to add another regex check like this cond.not_before_regex_check('%w')?

@windwp I've added the %w check :)

Good point, I totally forgot about single chars. I'm not sure this regex will handle every case but it's certainly much better. Perhaps allowing an arbitrary length of whitespace after [&<] might handle some additional edge cases?
We might also want to disable autopairs after a comma, since I think you can have multiple lifetime annotations at once e.g. MyStruct<'a, 'b, ...>. So perhaps [&<,] with an optional amount of whitespace following?

One potential "problem" with disabling after a comma is that there would not be completions in such a case:
let a = ['a', 'b', 'c'];

However this is probably not common at all since Strings are a thing.  It is possible to have multiple lifetimes and covering them might be hard. As you said, this could be conflicting with Vec<char>. Though we can cover a case where the after char is >, so if we are at the of the angle bracket and press the ' quote then it won't create a pair. Thoughts?

Seems like it would work for the initial typing, assuming the > has been inserted properly by autopairs. However it might fail if one was attempting to make the change MyStruct<'a, T> -> MyStruct<'a, 'b, T> for whatever reason.
I wondered if it might be better to allow an arbitrary length of a certain class of characters between the angle brackets and the cursor, however, it appears that the nvim-autopairs rules API only allows for checking the immediately adjacent character. Perhaps @windwp could confirm this, but within that constraint I think that what you have is pretty close to as good as it can get, and should work as intended for the majority of cases.

One final comment, perhaps the last ">" check doesn't need to be a regex since it is only a single character. I'd think you could use not_after_text_check(">").

I wondered if it might be better to allow an arbitrary length of a certain class of characters between the angle brackets and the cursor

I was also wondering about this.

I'd think you could use not_after_text_check(">")

I'll try this.

And perhaps combine the first two regexes into [%w&<]

I already tried and it doesn't seem to be working. Maybe @windwp can come with a regex. I am a noob in lua regex :)

@felix-clark @windwp changes are done. I think it's good to be merged.

@numToStr @felix-clark  i think it working now. thank

@felix-clark I think you can use treesitter api to get a smarter pair completion, like this:
local npairs = require("nvim-autopairs")
local ts_conds = require("nvim-autopairs.ts-conds")

npairs.setup({
    check_ts = true,
    ts_config = {
      rust = {},
    },
  })
npairs.get_rule("'")[2]:with_pair(ts_conds.is_not_ts_node({ "type_arguments", "bounded_type" }))

This should handle  MyStruct<'a, T> -> MyStruct<'a, 'b, T> correctly.

@felix-clark I think you can use treesitter api to get a smarter pair completion, like this:
local npairs = require("nvim-autopairs")
local ts_conds = require("nvim-autopairs.ts-conds")

npairs.setup({
    check_ts = true,
    ts_config = {
      rust = {},
    },
  })
npairs.get_rule("'")[2]:with_pair(ts_conds.is_not_ts_node({ "type_arguments", "bounded_type" }))

This should handle  MyStruct<'a, T> -> MyStruct<'a, 'b, T> correctly.

Is this working? I've tried to type some codes like:
pub struct Iter<T,

when I type ' next, it autocompletes a pair of ' for me.


get.keptn.sh not working for m1 mac

jjena@MacBook-Air ~ % curl -sL https://get.keptn.sh | bash
The newest version of Keptn is 1.2.0 and will be used automatically
Determined target architecture arm64
Downloading keptn 1.2.0 for OS darwin with architecture arm64 from GitHub: https://github.com/keptn/keptn/releases/download/1.2.0/keptn-1.2.0-darwin-arm64.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     9    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
An error occured while trying to download keptn from GitHub. Please manually download a release from https://github.com/keptn/keptn/releases.

Keptn V1 has reached EOL on December 22nd, 2023, so this issue has been closed.


What are the instructions?

ember-mocha sends me here to follow instruction about how to install stuff but there is nothing here.
Do I still need to install ember-mocha itself?
How do I setup my tests?

how to install stuff but there is nothing here

see https://github.com/ember-cli/ember-cli-mocha#installation

How do I setup my tests?

once you have ember-cli-mocha installed e.g. ember generate component-test should automatically generate a test for you using Mocha instead of QUnit


Make skate.init() simpler.

Currently it accepts a selector or multiple nodes, however, the use case is really to just accept one node. We should just simplify it to accept a single parameter.
A performance optimisation we should also make is to not use elementContains() to check to see if the document contains each element in the main element. We should simply check the element that was passed into init() and use that value to determine whether or not we should call attached on the descendants. If the main element is in the DOM, so are its descendants.

Related, but unrelated:
in the documentation you have this example:
var element = document.getElementById('my-component-id');

skate.init(element);

element.someCustomMethod();

If the element was already in the DOM would not .created() and .attached() have been called? Why would init need to be called in this circumstance?

In browsers that don't support native, mutation observers are used. If you want to interact with it sync, then you've got to init sync for those browsers.
In the next release, using skate.create() will get around this.


Support for vcpkg

What would you like to be added:
syft should be able to use vcpkg to generate SBOMs for C++ projects
Why is this needed:
At @reMarkable, we have a giant C++ codebase. We'd love to use syft to generate SBOMs for this project, but we're reliant on using vcpkg as a package manager, not conan
Additional context:

Hi @audunmo! Thanks for the feature request! I didn't know about vcpkg, but we're definitely open to supporting it. We'd happily accept a contribution, or we can put this in our backlog and work on it in the future.
Here's what the work would look like:
To add support for vcpk, what we would do is add a vcpkg cataloger to syft. (A cataloger is syft's term for a module that knows how to detect and analyze components from a particular package manager or ecosystem. For example, there's a couple Java catalogers and an RPM cataloger.)
Catalogers generally come in two flavors: those that catalog described/declared packages, which are used by default when scanning directories ("directory catalogers"), and those that catalog installed packages, which are used by default when scanning container images ("image catalogers"). I think what you're looking for is a directory cataloger, but I could be wrong.
Here are the docs on adding a new cataloger: https://github.com/anchore/syft/blob/main/DEVELOPING.md#summary
Here's a pull request of a recently added cataloger: https://github.com/anchore/syft/pull/1790
If you'd like to discuss more, please feel free to come to one of our community meetings: https://github.com/anchore/syft#join-our-community-meetings

I'd love to take a crack at it. Thanks @willmurphyscode

By-the-bye, I've begun work on this over here: https://github.com/audunmo/syft/tree/feat/catalog-vcpkg

Do you want some early feedback? Also I made a lot of breaking changes that I think will affect your PR, I'm happy to do the rebase if you open up a draft PR and allow maintainer write permissions.

@wagoodman Heya. I actually stopped pursuing this. Turns out, vcpkg generates an SPDX SBOM automatically. It just wasn't super apparent in their docs. Thanks anyway! Closing this issue

For anyone else stumbling upon this issue, here's the vcpkg docs for SBOM https://learn.microsoft.com/en-us/vcpkg/reference/software-bill-of-materials

I'm glad there is baked-in support for generating an SBOM from the build tooling -- that's awesome! I think there is still merit to the original ask even though the build tooling supports it. It might be that you're scanning a repo or asset that has vcpkg material along side other material. I'd be curious to see what would be possible outside of the build tooling here.


Proposed addition of estimated prep time

The prep time is in bold

Oh, this great. Thanks for this addition.


How to import data bundle with minutes data

How to import data bundles with 1 minute data(forex 1 minute) into zipline, I did similar procedure with EOD stock data successfully. However, it can't be imported with minute data, there are no error message but the folder is empty (forex-bundle/2020-09-18T09;26;46.177573). Please feel free to comment.
~/.zipline/extension.py
import pandas as pd

from zipline.data.bundles import register
from zipline.data.bundles.csvdir import csvdir_equities

    start_session = pd.Timestamp('2020-06-01 00:00:00', tz='utc')
    end_session = pd.Timestamp('2020-09-11 16:58:00', tz='utc')

    register(
        'forex-bundle',
        csvdir_equities(
            ['M1'],
            '/data/forex/USDJPY',
        ),
        calendar_name='24/7',
        minutes_per_day=1440,
        start_session=start_session,
        end_session=end_session
    )

CSV data in Minutes (/data/forex/USDJPY/M1/USDJPY.csv)
date,open,high,low,close,volume,dividend,split
2020-06-01 00:00:00,107.634,107.637,107.628,107.635,0.0,0.0,1.0
2020-06-01 00:01:00,107.635,107.648,107.634,107.648,0.0,0.0,1.0
..........
..........
2020-09-11 16:57:00,106.147,106.156,106.146,106.146,0.0,0.0,1.0
2020-09-11 16:58:00,106.144,106.169,106.144,106.156,0.0,0.0,1.0

Solved:
change 'M1' to 'minute'; the directory 'minute' has been hardcoded in the source code, it can't accept other than 'daily' or 'minute'.

Hi,
I have problem by ingesting a data bundle of 1 minute.
Attached is my 1-min data. Here is my extension.py:
`import pandas as pd
from zipline.data.bundles import register
from zipline.data.bundles.csvdir import csvdir_equities
Set the start and end dates of the bars, should also align with the Trading Calendar
start_session = pd.Timestamp('2020-12-07 09:30:00', tz='utc')
end_session = pd.Timestamp('2020-12-15 14:05:10', tz='utc')
register(
'custom-minute-bundle',   # What to call the new bundle
csvdir_equities(
['minute'],  # Are these daily or minute bars
#'/Users/erolaspromatis/Trading/Code/ZiplineBundle/data/csvs',  # Directory where the formatted bar data is
'K:/Python/zipline/WeiChen/Yahoo_api-master/data/before/minute',
),
calendar_name='NYSE', # US equities default
start_session=start_session,
end_session=end_session
)
`
But when I start the ingestion with: zipline ingest -b custom-minute-bundle, I got error: ValueError: Start session 2020-12-07 09:30:00+00:00 is invalid!
Can one help?
Thomas
SPY.zip


Pr4645 alternative

What is the purpose of the change
protostuff : heartbeat data is null causes connect close
alternative solution for pull request #4645
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #4673 into master will decrease coverage by <.01%.
The diff coverage is 80%.

@@             Coverage Diff              @@
##             master    #4673      +/-   ##
============================================
- Coverage     63.98%   63.98%   -0.01%
+ Complexity      453      451       -2
============================================
  Files           769      769
  Lines         33143    33123      -20
  Branches       5224     5220       -4
============================================
- Hits          21207    21193      -14
+ Misses         9511     9504       -7
- Partials       2425     2426       +1

Impacted Files
Coverage Δ
Complexity Δ

...e/dubbo/remoting/exchange/codec/ExchangeCodec.java
80.39% <100%> (+3.32%)
0 <0> (ø)
:arrow_down:

...rg/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java
61.85% <50%> (+4.57%)
0 <0> (ø)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75% <0%> (-12.5%)
0% <0%> (ø)

.../remoting/transport/netty4/NettyServerHandler.java
61.9% <0%> (-9.53%)
0% <0%> (ø)

...ng/transport/dispatcher/all/AllChannelHandler.java
51.42% <0%> (-5.72%)
0% <0%> (ø)

.../org/apache/dubbo/remoting/ExecutionException.java
15.78% <0%> (-5.27%)
0% <0%> (ø)

...onfig/spring/extension/SpringExtensionFactory.java
80.48% <0%> (-4.88%)
0% <0%> (ø)

...e/dubbo/remoting/transport/netty/NettyChannel.java
57.64% <0%> (-4.71%)
20% <0%> (-1%)

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0%> (-4.35%)
0% <0%> (ø)

...c/main/java/org/apache/dubbo/rpc/RpcException.java
80% <0%> (-3.34%)
0% <0%> (ø)

... and 6 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 f2af6fd...3b8421c. Read the comment docs.


[Idea] Specify differents actions on breakpoint

Hello there,
I just started to work with your grid system and I have to say it's pretty awesome. Very good job to you!
Anyway I have a little request for you. It should be great to specify for each breakpoints what we want to do with our grid with data-attribute or whatever.
For exemple:
.grid[data-xs="column wrap-reverse justifyCenter alignStretch"][data-sm="row-reverse nowrap justifyCenter"]

etc. etc.
Same for cols:
.col-[data-xs="-1 1 0 auto flex-start"]

(order / flex / align-self)
What do you guys think about that ?
Thanks!

I think this looks way to complex, if I needed such a level of customization I'd rather add the styling in the CSS directly. What if you need to change it in several pages?


feat: Search for Windows or Linux AMIs only if they are needed

PR o'clock
Description
This will add support to search for Windows (or Linux) AMI only if they are needed.

Resolves #1100
Resolves #1141
Resolves #1246
Resolves #1247
Resolves #582

Checklist

[ ] CI tests are passing
[ ] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

v16.1.0 is released.

This PR introduced a bug that breaks if Windows nodes are used:
https://github.com/terraform-aws-modules/terraform-aws-eks/commit/06e9078bf4baedba362f07dcfa0f3fb65e943899#diff-2fdb488192d2afd49fb090fcc8bd32fd3af72bcb789420915e78d6406ef9e2e4R19
worker_has_linux_ami   = length([for x in concat(var.worker_groups, var.worker_groups_launch_template) : x if lookup(x, "platform", "linux") == "linux"]) > 0
  worker_has_windows_ami = length([for x in concat(var.worker_groups, var.worker_groups_launch_template) : x if lookup(x, "platform", "linux") == "windows"]) > 0

This PR introduced a bug that breaks if Windows nodes are used

@brettcave What do you mean by "it brakes" ? Can you please share your error and configuration ?

https://github.com/terraform-aws-modules/terraform-aws-eks/issues/1410


React.ChildrenArray not working as described in docs

Taking the example given in the docs (https://flow.org/en/docs/react/types/#toc-react-childrenarray):
import * as React from 'react';
const children: React.ChildrenArray<number> = [1, 2, 3]
const array: Array<number> = React.Children.toArray(children)

results in the the following error:
3: const array: Array<number> = React.Children.toArray(children)
                                                       ^ read-only array type. This type is incompatible with
3: const array: Array<number> = React.Children.toArray(children)
                      ^ number

https://flow.org/try/#0JYWwDg9gTgLgBAKjgQwM5wEoFNkGN4BmUEIcA5FDvmQNwBQuEAdqvLgBbAA2AJpUwC5MVGADoAwp178AglCjIAngB4mAVxAAjLFAB8cALxwA2gEYANHABMlgMwBdBs1Yp5SoXIUr1WnfqPYeGKS3HxYTKIwEJ5KABQcofwAlHSpdEA

Apart from that transition to v0.53 has been smooth so far 💃 👍  Thanks for the awesome work!

I believe this is related to a similar issue I was seeing with React.Children.map (#4625)

I think the problem here is the type-level recursion.
Here's the relevant code from the React typings:
  declare export type ChildrenArray<T> = $ReadOnlyArray<ChildrenArray<T>> | T;
  declare export var Children: {
    // ...
    toArray<T>(children: ChildrenArray<?T>): Array<$NonMaybeType<T>>;
  };

And here's a bit of sample code that demonstrates what's happening:
import * as React from "react";

let f: (c: React.ChildrenArray<number>) => Array<number> =
  React.Children.toArray;

Fails with:
3: let f: (c: React.ChildrenArray<number>) => Array<number> =
              ^ read-only array type. This type is incompatible with
3: let f: (c: React.ChildrenArray<number>) => Array<number> =
                                                    ^ number

In contrast, this version succeeds:
let f: (c: React.ChildrenArray<number>) => Array<number | React.ChildrenArray<number>> =
  React.Children.toArray;

So I think the type for toArray currently tells the type system to peel off one level of structure, but possibly leaving others. Presumably this happens because T could unify with a nested ChildrenArray type.

Thanks for reporting this! @asolove is right. The order we have for ChildrenArray<T> is there for a reason though, I just can’t remember what that reason was at the moment 😣
No matter, because this is fixed in Flow v0.54 with: https://github.com/facebook/flow/commit/e4b2c0590a81bdd1a2726708c6fe3f75cd9de839
Now for ChildrenArray<A> to ChildrenArray<B> checks we don’t expand ChildrenArray instead we check A and B directly 😊
This change also enables phantom types which we need for typing Relay containers 😉
Closing otherwise I will forget when Flow 0.54 is out 🎉
It should be out in the next week.

I am experiencing this issue, 3 years later


Add project - BosnD

Hi,
I would like to add a link. https://gitlab.com/n0r1sk/bosnd
BosnD, the boatswain daemon. Dynamic, Docker Swarm / Kubernetes / File based configuration file templating for all kinds of services (Apache httpd, Nginx, HAProxy, ...) made real.
We @rauschbit, @cooperspencer and I are the authors of this project and we use it heavily at STRABAG SE to provide automatic load balancer configuration based on the Docker Swarm service discovery information for more than 300 load balancers (Apache httpd, Nginx, ...)
The readme of the project is complete for the recent version and almost complete for the upcoming release.
Unfortunately I am not sure where it would be fitted in best, maybe Deployment and Infrastructure as it could be used for any kind of file configurable binary? We are open for any suggestions on this.
The project is hosted at GitLab, as we are using their integrated build pipelines for other projects.
Thanks for looking at this and thank you for maintaining this list :hugs: !
Mario

Hi @m4r10k
Sure, I would love to merge this.
The problem is that there is no instructions on how to install or use the software.
I read the readme and it seems like there is a lot of details but how can I test that without reading the code. We value people's time so we want to make it really easy for people to test and try the project.
Sorry for the delay, I was at KubeCon.
You can open a PR or ping me here when the instructions have been updated.
Keep up the good work!

@veggiemonk I added a Quickstart tutorial which shows the most simplest usage by providing enough information and ideas about whats going on. A short Lessons Learned is also there now. It should be easy to follow. Let me know, if you have any further suggestions for the first admission to the list! :smiley:

Hi @m4r10k,
nice job!
I can see you've put a good amount of time on that and it looks great.
Although, I still don't understand what it does or why would I use that project, meaning: What problem does it solves
If I understand correctly, it is a templating engine that reconfigure services ...... But even that I'm not sure.
I think it would be good if you can take a step back and imagine explaining this to someone who doesn't know docker or swarm!
I totally understand when working on something that we get too close the code.
The fact that I don't know in which category this would belong makes it hard to add it to the list 😄
Keep up the good work, you're almost there.
Also, can you please create a PR for it?
Thank you for your patience 🙏

Hmm, I think the "What it does" section describes the use case really good - what's unclear on that for you? Would be helpful to write a better "What it does" description.  :)
The BosnD is a service which gathers information from a Docker Swarm environment (by itself or via the midshipman) about the running services/ip's of containers in a stack/stack's overlay network to take this information in combination with configuration files (from services like apache httpd/nginx/...) where the corresponding parts (like for nginx the "upstream" backends, or for apache httpd the "proxypass" backends) are configured via go templating language. for example: the configuration files of the services are enhanced by dynamic go-template parts to dynamically configure the backends for a reverse proxy.
The outcome is a dynamically written configuration file for services like apache httpd/nginx/... + an automatic reload of this services when something in your dynamic docker swarm stack changes (like the services tasks [containers] scale up or down).
I hope that describes it better - we will add that to our description if that's now clearer for you.
To describe the service for someone who doesn't know what docker or swarm is, that would be really hard imo. Maybe "dynamic configuration file writer & service reloader for dynamically changing container environments" would be the headline.
Because one can use it for many purposes, we, for now, use it for reverse proxy configurations for our apache httpds & nginx reverse proxies - but the BosnD isn't limited to those services...
We will make the PR if you say that you now understand the purpose of our service.  :)
Thx for your input!

What is unclear is that the "what it does" describes "how it does it".
Look at this repo: https://github.com/jwilder/nginx-proxy
nginx-proxy sets up a container running nginx and docker-gen. docker-gen generates reverse proxy configs for nginx and reloads nginx when containers are started and stopped.

For some reason, I can understand that description ☝ .
BosnD, the boatswain daemon. Dynamic, Docker Swarm / Kubernetes / File based configuration file templating for all kinds of services (Apache httpd, Nginx, HAProxy, ...) made real.

I don't understand because it is trying to explain too many things. What does made real means?
So the description is better:  "dynamic configuration file writer & service reloader for dynamically changing container environments"
If BosnD is a reverse-proxy, it can be added to the reverse proxy section.
Let me know if you need help to make the PR 😄

@veggiemonk Thank you for your feedback! I updated the description as it is really better this way! 😄

Merged by #648


Docker issue

Hi there, I install the latest mmDetectionv2.3 from the docker. Everything goes well in the docker building. However, the training cannot be successfully launched due to the following error:
Traceback (most recent call last):
File "./tools/train.py", line 8, in
import mmcv
File "/opt/conda/lib/python3.7/site-packages/mmcv/init.py", line 4, in
from .fileio import *
File "/opt/conda/lib/python3.7/site-packages/mmcv/fileio/init.py", line 4, in
from .io import dump, load, register_handler
File "/opt/conda/lib/python3.7/site-packages/mmcv/fileio/io.py", line 4, in
from ..utils import is_list_of, is_str
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/init.py", line 29, in
from .env import collect_env
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/env.py", line 8, in
import cv2
File "/opt/conda/lib/python3.7/site-packages/cv2/init.py", line 5, in
from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
I use the standard docker file provided by mmDetection (only add vim and tmux when building the docker):
**ARG PYTORCH="1.5"
ARG CUDA="10.1"
ARG CUDNN="7"
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX"
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
RUN apt-get update && apt-get install -y git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 tmux vim
&& apt-get clean
&& rm -rf /var/lib/apt/lists/*
Install MMCV
RUN pip install mmcv-full==latest+torch1.5.0+cu101 -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html
Install MMDetection
RUN conda clean --all
RUN git clone https://github.com/open-mmlab/mmdetection.git /mmdetection
WORKDIR /mmdetection
ENV FORCE_CUDA="1"
RUN pip install -r requirements/build.txt
RUN pip install --no-cache-dir -e .**

I just encounter the same issue after building the docker image with the lastest Dockerfile. And I find out it can be solved by simply install the missing dependency with the following command:
RUN apt-get install ffmpeg libsm6 libxext6 -y

I just encounter the same issue after building the docker image with the lastest Dockerfile. And I find out it can be solved by simply install the missing dependency with the following command:
RUN apt-get install ffmpeg libsm6 libxext6 -y

Great, it works. Thank you!

This issue is stale and closed.


Chore: Gantt Events Icon

What is the purpose of this pull request? (Check any that's applicable)

[ ] Feature
[ ] Bug fix
[ ] Dependency updates
[ ] Documentation updates
[ ] Build related changes
[ ] Changes an existing functionality
[x] Other, please explain: Please see overview

Does this introduce a breaking change?

[ ] Yes
[x] No

What changes did you make? (Give an overview)
Replaced the caret icons for the Gantt Events example with a newer icons. The carets were used to represent an action in other examples so to avoid that confusion new icons from Terra are used.
Add any screenshots

:tada: This PR is included in version 1.11.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bugs] Improve photos support

Towards #310, #487

Fix regression: photo doesn't load
Fix bug: remote path contained "N/A" instead of formId when creating a new observation instead of editing old one
Fix bug: bottom sheet dialog not dismissing after making a selection
Use UUID as filename in order to support multiple photos (in upcoming PRs)
Enqueue photos for upload when synchronizing response deltas
Remove local file after uploading to remote storage successfully

@gino-m PTAL

@dturner PTAL.

@dturner. Gentle ping


Remove obsolete rpc methods

This removes those RPC call that are no available anymore in the bitcoin core reference implementation. Most of these are about fee estimations, for example:

estimatefee was removed in v0.17 and it doesn't anymore work, it simply throws an exception:

UniValue estimatefee(const JSONRPCRequest& request)
{
    throw JSONRPCError(RPC_METHOD_DEPRECATED, "estimatefee was removed in v0.17.\n"
        "Clients should use estimatesmartfee.");
}

The estimatepriority and estimatesmartpriority RPCs have been removed in 0.15.

It is clear that those using older versions of bitcoin core node could be using these rpc calls. This PR could be applied in any moment. So, here i have a question: How many versions do you plan to ensure back compatibility, @NicolasDorier? IMHO I think that 0.15 could be a good candidate as the latest supported version for rpc.

Knowing that people can easily make extensions method of those if they really need it, it is not a big deal if we remove it.


Why subscribe again can unsubscribe?

When I reading the document, found code like this:
let unsubscribe = store.subscribe(() =>
  console.log(store.getState())
);
unsubscribe();

Thought it must be wrong, so made a wrong pull request.
https://github.com/rackt/redux/pull/751
But the code really work, very confused.
Thanks!

what is wrong?

Nothing wrong, just confused. :(

It seems very strange.

Take a look at the code. It explains in a comment what the function is doing and why it's returning a function that you can call to remove subscriptions.
https://github.com/rackt/redux/blob/master/src/createStore.js#L60

Thank you @jrios !
It really solve my problem.
And now I know I should read the implement code before ask question!

@ronag Thank you too! I was confused why unsubscribe can work, and jrios give me the answer :)


Getting to component libraries has changed

Your instructions for getting to component libraries no longer apply with the new interface. The user must add a new left menu to get to them.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 0c0224ad-fdbb-c741-98a7-3ec0764b10cf
Version Independent ID: dfbaaa9e-b902-70de-49d8-9d6c5328b6d2
Content: Component library - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/component-library.md
Service: powerapps
Sub-service: canvas-developer
GitHub Login: @jorisde
Microsoft Alias: jorisde

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


logging: use green color for info log level

Info log messages don't have dedicated color which
makes them harder to separate from debug logs.
Introduce green color in log output for info level
so it stands out like error and warning messages do.
Signed-off-by: Marin Jurjević<EMAIL_ADDRESS>

Shouldn't those commits be squashed into one?

Shouldn't those commits be squashed into one?

I thought that happens on merge. I can remove superfluous default and squash myself if necessary.

Shouldn't those commits be squashed into one?

I thought that happens on merge. I can remove superfluous default and squash myself if necessary.

Yes, please.


Hi，@yuke93 . Could you please send me the python version of the code? My e-mail is<EMAIL_ADDRESS>Thanks!

@guanyang123 I have sent it to you.

Thank you for your reply !


Build errors after adding WinUI 3 library  to WinUI App

Describe the bug
I wanted to add WinUI 3 library to WinUI 3 App.
After added libary tp app, I am getting this error,.
Error	NETSDK1022	Duplicate 'Page' items were included. The .NET SDK includes 'Page' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultPageItems' property to 'false' if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems. The duplicate items were: 'MainWindow.xaml'	ProjectK.Toolkit.WinUI.Controls.TestApp	C:\Users\ak61u\.nuget\packages\microsoft.projectreunion.winui\0.8.12\buildTransitive\Microsoft.WinUI.targets	54
Steps to reproduce the bug
What I have
1. Visual Studio 2022  Preview 17.4.0 1.0

2. Create WinUI 3 App in Visual Studio 2022 Preview

3. Add Class Library

4. Solution now have  two projects App1 and ClassLibrary1

5. App Runs

6. Nuget Packages

After adding project ClassLibrary1  to app App1, Visaal Studio shows Warnings and Error

Expected behavior
Adding WinUI 3 libray to WinUI 3 App, should not cause any error.
This is expected behavour.
Screenshots
No response
NuGet package version
No response
Windows app type

[ ] UWP
[ ] Win32

Device form factor
Desktop
Windows version
No response
Additional context
No response

@AlanKharebov Can you share your solution? I am not able to reproduce this which leads me to suspect that for the "add project ClassLibrary1 to app App1" step I am not doing the same thing that you are.


⚠ GitLab Server has degraded performance

In e9acbee, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6910 ms

Resolved: GitLab Server performance has improved in ed497db.


Update CircleCI config to run linter before full test suite

The Problem/Issue/Bug:
make -s staticrequired, which lints the source, is currently run after the long suite of functional and unit tests.  In situations where the project can successfully be built but doesn't meet the standards of the linter, it takes more than half an hour to find out about it.
How this PR Solves The Problem:
Changes the order of the CircleCI test configuration .yaml to execute make -s staticrequired after building the executables, but before executing the test suite.
Manual Testing Instructions:
Inspect the results of CircleCI tests, if those still work, we're good.

It used to run before, and that was yet more annoying, because you wouldn't find out about the things that take a long time and are really important (the actual tests).
I'd say let's run the static check as a separate workflow (or even on buildkite as a separate job maybe).  The problem with Circle is it (seems to) count all workflows equal, so it says things are fixed when one of them starts working. Might be a way around this.

Yeah, the problem is that the tests are more important than the static analysis, and require far more processing power.


Fix: Scope#clone calls the Native bridges again via the scopeObserver

:scroll: Description

Closes #926
:green_heart: How did you test it?
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[ ] I updated the docs if needed
[x] All tests passing
[ ] No breaking changes

Codecov Report

Merging #959 (3fbb4d6) into main (7011abe) will increase coverage by 4.40%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #959      +/-   ##
==========================================
+ Coverage   91.14%   95.55%   +4.40%
==========================================
  Files           9        2       -7
  Lines         192       45     -147
==========================================
- Hits          175       43     -132
+ Misses         17        2      -15

Impacted Files
Coverage Δ

dio/lib/src/failed_request_interceptor.dart

dio/lib/src/sentry_transformer.dart

dio/lib/src/dio_event_processor.dart

dio/lib/src/tracing_client_adapter.dart

dio/lib/src/breadcrumb_client_adapter.dart

dio/lib/src/sentry_dio_client_adapter.dart

dio/lib/src/sentry_dio_extension.dart

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 7011abe...3fbb4d6. Read the comment docs.

@denrase did that cause duplicated breadcrumbs or is it still just an improvement?

@marandaneto Did not try to reproduce duplication here. Basically i assumed that calling the observers is unwanted behaviour as described in the issue and therefore marked this as fix.


Move to namespaced phpunit versions

Debian-Bug: https://bugs.debian.org/882931

Thanks, belated thou my reply may be...
I'm skeptical about changing the PHPUnit version on people.  That said, I want to move PSR-13 to PHP 7.1 types (with the new bylaw that lets us do so), which would imply a 2.0 version of this library as well.  When that happens I will bump it to a later PHPUnit version and we'll have to switch the base classes anyway.


Error on ToggleSwitch

Error when trying to use the ToggleSwitch component.
I just imported it, and when trying to run any function inside my component I get the following error:
caught TypeError: Object(...) is not a function at ToggleSwitch (ToggleSwitch.js:7:21)
System information:

Macbook air M1:
1920x1080:
Mac OS Ventura:
Chrome:
112.0.5615.49 (Versão oficial) (arm64):

Project information:

Sharepoint Framework SPFX v1.16
Tailwind: 3.1.0
Flowbite: 1.6.3
Flowbite React: 0.4.2

I have no experience with SPFX. But, try to upgrade the flowbite-react, we are at 0.4.4 currently - and check if it is still happening.

We will need to see more specifics on the error because what you've provided isn't super clear.

Feel free to resubmit by following the full template with more specific info.


Integration with {shinidraw}

Hey,
Thanks for this awesome lib! Very happy to see it existing :)
I've been working on {shinidraw}, a package that bundle the Excalidraw lib inside a shiny app, with project management: https://github.com/ThinkR-open/shinidraw
One of the issues had been to have a library of components https://github.com/ThinkR-open/shinidraw/issues/5, so now that you have created this, I'm opening this issue as a way to discuss how we can integrate the two together :)

Hey Colin, cool project.
I would be happy to collaborate. It would make sense if the library here is loaded by default in your shinidraw project.
Do you have any ideas?


DAILY_KEYS_MINI_GAME_WRONG. Turn off mini games. otherwise U may get BAN!!

{"error_code":"DAILY_KEYS_MINI_GAME_WRONG","error_message":"DailyKeysMiniGame is wrong NjkxMTAyMzE1OHw2ODgzMTA0MjYwfFRpbGVzfDM0NTAxMDEwMjh8RnlWM09qOFFpbENlSHc3S3RPaE1IRTJhaU1WWlo3blhxMmVjY3o4SjNuZz0="}
(The api has changed. Dont use it now. U may get ban!!)

Is this true?

Is this true?

No, but you can still get banned for using the software, which is why he said 'maybe.' (But maybe not..)


iOS Example

I see that there is an Android example within the azure-pipelines.yml file. Could we get an iOS equivillant?

Hi, I do not have a mac machine. It is hard to create a yml file for iOS. IOS uses a lot of other 3rd party tasks along with Flutter. We use a very old Flutter version so I do not know how IPA build works.
Here is a sample ios build config. After this step there are a few more steps of using Apple provising install and cert install tasks
steps:
- task: Hey24sheep.flutter.flutter-build.FlutterBuild@0
  displayName: 'Flutter Build ios'
  inputs:
    target: ios
    projectDirectory: <your project>
    buildFlavour: <flavour>
    buildNumber: '$(Build.BuildNumber)'
    buildName: '$(buildTimeStamp)'
    entryPoint: 'lib/main_dev.dart'
    iosCodesign: false
    extraArgs: '--no-tree-shake-icons'

We build archive using this command
xcodebuild -exportArchive -archivePath Runner.xcarchive -exportPath Runner -exportOptionsPlist ios/export_dev.plist
I would really appreciate if anyone from the community can add a PR or a comment here for a nice clean yml config.

I have created a simple pipeline that works for iOS (with additional configuration steps) -> https://xeladu.medium.com/building-flutter-apps-with-azure-devops-eaf9ae7ad158?sk=dcdc007ae2c4fab7942ec5108f189c9a
Here is a working pipeline for iOS and Android:
trigger:
  - master

pool:
  vmImage: macOS-11

stages:
- stage: AndroidStage
  dependsOn: []
  displayName: Android
  jobs:

  - job: AndroidJob
    displayName: Android
    steps:

    - task: DownloadSecureFile@1
      name: keyprop
      displayName: Download key properties file
      inputs:
        secureFile: 'key.properties'

    - task: DownloadSecureFile@1
      name: key
      displayName: Download signing key
      inputs:
        secureFile: 'key.jks'

    - task: Bash@3
      displayName: Copy config files
      inputs:
        targetType: 'inline'
        script: |
          cp $(keyprop.secureFilePath) $(Build.SourcesDirectory)/android/key.properties
          cp $(key.secureFilePath) $(Build.SourcesDirectory)/android/app/key.jks

          echo "key.properties copied to $(Build.SourcesDirectory)/android/key.properties"
          echo "key.jks copied to $(Build.SourcesDirectory)/android/app/key.jks"

    - task: FlutterInstall@0
      displayName: "Install Flutter SDK"
      inputs:
        mode: 'auto'
        channel: 'stable'
        version: 'latest'

    - task: FlutterBuild@0
      displayName: "Build application"
      inputs:
        target: 'aab'
        projectDirectory: '$(Build.SourcesDirectory)'

    - task: FlutterTest@0
      displayName: "Run unit tests"
      inputs:
        generateCodeCoverageReport: true
        projectDirectory: '$(Build.SourcesDirectory)'

    - task: CopyFiles@2
      displayName: "Copy app to staging directory"
      inputs:
        sourceFolder: '$(Agent.BuildDirectory)'
        contents: '**/bundle/**'
        targetFolder: '$(Build.StagingDirectory)'
        flattenFolders: true

    - task: PublishBuildArtifacts@1
      displayName: "Publish AAB file"
      inputs:
        PathtoPublish: '$(Build.ArtifactStagingDirectory)'
        ArtifactName: 'AAB'
        publishLocation: 'Container'

- stage: iOSStage
  dependsOn: []
  displayName: iOS
  jobs:

  - job: iOSJob
    displayName: iOS
    steps:

    - task: InstallAppleCertificate@2
      displayName: Install certificate
      inputs:
        certSecureFile: 'iosKey'
        certPwd: 'yourPwd'
        keychain: 'temp'

    - task: InstallAppleProvisioningProfile@1
      displayName: Install provisioning file
      inputs:
        provisioningProfileLocation: 'secureFiles'
        provProfileSecureFile: 'ios_Profile.mobileprovision'

    - task: FlutterInstall@0
      displayName: "Install Flutter SDK"
      inputs:
        mode: 'auto'
        channel: 'stable'
        version: 'latest'

    - task: FlutterBuild@0
      displayName: "Build application"
      inputs:
        target: ipa
        projectDirectory: '$(Build.SourcesDirectory)'
        exportOptionsPlist: 'ios/exportOptions.plist'

    - task: FlutterTest@0
      displayName: "Run unit tests"
      inputs:
        generateCodeCoverageReport: true
        projectDirectory: '$(Build.SourcesDirectory)'

    - task: CopyFiles@2
      displayName: "Copy app to staging directory"
      inputs:
        sourceFolder: '$(Agent.BuildDirectory)'
        contents: '**/ipa/*.ipa'
        targetFolder: '$(Build.StagingDirectory)'
        flattenFolders: true

    - task: PublishBuildArtifacts@1
      displayName: "Publish IPA file"
      inputs:
        PathtoPublish: '$(Build.ArtifactStagingDirectory)'
        ArtifactName: 'IPA'
        publishLocation: 'Container'

@xeladu Hi, thank you for a great Medium guide and a clean yaml file. I have added the same to the readme FAQs as well as created a wiki  for the same.
I will close this issue in response to a latest Medium article regarding setup

Could be even more complete if we had the key.properties and the build gradle file for this wiki :)

@vincentcastagna Here is a guide how to create your key.properties file for Android and adapt the gradle file.

Thank you I have successfully done that for android.
I'm also having trouble building iOS, signed ipa. I don't have an exportOptions.plist. Should I create it and fill it manually, or is there a way to generate it (in the xcode runner project maybe, but couldn't find anything ?).
I'm using hosted agents, and installing the prov and cert with the tasks as we usually do, but the flutter build task doesn't provide a way to pass to it the certificate installed on the machine. So I guess I absolutely need a exportOptions.plist ?

it tells me to open the project on a mac (which I don't have I'm using hosted agents) and sign with a development certificate. I shouldn't need to do that, I could sign it with any prov or cert I had previously installed in this pipeline job :
- task: InstallAppleCertificate@2
  displayName: Install certificate
  inputs:
    certSecureFile: ${{parameters.iosCertificateFile}}
    certPwd: $(CertificatePassword)

- task: InstallAppleProvisioningProfile@1
  displayName: 'Install internal provisioning profile'
  name: provisioningProfile
  inputs:
    provProfileSecureFile: ${{parameters.iosProvisioningProfileFile}}

- task: PowerShell@2
  displayName: Set the build version
  inputs:
    targetType: inline
    script: |
      $buildNumber = [int]$(git rev-list --count HEAD)
      Write-Host "##vso[task.setvariable variable=BuildNumber]$buildNumber"
      Write-Host "Build number: $BuildNumber"

- task: FlutterInstall@0
  displayName: "Install Flutter SDK"
  inputs:
    mode: 'auto'
    channel: 'stable'
    version: 'latest'

- task: FlutterBuild@0
  displayName: "Build application"
  inputs:
    target: 'ipa'
    buildName: '$(MajorMinorPatch)'
    buildNumber: '$(BuildNumber)'
    projectDirectory: '$(Build.SourcesDirectory)'
    verboseMode: true
    // export options is sayed optional

Thanks

I have now a exportOptions.plist (was able to have a mac and export archive from xcode, then had an exportOptions, but still having trouble to get the build task to work.
 Error (Xcode): No profiles for 'com.awesome.myproject' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.awesome.myproject'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
           /Users/administrator/agent/_work/12/s/ios/Runner.xcodeproj

I have doubt there, because yes, it won't find a DEVELOPMENT provisioning. I have installed an Distribution one, the IPA is supposed to go on the store. This is my exportOptions
 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<string>app-store</string>
	<key>provisioningProfiles</key>
	<dict>
		<key>com.awesome.myproject</key>
		<string>Awesome - project</string>
	</dict>
	<key>signingCertificate</key>
	<string>Apple Distribution</string>
	<key>signingStyle</key>
	<string>manual</string>
	<key>stripSwiftSymbols</key>
	<true/>
	<key>teamID</key>
	<string>4FGZ451254CF</string>
	<key>uploadSymbols</key>
	<false/>
</dict>
</plist>

My yml :
- task: DownloadSecureFile@1
  name: exportOptions
  inputs:
    secureFile: 'exportOptions.plist'

- task: FlutterBuild@0
  displayName: "Build application"
  inputs:
    target: 'ipa'
    buildName: '$(MajorMinorPatch)'
    buildNumber: '$(BuildNumber)'
    projectDirectory: '$(Build.SourcesDirectory)'
    verboseMode: true
    exportOptionsPlist: '$(exportOptions.secureFilePath)'


Parser breaks on overridden builtins

$ $(nix-build -A haskellPackages.hnix)/bin/hnix lib/attrsets.nix > /dev/null
Parse failed: ErrInfo {_errDoc = lib/attrsets.nix:5:34: error: expected: "${",
    ";", identifier, string
  inherit (import ./trivial.nix) or;
                                 ^   , _errDeltas = [Directed "lib/attrsets.nix" 4 33 112 33]}

Thanks for all of these reports, @domenkozar! We can turn them all into tests.

Indeed :) I want through all nix files in nixpkgs to see how many times hnix chokes. So, 4 bugs left :)


S3 object storage - more metrics & dashboard/s

Describe the solution you'd like
Add new metrics like size of buckets, list of buckets, objects count, request per buckets
Add a new dashboard/s to view metrics of S3 object storage
Additional context
Add any other context or screenshots about the feature request here.

ONTAP or Storagegrid

ONTAP

+1

See also https://github.com/NetApp/harvest/discussions/1749

I am also looking forward to the S3 dashboards. Where can I download an initial version?

hi @LukaszWasko this dashboard will be included in the 23.05 release of Harvest. If you want to try it out before the next release, you can grab the latest nightly build.

Verified on 3ffa2eb5


RawValue should work with xml-encode en json-encode layout renderers

This should work if the #1332 is working:
<parameter name="@Request1" layout="${xml-encode:inner=${event-properties:value1}}" />
<parameter name="@Request2" layout="${json-encode:inner=${event-properties:value1}}" />

replaced with format=@


Rancher breaking when imported cluster is removed externally

Rancher versions:
rancher/server or rancher/rancher: 2.0.8
Infrastructure Stack versions:
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable): 1.11.3
Docker version: (docker version,docker info preferred)
Containers: 10
Running: 7
Paused: 0
Stopped: 3
Images: 8
Server Version: 18.02.0-ce
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: N/A (expected: 9b55aab90508bd389d7654c4baf173a981477d55)
runc version: 9f9c96235cc97674e935002fc3d78361b696a69e
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-514.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 7.639GiB
Name: infratools
ID: YGXH:7QJA:CO53:XXBI:FLMF:FX2M:SK4D:RZV6:7QIW:PJLH:NDLT:HLT3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
3.10.0-514.el7.x86_64
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
VMWare esxi (rancher node)
Baremetal (kubernetes cluster/workers)
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
k8s rancher 2 / imported cluster
Steps to Reproduce:
After importing a kubernetes baremetal cluster, the cluster is stopped but not removed for Rancher. (Stopped from k8s).
Bootstrapped with kubespray
Rancher stops responding on web, and logs are overflowing with errors nonstop:
Results:
Rancher Container dos not stop (by itself) even though the interface is not responding.
Docker logs are flooding non-stop:
2018/09/26 04:28:05 [ERROR] failed on subscribe statefulSet: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe namespacedCertificate: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe cronJob: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe persistentVolumeClaim: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe namespacedSecret: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe ingress: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe namespacedBasicAuth: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe namespacedServiceAccountToken: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe deployment: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe ingress: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe service: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe replicaSet: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe daemonSet: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe job: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe namespacedServiceAccountToken: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe namespacedDockerCredential: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe deployment: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe cronJob: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe statefulSet: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe replicationController: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe replicationController: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe statefulSet: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe replicaSet: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe deployment: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe deployment: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe persistentVolumeClaim: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe replicaSet: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe statefulSet: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe service: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe namespacedSshAuth: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe replicationController: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect
2018/09/26 04:28:05 [ERROR] failed on subscribe job: ClusterUnavailable 503: could not contact server: Get https://<IP_ADDRESS>:443/version?timeout=30s: waiting for cluster agent to connect

Docker stop does not stop when issuing a docker stop command.
docker stop 263aa32e7f96
Error response from daemon: cannot stop container: 263aa32e7f96: Cannot kill container 263aa32e7f96dea52623f7908c5c80778383fc8f11639166c8ed537227c16cdb: connection error: desc = "transport: dial unix /var/run/docker/containerd/docker-containerd.sock: connect: connection refused": unknown

(other docker commands continue working)
@rdglinux

So, was this confirmed/fixed? It's a problem if more than one clusters are dependant on rancher in a production environment....


Filter like full text search

Hi David,
I have a database in which I'd like to perform a kind a full text search:

In a search field the user can type words
I want to search for those words in several fields (but in a single collection)
One of the field is an array of strings.
I'm currently using the Linq to Object query (but I'm open to another approach)

Could you explain me how to achieve such kind of query if it's possible?
Thanks for your help and for this great library !

Hi @ju2pom, in a very long time ago I pretend to implement full text search on LiteDB... it's is a branch called FTS. But it's quite complicated and I abandoned the idea.
There is Lucene.net for this. And also, there are a plugin that implement lucene disk inside LiteDB.

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!


Are you dead？

Are you dead？

希望作者只是一时心情不好

加油

I know this pain... it will make you the must lonely and unwanted between people...
But anyone that experience pain, will find treasure after that. if someone want to send something expensive just for you to nobody else touch it, the best way is hiding that between trashes, to no one can find it.
I hope soon you be alive man... your codes are alive, and the people that use it, start again...

I know this pain... it will make you the must lonely and unwanted between people...
But anyone that experience pain, will find treasure after that. if someone want to send something expensive just for you to nobody else touch it, the best way is hiding that between trashes, to no one can find it.
I hope soon you be alive man... your codes are alive, and the people that use it, start again...


facebook::react::Recoverable: Could not open file/data/user/0/com.xxx.yyy/files/rn/main.jsbundle: No such file or directory

I meet with the problem of my release app on line. help!
the React Native version is 0.60.4
stacktraces as follows:
com.facebook.jni.CppException
facebook::react::Recoverable: Could not open file/data/user/0/com.xxx.yyy/files/rn/main.jsbundle: No such file or directory
1 com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromFile(Native Method)
2 com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromFile(CatalystInstanceImpl.java:233)
3 com.facebook.react.bridge.JSBundleLoader$2.loadScript(JSBundleLoader.java:47)
4 com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:261)
5 com.facebook.react.k.a(ReactInstanceManager.java:1175)
6 com.facebook.react.k.a(ReactInstanceManager.java:125)
7 com.facebook.react.k$5.run(ReactInstanceManager.java:951)
8 java.lang.Thread.run(Thread.java:929)

Hi @andyhaha could you follow the issue template and verify this happens on the latest version?

Hi @andyhaha could you follow the issue template and verify this happens on the latest version?

It happens on version 0.60.4

Hi @andyhaha could you follow the issue template and verify this happens on the latest version?

It happens on version 0.60.4

Hi @andyhaha could you follow the issue template and verify this happens on the latest version?

It happens on version 0.60.4, and it is a release js bundle.

Hi @andyhaha could you follow the issue template and verify this happens on the latest version?

It happens on version 0.60.4, and it is a release js bundle.

Is there a solution？

any update?

still no answer for my problem？

no answer, no work, and go home

I also have the same issue. I'm Using react-native 0.67.2

I have also the same issue . I'm Using react-native 0.67.3
facebook::react::Recoverable: Could not open file/data/user/0/com.yaya.zone/files/rn-resource/RNBundle/index.android.bundle: No such file or directory

AHA, I have the same problem

AHA, I have the same problem

Ha, guys, I found a way to deal with this
@safaiyeh @andyhaha
React Native found in the C + + code, they are required to full amount of name, I suggest React Native to change the documentation!
     ((CatalystInstanceImpl)instance).loadScriptFromFile(filePath$Name,filePath$Name ,false);
     ((CatalystInstanceImpl)instance).loadSplitBundleFromFile( filePath$Name, filePath$Name);

    my filePath$Name like this  => ( /storage/emulated/0/Android/data/com.example.myapprnn/files/Bundle/staging/index.android.bundle  ) It comes from my File system in android

Any solution? Still facing the issue
react-native-code-push: 7.0.4
react-native: 0.68.6


test whether random_crop_and_flip is faster if it uses a single map_fn

See this function:
https://github.com/tensorflow/cleverhans/blob/827fd70568c911a4185aa1136f80f0043298cbb3/cleverhans/augmentation.py#L16


Implement interp for interpolating between chunks of data (dask)

[ ] Closes #4078
[ ] Tests added
[ ] Passes isort -rc . && black . && mypy . && flake8
[ ] Fully documented, including whats-new.rst for all changes and api.rst for new API

Hello @pums974! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file xarray/core/missing.py:

Line 860:23: F821 undefined name 'List'

In the file xarray/tests/test_interp.py:

Line 752:9: F841 local variable 'dims' is assigned to but never used

On my computer it passes pytest:
$> pytest .
======================= test session starts =================================
platform linux -- Python 3.8.3, pytest-5.4.3, py-1.8.2, pluggy-0.13.1
[...]
===== 3822 passed, 2710 skipped, 77 xfailed, 24 xpassed, 32 warnings in 48.25s ========

$> pip freeze
appdirs==1.4.4
attrs==19.3.0
black==19.10b0
click==7.1.2
dask==2.18.1
flake8==3.8.3
isort==4.3.21
mccabe==0.6.1
more-itertools==8.4.0
numpy==1.18.5
packaging==20.4
pandas==1.0.4
pathspec==0.8.0
pluggy==0.13.1
py==1.8.2
pycodestyle==2.6.0
pyflakes==2.2.0
pyparsing==2.4.7
pytest==5.4.3
python-dateutil==2.8.1
pytz==2020.1
PyYAML==5.3.1
regex==2020.6.8
scipy==1.4.1
six==1.15.0
toml==0.10.1
toolz==0.10.0
typed-ast==1.4.1
wcwidth==0.2.4
-e git+git@github.com:pums974/xarray.git@c47a1d5d8fd7ca401a0dddea67574af00c4d8e3b#egg=xarray

Thanks for this contribution @pums974! We appreciate your patience in awaiting a review of your PR.

No problem, we are all very busy. But thanks for your message.

Hi @pums974
Thanks for sending the PR.
I'm working to review it, but it may take more time.
A few comments;
Does it work with an unsorted destination?
e.g.,
da.interp(y=[0, -1, 2])

I'm feeling that the basic algorithm, such as np.interp-equivalence, should be interpreted in upstream.
I'm sure Dask community welcomes this addition.
Do you have an interest on it?

What are your versions of dask and numpy ?
As for implementing this in dask, you may be right, it probably belong there,
But I am even less use to their code base, and have no clue where to put it.
And for unsorted destination, that's something I didn't think about.
maybe we can add an argsort at the begging.

@pums974, the CI gets the same error (e.g. here) so you should be able to reproduce this by setting up an environment with something like
conda env create -f ci/requirements/py38.yml -n xarray-py38
conda activate xarray-py38

As for implementing this in dask, you may be right, it probably belong there,
But I am even less use to their code base, and have no clue where to put it.

OK.
Even so, I would suggest restructuring the code base;
maybe we can add an interp1d equivalence into
core.dask_array_ops.interp1d
which works with dask-arrays (non-xarray object).
It'll be easier to test.
The API should be the as same with scipy.interp.interp1d as possible.
In missing.py, we can call this function.

Hum, ok, but I don't see how it would work if all points are between chunks (see my second example)

Hum, ok, but I don't see how it would work if all points are between chunks (see my second example)

Maybe we can support sequential interpolation only at this moment.
In this case,
res = data.interp(x=np.linspace(0, 1), y=0.5)

can be interpreted as
res = data.interp(x=np.linspace(0, 1)).interp(y=0.5)

which might not be too difficult.

ok, but what about
res = data.interp(y=0.5)

I mean, in this case you have to interpolate in another direction. You cannot consider having a 1d function.

@fujiisoup I managed to solve the issues you raised about  AttributeError: 'memoryview' object has no attribute 'dtype'
This was due to datetime index. Using an IndexVariable seems to solve it
Also I realize that for 1d interpolation cubic and quadratic method are allowed which may not give the same result with chunked data (or even crash if there is not enough data in the chunked direction). Now they are forbidden

Thanks, @pums974 for this update.
I left some comments.
Can you add some tests for more edge cases?
Something we may want to check would be
* scalar interpolation
* interpolation into an unsorted dimension (e.g., `da.interp(x=[0, 3, 2])`)

Your welcome, thanks for the feedback

scalar interpolation: you mean a test like test_interpolate_nd_scalar but between chunks ?
Unsorted interpolation: As I said, I did not looked into it, This need some work, presumably an argsort at the begining in order to interpolate in a sorted dimension and reorder the result into the requested order.
I'm trying to implement it, but this seems a bit more challenging than I thought.

@fujiisoup I managed to work it through the support for unsorted interpolation.
Also, I reworked the tests, I now test for much more situations.

Thanks @pums974 for this update and sorry for my late response.
It looks good but I'll take a deeper look in the next week.

While at it, I added the missing bit to make it work with cubic or quadratic method.
I'm not touching the code anymore, waiting for review.

Guys, I got it.
I managed to use da.blockwise which allows me to overcome all the previous limitations.
The result is much more simple, much more reliable.

Since I was on it, I extended the decomposition of orthogonal interpolation.
If you want I can break this into two PR.

FYI, don't merge yet. I fixed a bug today, but did not push it.
And there is some work to do on the testing side.

OK.
If you have additional time, it would be nicer if you could add more comments on tests, like what is being tested there ;)

OK, I'm happy with the results now (better than my first submission of course).
I did not add so much tests since the result replace what was done before,
thus the previous tests applies.
I'm going for some holidays so I won't work that much for the time being.
But I'll be able to answer any questions.
Thanks for the reviewing and pushing me into doing a much better job.

Hi!  This work is interesting to me, as I was implementing in dask an image processing algo which needs an intermediate 1-d linear interpolation step.  This bottlenecks the calculation through a single node.  Your work here on distributed interpolation is intriguing, and I'm wondering if it would be useful in my work and if it could possibly become part of dask itself.
Here is the particular function, which you'll note has a dask.delayed wrapper around np.interp.

Hi.
I agree, part of this work might belong in dask. But I don't know dask internals enough to go there.
In this case, everything was already in place.
Moreover I do think that there is room for optimization.
In particular, in this implementation, the work is distributed along chunks corresponding to destination. This means that one may have big intermediate array.
For example interpolating one value in a chunked vector will load the full vector in memory (first localization aside).
In my previous implementation (and uglier), the interpolation was done with the chunks of the starting array. This might be a better choice sometimes.

This PR looks good for me.
Maybe we can wait for a few days in case anyone has some comments on it.
If no comments, I'll merge this then.

Thanks @pums974 :)

You're welcome :)

Hi
Just curious about this.  I followed the discussion since this issue addressed.  Is this chunk interpolation solved already?

@cyhsu
Yes, in the current master.

@fujiisoup Thanks for letting me know. But I am still unable to do even though I have updated my xarray via "conda update xarray".

@cyhsu Yes, because it is not yet released.
(I'm not sure when the next release will be, but maybe a few months later)
If you do pip install git+https://github.com/pydata/xarray, the current master will be installed in your system and interpolation over the chunks can be used.
But note that this means you will install (a kind of) beta version.

@fujiisoup  Thanks for the response. Since I have not updated my xarray package through this beta version. I hope you can answer my additional question for me.  By considering the interpolation, which way is faster? a. chunk the dataset, and then do interpolation or b. chunk the interpolation list and then do interpolation?
a.
datax = xr.DataArray(data=da.from_array(np.arange(0, 4), chunks=2),
                     coords={"x": np.linspace(0, 1, 4)},
                     dims="x")
datay = xr.DataArray(data=da.from_array(np.arange(0, 4), chunks=2),
                     coords={"y": np.linspace(0, 1, 4)},
                     dims="y")
data = datax * datay

# both of these interp call fails
res = datax.interp(x=np.linspace(0, 1))
print(res.load())

res = data.interp(x=np.linspace(0, 1), y=0.5)
print(res.load())

b.
datax = xr.DataArray(data=np.arange(0, 4),
                     coords={"x": np.linspace(0, 1, 4)},
                     dims="x")
datay = xr.DataArray(data=np.arange(0, 4),
                     coords={"y": np.linspace(0, 1, 4)},
                     dims="y")
data = datax * datay

x = xr.DataArray(data = da.from_array(np.linspace(0,1), chunks=2), dims='x')
res = data.interp(x=x)

@cyhsu I can answer this question.
For best performance you should chunk the input array on the non interpolated dimensions and chunk the destination. Aka :
datax = xr.DataArray(data=np.arange(0, 4),
                     coords={"x": np.linspace(0, 1, 4)},
                     dims="x")
datay = xr.DataArray(data=da.from_array(np.arange(0, 4), chunks=2),
                     coords={"y": np.linspace(0, 1, 4)},
                     dims="y")
data = datax * datay

x = xr.DataArray(data = da.from_array(np.linspace(0,1), chunks=2), dims='x')

res = data.interp(x=x)

@pums974  then how about if we do the interpolation by using chunk input array to the chunk interpolated dimension?

If the input array is chunked in the interpolated dimension, the chunks will be merge during the interpolation.
This may induce a large memory cost at some point, but I do not know how to avoid it...

Do this answer your question?

Gotcha! Yes it is. If I have many points in lat, lon, depth, and time, I should better chunk my input arrays at this stage to speed up the performance.

In your case, each task (20 000) will have the entire input (100²), and interpolate a few points (5²).
Maybe the overhead comes with duplicating the input array 20 000 times

I forgot to take into account that the interpolating are orthogonal
So in sequential we are doing 2 interpolation first x then y
In parallel we do the same:
The fist interpolation will have 20 000 tasks, each task will have the totality of the input array, and compute an interpolation of 5 point of the output (x) producing an array of 5x100 per task or 100 000x100 full result as an intermediate array.
The second interpolation will have 20 000² tasks each task will have a block of 5x100 point of the intermediate array and compute an interpolation on 5 point of the output (y) resulting in a 5² array per task and the 100 000² full result.
So plenty of room for overhead...

And I forgot to take into account that your interpolation only need 47² points of the input array, so the input array will be reduced at the start of the process (you can replace every 100 by 47 in my previous answers)

@max-sixty Is there a timeline on when we can expect this feature in a stable release? Is it scheduled for the next minor release and to be made available on conda and pip?


(PUP-7326) Add ADSI / Principal localizations

Add _() calls for localizable strings, so that it will be easier
after the next merge (which will have a few easily resolved
merge conflicts) to perform automated merge-ups

This will still cause a few minor merge conflicts that must be resolved (no wary around that), but on merge-up, we can now apply the strategy to take the 4.10.x branch changes.

CLA signed by all contributors.

Per @LarissaLane translator notes are not necessary here, so this should be ready to merge if there are no other issues.


Do better segmentation

We should take inspiration from https://github.com/fxsjy/jieba either finding a Java a library to do so or producing our own implementation. My understanding is that it works by producing a DAG and looking at all the possible ways of segmenting a sentence/clause and using word frequency to calculate a probability.

The Java equivalent does exist in Maven:
https://mvnrepository.com/artifact/com.huaban/jieba-analysis
https://github.com/huaban/jieba-analysis
It does look unmaintained though - I don't know if it'll need upgrading for use with newer Java versions etc


Clear review page on agent change

If you change your agent you are going to see for a second the messages from the previous agent in the review page

Closed by https://github.com/samtecspg/articulate/commit/2c3fb87b1565e0d95ce3520a9d6d4214fe16309a


PR for MSLQ-61: References

Updates the References section and related content for the documentation.
Right now I have the content from the existing documentation in the Reference section. Do we have more papers that need to be added? I'd guess this is a bit outdated at this point. Make sure to check the TODOs as there are a couple of things to address before the PR should be approved.

Updates the main page.

Moves papers content over to References page.
Adds some links throughout the page.
Fixes some formatting.

Adds content to the References page.

@ericcristofalo great ideas. I'll modify with the changes.
The only one I'm concerned about is how we do the bibtex entry. You suggested a single bibtex at the top to be the default reference for people to use. This is a great idea, but which to use? Hopefully the one most geared towards the specifics of this repo and drone hardware. Should we use TRO? We could also have a clickable link to a large bibtex file with all entries or single bibtex files for each paper with links like the pdfs? What do others think @rhaksar @k2shah @cacadam89 @haruki-msl @lowjunen

Awesome! Super minor things:
1. My TCST publication is apparently out of date on the website (sorry!). Please use this one:
   E. Cristofalo, E. Montijano and M. Schwager, "Vision-Based Control for Fast 3-D Reconstruction With an Aerial Robot," in IEEE Transactions on Control Systems Technology, vol. 28, no. 4, pp. 1189-1202, July 2020, doi: 10.1109/TCST.2019.2905227

2. Suuuuper minor, but there are small discrepancies between citations like Dingjiang's vector field paper that has a period between the pages and year, while the others have a comma. There is also a period at the end of the second citation.

3. Maybe remove the "note" at the top and remove the word "consider" to make their decision easy ;)

Otherwise, looks great!

No worries! I'll update it!
Good eye. I was trying to look for these and I guess I missed them. I'll definitely fix it.
Do you think we should have another directive here instead of "note" or just remove and make it normal text? (important, attention, nothing?)

@ericcristofalo great ideas. I'll modify with the changes.
The only one I'm concerned about is how we do the bibtex entry. You suggested a single bibtex at the top to be the default reference for people to use. This is a great idea, but which to use? Hopefully the one most geared towards the specifics of this repo and drone hardware. Should we use TRO? We could also have a clickable link to a large bibtex file with all entries or single bibtex files for each paper with links like the pdfs? What do others think @rhaksar @k2shah @cacadam89 @haruki-msl @lowjunen

so i'm under the impression that there's gonna be some kind of bibtex repo from the website folks. could we link a relevant portion of that in? would be a good publicity method for both the repo and the lab website if users end up having to view both. for example the repo page could mirror a curated section on the website with a link at the bottom pointing to the entire list of papers (for further reference)


[WIP]feature: docker start chain locally (deployment testing for developers)

add on docker script
modify appsettings and get methods
This docker image is used to start chain locally, it's just used to test deploy for developers.

Migrated relevant files to aelf-developer-tools. Close this PR, and open another PR.


Manual input labels glitch in right-to-left languages

I'm working on an app with Hebrew support, and Card.IO's manual input view controller has some UILabels out of place (the right screen edge). I think it's some kind of a layout issue.

P.S.
The layout is different for RTL languages, It has three rows instead of two. Is that intentional?

Thanks for bringing this to our attention, @danieltskv. We'll see if we can reproduce this.

The layout is different for RTL languages, It has three rows instead of two. Is that intentional?

Actually, the layout is different not for RTL languages, but is based on whether the labels for each field would fit into the 2-row format. In this case, the string for "postal code" is too long to fit.
However, in the current version of card.io, that string is shorter than the one appearing in your screenshot. What version of card.io are you using?

@danieltskv I've edited my original response regarding the version of card.io involved. Sorry -- I was looking at the wrong string in our resources.

Yup, I can reproduce this issue. Things were fine in iOS 7, but apparently layout in iOS 8 is slightly different.
A fix will be coming soon.

@dgoldman-ebay Great! I haven't finished writing a response and you already managed to check things out.
Cheers!

@danieltskv It's a bit late in the day on a Friday for me to push out a card.io release. Probably this fix will get released on Tuesday (Jan 13).

@dgoldman-ebay It's totally fine. thank you for the fix!

Forgot to post here earlier today! This issue has indeed now been fixed. And I improved the two-rows vs. three-rows situation while I was there. https://github.com/card-io/card.io-iOS-SDK/releases


Update docs conf

What does this PR do?

fixing #460;

Before submitting

[x] This PR is made to fix a typo or improve the docs (you can dismiss the other checks if this is the case).
[x] Was this discussed/approved via a GitHub issue? Please add a link to it if that's the case.
[x] I have commented my code, particularly in hard-to-understand areas.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 83.821%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
10419

Relevant Lines:
12430

💛  - Coveralls


📦 NEW : DevOps ---> Job-Boards

Hi, I wanted to add a new job hunting website in the /DevOps ---> Job-Boards folder. Can I create a PR ?
Thanks :)

Sure go ahead


"Installation instructions", and especially dependencies, needed

For the JOSS review, https://github.com/openjournals/joss-reviews/issues/4942, please include clear installation instructions.  From the review checklist:
Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
This will help the user greatly.

I agree; for the installation instructions, you could consider moving steps 1 - 4 in the
docs tutorial 1 to the docs install.
For the dependencies, a setup.py in the top level of the codebase should list all dependencies in the scripts (numpy, etc.).
See #13  for further discussion on both points.
https://github.com/openjournals/joss-reviews/issues/4942

Thank you very much for your suggestions.
One of the main ideas of the package is to be as simple to use as possible. In its current version, SIMIO does not need any additional dependency to be installed, neither internal installs of the package. The package is ready to use after being downloaded, as long as a template and a project have been included. I moved the first and second step of tutorial 1 to the installation.
Since the package is executed from the CASA terminal, the python libraries such as numpy or scipy are already included in the python of CASA, and thus the user does not need to install them independently in their own python. I included additional clarification that CASA needs to be installed in order to use SIMIO.

I agree with @jeffjennings suggestion to modify the text slightly to specify this.
I think that the https://simio-continuum.readthedocs.io/index.html#document-content/simio_installation section is good for installation.  I see that there is a file called requirements.txt.  This would be a list of dependencies that should be outlined, right?

Hi Adele,
The list of dependencies in docs/requirements.txt only applies for the webpage in redthedocs and the compilation of the documentation pdf. The reason this list is so long is because I had to test many things to fix the problem with the rendering of the equations.
Other than that, the only requirement for SIMIO-continuum should be CASA v5.X or v6.X, as described in the installation instructions.

I see, thank you for considering this, and for adding the clarification. I think it would still be nice to have the package be standalone, but since the current functionality is what's detailed in the paper, of course that's up to you. But could you be a bit more explicit in the paper that SIMIO is a set of programs designed to be run in CASA?
I'd suggest something like changing line 34 in the paper from "SIMIO-continuum is a python-based package for CASA" to "SIMIO-continuum is a set of Python modules designed to be executed within a CASA Python environment".

Thanks for making this change to the wording in the paper. I'm happy for this issue to be closed when Adele is.


OpenSSL support for z/OS

We are using OpenSSL 1.1.0 with some modifications on z/OS. While using OpenSSL 1.1.0 as a static library works fine, it is currently not possible to use OpenSSL 1.1.0 in the context of a shared library. If the calling process decides to unload the shared library, there is a crash when the calling process exits, because the cleanup routines registered via atexit() are no longer available after the unloading of the shared library.
The reason is that for z/OS no platform-specific code exists that protects the shared library from unloading by deliberately leaking a reference to the shared library. See the relevant code in crypto/init.c:
https://github.com/openssl/openssl/blob/f2828a14fbe2ce56b5090f45b2a9a6e749d33b22/crypto/init.c#L143
This issue is related to the discussion in issue #7388, and @mattcaswell asked me create a separate issue for the z/OS problem.

Patches for z/OS would also be welcome. It has been on my list to complete that work.

You could also link with -Wl,-znodelete and compile with -DOPENSSL_USE_NODELETE which is what we have done for this issue while we add support for atexit handlers for unloading libraries.

Patches for z/OS would also be welcome. It has been on my list to complete that work.

@t-j-h: In what form would you want the patches, and against what baseline?
Our OpenSSL codebase has additional changes beyond z/OS+EBCDIC support, and we are using OpenSSL 1.1.0 currently. So it would require some additional effort to prepare a patch that only includes our EBCDIC-specific code. It is also possible and even likely that EBCDIC support is incomplete, as we are only using a small fraction of OpenSSL's functionality, and we are testing OpenSSL only in the context of our application.
Nevertheless we would be very interested if we can help to get official z/OS support into OpenSSL.

PRs against master is what are the most useful - and not all lumped into a single patch.
Separately if you want some views on the approach you have taken feel free to contact me directly and I can take a look at what you have done. I've been through multiple sets of approaches - but we haven't ever had a set of patches that get us to the point of the test suite fully working. Getting the library working isn't that hard - but ensuring all the test applications compile and operate is the challenge.
That is the "bar" to get decent support in place and what has slowed me down is being busy on other things and also that my z/OS environment is z/PDT so it is an emulation - and it is very slow to work with.

I'll disagree with Tim on one point: if it's hard for you to transport your changes to the master branch, I think it's better that we get clean patches against whatever OpenSSL base line you use (1.1.0), and we can use git to transport the changes to whatever branch we see fit.
Of course, we do appreciate it if you turn of with PRs against master, should that be easy enough for you.

As a first step I will try to run the test suite. In the past that was a hopeless effort, but maybe it is easier with OpenSSL 1.1.0.

@dlegaultbbry: Thank you for the suggestion, but I'm afraid that -Wl,-znodelete is not a valid option for the z/OS compiler/linker.

@t-j-h: With a small change in the top-level Makefile I was able to run the test suite, and it reported about 40 failed tests of 504 tests executed. I did not find any log files to examine what actually went wrong. How can I find out why a test actually failed?
I will contact you by email how to proceed with the patches.

Top level Makefile? With 1.1.0, there is only one Makefile (top-level indeed)
Anyway, the method to get verbosity out of the tests is this: make test V=1
You can also select exactly what tests to run like this: make test V=1 TESTS='test_evp test_enc' (I hope it's obvious what those names correspond to)

Top level Makefile? With 1.1.0, there is only one Makefile (top-level indeed)

You're right. I was so used to the old build system that I hadn't realized up to now that this is the only Makefile left except for
./demos/bio/Makefile
./demos/evp/Makefile

I was so used to the old build system ...

Yup, gotcha.  I was wondering, for a moment, if there was a more serious mixup there.  Glad it was just a slip.

I've transformed the issue into a generic OpenSSL support for z/OS one. Of course it would need a community to support this - providing patches and so on.

Doesn't the work that @p-steuer did cover this? Or are there still things that don't work on z/OS?

@smuehlst Are there still any further issues to solve?

The original problem for which I opened this issue has been resolved (crashes with dynamic linking and atexit() handlers on z/OS).
We are currently using a version from the OpenSSL_1_1_1-stable branch which has some patches of us on top for fixing EBCDIC issues. We plan to switch to OpenSSL 3.0 in the future, but we haven't tried a 3.0 release candidate yet.
This will go along with the switch to a new compiler on z/OS. There is now an clang-based compiler for z/OS available from IBM which we will use for all future development. This will maybe make some things easier, but maybe there also will be new issues.
In the past I also gave up after a while when I tried to run the test suite, but this may have improved as well in the meantime.
@t8m: Are you interested in z/OS- and EBCDIC-related issues in the OpenSSL_1_1_1-stable branch, or is the focus on OpenSSL 3.0 now?
@mattcaswell: Regarding the work of @p-steuer I looked at his commits, and I have the impression that he worked on the port for Linux on z/Series machines, which does not involve any EBCDIC-specific code.

@t8m: Are you interested in z/OS- and EBCDIC-related issues in the OpenSSL_1_1_1-stable branch, or is the focus on OpenSSL 3.0 now?

Given the z/OS and EBCDIC is not really working without significant patches on 1.1.1 I do not think we want such changes there. And 3.0 release is imminent so any eventual changes probably won't be merged there. But that does not mean they cannot be merged after the release. So please test OpenSSL 3.0.

Given the z/OS and EBCDIC is not really working without significant patches on 1.1.1 I do not think we want such changes there. And 3.0 release is imminent so any eventual changes probably won't be merged there. But that does not mean they cannot be merged after the release. So please test OpenSSL 3.0.

Ok, we will test OpenSSL 3.0 then, but I can't yet estimate how soon that will happen.
I think this issue can be closed then, and I will open a new issue for OpenSSL 3.0 in the future.


Check executor id consistency when receive stop executor request

Which issue does this PR close?

Closes #333 .
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Looks like we have a bad version for the labeler action.