Remove useLocale

closes: https://github.com/DivanteLtd/vue-storefront/issues/4777
Changes:

our nuxt module adds nuxt-i18n
new section i18n in nuxt module config that configures nuxt-i18n
other integrations (nuxt) modules can consume i18n section as a source of language configuration
commercetools nuxt module also uses i18n section from vsf nuxt module along with configuration api-client
core theme language selector uses nuxt-i18n to display and manage langs
no additional section for i18n, i18 section in our module is single source of truth
useLocale composable was removed, we read i18n information from the app/theme (eg. nuxt-18n if it's in use) or api-client

TODO for @andrzejewsky :

update docs
changelog


Create add cho item page with new template

Build add cho item page based on the requirements in wiki and implement new template

Done with pull request #42


Mixed layer depth

I created a new package for biogeochemical models on Oceananigans and, with @glwagner help, I could create a function to estimate the mixed layer depth from a given buoyancy decrease criterium. Although this is working well for the purpose I had in mind, I believe that the mixed layer depth estimator could be better located in a more general repository. While discussing with @glwagner, he suggested me this repository.
We also had some ideas for improving the algorithm, like leaving for the user to define any general criterium for the mixed layer...  even those which does not depend on the buoyancy? (but then it would be better called boundary layer? idk...).
What do you think about it and if you think this is a good match to this repo, where should I add it? I could first adapt the language and create a PR, adding it as it is and later create another issue for the enhancements.

Food for thought to spark some creativity...
You could consider defining a new operand MixedLayerDepthOperand which is associated with compute! so that
const MixedLayerDepthField = Field{<:Any, <:Any, Nothing, <:MixedLayerDepthOperand}

function compute!(mld::MixedLayerDepthField)
    # code that computes this 2D field
end

the next component is to design the MixedLayerDepthOperand struct so that different criteria can be provided. Probably at the minimum you'd want to give it a buoyancy field and velocity fields. In addition, one design might ask for the entire @kernel function itself (with parameters?) eg
struct MixedLayerDepthOperand{B, U, K, P}
    buoyancy_field :: B
    velocities :: U
    mixed_layer_depth_kernel :: K
    parameters :: P
end

Then the kernel could have a prescribed function signature (eg grid, b, u, v, w, parameters).

I created a new package for biogeochemical models on Oceananigans and, with @glwagner help, I could create a function to estimate the mixed layer depth from a given buoyancy decrease criterium. Although this is working well for the purpose I had in mind, I believe that the mixed layer depth estimator could be better located in a more general repository. While discussing with @glwagner, he suggested me this repository.
We also had some ideas for improving the algorithm, like leaving for the user to define any general criterium for the mixed layer... even those which does not depend on the buoyancy? (but then it would be better called boundary layer? idk...).
What do you think about it and if you think this is a good match to this repo, where should I add it? I could first adapt the language and create a PR, adding it as it is and later create another issue for the enhancements.

Great start with Bioceananigans! I can definitely see a function like that being a part of this repo.
At the moment I think the best place for such an addition is in FlowDiagnostics. However, pretty much everything there is geared towards point-wise diagnostics (mostly because that's what I had in mind when I created the repo). So if there are plans to include more stuff of this nature it can also be productive to create something like a BulkDiagnostics module where these things could go. (I actually already have a background potential density calculation that would fit nicely there...)
Thoughts? Also, feel free to create a PR and we can try things out over there


Reference variable name is wrong

When using a reference variable, such as theme.primaryColor
<ColorInput source="theme.primaryColor" label={'Color'} />

It generates the following:

The issue is that data: {theme: "#7bdcb5"} is wrong, it should be data: {theme:{primaryColor: "#7bdcb5"}}.
Have you ever encountered this issue before @marcantoine ?

I'm not sure I understand the usecase.
Did you surrounded the ColorInput with a ReferenceInput ?
Here is an example of a similar usecase working on my side:
<ReferenceInput source="product.id" reference="Product">
  <SelectInput optionText="name" />
</ReferenceInput>

So in your case, I guess it would be
<ReferenceInput source="theme.id" reference="Theme">
  <ColorInput optionText="primaryColor" label={'Color'} />
</ReferenceInput>

No, I hadn't surrounded my ColorInput by a ReferenceInput.
When I do, I get Uncaught TypeError: Cannot read property 'data' of undefined from getPossibleReferences in ra-core/esm/dataProvider.
Using
<ReferenceInput source="theme.id" reference="Theme">
  <ColorInput source="primaryColor" label={'Color'} />
</ReferenceInput>

Is there a way in your schema to only query themes ? React-admin created dedicated queries for reference.
Also, react-Admin look up the different "ressources" declared in the App to match the reference ?
For example, I have a similar case and I had to add the Ressource in
<Admin dataProvider={dataProvider}>
  <Resource name="Type" />
 </Admin>

Nice tip! Indeed, creating a <Resource name="Theme" /> fixed the issue, it's not crashing anymore.
I had created a dedicated query for Theme:
import gql from 'graphql-tag';

// XXX https://www.apollographql.com/docs/react/advanced/fragments
export const theme = {
  themeFields: gql`
    fragment themeFields on Theme {
      id
      primaryColor
      logo {
        id
        url
        height
        width
        fileName
      }
    }
  `,
};

import { GET_LIST, GET_ONE } from 'react-admin';
import { customer } from '../gql/fragments/customer';
import { product } from '../gql/fragments/product';
import { theme } from '../gql/fragments/theme';

export default {
  Customer: {
    [GET_LIST]: customer.customerFields,
    [GET_ONE]: customer.customerFields,
  },
  Product: {
    [GET_LIST]: product.productFields,
    [GET_ONE]: product.productFields,
  },
  Theme: {
    [GET_LIST]: theme.themeFields,
  },
};

But even this doesn't display the record properly. Here is what happens:
Case 1
When I use <ColorInput source="theme.primaryColor" label={'Color'} />, the edit view displays properly AND the record is found:

Case 2
When  I use a ReferenceInput wrapper, the edit view displays but the record is not found and therefore doesn't load the color correctly:
<ReferenceInput source="theme.id" reference="Theme">
  <ColorInput source="primaryColor" label={'Color'} />
</ReferenceInput>

Using a variant with theme.primaryColor instead of primaryColor doesn't change anything:
<ReferenceInput source="theme.id" reference="Theme">
  <ColorInput source="theme.primaryColor" label={'Color'} />
</ReferenceInput>

Okay, I think I'm trying to do something that's actually not possible.
The goal here was to make the value primaryColor, which is a linked value from a Theme model.
Each Customer has a theme property (instance of Theme model). I was trying to change the customer.theme.primaryColor value, but ReferenceInput  is only meant to change a reference, not the properties related to that reference.
How did you deal with that kind of needs @marcantoine ? Did you ever do that?
I think I need to update the prisma resolved to detect whether the changed property is the "id", if not then it should try to run a nested update, such as {"where":{"id":"ck73s1dqm2ue30b98uepy9is3"},"data":{"theme":{"update": {"primaryColor": "blue"}}}}.

Fixed through https://github.com/UnlyEd/ra-data-graphql-prisma/pull/5


Filter\expectAdded no matching handler found

What am I doing wrong here?
class Example
{
  public function __construct()
  {
    add_filter('template_include', [$this, 'template']);
  }

  public function template(string $template): string
  {
    return 'something';
  }
}

class ExampleTest extends TestCase
{
  protected function setUp(): void
  {
    parent::setUp();
    Brain\Monkey\setUp();
  }

  protected function tearDown(): void
  {
    Brain\Monkey\tearDown();
    parent::tearDown();
  }

  public function testExample()
  {
    Brain\Monkey\Filters\expectAdded('template_include')
      ->with('Example->template()');
    new Example;
  }
}

Returns
There was 1 error:

1) ExampleTest::testExample
Mockery\Exception\NoMatchingExpectationException: No matching handler found for Mockery_0::add_filter_template_include([0 => object(Example), 1 => 'template'], 10, 1). Either the method was unexpected or its arguments matched no expected argument list for this method

/.../vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:92
/.../vendor/brain/monkey/src/Hook/HookExpectationExecutor.php:127
/.../vendor/brain/monkey/src/Hook/HookExpectationExecutor.php:64
/.../vendor/brain/monkey/inc/wp-hook-functions.php:35
/.../src/Example.php:24 (add_filter('template_include', [$this, 'template']))
/.../tests/ExampleTest.php:50 (new Example)

Instead of this:
Brain\Monkey\Filters\expectAdded('template_include')
      ->with('Example->template()');

try this:
static::assertTrue( has_filter( 'template_include', 'Example->template()' ) );

(Or [ Exampl::class, 'template' ] etc.)

Yes that works, but shouldn't the expectation work as well? It seems to be the preferred way to test actions/filters.

I believe Brain\Monkey\Filters\expectAdded()->with() (i.e., essentially a Mockery expectation) does not make use of CallbackStringForm, which has_filter (i.e., internally the HookStorage) does.
Is this assumption corect @gmazzap? And if so, has this been done on purpose?

I saw a version from a blog article that used
expectAdded('filter')->with(function ($cb) {
  return $cb[0] instanceof Example && $cb[1] === 'template';
});

But that also gave me the same result.

@coreyworrell as @tfrommen said, the "string representation" of a callback only works with core functions: has_action, has_filter, did_action... It does not work when using ->with because it is a method from Mockery that I don't control.
When using Mockery methods you have to stick with what Mockery offers.
The latest snippet you posted:
expectAdded('filter')->with(function ($cb) {
  return $cb[0] instanceof Example && $cb[1] === 'template';
});

Will not work because that is telling Mockery to expect the closure as the only argument, which can never be true, because the closure is instantiated right in inside the test.
The correct way should be:
expectAdded('filter')->withArgs(function ($cb) {
  return $cb[0] instanceof Example && $cb[1] === 'template';
});

In fact, withArgs accepts either the array of arguments or a closure to verify them. See http://docs.mockery.io/en/latest/reference/expectations.html#argument-matching-with-closures
Right now, I can't test if in Brain Monkey that works as expected, if you test it please let us know.
Thanks!

Thanks @gmazzap! That's what I was missing, difference between with and withArgs. I refactored my test in a way that didn't require any calls to add_filter, but this looks like the correct way if I need to do so later.

@gmazzap Just tested this again, it does not seem to work. The test passes no matter what. Even this passes:
expectAdded('wp_dashboard_setup')->withArgs(function () {
        return false;
});

Thanks @coreyworrell
I found the issue. When using withArgs() you have to also add an expectation on the times something should happen.
For example:
expectAdded('template_include')
	->once()   // <~ this
	->withArgs(function() { return false; });

or even:
expectAdded('template_include')
	->atLeast()->once()   // <~ this
	->withArgs(function() { return false; });

When using with to verify arguments, that is not required.
At the moment I've no time to dig into the reasons of this unconsistence, but I'll try to see if it issomething that can be fixed in Brain Monkey or depends on Mockery.
If not fixable in Brain Monkey, it should at least be documented.
Thanks for reporting.

Thanks for looking into this and for the fix!


Abort upload

i don't understand how is it possible to abort uploading. can someone show an example?

+1 Did you find a way to abort uploads? I too am looking for this!

yes actually the solution is preatty simple,
you will understand just by looking at my code,
as you can see i defined this.rns3 and i could make an abort in another function that way :
upload() {
      this.rns3 = RNS3.put(file, options)
        .progress((e) => { })
        .then(response => {  })
        .catch(err => { });
  }

  abort() {
     this.rns3.abort();
  }


Exiting chain with error: model 'all-minilm' not found, try pulling it first

Exiting chain with error: model 'all-minilm' not found, try pulling it first
I WAIVER. Too many hours without a solution.
when you make a simple and functional project I will be happy
backend-1   | 2024/04/04 13:43:49 Error adding document: error adding document: model 'all-minilm' not found, try pulling it first
backend-1   | 2024/04/04 13:43:49 error from evaluator: Error adding document: error adding document: model 'all-minilm' not found, try pulling it first
backend-1   | 2024/04/04 13:43:49 Error adding document: error adding document: model 'all-minilm' not found, try pulling it first
backend-1   | 2024/04/04 13:43:49 error from evaluator: Error adding document: error adding document: model 'all-minilm' not found, try pulling it first
rst
backend-1   | 2024/04/04 13:43:27 INFO Creating new session session=9b2eea7b-c5eb-4662-908c-2435f77d3c75
backend-1   | 2024/04/04 13:43:27 INFO Starting agent chain session=9b2eea7b-c5eb-4662-908c-2435f77d3c75 userQuery="{Prompt:how much do OpenAI and Microsoft plan to spend on their new datacenter? MaxIterations:30 ModelName:knoopx/hermes-2-pro-mistral:7b-q8_0 Session:9b2eea7b-c5eb-4662-908c-2435f77d3c75}" startTime=2024-04-04T13:43:27.128Z
searxng-1   | 2024-04-04 13:43:48,208 WARNING:searx.engines.qwant: ErrorContext('searx/engines/qwant.py', 191, 'raise SearxEngineAPIException(f"{msg} ({error_code})")', 'searx.exceptions.SearxEngineAPIException', None, ('unknown (27)',)) False
searxng-1   | 2024-04-04 13:43:48,209 ERROR:searx.engines.qwant: exception : unknown (27)
searxng-1   | Traceback (most recent call last):
searxng-1   |   File "/usr/local/searxng/searx/search/processors/online.py", line 163, in search
searxng-1   |     search_results = self._search_basic(query, params)
searxng-1   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng-1   |   File "/usr/local/searxng/searx/search/processors/online.py", line 151, in _search_basic
searxng-1   |     return self.engine.response(response)
searxng-1   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng-1   |   File "/usr/local/searxng/searx/engines/qwant.py", line 151, in response
searxng-1   |     return parse_web_api(resp)
searxng-1   |            ^^^^^^^^^^^^^^^^^^^
searxng-1   |   File "/usr/local/searxng/searx/engines/qwant.py", line 191, in parse_web_api
searxng-1   |     raise SearxEngineAPIException(f"{msg} ({error_code})")
searxng-1   | searx.exceptions.SearxEngineAPIException: unknown (27)
backend-1   | 2024/04/04 13:43:49 Search found 44 Results
backend-1   | 2024/04/04 13:43:49 error from evaluator: no content found

when you make a simple and functional project I will be happy

Ey I'm doing a lot of free work over here :(.
Looks like you're still running on an old version of this repo. Please get the current one.

@Claudioappassionato you can also run ollama pull all-minilm on your Ollama server. This will download the model manually. Then, restart LLocalSearch and try again.
@nilsherzig thanks for you all your hard work. Loving this.

quando realizzerai un progetto semplice e funzionale sarò felice

Ehi, sto facendo un sacco di lavoro gratis qui :(.
Sembra che tu stia ancora utilizzando una vecchia versione di questo repository. Per favore prendi quello attuale.

I'm actually using the one that's on display on the page


x/pkgsite: forward slash does not initiate find in page on Firefox

What is the URL of the page with the issue?
https://pkg.go.dev/k8s.io/client-go/kubernetes?tab=doc
What is your user agent?

Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Screenshot

What did you do?

Used the '/' key
What did you expect to see?
Firefox' "find in page"
What did you see instead?
Nothing. Something on the site seems to break '/' searching. (It was also broken on godoc.org, where it highlighted a search box that didn't search in the page.)

/cc @julieqiu @jba @jamalc

Fixed


calling navigate with relative path url "../newpath" appends to current url

Describe the bug
Given I'm on a page
/show/home/fiction/333
and I call
const navigate = useNavigate();
navigate("../similar/333")
It redirects to /show/home/fiction/333/../similar/333
Your Example Website or App
None
Steps to Reproduce the Bug or Issue
Described above
Expected behavior
Expecting Router to support relative paths
It should redirect to /show/home/similar/333
Screenshots or Videos
No response
Platform
Mac + Chrome
Additional context
No response

I assume it's not supported...

Doesn't look like this is doing any logic to check for ../ or ./

Yeah we never implemented relative paths like that.

Are you planning on supporting this or should I go with absolute paths?


How to Contribute or Developer Documentation?

Hey, is there a document which I can refer to get started with this?
I would like to contribute to this project. If there is no such document, I could start with creating that doc itself.

Hi @umgupta I'm glad you're interested. Most of the action right now is in aima-python and aima-java; we could certainly use help in javascript!

Yes, I know they have got the GSOC attention. However, I am more interested in creating nice visualizations.
I have some experience with JS libraries (BackBone, React) and creating Single Page applications(SPA). I also have some experience with setting up a SPA project (I see a post where this was being discussed).
I think I can work on this but how should I start? Do you have any guideline as to how things should be done and what is to be done ?
I would be happy to start right away, if you could give some pointers.

I have thought of a naive method of just distributing chapters to everyone.
https://github.com/aimacode/aima-javascript/issues/27

@norvig
Hello Sir,
I am interested in implementation of AIMA in javascript and visualization of algorithms in it. Can you please guide me how I can start with it.
Thanks

@shubhrajodiya
For setting up you should read the main page.
Visit the static hosted site to get a feel for it.
Check the current contribution status over here
Post whatever you are interested in, over here


xFormers wasn't build with CUDA support

trying start training on windows with RTX 3050 8GB
<EMAIL_ADDRESS>is not supported because:
xFormers wasn't build with CUDA support
operator wasn't built - see python -m xformers.info for more info
cutlassF-pt is not supported because:
xFormers wasn't build with CUDA support
-xformers 0.0.28.post3
-pytorch 2.5.1
-pytorch-cuda 12.1
-python 3.11.10
python -m xformers.info give me this
xFormers 0.0.28.post3
memory_efficient_attention.ckF:                    unavailable
memory_efficient_attention.ckB:                    unavailable
memory_efficient_attention.ck_decoderF:            unavailable
memory_efficient_attention.ck_splitKF:             unavailable
memory_efficient_attention.cutlassF-pt:            available
memory_efficient_attention.cutlassB-pt:            available
<EMAIL_ADDRESS>            unavailable
<EMAIL_ADDRESS>            unavailable
<EMAIL_ADDRESS>            unavailable
<EMAIL_ADDRESS>            unavailable
memory_efficient_attention.triton_splitKF:         available
indexing.scaled_index_addF:                        available
indexing.scaled_index_addB:                        available
indexing.index_select:                             available
sequence_parallel_fused.write_values:              available
sequence_parallel_fused.wait_values:               available
sequence_parallel_fused.cuda_memset_32b_async:     available
sp24.sparse24_sparsify_both_ways:                  available
sp24.sparse24_apply:                               available
sp24.sparse24_apply_dense_output:                  available
sp24._sparse24_gemm:                               available
<EMAIL_ADDRESS>                available
<EMAIL_ADDRESS>                       available
swiglu.dual_gemm_silu:                             available
swiglu.gemm_fused_operand_sum:                     available
swiglu.fused.p.cpp:                                available
is_triton_available:                               True
pytorch.version:                                   2.5.1
pytorch.cuda:                                      available
gpu.compute_capability:                            8.6
gpu.name:                                          NVIDIA GeForce RTX 3050
dcgm_profiler:                                     unavailable
build.info:                                        available
build.cuda_version:                                None
build.hip_version:                                 None
build.python_version:                              3.11.10
build.torch_version:                               2.5.1
build.env.TORCH_CUDA_ARCH_LIST:                    None
build.env.PYTORCH_ROCM_ARCH:                       None
build.env.XFORMERS_BUILD_TYPE:                     None
build.env.XFORMERS_ENABLE_DEBUG_ASSERTIONS:        None
build.env.NVCC_FLAGS:                              None
build.env.XFORMERS_PACKAGE_FROM:                   None
source.privacy:                                    open source
how i can install or build xformers with CUDA support?

Apologies on the delay - another option is to ignore xformers ie pip uninstall xformers then just use Unsloth as is

Apologies on the delay - another option is to ignore xformers ie pip uninstall xformers then just use Unsloth as is

thx for help. i am already switch on Ubuntu and now got this issue #1376


Different account's profile may be displayed

Describe the bug
On Home, a different account's profile may be displayed even though you click your own icon.
To Reproduce
Steps to reproduce the behavior:
Let's demonstrate using my account.

In your profile, press some mention.

 And press the Hamburger button.

Screenshots
Omitted. (As shown above)
Details

Platform: iOS
Platform version: 17.3.1
App version: 1.80.0

Additional context
I use Google translate partially to write this issue.

Thanks!

Describe the bug On Home, a different account's profile may be displayed even though you click your own icon.
To Reproduce
Steps to reproduce the behavior:

In your profile, press some mention. (It is reproduced if only your profile contains some mentions.)
 And press the Hamburger button.

Screenshots Omitted.
Details

Platform: iOS
Platform version: 17.3.1
App version: 1.80.0

Additional context
I use Google translate partially to write this issue.


Help users from releasing a local divergence from push-remote's branch

Several times, I forgot that I merged some PRs from others and forgot to git pull before doing a cargo release.
Options

Before confirmation prompt, warn or error if the local branch is behind the remote branch
Automatically pull w/ rebase against remote's branch

I'm unsure how universally safe it is to do things against the remote, so the options range from advisory to automatic.

Oops, this is a dup of #147

I guess its slightly different use case and potential solutions.


Worker has been utilized

I have created a new fixture  and REC some actions
When I run the REC the error show

Hello @mqliutie, your question is about "TestCafe Pro", not about the open-source version which resides in this repository.

Please submit your "TestCafe Pro" inquiries to our Support Center at www.devexpress.com/ask. This GitHub repo is reserved for the free TestCafe version only.

BTW, looks like your worker has been disconnected for some reason. Some more information about your setup and working scenario is needed to say something more helpful.


Cannot start litd after it crashes

Version of litd I am using: 0.3.0-alpha
Debug log:

2020-11-24 11:36:52.750 [INF] AUCT: Successfully connected to auction server
2020-11-24 11:36:52.937 [INF] AUCT: Shutting down auctioneer client
2020-11-24 11:36:52.938 [ERR] LITD: Could not start subservers: unable to start account manager: unable to resume account XXX: unable to subscribe for account updates: EOF
2020-11-24 11:36:52.939 [INF] LOOP: Swap client terminating
2020-11-24 11:36:52.939 [INF] LOOP: Swap client terminated
2020-11-24 11:36:52.939 [ERR] ACCT: Unable to receive block notification: rpc error: code = Unavailable desc = transport is closing
2020-11-24 11:36:52.940 [ERR] LNDC: Error closing client connection: rpc error: code = Canceled desc = grpc: the client connection is closing
2020-11-24 11:36:52.940 [INF] SGNL: Received shutdown request.
2020-11-24 11:36:52.940 [INF] SGNL: Shutting down...
2020-11-24 11:36:52.940 [INF] SGNL: Gracefully shutting down.
2020-11-24 11:36:52.940 [ERR] ACCT: Unable to determine spend for account XXX: rpc error: code = Unavailable desc = transport is closing

Possible duplicate of https://github.com/lightninglabs/pool/issues/176.
Can you please update to the latest version of LiT and try again?
If the issue persists, do you see the same error as mentioned in the linked issue?
If not, can you give some more details, for example if you're running in integrated or remote node mode?
And the logs of the error on startup.

Closing due to inactivity. Assuming that updating to the latest version fixed the problem.


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
a3aa2cf -> 347487f

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.40.4 -> v1.41.0

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.41.0
Compare Source
Features

Increase default stack poll time to 60sec and expose as option (#883) (b31c896)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

ℹ Artifact update notice
File name: tests/go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

4 additional dependencies were updated

Details:

Package
Change

github.com/IBM-Cloud/power-go-client
v1.8.1 -> v1.8.3

github.com/IBM/go-sdk-core/v5
v5.17.5 -> v5.18.0

github.com/IBM/platform-services-go-sdk
v0.69.2 -> v0.69.3

github.com/IBM/vpc-go-sdk
v0.60.0 -> v0.61.0

/run pipeline


Added adults to a count of approved people.

PT-782 Fixed approved count that was missed earlier.

Codecov Report

Merging #149 (fca58ce) into master (3dc565d) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
+ Coverage   81.17%   81.21%   +0.03%
==========================================
  Files         176      176
  Lines        3161     3162       +1
  Branches     1021     1021
==========================================
+ Hits         2566     2568       +2
+ Misses        571      570       -1
  Partials       24       24

Impacted Files
Coverage Δ

src/domain/enrolment/utils.ts
56.00% <100.00%> (+11.00%)
:arrow_up:

...omain/occurrence/enrolmentTable/EnrolmentTable.tsx
76.08% <100.00%> (+0.08%)
:arrow_up:

Continue to review full report at Codecov.

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


Adding support to supply custom connection manager

Adding  a provision to plugin a Connection manager, this is will open up possibilities to write custom cloud provider specific connection manager.
My intention is to auto discover, and auto scale Clients for AWS elasticache with AWS specific codebase, like calling AWS ElastiCache API periodically. Similar to ReplicatedServerConnection Manager, but this depends on ElastiCache API instead if INFO Replication.

This should fix #801

@SaikiranDaripelli Just wondering, are you going to contribute your AWS Connection Manager into Redisson?

I can, and have working code ready, but since this library does not have any direct cloud provider dependency was holding back.

Can I have a look?

Where can i commit it?

You can do it the same way as this PR

@mrniko  Check the new commit https://github.com/redisson/redisson/pull/802/commits/a3c206d86e1b4be1d4717b7f15b6b850e50169d6
Initial intentions was to add the the files as a separate repo like redission-aws , and people who need can plug it in as
logger.info("creating redis connection in aws mode............." + redisCacheProperties.getReplicationGroupId());
ElasticCacheReplicationGroupServersConfig configuration = new ElasticCacheReplicationGroupServersConfig().setReplicationGroupId(redisCacheProperties.getReplicationGroupId())
						.setScanInterval(redisCacheProperties.getScanInterval())
						.setAmazonElastiCacheClient(this.awsClient).setRetryAttempts(Integer.MAX_VALUE)
						.setPingTimeout(redisCacheProperties.getPool().getPingTimeout())
						.setMasterConnectionPoolSize(redisCacheProperties.getPool().getMasterConnectionPoolSize())
						.setSlaveConnectionPoolSize(redisCacheProperties.getPool().getSlaveConnectionPoolSize())
						.setRetryInterval(redisCacheProperties.getPool().getRetryInterval())
						.setTimeout(redisCacheProperties.getPool().getTimeOut())
						.setConnectTimeout(redisCacheProperties.getConnectTimeout());
				config.useConnectionManager(new ElastiCacheReplicatedServersConnectionManager(configuration, new Config(config)));
			}
			client = Redisson.create(config);

@mrniko Did you get chance to look at the code, i am hoping if atleast first commit can reach 3.2.0 then i need not setup build for the fork on my side.

Merged by #809


Any plan to support month/year range pickers?

We're thinking about using this otherwise wonderful lib but was wondering if there's any appetite to support month range picker for example, assuming you don't already?

That seems reasonable, altho it might require some complex design.

That seems reasonable, altho it might require some complex design.

Hey mate, I might consider contributing in that vein, will look into the effort required there.
In the mean time just wondering how come there hasn't been a release in a couple years or so?
Just wanted to ensure we could use the feature if it gets merged!

The project went unmaintained for awhile before being spun out to the community early this year, and since taking over, I haven't yet had time to cut an updated release. I hope to do so soon.

@nandita1 the effort required is pretty high; in particular because it needs lots of design attention.
Also, hopefully soon, the Temporal proposal will stop making normative changes, and at that time, the entire project will be refactored from moment to Temporal - so it's probably best to wait until after that's done to try to build new components.

Hey @ljharb, we wanted the capability for month range picker. Can you give an estimate of the effort that might be required in this and if you can ensure that my PR gets merged if I raise one? @razlani are you working on this?

Running the repo itself was a mission on windows when I attempted to leverage this gorgeous lib. I built mine from scratch for month/year range pickers.
Also releases have been stale but @nandita1 seems to address that perhaps, with the upcoming changes?
Happy to swing back (with wsl to run the thing) and talk integrations at that time though!


Update TokenFactory.php

token not replaced in route

It would add a parameters to url /foo/{bar} or as a query parameter. Is it?

yap

Thanks!


config.properties does not appear to be respected in the "out" directory

The directions in https://github.com/oktadeveloper/okta-aws-cli-assume-role#configuring-the-application do not work. This only seems to work if config.properties is in the CWD when you execute the script.
I believe #14 fixes this.

This is fixed.
@mraible this can be closed.


Refactor AppSettings to have separate profiles for each User entity

Necessary issue for #138 for it to be closed.

holy shit, this is gonna be a hell of a breaking change


CAS-597: zero-copy should be configurable

This changes allows configuring zero copy along with any other socket
options available.

bors r+

bors retry

bors retry


Remove social Icon

Remove Social icon from the cards in HashtagMainview and Home Page.
We should have the social icons only in post image Cards in archive page, in subpage and  in single blog page.

It is done with remove social icons branch


Missing response to QueuePause event

I'm using asterisk java 1.1.0 with asterisk 11.13
Sometimes when I send a QueuePauseAction I receive a TimeoutException from the sendAction method of ManagerConnection.
Looking at the network traffic between asterisk and my server I see that the response arrives almost immediatly, well before the defined timeout period.
As it does not happen all the time I'm suspecting it could be a race condition in AsteriskJava.
I assume the ManagerConnection object is thread safe as I use it as a singleton injected by spring. I create it using the constructor of DefaultManagerConnection.

Closing my own issue. The problem was that the AJ reader thread was blocking in a long event handler.

Yes thats a common problem. We actually make the handlers async so as to never block the main thread.
Asterisk - Socket - Read - Enqueue - Dequeue - handler
The enqueue and dequeue happen on different threads.
This methods guarentees that you handle events in order whilst ensuring that the aj socket is never blocked.
You may also need one aj connection for writing (actions etc) and another for reading the responses.


Documentation and Guides Feedback

I'm really happy with the step forward that Webpack has taken in making sure the documentation is easily found and accessible for Webpack 2.
I just wanted to give feedback on my experience with the guides. The react hot reloading guide is phenomenal and just works and explains everything really well. However the code-splitting guides (library code-splitting & css code-splitting) aren't good. I've gone through each of them several times and still cannot get them working. It is extremely frustrating for this to happen and spend so much time trying to get these working and to Webpack and up throwing errors and not work. The guides should just work.
As the rise of PWA it would be awesome if there we're guides for how to get Webpack to generate service worker files and configuration based on everything Webpack knows about our apps by default or through plugins. I'm not sure if any of the plugins are made for Webpack 2.
The guide for setting up Production vs. Development Webpack builds explain how to do this. However it is really frustrating that the process to do this is so convoluted and overcomplicated. I tried to get this working and it is such a hassle and pain. It makes setting this up for apps such a task that once you get this done you just want to call it a day. Seriously. It would be great if Webpack could follow babels lead and make this simple by defining fields for this and automatically merging them like babel config allows us to do:
{
  ... base setup
  "env": {
    "development": {
        development setup....
    },
    "production": {
       production setup...
    }
  }
}

Instead of having to manage 3 separate files and have to manage a build script and Webpack function file to determine how to combine the Webpack setup with a Webpack merge dependency.
It is just frustrating that Webpack doesn't have sane defaults or at least worked on making features that already landed easier to use before adding more features.
For long term caching guide it is absurdly complicated to get working. It is very unwieldy and requires a combination of 3-4 plugins to get working based on the guide. I went through this guide end-to-end 6 times. 6 times. Still could not get it working.
 A library/build to with the scope of Webpack must be difficult to manage. Webpack is a tool that with a codebase that is inherently complex to manage for maintainers and  authors. However it is the maintainers duty to make sure that the tools complexity doesn't leak to the end user that is utilizing the tool.
like a react maintainer once said:

Reacts code is complex so that your code can be simple.

No one forces me to use Webpack. I want to use Webpack because it is the best at what it does, but every time I use it I get the feeling that i'm burning out 😞 .

@bebraw would you or @pksjce mind moving this over to webpack/webpack.js.org

It's better if @yegnyg does that since it's his/her feedback.

Agreed. @yegnyg Would you mind?

Please split this up into smaller issues and push the doc bits to the doc repo. Thanks.
About the "base setup" idea, you can achieve something like that with user space tools and by exporting a function from configuration (accepts env). There are tons of approaches to choose from to suit your purposes.


execution list [boots]: the same as for tests, but group tests by 2nd level path (eg. boot.XPTO)

Duplicates #145 . It won't be the same as tests tab.


not compatible with mobile phones?

I tried slider/examples-jquery/slider-with-caption.source.html with chrome inspect device mode is phone. But donot show good.

Jssor slider is mobile optimized, it works on all browsers. What do you mean not show good?
It is an example, maybe you can add following responsive code yourself.
        //responsive code begin
        //you can remove responsive code if you don't want the slider scales while window resizes
        function ScaleSlider() {
            var parentWidth = jssor_slider1.$Elmt.parentNode.clientWidth;
            if (parentWidth)
                jssor_slider1.$ScaleWidth(Math.min(parentWidth, 600));
            else
                window.setTimeout(ScaleSlider, 30);
        }
        ScaleSlider();

        $(window).bind("load", ScaleSlider);
        $(window).bind("resize", ScaleSlider);
        $(window).bind("orientationchange", ScaleSlider);
        //responsive code end

Reference: http://www.jssor.com/development/tip-make-responsive-slider.html

Hi Jssor,
It is a very nice tool. Good work for that. But, I am facing an issue in the mobile version browsers.
I am using a thumbnail navigation. It is not sliding or navigating in mobile browsers. I tried in android and iphone nothing works. Any help would be great.
Thanks
Sai

Hi, having issues with the slider - it works well on browser, but for some reason does not appear at all on mobile. @jssor please advise! thanks so much in advance http://lisecarpenter.com/rumix/shop/tops/raglans/midnight-2/

It should work, please create a stand alone slider page and test it with mobile device.
If it doesn't work, please write a comment here.
If it works, you can copy full code of your page and create a static page to test it.
If there is problem in your page, you can remove content from your page until it works.
Finally you will find which part cause the problem.

Hi,
I am using Jssor as slide on my home page it loads fine on all the browsers including Android except on iOS, on iPhone on the first load the image is not getting resized properly,on refreshing it everything is fine.
Does anyone have a hack for this issue?

@saradhi487 Please leave the url of your page here, let me have a look.


Do not store credentials into Git repository

Right now, the Jira API token is stored in .jit/config.yaml within the current Git repository.
A .gitignore is added along with it, so it won't be checked into Git (although the .gitignore must be).
However, that's not enough. For example, a Docker build may still include it.
A safer option may be to move the Jit credentials to ~/.jit. This will also make it easier to configure once for all projects.
People who use multiple Jira hosts may complain, but we can find an alternative for them, e.g. with the ability to have several configurations they can switch between.

💯
Having the .jit config in the project folder force us to reconfigure for each repo... which is painful when using 20 repo from the same organisation


Added Montmorency College

http://www.cmontmorency.qc.ca/
(Sorry for the french)

Already in https://github.com/leereilly/swot/blob/master/lib/domains/ca/qc/cmontmorency.txt


linux GLIBC add malloc_trim fn.

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 95e74dd173038699a8f867f47d50999052c9fa83 has been approved by Amanieu

:hourglass: Testing commit 95e74dd173038699a8f867f47d50999052c9fa83 with merge 847f7174efdb209ff8f6755d116e398ad91bbf72...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 847f7174efdb209ff8f6755d116e398ad91bbf72 to master...


Allow async route getters return a reactElement

Example
<Route getChildRoutes={function(cb) {
    cb(null, [<Route path="loaded"/>]);
}} />

excellent :) if you can fix the conflicts I'll merge this.

merged 27c5ba153e6bbac607160abdaeb3f011fd5d1c34

ah crap, I screwed it up and got rid of you as an author, I'm sorry :(

No worries, the patch itself is more important :)


Update all project graphs when there are changes to exported ports

There are some situations that may need changes in other graphs than the one being currently edited:

Exported ports are added to a graph that didn't have any
Exported ports are renamed

The noflo-project component should ensure all graphs in the project that utilize the graph being changed get their edges updated accordingly.

Similar issue is when renaming a component, references should be updated across project.


No rule to make target '/.../bootloader.bin'. Stop. (IDFGH-3062)

Environment

Development Kit:      [ESP32-DevKitC]
Kit version (for WroverKit/PicoKit/DevKitC): [v4]
Module or chip used:  [ESP32-WROOM-32U]
IDF version (run git describe --tags to find it): v4.0-280-ga3f3c7b
Build System:         [Make]
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc8_2_0-esp-2020r1-linux-i686.tar.gz
Operating System:     [Linux]
Using an IDE?: [No]
Power Supply:         [USB]

Problem Description
Using the stable 4.0 branch, trying to build the hello world project fails. Menuconfig works, but it fails in the bootloader.bin step.
$ make bootloader
Toolchain path: /usr/local/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
WARNING: Toolchain version is not supported: esp-2020r1
Expected to see version: esp-2019r2
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Compiler version: 8.2.0
App "hello-world" version: v4.0-280-ga3f3c7bdc-dirty
WARNING: Toolchain version is not supported: esp-2020r1
Expected to see version: esp-2019r2
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
make[1]: *** No rule to make target '/mnt/sda1/esp-idf/examples/get-started/hello_world/build/bootloader/bootloader.bin'.  Stop.
make: *** [/mnt/sda1/esp-idf/components/bootloader/Makefile.projbuild:41: /mnt/sda1/esp-idf/examples/get-started/hello_world/build/bootloader/bootloader.bin] Error 2

IDF_PATH=/mnt/sda1/esp-idf
Expected Behavior
bootloader.bin make rule is found.
Actual Behavior
Make fails to find the rule for bootloader.bin.
Steps to reproduce

Prepare the stable 4.0 branch.
cd examples/get_started/hello_world
make menuconfig
make bootloader

Code to reproduce this issue
Debug Logs
Other items if possible

sdkconfig file: https://termbin.com/i9f4

I can't find anywhere the pattern rule that would turn APP_ELF into APP_BIN. make/project.mk has a rule for APP_ELF, and lots of rules that depend on APP_BIN, but no rule that would creare APP_BIN.
 No wonder you started a rewrite in cmake. However cmake is even worse, I wish you'd just written cleaner makefiles.

make --version
GNU make 4.2.1

Hi @clbr, the rule is under esptool_py component: https://github.com/espressif/esp-idf/blob/e599b794bebebe66c6bb6d0af31a9451510ad3d4/components/esptool_py/Makefile.projbuild#L82
Unfortunately I wasn't able to reproduce the issue. Can you say, what is the filesystem under /mnt/sda1? Does the same issue happen if IDF is cloned into some other location (root filesystem or tmpfs)? Does the issue still happen if you delete the build directory and start from scratch? Did you start seeing this issue after some change (IDF update, something changed in the OS), or is this the first time you are trying to use IDF?

sda1 is ext2. This is the first time I'm trying to get idf working. I've already tried to delete the build directory (under hello-world), it didn't help.
Will try the other things later.

A fresh clone seems to help.


pip: Pin dependencies

This improves security and reproducibility.

Sorry, marked it as "ready" by accident. Switched back to "draft".
But LGTM!

Sorry, marked it as "ready" by accident. Switched back to "draft".
But LGTM!

You can approve also when the PR is draft mode. :)

