Updating v4 images for preview 5 (host version 4.0.0-preview.5.16714)

Updating v4 images for preview 5 (host version 4.0.0-preview.5.16714)

Updated host version from 4.0.0-preview.4.16394 to 4.0.0-preview.5.16714
Updated dotnet/sdk:6.0.100-rc.1 to dotnet/sdk:6.0.100-rc.2
Updated dotnet/runtime:6.0.0-rc.1 to dotnet/runtime:6.0.0-rc.2
Updated dotnet/aspnet:6.0.0-rc.1-bullseye-slim to dotnet/aspnet:6.0.0-rc.2-bullseye-slim
Updated dotnet/runtime-deps:6.0.0-rc.1 to dotnet/runtime-deps:6.0.0-rc.2
Removed a line from Node14 docker file which was meant to cleanup grpc folder content. We recently made a change to node worker which caused this directory to not exist anymore.

PR information

[x] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] New Unit tests were added for the changes made and CI is passing.

Currently investigating the python test failures.

Tests are passing now. Had to fix the python test app to remove the explicit extension bundle version dependency.


Add multiple dirs description to ImportTableCommand

Follow up to #1579

I am also trying to test the shell command with multiple directories but haven't had any success.


weex android端 asset下面的js页面之间，如何navigator？

如题，
data: function () {return {
nexturl: bundleUrl + 'second.js'
}},
init: function init() {
bundleUrl = 'file:///android_asset/';
}
｝对于file:///assets/second.js 这样的拼接方式，调试时候，都显示Intent里面不能startActivity（）.
这里面各位开发者或者作者，还请帮忙指点一二

系统竟然没有这个实现，只支持默认的http。

我这边也是。用navigator.push也是这种错误，然后换成http的也还是这个错，没辙啊。
E/Navigator: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW cat=[com.taobao.android.intent.category.WEEX] dat=http://xxxxxxxxx/Home.js (has extras) }

这个问题还不好搞，设计上可能就是prefer webpage跳转的方式，也是用的系统的action_view方式打开。

@gaoyuqi 昨天试了下路径file://assets/xxxx.js可以跳。

谢谢回复，前几天已经解决，就是你说的这个方法。

On Feb 8, 2017, at 14:31, chinafootballyu<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@gaoyuqi https://github.com/gaoyuqi 昨天试了下路径file://assets/xxxx.js可以跳 <file://assets/xxxx.js%E5%8F%AF%E4%BB%A5%E8%B7%B3>。
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/alibaba/weex/issues/2305#issuecomment-278241206, or mute the thread https://github.com/notifications/unsubscribe-auth/ADsQhMSzvWjl8M5wiun2mhMSya3eDrn9ks5raWFLgaJpZM4LmY5k.

参考playground，写一个activity WXPageActivity

This PR/issue doesn't receive response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


FPORT: Release notes for 0.13.10

Forward-port of #2315.

Can one of the admins verify this patch?


How to display temperature instead of humidity with SONOFF SNZB-02 probes?

How to display temperature instead of humidity with SONOFF SNZB-02 probes? Currently, the default display in the Smartthings app is humidity. I would like to have the default temperature.
Additional context
Add any other context or screenshots about the question here.

This sounds like it might be an issue with your device driver.  Someone on the SmartThings community forum posted a similar issue with their custom driver for the same device a couple of weeks ago (link); you might be able to find a solution to your problem there.  If not, try reaching out to customer support.  Good luck!

I had the same problem with the ST driver.  I have 4 of these SONOFF devices.  Some installed correctly and some were a pain.  I was able to get it to default to temperature by uninstalling & reinstalling.  Sometimes I had to do this several times.  I have since switched to Mariano's edge driver that @Sitlintac mentioned.  The only thing I don't like is that he has a virtual thermostat built into his driver that I don't need.  You don't have to configure/use it and you still get all of the normal temperature & humidity stuff you want.  Mariano also has other edge drivers that I find to be very useful and are worth checking out.

This page is specifically for issues for the SmartThings CLI, which doesn't appear to be related to the problem you're having with your SONOFF devices.  I'm sorry to hear that the forum wasn't able to help you solve your problem.  Please try reaching out to customer support for further help.


Make EventSubMiddleware.apply() synchronous

Feature Request
EventSubMiddleware.apply() currently doesn't await anything and I believe it has no reason to do so in the future (as applying middlewares is a synchronous operation).
I think this method should be made synchronous, to let users prepare their express server synchronously.
Anyway, thanks for those amazing libs ❤

Makes sense, but is technically a breaking change (because people could be using .then()). Will have to wait for a major version.


Avoid memory copy when encapsulating

When encapsulating a IPv4 packet into IPv6, instead of removing the
ethernet header of the IPv4 packet and after that append IPv6 and
Ethernet headers, just prepend the necessary bits to the packet and
modify the correspondent header bytes directly.

This is not intended to be merged yet, just checking this is what we were thinking of doing. The tests pass and the performance improves in all tests:
Benchmarking: from-internet IPv4 packet found in the binding table.
Rate(Mpps): 5.531
Benchmarking: from-internet IPv4 packet found in the binding table, needs IPv6 fragmentation.
Rate(Mpps): 1.375
Benchmarking: from-internet IPv4 packet found in the binding table, needs IPv6 fragmentation, DF set, ICMP-3,4.
Rate(Mpps): 0.606
Benchmarking: from-b4 to-internet IPv6 packet found in the binding table.
Rate(Mpps): 1.419
Benchmarking: from-b4 to-internet IPv6 packet NOT found in the binding table (ICMP-on-fail)
Rate(Mpps): 1.177
Benchmarking: from-to-b4 IPv6 packet, no hairpinning
Rate(Mpps): 2.171
Benchmarking: from-to-b4 IPv6 packet, with hairpinning
Rate(Mpps): 0.702
Benchmarking: from-b4 IPv6 packet, with hairpinning, to B4 with custom lwAFTR address
Rate(Mpps): 1.408
Benchmarking: from-b4 IPv6 packet, with hairpinning, from B4 with custom lwAFTR address
Rate(Mpps): 1.589
Benchmarking: from-b4 IPv6 packet, with hairpinning, different non-default lwAFTR addresses
Rate(Mpps): 1.365

Nice performance increase. I was thinking of a somewhat more conservative change, that would still use the protocol constructors.
Check out the code of datagram:push:
function datagram:push (proto)
   packet.prepend(self._packet[0], proto:header(), proto:sizeof())
   self._parse.offset = self._parse.offset + proto:sizeof()
end

The idea would then be to copy (not prepend) proto:header() to the appropriate bytes of the packet, rather than having to manually set all the fields in the correct location each time. I'm not sure how this would compare in terms of performance, but it would make the code a fair bit less fragile, so I'd be inclined to go for it unless it costs us at least 5-10%+.
On the nit side, prepend does slightly more work than necessary, as does allocating local ptr = ffi.new("uint8_t[?]", constants.ipv6_fixed_header_size); you basically want prepend without the ffi.copy line, aka C.memmove(p.data + len, p.data, p.length) plus bounds checking and updating p.length.

Updated benchmark.
Benchmarking: from-internet IPv4 packet found in the binding table.
Rate(Mpps): 5.333
Benchmarking: from-internet IPv4 packet found in the binding table, needs IPv6 fragmentation.
Rate(Mpps): 1.355
Benchmarking: from-internet IPv4 packet found in the binding table, needs IPv6 fragmentation, DF set, ICMP-3,4.
Rate(Mpps): 0.593
Benchmarking: from-b4 to-internet IPv6 packet found in the binding table.
Rate(Mpps): 2.615
Benchmarking: from-b4 to-internet IPv6 packet NOT found in the binding table (ICMP-on-fail)
Rate(Mpps): 1.247
Benchmarking: from-to-b4 IPv6 packet, no hairpinning
Rate(Mpps): 2.881
Benchmarking: from-to-b4 IPv6 packet, with hairpinning
Rate(Mpps): 0.637
Benchmarking: from-b4 IPv6 packet, with hairpinning, to B4 with custom lwAFTR address
Rate(Mpps): 1.177
Benchmarking: from-b4 IPv6 packet, with hairpinning, from B4 with custom lwAFTR address
Rate(Mpps): 1.814
Benchmarking: from-b4 IPv6 packet, with hairpinning, different non-default lwAFTR addresses
Rate(Mpps): 1.537

Rebased PR.
Bechmark results:
sudo ./benchmark-end-to-end.sh 0000:04:00.0 0000:04:00.1 | grep -e "Benchmarking\|Rate"
Benchmarking: from-internet IPv4 packet found in the binding table.
Rate(Mpps): 8.466
Benchmarking: from-internet IPv4 packet found in the binding table, needs IPv6 fragmentation.
Rate(Mpps): 1.428
Benchmarking: from-internet IPv4 packet found in the binding table, needs IPv6 fragmentation, DF set, ICMP-3,4.
Rate(Mpps): 0.638
Benchmarking: from-b4 to-internet IPv6 packet found in the binding table.
Rate(Mpps): 2.368
Benchmarking: from-b4 to-internet IPv6 packet NOT found in the binding table (ICMP-on-fail)
Rate(Mpps): 1.264
Benchmarking: from-to-b4 IPv6 packet, no hairpinning
Rate(Mpps): 0.933
Benchmarking: from-to-b4 IPv6 packet, with hairpinning
Rate(Mpps): 1.806
Benchmarking: from-b4 IPv6 packet, with hairpinning, to B4 with custom lwAFTR address
Rate(Mpps): 1.758
Benchmarking: from-b4 IPv6 packet, with hairpinning, from B4 with custom lwAFTR address
Rate(Mpps): 2.278
Benchmarking: from-b4 IPv6 packet, with hairpinning, different non-default lwAFTR addresses
Rate(Mpps): 1.925

Thank you.


NIAD-616: order by as codeable concept

I think it is not enough to add OrderedBy:eventDate. We should also sort list entries by date - where possible.


hessian_vector_product doesn't work for matrix arguments

I'm working on a toolbox which uses autograd as an autodiff backend. We need to calculate hessian-vector products when the 'vector' is actually a matrix, along the lines of Theano's Rop.
I'm wondering whether you'd like to include this functionality in autograd. I'm actually quite interested in how this works and could have a go at implementing it myself and submit a pr. Let me know your thoughts.

Hey, glad you're using autograd!
Actually, Theano's Rop doesn't compute a Hessian-vector product, but rather it computes a Jacobian-vector product. That is, it only uses first-derivative information. (Theano's Lop is pretty much the same operation that autograd's gradfuns apply to derivatives during its evaluation of the chain rule, and as such Lop can be used in an autograd primitive to make Theano handle some gradient calculations on the GPU.)
The hessian_vector_product code is actually quite short, and the only real computation is done by np.dot. It might be that by replacing np.dot with another product, like one based on einsum, could make your use case work, or maybe a call to grad needs to be replaced with a call to jacobian. However, I'm not sure exactly what computation you need or where the current implementation breaks.
Can you post example code, including the input you're using and the output you expect?

