Specify tarpaulin version in coverage step

Closing in favor of https://github.com/TrueLayer/retry-policies/pull/12


Consider adding metrics

Consider what metrics could be exposed on the controller, given that many of these metrics could just be retrieved by querying the API server (e.g. number of admission policies...), however it could be interesting to expose them directly in a dedicated endpoint.
Why this is needed
Users can leverage tools like Prometheus to scrape these metrics and then:

Plot statistics about the controller (eg: memory/cpu used)
Set alerts when something bad happens (eg: no instances running, all instances slowed down)

This can also help users to better define the deployment details of the controller (number of replicas, resource limits,...)

Hey @ereslibre! I would like to work on this! Can you guide me on how should I tackle this?

@kubewarden/kubewarden-developers, I'm thinking about this issue. I'm not sure if we need a new endpoint. We already have an integration with OpenTelemetry. I think we can expand and use it to expose this metrics. Maybe we can add a background job to compute these metrics and write them into OpenTelemetry.  What do you think?

I think nodeexporter is already providing the metrics about cpu/memory usage. I honestly don't know what else we could add right now.
Unless we have some concrete examples I would close this issue

I think nodeexporter is already providing the metrics about cpu/memory usage. I honestly don't know what else we could add right now.

@rakshitgondwal can you double check this info?


Log events

It would be nice to know how many scores get compiled and how much time and memory is spent compiling. We ought to log more in general.

Could any various node logging type things work to facilitate this?

Knowing how much memory is spent looks doable, but if we are really to start implementing this, timing and numbering compilations are easier.
This leaves the question of how. Would you guys prefer storing it in a separate database? Using some other services like Google Analytics or Amazon Cloudwatch? Or simply writing to a CSV file with data points like "unix timestamp,time in seconds"?

Could any various node logging type things work to facilitate this?

If you meant console.*, no. They are just prettier names for process.stdout.write and process.stderr.write.


python 2.7 & windows

what am i doing wrong?

#!/usr/bin/env python -i

# conda execute
# env:
#  - python <=3
# run_with: py27

print 'hello'

Apologies for the late response. You caught me at SciPy (lots going on) and this subsequently got buried in 1000+ GH notifications.
The lack of traceback means I can't be certain the problem you are seeing, but the obvious issue with that header is the run_with section. It should point to an executable that you would be able to run within an environment.
Here is your example (complete with interactive python mode):
cat example.py
#!/usr/bin/env python -i

# conda execute
# env:
#  - python <=3
# run_with: python -i

print 'hello'

Running this drops into the python interpreter after the "print hello" call:
$ conda execute example.py
hello
>>>

If there are specific windows issues (very plausibly) I'd be more than happy to help though.
Cheers,


Possible inflation bug without consensus between mints

The reissue operation seems to allow giving different new DBCs to different mints in the same transaction. Let's assume we have a 3-of-5 threshold and 3 "old" DBCs (O1, O2, O3) with all signatures. A reissue request is a list of old DBCs and new, blinded DBCs to issue. I issue the following reissuance requests to mints M1...M5:
M1: (O1, O2, O3, N1, N2, N4)
M2: (O1, O2, O3, N1, N3, N4)
M3: (O1, O2, O3, N1, N3, N5)
M4: (O1, O2, O3, N2, N3, N5)
M5: (O1, O2, O3, N2, N4, N5)

As shown I was able to create 5 partially signed DBCs out of 3. These could be converted to fully signed DBCs in a second step.
Imo this can only be avoided by running a BFT consensus between the mints to decide on which reissuance requests to process in which order. I'm not familiar with the blind signature scheme used, so I don't know if it's sane for multiple mints to sign the same blinded message, but that would be definitely preferable. Otherwise some ZKP might be necessary to show that two blinded messages are the same once unblinded.

Good find! Working on it.

Small addition to that: The root issue here is the relationship between n (number of mints), m (quorum size) and x (number of output DBCs). The bug is not present for 1-1 reissue operations. A limit on x that depends on n and m would as well fix this.

It's actually true for n==1 multiround as well. Residue can accumulate. We need to fix input to output DBC relationship globally.

I think you'll only be able to achieve that if all mints agree that a transaction is happening (in a certain order) leading to a common spend book. That would require some sort of BFT consensus. Unfortunately you loose your "no mint-to-mint communication required" property, but that's kind of expected in a federated system.
Thinking about BFT algorithms HBBFT comes to mind. It's async, so you could run it over TOR without risking total outages when latency suddenly increases. There is even an implementation in Go.

The only thing that would be required to be agreed on between mints is the link between InputDBC and (blind) OutputDBC(s). And yes, HBBFT is a good candidate for that consensus.
The blind signature algorithm we so far selected (Singh,Das) is certainly not suitable for this though since sharing the server blinding parameters between mints would easily reveal the private keys for each mint to every other mint. Blind RSA is capable of doing the required thing securely, but I am reluctant because of signature size. Maybe we can find a better algorithm candidate.
To help with the search I have described the requirements a bit more:
What we are looking for: An algorithm for blind, untraceable, unforgeable and publicly verifyable signatures that allows multiple signers to sign the same blinded message.
And that isn't RSA, because of signature size.
It should work similar to this (preferred):
Per signer keypair: Public Key, Private Key (P,p)
Message: M
Requester blinds M with blinding paramter b. Yields blind message: bM
Requester sends same bM to every signer.
Signer signs bM with p, yielding signature s', and returns s' to requester.
Requester unblinds s' with b and gets s.
Anybody knowing P can verify that s is a valid signature over M.
Nobody can connect s' to s or M without knowing b.
Alternatively:
Per signer x keypair: Public Key, Private Key (P[x],p[x])
Message: M
Requester creates one blinding parameter per signer: b[0..n]
Requester blinds M with b[0..n] which yields blinded messages bM[0..n].
Requester sends ALL bM[0..n] to each signer.
Each signer can verify all of bM[0..n] refer to the same M.
Signer x signs bM[x] and gets signature s'[x] and sends it to requester.
Requester unblinds all s'[0..n] with b[0..n] and gets s[x].
Anybody knowing P[x] can verify that s[x] is a valid signature over M.
Nobody can connect any s'[x] to s[x] or M without knowing b[0..n].
Any pointers welcome, including hints for secure implementation.

For communication between mints the following should be sufficient:
Rule: Commit to user provided Input:Output publicly. Get a reply (commit or no-commit) from at least M(+k *) other mints. Do not sign if you know a contrarian commitment.
Furthermore, include proof in commitment to be able to test a contrarian commitment (we already have that for evidence of payment).
This should make sure that the honest mints M sign in the same way. Diverging signatures from dishonest mints aren't a problem them because they cannot reconstruct the full set of signatures N because they lack necessary M good signatures.
N: Total mints, M: Honest mints, k: Allowed offline mints.

I haven't a concrete example yet, but my intuition tells me that there is a way for participants to cause deadlocks. Consensus algorithms that guarantee liveness, safety and fault tolerance are really hard to get right.

Deadlocks would exist if:

Less then M+k mints answer. This happens when the federation is broken or the mint in question has network troubles. We have recovery for that. Partial downtime of mints can be remedied by caching previous commitments. This is actually not a deadlock but a temporary problem.
A mint could push a commitment that is unverified and breaks uniformity. Since all transactions are already requiring signatures by the users (minus the 0x00 ones) this can be softened by having signing mints verify the proof of dissenting commitments, and drop commitments that aren't plausible. Furthermore the commitments have to be made in a way that they require transaction knowledge in the first place (which is trivial). Given that, the problem remains with differing transactions done by the user - which is what we want to protect against in the first place and a lock there is exactly what we want.


Extended application with additional origin information maintained by the web ui, and centralized manifest formatting in the server

fix #2237
fix #2224
fix #2225
feat: extended part endpoint to serve a formatted manifest
chore: new test for manifest retrieval
chore: updated client to pull manifest via part API instead of formatting it itself
note: no changes to existing manifest tests
subordinate PRs:

application - https://github.com/epinio/application/pull/12
helm chart - https://github.com/epinio/helm-charts/pull/419

Codecov Report
Patch coverage has no change and project coverage change: -45.87 :warning:

Comparison is base (6144d3b) 54.47% compared to head (8dc1a3a) 8.60%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #2241       +/-   ##
==========================================
- Coverage   54.47%   8.60%   -45.87%
==========================================
  Files         183      96       -87
  Lines       15319   10828     -4491
==========================================
- Hits         8345     932     -7413
- Misses       5900    9840     +3940
+ Partials     1074      56     -1018

Flag
Coverage Δ

acceptance-api
?

acceptance-apps
?

acceptance-cli
?

unittests
8.60% <0.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

internal/api/v1/application/part.go
0.00% <0.00%> (-7.67%)
:arrow_down:

internal/cli/usercmd/app.go
7.81% <0.00%> (-38.29%)
:arrow_down:

... and 166 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@richard-cox this looks complete to me, should be ready for testing with the UI.
The one part I was unsure about, how to get the extended origin to the server I found (i.e. got reminded of by the code search) that the entire origin structure is part of the request to the deploy API endpoint.
With the extended structure and updated swagger json setting the new fields should be no issue for the Web UI.
The CLI has to do nothing, which leaves the new fields at their natural null values (false, empty string), as they should be for the CLI.