Sorry, marked it as "ready" by accident. Switched back to "draft".
But LGTM!

You can approve also when the PR is draft mode. :)

Yes. But CI fails yet.


mavros: 0.28.0-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository mavros to 0.28.0-0:

upstream repository: https://github.com/mavlink/mavros.git
release repository: https://github.com/mavlink/mavros-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.8
previous version for package: 0.27.0-0

libmavconn
* libmavconn: add the possibility to set the source component ID through the send_message method
* Contributors: TSC21

mavros
* plugin:param: publish new param value
* Merge pull request #1148 <https://github.com/mavlink/mavros/issues/1148> from Kiwa21/pr-param-value
  param plugin : add msg and publisher to catch latest param value
* sys_status: fix build
* sys_state: Small cleanup of #1150 <https://github.com/mavlink/mavros/issues/1150>
* VehicleInfo : add srv into sys_status plugin to request basic info from vehicle
* sys_status: Fix #1151 <https://github.com/mavlink/mavros/issues/1151> bug - incorrect hex print
* plugins:sys_status: Update diag decoder
* frame_tf: mavlink_urt_to_covariance_matrix: make matrix symetrical
* uas_data: add comment on the reverse tf fcu_frd->fcu
* odom: add ODOMETRY handler and publisher
* Handle LOCAL_POSITION_NED_COV messages, add pose_cov, velocity_cov, accel topics
* sys_status : add MAV_TYPE as a parameter
* rc_io: extend handle_servo_output_raw to 16 channels
* param plugin : add msg and publisher to catch latest param value
* plugin:command: Update for C++11, style fix
  Signed-off-by: Vladimir Ermakov<EMAIL_ADDRESS>* Fixed NavSatFix bug in mavcmd takeoffcur and landcur