Looking at the code a bit more, I suspect we just need to change the second grad call to a jacobian call. That is, the output of vector_dot_grad won't be a scalar if the "vector" is a matrix, and so grad isn't the right derivative function to use.

Ah thank you for getting back so quickly. Currently we are using the following code to compute the thing we need. objective is a function which takes a tensor (either a vector, a matrix or a higher order tensor) as an argument and returns a scalar.
def hessian(objective):
     def hess(x, g):
         return np.tensordot(ad.hessian(objective)(x), g, axes=x.ndim)
     return hess

The above is very slow since the computation required is quadratic in the size of x and g. I was hoping the following would work, and produce the same thing:
def hessian(objective):
    def hess(x, g):
        return hessian_vector_product(objective)(x, g)
    return hess

As you know it does work, but only if x and g are 1d arrays.
So do you think this would be a straightforward fix?

One reason this makes sense is because the hessian vector product is the directional derivative of the gradient in the direction of the vector. What we need is precisely a higher dimensional analogue to this.

Ah I see, thanks for explaining, that's interesting.
I just pushed a branch which makes the change I mentioned (switch a grad to a jacobian) and adds two tests. See this Hessian-matrix product test to see how it's meant to work. Note the transpose!
Can you try out the branch and see how things look?

Thanks so much for the help. Unfortunately that wasn't quite what I wanted, though similar. I've submitted a pull request which is functioning how I would hope (essentially just changed the dot to a tensordot).

Awesome, thanks! (Commented on the PR as well.)
I'll leave this issue open until we merge into master in the very near future.

I think we closed this with PR #88.


fix: use the cleaned up IPLD Format API

BREAKING CHANGE: All formats now return data according to the IPLD Data Model
The most important change is that now all formats return links as CID instances
and no longer as the JSON representation ({"/": "base-encoded-cid"}.

I'll save a review until this is in sync with the latest format changes

@rvagg It's ready for review now.

@rvagg Thanks for being so thorough. I only looked at the source and not at the tests to see if there's former async left-overs.

This change got approved. Only change is a fixup + updating the IPLD Format implementations to the current versions so that things actually work. Hence merging.


Adding examples to the methods in the documentation

I would like to add some examples to the methods in the documentation.

Go ahead @karthikbhandary2, but do not add more than 4/5

Like not to add examples for more than 4 methods?

yes @karthikbhandary2

ok Understood!

@nikhil25803 I think you can close this issue since it got merged!


Add ocdev storage umount command

This commit adds ocdev storage unmount command, which will
unmount the given storage from a component. For implementing this,
an Unmount() function has been introduced in the storage package.
Other parts of code have also been refactored to use the Unmount()
function for much clearer logic.
storage.Remove() has been refactored to first use Unmount(), and
then delete the PVC. The logic looks much cleaner now. Also, to
remove all the components, List() is being used.
Also, introducing the unmount command led to a refactor in
storage.List(), because before this commit all the PVCs with the
relevant labels for storage were being printed, but this commit
decouples this logic from PVCs to the Deployment Config associated
with the component. So, the unmounted storage is no longer being
reflected in List() output.
In one of the further commits, we will need to add something like
ocdev storage list --all to list the unmount storage as well,
but I guess that will be go together with ocdev storage mount
command.

Fixes #230

@kadel made the changes, PTAL

I'm unable to delete storage  that was previously unmounted
▶ odo storage create backend --path /data --size 100M
Added storage backend to backend

▶ odo storage umount backend
Unmounted storage backend from backend

▶ odo storage remove backend
failed to remove storage

▶ odo -v storage remove backend
DEBU[0000] getOcBinary - searching for oc binary
DEBU[0000] envKubectlPluginCaller =

DEBU[0000] envOcBin =

DEBU[0000] using oc from PATH
DEBU[0000] using oc from %s/usr/local/bin/oc
DEBU[0000] Trying to connect to server <IP_ADDRESS>:8443 - %!v(MISSING)
DEBU[0000] Server https://<IP_ADDRESS>:8443 is up
DEBU[0000] isLoggedIn err:  <nil>
 output: "developer\n"
DEBU[0000] Error:
unable to mount storage backend from component backend: unable to remove volume: backend-pvc from Deployment Config: backend: updating Deployment Config backend failed: no volume found for PVC backend-pvc in DC backend, expected one
failed to remove storage

@containscafeine @kadel , I faced similar issue as above

@kadel I have made the changes according to our discussion, please have a look now :)


Expose request method

We expose the request method so we only have one such method across libraries (ie: remove redundant code from CVJS).

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


rp-adapter: refactor id_token

PR #252 bundled all user claims under attribute verified_claims:
Example
{
    "at_hash": "JJCNhlQDDaWOcJ5rcz-4aQ",
    "aud": [
        "664864e9-6449-4dda-99cd-bb85508032cf"
    ],
    "auth_time":<PHONE_NUMBER>,
    "exp":<PHONE_NUMBER>,
    "iat":<PHONE_NUMBER>,
    "iss": "https://localhost:4444/",
    "jti": "1f8c47c0-7042-4a52-b89f-dc12e260761d",
    "nonce": "",
    "rat":<PHONE_NUMBER>,
    "sid": "ef48b51b-b0c5-4ff9-a8b3-a7b9a600c67f",
    "sub": "40e30c00-10cf-49ad-b8c4-8283f1d9ac74",
    "verified_claims": [
        {
            "document_number": "123-456-789",
            "family_name": "Smith",
            "given_name": "John",
            "id": "did:peer:user"
        },
        {
            "id": "did:peer:user",
            "stmt": {
                "accountId": "xxxx-xxxx-xxxx-1234",
                "billingPeriod": "P30D",
                "customer": {
                    "@type": "Person",
                    "name": "Jane Doe"
                },
                "description": "June 2020 Credit Card Statement",
                "minimumPaymentDue": {
                    "@type": "PriceSpecification",
                    "price": 15,
                    "priceCurrency": "CAD"
                },
                "paymentDueDate": "2020-06-30T12:00:00",
                "paymentStatus": "http://schema.org/PaymentDue",
                "totalPaymentDue": {
                    "@type": "PriceSpecification",
                    "price": 200,
                    "priceCurrency": "CAD"
                },
                "url": "http://acmebank.com/invoice.pdf"
            }
        }
    ]
}

There are a couple of problems with this approach:

No way for the issuer to map each object in the array against the data (scope) they requested. In the example above, the first object is the DL, the second is a credit card statement.
The name verified_claims can create confusion with OpenID Connect for Identity Assurance 1.0

We need:

Scalable way to combine multiple data types from multiple issuers in a way that does not produce collisions
Map each set of claims to their respective requirement ("scope")
Keep it simple for clients

OIDC defines aggregated and distributed claims. The RP Adapter is aggregating claims, not providing pointers ("distributed") to them. Aggregated claims has a mandatory condition that we don't satisfy (not now nor the forseeable future):

Aggregated Claims
JSON object that MUST contain the JWT member whose value is a JWT [JWT] that MUST contain all the Claims in the _claim_names object that references the corresponding _claim_sources member. Other members MAY be present. Any members used that are not understood MUST be ignored.
JWT
REQUIRED. JWT containing Claim Values.
The JWT SHOULD NOT contain a sub (subject) Claim unless its value is an identifier for the End-User at the Claims Provider (and not for the OpenID Provider or another party); this typically means that a sub Claim SHOULD NOT be provided.

The RP Adapter does not return embedded JWTs. The adapters operate over didcomm, where trust is rooted in DIDs and VCs, and they abstract those details for the clients. DIDComm channels are authcrypted and the VCs have proofs attached. The RP Adapter cannot unilaterally transform the signed VCs into JWTs.

OpenID Connect Credential Provider does not transform the VCs into a regular id_token.

OpenID Connect for Identity Assurance 1.0 also follows the standard OIDC aggregate claims structure (JWTs) - see here.

Another issue with OIDC aggregate claims is that _claim_names holds names for individual claims ("fields"). We do not want to reference individual fields.

DIF/presentation-exchange has an example using aggregate claims. There problems here are:

The use of JWTs (compliant with spec, but we don't want that)
I think _claim_names is used in a non-compliant way

_claim_names:

JSON object whose member names are the Claim Names for the Aggregated and Distributed Claims.

All examples I see use "claim names" for claims with values of primitive types (eg. string). Like name, first_name, etc. Not for whole sets of claims, like they are there.

Here are the standard claims registered by OIDC: https://openid.net/specs/openid-connect-core-1_0.html#ClaimsContents

Additional complication: VC credentialSubject can be a list


Add syslog option for output, remove any unnecessary logging

WS-1 needs us to log output to syslog, not stdout.
There is also quite a bit of logging if one of the boards is non-responsive. It filled up one of my Beaglebones here with 300MB of logs. We should fix that so it is one log message per attempt, instead of 10-12 lines.

I started some work on this on the syslog branch but didn't get around to testing it:
https://github.com/mawson-rovers/hestia/commit/6d1c36f965f9f69e89682a0ccbc926b81b5f9545

Splitting the syslog task from the reduce logging task which is now tracked at #70

Done - needs testing with USyd.


Proxy cluster setup

Howdy folks,
Not really a bug but couldn't find a mailing list.
Anyway, today we are using statsd on production by running a statsd on every production host and sending statsd to it and then send the metrics up to gmond (ganglia). Now we are exploring an additional setup for statsd. This additional setup involves running a cluster of 2-3 statsd hosts (reason of 2-3 hosts is for better reliability), the question we have is:
Can statsd-proxy run on more than one host while still keeping the same hash ring? So far the examples I've found is a single proxy node with multiple statsd nodes. We would like to have 2 statsd proxy nodes with multiple statsd nodes. I'm sure this is possible but not sure if the hash-ring would be the same with the 2 proxy nodes (so that when you send metric.foo to proxy-node-A it goes to node-Z, same as if you send the metric to proxy-node-B).
Thanks!

With a hashring you have a deterministic hash on the key you are sending to the proxy. It uses this hash to determine to which statsd instance to send.
A hash is just a big number, the hashring will act kinda like this:
2 instances - if hash is between 0 and 50 send to instance 1, if between 50 and 100 send to 2
3 instances - if hash between 0-33 > 1, 33-66 > 2, 66-100 > 3
Long story short: If all your statsd instances are connected to both proxy, yes, it will be 100% consistent


Add support for synthetic time series query

we can discuss wether it's a right place to add it or not
do we have any rule about Timeseries vs TimeSeries? I can see different spellings in the project

Correct spelling should be TimeSeries since you write "time series" not "timeseries" when writing about one.

@dbrattli fixed the comments


sgt regression

Thanks for the great resources in this repo! I was wondering if it's possible to modify the likelihood functions for your univariate distributions so that parameters are vectors instead of reals, for regression applications. For example, I would like to build on your sgt example to estimate the parameters as linear functions of covariates. Thanks for any thoughts or tips.

OK will give it a shot - thanks!


Supporting information

Description
As an elife reader I would like the new reviewed pre print content to the supporting information, previously removed for the announcement to match the existing content as displayed in eLife to ensure I can see full information
Acceptance Criteria

[ ] The supporting information paragraph has a link in it which should work - it didn't so we removed it for launch, we need to add this back
[ ] The supporting information should be downloadable too

Example
https://staging--epp.elifesciences.org/reviewed-preprints/80729
https://staging--epp.elifesciences.org/reviewed-preprints/81535

Encoda may be able to resolve this.


Add nested objects and array support

@airjp73 I still need to create some tests and work on the documentation updates but the nested objects and arrays should be working. It would be great if you can play a bit with it and let me know what you think. I didn't implemented the option to turn off nesting completely for a field using brackets. I think that one can be added in a later PR.
To run the sample-app just run npm run sample-app in the root folder.
I'm keeping this one as draft until documentation and tests are added.

Whoops, didn't mean to request a review from myself 😆

@airjp73. Thanks for those comments! I implemented them and marked them as resolved. Check my replies and feel free to let me know if you have any other feedback. I'll work in the documentation and let you know as soon as it's ready.

It's looking good to me. :+1:

@airjp73 This one is now ready for review.

I've updated the README:

added info on nested objects and arrays,
uploaded a new Demo video from the sample-app
added instructions on how to run the sample-app
added information on createValidator
added FAQs section for the noValidate option.

I upgraded to EsLint 8 but it's having some issues when linting so I downgraded to v7 (the one you were originally using) and everything is good now. You might want to run those actions again and see if they pass now.

This PR is now longer in Draft so feel free to merge it when you are ready. 🥳

Looks good, thanks!

@lucascurti, I just published the changes under 1.1.1-beta.0 in case you wanted to use it right away. I'm gonna work on the other issues I made before releasing so I can bump the major version.

Cool! I'll update to the beta tomorrow.
BTW, in case you find it useful, I recommend https://intuit.github.io/auto/ for publishing to npm, creating release notes, beta/next versioning and a bunch of other things. It's pretty easy to setup.

I'll check it out :+1:


Unclear exception handling

Hello,
I am currently trying to use this library within a node-red configuration node.
I did manage to open a connection using the ButtplugClient and even send commands, but I am running into issues when handling connection error.
Whenever I try to connect using client.connect and the Server is not reachable (intiface being down for example) the code throws an exception that I can't catch.
I tried the following setups:
# Setup 1
this.client.connect(connector).catch(err => console.log(err))

# Setup 2
try {
  await this.client.connect(connector)
} catch (err) {
  console.log(err)
}

# Setup 3
process.on('uncaughtException', (err) => {console.log(err)})

None of the setups results in any exception handling code being executed.
Am I doing something wrong?

I replicated the third setup in a normale JS file and managed to catch the exception.
 I'll try to revisit this and maybe actually write a test this time.

Hi @qdot, I did try my hand at a fix. It seems to work locally in the tests and if i import it in node-red.
See PR #258

Finally merged in v3.2.2, going out to npm now. Thanks!


[Bug report] Incomplete description of fileset API in openapi.yml

Version
main branch
Describe what's wrong
FilesetCreateRequest interfaces have one nullable field "storageLocation", which is inaccuracy.
For external fileset, the storageLocation must be set.
Storage location must be set for fileset  when it's catalog and schema location are not set.

I think need to give more info about the field "storageLocation" in openapi.yml
And the eg about storageLocation in FilesetCreatRequest is not correct, while is not supprt for s3 right now.

The nullable field "type" must one of the values accepted for Enum class: [EXTERNAL, MANAGED]

Error message and/or stacktrace

How to reproduce
About the field "storageLocation" and "type", add more info, and give more correct eg in FilesetCreatRequest in openapi.yml
Additional context
No response

Hi @coolderli would you please help to improve the yml doc, seems currently there's several ambiguities here that makes users hard to understand, would you please help to add more descriptions here?

Hi @coolderli would you please help to improve the yml doc, seems currently there's several ambiguities here that makes users hard to understand, would you please help to add more descriptions here?

@jerryshao No ploblem. I'll finish it.


broomwood, folks

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,f]

/trunk merge


dose side bar support neo-tree ?

it works well with nvimtree, i want to know about the setup of neotree

Yes, you can provide any filetype or a list of filetypes to allow them to work with the sidebar offset feature.
require('cokeline').setup({
 --- ...
  sidebar = {
    filetype = { 'neo-tree', 'NvimTree' },
    components = {
      {
        text = function(buf)
          return vim.bo[buf.number].filetype
        end,
        -- ...
      },
    }
  },
 -- ...
})

it's so good，thank you


Localization

Hi, is there a guidance on how to localize this app?

Hi @kovacszo, let me triage and get some help on localization.

@kovacszo  - we have added this to our future planning to investigate how we can bring localization in. Thanks! Will look to update on status on future release


Scaling the heightfield

Hi,
I need some suggestions about how to transfer my terrain to cannon.
Basically I have a pretty large terrain of more than 1000x1000 in world units, that I draw using 100x100 vertices (so I have 1 vertex every 10 world units ^2) and its data is obtained through what I call a "height function", basically a h(x, z) that returns the height at the given point, I don't have any 1000^2 array of heights.
I need to transfer this terrain to cannon, but the API doesn't permit me to do that as I would:

I don't want to generate a 1000^2 array of heights in order to create the Heightfield. And that seems the only way I have to generate the terrain loyally to what I have on screen.
Every entry in the data array given to the Heightfield, is one step in world units, so I have no chance to give, like, a 100^2 data array and make it extend to 1000^2, as my real terrain is. I didn't find any way to scale the Heightfield (or generally, any shape), is it possible?

Not to ask anything else, basically the Heightfield's constructor I'd like is like that:
constructor(width: number, depth: number, height_fn: (x: number, z: number) => number, precision: [number, number] = [1, 1])

Where:

width is the width of the Heightfield in world units.
depth is the depth (or height) of the Heightfield in world units.
height_fn is the height function described above.
precision is the step that should be took for creating the ConvexTrianglePillar (I've skimmed the ConvexHeightfield collision resolver). Currently is 1 world unit but in my case I'd need to have larger distances.

I've seen the project isn't updated since 5 years, so I'll potentially try to implement these features on a forked repository.
Hope I've been clear!

a compatible rewrite  is in https://github.com/pmndrs/cannon-es from @codynova

You can try to use ammo.js

I've found out there was an option called elementSize that permits me to control the size of the single sample on the XY direction.
However I've encountered an issue that I'm currently investigating (actually it's the whole day I'm investigating it): for some reason the Heightfield collisions aren't detected. I'm using CannonDebugRenderer and all shapes seem to correctly intersect. The weirdest thing is that I transcribed this example to Typescript and it doesn't work (some shapes pass through the heightfield). If I run the same on Javascript directly from its repository works. Maybe I'm using a wrong version of the cannon dependency? That's weird since I'm mirroring it directly from github "cannon": "github:schteppe/cannon.js".
I've also tried using the fork that @arpu suggested me, but it still gives me the same problem!


Fix typescript problem on dataEditor

Fix typescript problem on dataEditor

Coverage remained the same at 94.482% when pulling cf30ecbd640f5f3897319a102c89b94a321b3ca1 on raymondsze:patch-1 into d993763bb890cab6b10bf700ec98c5d389a9e017 on nadbm:master.

No follow up?

Sorry I totally missed this. will merge this soon


[OSDEV-1372] Always use linux/amd64 platform to build docker image

The fixed version of the linux/amd64 platform allows you to build an image on the arm64 platform identical to the production environment.

Did you mean amd64 in the description of the PR? Could you please update the description if that’s the case?
Everything is written correctly there.
We are building an image for the linux/amd64 platform in an environment running on arm64 (apple Mx series processors)

Additionally, could you please add a note about that to the record you made for the OSDEV-1372 task in the RELEASE-NOTES.md file?

done


Explicitly add 2D PGA and 2D CGA (and other algebras too)

Users would like the option of using 2D PGA and 2D CGA (and likely other algebras too), for example:
https://discourse.bivector.net/t/problems-displaying-ganja-pga-scenes-with-jupyter/346

Example of 2D PGA working: https://gist.github.com/hugohadfield/9f014e2402122ca928fb1ade3083f04a


How to annotate fro custom data training?

I have dataset of images with point annotations in the format of a JSON file. What is the format for annotations provided for LCFCN? Can I directly use (x,y) coordinates of the points or do I need to preprocess them to a different format?

For LCFCN, it needs points as a 2 dimensional array, where the first dimension is the height and the second is the width of the input image.
The array is zero in every entry except in the (x,y) coordinates of the points.

Thanks for the quick response! For the array entry at each (x,y) coordinate, should the value be the class number? For an example, if we have two classes 1-car and 2-person, would an array look something like this?
0 0 0 0 0
0 0 0 0 0
0 1 0 0 0
0 0 0 2 0
0 0 0 0 0

You welcome! The value is the class number indeed! The array looks correct.

That's great! Thanks!


How can i use the faunction "Cesium.CzmlDataSource.processMaterialPacketData(object, propertyName, packetData, interval, sourceUri, entityCollection)"?

I use the code exmple: [(http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=CZML Point - Time Dynamic.html&label=CZML)]
I want change the point's color to red,and I use the method:Cesium.CzmlDataSource.processMaterialPacketData(object, propertyName, packetData, interval, sourceUri, entityCollection).
after i change the code ,the point's color is change to white,i dont know hao to do with the problem...
`var czml = [
{
"id" : "document",
"name" : "CZML Point - Time Dynamic",
"version" : "1.0"
}, {
"id" : "point",
"availability" :"2012-08-04T16:00:00Z/2012-08-04T16:05:00Z",
"position" : {
"epoch" : "2012-08-04T16:00:00Z",
"cartographicDegrees" : [
0,   -70, 20, 150000,
100, -80, 44, 150000,
200, -90, 18, 150000,
300, -98, 52, 150000
]
},
"point" : {
"color" : {
"rgba" : [255, 0, 0, 255]
},
"outlineColor" : {
"rgba" : [200, 0, 20, 20]
},
"pixelSize" : 15
}
}
];
var viewer = new Cesium.Viewer('cesiumContainer');
var haha=new Cesium.CzmlDataSource();
var data=haha.load(czml);
var entities=haha.entities;
var entitypoint=entities.getById("point");
var timeInterval = new Cesium.TimeInterval({
start : Cesium.JulianDate.fromIso8601('2012-08-04T16:00:00Z'),
stop : Cesium.JulianDate.fromIso8601('2012-08-04T16:05:00Z'),
isStartTimeIncluded : true,
isStopTimeIncluded : false,
});
Cesium.CzmlDataSource.processMaterialPacketData(entitypoint.point,"color", { "rgba" : [255, 0, 0, 255]} , timeInterval, czml, entities);
viewer.dataSources.add(data);
`

Hello @wangyipeng,
We use our GitHub issues to track bugs and features for Cesium.  For questions, please post in the forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
More people see the forum, so you are more likely to get help from someone who has done the same thing in their own application.
Thanks!

hello @hpinkos
thank you ,I have solved the problem.


[Feature Request] Min. Level

I'm unsure if it would speed up the total fetching/scanning process significantly; if it did adding a Minimum Level selector next to the maximum level one would make the experience better as soon as you're done with most items and/or are, mostly on newer servers, looking for items in a specific level range.

Thanks for the suggestion.
The existing max Level has no effect on the crawling speed. It only acts as a filter on the list of already crawled characters. I implemented it like this, because that makes it easier to share hall of Fame data across accounts.
In theory making additional max/min Limits on the actual crawling process could speed up crawling by up to 50x for hall of Fame regions, that would get completely skipped. So far, the best way would be to just select the crawling order "top down" to start with the high level accounts, which has a similar effect.
This is however the second time someone requested something like this, so I guess this is important. Implementing this should also be easy, but I will have to think about how to make this understandable in the ui to make sure nobody Limits crawling on one account and then wonders, why a second account on the same server finds nothing.
If I had to guess, I will add an "advanced crawling options" checkbox or something in the settings to hide these options behind. Should be coming in the next release, once I am back from holidays (~2 weeks)


don't show the newly added data.

I created a database, and in the database which added the write data, are displayed. But when I add the data again, it does not show me the newly added data.

You can see the new data by clicking other table and then getting back to the target table.
Or you can use reload button at the bottom of the window.

I'm closing the issue.
Please feel free to reopen it if you have further questions.


Refs IQE-2748: Update sel testing image backend

@swadeley ^

https://issues.redhat.com/browse/HMS-IQE-2748

title validation check wasn't really going to work, it would have linked to the wrong project anyway.


Project - Smoke tests

As a GItHub administrator,
I want to trigger smoke tests
So that I can be sure my tool will be well working.
Smoke tests mean for exemple; check if network is up (with/without proxy), check if API are still working, check BASH / RUBY environments...

Duplicated with #29


[DispatchCreation] Move concat decomposition to Dispatch creation and only decompose non-outer dim concats

Move the pass to decompose concats just before dispatch region formation, and only decompose concats that are not along the outer-most dimension. This could allow folding these insert-slices into their producers.
Outer dim concats are not decomposed here. They are left till flow conversion. Decomposing those into flow.tensor.update allows stream allocation to do the concat in-place.
Fixes #19092
Depends on #19126 and https://github.com/llvm/llvm-project/pull/116004

@stellaraccident  could you please take a look at the changes to the options here. I have a suspicion that this is too invasive a change. I want to prevent making externally visible changes to IREEs APIs, but maybe these changes do. I can try to make something a bit less invasive.

IMO this isn't the kind of thing we want a global user-level compiler option for - are we positive that's needed here? Options at that level are us saying "we have no way of ever doing this well or with any finesse and must make the user decide uniformly across their entire program" - this doesn't feel like something that is in that category to me.

That's probably my fault for making it a user level option initially (if this is what I think it is). That said, it's surprisingly difficult to know when to do the transposition to outer dims. I would rather we default to never "fixing up" concats for people like this and instead just always fuse the insert_slice ops that come out of decomposition into producers.
I would like to know if otherwise, but transposing concats feels like a case where we're trying to make the compiler do too much. Unlike all of the logic we have in dispatch formation for handling reshapes and transposes etc. (which is cleaning up the poor ability for frameworks to express einsums), the frameworks should be sufficiently expressive about what dimension to concatenate data along.

I dropped this PR in favor of https://github.com/iree-org/iree/pull/19177 . I think using the option to modify concats to be outer dims has to happen before transpose propagation and I realized I dont need to move it for now.
I agree though, overall we should never try to make all the concat outer dims in the compiler. That is really tricky (this + transpose propagation can some times give you a good outcome, but it is not very stable IMO). If the user input has bad concats, well there is only so much the compiler can do automatically.


Global ld.conf or switching symlinks to activate toolchain

In case application has been built by swift container, global library path needs to be deployed in order to find the Swift runtime in order to run the application not inside a container.
For example the RPATH will be set to /usr/lib/swift/linux, and if the toolchain is going to be deployed by Swiftly under /usr/local, it is not possible to execute binaries which are built by the container:
$ chrpath -l MySwiftBinary
MySwiftBinary: RUNPATH=/usr/lib/swift/linux:$ORIGIN

One either needs to have a global entry like this (to avoid setting LD_LIBRARY_PATH for each application):
$ cat /etc/ld.so.conf.d/swift.conf
/usr/local/share/toolchains/5.9.0/usr/lib/swift/linux

It would be nice that swiftly use would handle this use case.

Swift on Linux doesn't have a stable ABI, so I'm not actually sure this is a use case that we want to encourage. For example, if the versions of the Swift runtime differed between the container and the deployed system, my understanding is that it may not / won't work. Instead, the binary should be compiled on the deployment hosts using the swiftly-installed toolchain, or the executable should be built in the container using --static-swift-stdlib.


mupx start fails to to "Read-only filesystem"

I wanted to restart my server today, but only got an error message this time:
[app.guzz.io] x Setting up Environment: FAILED

	-----------------------------------STDERR-----------------------------------
	les/readable-stream/node_modules/string_decoder/package.json’: Read-only file system
	chown: changing ownership of ‘/opt/guzz/last/bundle/programs/server/npm/aldeed_http/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder’: Read-only file system
	chown: changing ownership of ‘/opt/guzz/last/bundle/programs/server/npm/aldeed_http/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json’: Read-only file system
	chown: changing ownership of ‘/opt/guzz/last/bundle/programs/server/npm/aldeed_http/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/README.md’: Read-only file system
	chown: changing ownership of ‘/opt/guzz/last/bundle/programs/server/npm/aldeed_http/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js’: Read-only file system
	chown: changing ownership of ‘/opt/guzz/last/bundle/programs/server/npm/aldeed_http/node_modul
	-----------------------------------STDOUT-----------------------------------
	----------------------------------------------------------------------------

This happens every time I try the redeployment. I don't have a clue how to fix that :-/
Trying to re-install with mupx setup also fails with the same error.

Found the error. It was caused by the filesystem going into read-only mode due to a corrupt EXT4 journal (saw this in dmesg). Restarting resolved the issue.


s3fs: Credential validation and session creation using ibm-cos-sdk

Used ibm-cos-sdk for validating credentials and creating a COS session

code in personal fork https://github.com/ambiknai/satellite-object-storage-plugin/tree/s3lib


[FeatureRequest] mute prometheus alertmanagers using the Thanos sidecar

We planning to use Thanos to allow to query multiple DC sites, where we are planning to use Prometheus. We plan to setup alerts on this Prometheus instances for the infrastructure and also using Ruler for e.g. VPN tunnels. Because of this we have to mute the Ruler and the DC Prometheus instances individually.
It would be very useful that mutes set on the Ruler level would also effect alerts on the connected Prometheus instances.
e.g. a mute for dc=london would disable all alerts in the referenced Prometheus server with the external label dc=london as the rules with the same labels in Ruler.

What do you mean mute? You mean silencers?

Yes, exactly.

Then it is out of scope of Thanos or Prometheus.
Silencers are Alertmanager feature strictly. :hugs: so it will work across everything.


Rewrite go license generator in go

This removes the JS dependency in the checks pipeline. JSON output is different because the previous JS did indent the license data differently and a JSON key was changed, but the end result is the same as it gets re-indented by wepack.

There were a few cases of duplicate licenses like:
github.com/prometheus/common/LICENSE
github.com/prometheus/common/NOTICE

I removed the NOTICE file because of it.

Closes https://github.com/go-gitea/gitea/issues/21096

I think main branch is broken because of the tasks introduced in https://github.com/go-gitea/gitea/commit/8080e23c9bc4e37102f63bec36603a540ff6ea9b which trigger a go step inside a node container. No idea why this didn't show up earlier.

https://github.com/go-gitea/gitea/pull/21108 should fix it.


docker version breaks under windows

Seems like the docker version command works different under windows.
docker version -f '{{ json .Server.Platform.Name }}

It does not work - instead returns accepts at most 0 arg(s), received 3.

No feedback from docker. Seems to have been an old version of Docker Desktop.


Should PHYDEV variable be radio?

On line 220, should the "PHYDEV" variable be "radio" instead?
Is PHYDEV something that is set in the environment?

It appears to be an artifact from line 462 from the source that it was copied from.
https://github.com/aircrack-ng/aircrack-ng/blob/master/scripts/airmon-ng.linux
I will attempt a pull request.

Also, looks like line 218 will be a problem.  You can't use "return" outside of a function.  Maybe line 218 should just display an error and then exit.
Lines 205-208 also refer to "wifi", but should probably refer to bluetooth.
I will probably make some edits on my forked version and go for another pull request.

This was fixed over a year ago, after a revision in my fork and then an approved pull request.


Fix PowerToys recipe

Project switched from releasing an MSI to an exe containing an MSI, quick & dirty fix by extracting the MSI.

I'll approve this and suggest an alternative as well. The exe installs fine over an existing MSI install with the "--silent" flag I believe.

Awesome, cheers 👍 And yeah, it does, but the uninstall still uses the MSI product code so this is a bit easier to make the correct uninstall command - the exe installer just installs the MSI anyway.

Very true and good point.


Opening files with errors in anonymous classes fail

Clicking on errors in anonymous classes will fail to open the file in the editor, because the file can not be found.
Here is an example test.php, set phpstan to level 6
<?php

return new class {
    protected array $foo = ['a', 'b', 'c'];
};

Click on the error to open it

Thanks for the report. Can you check out the pre-release version and see if the issue is still present there? I can't seem to replicate it there.


Small typo error in the YAML

There was a small typo error in the yaml schema for 'resourceGroup' keyword.

@ashokirla : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Error] Find Duplicates: Could not retrieve ISRC

I am using the old like/heart system on spicetify and using the find duplicates extension but I keep getting an error message shown below

Are there any errors in the DevTools console coming from this extension?

I'm having the same problem, it worked when i first installed it a couple days ago.