Tested by verifying correct funcioning on these UI issues; mainly: #226, #228,  #234,  #231 . All of them tested and ok in 1.8.1-rc1
Further checks related to this (https://github.com/epinio/ui/issues/227) to be done in further releases.


[webapi] Update xml for webapi-download-android-tests

Update test status from designed to approved

Add test entery in tests.full.xml for tests which has existted in tests.xml

https://crosswalk-project.org/jira/browse/XWALK-4508

No update in tests.xml accordingly?

@zqzhang No update in tests.xml, test entries in tests.xml is correct, so update tests.full.xml refer to tests.xml


fix(timepicker): Make inputs disabled for timepicker.

Closes #5182
These lines were not being tested before it looks like, let me know if you need tests for this even though it is in HTML. I tried adding some tests, but was having issues with getting the disabled attribute to show up in the tests.

Plunker with fix

This LGTM - I think it might have been the result of an accidental resolution.


[Bug]: SignUp VSF error with Shopify integration

Expected Behavior
During SignUp if would type an email that already exist should trow an error such as "This email exist already"
Actual Behavior
While I try to sign up a email that exist already instaed of giving me a "normal error" from Shopify such as "This email exist already" or something like that, it just give me a VSF error.
[VSF][error]: useUser/register TypeError: Cannot read properties of undefined (reading 'customerUserErrors')
Possible Solution
No response
Steps to reproduce
Just try to SignUp with a email that already exist.
What version of shopify integration are you using?
1.1.0 (Shopify)
What version of Node.js are you using?
16.13.0
What browser (and version) are you using?
Chrome
What operating system (and version) are you using?
Ubuntu 21.10
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Will be resolved with new release


From some version,the "player.buff().count" doesnot work fine.

{ '195182', 'player.buff(195181).count <= 6', 'target'}, this condition does not work fine .

the older version runs well :
NeP.DSL:Register("buff.count", function(target, spell)
local buff,count,_,caster = UnitBuff(target, spell)
if not not buff and (caster == 'player' or caster == 'pet') then
return count
end
return 0
end)
But the lastest version func in buffer.lua doesn't work fine:
local function UnitBuffL(target, spell, own)
local name,,,count,,,expires,caster = UnitBuff(target, spell, nil, own)
return name, count, expires, caster
end
NeP.DSL:Register("buff.count", function(target, spell)
local buff, count = UnitBuffL(target, spell, 'PLAYER')
return buff and count or 0
end)

is this issue still present?

@MrTheSoulz
Good day sir,glad to see your reply.
Yes,it is still present, so I have to use the old edition which is 1.7 and didnot update after 11/3/2016.
However, the old one have a small problem in wow 7.2.
From wow version 7.2 ,the old Nerdpack caused the weapon button(icon) in the character information panel is gray, which means the icon is disabled,so artifact panel cannot be opened .
I have tryed my best to fix this bug,but there is too many code to fixed position the issue.
postscript:
my bot is NerdPack-DarkN-CR,and my character is blood dk.
{ '206930',{'player.buff(195181).count > 6', 'player.runes > 2'}, 'target'},

That cr will not work on new versions of nep.
{ '206930',{'player.buff(195181).count > 6', 'player.runes > 2'}, 'target'},
Would look like:
{ '206930', 'player.buff(195181).count > 6 & player.runes > 2', 'target'},

The issue with nep 1.7 and wow 7.2 can be fixed by updating libartifactdata to version 1.2


Column Striping Feature for Tables

Pull request contains the following items that contribute to the feature request in Issue #31457

Styling for class table-striped-vertical that enables column striping for tables.
A new Sass variable $table-striped-vertical-order such that the vertical striping order can be customized and deviate from the row striping order.
Documentation for column striping, along with additional examples added to table variants section.

Fixes #31457

@ffoodd sorry I didn't respond to the colgroup comment until now. Leveraging colgroup and col is useful for styling columns that share styling consecutively, but here we are dealing with alternating styling. That approach would end with adding extra markup that would be redundant. Instead, I've simplified the CSS selector :)

Renamed the class and squashed everything. Thanks!


#5562: add initial reduce scatter implementation (experimental)

The reduce scatter operation takes an input tensor from each chip/rank,
of same shape, and does an element-wise reduction across the input
tensors and scatters (splits) the result across the cluster. For example,
a reduce (sum) scatter cluster of 4 chips, each with input tensor
[1024, 1024] and fractured on dim=1 would be functionally equivalent
to the following pseudo-code:
output_tensor = zeros(devices[0].input_tensor.shape)
for i in range(num_devices):
  output_tensor = reduce(devices[i].input_tensor, output_tensor)

output_tensor_chunked = chunk(output_tensor, dim=1, factor=4)
for i in range(num_devices):
  devices[i].output_tensor = output_tensor_chunked[i]

New reduce scatter currently only supports interleaved-tile tensors (L1
or DRAM) for ring topologies. However adding row-major support should
only require modifying a couple host functions; the same applies for
adding line topology.
New CCL Infrastructure
This commit includes a large amount of work to make CCL infra on host
and device:

more modular
more (unit - function level) testable, including for device functions
simpler to program (especially on host)

don't require exact values to be computed for things to be computed
for things like EDM messages per channel

more generic with respect to:

indexing
worker allocation
tensor layout support

The infra changes are also back-portable to all-gather but updating
all-gather to use this new infra is not in this commit. Adopting these
changes to all-gather will let us reduce lines of code while letting us
share functionality and performance work with reduce scatter (and other
CCL ops).
EDM Upgrades
EDM was upgrading to support a new operating/terminating mode. It is now
possible to signal to the EDM when to terminate a channel. Prior to
this commit, EDM only supported terminating after forwarding an exact
number of messages. With worker driven termination, we can greatly
reduce host code to compute things like message count. Instead we can
describe the problem at a higher level and simply pass that information
to the workers, who will know when they are done.
More concretely, the workers for reduce scatter are given, instead of
exact message counts, inner and outer tensor slices. They understand how
to read from their slice, packetize the data for EDM, and then
stride/increment through the outer slice, coopoeratively with other
workers, to eventually forward all data. When they are done they simply
send the appropriate terminate signal.
This avoids the problem of having to analytically solve or emulate
device execution to determine exact message count. Instead we just
provide layout information and the rest is handled automatically.
T-Streaming/Kernel Looping
In contrast to existing operations like allgather, reduce scatter was
written such that a single worker both reads from receiver EDM/input
tensor and forwards to output/sender EDM.
Why does this matter?

It let's us simplify kernel development and debug since we can now
look at a single worker in a ring when doing debug, rather than two
independent workers in ops like allgather

This means that we can, for the most part, look at a single worker
and reason about what is happening on the sender and receiver ring
indices without having to check them separately.

It reduces latency because we don't need to dump to intermediate
tensors or send a packet through multiple workers before reaching the
next EDM.

However, there is a problem that this requires us to ensure we have
sufficient internal buffering in the datapath to avoid deadlock. To
avoid this issue, we added support for a T-streaming technique (where T
loosely means temporal). With this technique, we make sure each worker
slice is no larger than the available datapath buffering. We perform an
entire CCL op (reduce scatter) iteration to completion and then start
again on the next offset. This is functionally equivalent to breaking
one large reduce scatter operation into many smaller reduce scatter
operations, where the inputs/outputs of each of the smaller operations
are individual slices of the original full-size tensor:
        Full Input Tensor

  ┌────────────────────────┬──────────────┐
  │                        │              │
  │ Iter 0: reduce scatter │ Iter 1       │
  │                        │              │
  │                        │              │
  ├────────────────────────┼──────────────┤
  │                        │              │
  │ Iter 2                 │ Iter 3       │
  │                        │              │
  │                        │              │
  ├────────────────────────┼──────────────┤
  │                        │              │
  │ Iter 4                 │ Iter 4       │
  └────────────────────────┴──────────────┘

We treat each iter as an independent reduce scatter. In a case where
there are multiple workers, the first loop iteration would see the
workers cooperatively processing the iter0 chunk. Then they would
advance to the chunk for iter1 when they are done the reduce scatter for
iter0.
Timestep 0, all workers think they are doing a reduce scatter
on a tensor of only size iter0 chunk.
          Timestep 0

            ┌───────────┬────────────┬──────────────┐
            │  w0       │  w1        │              │
            │           │            │              │
 Iter 0 ───►├───────────┼────────────┤              │
            │  w2       │  w3        │              │
            ├───────────┴────────────┼──────────────┤
            │                        │              │
            │                        │              │
            │                        │              │
            │                        │              │
            ├────────────────────────┼──────────────┤
            │                        │              │
            │                        │              │
            └────────────────────────┴──────────────┘

For timestep 1, the workers think they are running another reduce
scatter on the top-right chunk of the original input tensor. Note that
we are not restarting the kernel for each timestep. We are looping
through the tensor from within the kernel. Each worker knows shape
information so they know how to proceed through the global input tensor.
Said another way, before timestep 1 is started, the entire output for
timestep 0 is computed. All input data associated iter0's chunk is
completely processed.
          Timestep 1        Iter 1 ──┐
                                     │
                                     ▼
 .┌────────────────────────┬───────────┬──┐
  │                        │  w0       │w1│
  │                        │           │  │
  │                        ├───────────┼──┤
  │                        │  w2       │w3│
  ├────────────────────────┼───────────┴──┤
  │                        │              │
  │                        │              │
  │                        │              │
  │                        │              │
  ├────────────────────────┼──────────────┤
  │                        │              │
  │                        │              │
  └────────────────────────┴──────────────┘

Pipelines:
post-commit: https://github.com/tenstorrent/tt-metal/actions/runs/9215926455
t3000 unit tests: https://github.com/tenstorrent/tt-metal/actions/runs/9215936583
t3000 model tests: https://github.com/tenstorrent/tt-metal/actions/runs/9215942775

Updated post-commit run: https://github.com/tenstorrent/tt-metal/actions/runs/9227080891

Most of the checks are done with TT_ASSERT. Since this is CCL ops, my guess is that when something is setup incorrectly, it can easily lead to hangs or PCC issues. Should we broadcast model writers (or whoever consumes these CCL ops) to try running with CONFIG=Debug if they encounter any issues as a first line of defence?