* Fix mavros/param.py to work in python2 and python3, #940 <https://github.com/mavlink/mavros/issues/940>
  Simplify python3 fixes, #940 <https://github.com/mavlink/mavros/issues/940>
  Remove unnecessary functools
* Fix mavros/param.py to work in python2 and python3, #940 <https://github.com/mavlink/mavros/issues/940>
  Simplify python3 fixes, #940 <https://github.com/mavlink/mavros/issues/940>
* Fix mavros/param.py to work in python2 and python3, #940 <https://github.com/mavlink/mavros/issues/940>
* correct the to_string function
* set value back to 30
* add autogenerated to_string function
* style clean up
* Use component_id to determine message sender
* change message name from COMPANION_STATUS to COMPANION_PROCESS_STATUS
* change message to include pid
* Change from specific avoidance status message to a more generic companion status message
* add plugin to receive avoidance status message
* Added RPYrT and uncrustified.
  Pushing version without spaces.
  Version with tabs?
  Fixed all?
  Finally fixed.
  Fixed requestes by @vooon
  Fixed a def.
  Fixed log format.
  Fixed time for log.
* apm_config: enable timesync and system for ardupilot
* Contributors: Dan Nix, Gregoire Linard, Oleg Kalachev, Randy Mackay, TSC21, Vladimir Ermakov, baumanta, fnoop, pedro-roque