Reddit videos are not downloaded the highest quality

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Finland
Provide a description that is worded well enough to be understood
Reddit videos do not seem to be downloading at their highest quality at the moment. Using yt-dlp seems to only download a 720p version while the reddit API shows that there is a 1080p version which can also be downloaded using a third party site such as https://viddit.red/
Video in question that the download was attempted on: https://www.reddit.com/r/UkraineWarVideoReport/comments/xwm9wm/russian_draftees_exasperated_abandoned_left_in/ (Does happen with others as well)
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
C:\Users\Leijona\Downloads\youtubedl>yt-dlp -vU --embed-thumbnail --write-thumbnail --add-metadata https://www.reddit.com/r/UkraineWarVideoReport/comments/xwm9wm/russian_draftees_exasperated_abandoned_left_in/
[debug] Command-line config: ['-vU', '--embed-thumbnail', '--write-thumbnail', '--add-metadata', 'https://www.reddit.com/r/UkraineWarVideoReport/comments/xwm9wm/russian_draftees_exasperated_abandoned_left_in/']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.3.2-2021-02-20-full_build-www.gyan.dev, ffprobe 4.3.2-2021-02-20-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [Reddit] Extracting URL: https://www.reddit.com/r/UkraineWarVideoReport/comments/xwm9wm/russian_draftees_exasperated_abandoned_left_in/
[Reddit] xwm9wm: Downloading JSON metadata
[Reddit] xwm9wm: Downloading m3u8 information
[Reddit] xwm9wm: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] fvd5ww17x1s91: Downloading 1 format(s): dash-video_2403695+dash-audio_0_131773
[info] Downloading video thumbnail 4 ...
[info] Writing video thumbnail 4 to: Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].png
[debug] Invoking http downloader on "https://v.redd.it/fvd5ww17x1s91/DASH_720.mp4"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].fdash-video_2403695.mp4
[download] 100% of   34.47MiB in 00:00:03 at 10.42MiB/s
[debug] Invoking http downloader on "https://v.redd.it/fvd5ww17x1s91/DASH_audio.mp4"
[download] Destination: Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].fdash-audio_0_131773.m4a
[download] 100% of    1.89MiB in 00:00:00 at 7.16MiB/s
[Merger] Merging formats into "Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].fdash-video_2403695.mp4" -i "file:Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].fdash-audio_0_131773.m4a" -c copy -map "0:v:0" -map "1:a:0" -movflags "+faststart" "file:Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].temp.mp4"
Deleting original file Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].fdash-audio_0_131773.m4a (pass -k to keep)
Deleting original file Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].fdash-video_2403695.mp4 (pass -k to keep)
[Metadata] Adding metadata to "Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].mp4" -map 0 -dn -ignore_unknown -c copy -write_id3v1 1 -metadata "title=Russian draftees exasperated - abandoned, left in the open, they have to buy their food," -metadata "date=20221005" -metadata "purl=https://www.reddit.com/r/UkraineWarVideoReport/comments/xwm9wm/russian_draftees_exasperated_abandoned_left_in/" -metadata "comment=https://www.reddit.com/r/UkraineWarVideoReport/comments/xwm9wm/russian_draftees_exasperated_abandoned_left_in/" -metadata "artist=antrophist" -movflags "+faststart" "file:Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].temp.mp4"
[EmbedThumbnail] mutagen: Adding thumbnail to "Russian draftees exasperated - abandoned, left in the open, they have to buy their food, [fvd5ww17x1s91].mp4"

This seems to be fixed with #5165

This seems to be fixed with #5165

If so, that's good and this can be closed. I did try searching but must have missed it as not used to the github titles and stuff. Should have looked closer. Thanks :)


[Snyk] Security upgrade python from 3.9.5-buster to 3.11.0b3-buster

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to python:3.11.0b3-buster, as this image has only 477 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

714
Directory Traversal SNYK-DEBIAN10-DPKG-2847944
No Known Exploit

714
Buffer Overflow SNYK-DEBIAN10-OPENSSL-1569403
No Known Exploit

714
OS Command Injection SNYK-DEBIAN10-OPENSSL-2807585
No Known Exploit

714
OS Command Injection SNYK-DEBIAN10-OPENSSL-2933515
No Known Exploit

614
Use After Free SNYK-DEBIAN10-SUBVERSION-2635642
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

bumped to python:3.11-buster hence closing this pr


page does not rerender when param change

Describe the bug
routes/news/[id]/index.svelte
<script context="module">
export async function load() {
  return {
    props: {
      text: Math.random(),
    },
  }
}
</script>

<script>
import { goto } from '$app/navigation'
export let text

function on_next() {
  goto(`/news/${Math.floor(Math.random() * 100)}`)
}
</script>

<h1>{text}</h1>

<button on:click={on_next}>next</button>

after the first click, click again, the page param id changed, but the text keep as it is.
Reproduction
https://github.com/happy-little-one/sveltekit
Logs
No response
System Info
none

Severity
blocking an upgrade
Additional Information
No response

Also described in the docs, please read https://kit.svelte.dev/docs#loading-input


Facebook API error. Cannot call API for app on behalf of user

Versions
NodeJS v10.16.3 (Docker Image)
BotBuilder NodeJS SDK v4.6.2
Describe the bug
Our production bot service, for facebook channel users, while sending a reply message, is receiving errors intermittently.
{ Error: Facebook API error
    at new RestError (/usr/src/app/node_modules/@azure/ms-rest-js/dist/msRest.node.js:1397:28)
    at /usr/src/app/node_modules/@azure/ms-rest-js/dist/msRest.node.js:1849:37
    at process._tickCallback (internal/process/next_tick.js:68:7)
  code: 'ServiceError',
  statusCode: 400,
  request:
   WebResource {
     streamResponseBody: false,
     url:
      'https://facebook.botframework.com/v3/conversations/2404829052872617-145456495523754/activities/YuCd3TYT9l',
     method: 'POST',
     headers: HttpHeaders { _headersMap: [Object] },
     body:
      '{"type":"message","serviceUrl":"https://facebook.botframework.com/","channelId":"facebook","from":{"id":"145456495523754","name":"akzo-prod-bot-eukdlx"},"conversation":{"isGroup":false,"id":"2404829052872617-145456495523754"},"recipient":{"id":"2404829052872617","name":"FACEBOOK_USER"},"text":"Xin thứ lỗi. Tôi không hiểu. Tôi vẫn đang học hỏi. Tôi sẽ đưa ra một yêu cầu dịch vụ khách hàng thay mặt bạn?","inputHint":"acceptingInput","suggestedActions":{"actions":[{"type":"imBack","title":"Có","value":"customerServiceYesNoOptions:Có"},{"type":"imBack","title":"Không","value":"customerServiceYesNoOptions:Không"}]},"replyToId":"YuCd3TYT9l"}',
     query: undefined,
     formData: undefined,
     withCredentials: false,
     abortSignal: undefined,
     timeout: 0,
     onUploadProgress: undefined,
     onDownloadProgress: undefined,
     operationSpec:
      { httpMethod: 'POST',
        path: 'v3/conversations/{conversationId}/activities/{activityId}',
        urlParameters: [Array],
        requestBody: [Object],
        responses: [Object],
        serializer: [Serializer] } },
  response:
   { body:
      '{\r\n  "error": {\r\n    "code": "ServiceError",\r\n    "message": "Facebook API error",\r\n    "innerHttpError": {\r\n      "statusCode": 400,\r\n      "body": {\r\n        "message": "Cannot call API for app<PHONE_NUMBER>505931 on behalf of user<PHONE_NUMBER>28023",\r\n        "type": "OAuthException",\r\n        "code": 200,\r\n        "error_subcode": 0,\r\n        "fbtrace_id": "AYTB452R0pTzOD9aK6m-k7I"\r\n      }\r\n    }\r\n  }\r\n}',
     headers: HttpHeaders { _headersMap: [Object] },
     status: 400 },
  body:
   { error:
      { code: 'ServiceError',
        message: 'Facebook API error',
        innerHttpError: [Object] } } }

The piece of code that receives this error is below
        try{
            return await stepContext.prompt(promptName, promptOptions);
        }catch(error){
            LOGGER.error(error);
        }

All configurations of Facebook channel in Azure Portal and Facebook app in Facebook Developer portal looks correct. We have also tried removing Facebook channel configurations and recreating them.
Please note the errors are intermittent but frequent. Need your help.

Hi @bhushanvadgave This is almost certainly a Facebook issue. Is the issue occuring for the same 'user' each time?  It boils down to user's access token (to facebook) is no longer valid.

@jwiley84
The issue is occurring for all Bot users of facebook channel. I think this user ID is correlated with the bot. Our bot service does not use or refer to this user ID.
We tried connecting Facebook App+Page to different bot registration (that points to our staging bot service). And this setup is working properly without any errors. Our production bot service code is the same as that of staging. We suspect there is something wrong with the bot registration.

Can you check (on the facebook side) that your facebook app wasn't placed into Sandbox or Dev mode?

The app is in development mode (Not sure how to check if it is in Sandbox mode). But this should not cause any problem right?

'Sandbox mode' is the old name for if the app was 'In Development'. It's still referred to as such in some documentation.
If the app is set to 'In Development', the only people who can 'use' the bot are people you've set to the role of 'Tester' in the facebook developer portal, or the app Admin.

Closing issue.  If you have further issues concerning this, please reopen.


Add performance regression testing

Now that we have spent a lot of time optimizing the search, we should monitor the performance to make sure that a future commit does not slow downs the code.

Any idea how to do that? I know one can use CMake to track some metrics, but not sure if that's what we want to do. We could take a look at how Kokkos does things, I think they have gold files and allow 5% deviation.

Benchmark is still running and logging time measurements but it won't make the Jenkins build fail anymore as of #507.  The check is just not reliable enough and prevent us from merging code.

DataTransferKit is going to be archived.


Frequent reconciliations while waiting for external resource deletion