You're right,  I need to update some of these to tt-fatal. That being said, for the time being, this is experimental and I've announced on the CCL channel that it's not reliable yet. If you think it's necessary I can revisit and use TT_FATAL instead in those cases where we know it's a bad config.


⚠ Bofrost.be has degraded performance

In 87d1b85, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1362 ms

Resolved: Bofrost.be performance has improved in f39dc87 after 13 minutes.


Prevent kernel to be scheduled if it has empty inputs

I have a graph with many kernels. Some of them have more than one input port. They are being called if there is an input on one of the ports. Is it possible to configure the scheduler to call them only when there is input on all the ports?
I envision that a derived kernel class could specify during construction which port is aways required to have input.

Hi there, just another user here.
As I see for the kernels having more than one input port you could just loop all the input ports. If all of them have data then you can continue with your logic, if not just return raft::proceed and do the same next time the kernel is called.
You can check if a port has data with the size() method bigger than 0.

You would have to move the data into internal queues as this would cause the kernel to be constantly scheduled.

it is possible. All the ports are checked regardless by the scheduler. I'll code something up and commit, shouldn't take but a few minutes to make this work. The schedule.cpp has the base scheduler routine that is called by all kernelRun so I'll start there.

Okay, delay of game for family...I've pushed a patch that will do what you'd like @sogartar and @mr-j0nes . There's a way more efficient way to implement the mask on the ports too. It's super easy to check and see if something is "empty", however, the current patch uses size. I need to add the "empty" function as it's required by the gpgpu private branch anyways. I'll try tonight, if not I'll do really early AM tomorrow.

pushed patch to master for the fix....will update documentation as well.


Build plan snapshot testing

What does this PR address?
Use cargo-insta for snapshot testing the build plan tests. This is useful since it will tests all parts of the build plan for each tests as opposed to just the parts that get manually asserted. This also makes updating the build plan format a lot easier since we don't have to go and edit a 900 line file everytime.
I am not snapshot testing and build plans that rely on ARCH. This brings up a larger question in that we should be able to build for other platforms in the tests and not rely on the ARCH constant. But that should be fixed in another PR.

I'm not sure, this kind of looks painful to maintain.

I'm not sure, this kind of looks painful to maintain.

Insta has tools to automatically review and update the snapshots. The snapshot files should never be edited manually.
This video explains how it works fairly well
https://www.youtube.com/watch?v=rCHrMqE4JOY


feat: tables stream with CatalogManager

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?

Enhanced CatalogManager: get tables with stream by catalog and schema
Let information_schema.columns & information_schema.tables use stream API to get tables

Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.
[x]  This PR does not require documentation updates.

Refer to a related PR or issue link (optional)

Some code has been modified (MemoryCatalogManager). PTALA @WenyXu


[20.09] ec2-amis: add stable NixOS 20.09 AMIs

Fixes #101694
(cherry picked from commit 8cae6703efdf7ddd8b999209de99bfd141abf7b0)

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

thx @AmineChikhaoui


No object detect

No object detect when I launch the app on HL2

Is the default behavior using Custom vision cloud service ? If that, in addition to update endpoint and key , should I download the offline onnx model to asset package ?
How to use the local onnx model instead of cloud service ? choose "Use Local Model" in MR toolkit extension ?

Hi @tommywu052,
The default behavior is the CustomVisionObjectDetectionService. Running a local ONNX model was still very experimental, and still needs proper implementation. I added CustomVisionLocal as a work in progress for a colleague.

Please use the CustomVision cloud service. You'll need to train one by yourself and generate and configure the endpoint and key.
As mentioned, the local model is experimental and may not work out of the box. If you want to work on that, configure the CustomVisionLocal as object detector in the custom vision object detection service. Export the model on CustomVision as ONNX in the compact domain.

I'll archive this project as it is no longer in development and I do not have access to a HoloLens anymore.


@vx/grid: Is it possible to style nth element with columnLineStyle

Hi there :)
Newbie question: is it possible to add nth child styling ?
<Grid
    // vx-columns:nth-child(3) {stroke: red}
    columnLineStyle={{stroke: 'blue'}}
    ...
/>

Thank you for your time

Hi @Kiennyo, this is possible with css:
<Grid
  className="my-custom-grid"
  ...
/>

.my-custom-grid.vx-columns > .vx-line:nth-child(3) {
    stroke: red;
}


IAP Windows Universal app business toggle

Might push this out to v3.x perhaps just support for win 10, unsure at this point

That should be great, any release date ?

Sorry @Odonno not sure at this point, I want to wait for win10 / VS 2015 final so I can ensure that it's fully tested for different platforms and so I don't risk having to do re-work - stay tuned :)


Updated Docker images to the latest

Updated the two Docker images to the latest.

@pulyaevskiy The travis build failed and for some reason there is no build log.
https://travis-ci.org/github/dart-kafka/kafka/builds/676570127
I attempted to restart it, but there are no options for me to restart it.

Looks like the tests passed but the coverage is failing again.
https://travis-ci.org/github/larryaasen/kafka/builds/676568472
$ dart --version
Dart VM version: 2.7.2 (Mon Mar 23 22:11:27 2020 +0100) on "linux_x64"
before_install
69.22s$ ./tool/rebuild.sh
pub_get
21.80s$ pub get
8.99s$ pub run test test/all.dart
00:00 +0: stream iterator basic
00:00 +1: stream iterator prefilled
00:00 +2: stream iterator error
00:00 +3: stream iterator current/moveNext during move
00:00 +4: stream iterator error during cancel
00:00 +5: stream iterator collects offsets of consumed records
00:00 +6: OffsetFetchApi: it fetches consumer offsets
00:02 +7: OffsetFetchApi: (tearDownAll)
00:02 +7: OffsetCommitApi: it commits consumer offsets
00:03 +8: OffsetCommitApi: (tearDownAll)
00:03 +8: Errors: it can be converted to string
00:03 +9: Crc32: it produces valid CRC32 checksums (unsigned)
00:03 +10: Crc32: it produces valid CRC32 checksums for string inputs
00:03 +11: Crc32: it can produce signed checksum
00:03 +12: Metadata API:  we can send metadata requests to Kafka broker
00:03 +13: Metadata API:  metadata response throws server error if present
00:03 +14: Metadata API:  (tearDownAll)
00:03 +14: FetchApi: it fetches messages from Kafka topic
00:03 +15: FetchApi: (tearDownAll)
00:03 +15: Consumer Metadata API:  (setUpAll)
00:03 +15: Consumer Metadata API:  we can send group coordinator requests to Kafka broker
00:03 +16: Consumer Metadata API:  group coordinator response throws server error if present
00:03 +17: Consumer Metadata API:  (tearDownAll)
00:03 +17: Metadata: it can fetch specific topic metadata
00:03 +18: Metadata: it can list existing topics
00:03 +19: Metadata: it can list Kafka brokers within cluster
00:03 +20: Metadata: it can fetch group coordinator
00:03 +21: Metadata: (tearDownAll)
00:03 +21: Produce API:  it publishes messages to Kafka topic
00:04 +22: Produce API:  (tearDownAll)
00:04 +22: GroupMembershipApi: we can join and leave a consumer group
00:04 +23: GroupMembershipApi: (tearDownAll)
00:04 +23: PacketStreamTransformer:  it transforms incoming byte stream into stream of Kafka packets
00:04 +24: BytesBuilder: it adds Int8 values
00:04 +25: BytesBuilder: it adds Int16 values
00:04 +26: BytesBuilder: it adds Int32 values
00:04 +27: BytesBuilder: it adds string values
00:04 +28: BytesBuilder: it adds array values of Int8
00:04 +29: BytesBuilder: it adds array values of Int16
00:04 +30: BytesBuilder: it adds array of Int32
00:04 +31: BytesBuilder: it adds array values of Int64
00:04 +32: BytesBuilder: it adds array values of bytes
00:04 +33: BytesBuilder: it supports null for bytes type
00:04 +34: BytesReader: it indicates end of buffer
00:04 +35: BytesReader: it reads all Kafka types
00:04 +36: BytesReader: it supports null for bytes type
00:04 +37: MessageAttributes: get compression from byte
00:04 +38: MessageAttributes: get timestamp type from byte
00:04 +39: Consumer: it can consume messages from multiple brokers
Record: [akey, avalue]
Record: [ckey, cvalue]
Record: [bkey, bvalue]
00:06 +40: Consumer: (tearDownAll)
00:06 +40: KProducer: it can produce messages to Kafka
00:06 +41: KProducer: (tearDownAll)
00:06 +41: RoundRobinPartitionAssignor: it assignes partitions on one topic
00:06 +42: RoundRobinPartitionAssignor: it validates member subscriptions are identical
00:06 +43: OffsetApi: it fetches offset info
00:06 +44: OffsetApi: (tearDownAll)
00:06 +44: Versions API can obtain supported api versions from Kafka cluster
00:06 +45: Versions API (tearDownAll)
00:06 +45: Versions fail if there is no overlap with server
00:06 +46: Versions pick max client version if server max is higher
00:06 +47: Versions pick max server version if client max is higher
00:06 +48: All tests passed!
The command "pub run test test/all.dart" exited with 0.