mavros_extras
* odom: add ODOMETRY handler and publisher
* remove newlines after doxygen
* style clean up
* Use component_id to determine message sender
* send out companion status as heartbeat
* change message name from COMPANION_STATUS to COMPANION_PROCESS_STATUS
* change message to include pid
* Change from specific avoidance status message to a more generic companion status message
* add plugin to receive avoidance status message
* Contributors: TSC21, baumanta

mavros_msgs
* plugin:param: publish new param value
* Merge pull request #1148 <https://github.com/mavlink/mavros/issues/1148> from Kiwa21/pr-param-value
  param plugin : add msg and publisher to catch latest param value
* msgs: update Header
* sys_state: Small cleanup of #1150 <https://github.com/mavlink/mavros/issues/1150>
* VehicleInfo : add srv into sys_status plugin to request basic info from vehicle
* mavros_msgs/msg/LogData.msg: Define "offset" field to be of type uint32
* param plugin : add msg and publisher to catch latest param value
* style clean up
* Use component_id to determine message sender
* change message name from COMPANION_STATUS to COMPANION_PROCESS_STATUS
* change message to include pid
* Change from specific avoidance status message to a more generic companion status message
* Add message for avoidance status
* Contributors: Gregoire Linard, Vladimir Ermakov, baumanta, mlvov