What happened?
While trying to delete a Managed Resource that I created on provider-jet-azure, I observed that the resource's controller reconciles very often. To see if this behavior is normal, I debug provider-jet-azure and observed that in the Reconcile function of crossplane-runtime, we set the Requeue value of the Result object to true after the deletion requested.
https://github.com/crossplane/crossplane-runtime/blob/21928d24c8b292a283794b1b0be1352e8b193b98/pkg/reconciler/managed/reconciler.go#L735
When I realized this situation, I expected to observe the same behavior in native providers and I did a debugging in provider-azure. I observed the same situation for native providers (frequent reconcile). However, after the second or third reconcile function, the sdk's get call no longer finds the resource in the cloud, so reconciling is not repeated too many times. Therefore, this is not a problem for native providers, as it does not reconcile too many times despite frequent reconciliations. However, since the deletion process in jet-providers takes a long time due to the terraform binary, we observe reconcile operation 5-10 times in a second for a few minutes.
2021-11-25T20:58:27.733+0300    DEBUG   provider-jet-azure      Reconciling     {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration"}
2021-11-25T20:58:27.734+0300    DEBUG   provider-jet-azure      Successfully requested deletion of external resource    {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration", "uid": "6854b1e0-cc0c-4020-b2a7-a80be394acf0", "version": "1295367", "external-name": "max_wal_senders", "deletion-timestamp": "2021-11-25 20:58:08 +0300 +03"}
2021-11-25T20:58:27.734+0300    DEBUG   controller-runtime.manager.events       Normal  {"object": {"kind":"Configuration","name":"example-psql-configuration","uid":"6854b1e0-cc0c-4020-b2a7-a80be394acf0","apiVersion":"postgresql.azure.jet.crossplane.io/v1alpha1","resourceVersion":"1295367"}, "reason": "DeletedExternalResource", "message": "Successfully requested deletion of external resource"}
2021-11-25T20:58:27.741+0300    DEBUG   provider-jet-azure      Reconciling     {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration"}
2021-11-25T20:58:27.741+0300    DEBUG   provider-jet-azure      Successfully requested deletion of external resource    {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration", "uid": "6854b1e0-cc0c-4020-b2a7-a80be394acf0", "version": "1295367", "external-name": "max_wal_senders", "deletion-timestamp": "2021-11-25 20:58:08 +0300 +03"}
2021-11-25T20:58:27.741+0300    DEBUG   controller-runtime.manager.events       Normal  {"object": {"kind":"Configuration","name":"example-psql-configuration","uid":"6854b1e0-cc0c-4020-b2a7-a80be394acf0","apiVersion":"postgresql.azure.jet.crossplane.io/v1alpha1","resourceVersion":"1295367"}, "reason": "DeletedExternalResource", "message": "Successfully requested deletion of external resource"}
2021-11-25T20:58:27.751+0300    DEBUG   provider-jet-azure      Reconciling     {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration"}
2021-11-25T20:58:27.751+0300    DEBUG   provider-jet-azure      Successfully requested deletion of external resource    {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration", "uid": "6854b1e0-cc0c-4020-b2a7-a80be394acf0", "version": "1295367", "external-name": "max_wal_senders", "deletion-timestamp": "2021-11-25 20:58:08 +0300 +03"}
2021-11-25T20:58:27.751+0300    DEBUG   controller-runtime.manager.events       Normal  {"object": {"kind":"Configuration","name":"example-psql-configuration","uid":"6854b1e0-cc0c-4020-b2a7-a80be394acf0","apiVersion":"postgresql.azure.jet.crossplane.io/v1alpha1","resourceVersion":"1295367"}, "reason": "DeletedExternalResource", "message": "Successfully requested deletion of external resource"}
2021-11-25T20:58:27.759+0300    DEBUG   provider-jet-azure      Reconciling     {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration"}
2021-11-25T20:58:27.760+0300    DEBUG   provider-jet-azure      Successfully requested deletion of external resource    {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration", "uid": "6854b1e0-cc0c-4020-b2a7-a80be394acf0", "version": "1295367", "external-name": "max_wal_senders", "deletion-timestamp": "2021-11-25 20:58:08 +0300 +03"}
2021-11-25T20:58:27.760+0300    DEBUG   controller-runtime.manager.events       Normal  {"object": {"kind":"Configuration","name":"example-psql-configuration","uid":"6854b1e0-cc0c-4020-b2a7-a80be394acf0","apiVersion":"postgresql.azure.jet.crossplane.io/v1alpha1","resourceVersion":"1295367"}, "reason": "DeletedExternalResource", "message": "Successfully requested deletion of external resource"}
2021-11-25T20:58:27.767+0300    DEBUG   provider-jet-azure      Reconciling     {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration"}
2021-11-25T20:58:27.767+0300    DEBUG   provider-jet-azure      Successfully requested deletion of external resource    {"controller": "managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=configuration", "request": "/example-psql-configuration", "uid": "6854b1e0-cc0c-4020-b2a7-a80be394acf0", "version": "1295367", "external-name": "max_wal_senders", "deletion-timestamp": "2021-11-25 20:58:08 +0300 +03"}

How can we reproduce it?
Firstly, you should create a MR in provider-jet-azure. After the external resource provisioned and the state of MR is ready, you should delete the MR. Then you can check the provicer-jet-azure logs and see the frequent reconciliations.
What environment did it happen in?
Crossplane version: crossplane-runtime v0.15.1-0.20211004150827-579c1833b513

We're seeing a similar behavior in AWS RDS Instance or EKS clusters as well where deletion takes ~3-10 minutes. In Jet providers, we have callback mechanisms for async calls, so even if we don't requeue after deletion call, we will get an event once it's finished but for native ones, there is no way to know if the deletion is completed unless you run Observe.
I think using RequeueAfter: time.Second * 1 could be a long way, at least saving us from ms-level intervals.

I think in the jet providers this could be in part because we're missing a layer of rate limiting. Most Crossplane providers use a rate limiter that applies exponential backoff from 1 to 60 seconds per individual object, and is further constrained by a global token bucket rate limiter that tries to keep overall requeues at 1 per second (allowing bursts of up to 10).
You can see that at https://github.com/crossplane/provider-gcp/blob/cf9303bdf/pkg/controller/database/cloudsql.go#L77
It seems like the jet providers are only using the global rate limiter - not the managed resource scoped one, per:

https://github.com/crossplane-contrib/provider-jet-azure/blob/5755b10/cmd/provider/main.go#L76
https://github.com/crossplane-contrib/provider-jet-azure/blob/5755b10/internal/controller/postgresql/configuration/zz_controller.go#L55

Note that the global rate limiter is never wrapped with a NewDefaultManagedRateLimiter.
That said, I would expect the global rate limiter alone to level out to reconciling once per second (across all managed resources) with a maximum burst of 10 reconciles per second. Or put otherwise, seeing ~10 reconciles for roughly the first second makes sense to me but after that I'd expect it to happen less frequently.
I would expect that native providers - and jet providers if they started using the DefaultManagedRateLimiter - should be limited to one requeue per second per kind of managed resource.
Note though that I'm in the (slow) process of changing this all per https://github.com/crossplane/crossplane/issues/2595.

Then what about consuming crossplane-runtime v1.6 in terrajet-based providers and adding the --max-reconcile-rate command-line option to these providers? We should also consider the same for the https://github.com/crossplane-contrib/provider-jet-template repo.

@ulucinar I agree we should update both. https://github.com/crossplane/crossplane-runtime/issues/285 might block that though - I'm currently looking into it.

@negz How would https://github.com/crossplane/crossplane-runtime/issues/285 block? I don't think Terrajet is affected by it anymore.


Changing the format of Contact_us form

Change the designing & format of Contact_us form as same as register & login page.

i want to do this.

Issue solved


Bump for new version of walletconnect-solana

in attempting to release a new version of walletconnect-solana, @amper-fb flagged that, contrary to my intent, that releasing a new 0.0.3 version of walletconnect-solana was not getting picked up in fresh installs of @solana/wallet-adapter-walletconnect. i was able to repro, and after conferring with the high council i learned that ^0.0.2 will not match ^0.0.3 because the caret means "first version that does not increment the first non-zero digit", which means (accurately) that a patch version was not going to get captured. learned something today!
anyway, bumped to 0.1.0 so we don't have to keep sending these updates all the way upstream (here) for small fixes.

Published<EMAIL_ADDRESS>lmk if it's good!

looks great, thank you for the quick turnaround!
On Tue, Aug 23, 2022 at 8:49 PM, Jordan Sexton < @.*** > wrote:

Published @@.*** , lmk if it's good!
—
Reply to this email directly, view it on GitHub (
https://github.com/solana-labs/wallet-adapter/pull/539#issuecomment-1225036615
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAIRCRS2SKSNON23VF55XRTV2VWQLANCNFSM57NLMJIQ
).
You are receiving this because you authored the thread. Message ID: <solana-labs/wallet-adapter/pull/539/c1225036615
@ github. com>


Godot 4.0 beta 2 CanvasGroup output spam bug

Godot version
4.0 beta 2
System information
Macbook Pro M1, Big Sur 11.7, vulkan
Issue description
When changing the type of node to CanvasGroup, it spams in output, and causes some graphic issues:

Steps to reproduce
Open the attached project, and try to change type of "Shadow" node from Node2D to CanvasGroup.
Minimal reproduction project
CanvasGropupBug.zip

Related to https://github.com/godotengine/godot/issues/49198.


Austin faasten setup fixes

update readme to reflect setup, update shell.nix to include unzip, update mod.rs to create storage directory if it does not exist

@tan-yue updated readme


OBS end-to-end-testing

Codecov Report
Patch coverage: 80.55% and project coverage change: +3.56% :tada:

Comparison is base (c7f0fc7) 14.80% compared to head (9c18300) 18.36%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #78      +/-   ##
==========================================
+ Coverage   14.80%   18.36%   +3.56%
==========================================
  Files         146       37     -109
  Lines       11353     4753    -6600
  Branches      282      119     -163
==========================================
- Hits         1681      873     -808
+ Misses       9672     3880    -5792

Files Changed
Coverage Δ

desktop/src/renderer/MainScreen.tsx
0.00% <0.00%> (ø)

desktop/src/renderer/screens/OBS.tsx
0.00% <0.00%> (ø)

desktop/src/main/vmix.ts
80.19% <100.00%> (+1.08%)
:arrow_up:

... and 108 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Plan of attack: this PR will probably get closed and broken apart into multiple PRs:

One with MockOBSWebSocket
One with the zod-prisma-types explosion
One with the newly added OBS tests
One with the test:integration refactor
Probably multiple to sort out the packaging/bundling/module resolution mess:

Probably need to run depcheck over all the workspaces
The cjs->mjs move in Desktop, and ensuing fallout
Hopefully pruning will still work, but if not, one disabling that

😭

Closing in favour of #87 #88 #91 and #92.


nextSeo config not working

I've added nextSeo config, with noindex and nofollow keys, some example config:
export default {
// ...
 nextSeo: {
    noindex: true,
    nofollow: true,
  }
};

But unfortunately pages are still rendered with "index,follow" setting.
You can check result here: https://obs.nodeart.app/

@Gutts-n could you check this?

@Gutts-n not urgent ...

Hello @nosovk try to replace the two properties for dangerouslySetAllPagesToNoIndex and dangerouslySetAllPagesToNoFollow.
example:
export default {
// ...
 nextSeo: {
    dangerouslySetAllPagesToNoIndex: true,
    dangerouslySetAllPagesToNoFollow: true,
  }
};

This works! Thanks!


Add 'abstract' to WMS/WMTS LayerStyle

Add the property abstract to the LayerStyle interface.
Abstract is part of the Style in all versions of WMS and WMTS.

 I hope this is OK 😀

PR #59 opened

Also, apologies for my slightly scatter gun approach to contributing, this library is allowing me to remove huge amounts of hand crafted XML parsing from my code base, so is a life saver, but as I'm going through I'm finding things I want and opening issues. I hope this is OK 😀

Just saw your comment, it is actually completely fine. Small PRs are much easier to review!


Merged main dev 1.29

Merging main into dev-1.29 to keep everything in sync

cc: @reylejano

Commit 448734c failed checks but passed in a following commit ad68e2d2 in the same PR https://github.com/kubernetes/website/pull/43115
/approve

/lgtm

cc: @mrbobbytables

/approve


[DO NOT MERGE] feat: add force:source:open force:mdapi:listmetadata force:mdapi:describemetadata

What does this PR do?
Moves force:source:open command from plugin-source to org:open here
adds new flag, alias, UTs
What issues does this PR fix or reference?
@W-12566080@
requires: https://github.com/salesforcecli/plugin-source/pull/740

QA notes:
org open
✅ force source open alias
✅ old flag names still work and show deprecation warning:
long:

short:

(-f and -r doesn't show up as deprecated because the command still use them).
✅ can open a Lightning page in Ligtning App Builder:
➜  dreamhouse-lwc git:(main) sf org open --source-file force-app/main/default/flexipages/Broker_Record_Page.flexipage-meta.xml

Opening org **************** as user ********************
Waiting to resolve the Lightning Experience-enabled custom domain...... done

✅ opens Lightning App Builder section in Setup if I pass an invalid path to --source-file or if SDR doesn't find the type name:
running sf org open --source-file force-app/main/default/flexipages/lala opens https://saas-app-8376-dev-ed.scratch.my.salesforce.com/_ui/flexipage/ui/FlexiPageFilterListPage.
Previous force:source:open implementation throws an error if the path isn't valid.
💡 the command could print a warning (and still open app builder) if the SDR didn't find the type name (or user passed an invalid MD path).
Note:
This opens the app builder section in "Salesforce Classic" instead of "Lightning Experience", the command can use this URL to open in Lightning Experience:
https://saas-app-8376-dev-ed.scratch.lightning.force.com/lightning/setup/FlexiPageList/home
instead of:
https://saas-app-8376-dev-ed.scratch.my.salesforce.com/_ui/flexipage/ui/FlexiPageFilterListPage
✅ JSON output matches prev force:source:open implementation (url, username and orgId fields in result object)
✅ command fails if --path and --source-file are used at the same time:
Error (1): The following errors occurred:
  --path=lightning cannot also be provided when using --source-file
  --source-file=force-app/main/default/flexipages/Broker_Record_Page.flexipage-meta.xml cannot also be provided when using --p
ath

⚠ there's no mention of --source-file in the help text/examples.
org list metadata
✅ force mdapi listmetadata alias
✅ old flag names still work and show deprecation warning:
long:
➜  dreamhouse-lwc git:(main) sf force mdapi listmetadata --apiversion 56.0 --metadatatype FlexiPage --targetusername dreamhouse --logleve
l debug --resultfile output.txt
Warning: The "force mdapi listmetadata" command has been deprecated. Use "org list metadata" instead.
Warning: The "--apiversion" flag has been deprecated. Use "--api-version" instead.
Warning: The "--metadatatype" flag has been deprecated. Use "--metadata-type" instead.
Warning: The "--targetusername" flag has been deprecated. Use "--target-org" instead.
Warning: The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.
Set the log level using the `SFDX_LOG_LEVEL` environment variable.
Warning: The "--resultfile" flag has been deprecated. Use "--output-file" instead.
Wrote result file to output.txt.

short:
➜  dreamhouse-lwc git:(main) ✗ sf force mdapi listmetadata -a 56.0 -m FlexiPage -u dreamhouse --loglevel debug -f output.txt
Warning: The "force mdapi listmetadata" command has been deprecated. Use "org list metadata" instead.
Warning: The "-u" flag has been deprecated. Use "--target-org" instead.
Warning: The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.
Set the log level using the `SFDX_LOG_LEVEL` environment variable.
Wrote result file to output.txt.

⚠ there are very few commands that support -a for --api-version now, since this is just to maintain compatibility we could deprecate -a too.


Ipv4 allocation update

Hello again!
So while trying to solve my own issue with asyncwhois incomplete IPv4 allocations list (#78), I've made a small tool to  retrieve the data from iana and produce the structure currently used by  asyncwhois.
Here's what I did:

put a program in tools/ipv4-allocations-update (it's commented/documented). It relies on httpx and netaddr. Netaddr allowed me to easly minimize the number of entries in the resulting output to try speeding up the asyncwhois lookup process a bit.
Call that program and produce the data in asyncwhois/servers/ipv4.py through tools/ipv4-allocations-update | black -l 79 - > asyncwhois/servers/ipv4.py.
Modified the servers.py a bit to receive the new file. The point was to separate the code from the generated data. It would not any good to mix up the two files, I think.

This is great! I really appreciate your contribution.

Modified the servers.py a bit to receive the new file. The point was to separate the code from the generated data. It would not any good to mix up the two files, I think.

I like this approach and I'll probably reuse your same method for auto-generating the domains root db too.
Thanks again


Extension not working with NBClassic

Describe the bug
The extension doesn't seem to work in Jupyter Lab 3.0.5 (first version of Jupyter Lab 3.X I've tried). The issue seems to be due to a request being made to localhost:8888/templates/names which returns a 404.
Extension was previously working with Jupyter Lab 2.X on Windows.
To Reproduce

Jupyter Lab upgraded using conda install jupyterlab
Extension installed as per instructions (pip, jupyter labextension..., jupyter serverextension ...). jupyter_notebook_config.py setup with template directory pointing to path where a sub-directory contains templates.

~/.jupyter/jupyter_notebook_config.py
c.JupyterLabTemplates.template_dirs = ['C:\\Users\\XXX\\XXX\\Documents\\Templates\\JLab']
c.JupyterLabTemplates.include_default = True
c.JupyterLabTemplates.include_core_paths = True

Expected behavior
Button in launcher to create notebooks from templates.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser Microsoft Edge 88
Python 3.6.10

Additional context
>>> jupyterlab_templates.__version__
 '0.3.0'

please provide the output of pip show jupyterlab_templates and jupyter labextension list

please provide the output of pip show jupyterlab_templates and jupyter labextension list

$ pip show jupyterlab_templates
Name: jupyterlab-templates
Version: 0.3.0
Summary: Notebook templates
Home-page: https://github.com/timkpaine/jupyterlab_templates
Author: the jupyterlab_templates authors
Author-email: None
License: Apache 2.0
Location: c:\users\XXX\appdata\local\continuum\anaconda3\lib\site-packages
Requires: jupyterlab
Required-by:

and
$ jupyter labextension list
JupyterLab v3.0.5
C:\Users\XXX\AppData\Local\Continuum\anaconda3\share\jupyter\labextensions
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled ok (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
   app dir: C:\Users\XXX\AppData\Local\Continuum\anaconda3\share\jupyter\lab
        jupyter-matplotlib v0.8.3 enabled ok
        jupyterlab_templates v0.3.0 enabled ok

Interestingly, on macOS Big Sur, Python 3.7.6 with JupyterLab 3.0.5 and v0.3.0 of the extension, the extension works fine. The only difference in the Jupyter Lab extensions list is that on the Mac I have the old JupyterLab manager widget (v2.0.0) installed.

$ pip show jupyterlab_templates
Name: jupyterlab-templates
Version: 0.3.0
Summary: Notebook templates
Home-page: https://github.com/timkpaine/jupyterlab_templates
Author: the jupyterlab_templates authors
Author-email: None
License: Apache 2.0
Location: c:\users\XXX\appdata\local\continuum\anaconda3\lib\site-packages
Requires: jupyterlab
Required-by:

and
$ jupyter labextension list
JupyterLab v3.0.5
C:\Users\XXX\AppData\Local\Continuum\anaconda3\share\jupyter\labextensions
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled ok (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
   app dir: C:\Users\XXX\AppData\Local\Continuum\anaconda3\share\jupyter\lab
        jupyter-matplotlib v0.8.3 enabled ok
        jupyterlab_templates v0.3.0 enabled ok

Interestingly, on macOS Big Sur, Python 3.7.6 with JupyterLab 3.0.5 and v0.3.0 of the extension, the extension works fine. The only difference in the Jupyter Lab extensions list is that on the Mac I have the old JupyterLab manager widget (v2.0.0) installed.

404 would suggest the server extension is not being activated, you should see the activation information in the jupyter startup logs telling you what templates are available

404 would suggest the server extension is not being activated, you should see the activation information in the jupyter startup logs telling you what templates are available

Yea, comparing the startup logs there is no mention of jupyterlab_templates at all...any ideas why it wouldn't be registered / activated. I've tried uninstalling / reinstalling the Python package and lab extension, as well as jupyter lab clean, etc.
[I 2021-01-31 18:54:59.886 ServerApp] jupyterlab | extension was successfully linked.
[W 2021-01-31 18:54:59.912 ServerApp] The 'min_open_files_limit' trait of a ServerApp instance must be an int, but a value of None <class 'NoneType'> was specified.
[I 2021-01-31 18:55:00.098 LabApp] JupyterLab extension loaded from C:\Users\XXX\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyterlab
[I 2021-01-31 18:55:00.099 LabApp] JupyterLab application directory is C:\Users\XXX\AppData\Local\Continuum\anaconda3\share\jupyter\lab
[I 2021-01-31 18:55:00.103 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-01-31 18:55:00.687 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-01-31 18:55:00.688 ServerApp] Serving notebooks from local directory: C:\ML\GitLab\sandbox
[I 2021-01-31 18:55:00.688 ServerApp] Jupyter Server 1.2.2 is running at:
[I 2021-01-31 18:55:00.688 ServerApp] http://localhost:8888/lab?token=4b17e7994bc23b0945d5e69b9ac66956460da6ce5a071bd7
[I 2021-01-31 18:55:00.689 ServerApp]  or http://<IP_ADDRESS>:8888/lab?token=4b17e7994bc23b0945d5e69b9ac66956460da6ce5a071bd7
[I 2021-01-31 18:55:00.689 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2021-01-31 18:55:01.376 ServerApp

~/AppData/Local/Continuum/anaconda3/share/jupyter/lab/extensions
$ ls -ltrh
total 96K
-rw-r--r-- 1 XXX 1049089 36K Jan 28 12:35 jupyter-matplotlib-0.8.3.tgz
-rw-r--r-- 1 XXX 1049089 57K Jan 31 18:52 jupyterlab_templates-0.3.0.tgz

Yea, comparing the startup logs there is no mention of jupyterlab_templates at all...any ideas why it wouldn't be registered / activated. I've tried uninstalling / reinstalling the Python package and lab extension, as well as jupyter lab clean, etc.
[I 2021-01-31 18:54:59.886 ServerApp] jupyterlab | extension was successfully linked.
[W 2021-01-31 18:54:59.912 ServerApp] The 'min_open_files_limit' trait of a ServerApp instance must be an int, but a value of None <class 'NoneType'> was specified.
[I 2021-01-31 18:55:00.098 LabApp] JupyterLab extension loaded from C:\Users\XXX\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyterlab
[I 2021-01-31 18:55:00.099 LabApp] JupyterLab application directory is C:\Users\XXX\AppData\Local\Continuum\anaconda3\share\jupyter\lab
[I 2021-01-31 18:55:00.103 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-01-31 18:55:00.687 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-01-31 18:55:00.688 ServerApp] Serving notebooks from local directory: C:\ML\GitLab\sandbox
[I 2021-01-31 18:55:00.688 ServerApp] Jupyter Server 1.2.2 is running at:
[I 2021-01-31 18:55:00.688 ServerApp] http://localhost:8888/lab?token=4b17e7994bc23b0945d5e69b9ac66956460da6ce5a071bd7
[I 2021-01-31 18:55:00.689 ServerApp]  or http://<IP_ADDRESS>:8888/lab?token=4b17e7994bc23b0945d5e69b9ac66956460da6ce5a071bd7
[I 2021-01-31 18:55:00.689 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2021-01-31 18:55:01.376 ServerApp

~/AppData/Local/Continuum/anaconda3/share/jupyter/lab/extensions
$ ls -ltrh
total 96K
-rw-r--r-- 1 XXX 1049089 36K Jan 28 12:35 jupyter-matplotlib-0.8.3.tgz
-rw-r--r-- 1 XXX 1049089 57K Jan 31 18:52 jupyterlab_templates-0.3.0.tgz

what is the result of jupyter serverextension list

what is the result of jupyter serverextension list

$ jupyter serverextension list
config dir: C:\Users\XXX\.jupyter
    jupyterlab_templates.extension enabled
    - Validating...
      jupyterlab_templates.extension  ok
config dir: C:\Users\XXX\AppData\Local\Continuum\anaconda3\etc\jupyter
    jupyterlab enabled
    - Validating...
      jupyterlab 3.0.5 ok
    jupyterlab_templates enabled
    - Validating...
      jupyterlab_templates 0.3.0 ok
    nbdime enabled
    - Validating...
      nbdime 2.1.0 ok

And the file contents inside the config dir for the extension:
==> jupyter_notebook_config.d/jupyterlab.json <==
{
  "NotebookApp": {
    "nbserver_extensions": {
      "jupyterlab": true
    }
  }
}

==> jupyter_notebook_config.d/jupyterlab_templates.json <==
{
  "NotebookApp": {
    "nbserver_extensions": {
      "jupyterlab_templates": true
    }
  }
}

==> jupyter_notebook_config.d/nbdime.json <==
{
  "NotebookApp": {
    "nbserver_extensions": {
      "nbdime": true
    }
  }
}

==> jupyter_server_config.d/jupyterlab.json <==
{
  "ServerApp": {
    "jpserver_extensions": {
      "jupyterlab": true
    }
  }
}

==> jupyter_server_config.d/nbclassic.json <==
{
    "ServerApp": {
        "jpserver_extensions": {
            "nbclassic": true
        }
    }
}
==> labconfig/page_config.json <==
{
  "disabledExtensions": {
    "jupyterlab_templates": false
  }
}
==> nbconfig/common.json <==
{}
==> nbconfig/edit.json <==
{}
==> nbconfig/notebook.json <==
{}
==> nbconfig/terminal.json <==
{}
==> nbconfig/tree.json <==
{}

$ jupyter serverextension list
config dir: C:\Users\XXX\.jupyter
    jupyterlab_templates.extension enabled
    - Validating...
      jupyterlab_templates.extension  ok
config dir: C:\Users\XXX\AppData\Local\Continuum\anaconda3\etc\jupyter
    jupyterlab enabled
    - Validating...
      jupyterlab 3.0.5 ok
    jupyterlab_templates enabled
    - Validating...
      jupyterlab_templates 0.3.0 ok
    nbdime enabled
    - Validating...
      nbdime 2.1.0 ok

And the file contents inside the config dir for the extension:
==> jupyter_notebook_config.d/jupyterlab.json <==
{
  "NotebookApp": {
    "nbserver_extensions": {
      "jupyterlab": true
    }
  }
}

==> jupyter_notebook_config.d/jupyterlab_templates.json <==
{
  "NotebookApp": {
    "nbserver_extensions": {
      "jupyterlab_templates": true
    }
  }
}

==> jupyter_notebook_config.d/nbdime.json <==
{
  "NotebookApp": {
    "nbserver_extensions": {
      "nbdime": true
    }
  }
}

==> jupyter_server_config.d/jupyterlab.json <==
{
  "ServerApp": {
    "jpserver_extensions": {
      "jupyterlab": true
    }
  }
}

==> jupyter_server_config.d/nbclassic.json <==
{
    "ServerApp": {
        "jpserver_extensions": {
            "nbclassic": true
        }
    }
}
==> labconfig/page_config.json <==
{
  "disabledExtensions": {
    "jupyterlab_templates": false
  }
}
==> nbconfig/common.json <==
{}
==> nbconfig/edit.json <==
{}
==> nbconfig/notebook.json <==
{}
==> nbconfig/terminal.json <==
{}
==> nbconfig/tree.json <==
{}

I can't repro on a fresh/clean installation. I suspect that nbclassic does some weird stuff.

I can't repro on a fresh/clean installation. I suspect that nbclassic does some weird stuff.

I will make some modifications that may or may not help in #116, if you can install that branch (or just pull in the changed json) it may work for you

I will make some modifications that may or may not help in #116, if you can install that branch (or just pull in the changed json) it may work for you

Yea so I tried editing the JSON file myself, but still no change...

Interestingly, I've now noticed all of sudden the extension is registering on startup and showing up in the Jupyter logs, and finding the templates (the URL localhost:8888/templates/names works now). But now the JS extension is NOT loading and saying activated in the DevTools console.... 🤦♂

Sounds like you might have some setup issues, check around in your jupyter --paths and see if everything looks as you'd expect

Hi there. I've got exacly the same issue. Installed jupyter.templates, no errors, but not showing up the menu option.
Fresh installation of Anaconda 3 2020.11
Here's the npm log:
[I 2021-03-12 10:31:54.815 LabApp] Build is up to date
[W 2021-03-12 10:31:59.555 ServerApp] 404 GET /templates/names (::1) 1794.79ms referer=http://localhost:8888/lab

More logging:
PS C:\Users\e020513\Documents> pip show jupyterlab_templates
Name: jupyterlab-templates
Version: 0.3.0
Summary: Notebook templates
Home-page: https://github.com/timkpaine/jupyterlab_templates
Author: the jupyterlab_templates authors
Author-email: None
License: Apache 2.0
Location: c:\users\e020513\appdata\roaming\python\python38\site-packages
Requires: jupyterlab
Required-by:
PS C:\Users\e020513\Documents> jupyter labextension list
JupyterLab v3.0.10
Other labextensions (built into JupyterLab)
   app dir: C:\Users\e020513\AppData\Roaming\Python\share\jupyter\lab
        jupyterlab_templates v0.3.0 enabled ok

PS C:\Users\e020513\Documents> jupyter --paths
config:
    C:\Users\e020513\.jupyter
    C:\Users\e020513\Anaconda3\etc\jupyter
    C:\ProgramData\jupyter
data:
    C:\Users\e020513\AppData\Roaming\jupyter
    C:\Users\e020513\Anaconda3\share\jupyter
    C:\ProgramData\jupyter
runtime:
    C:\Users\e020513\AppData\Roaming\jupyter\runtime

Any help appreciated, the extension aims to be quite useful!

404 would suggest the server extension is not being activated, you should see the activation information in the jupyter startup logs telling you what templates are available

@cmedinag

404 would suggest the server extension is not being activated, you should see the activation information in the jupyter startup logs telling you what templates are available

@cmedinag please read through the thread above

Thanks for the quick reply! I checked the whole thread, and checked the logs, where it says the extension is enabled (see above). I can't see anything else that can solve the issue.
The only thing I can think of is that post you mentioned about jupyter paths, but I'm not pretty sure what should I look for there, and, in case it lacks something, how to fix it.


☂ JetBrains plugin 1.0

Description
This issue provides a high-level overview of the development of Biome JetBrains plugin version 1.0 and tracks the progress of individual tasks.
Tasks:

[ ] https://github.com/biomejs/biome/discussions/1052
[ ] Enable support for textDocument/formatting in IDEs >2023.3 (https://youtrack.jetbrains.com/issue/IDEA-334150)
[ ] Run the binary without NodeJs interpreter (This is needed to run native binaries when a custom binary path is set)
[ ] Improve the footer status widget actions
Configure Biome
Restart Biome Service
[ ] Support for Yarn PnP

Repository tasks

[ ] Add plugin version validation to GitHub workflows
[ ] Add automatic changelog to plugin's release notes
[ ] Move the plugin to its own repository @nhedger

Want to contribute? Let us know if you are interested! We will assign you to the task to prevent several people from working on the same issue. Don't worry, we can unassign you later if you are no longer interested in the task! Read our intellij contributing guide
Want to see something else in 1.0? let us know 👇

I will help with moving the plugin to its own repository.

What do you mean by:

Add plugin version validation to GitHub workflows

@nhedger

What do you mean by:

The JetBrains plugin has a gradle task called "IntelliJ Plugin Verifier" It check for incompatibilities with new APIs / new IDE versions.
If you are also interested in this task, there is preliminary work done by JetBrains
For more details: https://plugins.jetbrains.com/docs/intellij/verifying-plugin-compatibility.html

Thanks for the explanation, I'll see if we can run this as a separate workflow on a schedule

I'll also be taking on the changelog generation.


Enhancements to transfer fee

The Chore
Palazzo includes changes to change the way transfer fees are calculated because the flat fee is too prohibitive for large transfers.
We need to respond to this change in Console.
Tasks

[x] Confirm that Core will be providing an API to estimate the fee on a given transfer
[x] Update the transfer side panel to call this API and return the value
[ ] Update the dedicated transfer page to do the same
[ ] If the transfer is a vested account to general account do not show fee (we currently still show the checkbox, and we display a tooltip that isnt applicable)
[ ] Show the discount if there is one

Additional details / background info
Slack thread where I am attempting to get the info on the API.
https://vegaprotocol.slack.com/archives/C9E6XA8GK/p1704213658734299
Looks like tere will be a new estimateTransferFee endpoint to call
PR: https://github.com/vegaprotocol/vega/pull/9983/files#diff-be016f833f94c6069e96beb4873414c55bdfb7af1924c9c1b90eb709304ff90e

now we calculate the fee
min(transfer amount * transfer.fee.factor, transfer.fee.maxQuantumAmount * quantum)