The __dbnames can`t be created when i use pwa in my project

here is the website: online case
the pwa tech i use:

offline-plugin (webpack-plugin)

how i get __dbnames:
export const Service_getAllGroups = async (): Promise<Array<string>> => {
      if (await Dexie.exists('__dbnames')) {
		const db = new Dexie('__dbnames')

		await db.open()
		await db.table('dbnames').toArray()

		return await Dexie.getDatabaseNames()
	} else {
		return []
	}
}

when the code has deployed to the gh-pages,the __debnames can`t be established,then the code will not run as well.
I`m a new user of Dexie,i try to find out the reason of why this case happened,but i get nothing about that.

Let me kindly ask you to put the question at stackoverflow instead unless you believe this is a bug.

i got by created a new db that loging dbnames，and it works

Thanks. Closing this issue then.


The command python3 -m ttkbootstrap does not work to open Themes on mac OS

Desktop (please complete the following information):
ttkbootstrap Version v1.10.1
Mac OS
Describe the bug
I Have a issue when I open the python3 -m ttkbootstrap command
Command:
python3 -m ttkbootstrap

python -m ttkbootstrap does not work on my laptop
The error is in Additional context area
To Reproduce

Run command

python3 -m ttkcreator

See Error
The Full error is in Additional context area

Expected behavior
No response
Screenshots

Additional context
The full traceback:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ttkcreator/__main__.py", line 471, in <module>
    creator = ThemeCreator()
              ^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ttkcreator/__main__.py", line 23, in __init__
    self.demo_widgets = DemoWidgets(self, self.style)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ttkcreator/__main__.py", line 245, in __init__
    self.create_left_frame()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ttkcreator/__main__.py", line 445, in create_left_frame
    m = ttk.Meter(
        ^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ttkbootstrap/widgets.py", line 718, in __init__
    self._setup_widget()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ttkbootstrap/widgets.py", line 759, in _setup_widget
    self._draw_meter()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ttkbootstrap/widgets.py", line 856, in _draw_meter
    img.resize((self._metersize, self._metersize), Image.CUBIC)
                                                   ^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'CUBIC'. Did you mean: 'BICUBIC'?

Search for the widgets.py file (if installed in a venv, venv/lib/<python3.xx>/site-packages/ttkbootstrap/widgets.py)
and replace it with this version:
widgets.py.zip

Ok lets see if this works

Its was fixed

I provided a workaround (and of course this works).
However, the problem is not fixed as long as the installation packages are not updated (people still pip install ttkbootstrap and get broken libraries).
I cannot help with the last step.


How to separate 3rd party dependency layer from in-house jar dependencies ?

Hi,
Is there a way to tell jib to put some jar dependencies into an 'extra' layer or to put all dependency jars into spearate layers: 1 jar - 1 layer ?
Here's my use case:

my application depends on 3rd party jars (such as spring, gson, etc...) but also on other in-company jars.
those in-company jar dependencies change much often than 3rd party jars and new releases are pushed on daily basis.
when I push my app image and the pull it during deployment then whole 3rd party jars layer gets pulled even if it only had 1 jar dependency changed.

If I could somehow tell jib to put those 'fast changing' in-company jar dependencies into a layer separate from 3rd party jars then I would get much less overhead when pushing/pulling images in case some of in-company jar dependency version changes because 3rd party jars layer would not be touched and instead of pulling 70MB image change I would pull only a 5MB layer (with all in-company jars inside, those changed aswell as those not changed).
In my mind this layer would function the same way 'SNAPSHOT' layer does, only I could specify which jar releases go to this layer, something like:

3rd party dependencies layer
extra dependencies layer
project deps layer
snapshot layer
resources layer
class layer
files layer

Coming back to my original question - instead of this complicated extra layer jar selection maybe it would make sense to have an option to put every dependency jar to a separate layer - that way whichever jar changes, only those layers/jars would get pulled.

I wrote a quick-and-dirty implementation (maven only) which works well for my usecase:
https://github.com/GoogleContainerTools/jib/compare/master...mzagar:project-dependencies-selector
With this option, I can easily select which dependencies I want to put in project dependency layer by matching them using a regex specified in projectDependenciesSelector field.
For example, I can force all dependencies starting with infobip- to end up in project dependency layer and get it separated from other 3rd party and snapshot dependencies:
                    <plugin>
                        <groupId>com.google.cloud.tools</groupId>
                        <artifactId>jib-maven-plugin</artifactId>
                        <configuration>
                            <projectDependenciesSelector>^infobip-.*</projectDependenciesSelector>
                        </configuration>

I am ready to polish my pull request if you would consider accepting it.
If not, could you please suggest some alternatives?
Thanks

Hi @mzagar
That's a very interesting use case that makes us to think we should have a way to support. For a long time, we've had a lot discussions around layering various sorts of dependencies, and looks like we still need to think about this more.

maybe it would make sense to have an option to put every dependency jar to a separate layer

I think you should avoid this. There used to have a very small limit (of 42) as to how many layers you can have, which I believe has been mostly lifted on modern kernels, but I think many still may face another limit (of 127, for example): https://github.com/docker/docker.github.io/issues/8230

https://github.com/GoogleContainerTools/jib/issues/1724 does exactly what you want.

Should this be closed?

Hi @cricket007, for me this is still an issue so I would not close it.
Unfortunately #1724 does not solve my problem.
Here's a structure of infobip-hello maven project I am building:

resulting docker image is built inside infobip-hello-service maven submodule

After mvn jib:dockerBuild following jib layers are created in infobip-hello-service docker image :

After diving into docker image built with jib 2.1.0 here's the content of jib layers :
1. dependencyJars layer

all 3rd party dependencies are store at this layer (commons, grps, hibernate, ...)

in-house dependencies - which are same as 3rd party dependencies from perspective of this module are highlighted (infobip-*)

2. snapshotDependencyJars layer

infobip-hello-service module picked up infobip-hello-connector submodule dependency as expected

3.   projectDependencyJars

not present (probably since it is empty)

4. app resources layer

as expected contains src/main/resources content

5. app class layer

as expected

6. jib extra directory

as expected, contains files added explicitly

My challenge is that in dependencyJars layer (1) in-house (infobip-*) dependencies are present and I would like:

for those inhouse deps to be present in separate layer because they change more often than 3rd party deps
to be able to control which dependencies I put in this 'separate layer'

If I am doing something wrong  in using jib and I can accomplish this easily please help :)
If not, I still am in favor of my suggestion to introduce this 'separate layer' where user could control with a regex which dependencies should be stored in this layer.
Any suggestion how to go about this is greatly appreciated.
Thanks,
Mario

@mzagar we're not going to close this. For now, I don't see an immediate workaround in your situation to have this level of fine-grained control.
As we are getting numerous feature requests to Jib (many of which are often very specific to certain use-cases, don't align well with Jib's model or intentions, are too complex to support without polluting our codebase or configuration with special code, etc.), we decided to introduce an extension framework to Jib rather than trying to implement all of them one way or another. With the extension system, anyone will be able to extend and/or modify Jib's behavior relatively easily and have a fine-grained control over most of the aspects of image building. I think that will cover most of such issues and FRs, including this one.

sounds great, thanks!
any eta or a task I could follow the progress of the extension framework?

We are working on it, but I think it's going to take a while. We aim to complete this at least in the second quarter.

@mzagar @hendrikhalkow @OneCricketeer
The Jib Extension Framework is now available with the latest Jib versions. You can easily extend and tailor the Jib plugins behavior to your liking.
We've written a general-purpose layer-filter extension that enables fine-grained layer control, including deleting files and moving files into new layers. The extension will cover your use-case to create a separate layer for in-hours jar dependencies (or any new layer for any files).

Maven Layer-Filter Extension
Gradle Layer-Filter Extension

For general information about using and writing extensions, take a look at the Jib Extensions repo.

@chanseokoh just wanted to say the layer-filter extension works just the way we need, thanks!


Namespaced @return for Database::table() etc

Is there a reason why the @return are namespaced although the returned classes are within the same namespace? If not, I'm uploading the changed files. Namespacing within the same namespace should not be needed. Also, it breaks PHPStorm code inspection

The namespace can be removed from the phpdoc block.


Depending on kind of install of FOMCON, poly2str function may get shadowed by an obsoleted Control System toolbox function

The issue is that depending on MATLAB path configuration, the FOMCON-specific function poly2str may be shadowed by an obsoleted function from the Control System toolbox function having the same name. This seems to always happen with the Add-on installation of the toolbox.
The net result is that when the function is called internally in FOMCON, the obsoleted function gets invoked instead. Because the signatures are similar (and there is no check for types), this results in poly2str of CST to generate gibberish instead of the actual output that should have been produced by the FOMCON function.
To see the order in which the functions are invoked, type
which -all poly2str
If the obsoleted function is shown first in the list, you will be affected by this bug. The solution is to install FOMCON manually by downloading the code from github and adding all of its files/folders to path. That way, the correct function will be called.

Fixed in dd979c99fcee5fee5b63f54d941c86673c1ab2aa
Merging to master ASAP and creating a new release.


Invalid Link in "DeleteCapacityProvider" Documentation

Describe the issue
There is an invalid link in the overview section of the "DeleteCapacityProvider" documentation. The link mistakenly refers to a non-existent API, PutCapacityProviderProviders, instead of the correct API, PutClusterCapacityProviders.
Links
https://github.com/boto/botocore/blob/develop/botocore/data/ecs/2014-11-13/service-2.json#L138

Thanks for reporting this issue. This is a problem with the upstream API documentation: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteCapacityProvider.html. The broken links are present there in addition to the SDK documentation. I'll go ahead and reach out to the ECS team about fixing this. For future reference, you can also use the Provide feedback links at the bottom of API documentation pages to report issues directly to the appropriate team, and any fixes should get automatically reflected in the SDK documentation.

Closing as the documentation has been fixed — thanks again for reporting this issue.


chore(deps): update markdown-related dependencies

Summary
I'm trying out #574. The @shikijs/rehype uses a higher version of
unified than Rspress. So I decided to first upgrade the dependencies of
Rspress.
Upgrade @mdxjs/*, hast-*, mdast-util-*, rehype-*, remark-*,
unist-util-* and unified to latest.
Please note that these are major bumps with breaking changes(mostly
typings). The remarkPlugins/toc.ts and remarkPlugins/loader.ts have
been updated for the correct types.
I've tried running Rspack and Rsbuild documentation with the upgraded
Rspress. Everything looks just fine!
Related Issue
#574

Checklist

[ ] Tests updated (or not required).
[x] Documentation updated (or not required).

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


Fixes related to distro's filesystems

When packaging hipamd with Fedora, these are some issues that came up.
They seem generic to most distros, so we should pull them in if there's no issue.

Moved to:
https://github.com/ROCm-Developer-Tools/HIPCC/pull/83


WaveshareTouchScreen::normalizeTsPoint( TSPoint &p, uint8_t rotation)

The normalizeTsPoint-function is not working properly.
InTouchTest.ino I always wondered why you have to change back to "Waveshield.setRotation(0);"
Turns out the coordinates wouldn't fit if left at "Waveshield.setRotation(1);"
So the TouchTest.ino only works if you set your text horizontally at rotation = 1 and to draw you set back rotation = 0
And ONLY then it will work like this. Like you can't set rotation = 0, write vertical and then change to rotation = 1 to draw. The fillCircle-dots will be off-set and mirrored.
After some troubleshooting I found out normalizeTsPoint-function is the culprit. Please correct me if I'm wrong, I'm still learning. I changed the last part of the function to this:
int16_t t;
switch (rotation)
{
case 0:
break;
case 1:
t = p.y;
p.y = LCD_WIDTH - 1 - p.x;
p.x = t;
break;
case 2:
p.y = LCD_HEIGHT - 1 - p.y;
p.x = LCD_WIDTH - 1 - p.x;
break;
case 3:
t = p.y;
p.y = p.x;
p.x = LCD_HEIGHT - 1 - t;
break;
}
This solved the problem for me but I'm not sure if it is really solved or just superficial solved.

Fantastic - I can confirm - this solved the problem.
Thanks for posting this, saved me allot of headaches


Fix anchor links in spanish FAQ

Thanks @Rodrifer FYI we have a new repo for documentation here, the docs site si generated from this repo, if you wanna take a look
https://github.com/lnp2pBot/doc-site

Sure, I will check it.


[2.x] Sharpen the contract of QueryableRepository

At the moment, the newly introduced QueryableRepository (see 2.x branch) speaks only in terms of EntityRecord search. However, all RecordBasedRepository instances are now capable of searching for Entity instances by the passed EntityQuery.
We need to address this discrepancy by defining the QueryableRepository API on searching for Entity instances as well.

Addressed by #1382.


Style inconsistencies in Firefox - fix #114

Fix https://github.com/WorldBrain/WebMemex/issues/114

Looks alright. Checked FF and Chrome versions side-by-side and actually the fonts seem to be fine in the new settings! It was just the popup.
I was going to call out the use of pixels for the font-size in L5 body.css, as everywhere else in popup uses ems, but I think it should be no problem to have just the body element use pixels and all the other font-sizes being relative to that :)
With the font choice "Lato", I presume that was decided in the new designs? Now it's being used in both settings and popup UIs, but not in overview. I think the UIs should be consistent with these choices (unless there's a reason), so either update overview UI to also use Lato or remove from all? Maybe @oliversauter can shed some light
Also one unrelated thing to styles, but general advice @mukeshkharita: try to make your commit messages a bit more descriptive. Subject is a good place to write a basic overview of the main change in a commit (generally starting with a verb, imperative mood, and ~50 chars max), while you could put more description and optional github directives (like "Fix issue #999") in the body. Just for next time :) (this article is a goodie from a few years back)

Merged in now. We'll decide on the font thing later. Thanks @mukeshkharita !


add title and favicon

For #96:

Thanks for the code clean-up, too.

I think Small Board should have a sushi logo in honor of the person who came up with the name and built the initial version.


Mobile page layout improvements

On mobile, the editors are stacked vertically which is usually a good idea. However, the editors intercept touch events making it impossible to scroll the page (not just the editor) by swiping with a finger.
I propose to show a tab bar on mobile instead, with 3 tabs: "Gleam", "Result", "Compiled JS/Erlang". When pressing the "Build & Run" button, the "Result" tab should be opened automatically.

I have added padding to the sides to allow scrolling, but yes, that was just a quick workaround.


[WIP] Tractor SDK

Tractor SDK
This PR provides basic SDK functionality for interacting with Tractor. It also expands current functionality of pipeline.
Features

Easy composition of sequences of actions
Common reward actions
Standardized handling of byte-level data
Tooling to assist operators in simulating Blueprints

What this is not

A standardized set of Blueprints that will be offered.

Status

Core SDK design in place. Compiles and runs. Test reverts contract side.
https://github.com/BeanstalkFarms/Pipeline/issues/9 issue replicated here. Seeing an extra 32 bytes in clipboard data constructed through SDK. Consensus is that these bytes are expected and whitepaper should be updated to represent them.

Todo

Refine SDK design. Some structure can be slightly shuffled to improve usability.
Implement standard Blueprint and sub-blueprints
Implement full suite of tests that cover both Tractor SDK and Contracts. Deprecate existing js Tractor tests.
UI design & implementation (out of scope for this PR)


SharePoint PnP Provisioning Service: Microsoft 365 learning pathways

[ ] Question
[ ] Typo
[X] Bug
[ ] Additional article idea

I am trying to setup one of the PnP 365 Microsoft Leaning Pathways template in my tenant, but keep failing for some reason...
Here is the exception that occurred:
Type = System.Net.WebException Message = The remote server returned an error: (404) Not Found. Source = OfficeDevPnP.Core Status = ProtocolError Response = System.Net.HttpWebResponse TargetSite = Void ApplyProvisioningHierarchy(Microsoft.Online.SharePoint.TenantAdministration.Tenant, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningHierarchy, System.String, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateApplyingInformation) StackTrace = at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation provisioningInfo) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 230 at Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation applyingInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Extensions\TenantExtensions.cs:line 42 at SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.d__2.MoveNext() in C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line 422 HResult = -2146233079
Steps to Reproduce
I am navigating to this site, filling out the info an then hitting the provision:
https://provisioning.sharepointpnp.com/tenant/Home/Provision
I do have an app catalog set up at the tenant level, and my account is a global admin in the tenant.  So it's definitely a bit odd.
Any help would be appreciated!  Thank you guys!

So I tried it a second time, and it worked.  Very odd!  Not sure what happened but I honestly didn't do anything different.  I'm glad to have the site up and running though!  Have a good one.


how to test on the pascal voc 2012 test?

hi, could you please tell me how to test on the pascal voc 2012 test?

Hi, sorry about the delay.
1- You need to run the testing script on test set of PascalVOC 2012.
2-You can find each class .txt detections file on the folder /Boosted-OICR/snapshots/oicr_lambda_log_distillation//test/model_step24999/...
3- Now you can use the instructions in the Pascal Voc server to create a .zip package with these .txts.
4- Send it.
5- Wait for a long time.
Hope it helps.


Connection error

Got errors when accessing homeassistant throu UI
2023-04-16 11:10:11.007 - OVOS - ovos_PHAL.service:load_plugins:77 - ERROR - failed to load PHAL plugin: ovos-PHAL-plugin-homeassistant
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c223e50>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='lergravsvej14b.duckdns.org', port=8123): Max retries exceeded with url: /api/states (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c223e50>: Failed to establish a new connection: [Errno -2] Name or service not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/ovos_PHAL/service.py", line 74, in load_plugins
self.drivers[name] = plug(bus=self.bus, config=config)
File "/home/mycroft/.local/lib/python3.10/site-packages/ovos_PHAL_plugin_homeassistant/init.py", line 94, in init
self.init_configuration()
File "/home/mycroft/.local/lib/python3.10/site-packages/ovos_PHAL_plugin_homeassistant/init.py", line 173, in init_configuration
self.devices = self.connector.get_all_devices()
File "/home/mycroft/.local/lib/python3.10/site-packages/ovos_PHAL_plugin_homeassistant/logic/connector.py", line 141, in get_all_devices
response = requests.get(url, headers=self.headers)
File "/usr/lib/python3.10/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3.10/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='lergravsvej14b.duckdns.org', port=8123): Max retries exceeded with url: /api/states (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c223e50>: Failed to establish a new connection: [Errno -2] Name or service not known'))

@andlo This is looking like your device can't reach the URL. Are you still seeing this issue on the latest version of the plugin?

@mikejgray NO - but that is because my MK2 isnt running ;)
some day I get it running - waiting for at bildroot image that is easy to setup and have latest plugins avaible :)
So this could be closed for now I think.


Cycif

(Please feel free to ignore this until we meet.)
Does it matter if the time component is not sorted? I.e., we have data in the order of 0, 1, 24, 4, 48, 8 hours... @aarmey

Heatmaps for the CycIF data:

Figure1 that includes the R2X plots builds when I run it locally, but it is failing in Github Actions.. I am not sure why..

oops.. thanks, I fixed it.


Type issue when using Decodable

I'm trying to use the new Swift 4 feature with decodeable. But I'm running on a runtime issue

Siesta.RequestError.Cause.WrongInputTypeInTranformerPipeline(expectedType: Foundation.Data, actualType: __NSDictionaryI, transformer: Data → User)), timestamp: 519992008.24429899

This is my pipeline: try jsonDecoder.decode(User.self, from: $0.content). It seems like that the $0.content is not a Data Object. 🤔

Siesta configures a JSON parser in the transformer pipeline by default. Turn that off (per the instructions in that link) if you want raw data for JSON responses.

Thank you for the response. I'm closing this :)


CRDs and Operator

WIP

[ ] #1680

See commentary in related discussion

how can we proceed with it? seems like not such a complex task, for example can be implemented like in the OpenFunction project:
as a CRD that creates 2 resources, a shipwright builder and then when succeed building deploys it via a knative serving service


exclude mac os temp files from repo

we need to exclude any temp files generated by the Mac os

bug fixed


[gha] re-enable sccache

Motivation
Let's re-enable sccache.
There are still a couple issues I'm tracking down (sccache fix to notice changes in CARGO's location) and a pr for trybuild to read the env location every time, but nothing is stopping us from using and benefiting from sccache today - to save a few minutes off of each build.
Have you read the [Contributing Guidelines on pull requests]
Yes
Test Plan
CI.
Related PRs
None

/canary

:broken_heart: Test Failed - Build images and run cluster test

/canary

:broken_heart: Test Failed - ci-test-success

/land


QoS 3 - Add Lifespan QoS policy

Depends on https://github.com/ros2/rclpy/pull/305 (not dependent on pub/sub API changes)
Add the Lifespan QoS Policy setter/getter
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Resolving time comment - it's a Python3 int, which is unbounded, and is being used as a C99 unsigned long long on the C side, which is 64 bits.


Invalid status codes with aiohttp

aiohttp doesn't return responses with 4xx, 5xx. It instead raises exceptions aiohttp.web_exceptions.HTTPException. Which has status_code property. We can use this property to detect valid status code.

@wpjunior Can you check this one?


Potential resource leak on browser container spin up

I am observing a resource leak with Firefox containers (both Selenium Server-based and Selenoid-based) which may potentially lead to Selenoid node shutdown.
I have a single virtualbox with latest version of Selenoid, configured with default limit of 5 browsers. I am able to reach this limit with Chrome containers without any issues. However when I try to get 3 or more Firefoxes (tried selenoid/firefox:45.0, selenoid/firefox:53.0 and selenoid/vnc:firefox_53.0 images) the third container gets in a kind of endless loop with log like this:
2017/05/25 13:50:25 Loading configuration files...
2017/05/25 13:50:25 Loaded configuration from [/etc/selenoid/browsers.json]
2017/05/25 13:50:25 Using default containers log configuration because of: read error: open config/container-logs.json: no such file or directory
2017/05/25 13:50:25 Timezone: UTC
2017/05/25 13:50:25 Listening on :4444
2017/05/25 13:50:25 [NEW_REQUEST]
2017/05/25 13:50:25 [NEW_REQUEST_ACCEPTED]
2017/05/25 13:50:25 [0] [LOCATING_SERVICE] [firefox-53.0]
2017/05/25 13:50:25 [0] [USING_DRIVER] [firefox-53.0]
2017/05/25 13:50:25 [0] [ALLOCATING_PORT]
2017/05/25 13:50:25 [0] [ALLOCATED_PORT] [42260]
2017/05/25 13:50:25 [0] [STARTING_PROCESS] [[/usr/bin/geckodriver --host :: --log debug --port=42260]]
2017/05/25 13:50:26 [0] [PROCESS_STARTED] [28] [242.803186ms]
2017/05/25 13:50:26 [0] [PROXYING_REQUESTS] [http://<IP_ADDRESS>:42260]
2017/05/25 13:50:26 [0] [SESSION_ATTEMPTED] [unknown] [http://<IP_ADDRESS>:42260] [1]
2017/05/25 13:50:37 [NEW_REQUEST]
2017/05/25 13:50:37 [NEW_REQUEST_ACCEPTED]
2017/05/25 13:50:37 [0] [CLIENT_DISCONNECTED] [unknown]
2017/05/25 13:50:37 [0] [TERMINATING_PROCESS] [28]
2017/05/25 13:50:37 [0] [TERMINATED_PROCESS] [28]
2017/05/25 13:50:37 [1] [LOCATING_SERVICE] [firefox-53.0]
2017/05/25 13:50:37 [1] [USING_DRIVER] [firefox-53.0]
2017/05/25 13:50:37 [1] [ALLOCATING_PORT]
2017/05/25 13:50:37 [1] [ALLOCATED_PORT] [43122]
2017/05/25 13:50:37 [1] [STARTING_PROCESS] [[/usr/bin/geckodriver --host :: --log debug --port=43122]]
2017/05/25 13:50:37 [1] [PROCESS_STARTED] [106] [200.017157ms]
2017/05/25 13:50:37 [1] [PROXYING_REQUESTS] [http://<IP_ADDRESS>:43122]
2017/05/25 13:50:37 [1] [SESSION_ATTEMPTED] [unknown] [http://<IP_ADDRESS>:43122] [1]
2017/05/25 13:50:46 [1] [CLIENT_DISCONNECTED] [unknown]
2017/05/25 13:50:46 [1] [TERMINATING_PROCESS] [106]
2017/05/25 13:50:46 [1] [TERMINATED_PROCESS] [106]
2017/05/25 13:50:46 [NEW_REQUEST]
...

This log is for Selenoid-based image; in Selenium-based one it is slightly different but the main idea is the same. It looks as though Selenoid starts geckodriver (or whatever) and Firefox instance which fails to respond within 10 seconds, abandons them and starts another, and so ad infinitum. ps -ef indeed shows a lot of defunct geckodriver processes and a lot of active firefoxes (note that geckodrivers were apparently killed but firefoxes were not). The virtual box quickly becomes unresponsive and stops to serve requests even to "good" containers. When I increase number of CPUs and memory on that box, the issue goes away but really it is still there, just hidden.
I am not sufficiently well versed in Go, but I suspect the timeout in question might be hardcoded somewhere around https://github.com/aerokube/selenoid/blob/master/selenoid.go#L158. Maybe it makes sense to make it configurable or increase it to a more reasonable value? Or maybe get rid of the infinite loop?

@nebehr thank you for detailed explanation. Let's then expose this timeout as Selenoid parameter.

@nebehr added -session-attempt-timeout parameter. Please set it like: -session-attempt-timeout 30s and reopen if this does not help.

I could also build a binary if needed.


Jupyter notebook doesn't respect python.pythonPath

Environment data

VS Code version: 1.44.0-insider, 073a24de05773f2261f89172987002dc0ae2f1cd, x64
Extension version (available under the Extensions sidebar): 2020.3.69010
OS and version: Linux 5.4.27, NixOS, x86_64 GNU/Linux
Python version (& distribution if applicable, e.g. Anaconda): 3.7.6, Nix
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): direnv
Relevant/affected Python packages and their versions: ...
Relevant/affected Python-related VS Code extensions and their versions: ...
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Language Server
Value of the python.languageServer setting: Microsoft

Expected behaviour
Defaults to python.pythonPath
Actual behaviour
Not sure, it either uses the system configuration of python.pythonPath or defaults to the whatever the python in $PATH is.
Steps to reproduce:
settings.json
{
  "python.pythonPath": ".direnv/python/bin/python"
}

➜ l .direnv
total 1.0K
drwxr-xr-x  2  0 Mar 24 13:23 .
drwxr-xr-x 11  0 Mar 24 13:15 ..
lrwxrwxrwx  1 61 Mar 24 13:23 python -> /nix/store/2qkmajsj18pl8cz5hjjyslg10mblfmbd-python3-3.7.6-env
lrwxrwxrwx  1 61 Mar 24 13:23 python-3.7.6 -> /nix/store/2qkmajsj18pl8cz5hjjyslg10mblfmbd-python3-3.7.6-env

➜ readlink -f .direnv/python/bin/python
/nix/store/2qkmajsj18pl8cz5hjjyslg10mblfmbd-python3-3.7.6-env/bin/python

Nix and direnv files can be provided if needed.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
...
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import notebook"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import notebook"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import jupyter"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import jupyter"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import notebook"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import notebook"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import jupyter"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import jupyter"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import notebook"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import notebook"
...

The python file in .direnv is a wrapper to the interpreter.
➜ cat .direnv/python/bin/python
#! /nix/store/z4ajipns0l1s8b2lrgpy6nng4cys7h99-bash-4.4-p23/bin/bash -e
export NIX_PYTHONEXECUTABLE='/nix/store/2qkmajsj18pl8cz5hjjyslg10mblfmbd-python3-3.7.6-env/bin/python3.7'
export NIX_PYTHONPATH='/nix/store/2qkmajsj18pl8cz5hjjyslg10mblfmbd-python3-3.7.6-env/lib/python3.7/site-packages'
export PYTHONNOUSERSITE='true'
exec "/nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python"  "$@"

Getting some inconsistent output in Python now after manually fixing the interpreter (it seems to find the interpreter in .direnv but doesn't use the relative path but the actual path since the path in .direnv is a symlink).
It seems to be using the correct interpreter now? But also using the wrong one as well? Selecting the same interpreter (python3-3.7.6-env/bin/python3.7) through the command Select Interpreter to start Jupyter server fixes it (or at least the error about the missing ipykernel doesn't appear anymore)?
> /nix/store/2iwll4h1zb8p9brpzcwjrspmklali5c3-python3-3.7.6-env/bin/python3.7 (daemon) /nix/store/knasfpnn4grwkw3xq800xhrr5xmp2532-vscode-extension-ms-python-python-2020.3.69010/ms-python.python/pythonFiles/vscode_datascience_helpers/getJupyterKernels.py
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import ipykernel"
> /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/bin/python3 -c "import ipykernel"
> /nix/store/2iwll4h1zb8p9brpzcwjrspmklali5c3-python3-3.7.6-env/bin/python3.7 (daemon) /nix/store/knasfpnn4grwkw3xq800xhrr5xmp2532-vscode-extension-ms-python-python-2020.3.69010/ms-python.python/pythonFiles/vscode_datascience_helpers/getServerInfo.py

@eadwu, thanks for letting us know about this.  We'll get back to you as soon as we can.

@eadwu, sorry this is taking so long.  We'll take a look as soon as possible.

Any update on this?

Is the problem still happening with the latest version of the Python extension?

Still an issue

In my case, I'm in a workspace. Log is
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'pythonDiscoveryModule'
User belongs to experiment group 'pythonFindInterpreter'
User belongs to experiment group 'NativeNotebookEditor'
> ~/mycompany/mycompany-audit/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/company-cli/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/tap-shopify/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/company-connectors/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl-legacy/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/company-extractors/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/tap-sklik/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/mycompany-audit/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> ~/mycompany/mycompany-audit/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py pip list
> ~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Error 2021-03-26 15:24:03: Install Missing Dependencies, Class name = v, completed in 36248ms, has a falsy return value, Return Value: undefined [a [Error]: IPyKernel not installed into interpreter Python 3.8.7  ('.venv': venv):/home/user/mycompany/mycompany-audit/.venv/bin/python
	at v.installMissingDependencies (/home/user/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/out/client/extension.js:49:560244)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 2
}
Error 2021-03-26 15:24:03: Raw session failed to start because dependencies not installed
Error 2021-03-26 15:24:03: Exception attempting to start notebook:  [a [Error]: IPyKernel not installed into interpreter Python 3.8.7  ('.venv': venv):/home/user/mycompany/mycompany-audit/.venv/bin/python
	at v.installMissingDependencies (/home/user/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/out/client/extension.js:49:560244)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 2
}
Error 2021-03-26 15:24:03: DataScience Error [a [Error]: IPyKernel not installed into interpreter Python 3.8.7  ('.venv': venv):/home/user/mycompany/mycompany-audit/.venv/bin/python
	at v.installMissingDependencies (/home/user/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/out/client/extension.js:49:560244)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 2
}
Error 2021-03-26 15:24:03: DataScience Error [a [Error]: IPyKernel not installed into interpreter Python 3.8.7  ('.venv': venv):/home/user/mycompany/mycompany-audit/.venv/bin/python
	at v.installMissingDependencies (/home/user/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/out/client/extension.js:49:560244)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 2
}
Error 2021-03-26 15:24:03: Failed to initialize ipywidgetHandler [a [Error]: IPyKernel not installed into interpreter Python 3.8.7  ('.venv': venv):/home/user/mycompany/mycompany-audit/.venv/bin/python
	at v.installMissingDependencies (/home/user/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/out/client/extension.js:49:560244)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 2
}
Error 2021-03-26 15:24:03: DataScience Error [a [Error]: IPyKernel not installed into interpreter Python 3.8.7  ('.venv': venv):/home/user/mycompany/mycompany-audit/.venv/bin/python
	at v.installMissingDependencies (/home/user/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/out/client/extension.js:49:560244)
	at processTicksAndRejections (internal/process/task_queues.js:97:5)] {
  category: 'noipykernel',
  reason: 2
}

What do you get when you run the following in your terminal. Please resolve ~ to your home directory.

~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"

Next please try ~/mycompany/etl/.venv/bin/python -c "import ipykernel"

Again please run in the terminal and provide the output, thanks

Hi @DonJayamanne thanks for your help
I am trying to work with items in ~/mycompany/mycompany-audit/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel", not 'etl'.
The command
~/mycompany/mycompany-audit/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"

outputs nothing, then
~/mycompany/mycompany-audit/.venv/bin/python -c "import ipykernel"

outputs nothing as well.
However, doing
~/mycompany/etl/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"

gives the expected error
Traceback (most recent call last):
  File "/home/arsleust/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.5.689556049/pythonFiles/pyvsc-run-
isolated.py", line 26, in <module>
    exec(code, ns, ns)
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'ipykernel'

Please note that I have a bit of a weird environment. I work with remote SSH and have LD_LIBRARY_PATH set in my .profile, so I had to set in settings
  "terminal.integrated.shellArgs.linux": [
    "-l"
  ]

@GuillaumeDesforges If its ok with you, i'm going to create an issue in another repo to discuss the issue with you further. I believe what you are experiencing is slightly different.

Closing as stale.


Adding multi metric support to xunit perf analysis

Enabling generation of multi-metric csvs which can then be displayed on benchview.
Generating one csv file per metric as per benchview specs
fixing some dependencies in nuspec files
@lt72
P.S.: There is some testing pending however this does generate the appropriate csv files from test results xml.
This also needs fixing of the version number

:+1:


Adapt Examples to Paper

Use topology in fig 1
Use global state in fig 2
Adapt plan to new topology/instances

Done


[2.4.1] Uncaught ReferenceError: PIXI is not defined when using Browserify/webpack

When building with browserify/webpack, I get this error Uncaught ReferenceError: PIXI is not defined,
but when I load Phaser from a script tag, everything is fine.

I have a build script specifically for browserify, I'll publish it next week along with the ones I've made for systemjs and requirejs. Until then load it as a global.

thanks :)

Still the same problem with phaser 2.4.2
Is it supposed to fix it ?

You need to use the --split true option when making a custom build. This will split all of the libs out (phaser, pixi, p2 and creature) to their own independently UMD wrapped files. These should then be required as needed, each allowed to populate the global space. Pixi should come before Phaser.
There is not, and will not, be a 'single' file version of Phaser that works with browserify.

So in order to use phaser and browserify you have to build it locally? Is there any way to use the phaser npm package with browserify without seeing this PIXI issue? Specifically wonderimg because of use with coffeescript where setting global state is more difficult

Is there a build script for using browserify? It is referenced in this thread but I have no been able to find it.

@eignhpants grunt custom --split true is supposed to work when making a custom build.
You can always use the phaser-shim module if you prefer. It's already split for you and you just need to require phaser-shim, which is easier to setup :)


Libraries should not commit Cargo.lock

@killercup this seems to be a volontary act, why did you do that?

Yes, that was on purpose. So, in the end:

Cargo ignores the lockfile of libraries by default, so the file doesn't hurt.
The file allows one to see what actual version worked once upon a time (when bad comes to worst and a dependency had a breaking change in a minor version).
We actually have binaries: The examples.

Seems fair.


the command line menu to select a device for flutter run interrupts user flow

The flutter command line tool recently changed to showing a command line menu for flutter run when there is more than one device available and no device was specified on the command line:

I believe the intent here was to be helpful, but on the whole I think this interrupts user flow. With desktop and web devices, there's now always more than one device available. I think we should switch back to failing when there's more than one device, and listing the available devices, and that the user should re-run with flutter run -d ....

I filed https://github.com/flutter/flutter/issues/63541 to tell the user about -d so they can avoid the prompt on the next run.

@devoncarew closing this as stale but if this is something you still think we should do, feel free to reopen.  Seems like the current workflow for selecting a device after running flutter run is pretty set


Support equalizer

Hello, great package!
Is there support for an equalizer both on Android and iOS for this package?

@marf currently there is no support for equalizer


Make ch's print correctly handle nulls embedded in strings (Fixes #4410)

To make it work, AutoString::GetWideString() now calls utf8::NarrowStringToWide instead of NarrowStringToWideDynamic, because the former allows us to pass source string length explicitly rather than deducing the length from strlen.
Then WScriptJsrt::EchoCallback prints the whole string while skipping _u('\0'), which matches the behavior of Edge's dev console.
Fixes #4410

Thanks @xiaoyinl -- I have to make a corresponding change and update baselines in internal tests. Unfortunately, that's low-pri at the moment, so I will come back to this PR later.

@xiaoyinl the changes to adapt the internal host (jshost) to match this behavior are going to be somewhat involved and have a few dependencies on other work to update that tool first. So I think what I'll do here is push a commit to this branch to separate these tests to have different baselines for each tool (and reference a bug number assigned to me to clean this up in the future).

@dilijev I see. Thanks for the explanation.


⚠ AGEG website (redirect) has degraded performance

In a16cdea, AGEG website (redirect) (https://ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2541 ms

Resolved: AGEG website (redirect) performance has improved in 3ffc4ec.


Add my first file

I have created a branch, created a file, and made a commit!

merged my-first-branch branch.


Memory leak: SpriteData.from/SpriteData.fromImage

Using SpriteData.fromImage repeatedly with a large texture, although setting the SpriteData to null, increases memory & slows the game to a halt.
This is demonstrated in a JSFiddle.  After just a few seconds, the frame rate suddenly drops with the page following suit. All relevant code is contained there & commented.
500 Replit cycles to whoever can get a fix/alternative!

Fixed by freeing textures after using them, something not outlined in the docs. Created a PR to fix that: https://github.com/replit/kaboom/pull/743


feat(docs): Fill in missing [lang] SDK examples

Goal
Fill in missing Rust [lang] examples in the docs.
Problem
This was inspired by finding that the facets example was missing a Rust tab.
This likely exists with other example and language combinations
Background
Just noticed there some rust sdk snippets in the docs examples are missing:
https://docs.meilisearch.com/reference/api/search.html#facets
It would be nice to have a 'Rust' tab using the Rust SDK for every example.

It looks like the examples are generated from this yaml.
I do see a reference to the rust code samples, perhaps this is a small tweak to include these? Rust Code Examples
I am still tracing down the docs build workflow to understand how this could/should be added.
Solution
It sounds like a path forward would be to create a matrix of all the examples and languages, to see which ones are missing.
Open to any other solutions or advice from people with more knowledge of the docs build process.

Hey @ryanrussell
Since the repository is now compatible with v0.28.0, the code-samples are up to date on the documentation :)
Closing as it is fixed.


Enhance the webhook

Skip the helthy check conditions check for Cluster type LB  (if some unrelated params are set to Cluster type LB, just skip it)
Deny the change of WorkloadType (The WorkloadType decides a couple of other parameters, change the type may cause kind of chaos)
Inspired by: https://github.com/harvester/load-balancer-harvester/pull/38
Related issue: https://github.com/harvester/harvester/issues/6774
Local test:
Use kubectl to change the WorkloadType, it is blocked.

error: loadbalancers.loadbalancer.harvesterhci.io "lb1" could not be patched: admission webhook "validator.harvester-system.harvester-load-balancer-webhook" denied the request: Internal error occurred: update loadbalancer default/lb1 failed: can't change the WorkloadType from vm to cluster

From UI, use Edit Yaml to change the WorkloadType

@w13915984028 Please tag a new image and bump values in the harvester v1.4 branch, thanks!

@bk201 A new image is planned to be cut after https://github.com/harvester/load-balancer-harvester/pull/40, https://github.com/harvester/load-balancer-harvester/pull/41 are merged as well, thanks.


v4 - Use right rem size for xl grid

There is a fail in the grid configuration.
_variables.scss says that 72.25rem are 1140px,but 71.25rem are 1140px when using a root size of 16px.
But if this issue should be fixed, it's unnecessary, because it will be hardcoded.

Will be fixed when we revamp the media queries and what not in #17403.


add more css to override default notebook css

This PR does two things.

it forces the css of tables into table-layout: inherit to override Jupyter's generic table css
adds postcss to our build process which uses cssnano.  hopefully our css will start being the same in builds if no css has changed.

However, I can't verify this change directly because I don't know how to regenerate the notebook file.  But I have verified the change in rendered html.  So hopefully it works as expected.
The only actual line of css is: https://github.com/valayDave/metaflow/compare/multiple-card-decorators-custom-components-actual-components...valayDave:bug/css-table?expand=1#diff-204b2249d81ba15aa93c195d767f281fb688853d9f3e27d05630840eac9c0d56R39
And you can validate the postcss change in the rollup config.
I also noticed there are other prettier changes in app.css.  I don't know if this file was saved before prettier, or we have a different css config.  we should check this later too.

I was unable to reproduce @obgibson issue, however, out of caution, I have decided to remove the postcss from the rollup config.  (by commenting it out).
We will turn it back on in a separate PR after release.  That way we can confirm whatever issue Brendan was seeing earlier.
The only remaining change right now (besides prettier running on the css files), is forcing table-layout on mf-card.


Request for the rating.csv file for movie data set

Hi Dr. Wang,
Thanks for sharing the code and data sets for the paper. The movie dataset looks like missing one file.  Could you please also share the ratings.csv file for the movie data? Thanks a lot for your help!
Best,
Duna

Hi Duna, the movie dataset is too large to be included in this repository. You need to download this dataset by yourself. Please see the readme https://github.com/hwwang55/KGCN#running-the-code for details. Thanks!

Hi Dr. Wang, thanks for your reply! I successfully downloaded the data from the link you shared.


Updated version to 1.1.1

The current cocoapod version is 1.1.0. This version installs the old lib version, but wrong mas_safeAreaLayoutGuide. #477
I incremented version and added a new tag.

ok, also I fixed travis

@robertjpayne any updates?

@nickynick @robertjpayne @cloudkite any updates?


Functions that reference other cells with functions below them don't update properly if an IF statement is involved

To recreate, create a chain of dependent functions.  The function set is designed to create a running total from lowest to highest depending on how the first column is sorted, which is detected by checking the first and last elements of the list.
Setup:

set column A1:A5 to a bunch of sorted numbers - e.g. 1, 3, 5,8,13
set cell B1 to be =if(A1<A5,A1, A1+B2)
set cell B2 to be =if(A1<A5,A2+B1,A2+B3)
set cell B3 to be =if(A1<A5,A3+B2,A3+B4)
set cell B4 to be =if(A1<A5,A4+B3,A4+B5)
set cell B5 to be =if(A1<A5,A5+B4,A5)

Repro:

Sort column A descending.  Note the results of the calculated fields may already be incorrect.
Double-click on B4, and save.  Note that B3's value is equal to A3.
Double-click on B3 and save.  Note that B3's value is now correct, but B2's value is equal to A2.
etc.

Observed:

The calculated values are not always correct.
When editing and saving a function that is referenced by a cell above it, the field above it sometimes behaves as if the just-edited cell's value is 0

Expected:

Functions that reference other functions will ensure the referenced functions are up-to-date before updating themselves.

Other notes:

It appears as though the IF statement is the trigger here; without the if statement having a chain of functions calculating in either direction works fine, but with the if statement it causes what appear to be race conditions

Hi @bconte thank you for the very detailed report. I was able to reproduce your issues and I will have a look into it. Really appreciate the great instructions to reproduce.

I think it's to do with some cells referencing each other e.g B4 references B5 which references B4 and my graph algorithm isn't set up to handle these sort of references at the moment.
If you keep editing any of the cells then it will converge to the correct solution. Looks like excel can handle this fine. I will keep investigating.


Update DG images

Standardise and update the DG images. Closes #74.

Codecov Report

Merging #82 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #82   +/-   ##
=========================================
  Coverage     69.85%   69.85%
  Complexity      441      441
=========================================
  Files            79       79
  Lines          1463     1463
  Branches        151      151
=========================================
  Hits           1022     1022
  Misses          397      397
  Partials         44       44

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 381b00c...be729bd. Read the comment docs.


[Q] Can sweep explore the parameters of the list argument?

I have a program that receives the arguments of the list with the following argument parser. Is it possible to explore this in a sweep.yaml? The program itself has a variable number of arguments, but when exploring it, it is enough about a fixed number of arguments. I would like to do a Bayesian search for each argument.
Parser part of a Python script:
parser.add_argument('--numbers', nargs=3)  # or nargs='*'

Example of execution on command line:
$ python example.py --numbers 1 2 3

Example of a yaml file I would like to write (but this will NOT work):
program: example.py
method: bayes
metric:
  name: validation_loss
  goal: minimize
parameters:
  numbers[0]:
    min: 1
    max: 9
  numbers[1]:
    min: 1
    max: 9
  numbers[2]:
    min: 1
    max: 9

Hi, thank you for giving me your current .yaml file. For each of your parameters, can you specify the distribution for example
program: example.py
method: bayes
metric:
    name: validation_loss
    goal: minimize
parameters:
    numbers[0]:
        distribution: uniform
        min: 1
        max: 9
    numbers[1]:
        distribution: uniform
        min: 1
        max: 9
    numbers[2]:
        distribution: uniform
        min: 1
        max: 9

@lesliewandb Thanks very much for your reply. But this solution did not bring me a solution.
This is because wandb interprets argument names as they are, but ArgumentParser actually requires that arguments be passed as a list. When I run it, I get the following error:
$ wandb sweep sweep.yaml
wandb: Creating sweep from: sweep.yaml
wandb: WARNING Malformed sweep config detected! This may cause your sweep to behave in unexpected ways.
wandb: WARNING To avoid this, please fix the sweep config schema violations below:
wandb: WARNING   Violation 1. 'numbers[0]' does not match '^^[A-Za-z_][A-Za-z0-9_.-]*$'
wandb: WARNING   Violation 2. 'numbers[1]' does not match '^^[A-Za-z_][A-Za-z0-9_.-]*$'
wandb: WARNING   Violation 3. 'numbers[2]' does not match '^^[A-Za-z_][A-Za-z0-9_.-]*$'
...
wandb: Run sweep agent with: wandb agent xxx/yyyyy/zzzzz

$ wandb agent xxx/yyyyy/zzzzz
...
About to run command: /usr/bin/env python example.py --numbers[0]=1.7 --numbers[1]=3.2 --numbers[2]=1.6
usage: example.py [-h] [--numbers [NUMBERS [NUMBERS ...]]]
example.py: error: unrecognized arguments: --numbers[0]=1.7 --numbers[1]=3.2 --numbers[2]=1.6
...

Does anyone have another solution for this?
thank you.

I decided to accept arguments like --number[2] in ArgumentParser by creating the following preprocessor:
def args_list_reformat(argv: List[str]) -> List[str]:
    import re
    na = []
    ld = {}
    for arg in argv:
        result = re.match("^(--\w+)\[(\d+)]=(.+)$", arg)
        if result:
            if result[1] in ld:
                ld[result[1]][int(result[2])] = result[3]
            else:
                ld[result[1]] = {int(result[2]): result[3]}
        else:
            na.append(arg)
    for key in ld:
        na.append(key)
        na += [ld[key][i] for i in range(len(ld[key]))]
    return na

Thanks.


optimize performance for string distance

Levenshtein and OptimalStringAlignment use simple recursive implementation with high cost, like O(3^length). Better use dynamic programming to memorize intermediate results on the fly.

fixed with merge of branch "merge aoc 2022"


Formatting on Save hangs indefinitely starting in version 1.42

Issue Type: Bug
Since version 1.42 my formatters stopped functioning properly.  Looking online it looks like many formatters are experiencing the same issue.  What is happening is when you save a file and the formatter runs it just hangs indefinitely.  If I hit cancel the file will format properly and finish saving.  This issue occurs on both Windows and MacOS.
To work around the issue i've installed version 1.41

VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:34:44.548Z)
OS version: Darwin x64 19.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.36GB free)

Process Argv
-psn_0_7513898

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

EditorConfig
Edi
0.14.4

prettier-vscode
esb
3.20.0

vscode-elixir
mjm
1.1.0

vscode-elixir-formatter
sam
0.2.0

This is a duplicate. Unfortunately, I don't recall the exact issue number nor its title :flushed: Anyways, searching for issues with the same labels will likely help you :point_right:
https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aopen+label%3Aformatting

This is a duplicate. Unfortunately, I don't recall the exact issue number nor its title 😳 Anyways, searching for issues with the same labels will likely help you 👉
https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aopen+label%3Aformatting

Unfortunately your link does not help at all.
Can't find any issue with your link (even searching wider and on closed issues also)
I have this issue with multiple languages : razor files, js files, ....
Don't seems to be related to an extention (as it occurs with prettier, onmisharp, ...)