test_mavros

No changes

Holding for sync


Switch to the built-in Node.js test runner or mocha

@BridgeAR suggests to switch to the built-in Node.js test runner or mocha.
Jest is slow and does pretty bad things internally that features are not working as expected (e.g., instanceof being broken, it manipulates assertion libraries output and handling and more).
Originally posted by @BridgeAR in https://github.com/MaibornWolff/metric-gardener/pull/17#discussion_r1437577529

We have to replace the following functionalities that we currently use via jest and that do not seem to be natively supported either the node.js test runner nor mocha. Any replacement has to work with TypeScript, obviously.

[ ] Snapshot tests
[ ] Test coverage

https://2022.stateofjs.com/en-US/libraries/testing/
Retention Ranking:

Vitetst
Testing Library
Playwright
Jest
Storybook
Cypress
Puppeteer
Mocha
AVA
Jasmine
WebrdirverIO
TestCafe
Selenium

Other Frameworks:

Karma
Nightwatch

Other Tools:

Chai (assertions)
Sinon (stubs, spies, mocks, fake timers)

Vitest

Mocking: YES
Coverage: YES
Snapshots: YES

Advantages

Very easy migration from Jest (very few changes needed)
Can use forks pool (to resolve issue #65)

Drawbacks

None?

Tests
I ran all current tests. Performance is better than Jest.
Using the default threads pool has the same issue as Jest (#65). Using the forks pool solves the issue.
MetricCalculator.test.ts fails. I will have a look at it tomorrow.


Only one point in Transit Failure for Mod Shift

The Exception is as follows:
IOError('FAIL: modshift returned error: Only one point in-transit. Exiting...\n')
Now this happens because trapFit decides to return a model with a very short duration (like 1 hour or less).  When this happens, it appears that modshift doesn't return gracefully.  Could it instead return non-sensical values, or a SinglePoint Failure type comment.
See the following example on so-nfs:
clip=c.loadClipboard('/soc/nfs/so-nfs/dave/c7-sff-short/214354254/c214354254-07.clip')

The other reason modshift fails with this error is that all but one or two points have been flagged as bad. Any solution would have to behave sensibly for this case too.
Maybe the best solution is for the dispostionTask to check for very short durations and refuse to run modshift if that's a problem?

Fergal, I think that would be a reasonable solution as well.
Are we convinced that if trapFit says the duration is tiny, that the event is due to an outlier and we can safely call it a false positive?
Another option would be to have modshift run using the bls duration.

Yea right now modshift basically says it's silly to run modshift with zero or only one point in-transit, so it exits with that error code. I could change it so that it spits out values of say -1 for everything, but I thought Fergal preferred the exit w/ error code.
I agree if the trapFit duration is crazy small then we should just throw it out as not transit-like and move on. The error means that there is literally one point in-transit, via the model, for the whole phased light curve. So that really means there is only one transit detected, and we are requiring a two-transit minimum for a Dave TCE.

Another option would be to have modshift run using the bls duration.

This is possible - to run modshift this way we'd have to generate a model from the bls results, which would be fairly simple since it's just a box. I guess the question is how often the trapezoid fit mistakenly results in a too-short duration when there really is a real transit-like feature there.

Posted on the other ticket, but posting here now as well...I think this solves this ticket's problem.
I ended up changing the code so that in the case of no in-transit points it will just exit the function that it's in, not the whole program. I also added default values to the outputs of 0 or 1. (0's for the sigmas, 1's for the errors and Fred, so it avoids any divide-by-zero errors).
This means that when there are no in-transit points for the odd- or even- only, it will just default to a odd-even statistic of zero (default pass). The code will run normally for the light curve as a whole. Also, if there are no in-transit points for the entire light curve, as we've seen for a few other systems, then it should gracefully return default values of 0.0 for sig_pri. Right now that should make it fail in vetting (as something with no points in transit probably should), but we can change that in the vetting code if we want it to pass.

If there are no data points in any of the odd transits (or any of the even) ones, should that not be a fail? I haven't thought it through all the way, but I would think so.

I think normally yes Fergal, but I can't guarantee 100% that the outlier rejection didn't accidentally kill the one point in-transit. Normally shouldn't happen, but if it's a really crazy LC, it might. So best to default to pass I think, and modify the BLS to not produce a candidate when there isn't data for the odd or even events.


Add interceptor

Let's also add src folder, so if we need to add some code in root it won't be mixed with files like Readme (we will add a couple of standard package files at some point)


compute normalisation stats from training set

Pull Request
Description
Fixes #499
How Has This Been Tested?

[ ] No
[x] Yes

Checklist:

[ ] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

this is just a very simple (and pretty scruffy notebook)... I'll make an issue to turn this notebook into a "proper" script another time... but that's not a priority now; this notebook has done what it needs to do...


WTF?

First of all thank you for making magnitude available openly, and please don't take this as an attack, it is just food for thoughts. The title sums up my reaction when I tried to install the latest version of magnitude. (I've been using version 0.1.13 for a while now)
I work in a corporate environment with an internal pypi proxy and some somewhat stringent checks on packages and stuff. All our packages and dependencies are scanned for license issues, and known code smells/bugs as well as against a list of known CVE.
I tried installing the latest version of magnitude and after downloading the wheel it just hanged. After a few failed attempts I tried to download the archive and install it manually and I started seeing all these calls to aws and pypi which of course would fail since I'm cutoff from the internet.
I know that my issue isn't yours, but ... not cool guys, setup.py has its semantics and hijacking it like that ... well suffice to say I will probably have a call asking about all these connection attempts to blacklisted urls.
Anyway, not sure what can be done about it, as I didn't spend the time to understand everything that was going on but I still wanted to let you know that you are breaking at least this lone developer's project by doing so.

Hi,
Sorry for the inconvenience, we've never come across someone using the package in a monitored network environment before.
Yes, we do use setup.py to pull pre-compiled wheels from AWS S3. The reason why is because we don't just compile the wheels for sub-dependencies (like numpy) as well and bundle them all up. Normally, setup.py doesn't let you do this. We do this because with all of the different environments, operating systems, C/C++ toolchains people have installed, installation often fails due to a sub-dependency. So we decided to pre-compile everything for Windows, Linux, and Mac. This has worked great for most users.
Don't think we will reverse this, but we do have a way to install without using anything pre-compiled:
SKIP_MAGNITUDE_WHEEL=1 pip3 install pymagnitude -vvvv

This should force it to compile everything on your system, without downloading any pre-compiled wheels. Alternatively, you can always just clone the source repository and manually install the sub-dependencies as peer dependencies.

Hey @AjayP13 .. You got online after a long time. Just a small question. Are you still maintaining this repo? What are your future plans on this?

@AjayP13 thabk you for the reply.
I understand where you are coming for, and for things like that we use conda internally.
If I could offer something, it would be to package pymagnitude on conda-forge for those who want to use pre-compiled packages and leave the pip install pure.
Is that something you would accept if I offered a pull-request or would I be wasting my time?

@ParikhKadam  Yes, we plan to keep this alive, but we don't have that much time to maintain this, since this project is free. We would appreciate any other maintainers stepping in and helping clear out the low-hanging fruit. If anyone is interested in helping maintain, send me an e-mail at<EMAIL_ADDRESS>and I can give some contributor access to the GitLab repository (of which this GitHub repository is a mirror of) and can merge in any PRs after review.
@aborsu We do accept PRs, but I'm hesitant to change the pip install process at this point since we've had it this way for a while. I think you could just as easily fork the repository with a live mirror (to pull in updates) and add your own deploy to an internal PyPI repository by replacing the setup.py file?  Maybe that would work for your setup?
We are a two-person startup here :), so we don't have a lot of time on our hands for open-source with some of the other work we do, so I'm trying to avoid making large sweeping changes that will require more maintenance.

@ParikhKadam I created #63 to discuss maintenance as to not hijack this thread.


[Question] Showcase App - Storage Model Container

I struggle to configure the sample correctly with the custom models Storage Container. I'se set name and key correctly.
Can you provide an example what value should be entered at "Storage Model Container"?
I've entered arroutput as this is the blob container storing the models but in subfolders as you can see below. Do the arrasset files have to be in the root folder?

I use the same folder structure. You just need to enter your root folder name. In your case, just like in the documentation, enter "arroutput".

That's what I have indeed but still it won't show me my models.

The rest are these values from the Azure portal:

Did you link your BlobStorage with RemoteRendingAccount and assigned the three roles?

Yes. They are linked and the Quickstart sample works well with my custom models.

You dont need to link your BlobStorage with your RemoteRenderingAccount for the Quickstart sample (you just provide the SAS URI).
I had similar problems. My mistake was not having the accounts properly linked. Sometimes, when you add a new role, you are not able to see your Remote Rendering account.
If the RoleSection in your BlobStorage does not look like the following picture, maybe this will help.

Can you see you custom models inside Unity Editor?

