Support for Node v16

Could we upgrade @vercel/build-utils to 2.17.0 from 2.12.1 to support the new Node 16 runtime?
Running into the following error currently,

Hi, yes Node 16 runtime support is on the radar, but takes a few extra steps besides just upgrading the @vercel/build-utils dependecy:

Upgrade sammy: https://github.com/milliHQ/sammy/issues/13

Oh, misinterpreted your issue.
You are asking for Node.js 16 support for the CLI not the nodejs16.x runtime 🙈

However I think setting the "engines": { "node": "14.x" } field in your package.json is the right solution here.
The CLI should still build fine with Node.js 16, but since we currently don't support the nodejs16.x runtime, it does not make sense to allow the creation of Lambdas with Node.js 16 as target.

This has been fixed in v0.13.0.


Multiple PageFields are not possible in a single form

Django==1.8.4
django-cms=3.1.3

I have a plugin with a PageField and an Inline, which itself also has a PageField.
Minimal example:
models.py
class Teaser(CMSPlugin):
    internal_link = PageField(
        blank=True,
        null=True,
        verbose_name='interner Link'
    )
    ... (copy_relations, etc.)

class TeaserButton(models.Model):
    teaser = models.ForeignKeys(Teaser, related_name='buttons')
    internal_link = PageField(
        blank=True,
        null=True,
        verbose_name='interner Link'
    )

cms_plugins.py
class ButtonInline(admin.StackedInline):
    model = TeaserButton
    ...

class TeaserPlugin(CMSPluginBase):
    ...
    inlines = [ButtonInline, ]

When adding an instance of the plugin, I observer a strange behavior. The PageField's select works in the plugin's form:

In the inline's form, however, the PageField's select is empty:

Additionally, I get the following browser console error:

Once the plugin instance is saved with a not-empty PageField and then edited again, the first inline's PageField select is populated properly. Subsequent inline instances' PageField selects are empty again.

TL;DR
Apparently, there can only be one PageField per form.

Shouldn't the title of this issue be: "Multiple PageFields are not possible in a single form"?

It should.

@creimers Have you tried using the attribute related_name="+" in the field definitions? In not, could you try that?

@mkoistinen related_name="+" did not solve the problem for me.


--aggregate-output seems to drop CLI colors on Windows

Hey, @mysticatea!
I'm experimenting with aggregate-output on https://github.com/twbs/bootstrap/pull/32907.
It works good, but I notice that the CLI colors are then dropped on Windows native CMD.
Is there any workaround? Or could this be easily fixed?
Thanks in advance!

Hi,
I'm getting the same issue on linux as well...

Why has this been closed? Would love to have the colored output as well.

Same thing happening on macOS


Test - Form type('password', 'password') failure

Laravel 5.1.
I have a problem when trying to test filling in a form with a username and password.
If I call:
$this->visit('/auth/login')
<EMAIL_ADDRESS>'email')
    ->type('password', 'password')
    ->press('Login')
    ->seePageIs('/dashboard');

I get the following error when testing (Which I realise at this point i useless):
1) AuthTest::testLoggingIn
ErrorException: Undefined property: Symfony\Component\HttpFoundation\Response::$exception

However, if I try changing the password to something else, it works fine:
$this->visit('/auth/login')
<EMAIL_ADDRESS>'email')
    ->type('something_else', 'password')
    ->press('Login')
    ->seePageIs('/dashboard');

This doesn't appear to be an issue for other fields where the input matches the name, just on passwords.

I tried duplicating this but wasn't able to. Can you provide the code for your view?

I'm using an updated version since this and it seems to be working fine now - guess somethings fixed it in a previous update.


test: Community-id tests for dhcp, rdp, smb, tftp

This commit adds test cases that verify the community id string is
included in dhcp, rdp, smb and tftp records when configured.
Requires Suricata PR #5112

Should all these tests have a min-version of 6? The QA now passes on master as the PR has been merged, but still fails on 5.0 and 4.1.

Should all these tests have a min-version of 6? The QA now passes on master as the PR has been merged, but still fails on 5.0 and 4.1.

Yes -- right now but there'll be backport PRs for 5.0.x and 4.1.x. When those are complete, the tests should pass.
Should I update this PR with min-versions until the backport PRs are complete?

Maybe easier to get the backports done :)


2DJaggedArray

here's a java program for 2D Jagged Array

Hey, I want to contribute to your project. I'd be glad if you merge my PR :)


I can't find this setting in azure portal

It's unclear where the availability settings are. I can't see anything with this name or with this icon.

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

ID: 10858323-1827-1c73-b93a-7c133bae54ba
Version Independent ID: 3ed5fda4-c916-dcb0-a3b2-a0bb534d8bdb
Content: Monitor availability and responsiveness of any web site
Content Source: articles/azure-monitor/app/monitor-web-app-availability.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@dragosvelcea To find the "Availability" blade:

Go to portal.azure.com
Search for Application Insights
Select the Application Insights instance that you have created
You should be able to see the "Availability" blade on the left pane

https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability#create-a-url-ping-test

Hope this helps!

We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Improve the performance of the at_least_one test