There is really nothing to add here :). Thank you for doing all the explaining, @florolf1. The important part with storage accounts in the ShowcaseApp really is to properly link up a storage account with the respective remote rendering account. Afterwards it should just work by providing the Storage Account Settings as was already done.
One thing worth pointing out, however, is that the asset enumeration might take a bit of time (a few seconds) if there are really large numbers of files/assets in the container. It does not seem to apply here, but it is something to keep in mind.

Thank you guys. I have the Role assignments and just created them freshly again. Still same it won't enumerate the models in the UI on the HL2. Interestingly it shows them when I run it in the Unity Editor.
HL2 built I tried Master ARM and ARM64. Both just show the built-in Engine.
Code: d838a99be65bb0d83f6015e1aaad7ed6c3a50d66

Check if you can see your custom models inside the Unity Editor.
If you can, you probably facing the same issue like me.
Try to use Unity Version 2019.3.15f1 +.
We figured out that the HTTP error is on Unity side. Using a newer or older 2018 LTS will fix this issue.

Thanks @florolf1 It works in Unity Editor and shows the Models but not on HL2.
I just rebuilt freshly with Unity 2019.3.15f1 as Master build config for ARM64 but still it won't show the models on HL2.
What build config are you using? Maybe it only shows the issue on ARM64 and/or build config Master.

I am using Unity Version 2019.3.15f1, VS 16.6.1 and SDK Version 10.0.18362.0 and ARM64/Release Config.
Try to not use the configuration profile. Use instead the arr.account.xml in StreamingAssets Folder.
And you can find the UnityPlayer.log in the Device Portal(User Folders\LocalAppData\TempState\UnityPlayer.log) to check if it is a HTTP Error or not.

Danke @florolf1
Do you have a sample arr.account.xml somewhere (w/o your credentials)? I can't find one. I guess that might be it.

@reneschulte I must investigate why arr.account.xml is not in the repo. You can alternatively use arr.overrides.xml which can be found in AzureRemoteRenderingShowcase/.documents/.samples. Please refer to the Showcase App documentation for details on how to use it.

Sounds good @sebastianpick LMK once you have the arr.account.xml committed.
Also weird the Unity UI configs only work in the Editor but not in the deployed app.

All settings are optional if their values are set in the arr.account.xml file. The arr.account.xml file can be placed under Unity's StreamingAssets directory. If this file exists, the app will use the file's settings, instead of those within the configuration profile.
The arr.account.xml file is not tracked by git (as defined in the app's .gitignore), preventing accidental commits of private/secret information. So it is preferred to use arr.account.xml instead of adding your private account settings to the MRTK's configuration profiles.

You can find all informations inside the ARRShowcase Folder here

Thanks @florolf1 Fully understand that. 😁
@sebastianpick was just mentioning there should also be an arr.account.xml sample file in AzureRemoteRenderingShowcase/.documents/.samples but it's not there (yet). Always easier to just adapt a sample XML file than having to create one from scratch with an XSD. 😉
But seems the arr.account.xml and arr.override.xml have the same schema so I could use the arr.override.xml sample file for now. Correct?
Thanks for your help. Very much appreciated. 🙏

Correct. I tested both with the same schema, and it worked for me.

Added the arr.account.xml and also tried arr.overrides.xml in the UserData folder on the HL2 like described in the docs.
Still no Models are shown on the HL2. Editor shows the list of models just fine. So somehow related to the HL2. Build ARM64 Release with 18xxx SDK.
Here's the HL2 log. One line mentions:  Failed to load container data. Reason: An error occurred while sending the request
Could this be it?
Logging to C:/Data/Users/rschulte/AppData/Local/Packages/Azure.Remote.Rendering.Showcase_awaf3f2xac5x2/TempState/UnityPlayer.log
Loading native plugins
  Loading AudioPluginMsHRTF.dll
  Loading Microsoft.Holographic.HybridRemoting.dll
  Loading RemoteRenderingClient.dll
Module information:
 Built with Compiler Ver '191627012'
 Built from '2019.3/staging' branch
 Version is '2019.3.15f1 (59ff3e03856d)'
 Release build
 Application type 'D3D'
 OS 'Windows 10 (10.0.19041)'
PlayerConnection initialized from C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/Azure.Remote.Rendering.ShowcaseVS.Release_ARM64.rschulte/Data (debug = 0)
PlayerConnection initialized network socket : <IP_ADDRESS> 55211
Multi-casting "[IP] <IP_ADDRESS> [Port] 55211 [Flags] 2 [Guid]<PHONE_NUMBER> [EditorId] 0 [Version] 1048832 [Id] UWPPlayerARM(HL205) [Debug] 0 [PackageName] Azure.Remote.Rendering.Showcase_awaf3f2xac5x2 [ProjectName] <no name>" to [<IP_ADDRESS>:54997]...
Started listening to [<IP_ADDRESS>:55211]
PlayerConnection already initialized - listening to [<IP_ADDRESS>:55211]
[Subsystems] Discovering subsystems at path C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/Azure.Remote.Rendering.ShowcaseVS.Release_ARM64.rschulte/Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: Qualcomm(R) Adreno(TM) 630 GPU (ID=0x45373230)
    Vendor:
    VRAM:     1932 MB
Initialize engine version: 2019.3.15f1 (59ff3e03856d)
WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/ScreenSpaceShadows' - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
ERROR: Shader Hidden/Universal Render Pipeline/ScreenSpaceShadows shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
D3D11 device created for Microsoft Media Foundation video decoding.
Created eye textures with a "texture array" layout.  The "single-pass instancing" stereo mode will be used.

Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)

Shader 'BlobWireFrame': fallback shader 'Unlit' not found
UnloadTime: 1.467500 ms
Unable to register IMixedRealityInputDeviceManager service with a null concrete type.
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Microsoft.MixedReality.Toolkit.BaseDataProviderAccessCoreSystem:RegisterDataProviderInternal(Boolean, Type, SupportedPlatforms, Object[])
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterService(Type, SupportedPlatforms, Object[])
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem:CreateDataProviders()
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem:Initialize()
Microsoft.MixedReality.Toolkit.<>c:<InitializeAllServices>b__60_0(IMixedRealityService)
System.Action`1:Invoke(T)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServices(IEnumerable`1, Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeServiceLocator()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterInstance(MixedRealityToolkit, Boolean)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Awake()

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Photon is not installed. Inorder for the multi-user experence to function, please install the Photon PUN SDK. See this sample's documentation for details.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unity graphics device:
ID:<PHONE_NUMBER> Name: Qualcomm(R) Adreno(TM) 630 GPU
Type: Direct3D11 Version: Direct3D 11.0 [level 11.1]
Failed to load container data. Reason: An error occurred while sending the request
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Sharing service is still starting up. Unable to complete request.
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Microsoft.MixedReality.Toolkit.Extensions.SharingService:SetProperty(String, Object)
Microsoft.MixedReality.Toolkit.Extensions.SharingServiceTarget:SetProperty(String, Object)
Microsoft.MixedReality.Toolkit.Extensions.SharingTarget:SetProperty(String, Object)
SharableMenu:SendPointerMode(Object, IPointerModeChangedEventData)
Microsoft.Azure.SpatialAnchors.SessionUpdatedDelegate:Invoke(Object, SessionUpdatedEventArgs)
Microsoft.MixedReality.Toolkit.Extensions.PointerStateService:set_Mode(PointerMode)
HandMenuHooks:SetPointerMode(PointerMode)
HandMenuHooks:Start()

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[Physics.PhysX] BV4 midphase only supported on Intel platforms.
UnityEngine.PhysicsScene:Query_SphereCast(PhysicsScene, Vector3, Single, Vector3, Single, RaycastHit&, Int32, QueryTriggerInteraction)
UnityEngine.Physics:Raycast(Vector3, Vector3, RaycastHit&, Single, Int32)
Microsoft.MixedReality.Toolkit.Physics.MixedRealityRaycaster:RaycastSimplePhysicsStep(RayStep, Single, LayerMask[], Boolean, RaycastHit&)
Microsoft.MixedReality.Toolkit.Input.DefaultRaycastProvider:Raycast(RayStep, LayerMask[], Boolean, MixedRealityRaycastHit&)
Microsoft.MixedReality.Toolkit.Input.FocusProvider:QueryScene(IMixedRealityPointer, IMixedRealityRaycastProvider, LayerMask[], PointerHitResult, Int32, Boolean)
Microsoft.MixedReality.Toolkit.Input.FocusProvider:UpdateGazeProvider()
Microsoft.MixedReality.Toolkit.Input.FocusProvider:Update()
Microsoft.MixedReality.Toolkit.Input.RemoteFocusProviderNoCollider:Update()
Microsoft.MixedReality.Toolkit.<>c:<UpdateAllServices>b__63_0(IMixedRealityService)
System.Action`1:Invoke(T)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServices(IEnumerable`1, Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Update()

[C:\buildslave\physx\build\physx\source\geomutils\src\mesh\GuMidphaseInterface.h line 175]
(Filename: C:\buildslave\physx\build\physx\source\geomutils\src\mesh\GuMidphaseInterface.h Line: 175)

Can not play a disabled audio source
UnityEngine.AudioSource:PlayOneShot(AudioClip)
UnityEngine.Events.UnityAction`1:Invoke(T0)
UnityEngine.Events.InvokableCall`1:Invoke(T1)
UnityEngine.Events.UnityEvent:Invoke()
Microsoft.MixedReality.Toolkit.UI.PressableButton:Update()

[C:\buildslave\unity\build\Modules/Audio/Public/AudioSource.cpp line 2234]
(Filename: C:\buildslave\unity\build\Modules/Audio/Public/AudioSource.cpp Line: 2234)

Trimming D3D resources.

Yes, the error you mentioned is a result of the file enumeration REST call failing. I will investigate why the HL2 might fail to send out the HTTP request.

This is interesting. Before, @florolf1 was able to resolve this issue with the Unity version you are also using. Can you confirm that you used precisely the same SDK version 10.0.18362.0 (with VS 16.6.1) as him?

Moin Sebastian. 😁
Almost the same. See details below.
Also here is the HL2 version:

That looks like it is the same in the critical parts. Have you always been running the HL2 in the same network and is it the same as the one you use when running from the Unity Editor? Would it be possible for you to try another one?

Same Wi-Fi network on all devices. All on my home network here. Our own apps with ASA and loading models from OneDrive, using SignalR on Azure, etc. work just fine. Unlikely the network. Again, same like my PC and other services work just fine. And the ARR Showcase can load the built-in engine and works super smooth.

Thanks for the information. I will try to escalate the problem internally as we are fairly certain that it is not an Azure Remote Rendering related issue. In the meantime, you could also try to open a thread in the HoloDevelopers Slack Channel.

Hey Rene,
I came across this thread https://forum.photonengine.com/discussion/15355/failed-to-connect-to-server-after-testing-each-known-ip-on-universal-windows-platform
And this on Slack:
"Here's what to do specifically:

Uninstall Windows SDK Version 10.0.19041.0 and install previous version of Windows SDK (i.e. 10.0.18362.0).
In Unity Build Settings and Visual Studio project properties, make sure that the target SDK version is set to the correct version."

I haven't tested myself yet but there might some bad interaction between having the 10.0.19041.0 Window SDK installed. Could you check if you have it installed?

Hallo Marc!
Yes, I have Win SDK 19041 installed. Uninstalling now. Will try with 18362 which I also have already installed.

Great, one more note from the Slack discussion:
"Then restart the computer (to be safe), delete the generated output folder and rebuild it from inside Unity.

Interesting. When i was facing the problem, I had the new win sdk installed, even if the old version was selected as target SDK in unity.
I then uninstalled the new sdk version and created the project from scratch with unity 2019.3.15 the error dissapeard.

Alright folks! That was it! 🎉
I uninstalled 19041. Did not reboot but cleared the build output and Unity's Library folder.
Built ARM Release targeting 18362 with VS 2019. Boom. Works! ✨
Thanks gentlemen for you help and staying on top of it. 🙏

For completeness. This is apparently a known issue on the Unity side:
https://issuetracker.unity3d.com/issues/system-dot-net-dot-socket-objects-throw-argumentexception-in-il2cpp-after-installing-windows-sdk-2004
A fix will come to 2018.4 & 2019.4 in the future.

Danke Marc! Good to know and not surprisingly it's yet again a combo of a certain Unity version with Win SDK,

hello guys ,I have the same issue here.it's work on unity Editor .but not work on hololens2 .after I upgrade unity 2019.3 to unity 2019.4 problem sovled


Dashboard 2.0

I want to merge this change because it adds new SPA dashboard 🎉
Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).

UX review
I clicked through the dashboard and here are the UX/UI issues that I found.
User menu

[ ] After opening the dropdown, it cannot be closed by clicking on the username or the arrow icon.
[ ] No right-alignment on large resolutions.

[ ] Spacing between username and the icon arrow seems to large.
[ ] On mobile, username doesn't fit the viewport. Maybe we should display an icon instead?

Navigation

[ ] Menu items should be implemented as links. E.g. now I'm unable to right-click and open a section in new tab.
[ ] When scrolling long pages (e.g. product details page), menu gets scrolled off the viewport. Instaed, it should be fixed and always visible.
[ ] Menu is collapsed when refreshing a details page (e.g. product details).
[ ] On mobile, menu remains open after clicking a particular section. As a result users gets redirect to the desired page but menu overlays it.
[ ] Incorrect paddings on mobile:

Categories

[ ] Cateogory list table uses different header than the product list. We should use the same style. We don't have all the data that was showed on mockups, so I wouldn't worry about that now. Let's just have the category name there.
[ ] Category details page - move "Remove category" button to the bottom as on the product details page.
[ ] Category details page - rename "Categories" to "Subcategories", "Add category" to "Add subcategory".

General

[ ] Product list is aligned to left, while all other pages are centered. What is the correct alignment?
[ ] I'm not sure that those buttons on the product variant page look good, maybe we can do something about that?

Just saw the sidebar is missing a margin on the right, when we have a window to a lower width (tested on firefox 61).


Unsubscribe feature is broken

Probably an ops or setup issue.  'Unsubscribe' link in email goes to this, which can't DNS resolve:
http://email.mg.capacitorapp.com/u/eJwNzMsNgzAMANBpyC0oHzs2hxw6SWU7iaAqQkKgrl_eAK9VbCVGdlvFpRUjbRwU-A2WeAAsFDJMEEjDwADiiUv20HvxYoSeSDEmwQhZ5122r1srxPRUAmiwDJPEsaiqjcyWJdlwZ_1c95P-uh1rP_tsx-6uOqXXH69JKAo

This'll require @zspencer to update the Mailgun settings.