resolves #775
[This is a:

[ ] documentation update
[ ] bug fix with no breaking changes
[x] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
Description & motivation

Checklist

[ ] This code is associated with an Issue which has been triaged and accepted for development.
[x] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[x] Snowflake

[ ] I followed guidelines to ensure that my changes will work on "non-core" adapters by:

[ ] dispatching any new macro(s) so non-core adapters can also use them (e.g. the star() source)
[ ] using the limit_zero() macro in place of the literal string: limit 0
[ ] using dbt.type_* macros instead of explicit datatypes (e.g. dbt.type_timestamp() instead of TIMESTAMP

[x] I have updated the README.md (if applicable)
[x] I have added tests & descriptions to my models (and macros if applicable)
[x] I have added an entry to CHANGELOG.md
](https://github.com/JoshuaHuntley)

The failing Redshift test is unrelated to these changes. The at_least_one tests in Redshift succeed.

@joellabes I made the requested changes. FYI, I'm firmly in favor of CTEs but stuck to the original approach as much as possible on the first go-round. I've flattened the code out a bit so there is now only one layer of nesting. I see your position about the all-or-nothing approach to error handling. Pushing it down to the user, especially considering our intended user base, is fair.

Thanks @JoshuaHuntley! From the CI logs, it looks like you might have to get rid of the test that checks for the tested column being in the group_by columns as well.

@joellabes I removed the test. There are Redshift adapter tests that are not related to this PR. Should I remove them or can we ignore them?

@JoshuaHuntley I'm @joellabes's colleague and I was asked to lend a hand on this review.
I pushed a couple commits to do the following:

restore the group by test and fix the underlying issue that was causing it to fail
update the changelog

The tests are all passing now ✅, so I think we'll be ready to merge soon.
Details
Case-sensitive group by test
The group by test was failing when the column to test also was included in the list of columns to group by. So I added some case-sensitive logic that checks whether it is in that list or not.
Note that other macros like union, unpivot, etc take additional steps to make this comparison case-insensitive.
So users might still get an error like column reference "field" is ambiguous if they do something like this:
  - name: data_test_at_least_one
    columns:
      - name: field
        tests:
          - dbt_utils.at_least_one
          - dbt_utils.at_least_one:
              group_by_columns: ['FIELD']

Currently, I'm more comfortable with that possibility than attempting to handle all the details and complications of a case-insensitive check. We can always update the implementation later if case-insensitive comparisons are needed.
limit in subqueries
I seem to recall that not all databases support limit within subqueries. Maybe MariaDB and MySQL fit in this category? For any databases in which this is the case, they will need to override this implementation in order to work.


feat: add docker image

Closes #45

I'll work to generate an official docker image with every release
Currently, the docker-compose provided needs to clone the repository and manually build the image.
If we build a official docker image, we could just have an example in the README.md with the docker usage.
About Dockerfile location, we need to keep it in the root folder, because of the docker build context, where all needed files (src/) cannot be in an upper folder lever.

You're right @lxy1992!
I just cleaned the alpine useless build deps.
About playwright, its essential to run this package.

@m1guelpf done.
I updated the repository to generate an official docker image on every release.
Now the docker example is included in README.md


Inplace add, Create refreshing parent dialog

Hi everyone,
this may be an easy problem, but I have tried so much and nothing helped me till now.
When using inplaceAdd of a lookup editor and creating a new entity, my parent dialog is not refreshed.
My problem is that I'm showing expression fields on the selected entity in my parent dialog. So if I select an entity, several fields are shown in my parent dialog. But when creating or editing the entity with lookup edit or create it's not refreshing those fields.
Thanks for any help.

Hi @Garozh
You try put Q.reloadLookup('...') after change value in your form?
best regards.
Roberto

Yes, I allready tried that, but it's not refreshing

[LookupScript("Lookupkey", Expiration = -1)]

or
[LookupScript("Lookupkey")]
public class MyLookup: RowLookupScript
{
public MyLookup()
{
IdField = MyRow.Fields.Id.PropertyName;
TextField = MyRow.Fields.Name.PropertyName;
Expiration = TimeSpan.FromDays(-1);
}
}
hope help


AntiVirus (Defender) blocking AzureResourceInventory.ps1

From the release of v3.1.22, onwards I receive the following

##################################################################### ...

This script contains malicious content and has been blocked by your antivirus software.
+ CategoryInfo          : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : ScriptContainedMaliciousContent
If I do a global remove of the change from 3,1,21, removing "(get-date -Format 'yyyy-MM-dd_HH_mm_ss')+' - '+" . The script will run as expected.
Does anybody else see this issue?

Hello, this is very odd. I really don't see why the AV would complain of date formatting at all.
anyway, I just released the version 3.5 of ARI and since we changed a lot of how the script works (it's no longer a script, but a Powershell Module) and we completely remove the need of az cli as we changed 100% to powershell. This might have changed the previous behavior.
Do you mind and give a try to new version so we can validate how the AV will behave with this version?
Thanks

Hello Claudio, tested and working. And a few bugs I had noted have been corrected too.
thank you for prompt response


TF Error with ACKTR: FIFOQueue '_0_fifo_queue' is closed

To reproduce the bug: call model.learn twice with an acktr model

this was due to a tf.FIFOQueue of the KFAC optimiser being closed at the end of model.learn. Fixed with 0bc655b.


Rancher 1.6: performance improvements for lb service metadata generation

On metadata reload request for a single LB service, we fetch all the services and stacks for the account which is not optimal:
https://github.com/rancher/cattle/blob/v1.6/code/iaas/model/src/main/java/io/cattle/platform/core/dao/impl/LoadBalancerInfoDaoImpl.java#L193
And what really these services/stacks are needed for - is for port_name rule generation that use only stack/service names. We should consider storing services/stacks in cache, and fetch the info from there.

As 1.6 is EOL as of June 30, 2020, we are closing 1.6 issues.


[BEAM-14125] Update website IO matrix to recommend aws2 IOs

Next step towards deprecating the initial aws IOs / module: Updating the IO matrix on the website to recommend the aws2 IOs.

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

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

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @melap
R: @timrobertson100
R: @aromanenko-dev


changed LinkedIn path to correct pattern

Thanks @britnia. I always thought /ìn/ for private url.

You're welcome :)


[Bug] Conv2DTranspose with groups not working correctly

I'm trying to convert a PyTorch model which makes use of torch.nn.functional.conv_transpose2d and am running into issues with my converter to the corresponding tvm.relay.op.nn.conv2d_transpose operation.
I've done a little monkey patching on the PyTorchOpConverter as the operations that torch.nn.functional.conv2d/conv_transpose2d trace to (aten::conv2d and aten::conv_transpose2d) aren't covered by default. I've added functions to convert each one to the PyTorchOpConverter so that I have access to self.infer_shape(weight) in the functions as follows:

Converter implementation
class MyPyTorchOpConverter(PyTorchOpConverter):
    def __init__(self, prelude, default_dtype):
        super().__init__(prelude, default_dtype)
        self.update_convert_map(
            {"aten::conv2d": self.convert_conv2d, "aten::conv_transpose2d": self.convert_conv_transpose2d}
        )

    def convert_conv2d(self, inputs, input_types):
        data = inputs[0]
        weight = inputs[1]
        bias = inputs[2]
        strides = inputs[3]
        padding = inputs[4]
        dilation = inputs[5]
        groups = inputs[6]

        channels, input_channels, kh, kw = self.infer_shape(weight)  # OIHW

        if groups > 1 and input_channels == 1:
            channel_multiplier = channels // groups
            new_weight_shape = (groups, channel_multiplier, kh, kw)
            weight = relay.op.transform.reshape(weight, new_weight_shape)

        res = relay.op.nn.conv2d(
            data, weight, strides=strides, padding=padding, dilation=dilation, groups=groups, channels=channels
        )
        if bias is not None:
            res = relay.op.nn.bias_add(res, bias)

        return res

    def convert_conv_transpose2d(self, inputs, input_types):
        data = inputs[0]
        weight = inputs[1]
        bias = inputs[2]
        strides = inputs[3]
        padding = inputs[4]
        output_padding = inputs[5]
        groups = inputs[6]
        dilation = inputs[7]

        input_channels, channels, kh, kw = list(self.infer_shape(weight))  # IOHW

        if groups > 1 and channels == 1:
            channel_multiplier = channels // groups
            new_weight_shape = (groups, channel_multiplier, kh, kw)
            weight = relay.op.transform.reshape(weight, new_weight_shape)

        res = relay.op.nn.conv2d_transpose(
            data,
            weight,
            strides=strides,
            padding=padding,
            output_padding=output_padding,
            dilation=dilation,
            groups=groups,
        )
        if bias is not None:
            res = relay.op.nn.bias_add(res, bias)

        return res

tvm.relay.frontend.pytorch.PyTorchOpConverter = MyPyTorchOpConverter

The implementations of the convertors are adapted from tvm.relay.frontend.pytorch.PyTorchOpConverter.convolution(inputs, input_types) but updated to support the call signature of torch.nn.functional.conv2d/conv_transpose2d.
The problem I'm seeing is that it seems like tvm.relay.op.nn.conv2d_transpose() doesn't respect the groups argument. When I print the input and outputs of the first 4 conv(_transpose) ops in my network, the PyTorch shapes are the following:

PyTorch shapes
conv2d
input (1, 1536, 4, 4)
weight (1536, 512, 3, 3)
groups 3
out (1, 1536, 4, 4)

conv2d
input (1, 1536, 4, 4)
weight (9, 512, 1, 1)
groups 3
out (1, 9, 4, 4)

conv_transpose2d
input (1, 1536, 4, 4)
weight (1536, 512, 3, 3)
groups 3
out (1, 1536, 9, 9)

conv2d
data (1, 1536, 11, 11)
weight (1536, 1, 4, 4)
groups 1536
out (1, 1536, 8, 8)

While the TVM shapes are:

TVM shapes
conv2d
input [1, 1536, 4, 4]
weight [1536, 512, 3, 3]
groups 3
out (1, 1536, 4, 4)

conv2d
input [1, 1536, 4, 4]
weight [9, 512, 1, 1]
groups 3
out (1, 9, 4, 4)

conv2d_transpose
input [1, 1536, 4, 4]
weight [1536, 512, 3, 3]
groups 3
out (1, 512, 9, 9)

conv2d
input [1, 512, 11, 11]
weight [512, 1, 4, 4]
groups 1536
TVMError

Notice that the output shape of tvm.relay.op.nn.conv2d_transpose() does not have the correct number of channels (output is as if groups = 1). This leads to the error in the next conv2d operation:

Error traceback
Traceback (most recent call last):
  File "/home/hans/code/stylegan3/func.py", line 217, in <module>
    Gtvm, tvm_params = relay.frontend.pytorch.from_pytorch(
  File "/home/hans/code/tvm/python/tvm/relay/frontend/pytorch.py", line 4010, in from_pytorch
    outputs = converter.convert_operators(_get_operator_nodes(graph.nodes()), outputs, ret_name)
  File "/home/hans/code/tvm/python/tvm/relay/frontend/pytorch.py", line 3385, in convert_operators
    relay_out = relay_op(
  File "/home/hans/code/stylegan3/func.py", line 101, in convert_conv2d
    print("out", self.infer_shape(res))
  File "/home/hans/code/tvm/python/tvm/relay/frontend/pytorch.py", line 204, in infer_shape
    typ = self.infer_type(inputs, mod=mod)
  File "/home/hans/code/tvm/python/tvm/relay/frontend/pytorch.py", line 162, in infer_type
    new_mod = transform.InferType()(new_mod)
  File "/home/hans/code/tvm/python/tvm/ir/transform.py", line 161, in __call__
    return _ffi_transform_api.RunPass(self, mod)
  File "/home/hans/code/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 237, in __call__
    raise get_last_ffi_error()
tvm._ffi.base.TVMError: Traceback (most recent call last):
  7: TVMFuncCall
  6: tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<tvm::IRModule (tvm::transform::Pass, tvm::IRModule)>::AssignTypedLambda<tvm::transform::{lambda(tvm::transform::Pass, tvm::IRModule)#7}>(tvm::transform::{lambda(tvm::transform::Pass, tvm::IRModule)#7}, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
  5: tvm::transform::Pass::operator()(tvm::IRModule) const
  4: tvm::transform::Pass::operator()(tvm::IRModule, tvm::transform::PassContext const&) const
  3: tvm::transform::ModulePassNode::operator()(tvm::IRModule, tvm::transform::PassContext const&) const
  2: tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<tvm::IRModule (tvm::IRModule, tvm::transform::PassContext)>::AssignTypedLambda<tvm::relay::transform::InferType()::{lambda(tvm::IRModule, tvm::transform::PassContext const&)#1}>(tvm::relay::transform::InferType()::{lambda(tvm::IRModule, tvm::transform::PassContext const&)#1})::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
  1: tvm::relay::TypeInferencer::Infer(tvm::GlobalVar, tvm::relay::Function)
  0: tvm::relay::TypeSolver::Solve() [clone .cold]
  9: TVMFuncCall
  8: tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<tvm::IRModule (tvm::transform::Pass, tvm::IRModule)>::AssignTypedLambda<tvm::transform::{lambda(tvm::transform::Pass, tvm::IRModule)#7}>(tvm::transform::{lambda(tvm::transform::Pass, tvm::IRModule)#7}, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
  7: tvm::transform::Pass::operator()(tvm::IRModule) const
  6: tvm::transform::Pass::operator()(tvm::IRModule, tvm::transform::PassContext const&) const
  5: tvm::transform::ModulePassNode::operator()(tvm::IRModule, tvm::transform::PassContext const&) const
  4: tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<tvm::IRModule (tvm::IRModule, tvm::transform::PassContext)>::AssignTypedLambda<tvm::relay::transform::InferType()::{lambda(tvm::IRModule, tvm::transform::PassContext const&)#1}>(tvm::relay::transform::InferType()::{lambda(tvm::IRModule, tvm::transform::PassContext const&)#1})::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
  3: tvm::relay::TypeInferencer::Infer(tvm::GlobalVar, tvm::relay::Function)
  2: tvm::relay::TypeSolver::Solve()
  1: tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<bool (tvm::runtime::Array<tvm::Type, void> const&, int, tvm::Attrs const&, tvm::TypeReporter const&)>::AssignTypedLambda<bool (*)(tvm::runtime::Array<tvm::Type, void> const&, int, tvm::Attrs const&, tvm::TypeReporter const&)>(bool (*)(tvm::runtime::Array<tvm::Type, void> const&, int, tvm::Attrs const&, tvm::TypeReporter const&))::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
  0: tvm::relay::ReshapeRel(tvm::runtime::Array<tvm::Type, void> const&, int, tvm::Attrs const&, tvm::TypeReporter const&)
  File "/home/hans/code/tvm/src/relay/analysis/type_solver.cc", line 624
TVMError:
---------------------------------------------------------------
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------
  Check failed: (false) is false: [14:35:14] /home/hans/code/tvm/src/relay/op/tensor/transform.cc:787:
---------------------------------------------------------------
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------

  Check failed: oshape_sum == data_shape_sum (24576 vs. 8192) : Input tensor shape(1536,1,4,4) and reshaped shape(512,1,4,4) are not compatible!

As a workaround, I've rewritten my conv_transpose2d converter to manually split the data and weights into groups, perform each transposed conv, and then concatenate them back. This converter does seem to give the correct output shape although I haven't yet tested the outputs for correctness, I might have just gotten lucky with the shapes.

Workaround converter implementation (manual grouping)
    def convert_conv_transpose2d_workaround(self, inputs, input_types):
        data = inputs[0]
        weight = inputs[1]
        bias = inputs[2]
        strides = inputs[3]
        padding = inputs[4]
        output_padding = inputs[5]
        groups = inputs[6]
        dilation = inputs[7]

        input_channels, channels, kh, kw = list(self.infer_shape(weight))

        if groups > 1 and channels == 1:
            channel_multiplier = channels // groups
            new_weight_shape = (groups, channel_multiplier, kh, kw)
            weight = relay.op.transform.reshape(weight, new_weight_shape)

        datas = relay.op.split(data, groups, axis=1)
        weights = relay.op.split(weight, groups, axis=0)

        rs = []
        for d, w in zip(datas, weights):
            r = relay.op.nn.conv2d_transpose(
                d, w, strides=strides, padding=padding, output_padding=output_padding, dilation=dilation, groups=1
            )
            if bias is not None:
                r = relay.op.nn.bias_add(r, bias)
            rs.append(r)
        res = relay.op.concatenate(rs, axis=1)

        return res

Expected behavior
The groups argument of tvm.relay.op.nn.conv2d_transpose should work correctly like tvm.relay.op.nn.conv2d does.
Actual behavior
The transposed convolution seems to only be applied to a single group?
Environment
Ubuntu 20.04
PyTorch 1.12.0.dev20220210
TVM 0.9.dev525+g8aeb72265 (compiled from main a couple hours ago)
CUDA 11.4
Steps to reproduce
from copy import deepcopy

import torch
import tvm.relay
from torch.nn.functional import conv_transpose2d

_original_get_constant = deepcopy(tvm.relay.frontend.pytorch._get_constant)

def _my_get_constant(node):
    """Monkey patch in support for prim::Constant lists, I guess torch.jit.optimize_for_inference introduces these?"""
    if node.output().type().kind() == "ListType":
        print("WARNING: Encountered ListType in _get_constant, doing weird eval stuff to get the list value:", end=" ")
        lst = eval(node.__repr__().split("value=")[1].replace("]()", ""))
        print(lst)
        return lst
    else:
        return _original_get_constant(node)

tvm.relay.frontend.pytorch._get_constant = _my_get_constant

def convert_conv_transpose2d(inputs, input_types):
    data = inputs[0]
    weight = inputs[1]
    bias = inputs[2]
    strides = inputs[3]
    padding = inputs[4]
    output_padding = inputs[5]
    groups = inputs[6]
    dilation = inputs[7]

    res = tvm.relay.op.nn.conv2d_transpose(
        data,
        weight,
        strides=strides,
        padding=padding,
        output_padding=output_padding,
        dilation=dilation,
        groups=groups,
    )
    if bias is not None:
        res = tvm.relay.op.nn.bias_add(res, bias)

    return res

class ModulatedConvTranspose2D(torch.nn.Module):
    def forward(self, x, w, s):
        B, C, H, W = x.shape
        I, O, KH, KW = w.shape

        # weight is different for each input in batch (this is why we want grouped conv transpose)
        w = w.unsqueeze(0) * s.reshape(B, 1, 1, 1, 1)
        w = w.reshape(B * I, O, KH, KW)

        x = x.reshape(1, B * C, H, W)

        x = conv_transpose2d(x, w, stride=(2, 2), padding=(1, 1), output_padding=(1, 1), groups=B)

        # Check failed: oshape_sum == data_shape_sum (524288 vs. 131072) : Input tensor shape(4,256,16,32) and reshaped shape(1,256,16,32) are not compatible!
        x = x.reshape(B, O, H * 2, W * 2)

        return x

with torch.inference_mode():
    b, c, h, w, k = 4, 512, 8, 16, 3
    inputs = torch.rand(b, c, h, w)
    weights = torch.rand(c, c // 2, k, k)
    styles = torch.rand(b)

    torch_mod = torch.jit.optimize_for_inference(
        torch.jit.trace(ModulatedConvTranspose2D().eval(), (inputs, weights, styles))
    )

    outputs_torch = torch_mod(inputs, weights, styles)
    print("Torch output shape", outputs_torch.shape)  # torch.Size([4, 256, 16, 32])

    tvm_mod, params = tvm.relay.frontend.pytorch.from_pytorch(
        torch_mod,
        [("inputs", inputs.shape), ("weights", weights.shape), ("styles", styles.shape)],
        {"aten::conv_transpose2d": convert_conv_transpose2d},
    )

Thanks, yes conv2d_transpose with group was only recently fixed and supported in https://github.com/apache/tvm/pull/9465. I think we haven't updated our PyTorch frontend to benefit from this change. I'll take a look.

Great, thanks for the quick response!
I can confirm that it's converting from PyTorch correctly for my more complex model on your branch.
Now I'm getting an AssertionError on relay.build() though:
AssertionError: only support groups == 1 when targetting cuda/gpu

Are there plans to support grouped transposed convolutions on GPU?
Is there a better workaround than splitting the groups manually?

Yeah, cuda backend doesnt support groups. You can try the cpu backend to verify the result. If you are ok with using cudnn, I can quickly enable groups support for cudnn conv transpose 2d.

Are you sure you can run your PT model on cuda via cudnn? I'm getting CUDNN_STATUS_BAD_PARAM when trying to run your model with cudnn. A WIP branch https://github.com/apache/tvm/compare/main...masahi:conv2d-transpose-group-cudnn?expand=1 if you want to hack on it.

How TVM + cuDNN compares to PT? Since you are running on fp16, I'd hope that we can use tensorcore. But I've never seen grouped convolution running on tensorcore. Also cutlass is generally faster than cuDNN but it doesn't support grouped or depth wise afaik.

I'm not quite sure what the best way to benchmark/profile things is. I've been trying to use ncu, but it's very slow for the PyTorch models.
At the moment the PyTorch models (vanilla, traced, optimize_for_inference) reach about 9-11 fps and the TVM + CUDNN is about 15-19 fps. I'm hoping to get into the 25-30 fps range.
I'm trying to get more of the computation to be done in fp16, but I've ran into this issue #10397 .

You may try our auto-scheduler to see if it can beat cuDNN.

So far the autotvm tuner hasn't been successful for me. It took a couple days to tune all of the ops with the default settings from the tutorial and it actually ended up slower than the untuned TVM + CUDNN version.
I haven't looked too deep into the auto-scheduler yet because I couldn't find a good tutorial of applying it to a large model (I think the only tutorial is for single ops?).
I figured it would also be less effective due to using CUDNN, which might reduce the flexibility of the scheduler, although I'm not sure if that's actually the case.

https://github.com/apache/tvm/tree/main/gallery/how_to/tune_with_autoscheduler has e2e examples of using the auto scheduler. But yeah, I don't expect it to beat cuDNN, unless cuDNN implementation of dgrad with group is really poor.


bug: [WARNING] [api_server:llm-llama-service:3] Timed out waiting for runner to be ready

Describe the bug
I have launched a BentomlServer with a vllm backend on k8s.
Once the model is loaded (codellama 13B instruct in float 16), the logs of the pod are the following :
[INFO] [cli] Starting production HTTP BentoServer from "_service:svc" listening
[WARNING] [api_server:llm-llama-service:1] Timed out waiting for runner to be ready
I don't understand why this warning appears in the logs informing me that the runner is no longer ready, why the previous line tells me that the server is ready to listen.
Do you have any explanation why this warning pops up after the logs inform that the server is ready to listen?
Many thanks for your help
To reproduce
No response
Logs
No response
Environment
K8S
Python 3.10
System information (Optional)
No response

close for openllm 0.6


Create relationship between parent and children on the same object

Hi everybody.
I have an collection save Post and Comment like that
"_id': ObjectId("567225874a7aafb016000029"),
"content":"content of  this post",
"comment": [
{
"_id":ObjectId("567225874a7aafb0160004529")
"PARENT": NULL;
"content": "this is parent comment",
},
{
"_id":ObjectId("567225874a7aafb0160004529")
"PARENT": "567225874a7aafb0160004529"; // this is ID of parent comment
"content": "this is childrent comment",
}
]
i already define relationship between post and comment. but i do'nt know how to define relationship between parent comment and children comment. Please help me

Did you end up solving this?


Generated "is" method for boolean type in entity object

for example:
protected boolean cached;

In generated code this attr method should be:
public boolean isCached(){...}

actually it is:
public boolean getCached(){...}

This is only a minor difference as java bean name rule.
How do you think it?

For myself I solved this problem with the help of @Naming
Example: @Naming(getter = "isCached")

Right @Naming allows you to customize the generated method names

I agree @Naming is a good way to change the default method name.
If the default method getter is "isXXX". Some one need to change to other name by this annotation. That could be better. "isXXX" is java bean/entity name rule.


Fix to helgrind error for accessing pending_work_item_count_ptr

The pending_work_item_count_ptr is not used when threadpool_schedule_work is used. pending_work_item_count_ptr is always initialized to NULL in threadpool_create and when pending_work_item_count_ptr is initialized to NULL in reallocate task array, an exlusive lock is used. So, removing the NULL assignment in the threadpool_schedule_work.

/azp run Azure-C-Pal

Task 29956457 threadpool linux fails in helgrind

volatile_atomic int32_t *pending_work_item_count_ptr;

A comment next to this indicating what it represents would be very good.
I started at reviewing the change which removes the setting of this field to NULL, but I realized I do not really get what the field contains.

Refers to: linux/src/threadpool_linux.c:75 in d2f4b01. [](commit_id = d2f4b01dd84721f3c77f5252c58e7ed9ad4c9112, deletion_comment = False)

                    /* Codes_SRS_THREADPOOL_LINUX_05_040: [ threadpool_work_func shall save pending_work_item_count_ptr is not NULL in is_pending_work_item_count_ptr_not_null. ]*/

Honestly speccing this level of detail where we say we set a local variable to a certain value is extreme and not really helping. We want to spec at level of the behavior of the public APIs of the module, not at the internals of variable assignment.
We can discuss about it in person tomorrow.

Refers to: linux/src/threadpool_linux.c:222 in d2f4b01. [](commit_id = d2f4b01dd84721f3c77f5252c58e7ed9ad4c9112, deletion_comment = False)

                        /* Codes_SRS_THREADPOOL_LINUX_05_045: [ threadpool_work_func shall send wake up signal to single listener for the address in pending_work_item_count_ptr. ]*/

What guarantees that between line 223 (when we computed that pending_work_item_count_ptr is not NULL) and line 232 (when we're accessing it), the value of pending_work_item_count_ptr has not changed?

Refers to: linux/src/threadpool_linux.c:233 in d2f4b01. [](commit_id = d2f4b01dd84721f3c77f5252c58e7ed9ad4c9112, deletion_comment = False)

                        interlocked_decrement(threadpool->task_array[current_index].pending_work_item_count_ptr);

We mark with (void) the fact that we ignore on purpose return values in the code. This is one such case where interlocked_decrement returns a value, but we ignore it by design.

Refers to: linux/src/threadpool_linux.c:232 in d2f4b01. [](commit_id = d2f4b01dd84721f3c77f5252c58e7ed9ad4c9112, deletion_comment = False)

                interlocked_increment(&threadpool_work_item->pending_work_item_count);

(void)

Refers to: linux/src/threadpool_linux.c:914 in d2f4b01. [](commit_id = d2f4b01dd84721f3c77f5252c58e7ed9ad4c9112, deletion_comment = False)

                interlocked_increment(&threadpool_work_item->pending_work_item_count);

Here and everywhere applicable.

In reply to:<PHONE_NUMBER>

Refers to: linux/src/threadpool_linux.c:914 in d2f4b01. [](commit_id = d2f4b01dd84721f3c77f5252c58e7ed9ad4c9112, deletion_comment = False)

                        /* Codes_SRS_THREADPOOL_LINUX_05_045: [ threadpool_work_func shall send wake up signal to single listener for the address in pending_work_item_count_ptr. ]*/

At line 223, we are checking if pending_work_item_count_ptr is NULL or not. It is NULL for the threadpool_schedule_work which is an old implementation.
It is NOT NULL for the new implementation aka threadpool_schedule_work_item which is guaranteed to be not NULL because that function assigns it a value at line 915 in an exclusive lock.

In reply to:<PHONE_NUMBER>

Refers to: linux/src/threadpool_linux.c:233 in d2f4b01. [](commit_id = d2f4b01dd84721f3c77f5252c58e7ed9ad4c9112, deletion_comment = False)

                        interlocked_decrement(threadpool->task_array[current_index].pending_work_item_count_ptr);

Done

In reply to:<PHONE_NUMBER>

Refers to: linux/src/threadpool_linux.c:232 in d2f4b01. [](commit_id = d2f4b01dd84721f3c77f5252c58e7ed9ad4c9112, deletion_comment = False)


New renderer feedback.

Hey @typicode
Is it possible to support variables like this aswell.
https://github.com/The-Code-Monkey/mistcss/blob/feat/variables/fixtures/Foo.mist.tsx
Also with the rewrite it's not possible to have multiple elements per file.
And there are also some html elements that do not support child elements e.g. input.
I can take a look at things like childless elements next week but in terms of the variables unless I get time to understand the new parser fully I won't be able to implement this.
I've linked my repo where I added some stuff prior to the rewrite, but it was very custom to my needs rather than the packages aim

Is it possible to support variables like this aswell.

While interesting, I feel it's a bit too complex. For now, I prefer to keep MistCSS simpler/generic and not introduce specific CSS frameworks support.

Also with the rewrite it's not possible to have multiple elements per file.

I reverted it because it makes supporting other libraries more complex. Astro, Svelte and Vue (with an exception) use single-file components.
It's possible to do something like this:
// Card.tsx
export * from './_CardImage.mist'
export * from './_CardTitle.mist'

I can take a look at things like childless elements next week

PR welcome :+1:  If you're busy or prefer me to do it, let me know I have some free time.
Otherwise, only renderers/react functions need to be modified:

renderFunction
renderFunctionArgs
"import type { JSX, PropsWithChildren } from 'react'" in render

Adding a function to test if data.tag is a void element (https://html.spec.whatwg.org/multipage/syntax.html#void-elements).

I've linked my repo where I added some stuff prior to the rewrite, but it was very custom to my needs rather than the packages aim

Thanks!


Godot Buttons "D", Left Arrow, and Down Arrow Not Working

Tested versions

Reproducible from 4.2-stable to 3.0-stable (I don't know how to ask for input in 2.0)

System information
Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1650 Ti (NVIDIA; <IP_ADDRESS>8) - Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 Threads)
Issue description
I was programming a game with 2D movement with A and D and a weapon that you could shoot with the arrow keys, Binding of Isaac style. When playing around with the movement, I noticed I could not shoot diagonally downwards while moving right. I assumed that I had done something wrong, so I made a test in a different project, and once again, it did not work when I used the keys D, down arrow, and left arrow. However, any other keys I tried it with all worked perfectly fine.
Steps to reproduce
func _process(_delta):
    if Input.is_action_pressed("D"):
       if Input.is_action_pressed("Left Arrow"):
            if Input.is_action_pressed("Down Arrow"):
                print("Success")

If you hold D key, left arrow key, and down arrow key  at the same time, "Success" is only printed to the screen occasionally, which is very inconvenient for a game requiring precision. What I would like to have happen is to print "Success" continually. Also, I bound "F" to the D key, and holding F along with the arrow keys gives the intended result, whereas holding D does not.
Minimal reproduction project (MRP)
Issue Reproduction.zip

This may be yet another case of keyboard ghosting. Try testing this online with https://drakeirving.github.io/MultiKeyDisplay/ , for example.

I just downloaded the sample project and I am unable to reproduce the issue.


Can't install stereopy developer's version

After creating conda environment I'm getting an error when I run setup:
Processing dependencies for stereopy==0.7.0
Searching for gefpy>=0.6.7
Reading https://pypi.org/simple/gefpy/
No local packages or working download links found for gefpy>=0.6.7
error: Could not find suitable distribution for Requirement.parse('gefpy>=0.6.7')

I suppose it could be solved by providing a specific Conda repository where all specified package versions are available.

Hello, is your installation environment linux? gefpy currently does not support windows and mac versions

@junhouhuiBGI OK, I see. Is there a workaround for this issue? What I see is that gefpy is a wrapper for geftools. I suppose geftools also work only on Linux, right?
If there is no other way can you consider offering users a Docker image that would include the entire environment and a "docker run command" to run Jupyter notebook from it?

Hello, gefpy itself is used in linux. We are generating a docker image, please wait a moment

Hello, you can download the docker image of stereopy through the link below.
stereopy_docker_image

Thank you very much @junhouhuiBGI. It would be wonderful if you could push the image to Dockerhub, so the users could pull it with docker pull command. Also, I started downloading TAR that you send and it says it would take a day. So, for example, I don't know if BGI Research has an account on dockerhub, so if you create a new account there named bgi-research and name the docker with stereopy:1.0 then users might just type:
docker run -p 8888:8888 -it bgi-research/stereopy:1.0 /bin/bash -c "jupyter lab --JupyterApp.config_file='/home/stereonote/jupyter_notebook_config.py' --allow-root --ip=<IP_ADDRESS> --NotebookApp.passwd=''"

The image will be pulled and after it, the Jupyter notebook on it should run.

@junhouhuiBGI just to check, have you managed to push the image to Dockerhub? Please tell me if I can help.

hi，we already push the image to Dockerhub, please visit stereopy_docker

Thanks @junhouhuiBGI. I managed to pull it and to start Jupyter. Unfortunately, it cannot locate my browser:
Jupyter Server 1.23.3 is running at:
[I 2022-12-06 10:09:00.361 ServerApp] http://localhost:8888/lab?token=ad7a3afdc76c0bfed2f01e1efb06e784213c57ece3a85735
[I 2022-12-06 10:09:00.361 ServerApp]  or http://<IP_ADDRESS>:8888/lab?token=ad7a3afdc76c0bfed2f01e1efb06e784213c57ece3a85735
[I 2022-12-06 10:09:00.362 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 2022-12-06 10:09:00.381 ServerApp] No web browser found: could not locate runnable browser.

I assume the reason for it lies in the configuration of Jupyter notebook. Do you have any suggestion on how to resolve this issue?

hi, please ignore this error, after starting docker, enter the url(http://<IP_ADDRESS>:8888/lab?token=ad7a3afdc76c0bfed2f01e1efb06e784213c57ece3a85735) directly in the browser. Then you can use jupyterlab, which contains stereopy

@junhouhuiBGI yes, I've tried that also, but I'm getting in the browser:
404 : Not Found
You are requesting a page that does not exist!

@junhouhuiBGI yes, I've tried that also, but I'm getting in the browser: 404 : Not Found You are requesting a page that does not exist!

Could you please check if this warning printed when docker run our image
WARNING: IPv4 forwarding is disabled. Networking will not work.
if printed, please check below:

vim /etc/sysctl.conf
add this row: net.ipv4.ip_forward=1
restart network: systemctl restart network
check if change effected: sysctl net.ipv4.ip_forward
if net.ipv4.ip_forward = 1 returnedm done

And for quite sure, restart docker is extremely recommended.
Hope this is useful for you, and contact us if any issue, will reply asap

@panjie-payne @junhouhuiBGI ,
no, I don't have this message printer. When I run the image:
docker run -p 8888:8888 -it stomics/stereopy:1.0.0 /bin/bash -c "jupyter lab --JupyterApp.config_file='/home/stereonote/jupyter_notebook_config.py' --allow-root --ip=<IP_ADDRESS>"

I'm getting:
Traceback (most recent call last):
      File "/opt/software/python/lib/python3.8/site-packages/jupyter_server/extension/manager.py", line 355, in load_extension
        extension.load_all_points(self.serverapp)
      File "/opt/software/python/lib/python3.8/site-packages/jupyter_server/extension/manager.py", line 229, in load_all_points
        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
      File "/opt/software/python/lib/python3.8/site-packages/jupyter_server/extension/manager.py", line 229, in <listcomp>
        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
      File "/opt/software/python/lib/python3.8/site-packages/jupyter_server/extension/manager.py", line 222, in load_point
        return point.load(serverapp)
      File "/opt/software/python/lib/python3.8/site-packages/jupyter_server/extension/manager.py", line 148, in load
        return loader(serverapp)
      File "/opt/software/python/lib/python3.8/site-packages/nbresuse/__init__.py", line 49, in load_jupyter_server_extension
        PrometheusHandler(PSUtilMetricsLoader(nbapp)), 1000
      File "/opt/software/python/lib/python3.8/site-packages/nbresuse/prometheus.py", line 25, in __init__
        gauge = Gauge(phrase, "counter for " + phrase.replace("_", " "), [])
      File "/opt/software/python/lib/python3.8/site-packages/prometheus_client/metrics.py", line 365, in __init__
        super().__init__(
      File "/opt/software/python/lib/python3.8/site-packages/prometheus_client/metrics.py", line 143, in __init__
        registry.register(self)
      File "/opt/software/python/lib/python3.8/site-packages/prometheus_client/registry.py", line 43, in register
        raise ValueError(
    ValueError: Duplicated timeseries in CollectorRegistry: {'total_memory_usage'}

We will also have the same error as you, but it will not affect the subsequent use of docker. Enter the url in the red box in the browser to use

Yes, I've tried that, still getting 404 error :(

We can't reproduce your problem, we found someone else to test our image, but there is no 404 situation. Give us some time, we will find a few more people to test and see if we can reproduce your situation

@junhouhuiBGI It is working now! :)
I had another jupyter notebook server running locally, and there was probably a port collision. When I closed them and started it again it worked! Thank you very much for the assistance. Your help is greatly appreciated! I'm closing the issue.


remove allInputs (or see if it can be removed)

instead of looping over allInputs - we may as well special-case the spatial signatures

So allInputs isn't used all that much, it's more that allLayers is quite regularly used:
https://github.com/Urban-Analytics-Technology-Platform/demoland-web/blob/b43c48d3e626a9714e616481b43202daab5a9c8d/web/src/data/config.ts#L154-L160
On balance it's probably better to keep it, even if it can't really be extended in the same way that allIndicators can (now) be.


Merge pull request #7 from michellebaker1129/feature/add-html

added code to HTML file

Fixed a branch that was not merged.


odo telemetry prompt can interfere with bash commands

/kind bug
What versions of software are you using?
Operating System: Linux
Output of odo version: odo v3.15.0 (10b5e8a8f)
How did you run odo exactly?
With the goal of getting the current odo version:
odo version --client | grep -Eo 'v?[0-9]+\.[0-9]+\.[0-9]+'

(on first run, before seeing telemetry prompt)
Actual behavior
The command hangs indefinitely and cannot be cancelled (i.e. ctrl+c does not work).
Expected behavior
Either odo should prompt for telemetry on stderr (instead of stdout) so that users see the prompt in these cases, or it should avoid prompting when output is redirected to a file/pipe.
Any logs, error output, etc?
Can be reproduced with the following Dockerfile
FROM registry.access.redhat.com/ubi8-minimal:8.8-860

RUN microdnf install -y curl \
    && curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.15.0/odo-linux-amd64 -o /usr/local/bin/odo \
    && chmod a+x /usr/local/bin/odo \
    && microdnf -y clean all

RUN echo -e '#!/bin/bash \n\
             odo version --client | grep -Eo "v?[0-9]+\.[0-9]+\.[0-9]+" \n\
             exec "$@"' > /entrypoint.sh \
    && chmod a+x /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]

If I build an image from this Dockerfile, then

If I run podman run <image> it prints odo's version
If I run podman run -it --rm <image> /bin/bash, it hangs indefinitely and must be podman killed

More background
The Web Terminal Operator includes odo as part of its built-in tooling. In order to be able to list the software and versions installed, the web-terminal-tooling container generates a "installed-versions.txt" file at startup using the above command, which can hang if e.g. it is run from an interactive prompt.
As a workaround, we just close stdin before calling the script, which avoids the issue.

/area telemetry
/remove-status needs-triage
Hi @amisevsk,
Thanks for reporting this issue.
While I agree it makes sense for odo to avoid prompting when the output is piped or redirected to a file, I'd like to suggest two more things:

It is possible to disable the consent prompt via the ODO_TRACKING_CONSENT environment variable. See https://odo.dev/docs/overview/configure#environment-variables-controlling-odo-behavior
Most of the odo commands expose a JSON output to make it easier for other programs to consume the output; so I think using odo version --client -o json might be simpler to use. However, I guess that would still prompt for telemetry consent. So using the ODO_TRACKING_CONSENT would still be needed.

Would that work for you?


style: add space breadcrumb on space pages

As suggested by @Sekhmet we can add the space avatar and name on top left of the Space pages, it should have the same style and position than on the proposal page.

How should we handle on mobile?
Looks like this:

We hide logo for now?


Web macrobenchmark: bench_mouse_region_grid_hover now tests hitTestDuration

Description
It has been discovered that WidgetRecorder's frameDuration does not include out-of-frame executions, which is exactly what bench_mouse_region_grid_hover wants to test.
This PR adds a new test schema class, EmptyRecorder, which does not come with any profilings, and relies on subclasses to call profile.addDataPoint. This is used by bench_mouse_region_grid_hover to time the duration of await _gesture.hover().
Additionally, this PR changes FrameRecorder.didStop, a setter, to FrameRecorder.registerDidStop, in order to allow multiple frame-end callbacks.
With this change, the performance comparison of https://github.com/flutter/flutter/pull/59883 is now:

Before: 516us
After: 774us

Related Issues
Replace this paragraph with a list of issues related to this PR from our issue database. Indicate, which of these issues are resolved or fixed by this PR. There should be at least one issue listed here.
Tests
I added the following tests:
Replace this with a list of the tests that you added as part of this PR. A change in behaviour with no test covering it
will likely get reverted accidentally sooner or later. PRs must include tests for all changed/updated/fixed behaviors. See Test Coverage.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I signed the CLA.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

@yjbanov Can you take a look to see this is a good direction, before I finish the PR with documentation?


Bump the Carla version V2X is using to 0.9.14

Complete via https://github.com/evshary/autoware_carla_launch/pull/106


An Import is Not Defined in GOROOT

Describe the bug
The provider is not in GOROOT
Expected behavior
Go Action should Pass
Additional context
Error: main.go:7:3: package terraform-provider-mirantis/mirantis is not in GOROOT (/opt/hostedtoolcache/go/1.17.6/x64/src/terraform-provider-mirantis/mirantis)
Error: Process completed with exit code 1.

FIXED


Converting default-password.csv to .txt

Hi @g0tmi1k
The CSV format is not useful for light brute force (as intruder).
The txt format would be much nicer 😃
I have removed duplicates and other junk.
Thanks !

Thanks for the suggestion!


[Feature Request] Add factory stub option to model generation

Hey,
Laravel itself supports the factory generation for the model making command:
php artisam make:model <Model> --factory|-f

Could we have this feature for this package aswell? :)

I was able to make a PR which can create a raw factory stub however i wanted to go deeper so i decided to refactor the factory generator to handle optional model option. In such a case the command would generate the FQN namespace of given model and insert into the right stub.
After a while running tests said that:
Error : Class 'Modules\Blog\Providers\BlogServiceProvider' not found

Not sure what causes this problem. I have not modified PSR-4 loaders in package.json or any other configuration stuff. After i restored the local history to the git head problem still persistend.

(Sorry if i did not mention: Tests ran successfully several times)

Hi,
This is usually when an error occurs and the clean up didn't run, this deletes the generated module.
You can find this module under vendor/orchestra/testbench/testbench-core/laravel if I'm not mistaken.

Oh, okay. Will look at it.
Would be this PR welcomed by the way?

Sorry for the late reply! Yes a PR for this would be nice 👌


ChainIDE + Polkaholic.io WASM Contract Explorer Integration

Finalized from both teams, ready for review

ChainIDE
User name: wufengtao1
Email<EMAIL_ADDRESS>

@h4x3rotab, please have a look on this application

Congratulations! We are thrilled to officially welcome you to the Ink!ubator program!! We can't wait to see the remarkable contributions you'll bring to the ecosystem.
In terms of the next steps, we are eagerly anticipating your first delivery, which is due in 3 months. When it’s ready, please create a PR here - https://github.com/use-inkubator/Grant-Milestone-Delivery
If you have any questions, concerns, or if you just want to brainstorm ideas, don't hesitate to reach out. We encourage you to utilize our Element channel for any inquiries - https://matrix.to/#/#sm-bounty-support:matrix.org
As you join the Ink!ubator family, please remember that you are not alone on this journey. We are here to support you every step of the way. We believe in your potential and we can't wait to see where this journey takes us all.
Congratulations once again and welcome aboard!


build: Add CodeQL scanning

This is a security requirement iirc - adding this. See: https://www.notion.so/sentry/Security-Transparency-Page-7e9937fcad3b41bd985c352ee2e10664#d584389ccb9d463b9c001f0c40915f70

@AbhiPrasad you know why this might be failing? Also on main?


Vocable iOS - Settings Category list does not orient correctly

Device Information
Simulator - iPhone 8 iOS 14.4.
Describe the bug
After adding or deleting a phrase from a custom category and navigating back to the category list view in Settings, the list view UI is not oriented correctly.
This was seen on the simulator, not sure if it happens on Device.  This was seen on the Empty state Branch Feature/253
To Reproduce

Hold the phone in Portrait view.
Launch the app and navigate to the Settings screen.
Create a new category
Navigate into that category and select "Edit Phrases"
Add a new phrase.
Rotate the device 90 degrees into landscape view.
Navigate back to the Category list view in Settings.

Expected behavior
List of categories to be displayed with the up/down arrow button not cut off
Actual behavior
The UI rendered such that the next page of categories was partially displayed.  See video.
https://user-images.githubusercontent.com/50410188/159916021-6d48e3fb-1530-45f1-a04d-1d49abdb661a.mov

CC' @moyerr @Clstroud @jsmorgan42
@rhsalas3 @CananArikan: Can either one of you verify this behavior on an actual device?

@SashankPatel
I have verified this on an iPhone 8 running the TestFlight build, 1760.

I am also able to verify on the iPad (simulator) and iPhone (also the simulator) from off of the current develop branch.
https://user-images.githubusercontent.com/34660497/161761855-5f04becf-9e95-423d-b118-b6de849a3a36.mov


Various experiments across multiple systems and voltage/frequencies - BGD

Various experiments across voltage and frequency points.
Run experiments on BGD systems.

Next experiment:
VF sweep
Voltage points: 0.75, 0.8, 0.85, 0.9
freq points: 500 : 25 : 1000
num iterations: 1M iterations
methodology: 1 step above failing point
Post-mortem: Read all post-codes from 0x15200 / 0x15240
Each experiment should be run on a single n300 & n150.
No need to duplicate across same types of systems.
Workloads to run:

LM head natural, 8x8 -> try to catch anomalies
LM head synced, 8x8
conv natural, 8x8
LM head natural with delay, 8x8 -> get branch test cmd from Yuqin/Radomir
LM head synced with min delay, 8x8 -> from Pavle
LM head natural, 6x8
conv, 6x8

Priority is in descending order, run as cards are available.

See: https://tenstorrent.atlassian.net/wiki/spaces/LLK/pages/756056070/16271


stm32: g0b1re: LOG (& probably shell) not functional if both CONFIG_PM & CONFIG_SHELL are enabled

Describe the bug
At least the logging subsys won't work if both CONFIG_SHELL and CONFIG_PM is enabled. Im not sure about shell, since the UART doesn't work when MCU entered STOP mode.
To Reproduce
Compile the following on nucleo_g0b1re
main.c:
#include <zephyr.h>

#include <logging/log.h>
LOG_MODULE_REGISTER(main, 4);

void main(void)
{
	while(1) {
		LOG_INF("Hello World! %s", CONFIG_BOARD);
		printk("printk! %s\r\n", CONFIG_BOARD);
		k_sleep(K_SECONDS(2));
	}
}

prj.conf
CONFIG_LOG=y
CONFIG_SHELL=y
CONFIG_PM=y

Log Console output, notice that there's also some seemingly garbage data between the "p" and the "rintk!...", they are actually the color code + the uart:~$ from the shell (so shell could be working?):

Environment (please complete the following information):

win10
gnuarmemb
0e1ecb373a

@erwango ^^

Then can you rename as :
stm32: g0b1re: SHELL not functional if CONFIG_LOG=y & CONFIG_PM=y ?

But LOG subsys doesn't work when prj.conf:
CONFIG_SHELL=y
CONFIG_LOG=y
CONFIG_PM=y

See my first "Log" (console) output, the "[00:00:00.005,000]  main: Hello World! nucleo_g0b1re" isn't being printed.

See my first "Log" (console) output, the "[00:00:00.005,000] main: Hello World! nucleo_g0b1re" isn't being printed.

Well, I can see "[00:00:00.006,000]  main: Hello World! nucleo_g0b1re", and log messages printed every 2 sec. It seems pretty close to me.

I'm not sure if stm32's uart driver support poll_out and interrupt APIs at the same time, but most likely it is not supported

It is.

I am 99% sure this problem has to do with mixed polling/irq calls. I just pulled latest Zephyr and no logs came out if LOG, SHELL & PM was active. Shell uart backend calls the irq based uart functions, and receives its callbacks fine in the beginning but then as soon as the banner comes ("Booting Zephyr OS...") it stops to receive callbacks. The banner uses polling based uart calls. Disable the banner and it works flawless.
I also tracked it down to commit e3f4907efe6438a4b28f17167c58a2e25865c295 before this commit it worked

@emillindq, @ycsin Can you check if https://github.com/zephyrproject-rtos/zephyr/pull/39752 is fixing this issue ?

@emillindq, @ycsin Can you check if #39752 is fixing this issue ?

Unfortunately not, although for one of my builds it does. I suspect it has to do with order of execution and this PR resolves one case of multiple. Once again, disabling CONFIG_BOOT_BANNER with mentioned PR and LOG_XXX messages comes out

@emillindq, @ycsin New attempt from @jdascenzio: https://github.com/zephyrproject-rtos/zephyr/pull/40173


Update ejs version because of potential security vulnerability

The ejs has a known moderate severity security vulnerability in version range < 2.5.5 and should be updated

This has already been done in the next package. Note that this has no consequences for the user whatsoever, as it is an internal dev dependency.


Grails Core - Could not resolve all files for configuration ':detachedConfiguration2'. with sourcesJar task

We recently upgraded Grails Core to use Gradle 6.5, and now we are not able to execute sourcesJar due to the following error:
> Task :sourcesJars FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sourcesJars'.
> Could not resolve all files for configuration ':detachedConfiguration2'.
   > Could not resolve org.grails:grails-datastore-core:7.1.0.M2.
     Required by:
         project :
      > Project : declares a dependency from configuration 'detachedConfiguration2' to configuration 'runtimeElements' which is not declared in the descriptor for org.grails:grails-datastore-core:7.1.0.M2.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Expected Behavior
Should be able to execute assemble without any errors.
Current Behavior
The above exception is thrown.
Context
This failed while executing the assemble task as part of releasing Grails 4.1.0.M2.
Steps to Reproduce

Please clone https://github.com/grails/grails-core/tree/v4.1.0.M2 (Tag v4.1.0.M2)
Execute ./gradlew assemble.

I think the problem might be related to something in Gradle 6 which might affect the following code:
task sourcesJars(type: Sync) {
    into homeSrcDir
    from subprojects.findAll { !it.name.startsWith('grails-test-suite') && !it.name.startsWith('grails-dependencies') && !it.name.startsWith('grails-bom') }.sourcesJar*.outputs*.files

    // sourcesFor comes from GrailsBuildPlugin
    from { sourcesFor(libsConfigurations*.copyRecursive { it.name.startsWith('grails-datastore') }.collect { it.transitive = false; it }) }
}

Ref: https://github.com/grails/grails-core/blob/v4.1.0.M2/gradle/assemble.gradle#L128-L133

Another information that may be helpful is when I debug backward from the ConfigurationNotFoundException here.
I noticed that the following code return empty information now vs before:
((DefaultMavenModuleResolveMetadata) targetComponent).configurationDefinitions

It seems like the problem goes away after updating the maven { url "https://repo.grails.org/grails/core" } with  the following in https://github.com/grails/grails-core/blob/v4.1.0.M2/build.gradle#L190  as:
maven {
            url "https://repo.grails.org/grails/core"
            metadataSources {
                mavenPom()
                artifact()
                ignoreGradleMetadataRedirection()
            }
        }

However, I do not fully understand the reason and what might be the side effect of adding it.

What you are seeing is a combination of things caused by the fact that Gradle 6+ publishes and consumes Gradle Module Metadata by default.
In Gradle metadata all variants of a component (such as Java runtime or Java API) are explicitly declared. Gradle's dependency management engine then goes into variant aware mode and selects the right variant based on what you request, expressed through attributes.
In this mode, the explicit selection of a configuration as part of a dependency declaration no longer works. You do this here:
https://github.com/grails/grails-core/blob/676bbb9504fd4613e32daa9c62dc6477ee07ddd8/buildSrc/src/main/groovy/org/grails/gradle/GrailsBuildPlugin.groovy#L54
You can fix this be removing dependency.setTargetConfiguration(resolvedDependency.configuration) and instead request the Java runtime variant when resolving here:
https://github.com/grails/grails-core/blob/676bbb9504fd4613e32daa9c62dc6477ee07ddd8/buildSrc/src/main/groovy/org/grails/gradle/GrailsBuildPlugin.groovy#L68
project.configurations.detachedConfiguration(sourceDependencies as Dependency[]).with(true) {
  attributes.attribute(Usage.USAGE_ATTRIBUTE, project.objects.named(Usage, Usage.JAVA_RUNTIME))
}

That's the simplest fix.
In general, variant aware dependency management in Gradle 6 could be used to simplify your use case here a lot. You can use withSources() to publish the sources Jar. Then sources will be an additional variant in the metadata. You can then match that by resolving a configuration with attributes Category = Categroy.DOCUMENTATION and DocsType = DocsType.SOURCES. You can probably remove most of the special build logic your have around your sourcesFor method. (And you can do a similar thing for Javadoc as well).

Thank you @jjohannes for your input, the fix above solves the problem. I will also try to work towards improving the logic around sourcesFor method.

Great to her @puneetbehl. I am closing this issue since there is nothing to fix on the Gradle side at the moment. Let use know if you run into other issues.


fprintd: Use cfg.package instead of pkgs.fprintd

Use the configured package for fprintd in services.dbus.packages and
environment.systemPackages rather than hardcoding pkgs.fprintd.

Motivation for this change
If I set services.fprint.package, I expect the package that I set to be installed rather than the one in nixpkgs.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg eval

@GrahamcOfBorg eval


Features/setup ci and cd 2

finally got the CI to work (still have a weird experience with codcov)


Bump Gradle 7.4 -> 7.5

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
For starting a JDK 18 project, you need Gradle 7.5, but as the version is 7.4, you can't.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Able to use Gradle7.5 from the start.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
You must start with a lower JDK version, manually bumping Gradle to 7.5, then bumping JDK.
Additional context
Add any other context or screenshots about the feature request here.

https://docs.gradle.org/current/userguide/compatibility.html

Closing the issue, as I mistook this repository as "Gradle" IntelliJ Plugin. . _.


Pluralisation of attribute properties

When rendering code, we need to be able to pluralise attribute values in the model

This could be achieved in either Scriban inline functions or using a calculated property value whose ValueProvider does the calculation based on another property containing the name to be pluralised.

Define a couple of functions: pluralize and singularize using the library https://github.com/Humanizr/Humanizer


resolve nan when tokenization

resolve nan exception when tokenization.

Codecov Report

Merging #459 into 2.0 will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff         @@
##            2.0   #459   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files        37     37
  Lines      1127   1128    +1
===================================
+ Hits       1127   1128    +1

Impacted Files
Coverage Δ

matchzoo/preprocessor/segment.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix lighting mix

This PR fixes a couple of things:

Lighting property is special in the case that it can be boolean or scalar/string value. [true, false, vertex, fragment]. In which case it should be overwritten when mixing styles properties. This PR, explicitly calls either OR, or Merge methods to appropriate properties explicitly. (As has been done on the JS side). Hence handles lighting property correctly.

Another issue which I noticed was this special behavior yamlcpp Nodes. Nodes are non-copyable and hence needs to be explicitly cloned. Since this was not being done, propMerge method was modifying the original scene yaml nodes. Refer: https://code.google.com/p/yaml-cpp/wiki/HowToParseADocument#Note_about_copying_YAML::Node.

As with https://github.com/tangrams/tangram-es/pull/302, request to review/merge this PR before merging any of sceneLoader refactor PRs.

Looks good to me - will merge

@tallytalwar, or I lost it during resolving conflicts in merging..


SMTP AUTH extension not supported by server.

I'm trying to run the smtpd debugging server but whenever I run the application and force an error,
I don't get any message on my Debugging Server and the app returns this stack trace:

File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/logging/handlers.py", line 1022, in emit
smtp.login(self.username, self.password)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/smtplib.py", line 697, in login
"SMTP AUTH extension not supported by server.")
smtplib.SMTPNotSupportedError: SMTP AUTH extension not supported by server.

What am I doing wrong?

i have the same problem. But how to remove username/password configured?

@zhaowei699 you have to remove them from your configuration.

Thanks a lot, it is working now.
Wei Zhao
Sr. Simulation Engineer
Engineering/Development
<EMAIL_ADDRESS>Mobile: +86-18018673699
Direct: +86-21-69928489
From: Miguel Grinberg<EMAIL_ADDRESS>Sent: 2019年3月28日 15:17
To: miguelgrinberg/microblog<EMAIL_ADDRESS>Cc: Wei Zhao<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [miguelgrinberg/microblog] SMTP AUTH extension not supported by server. (#76)
@zhaowei699https://github.com/zhaowei699 you have to remove them from your configuration.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/miguelgrinberg/microblog/issues/76#issuecomment-477477804, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AdE2lxvFrEm6MVVM37f3hL6YxRzWsyGJks5vbGyFgaJpZM4RvHKi.

Consider the environment before printing this message.
To read the Companies' Information and Confidentiality Notice, follow this link:
https://www.autoliv.com/autoliv-email-disclaimer

how do you remove username/password from configuration?

It is easy to remove:
See the following code, only remove smtpObj.login()
`#smtpObj.login('xxxx.xxxxx@xxxxx.com','xxxxxx')
smtpObj.sendmail(sender, receivers, message.as_string())`

It is easy to remove:
See the following code, only remove smtpObj.login()
`#smtpObj.login('xxxx.xxxxx@xxxxx.com','xxxxxx')
smtpObj.sendmail(sender, receivers, message.as_string())`

Thank you so much for helping

Thanks a lot
I have solved it since one year ago. Anyway, thanks a lot
Wei Zhao
Sr. Simulation Engineer
Engineering/Development
<EMAIL_ADDRESS>Mobile: +86-18018673699
Direct: +86-021-60785703
From: shivambakshi @.>
Sent: 2021年7月19日 14:38
To: miguelgrinberg/microblog @.>
Cc: Wei Zhao @.>; Mention @.>
Subject: Re: [miguelgrinberg/microblog] SMTP AUTH extension not supported by server. (#76)
[EXTERNAL EMAIL: Do not click links or attachments unless you recognize the sender and know the content is safe. Report suspicious emails using the Report Phishing button.]
It is easy to remove:
See the following code, only remove smtpObj.login()
@.@.>','xxxxxx')
smtpObj.sendmail(sender, receivers, message.as_string())`
Thank you so much for helping
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/miguelgrinberg/microblog/issues/76#issuecomment-882281728, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHITNF3O7GELRJKOYDDF3KLTYPB5RANCNFSM4EN4OKRA.

Consider the environment before printing this message.
To read the Companies' Information and Confidentiality Notice, follow this link:
https://www.autoliv.com/autoliv-email-disclaimer

Hello. I have same problem here. When I try to send and email it fails yet I have set everything as needed

@Palnetguy wrong project. This repo is dedicated to the Flask Mega-Tutorial. You seem to be using Django and a completely different project.


CDC Change Data Capture for Apportioned Emissions Archive

Add log tables and sync procedure for Informatica to ship all changes to log tables and then execute sync procedure to sync changes to the live tables.
See hour_unit_data_log and hour_unit_mats_data_log as these were originally done this way for better performance.
CAMDDMW Schema

annual_unit_data
quarter_unit_data
month_unit_data
day_unit_data

Need to setup CDC sync process for all archive tables
CAMDDMW_ARCH Schema

annual_unit_data_a
quarter_unit_data_a
month_unit_data_a
day_unit_data_a
hour_unit_data_a
hour_unit_mats_data_a

Placing in peer review until Informatica completes their work and ready to test


Assignees, Labels, field descriptions are gone when switching between tabs

Testing #1938

Open a file in the workspace
Invoke the Create an Issue command
The Assignees  and Labels fields have description
Switch to the file that was opened before the command was invoked
Switch back to the NewIssue.md

Expected: Field descriptions should still be present
Actual: Field descriptions are not present

@alexr00 I can still repro this in v0.17.0. Am I not using the latest version?

These changes haven't been released in the stable version of the extension, you can disable "GitHub Pull Requests and Issues" and install "GitHub Pull Requests and Issues Nightly" to test against the latest


[Event Request] Table 751 "Standard General Journal Line" - OnAfterCreateDim

Request a new event in function CreateDim in table 751 "Standard General Journal Line":
procedure CreateDim(Type1: Integer; No1: Code[20]; Type2: Integer; No2: Code[20]; Type3: Integer; No3: Code[20]; Type4: Integer; No4: Code[20]; Type5: Integer; No5: Code[20])
    ...
    "Dimension Set ID" :=
      DimMgt.GetRecDefaultDimID(
        Rec, CurrFieldNo, TableID, No, "Source Code", "Shortcut Dimension 1 Code", "Shortcut Dimension 2 Code", 0, 0);

    OnAfterCreateDim(Rec, CurrFieldNo);    //NEW
end;

//NEW
[IntegrationEvent(false, false)]
local procedure OnAfterCreateDim(var StandandGeneralJournalLine: Record "Standard General Journal Line"; CurrFieldNo: Integer)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Mixed layer

Thank u for your great work.
I'm using leaflet and layers and I tried to have a switch for different layer, like OSM, google sat and swisstopo...
but when i switch to swisstopo nothing is shown. works with the others though.
the error is GET (url of the tile) 400
https://www.tadini.it/temp/map_swisstopo.html
but the same page without other layers works well.

After some digging I figured out that CRS needs adjusting to the different layer...
I try to do it.... any suggestions by someone that encountered the same problem?


Corrected Style Sheet copy import string

Plz Merge my Single Character PR 😛

@luke-hagar-sp Small but incredibly useful, great catch!


Add UntypedHandle::default()

What problem does this solve or what need does it fill?
When reading in assets using the new V2 asset framework, I sometimes need to deserialize a reference to an asset, where the type of the asset is not yet known. Because I'm using serde for deserialization, initially all I have to work with is a string, not a handle, because the asset server is not available within a context of a deserializer. So any handle fields have to be left blank. These are then filled in later, via a second pass which walks the tree and fills in any empty handles from the path strings. This works fine for typed handles, but doesn't work for untyped handle because there's no way to create a default untyped handle. I could use Option, but this is inconsistent with the way typed handles are treated.
What solution would you like?
Implement Default for untyped handles.
What alternative(s) have you considered?
For now what I am doing is deferring the loading of untyped handles until the asset is actually used, at which point the type of the asset is known. However, this solution is inferior because it means that the asset can't keep a strong handle, nor can it declare a dependency on the referenced asset. This can cause extra loading to occur.

#10198 adds a load_untyped function. It returns a handle to a LoadedUntypedAsset which depends on the asset at the given path and contains a handle for it. If you would use this instead, the assets would start loading already and you could resolve the LoadedUntypedAsset to the correct handles in a second step once they are loaded.
I think default untyped handles might be a bit of a foot gun here. They will not cause any loads and are not at all related to the actual asset.


Markdown footnote is underlined and gives right-click option to Execute command

(Apologize in advance if this is the wrong place to file this, I'm having trouble tracking down the right place.) When I make a Markdown footnote, like [^ioshasinnovativeapps]: I don't want the first word or letter is underlined and when I right-click it it offers to Execute command.

VS Code's built-in markdown extension targets standard markdown, which doesn't include footnote support. As a compromise, could update the regular expression it uses to support clickable links in markdown files to exclude links starting with ^
Starting point in code:
https://github.com/microsoft/vscode/blob/fdf23dc5f95f4a17b246dbebc9af14dab5043334/extensions/markdown-language-features/src/features/documentLinkProvider.ts#L108

Yeah, thanks. That's an understandable perspective. I might do a PR for this myself. One question that still confuses me though, why does it say "Execute command" (and not "Follow link" like other links show).

@robenkleene  First day looking at the code base, so I could be off on this, but looks like the logic for when "Execute Command" is displayed is in this function:
https://github.com/microsoft/vscode/blob/200296d6e6efba09a84b00003dbdf975ceb93739/src/vs/editor/contrib/links/links.ts#L32
Also, are you planning on doing a PR for this still? If not I can do it.

@Nafana Thanks for the additional info!
Please go ahead if you're ready to work on a PR now.

@mjbvz I may be wrong about this, however it seems to me the problem is with how LinkProvider validates a definition link. In the image below notice how the last line is considered valid, and would have a tooltip and underline in the editor.

The regex produces a valid match since the last capture group ignores everything past the first space after the link. What if we modified the expression to something like this? (tests pass)

Yes looks like the regular expression may just need to be updated, either to check that there are not multiple words after the references or to check that the definition does not start with  [^]


fix for build errors in Windows shell environments

Using coursier and downstream tools, such as mill, is almost supported in Windows shell environments.
An example of the problem:
The mill script distributed with scala-cli sets java environment variables like this:
eval "$("$cs" java --env --jvm temurin:17 || "$cs" java --env --jvm openjdk:1.17.0)"

The error produced looks like this:
./mill version
[build.sc] [44/49] cliImports
Parsing exception Position 1:5, found "=C:\\Users\\"

If the cs java --env --jvm temurin:17 command returns appropriate values, it works as expected:
./mill version
Preparing Java 17 runtime; this may take a minute or two ...
[1/1] version
0.11.1

Changes in PR #2886 correct the output format when cs.exe is called from a bash session, supporting easy fixes to mill and other shell scripts.

fixed by #2886


fix: pull image if not present locally on cluster

fix: pull image if not present locally on cluster

fix: pull image if not present locally on cluster

https://github.com/textmetric


Massive refactors and fixes

Fix sign text corrupts. Do not pass org.bukkit.block.Sign around since there is no guaranty that it is valid after org.bukkit.block.Sign#update().
Fix thread-safety issue with onPlayerChat.
Fix gun fires when repairing barrier via sign.
Fix player was able to change text on sign.
Fix zombie spawnpoint selection logic.
Add barrier break and repair progress display.
Use barrier block count - 1 as max break/fix level.
Replace RNG with the more modern one.
And many other low-level fixes, refactors and improvements.

Resolve #97.

Seems like a very good PR, know I did go through some things and it looks good.
How well did you test everything? The only problem with this PR is that everything is in 1 commit message so hard to backtrack things.
What do you think about this PR @TheTurkeyDev ?


Add nth unit tests

Add some unit tests to prove that the default implementation of nth works correctly for HexToBytesIter and BytesToHexIter.

Patch 1: Fixes clippy warnings introduced by a new version of clippy.
Patch 2: Adds unit tests.

Resolve: #14

Thanks for checking the ci fail for me, I added a pinning patch at the front of the PR.

Needs #33 to get past CI.

Yes, but surely there's still value in testing that the perf improvements don't break the functionality?

True, I might have been a bit trigger happy with the close button. We definitely should put unit tests in the perf PR.


[marketing] Open source block?

Heading ideas
playful

Ctrl+Shift+Transparency
Open Source: Because Secrets are for Magicians, Not Software

Secrets are for Magicians, Not Software (second variant)

Sudo mkdir Transparent
Open Source: Debugging Our Mistakes in Public Since 2024

we can't hide anything (unfortunately).

more formal

Open Source: Built By Developers, For Developers
Open source
Open source (we've got nothing to hide)
Transparency: Our Most Advanced Feature
Open Source: Your Platform, Your Control

Recreate the GitHub repo screen / table. Animate by changing 'last changed' timestamp?

or maybe infinite card scrolling with 'GitHub comment' style cards?


Add spec crawler

Given a list of URLs, it fetches the references and IDL from the said URLs in a gigantic JSON tree.

That looks good. One small improvement that we might want to do "when time allows" is to avoid loading the spec twice to parse references and WebIDL.
That said, we may have to load two different URLs for specs that are too large.


Crashing when loading - 1.16.1

Crashing with an error initialising mixin config potions_hud_fabric.mixins.json
Full Log: https://pastebin.com/bUGKin4p
Exception in thread "main" org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config potions_hud_fabric.mixins.json
	at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153)
	at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100)
	at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87)
	at net.fabricmc.loader.launch.common.FabricMixinBootstrap.addConfiguration(FabricMixinBootstrap.java:44)
	at net.fabricmc.loader.launch.common.FabricMixinBootstrap$$Lambda$78/1150585542.accept(Unknown Source)
	at java.lang.Iterable.forEach(Iterable.java:75)
	at net.fabricmc.loader.launch.common.FabricMixinBootstrap.init(FabricMixinBootstrap.java:83)
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:133)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)

Caused by: java.lang.IllegalArgumentException: The requested compatibility level JAVA_11 could not be set. Level is not supported
	at org.spongepowered.asm.mixin.MixinEnvironment.setCompatibilityLevel(MixinEnvironment.java:1454)
	at org.spongepowered.asm.mixin.transformer.MixinConfig.initCompatibilityLevel(MixinConfig.java:494)
	at org.spongepowered.asm.mixin.transformer.MixinConfig.postInit(MixinConfig.java:463)
	at org.spongepowered.asm.mixin.transformer.MixinConfig.onLoad(MixinConfig.java:392)
	at org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1093)
	at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:148)

Which Minecraft version are you playing on?
Which mods are you playing with?
Are you launching the game with MultiMC or the vanilla launcher?
Just give me as much detail as possible.
P.S.: Thanks for using Pastebin

Minecraft 1.16.1 on win 10 64.
Fabric, fabric API, optfabric/optifine, replaymod
Vanilla launcher
I can provide versions of the mod or other logs later if needed.
On Sat, Aug 15, 2020, 16:34 Samuel Martineau<EMAIL_ADDRESS>wrote:

Which Minecraft version are you playing on?
Which mods are you playing with?
Are you launching the game with MultiMC or the vanilla launcher?
Just give me as much detail as possible.
P.S.: Thanks for using Pastebin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Samuel-Martineau/Potions-HUD-Fabric/issues/2#issuecomment-674444622,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYMLIHWSILKVMZIQQLTLFLSA3WOPANCNFSM4QAK4BWQ
.

Could you try without optifine/optifabric? I only tested this mod with sodium and I know that Optifine breaks a lot of things. Btw, sodium gives way better performances, so you might want to check it out.


Resolve core dump failure

PR Overview

PR Checklist

[ ] Merge the most recent version of the branch you are merging into (probably dev).
[ ] All CI checks are passing. Run tests locally to debug failures
[ ] Make sure you've included good docstrings.
[ ] For major data coverage & analysis changes, run data validation tests
[ ] Include unit tests for new functions and classes.
[ ] Defensive data quality/sanity checks in analyses & data processing functions.
[ ] Update the release notes and reference reference the PR and related issues.
[ ] Do your own explanatory review of the PR to help the reviewer understand what's going on and identify issues preemptively.

Maybe this is entirely unrelated to libcurl but here are the packages that depend on it:
$ mamba repoquery whoneeds libcurl

Executing the query libcurl

 Name            Version  Build                Depends     Channel   Subdir
───────────────────────────────────────────────────────────────────────────
 aws-sdk-cpp     1.11.182 h31542fa_7           conda-forge osx-arm64
 cfitsio         4.3.1    h808cd33_0           conda-forge osx-arm64
 hdf5            1.14.2   nompi_h3aba7b3_100   conda-forge osx-arm64
 libgdal         3.8.0    hcefe9de_7           conda-forge osx-arm64
 libgoogle-cloud 2.12.0   hfb399a7_4           conda-forge osx-arm64
 libnetcdf       4.9.2    nompi_hb2fb864_112   conda-forge osx-arm64
 poppler         23.11.0  hcdd998b_0           conda-forge osx-arm64
 proj            9.3.0    h52fb9d0_2           conda-forge osx-arm64
 xerces-c        3.2.4    hd886eac_3           conda-forge osx-arm64

Too bad it's impossible to install AWS via conda though. 😢

I know :/ big sad

Also, I noticed
Set up relevant accounts and familiarize yourself with our [project management tools](https://docs.google.com/document/d/1EkKfdW0Q1AIGexCflZMpw-4HuH1fJ-cdpi3ziancmlE/edit#heading=h.yeh6v1ee9ind) (reach out to Zane for assistance)

Still links to the google doc.

Where is that from and where should it link?

Oops I commented on the wrong PR!


Modify dfs_count to enable custom_ops for root module

import torch
import torch.nn as nn
import torch.nn.functional as F
from thop import profile

class A(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = nn.Conv2d(16, 16, 3, padding=1)
        self.weight = torch.randn((8, 16, 3, 3))

    def forward(self, x):
        tmp = self.conv(x)
        return F.conv2d(tmp, self.weight, padding=1)

class B(nn.Module):
    def __init__(self):
        super().__init__()
        self.a = A()

    def forward(self, x):
        return self.a(x)

instance = A() # count_a would not work if A is the root module
dummy_input = torch.randn((1, 16, 32, 32))

def count_a(model, x, y):
    model.total_ops += torch.DoubleTensor([int(10086)])

ops, params = profile(instance, (dummy_input,), custom_ops={
    A: count_a
})
print(ops, params)

Agree.
a = nn.Conv2d(3, 3, kernel_size=3, stride=1, padding=0)
b = nn.Sequential(a)

ipt = torch.randn(size=[1, 3, 3, 3])

macs, params = profile(a, (ipt,), )
print(macs, params)

macs, params = profile(b, (ipt,), )
print(macs, params)

It will output "0, 0" at the 1st time, and output "84.0 84.0" at the 2nd time.


chore: Updated README.md in smooth-app

What

Changed a few words in README.md to create better sentences.
Also done as a part of the GSoC requirement.

Part of

https://github.com/openfoodfacts/smooth-app/issues/525
(please be as granular as possible)

Hey.
I did the above changes. What do I do now?
Thanks

Hmm no, it's still the same

Codecov Report

Merging #1468 (693cc64) into develop (1712a5e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop   #1468   +/-   ##
=======================================
  Coverage     9.13%   9.13%
=======================================
  Files          158     158
  Lines         6372    6372
=======================================
  Hits           582     582
  Misses        5790    5790

Continue to review full report at Codecov.

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

That's it. Thanks.

Mmm no, still the same


Update SignServiceCMCClient.java

Prepare the CMC cert model builder to include AKI and SKI extensions
Resolves #136

Adding a test to assure SKI and AKI is set


Deauth works on phone, does not work on pc

When deauth is working only for phone after eding some code, it cannot deauth pc.
How do I fix it? Thanks

include the part which u made changes to.

Yes, I include frame injection part - wifi_send_pkt_freedom and add some files like spacehuhnTech instruction.
It can deauth phone, but cannot deauth pc.
Anyway, it is ok for now.
Are you planning to upgrade?

I hv worked and made some changes and tested on other ESP based AP, may be I'll update here by February 15.

It is really great news!


react-admin data provider for FastAPI

Some of you might know react-admin i.e. https://marmelab.com/react-admin/ it's a pretty popular React admin UI that can consume REST APIs in an easy way through what they call "Data Providers" which is nothing more than a nice-ish boilerplate to consume, parse and display API responses.
If you want to use their "standard" json provider you get hit with the following msg:
Error: The X-Total-Count header is missing in the HTTP Response. The jsonServer Data Provider expects responses for lists of resources to contain this header with the total number of results to build the pagination. If you are using CORS, did you declare X-Total-Count in the Access-Control-Expose-Headers header?
There is also a pretty cool provider for Django REST Framework: https://github.com/synaptic-cl/ra-data-drf
And I was wondering if:

Anyone is using react-admin with FastAPI
and if yes
Which provider did you decide to go for and did you end up manually setting headers like X-Total-Count

Probably a good OSS project to work on unless someone has already started or is using one of the other providers: https://marmelab.com/react-admin/DataProviders.html#available-providers
Thank you in advance.
P.S. I thought I would get more relevant responses here vs. the react-admin repo since everyone here is building FastAPI projects and the react-admin project is popular enough so I am sure I am not the first person thinking about this :)

Hello,
I think about Fast API for a new project and have the same question (but one year later ;)) to evaluate the work to plan.
Are some of you using react-admin with FastApi (or perhaps another admin project should be preferred ) ?
Thanks for your responses and have a nice day


Test execution gets stuck after starting TLS server

In some gtest executions, the runtime gets stuck right after starting TLS server, see:

There is no CPU load and the memory usage doesn't grow

The test execution gets stuck in TlsClient::start method

The test execution gets stuck in TlsClient::start method

Stuck at TlsClient::connectionInit method

The test execution gets stuck in TlsClient::start method

Stuck at TlsClient::connectionInit method

Stuck at TLS handshake: SSL_connect

Possible solution: timeout to don't get stuck infinitely. ChatGPT generated solution:
struct timeval timeout;
timeout.tv_sec = 5;  // Timeout in seconds
timeout.tv_usec = 0;

setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout));
setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(timeout));

SO_RCVTIMEO

No, SO_RCVTIMEO and SO_SNDTIMEO just define the timeout for sending/receiving data on TCP socket

Solution could be:
Start a timeout counter in background just before calling SSL_connect. If timeout has passed without SSL_connect having returned, abort it by freeing the TLS socket


Suggestion: Clearly point out how it compares to the other solution

There is another Monaco-in-Obsidian plugin available. The main issue with that one is that it depends on a third party web service.
It might be helpful for the plugin to note if this one is different from that one.

Thanks for your suggestion！I will update the plugin description.

Great job. One thing that was not left clear is if this plugin has managed to include the editor within instead of linking a third party API


Time measurement not present

Prerequisites
affected version:
make sure to check this before filing an issue:

[ x] I am running the latest version
[ ] I checked to make sure that this issue has not already been filed

Describe the issue
Documentation talks about time measurement, but i cant find this option anywhere,when checking the dlt file i can search and filter,but there is no time measurement tab,nor do i get that option on righ click.
What did not work as expected?
No time.measurement
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Load file and try to filter by time / access time measurement
Environment
3.10.6 on mac
version info from chipmunk's about menu
Failure Logs
Please include any relevant log snippets or files here.

New version still does not support this,but the docu website does not explain that. With version 2 it works properly.

Hello @bq-wrongway . Thanks for the report. We are sorry for confusing you with documentation. Chipmunk 3 has embedded documentation and doesn't have it "outside". And you are right, in chipmunk 3 feature of time measurement is still missed. We have it in plans to put it back, but unfortunately, I cannot say any deadlines... at least I hope it will be this year.


Fix conceal of \middle

Currently,
$$P\left( \sum_{i} x_{i} = 1 \middle| z = 0 \right)$$

conceals as:

So it conceals only the \mid part of \middle, and shows this weird dangling /dle.
The \middle (inside a \left,\right pair as in this example), should make the bar | stretch to the same size of the surrounding parenthesis. This is how it looks rendered (in Obsidian, so MathJax supports this alright):

Thanks for reporting! Fixed in 1.6.12.


[local-cli] Unable to resolve module image! ... from ...

Buid with the master branch, and run node ./node_modules/react-native/local-cli/cli.js start
all the images in Android can not be resolved. I dont know if it is ok for IOS.

and can not run the UIExplore Example

Same issue here on iOS. Tested with Examples/UIExplorer

ditto.

same here.

Looks like the asset system was updated. https://github.com/facebook/react-native/pull/3545 I'm updating our app right now, will report back to see if that is the issue.

thanks for @negativetwelve.
I build successfully as #3545 mentioned.

how could I require gif image?
require('./xxx.png') can get the png image correctly!
require('./xxx.gif') or {uri:'./xxx.gif'} could not get the gif image.

require('./xxx.gif') should work. @frantic is this a kp?

Sorry, I'm a tad confused.  I'm trying to run the UIExplorer on Android--what should I be changing to make it work?

This is a legimit bug. I submitted a pull request to fix it: https://github.com/facebook/react-native/pull/3640 :)

fangmobile is right, but how to fix it

I upgrade my RN project to latest (0.42) and having same issue as @fangmobile. Anyone have insights on this?