woops. I thought I kept that domain name :(

Hmmm, I'm thinking that we may want to create a new mailgun account, since this one is all tied to Zinc and some other weird stuff; maybe via heroku addon? Should simplify access and stuff.

sounds good to me!
On Tue, Jan 1, 2019 at 7:55 PM Zee<EMAIL_ADDRESS>wrote:

Hmmm, I'm thinking that we may want to create a new mailgun account, since
this one is all tied to Zinc and some other weird stuff; maybe via heroku
addon? Should simplify access and stuff.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wecohere/capacitor/issues/300#issuecomment-450769710,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASb3L21hiIyBKJ7BBkIt9lRh6B0nmNvks5u_ANmgaJpZM4Pw1lj
.

--
-- Betsy


Unattended Runs for All Plugins

So a few people have requested the ability to have more unattended runs of the client.
I have been thinking about changing it so the existing manualhost and webroot arguments work for any plugin (FTP & WebDav require you to enter a secure string for your password so they might not work right away) and you just have to tell it what plugin to use in addition to manualhost and webroot.
Does anyone else think that it should allow for more unattended uses?

If anyone wants to see this enhancement, add your +1 (via add your reaction) to the first comment of this issue.

+1
Please :-D

@rip747 Please use Add your reaction on the first issue to add your +1. That way they will all be totaled up and make it easier to see than hunting through all of the comments.

Any update on when #151 will be fixed/closed?

No idea yet. #146 is the first one on my list to tackle then this one, and 146 is going to take a while longer to complete.
If anyone else wants to take a stab at this before I can get to it, go right ahead, let me know if you have any questions.

I hope #151 gets fixed quicker. Will make my life easy with unattended installs. Especially when i'm constantly tearing down and bring up my stage environment for continuous deployment and testing.

Manual client allows you to insert alternative names whereas command line have no such option. It would be great if there was an option to extract the certificate and key from the main file as Apache needs them seperate.

@dansali Take a look at #17 for apache support.

@rkerber Apache works good for me, it's mainly the additional names, because the certificate is only created for my domain and not the subdomain www. Manual mode within the application allows you to provide additional SAN's however the command line does not. It would be great if I can just automate this in one line rather than having to manually run it every couple of months.

I'll close this as I think everything mentioned here is addressed in #275 which is available in v1.9.3 now.


How to output image?

Hi there, super cool project!  How can I output a single image, or watch the generation in real time, and then save the image?
Would you consider doing a small tutorial video as well?  Just showing how you can get different ouputs via the settings?

Hi!
The windows you got are the program showing the progress of the collapse every few iterations, I updated the main function to receive 2 additional parameters, render_iterations and render_video, to make the usage more accessible from the command line, for more on these parameters, refer to the updated README ☺
As for creating a small tutorial video, thank you for the suggestion! I've added this feature to the features list as a to-do item


Document vendored dependency management commands

Will follow up with an issue to automate update + prune.

Some bits of these commands might be useful to include in a readme:
go list -f '{{join .Deps "\n"}}' ./prog/* | grep -E '^(github.com|k8s.io)' | grep -v 'github.com/weaveworks/weave' | sort -u > deps
cd vendor
cat ../deps | while read repo; do git submodule add -f --depth 1 https://$repo.git $repo; done

(This is more relevant to #1903, but you posted the script snippet here)

Some bits of these commands might be useful to include

Many of the paths we import are packages nested inside git repositories, and cannot themselves be added as submodules - for example the above scripts produce
github.com/docker/libnetwork/drivers/remote/api
github.com/docker/libnetwork/ipamapi
github.com/docker/libnetwork/ipams/remote/api
github.com/docker/libnetwork/netlabel
github.com/docker/libnetwork/types

whereas what we need to add as the submodule is github.com/docker/libnetwork. Coalescing these automatically is going to involve probing successively longer path prefixes until we hit a URL that is valid .git repository root :frowning:

Coalescing these automatically is going to involve probing successively longer path prefixes until we hit a URL that is valid .git repository roo

In case of github, we know that the repositories all live at github.com/<org>/<project>

I have an imminent solution for this issue, which I hope will be comprehensive.

Not quite finished, and it needs a readme, but it's in a useable and useful state:
https://github.com/dpw/vendetta
Without options it will add submodules to satisfy dependencies.  With the -u option it will also update submodules used to satisfy dependencies.  And with the -p option it will also prune unused submodules under vendor/.
I've tested it on the Net and flux repos.  On the Net repo, it will add dependencies to satisfy the tools/ submodule, which are not currently present.  That might be the right thing to do (the github.com/armon/go-socks5 dependency is dubious, but then the presence of the socks tool in that tools repo seems dubious to me).  Another solution would be to add the necessary vendor submodules into tools.

I'm a bit confused by this development - gvt was successfully argued against in favour of submodules as the former constituted an unwanted dependency, and now we are using submodules and have created our own tool that provides the dependency update function of gvt?

I'm a bit confused by this development - gvt was successfully argued against in favour of submodules as the former constituted an unwanted dependency, and now we are using submodules and have created our own tool that provides the dependency update function of gvt?

With gvt, you need to use gvt to retrieve the dependencies.  So you need it to build or do any development.
Vendetta has a more limited role.  Fetching dependencies can be done with git submodule update --init --recursive, so you rarely need to use vendetta. I don't anticipate any explicit encouragement to use it in our repos.
But questions like "how do I populate vendor/ in the first place?", "how do I update the submodules under vendor/ ?", and "how do I prune submodules that are no longer needed?" are reasonable ones.  There does not seem to be an existing tool that addresses just that need, and while you can get some of the way with shell scripts, I think they are bound to have shortcomings.  Hence vendetta.

I think you've just written the README for vendetta :)

Vendetta now has a README: https://github.com/dpw/vendetta


Sampling multiple samples for random sampling

Hi,
With the image captioning repo you can sample multiple sentences, but this one returns only one. May i ask where can i change this repo as well so i can sample a set ?

I pushed a branch called sc_bu_structure. It has an argument called sample_n. It should be stable, but be ready for some adventure.


2.5.1+ doesn't initialize when used with azure-functions-core-tools

TLDR: Two different libraries, applicationinsights and azure-functions-core-tools both overwrite Node.js' require method, thus breaking the magic that azure-functions-core-tools is doing and preventing applicationinsights to hook into the local Azure Function server. This causes automatic logging when running Azure Functions locally to not work and getCorrelationContext() to return null.
This is an incredibly complicated issue. I feel it's best explained by tracing the code since there's a lot going on.

The offending commit in this repo is https://github.com/microsoft/ApplicationInsights-node.js/commit/19d92af2501587459885c7b097848ed0c01f37ec. This added a dependency on @azure/opentelemetry-instrumentation-azure-sdk.
That dependency depends on @opentelemetry/instrumentation
Which that dependency depends on require-in-the-middle, a dependency which overwrites the require method in Node.js. Make a note of this for later.
For applicationinsights to add the proper Azure Functions hooks, it checks if @azure/functions-core exists here
This @azure/functions-core package doesn't actually exist in NPM or on disk, it is instead provided by azure-functions-core-tools when developing locally. It does this by overwriting the require method in Node.js such that when that specific module is requested, it provides an in-memory object as the response.
When installing azure-functions-core-tools it will make a request to install this file as a postinstall script and unpack it into node_modules. The source relevant source code which that zip includes is for the azure-functions-nodejs-worker package.
In that worker package, here's the code which overwrites require to supply the fake @azure/functions-core package.

Now, the problem is that there's two packages which are loaded at runtime, both overwriting a global with a custom implementation. azure-functions-core-tools is loaded first so it overwrites first, then require-in-the-middle loads second and overwrites the overwrite. Thus when applicationinsights tries to check for the existence of @azure/functions-core at runtime, it cannot find it. As a result of all of this. our calls to appinsights.getCorrelationContext() return null as it was never initialized as the Azure Function hooks were never setup.
This issue was introduced in 2.5.1 and was not an issue in 2.5.0 of applicationinsights. It's unclear which package is the root cause, it seems like both are equally to blame as they aren't playing nice with each other. Both azure-functions-core-tools and require-in-the-middle "try" to overwrite in a way to be compatible, but due to the use of the Proxy in azure-functions-core-tools it is still incompatible if loaded first.

Hi @CreativeTechGuy, if you want to eliminate the conflict here you could disable Azure SDK auto-instrumentation. This won't fix the core issue that the two dependencies both monkey-patch the require method but might be able to resolve your issue for now. Let me know that workaround helps, thanks!

@JacksonWeber This doesn't change anything unfortunately. The issue is that the auto-instrumentation doesn't work. So manually disabling the thing that doesn't work doesn't really do anything.

I took a look and it seems like we're just waiting for the fix to propogate through various dependencies.

require-in-the-middle fixed this in v7.0.0
@opentelemetry/instrumentation updated to require-in-the-middle v7.0.0 in their v0.39.0 release
@azure/opentelemetry-instrumentation-azure-sdk is currently on @opentelemetry/instrumentation v0.38.0 and needs to update to v0.39.0
applicationinsights will need to update to the latest @azure/opentelemetry-instrumentation-azure-sdk

@JacksonWeber @hectorhdzg if you could help speed along those last two updates of packages that would be much appreciated :)

Thank you @ejizba!

@ejizba Absolutely. Thank you for noticing the updates in the dependency web there!

@CreativeTechGuy @ejizba The above issue should be resolved as our dependency on azure/opentelemetry-instrumentation has been updated and that package's dependence on require-in-the-middle and all opentelemetry packages has been updated.

Is there a plan to release that fix? It looks like it's been committed but the package hasn't been released in a few weeks.

@CreativeTechGuy we have a monthly release cadence in our side, we will be publishing a new version of Application Insights Node.js SDK end of next week.


Fixes merged ModuleID dropping configuration specification.

Fixes #2002/#1500
Given a dependency graph such as:
libraryDependencies += "com.google.guava" % "guava-tests" % "18.0"
libraryDependencies += "com.google.guava" % "guava-tests" % "18.0" % "test" classifier "tests"

previous releases of sbt would drop the Test configuration from the
classifier "tests" artifacts, and end up including the test JARs into
the Compile configuration instead of the Test configuration, which
would result in runtime error.
This fix configures the explicit artifacts into the configuration
during merge even when it says "*".
/review @dwijnand, @jsuereth

Codacy is complaining about deps.head on unit tests, but Travis CI has green checkbox.

LGTM.

LGTM


Adding validate command

Fixes: #61

+1

@ranger6 @fsaintjacques is a github release going to be cut with this? We use semver in one of our Dockerfile and it would be nice to use a github release or tag to detect changes instead of relying on the master branch.

Voilà.

I suggested this in one of my comments.  So, for me, the answer is yes.
I’d be glad to do the mechanics (if there is no objection?).  Otherwise, I’ll let our owner have the pleasure.

On 14 Jan 2022, at 18:26, Mathieu Massé @.*** @.***>> wrote:
@ranger6 https://github.com/ranger6 @fsaintjacques https://github.com/fsaintjacques is a github release going to be cut with this? We use semver in one of our Dockerfile and it would be nice to use a github release or tag to detect changes instead of relying on the master branch.
—
Reply to this email directly, view it on GitHub https://github.com/fsaintjacques/semver-tool/pull/62#issuecomment-1013315368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2YZ6JRHKC6OBH72D3ED6DUWBMD3ANCNFSM5KVOZO7Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.

Overtaken by the speed of the internet (and M. Saint-Jacques).

On 14 Jan 2022, at 18:45, François Saint-Jacques @.*** @.***>> wrote:
Voilà.
—
Reply to this email directly, view it on GitHub https://github.com/fsaintjacques/semver-tool/pull/62#issuecomment-1013328585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2YZ6PJJPYXYFDNK2JRJGLUWBOKBANCNFSM5KVOZO7Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.


Add Discussion tab

Hi !
Is it possible for you to add the Discussion tab ?
It will be interesting if someone have questions about this project
Thanks

Sure, just enabled it.
There are a lot of options for Discussions, but left most at default. We will see if it needs tuning.


Seperate Website and Crawler Repos?

that would solve a few problems:

not a monorepo anymore so would not need all the infrastructure setup for that
clean separation of crawler and ui
separation of crawling pipeline, more unlikely to hit api rate limits #25
repo name is kind of wrong anyway, it´s not just the website :)
have a history of data.json
docs branch always force push
can collect data, like necessary in #163
can seperate crawling historic data and current data

against:

@petermuessig work was a little bit for nothing 😁

todo:

[x] create new repo https://github.com/ui5-community/bestofui5-data
[x] copy crawler package to new repo
[x] setup new gh workflow for new repo https://github.com/ui5-community/bestofui5-data/blob/main/.github/workflows/build.yml
[ ] fix ui build with new json files from new repo https://github.com/ui5-community/bestofui5-website/pull/167
[ ] remove crawler from website repo https://github.com/ui5-community/bestofui5-website/pull/167
[ ] deconstruct monrepo setup in website repo

@petermuessig
created new repo https://github.com/ui5-community/bestofui5-data
same concept for now, crawls data to a other branch every day
#167 would point the ui to the json files in this new repo

https://github.com/ui5-community/bestofui5-data/pull/2


Remove all Tiles from Start Menu

I am a fan of the standard classic start menu that had no tiles at all.
It would be great to have an option in this app to remove all start menu tiles with just one click.

I second this feature request. There is an unpin tiles script in the old Sycnex Debloater which has not been maintained in a few years... I just tried to run it in the latest Windows 10, and it does not seem to work any more.  I am not savvy enough in powershell to have any idea why.


[ React, Webpack, yarn ] Module not found: Can't resolve '../themes/default/assets/fonts/brand-icons.eot'

Webpack error:
Failed to compile.
./node_modules/semantic-ui-css/components/icon.min.css
Module not found: Can't resolve '../themes/default/assets/fonts/brand-icons.eot' in 'H:\student-voice-client\studentvoice\node_modules\semantic-ui-css\components'.
Just for future reference, this resulted from using Webpack and yarn and if yarn autoclean is enabled with the default settings by running:
yarn autoclean --init
You could either change the settings in .yarnclean or delete it and re-run:
yarn add semantic-ui-css

For future reference, in order to solve this problem using semantic ui, I had to run
gulp build-assets and then run gulp build inside the semantic folder.
For some reason, only running gulp build resulting in only icons.* to be inside the assets folder and brand-icons.* were missing.

yarn autoclean added these two entries in the .yarnclean file
asset directories
images
assets
remove them and reinstall semantic-ui-css and enjoy the theme assets


[3.4.2] css class .cms-draggable-disabled on parent module

Summary
I was trying to create a base frame plugin which looked something like this:

The BaseFrame's  allow_children is set to False but the child plugin "ContentPlugin's allow_children is set to True`.
Like so:
class BaseFramePlugin( CMSPluginBase ):
    ...
    allow_children = False
    child_classes = [ "HeaderPlugin", "ContentPlugin", "FooterPlugin" ]
    form = BaseFrameForm

class ContentPlugin( CMSPluginBase ):
    ...
    render_template = "elements/content.html"
    parent_classes = [ "BaseFramePlugin" ]
    allow_children = True

Expected behaviour

Elements under ContentPlugin should be visible.
Actual behaviour

Elements under ContentPlugin is hidden because of the parent module BaseFramePlugin's allow_chuildren set to False. Hence applying the class .cms-draggable-disabled which acidentally matches this selector for the ContentPlugin:
div.cms .cms-structure .cms-draggable-disabled .cms-draggables, div.cms .cms-structure .cms-draggable-disabled .cms-droppable {
    display: none !important;
}

Which in turns hides the ContentPlugin's children.
Environment

Python version: 3.6.0
Django version: 1.8.17
django CMS version: 3.4.2

Hello @tgckpg,
If ContentPlugin is going to be under BaseFramePlugin , you need to set allow_children to True.

The ContentPlugin already has allow_children set to True.

I meant on the BaseFramePlugin plugin.

But this activates the + signed on BaseFramePlugin. How am I supposed to disable this?

This is not possible as you can't control whether user can add a child or not unless you're using permissions in which case you won't be able to add any plugins to the BaseFrame plugin.

It is possible by fixing the CSS issue I've described earlier.
But if you think this is an inappropriate fix. I would be positing solutions as a hack here if anyone has stumble upon this.
Making a plugin with a fixed structure is a fairly common practice IMO.

Solution
After python manage.py collectstatic
Patch the following files:
In cms/js/dist/3.4.2/bundle.toolbar.min.js:
Search {items:"> .cms-draggable:not(.cms-draggable-disabled .cms-draggable)
Replace  {items:"> .cms-draggable
In cms/css/3.4.2/cms.base.css:
Search div.cms .cms-structure .cms-draggable-disabled .cms-draggables
Replace div.cms .cms-structure .cms-draggable-disabled > .cms-draggables
Search div.cms .cms-structure .cms-draggable-disabled .cms-draggable .cms-dragitem
Replace div.cms .cms-structure .cms-draggable-disabled > * > .cms-draggable > .cms-dragitem
Search div.cms .cms-structure .cms-draggable-disabled .cms-droppable
Replace div.cms .cms-structure .cms-draggable-disabled > .cms-droppable
And the you have it!