Autocomplete understanding as extension?

couldn't we write a better phpstan extension to get rid off all the phpstan issues like?
Run PHPStan in module Spryker.AvailabilityDataFeed
 ------ -------------------------------------------------------------------------------------------------
  Line   Spryker/Zed/AvailabilityDataFeed/AvailabilityDataFeedDependencyProvider.php
 ------ -------------------------------------------------------------------------------------------------
  52     Call to an undefined method
         Generated\Zed\Ide\AutoCompletion|Spryker\Shared\Kernel\LocatorLocatorInterface::availability().
 ------ -------------------------------------------------------------------------------------------------

and alike? So much noise there.
Currently we have 133+ of those lines, and we will need hundreds more, once the other modules also go PHPStan Level 6-8.
The code is
$availabilityQueryContainer = $container->getLocator()
                ->availability()
                ->queryContainer();

which calls
    /**
     * @return \Generated\Zed\Ide\AutoCompletion|\Spryker\Shared\Kernel\LocatorLocatorInterface
     */
    public function getLocator()
    {
        return Locator::getInstance();
    }

Based on https://github.com/CakeDC/cakephp-phpstan/tree/master/src there should be a way to make it work, right?

...
 * @method \Generated\Zed\Ide\Availability availability()
...
interface AutoCompletion
{}

gets added to a Autocomplete.php file
we might have to get rid of this old way, or ignore this Autocomplete file (which is for IDE understanding only), and instead provide a phpstan extension that resolves this internally, so it always returns the correct concrete object.

Yeah, but \Generated\Zed\Ide\AutoCompletion|\Spryker\Shared\Kernel\LocatorLocatorInterface is a union of those two types, and LocatorLocatorInterface obviously doesn't have that method. Perhaps you meant an intersection type instead?


Fix workload in remote clusters missing authz policy

Please provide a description of this PR:

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
47510f9512db3eb43c33903f291ac4bd8ca54bfc
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
47510f9512db3eb43c33903f291ac4bd8ca54bfc
link
true
/test unit-tests-arm64

unit-tests_istio
47510f9512db3eb43c33903f291ac4bd8ca54bfc
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

From func (s *Server) initConfigController(args *PilotArgs) error {, configController can not be nil. Is that what you mean?


Update to auto_update_magic.sh script for version 1.0

Just to let you know, in the auto_update_magic.sh in version 1.0, you still have the policy trigger at the bottom of the script (line 126), set to "/usr/sbin/jamf -trigger "autoupdate-${RECIPE_NAME[$i]}"". However, it will now need to be "/usr/local/jamf/bin/jamf policy -trigger "autoupdate-${RECIPE_NAME[$i]}"" in order to work.
I've not tried version 2.0 just yet, as I did like the convenience of version 1.0 using the scrip via Policy.
Keep up the good work. It's the good guys like you, that make life as a sys. admin that little bit better. Many thanks

You're very welcome! 😄
Version 1.0 is a sort of "snapshot in time," and I have no plans to keep it updated. But if you're still using the script via policy, you can probably put these lines into the old version of the script.
Depending on what JAMF releases in the near future, I may take a shot at a version 3.0 of Auto Update Magic. No promises, though. ;-)

Great stuff. When I feel more comfortable with the setup, I will consider moving over to v2.0. Loving it so far. Thanks again.


readme: fix download url

Thank you for pointing it out! I've just removed the path from url (so that it doesn't need to be changed per release).


Update the coreos/awscli docker image according to the needs

Initial ideas
It will settle between the below two images.

What is working in today's kube-aws:
FROM alpine:3.1

RUN apk --update add bash curl less groff jq python py-pip && pip install --upgrade awscli s3cmd && mkdir /root/.aws

According to:

https://quay.io/repository/coreos/awscli/image/e33d9681c7bf50d591d9fcce3db7d21fbf261affde613e10c0abebb74f6b6a1c
https://quay.io/repository/coreos/awscli/build/49336018-390e-4c2a-aa44-1f84d67949ea

What is going to be needed for future work:
cc @gianrubio
e.g. https://github.com/coreos/kube-aws/issues/49#issue-188285087 which requires the cfn-signal command contained in the aws-cfn-bootstrap package to be included in a official-ish/controllable docker image(i.e. quay.io/coreos/awscli)
I've talked about it with @pieterlange and this is what it would look like:
FROM alpine
RUN apk update && apk add python py-pip && rm -rf /var/cache/apk/*
RUN pip install awscli
RUN pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz

Requirements

Basically, the new image is ok as long as it:

keeps backward-compatibility(possibly including all the packages contained in the former image
contains only what is required for us as exactly as possible
sizes as small as possible
is not based on very out-dated alpine

Implementation
It'll be something like:
FROM alpine:3.4

RUN apk --no-cache --update add bash curl less groff jq python py-pip && \
  pip install awscli s3cmd https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz && \
  apk del remove py-pip && \
  mkdir /root/.aws

docker build seems to fail because of outdated pip installed via apt add.
https://gist.github.com/mumoshu/5d7046950b6259eb68e1df5a406528e3

Added pip install --upgrade pip before pip installs, after apk add py-pip and it seems to work.
https://gist.github.com/mumoshu/300d21a82d26aa1cb5262e7c522f898b

It turns out that some cache files created by pip remains in /root/.cache/pip.

made it pip install --no-cache-dir so that the cache files disappear:
$ docker run -it --rm 99b5c774c7a7 bash
bash-4.3# find ~/
/root/
/root/.aws
/root/.cache
/root/.cache/pip
/root/.cache/pip/selfcheck.json

I had somehow misunderstood apk add --no-cache to not create /var/cache/apt at all.
However, It doesn't seem so:
bash-4.3# find /var
/var
/var/cache
/var/cache/apk
/var/cache/apk/APKINDEX.a2e6dac0.tar.gz
/var/cache/apk/APKINDEX.167438ca.tar.gz
/var/cache/misc
/var/tmp
/var/log
/var/empty
/var/lock
/var/lock/subsys
/var/spool
/var/spool/cron
/var/spool/cron/crontabs
/var/run
/var/local
/var/opt
/var/lib
/var/lib/udhcpd
/var/lib/apk
/var/lib/misc

We now have quay.io/awscli:edge for anyone who wants to test
https://quay.io/repository/coreos/awscli?tab=tags
Only less than 2%(0.4 MB) added to the original docker image!

I'll submit a pull request to add the dockerfile used for this shortly.

We should really keep curl less groff jq  in the image!
Can you use this as dockerfile instead?
FROM alpine
RUN apk update && apk add curl less groff jq python py-pip && rm -rf /var/cache/apk/*
RUN pip install awscli
RUN pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz

@pieterlange Thanks for looking into it!
See #56 for the actual Dockerfile used to build the image. In short, it does contain curl less groff jq 👍

FYI, we're going to have a dedicated repo for the docker image
https://github.com/coreos/awscli/pull/1
Please note that docker image tags won't change!

According to the fact that automated builds from https://github.com/coreos/awscli to https://quay.io/repository/coreos/awscli is enabled
and thanks to @pieterlange and @camilb's pull requests which fixed issues slipped into my initial implementation,

the quay.io/coreos/awscli:latest docker mageseems to be ready 🎉
I'm closing this but feel free to reopen if it turned out that the initial scope of this issue isn't addressed yet.


i think seus file in top level can be deleted?

https://github.com/mpinsky/OceanAdapt/blob/master/seus_strata.csv
it's also in the updated zip file, too. the script that creates the data_updated zip file pull in the seus_strata from the data_raw, not that top level file

I deleted it.

This is a test for a demonstration.

Testing over


Fonts look thinner on macOS Mojave? MacBook Pro 2018 Retina

Hey!
I just updated to macOS Mojave, and I noticed that the fonts in VSC look super thin and very difficult to read. I have a 2018 MacBook Pro Retina, but I just want to know if anyone else is experiencing this issue?
Thanks

/duplicate https://github.com/Microsoft/vscode/issues/51132


Fix #1359 : Updating Knative CI to 0.13.1 and corresponding kourier to 0.3.12

Release Note
NONE

This is superseded by https://github.com/apache/camel-k/pull/1435, which fixes the "insufficient CPU" issue by removing pod CPU requests


Make it possible to support multiple themes

One thing I would like to add is the support of themes. I'm not sure how we should integrate this, but it would be awesome if the user of the datepicker could choose between multiple themes/styles. Similar to https://github.com/zippyui/react-date-picker#theming

We could debate if this should be part of an v1.0 or not.

(trying to close out as many tickets as possible)
@martijnrusschen, I think it's best if we concentrate on making our one theme look as best as possible rather than supporting multiple styles.  Consumers are free to add to our CSS as they see fit.  I'll close this out unless you disagree.

sgtm
On Sat, Apr 30, 2016 at 4:56 PM Rafee Memon<EMAIL_ADDRESS>wrote:

(trying to close out as many tickets as possible)
@martijnrusschen https://github.com/martijnrusschen, I think it's best
if we concentrate on making our one theme look as best as possible rather
than supporting multiple styles. Consumers are free to add to our CSS as
they see fit. I'll close this out unless you disagree.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Hacker0x01/react-datepicker/issues/295#issuecomment-215971543


How to configure subdomain crawling?

Let's say I have a site to crawl - mywebsite.com - and I wanted to define the collector to stay on the main domain (mywebsite) while visiting news.mywebsite.com, base.mywebsite.com and even others that I don't have mapped xyz.mywebsite.com.
Is that configurable or should I code and extend something?

You can set stayOnDomain to false on your <startURLs> and rely on <referenceFilters> instead, which gives you more control.  Have a look here for more details: https://github.com/Norconex/collector-http/issues/394#issuecomment-331370309

Perfect explanation over there!


[web] Themes are not propagating properly when providers are in separate files

I've opened a Tamagui issue here: https://github.com/tamagui/tamagui/issues/1718
And a reproduction repo here: https://github.com/hdwatts/tamagui-playground
The repro isn't a t4-app, but I confirmed that adding switches and the theme toggle to the home screen in a fresh t4-app will lead to this same issue.
For now I may recommend combining the theme/tamagui providers and can open a PR if you agree.

I have previously raised a similar issue, and for clarity, I am providing the link to it.

@hdwatts This is a bug that affects Tamagui so we should track your issue https://github.com/tamagui/tamagui/issues/1718 and https://github.com/tamagui/tamagui/issues/1319. Otherwise there is no problem in switching theme using only the theme toggle in a t4-app.
In the case that you have a t4 specific issue with this we can keep this thread open, otherwise I would close this.
https://github.com/timothymiller/t4-app/assets/57916483/63b9f9c0-1bcb-4f31-8846-be7860bdb8ab
@timothymiller I can commit this theme toggle component if that's something we want out of the box.

@albbus-stack I love the theme toggle let's add it!

Re: the original issue, I've tested this on native & web, and the issue only seems to persist on web. FWIW

Dude, the issue was the dependency array was incomplete. Biome lint helped uncover the issue. Total cringe bro.

Seems like this issue has resurfaced


Download Dataset

Could you tell me how to get this dataset or when do you release it?

Yes please!

We don't have the relevant permissions to release the dataset yet.

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。


return json objects from functions

Given a function like json json_add(json& j, std::string name), which given a json object, adds another object to it and returns it,  I expect that if I call:
json j;
json_add(j, "1");
json j2 = json_add(j, "2");
json_add(j2, "3");

The last call to json_add would add another object on an existing one created before, to create a hierarchy, but instead nothing happens, is there a way achieve this programatically?
json j =
{
    { "filename", "file.cpp" }
};
json j2;
j2["prop"] = "1";

j["j2"] = j2;

j2["prop2"] = "2"; // after adding j2 to j, their reference is lost, so further updates to j2 does nothing

Expected:
{
  "filename": "file.cpp",
  "j2": {
    "prop": "1"
    "prop2": "2"
  }
}

@gregmarr that would not work, if you need to do it programatically, N-levels deep, which I need to :)
I understand the value semantics and the copies, but that doesn't mean that internally each "node" can't track each other. Without it, you can't build and patch hierarchies easily, and it's unnatural.
What I had to do is to make a pointer and find the element I want to path using .at, and return it by reference.

the other thing, it would be cool if there was an add or append API that specifically returns a json reference of the element that was just added

I'm having a hard time visualizing what it is that you're trying to do.  Maybe this:
auto &nested = j["j2"];
nested = j2;
nested["prop2"] = 2;

I agree with @gregmarr in that I do not understand the issue yet. Could you try to describe your expected outcome and the difference to the actual behavior in more detail?

Here is an example:
json& add_node(json& node, std::string text)
{
    json new_node;
    new_node["node"]["text"] = text;
    node["nodes"].push_back(new_node);
    return new_node;
}

And the calling code:
json j;
add_node(j, "1");
add_node(j, "2");
add_node(j, "3");
json& node = add_node(j, "4");
add_node(node, "1");

I have to write to something like this, which is hacky:
json& add_node(json& node, std::string text)
{
    json new_node;
    new_node["node"]["text"] = text;
    node["nodes"].push_back(new_node);
    json::json_pointer p(std::string("/nodes/") + std::to_string(node["nodes"].size() - 1) + "/node");
    return node.at(p);
}

But then I wrote it as, which is better:
json& add_node(json& node, std::string text)
{
    json new_node;
    new_node["node"]["text"] = text;
    node["nodes"].push_back(new_node);
    return node["nodes"].back()["node"];
}

I still expect an API that appends and returns a reference directly though.

As explanation: The API is the same as for a std::vector, so push_back is void.

personally, I don't think that's not sensible, and I think it's inconsistent to have a push_back API, on something that might not be an array, but when used becomes an array

I don't understand: for arrays, push_back behaves just like std::vector::push_back. Only for null values we extended the behavior to allow for an implicit conversion to an arrays. Why is it unintuitive to return void?

not because it returns void, but because a json object has a vector API and non vector APIs on it

I see. That's this library's way to deal with JSON's different value types. When you only see a json type, you don't know which type it is. What would be the alternative? Throwing?

I still expect an API that appends and returns a reference directly though, something like:

json& add_node(json& node, std::string text)
{
    json new_node;
    new_node["node"]["text"] = text;
    return node["nodes"].push_back(new_node);
}

That is the equivalent of this:
json& add_node(json& node, std::string text)
{
    json new_node;
    new_node["node"]["text"] = text;
    node["nodes"].push_back(new_node);
    return node["nodes"].back();
}

or better
json& add_node(json& node, std::string text)
{
    json new_node;
    new_node["node"]["text"] = text;
    auto &nodes = node["nodes"];
    nodes.push_back(new_node);
    return nodes.back();
}

But is NOT the same as this:
But then I eventually wrote it as, which is better:

json& add_node(json& node, std::string text)
{
    json new_node;
    new_node["node"]["text"] = text;
    node["nodes"].push_back(new_node);
    return node["nodes"].back()["node"];
}

Other than using node["nodes"] more than once, this is basically correct, if you are expecting a JSON like this:
{
  "nodes":  [
    "node": { "text": "1" },
    "node": { "text": "2" },
    "node": { "text": "3" },
    "node": {
      "text": "4",
      "nodes": [ { "node": { "text": "1" } } ]
    }
  ]
}

I would say the best way to write this would be something like (untested, but the syntax should be like this):
json& add_node(json& node, std::string text)
{
    auto &nodes = node["nodes"];
    nodes.push_back({"node", {{"text", text}} });
    return nodes.back()["node"];
}

@itodirel Can you comment on
https://github.com/nlohmann/json/issues/1172#issuecomment-408578976?

I wrote something like that and it works for me, I'm not blocked, I just expected the node insertion to give me back the node I just inserted. Also thank you much for all your help and suggestions, it's very much appreciated.

Thanks for checking back! We shall keep the push_back() function void as we have the back() function to return the last element.


where is the Chinese version of RefCOCO(-/+/g) caption data

where is the Chinese version of RefCOCO(-/+/g)  caption data

We still did not release those data, but if I solve some issues about copyrights I'll make them public.

I want to finetune the Chinese image caption model, so I need the Chinese version of the image caption data and the train scripts, just like the caption_data.zip file, train_caption_stage1.sh, and train_caption_stage2.sh
I revised the train_caption_stage1.sh script, like this
#bpe_dir=../../utils/BPE
bpe_dir=../../utils/BERT_CN_dict
bpe=bert
but I met the error
../../utils/BERT_CN_dict/encoder.json not found
Missing file "encoder.json" in BERT_CN_dict ?
need to set the parameter of the train.py script
--bpe=bert
or --bpe=${bpe}

Yes you need to set --bpe=bert, cuz we use bert tokenizer for Chinese, and there is no encoder.json.


User is not able to send / receive money while sending money to another user using Valora App

Frequency : 100%
Repro on build version: Android internal release build V:1.36.0, iOS TestFlight build V:1.36.0 , Android Playstore build V:1.35.0 , iOS AppStore build V:1.35.0
Repro on device : Google Pixel 2XL(11.0) Google Pixel XL(10.0), OnePlus 7T(11.0),iPhone 12(14.7.1), iPhone 13 mini (15.1.1)
Pre-condition:
1] User must have installed the application
2] User must be on homepage
3] User must have some funds in the account
4] User must be on send amount page
Repro Steps :
1] enter a valid amount
2] Next button will be seen enabled
3] Click on next button
4] Click on send button from send amount page
Bug : "Transaction failed please retry" error is faced while sending the amount to another user
Expected Behavior : The transaction must have completed properly and user should have received the money in the wallet
Investigation:
1] Same error is also faced while receiving money from another user
2] "The Celo network is experiencing an outage. Your funds are safe. We apologize for the temporary inconvenience and we will have more information for you soon." we found this statement on Social Media Platform.
Attachment : send.mp4
Bug Observed at 1.39 seconds

Hi @ValoraQA this sounds related to the celo network stall yesterday. The issue has been resolved by the cLabs team as of this morning. please confirm and close this ticket if it's no longer relevant :)

Hey @MuckT we have verified the above issue in Android internal release build V:1.36.0, iOS TestFlight build V:1.36.0 and observed that issue is fixed hence we are closing the issue
Observation : user is able to send money to other user and user is able to receive money from another user
Devices : Google Pixel 2XL(11.0) Google Pixel XL(10.0), iPhone 12(14.7.1)
Attachment : send&receive
Cc: @kathaypacific
Thanks..!


Added cl_khr_fp16 extension support for test_async_strided_copy from basic

According to issue description (basic section):
https://github.com/KhronosGroup/OpenCL-CTS/issues/142

Reviewing, thanks

Merging as discussed in the May 30th teleconference.


"Inser Image" can't set width and height of image + Image is not resized + Proportions are not considered

I'm runnnig Silverstripe 4.2.
1:
If I want to insert an image with the Content Editor, I can't set the dimension of the image.
No matter what values I type in, the image will always inserted with the original size.
2:
Also the image is not really resized, only width and height in HTML are set, so the image is loaded with the full size and then scaled throughout the browser. This does not reduce the loading time.
3:
Proportions are not considered and have to be calculated in mind.
If I type in only the width, the height is not calculated automatically and vice versa.

I think this is probably an admin issue or asset-admin issue.
Regardless, this sounds like a regression from SS 3

If it should go to another tracker, please move it.
Part of this issue has already been discussed here
https://github.com/silverstripe/silverstripe-framework/issues/6517
As the new assets management was a major point in the SS4 release,
this should be considered as important.

this should be considered as important.

I've marked it as impact/high

Did this PR not fix the constraint issue, then? https://github.com/silverstripe/silverstripe-asset-admin/pull/433

In fact, I'd mark this as a duplicate of #6517, then, unless there's anything unique you're pointing out here...

As it is still not working with SS 4.2, I consider this as not fixed.

OK - so I'm going to close this as fixed by https://github.com/silverstripe/silverstripe-asset-admin/pull/433
We've authored a fix against a version we felt was appropriate given our adherence to semantic versioning.

But how can this be considered fixed if it is still not working with SS 4.2?

@StephanSchrade because our definition of "fixed" is not "is it fixed in the latest stable patch release" it is "have we merged a fix"
That fix has been deemed to be best targeted against 4.3 for when that is released.

@dhensby Looking at the merge commit, it should already have been tagged shouldn’t it? https://github.com/silverstripe/silverstripe-asset-admin/commit/576518e0bab3163c395db1b6210da74371c7a204 perhaps it has since regressed?

@kinglozzer ah, hmmm - I see; I should have checked if it had been tagged; I just saw it merged into 1 and assumed it was awaiting release (sorry).
Ok - well, if it's not fixed maybe there's a regression, then :(


BUSINESS_ERROR - Error while creating refund

Hi,
I have Magento 2.4.6-p6, php 8.2.8., payu/magento24-payment-gateway", "version": "2.0.2".
When I want to make a refund from an invoice, if I have a payment via payu cards, it shows me an error in payugateway.log "payULogger.CRITICAL: BUSINESS_ERROR - Error while creating refund. "
Have you had a similar problem? How can this be resolved?
Regards

The reasons may be different. Please contact PayU support to check it out more thoroughly.


Documentation.

All ideas or contents about documentation should listed and tracked in this issue.

[ ] Features

[ ] Python version matrix

[ ] Usage

[ ] Commit and release

[ ] Acknowledgement
[ ] Contribution Guide

Setup remote for maintainers.

Close as tasks are splited into dedicated issues.


request

can you do click effects for .net maui?

Hello
Isn’t it available in maui community toolkit?
This plugin was merged to Xamarin community toolkit and I believe it should be migrated to Maui toolkit

I looked at the documentation and couldn't find it, I installed the kit and tried it in my project, I couldn't find it, I guess it wasn't added.

Yeah... Have you asked them to port it?

Not yet, I wanted to ask you first since you are the real developer.

haha, got you!
Maybe I will find some time to do it. But i don't know when. And I can't promise it.
I am not a maintainer of community toolkit for 2 years now

https://www.linkedin.com/posts/jfversluis_release-v800-can-touch-this-touchbehavior-activity-7179475479781855235-BOhs?utm_source=share&utm_medium=member_ios


Catchable fatal error: Argument 1 passed to wapmorgan\PhpCodeFixer\PhpCodeFixer::delimByComma() must be of the type array, null given

Hi
I'm trying to use your project on a legacy code base and I'm running into the following error:
Max file size set to: 1.000 MiB
Scanning app ...

Catchable fatal error: Argument 1 passed to wapmorgan\PhpCodeFixer\PhpCodeFixer::delimByComma() must be of the type array, null given, called in /Users/adam/.composer/vendor/wapmorgan/php-code-fixer/data/password_hash_salt_option.php on line 6 and defined in /Users/adam/.composer/vendor/wapmorgan/php-code-fixer/src/PhpCodeFixer.php on line 213

This only happens when I set 7.0 or 7.1 as target, when using 5.6 or lower it works fine.
My PHP version:
$ php -v
PHP 7.0.15 (cli) (built: Feb 16 2017 15:05:51) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Xdebug v2.5.1, Copyright (c) 2002-2017, by Derick Rethans

I need additional information to fix this problem. Can you run for every folder in your project and find fine which breaks phpcf?

Or wait until I add debug output functionality in phpcf.

Good call, there is only one subfolder where it breaks on, and after that I've narrowed it down to a single file, our Password.php class.
In relation to the error above, this is the relevant piece I think:
password_hash($password, PASSWORD_DEFAULT);

Could it be because we are not providing the 3rd (optional) argument there?

Yes, it is. But this is wrong behavior and fixed in 2.0.4. Upgrade phpcf and have a nice day.

Jup, fixed. Thanks for the quick response and fix!
Have a good day too!


Create Use Case issue template

What kind of change does this PR introduce?
New Issue Template for Use Cases
Summary
Make it easier to create and read Use Case Issues. Closes #320
Checklist

[x] My code follows the style guidelines of OpenAdapt
[x] I have performed a self-review of my code
[x] If applicable, I have added tests to prove my fix is functional/effective
[x] I have linted my code locally prior to submission
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. README.md, requirements.txt)
[x] New and existing unit tests pass locally with my changes

How can your code be run and tested
Go to https://github.com/dianzrong/OpenAdapt and create a new issue using the "Use Case" option

Thank you @KrishPatel13 !
A couple of questions:

should we name it SETUP.md to match the other .md files?
should we add an explanation for when someone should use the install script vs. follow the steps here?

Thank you @dianzrong ! A couple of things:

It looks like the example does not match the explanation: "Please place each step on a new line."
Also, I think we would like to support the level of detail in @flyguy712 's use cases, e.g. https://github.com/OpenAdaptAI/OpenAdapt/issues/202 . I think what's missing is what he calls the "context". I understand this to be real-world requirements/constraints that are not captured elsewhere but that are relevant for the successful completion of the task. I think we can make this optional.

Thank you @KrishPatel13 !
A couple of questions:

should we name it SETUP.md to match the other .md files?
should we add an explanation for when someone should use the install script vs. follow the steps here?

Replied here: https://github.com/OpenAdaptAI/OpenAdapt/pull/344#issuecomment-1619349577

@abrichr Addressed in 01b2621


add new helm value for cds push

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #639 (c4b93c5) into main (e5cd334) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #639   +/-   ##
=======================================
  Coverage   35.99%   35.99%
=======================================
  Files          73       73
  Lines       10335    10335
=======================================
  Hits         3720     3720
  Misses       6328     6328
  Partials      287      287


How to copy data from Excel to Clipboard and paste in the browser using Pupeteer?

Using pupeteer , I want to test if an application executes its functionality correctly when data is copied from an Excel sheet into the browser  window of the application.I am able to read data from the Excel sheet, but not able to copy that data into the clipboard and then paste it into the browser window.
beforeAll(async () => {
browser = await common.getBrowser();
page = (await browser.pages())[0];
await common.logIn(process.env.USERNAME, process.env.PASSWORD, page);
}, common.MAX_WAIT_TIME_OUT);
afterAll(async () => {
await browser.close();
}, common.GENERAL_WAIT_TIME);

it('read-excel and print', async() => {
    jest.setTimeout(100000);
	 const XLSX = require('xlsx');
     myDataWorkbook = XLSX.readFile(filePath);

	console.log(XLSX.utils.sheet_to_json(myDataWorkbook.Sheets[sheetName]));		// getting the correct data here
    console.log(XLSX.utils.sheet_to_txt(myDataWorkbook.Sheets[sheetName]));			// getting the correct data here
    console.log(XLSX.utils.sheet_to_csv(myDataWorkbook.Sheets[sheetName]));			// getting the correct data here
	});

Have you figured out any solution?
I am having the same issue?


overridden-properties are broken

Hello, I have a profile in qbs-configurations.json
    {
        "name": "profiling",
        "display-name": "Profiling",
        "description": "Enable profiling",
        "overridden-properties": {
            "modules.cpp.compilerWrapper": "/usr/local/bin/ccache",
            "modules.cpp.separateDebugInformation": "false",
            "modules.qbsbuildconfig.enableBundledQt": "true",
            "modules.qbsbuildconfig.enableUnitTests": "true"
        }
    }

but neither enableBundledQt nor compilerWrapper seem to have no effect
description changes though are picked up in UI

There are (in v2.x) vas an API changes. And now are used just properties key instead of overriden-properties

Also displayName instead of display-name


[Docs]: will seccomp profile of CRI runtime block MO's syscall

Is there an existing issue about documentation?

[X] I have checked the existing issues.

Describe the issue
follow up https://github.com/matrixorigin/matrixone/issues/10593#issuecomment-1678778723
we need to figure out whether the scecomp profile of CRD runtime will block MO's syscall in k8s env.
Additional information
No response

There are three options setting seccomp in K8s cluster, and the default options is Unconfined, so the issue in #10598 will not affect MO in K8s cluster.

Unconfined: disable seccomp mode
RuntimeDefault: use runtime default seccomp file, like docker default profile
Localhost: use a self-defined profile in K8s node

this can be verified by check seccomp mode inside docker by command cat /proc/1/status | grep Seccomp, according to proc manpage , 0 means SECCOMP_MODE_DISABLED , in our cluster this option is 0, like:

and if we start a container by docker command, it is 2 which is SECCOMP_MODE_FILTER  mode.

@loveRhythm1990 good summary! Closing as we don't need to worry about seccomp profile by default.


[Improve] Improve streampark-console module base on [3.9 Java Streams]

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
[Improve] Improve streampark-console module base on 3.9 Java Streams
Usage Scenario
No response
Related issues
#2986
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Please assign the current issue to me.

Hello, according to this requirement, I checked the code of streampark-console, streampark-console belongs to business code, and there is no scenario that requires a lot of calculation. There was no improper use of Java Streams
3.9 Java Streams
Avoid Java Streams in any performance critical code.
The main motivation to use Java Streams would be to improve code readability. As such, they can be a good match in parts of the code that are not data-intensive, but deal with coordination.
Even in the latter case, try to limit the scope to a method, or a few private methods within an internal class.

Thank you @Xuxiaotuan  very much for your effort on the issue.
Closing the issue now~


Revert "Roll engine to 8b09c7231e0d32ec8aba476dd2b8319a8e5d6a73"

Reverts flutter/flutter#10262

/tbr @Hixie

It caused performance regressions in AOT build times.


[BUG] Travis-CI fails to build

:bug::scroll:

What is the current behavior?
Travis-CI fails, around using "docker buildx"

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

log.txt

Nice, I had to install the plugin
https://stackoverflow.com/questions/64670750/docker-buildx-on-travis-ci
This got me further, now I'm hitting
failed to solve: rpc error: code = Unknown desc = executor failed running [/dev/.buildkit_qemu_emulator /bin/sh -c npm install]: exit code: 1

Nice, I had to install the plugin
https://stackoverflow.com/questions/64670750/docker-buildx-on-travis-ci
This got me further, now I'm hitting
failed to solve: rpc error: code = Unknown desc = executor failed running [/dev/.buildkit_qemu_emulator /bin/sh -c npm install]: exit code: 1

Okay, I had to use this container to set up QEMU's interpreters: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
The full .travis.yml file that ended up letting me build multi-architecture images (linux/arm/v7 for my raspberry pi and linux/amd64 for my host) using docker buildx on travis is available here

Okay, I had to use this container to set up QEMU's interpreters: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
The full .travis.yml file that ended up letting me build multi-architecture images (linux/arm/v7 for my raspberry pi and linux/amd64 for my host) using docker buildx on travis is available here


Query: groupby with join on grouping key produces incorrect sql

Repro:
from c in cs
join a in os.GroupBy(o => o.CustomerID)
			.Where(g => g.Count() > 5)
			.Select(g => new { g.Key, LastOrderID = g.Max(o => o.OrderID) })
	on c.CustomerID equals a.Key
select new { c, a.LastOrderID }

produces the following sql:
SELECT [c].[CustomerID], [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region], [t].[Key], [t].[LastOrderID]
FROM [Customers] AS [c]
INNER JOIN (
    SELECT [o].[CustomerID] AS [Key], MAX([o].[OrderID]) AS [LastOrderID]
    FROM [Orders] AS [o]
    GROUP BY [o].[CustomerID]
    HAVING COUNT(*) > 5
) AS [t] ON [c].[CustomerID] = [o].[CustomerID] AS [Key]

we shouldn't be adding AS Key alias at the end

It should be using [t].[Key]

it actually works correctly if the Key is aliased in the projection:
.Select(g => new { MyKey = g.Key, LastOrderID = g.Max(o => o.OrderID) })

Propose for RTM.


Jenkins: Display all installed mods and files at end of testing.

Closes #372.

Despite jenkins failing this because it can't install build.sh using ckan.exe, I've tested this locally and it does seem to be working. It should also bring joy to @Dazpoet .

Silly Jenkins. LGTM

And here I just emptied CKAN-meta of all easily added PRs. Guess this is motivation to add something more just so I can test this out :D


Updated key names for AWS cli

Merge main back into dev

The test using the manila device is the only one failing. Is fixed in #286


preloading video

All tests passing. Afraid no new tests. Writing such tests would be hard.
I removed the necessity to have height and width of video specified too.
Hoping my syntax is ok with you. eg var scoobydoo = scoobydoo || 123
I worry that below, my adding 'opts.preload_video' below may have scrambled people's own studies (that is, if jsPsych.pluginAPI.autoPreload is used by experimenters... hopefully it is just internal).
jsPsych.pluginAPI.autoPreload(timeline, startExperiment, opts.preload_images, opts.preload_audio, opts.preload_video, opts.show_preload_progress_bar);

@andytwoods @jodeleeuw
This seems to be working as expected for my experiments.

Any pref what I have a go at next Josh? There was something about blocking automatic preloading?

@andytwoods Anything on the issues list that you feel comfortable tackling would be awesome!

I've just pushed some changes :)


[SUPPORT] Using hive to read rt table exception

env:
hudi  0.12.1
hive 2.2.0
config:
set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat;
dd jar hdfs://mycluster/hudi/jars/hudi-hadoop-mr-bundle-0.10.0.jar;
Exception:
java.lang.NoClassDefFoundError: org/apache/hadoop/hive/common/StringInternUtils
at org.apache.hudi.hadoop.hive.HoodieCombineHiveInputFormat.getCombineSplits(HoodieCombineHiveInputFormat.java:143) ~[hudi-flink1.13-bundle-0.12.1.jar:0.12.1]
at org.apache.hudi.hadoop.hive.HoodieCombineHiveInputFormat.getSplits(HoodieCombineHiveInputFormat.java:363) ~[hudi-flink1.13-bundle-0.12.1.jar:0.12.1]
at org.apache.hadoop.mapreduce.JobSubmitter.writeOldSplits(JobSubmitter.java:341) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:333) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:202) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1570) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1567) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_201]
at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0_201]
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1893) ~[hadoop-common-2.9.2.jar:?]
at org.apache.hadoop.mapreduce.Job.submit(Job.java:1567) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:576) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:571) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_201]
at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0_201]
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1893) ~[hadoop-common-2.9.2.jar:?]
at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:571) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:562) ~[phoenix-4.14.2-HBase-1.2-hive.jar:?]
at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:398) ~[hive-exec-2.2.1-SNAPSHOT.jar:2.2.1-SNAPSHOT]
at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:141) ~[hive-exec-2.2.1-SNAPSHOT.jar:2.2.1-SNAPSHOT]
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197) ~[hive-exec-2.2.1-SNAPSHOT.jar:2.2.1-SNAPSHOT]
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100) ~[hive-exec-2.2.1-SNAPSHOT.jar:2.2.1-SNAPSHOT]
at org.apache.hadoop.hive.ql.exec.TaskRunner.run(TaskRunner.java:79) ~[hive-exec-2.2.1-SNAPSHOT.jar:2.2.1-SNAPSHOT]
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.common.StringInternUtils
at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_201]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_201]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[?:1.8.0_201]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_201]

I found a similar issue   https://github.com/apache/hudi/issues/3795

I confirmed that this class does not exist in the currently used hive version, so it only supports part of the Hive2.x version

Can these methods be extended once to be better compatible with hive?

Yeah, do you have intreast to contribute a fix for this? We can write our own impl for StringInternUtils because it does not have good version compatibility.

Yeah, do you have intreast to contribute a fix for this? We can write our own impl for StringInternUtils because it does not have good version compatibility.

I'm not sure if it's the only one that refers to the relevant classes. From the search results, it is yes. In this way, you only need to copy the implementation of hive to the implementation in hudi-mr. Can you help to check whether this is correct?

Yeah, I think so, just need to check that we fix all the classes that are not version compatible.

Thank you for your reply. Once the test is successful, I will submit a PR

I tried to make modifications and found that it's not just a simple copy related class and renamed it. There are changes in the API for hive2.2 and hive2.3, and there are also some other modifications involved, so I don't think there's a good way to be compatible with both versions at the same time

Got it, can you make a list of the API changes and the other modifications involved, so we can make an appraisal of the amount of work to do.

The main difference is that the structure returned when obtaining Path -> Alias from MapWork is different. At present, if the hive version is directly modified, then the part of HoodieCombineHiveInputFormat that involves this part of path processing needs to be changed. Another change is HiveInputFormat.pushProjectionsAndFilters, modify The workload of the code should not be large
In  hive2.3

In hive2.2.0

In hive 2.2

In hive 2.3

I tried to modify it directly, but the map split of the hive query is only 1, causing the task to exceed the yarn memory limit and fail. When the query limit is 10, the data in the rt table can be queried normally. Some code logic is not very clear. I am not sure what the current change is no problem

No worries, we can fire a PR first and we can move the discussion there.

Why is this implemented here? mapreduce.input.fileinputformat.split.maxsize (this unit should be bytes) is usually very large. According to this logic, all inputs may end up with only one split. I did a test and it is indeed In this way, if the default is 256m, there will only be one map task. When I set this parameter to 1, n map tasks will start. Is there any limit to this?

On yarn

I'm not quite familiar with Hive, would cc @xicm to give some help here.

NoClassDefFoundError: org/apache/hadoop/hive/common/StringInternUtils

we may borrow StringInternUtils from hive to support hive version < 2.3

NoClassDefFoundError：org/apache/hadoop/hive/common/StringInternUtils

我们可以从 hive 借用StringInternUtils以支持 hive version < 2.3

Some minor changes on the hive api still require certain changes

NoClassDefFoundError: org/apache/hadoop/hive/common/StringInternUtils

we may borrow StringInternUtils from hive to support hive version < 2.3

Some minor changes on the hive api still require certain changes

On yarn

The problem of failure in this place should be caused by hive mapred.map.tasks.speculative.execution. The status of the failed task is also in new status. Set this parameter to false. After several tests, it is found that the task will not fail again. Case

Look at this test, the logic of this split should not be careless

@danny0405 I submitted a pr to be compatible with hive2.2, copied part of the code of hive2.3 to hudi, and converted the data structure of hive2.2 to the form in 2.3 for processing. I don’t know how to do this Is it reasonable and there may be some problems in the code, please help to review the code  #8911

I probably looked at the hive branch 2.0 2.1 code and it should be the same as 2.2


⚠ API - Spain (ES) has degraded performance

In 950049a, API - Spain (ES) ($URL_API) experienced degraded performance:

HTTP code: 200
Response time: 5587 ms

Resolved: API - Spain (ES) performance has improved in c96a601.


Update sbt-mdoc to 2.2.5

Updates org.scalameta:sbt-mdoc from 2.2.3 to 2.2.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-mdoc" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master     #237   +/-   ##
=======================================
  Coverage   84.01%   84.01%
=======================================
  Files         107      107
  Lines        1251     1251
  Branches       22       22
=======================================
  Hits         1051     1051
  Misses        200      200

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 af77f61...4b52b3c. Read the comment docs.


Change number format

I would like in column with type number set format like: 12 355,23 but it is not possible now. What I can set now is only 12,355.23. Please add possibility to set format more flexible.
Thank you.

Is the number format you want supported from the link below?
https://pub.dev/documentation/intl/latest/intl/NumberFormat-class.html

Oh yes, I think I can put space in number by (' ') thank you.


Publish-PSResource should say which repository it tried to publish to

Had trouble publishing module to psgallery.  Kept getting error that my apikey wasn't valid.  Forgot that I had multiple repositories registered and it was trying one of those first.  Once I specified psgallery, it worked.  Would have been easier to spot the problem if the error message contained the name of the repository that returned the error:
Current:
Publish-PSResource: Response status code does not indicate success: 403 (The specified API key is invalid, has expired, or does not have permission to access the specified package.).

Proposed:
Publish-PSResource: Repository 'Nuget': Response status code does not indicate success: 403 (The specified API key is invalid, has expired, or does not have permission to access the specified package.).

Resolved in #531


Add a wiki: Android Wiki

Link to origin wiki: android.fandom.com
Link to destination (independent) wiki: androidwiki.info

@TheAndroidWiki Congrats on the new wiki! I see the Fandom wiki has > 400 articles, while the indie wiki has ~125. We try to only redirect to wikis that provide at least a similar amount of coverage. Could you comment on the difference in article count? I'm guessing it's a nuanced fork where articles are selectively being moved over?

Hi! We are currently moving some articles since some of them were blank and spam articles, that's why we are currently at +130 articles, we are expecting to reach 330 when we complete the moving. Thank you for contacting us!    En jueves, 2 de mayo de 2024, 02:23:25 CEST, Kevin Payravi @.***> escribió:
@TheAndroidWiki Congrats on the new wiki! I see the Fandom wiki has > 400 articles, while the indie wiki has ~125. We try to only redirect to wikis that provide at least a similar amount of coverage. Could you comment on the difference in article count? I'm guessing it's a nuanced fork where articles are selectively being moved over?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

We surpassed the Fandom wiki's page count

@TheAndroidWiki excellent, thanks for the update! Will get this added in the next update.


Can't delete copy pasted text if key remapping is enabled

When key remapping is enabled and the chat says "Press Enter to Chat", if you copy paste and press enter it'll send what you've copy and pasted. There's no way to delete what was copy and pasted easily.

You can't paste into the chat.

Oh, I use runeliteplus and thought this was an issue with a runelite plugin. My bad.


Google Places Key

can we use the env variable inside the script tag (in index.html) for the Places API?

Hey there ! In react, you can access your env variables and utilise them by placing between % symbols.
E.g, in your index.html in the public folder, you would write


Cell indices can not be found when grid has a non-linear mapping

When a netcdf file has a warped coordinate mapping (Lon and Lat are 2D warped fields), I get the following warning when run:
Correct cell not found for
It seems to come from this function:
https://github.com/OceanParcels/parcels/blob/67d3931f0527d5e25ff042dbf12b740b748cf8d1/parcels/include/index_search.h#L209

it seems #1331 is working on this


Use of EstimatorV1 with QiskitRuntimeLocalService and DynamicsBackend does not work

Describe the bug
When using EstimatorV1 (from Qiskit Runtime), and declaring a localService and a DynamicsBackend, the method _run_backend_primitive_v1 does effectively try to extract a noise_model option from the options dictionary. Even though no noise model is passed, the dictionary run_options (then passed to the backend.run method through the BackendEstimator under the hood) contains a noise_model keyword argument (set to None). This keyword raises an error when passed to the DynamicsBackend as it does not accept noise_model as a valid option to be set.  My workaround at the moment is to go through EstimatorV2, which does not try to call the same noise_model option (I’m actually not sure in what context it should be here in the first place, perhaps could you give a hint on what backend this noise_model run option is supposed to act, like is it AerBackend or Cloud simulator?).
Steps to reproduce

Declare a DynamicsBackend instance (as done in here: https://qiskit-extensions.github.io/qiskit-dynamics/tutorials/dynamics_backend.html)
Declare a RuntimeEstimatorV1 with backend set to a DynamicsBackend (will therefore leverage QiskitRuntimeLocalService)
Call Estimator.run() method for an arbitrary input.
Expected behavior
Should call the backend.run from DynamicsBackend normally under the hood and return the expectation value of the provided observable.

Suggested solutions
Remove systematic keyword argument noise_model that is not compatible with an arbitrary BackendV1|BackendV2 instance. The usage of EstimatorV2 in the same workflow typically works correctly.
Additional Information

qiskit-ibm-runtime version: 0.22.0
Python version: 3.10
Operating system: Mac OS Sonoma

As documented, Qiskit Runtime local testing mode only supports fake backends and Aer backends.


Profile based modules: too big covers in browsing snippets

The size of cover should be more adequate to the size of snippet

Can't be reproduced


(PDB-1646) tighten up regex and subqueries in the legacy query engine

This fixes a couple issues with the legacy query engine, which is used when
the distinct_resources parameter is passed as true:

regex queries were broken due to use of honeysql instead of strings
subqueries were broken because of an ambiguous column alias

I've expanded the distinct_resources testing in http/event-counts-test to cover
the fixed behavior.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1498/

@wkalt will need to be re-opened and targeted at stable now.

reopened on stable


Add CTA to Navbar in Docs

Summary:

Added a CTA button that links to console from all docs pages

Details:

Uses navbar custom items from https://docusaurus.io/docs/api/themes/configuration
Lots of Custom CSS had to be written, the most of any component in our current docs
Logs clicks to Statsig docs project

Testing:

Tested responsive sizing, works well (CTA not visible on mobile-sized screens)

🚀 Deployed on https://659ca1a2a742b44b77b34828--cozy-fox-0defec.netlify.app

did you mean to add the flask guide as part of this too or just the button? we could do them both together but just curious


[Feature] Freeze table headers

When you don't want to paginate scrolling down hides the table headers.  Would be nice to have those frozen.

Have you tried this.

+1
It would be really great to have it as built-in feature in md-table.


Boost particular episodes / live items

possibly related discussion via IRC:
17:01:38 <cottongin> I was envisioning some mode where BoostCLI iterates over the entire XML and just gives you a list of every <value> block and lets you pick which one to boost
17:02:45 <SeeDubs> boostcli needs a better rss parser
17:03:13 <SeeDubs> Maybe a list selector you can use arrow keys with
17:03:34 <SeeDubs> hard part is thinking of a clean ways to implement in ui and code


How to upgrade to 5.0

Is there a guide to upgrade from 4.x to 5.x, and can 4.x producers use 5.x client consumption?

Yes, You can use 4.x/5.x clients at the same time.


ObservableItemCollection ItemPropertyChanged not fireing

Hi,
I tried using OIC with a Model which implements BindableBase. However, I cannot get it to fire ItemPropertyChanged when an Item Property changes in the Model.
Am I missing an implementation somewhere, is it a bug, or am I being daft?

Not sure. Your model implements INPC?

This is one of the models I use. I assume BindableBase does all the magic I need when using Set?
`public class AvatarModel : BindableBase
{
Uri _bigAvatarUri = default(Uri);
public Uri BigAvatarUri { get { return _bigAvatarUri; } set { Set(ref _bigAvatarUri, value); } }
    Uri _smallAvatarUri = default(Uri);
    public Uri SmallAvatarUri { get { return _smallAvatarUri; } set { Set(ref _smallAvatarUri, value); } }
}`

how are you using it in XAML?

Standard two-way binding.
The model above is not one I'd need ItemPropertyChanged, but I use it for a GridView with multi-binding:
<GridView.ItemTemplate>
                                            <DataTemplate>
                                                <GridViewItem
                                                    MinHeight="0"
                                                    HorizontalContentAlignment="Stretch"
                                                    BorderThickness="0"
                                                    IsSelected="{Binding IsSelected, Mode=TwoWay}"
                                                    Tapped="FilterItem_Tapped">
                                                    <Grid Padding="8,0,0,0">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="24" />
                                                            <ColumnDefinition Width="*" />
                                                        </Grid.ColumnDefinitions>
                                                        <Path
                                                            Grid.Column="0"
                                                            Height="18"
                                                            HorizontalAlignment="Center"
                                                            VerticalAlignment="Center"
                                                            Data="{Binding VectorIcon}"
                                                            Fill="White"
                                                            Stretch="Uniform" />
                                                        <TextBlock
                                                            Grid.Column="1"
                                                            Margin="8,0"
                                                            HorizontalAlignment="Left"
                                                            VerticalAlignment="Center"
                                                            FontFamily="ms-appx:/Assets/Fonts/JosefinSans-SemiBold.ttf#Josefin Sans"
                                                            FontSize="14"
                                                            Foreground="White"
                                                            Text="{Binding TypeName, Converter={StaticResource StringToUpperConverter}}" />
                                                    </Grid>
                                                </GridViewItem>
                                            </DataTemplate>
                                        </GridView.ItemTemplate>

Where the GridViewItem IsSelected property is Two-Way bound and I want to hook the ItemPropertyChanged event to changing a data query dynamically. Basically a filter list with multiple options.
At the moment, I am curcumventing the issue by using the Tapped event in the GridViewItem to force a data query check and change if IsSelected has changed for any of the items in the ObservableItemCollection.

If I understood the Problem correctly, this solution may work:
I used a customized derived Observable Collection:
public class ItemObservableCollection : ObservableCollection where T : INotifyPropertyChanged
{
#region Constructor
public ItemObservableCollection()
{
CollectionChanged += ItemObservableCollection_CollectionChanged;
}
#endregion
    #region Eventhandler
    private void ItemObservableCollection_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
    {
        if (e.NewItems != null)
        {
            foreach (var item in e.NewItems)
            {
                ((INotifyPropertyChanged)item).PropertyChanged += ItemObservableCollection_PropertyChanged;
            }
        }
        if (e.OldItems != null)
        {
            foreach (var item in e.OldItems)
            {
                ((INotifyPropertyChanged)item).PropertyChanged -= ItemObservableCollection_PropertyChanged;
            }
        }
    }

    private void ItemObservableCollection_PropertyChanged(object sender, PropertyChangedEventArgs e)
    {
        NotifyCollectionChangedEventArgs args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, sender, sender, IndexOf((T)sender));
        OnCollectionChanged(args);
    }
    #endregion
}

I can confirm that this works as expected. I have added a permanent test here https://github.com/Windows-XAML/Template10/blob/master/Samples/MultiplePageHeaders/ViewModels/MainPageViewModel.cs#L14


Always validate common properties

Codecov Report

Merging #568 into master will increase coverage by 0.05%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master     #568      +/-   ##
============================================
+ Coverage     78.78%   78.84%   +0.05%
- Complexity      577      587      +10
============================================
  Files            79       79
  Lines          2159     2160       +1
  Branches        279      279
============================================
+ Hits           1701     1703       +2
+ Misses          274      272       -2
- Partials        184      185       +1


Possible to do no pagination and display all rows ?

Possible to do no pagination and display all rows ? and suppress
showRows in footer ?
I know it's unconventional but that's what's been requested.
(Volume of result set is not that large).
Thx,
P.

I tried removing
Show rows: {{{showRowsMenu}}}
from Default.mst but no change.

OK I'm into Mustache but don't quite have implementation correct.
Can I have an example using Mustache inside Columns please.


Add support for multiple ids in radio aria-controls

Good morning @sobakasu, thanks for submitting a PR.
I'm curious as to what the intended use case for this is. Are you allowing multiple radio buttons to conditionally show and hide a single element further down the page?
If so, I don't think this is a use case we intend to support in Frontend.
Support for conditionally revealed content by assistive technologies (especially on radio buttons) is inconsistent, and part of our affordance for that is to have the conditionally revealed content always appear directly after the toggled input, so that it's always the next thing a user will find on the page. In that scenario there is always a 1-to-1 relationship between an input and the content it toggles.
That way, even if the user is not notified by their assistive tech that checking the radio revealed anything, they will immediately encounter the follow-up question. This is also why we advise to only conditionally reveal questions, rather than plain text content, as plain text may be skipped by ATs in form contexts.
If that isn't (or is!) the use case you're trying to cover, more information and perspectives are always welcome!

Good morning @sobakasu, thanks for submitting a PR.
I'm curious as to what the intended use case for this is. Are you allowing multiple radio buttons to conditionally show and hide a single element further down the page?
If so, I don't think this is a use case we intend to support in Frontend.
Support for conditionally revealed content by assistive technologies (especially on radio buttons) is inconsistent, and part of our affordance for that is to have the conditionally revealed content always appear directly after the toggled input, so that it's always the next thing a user will find on the page. In that scenario there is always a 1-to-1 relationship between an input and the content it toggles.
That way, even if the user is not notified by their assistive tech that checking the radio revealed anything, they will immediately encounter the follow-up question. This is also why we advise to only conditionally reveal questions, rather than plain text content, as plain text may be skipped by ATs in form contexts.
If that isn't (or is!) the use case you're trying to cover, more information and perspectives are always welcome!

Our use case is to conditionally reveal content further down the page (in addition to hint text that's revealed under the radio button) which are separated in the dom. Your explanation about why frontend doesn't support this makes sense to me. I think we can just close this PR


Debugger:Breakpoints hit the wrong line after editing.

Environment data
dotnet --info output:
VS Code version:1.2.1
C# Extension version:1.1.7
Steps to reproduce
1.Download and launch the sample project from https://github.com/OmniSharp/omnisharp-vscode/files/336372/musicstore.zip
2.Select ".NET Core Launch Web" and configure the location of musicstore.dll for "program which contains the space at the end as following: "program": "${workspaceRoot}/bin/Debug/netcoreapp1.0/musicstore.dll ",
3.Add some simple code in HomeController.cs, then set bp as bellow:
HomeController(IOptions options){
int a=1;//set breakpiont1 here
int b=20;
int c=a+1;//set breakpoint2 here
}
4.F5
5.When VS code hit breakpoint1, press "Enter".
6.F5
Expected  behavior
1.Both breakpoints should be red.
2.Breakpoint2 should be at line which contains "int c=a+b"
3.VS code should hit the line which contains "int c=a+b"
Actual behavior
1.Both breakpoints should be grey.
2.Breakpoint2 is not at line which contains "int c=a+b"
3.VS code did not hit the line which contains "int c=a+b"
please see the before_enter.png ,after_enter.png and Twice_F5.png

VS Code currently does not let us know when the buffer has been modified, so we don't know that these breakpoints shouldn't be bound to the now-stale source information. VS Code issue #8077 should enable detecting this, then we can disable stale breakpoints.

Fix should be available in the next release to address breakpoints binding to the wrong location after saving. We don't get any information from VS Code about a modified buffer currently, I've filed VS Code issue #9823 for this.


GREP_OPTIONS is deprecated

I get the following error with grep (GNU grep) 2.21:
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
This appears when I open my shell and anytime I attempt to run grep (preventing grep from actually running).
This is due to this line in .exports: export GREP_OPTIONS="--color=auto";
According to grep's manual:

GREP_OPTIONS
This variable specifies default options to be placed in front of any explicit options. As this causes problems when writing portable scripts, this feature will be removed in a future release of grep, and grep warns if it is used. Please use an alias or script instead.

The fix can be simple: https://github.com/webpro/dotfiles/commit/79f9fa724b3986962002d18107da6ff8ef26ef4d

$ env | grep -i grep
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
GREP_OPTIONS=--color=auto
$ grep --version
grep (GNU grep) 2.21
I fixed this in my fork of mathiasbynens/dotfiles.
I used webpro's solution, found at webpro/dotfiles@79f9fa7.
I find Mathias' dotfiles extremely useful on multiple platforms, including Linux and OS X. I got this error consistently on platforms that use GNU grep (Linux nattive and OS X modified for use of GNU command line tools via Homebrew, MacPorts or Fink).
The native OS X grep is 2.5.1-FreeBSD, and does not report this error.
Please consider moving color support for grep from .exports to .aliases to avoid this problem for those of us using your repo with GNU grep:
alias grep="grep $GREP_OPTIONS"
Thanks for all your great work, Mathias!

@BillSantos Would you mind submitting a pull request for that?

@mathiasbynens
Mathias, see my pull request #590.
Thanks for your consideration.

The alias solution won't color output if input is from pipe. And of course I use grep in pipes most of the time..

@rfabbri Me too. Do you know of a solution that doesn’t have this problem?

For now I'm using a script layer, described in my answer to this question:
http://askubuntu.com/questions/2186/replace-grep-command-with-grep-n-colour/778329#778329

find /usr/share -name '*.txt' |xargs grep --color testing works for me. But it is quite painful to have to write what I already have in my alias..

The alias solution won't color output if input is from xargs in a pipe. And of course I use grep in pipes with xargs most of the time.. eg: find /usr/share -name '*.txt' |xargs grep testing

now I run more ack than grep, ack has colored result as default whatever after pipe or not.
and ack has no dangerous script breaking threat by that settings.
my grep settings like that in case of no ack somewhere:
alias grep='grep --color=always -i'
export  GREP_COLOR='7;33;34'


Corrections to TeX markup for P4_14 v1.0.5 spec

I was trying to create a PR for P4_14 v1.0.5 spec, but found at least on my Ubuntu 18.04 machine that TeX was failing due to a few things, which at least in my testing these changes fix.


failed saving scheduler state

Since upgrading (now on 2.8.2), I get this warning at the end of every pipeline:
WARNING:luigi.scheduler:Failed saving scheduler state
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/luigi/scheduler.py", line 458, in                                                                                dump
with open(self._state_path, 'wb') as fobj:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/luigi-server/s                                                                                tate.pickle'
WARNING:luigi.scheduler:Failed saving scheduler state
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/luigi/scheduler.py", line 458, in                                                                                dump
with open(self._state_path, 'wb') as fobj:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/luigi-server/s                                                                                tate.pickle'

I am having this issue. I am running Luigi 3.0.3 @simonm3 Did you managed to solve this issue? if yes how ?

This is a different problem. Probably related to this:
https://github.com/tornadoweb/tornado/issues/2608


Error: Command failed with exit code 1 (EPERM): ./gradlew assembleDebug -x bundleReleaseJsAndAssets

Аfter hitting rnv run -p android it crashed with the following error,after loading the android emulator:
To Reproduce
Just run rnv run -p android in the terminal

Desktop (please complete the following information):

OS:  macOS Catalina 10.15.5
Node Version: 0.30.2-alpha.2
RNV Version: 0.30.2-alpha.2

Tried to clean the gradle with ./gradlew clean but it fails again
Thank you

@Ivanov89 could you upgrade rnv to final 0.30.2. there were some extra fixes added before final release

@pavjacko , the error still exists unfortunately:
`│ ⚠  $ rnv run -p android -r - WARNING: You are running $rnv v0.30.3 against project built with rnv v0.30.2-alpha.2. This might result in unexpected behaviour!
It is recommended that you run your rnv command with npx prefix: $ npx rnv run -p android -r . or manually update your devDependencies.rnv version in your package.json.
│ ✅ Found active emulator! emulator-5554. Will use it
│ 🛑  $ rnv run -p android -r - ERRROR! COMMAND:
./gradlew assembleDebug -x bundleReleaseJsAndAssets
FAILED with ERROR:
Error: Command failed with exit code 1 (EPERM): ./gradlew assembleDebug -x bundleReleaseJsAndAssets
at makeError (/usr/local/lib/node_modules/rnv/node_modules/execa/lib/error.js:58:11)
at handlePromise (/usr/local/lib/node_modules/rnv/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────⠋ emulator: INFO: QtLogger.cpp:68: Warning: Failed to get QCocoaScreen for NSObject(0x0) ((null):0, (null))%    `

Hmm then it might be something different.  can you run rnv run -p android -r -i and post the error log there should be more detailed gradle error visible

So this is the error log after hitting rnv run -p android -r -i :
`2020-06-26T14:13:40.791+0300 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop
undefined
generateOptions true
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 6/26/2020, 2:13:41 PM                                         │
│  $ rnv run -p android -r -i                                                  │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 0.30.3                                                    │
│  Project Name ($package.name): CMSCasino                                     │
│  Project Version ($package.version): 0.1.0                                   │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): android                                                      │
│  Engine ($.platforms.android.engine): engine-rn                              │
│  App Config (-c): cmscasino-stage                                            │
│  Build Scheme (-s): debug                                                    │
│  Supported Platforms: android(ejected), ios(ejected)                         │
│  Env Info: darwin | x64 | node v12.12.0                                      │
│  Executed Time: 0h:0m:10s:723ms                                              │
│                                                                              │
│ ⚠  $ rnv run -p android -r -i - WARNING: platformTemplatesDirs should be placed inside "paths" object in your /Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino/renative.json
│ ⚠  $ rnv run -p android -r -i - WARNING: Extra platform androidwear will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ ⚠  $ rnv run -p android -r -i - WARNING: Extra platform androidtv will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ 🛑  $ rnv run -p android -r -i - ERRROR! COMMAND:
./gradlew assembleDebug --debug -x bundleReleaseJsAndAssets
FAILED with ERROR:
Error: Command failed with exit code 1 (EPERM): ./gradlew assembleDebug --debug -x bundleReleaseJsAndAssets
at makeError (/usr/local/lib/node_modules/rnv/node_modules/execa/lib/error.js:58:11)
at handlePromise (/usr/local/lib/node_modules/rnv/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘`

@Ivanov89
strange if you getting ONLY DaemonClientConnection] thread 1: connection stop and nothing else.
I noticed your platforms (android, ios) are marked as ejected. is that on purpose? if not can you remove platformTemplatesDirs from your renative.json manually or run rnv platform connect
and try rnv run -p android -r -i again so your project will use latest native templates
Further down you could navigate to ./platformBuilds/cmscasino-stage_android and run ./gradlew assembleDebug --debug -x bundleReleaseJsAndAssets manually if something obvious pops up

I fixed this exact error by removing the dash (-) from my project name everywhere. I had an error further up that said
AAPT: error: attribute 'android:name' in <activity> tag must be a valid Java class name.
Looks like you have folders named cms-casino. Try renaming to cmsCasino

@pavjacko ,
I need that platforms to be ejected,
and I still cannot run neither on simulator, neither on device, the following error occurs:
`BUILD FAILED in 791ms
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 7/6/2020, 11:42:11 AM                                         │
│  $ rnv run -p android -d                                                     │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 0.30.3                                                    │
│  Project Name ($package.name): CMSCasino                                     │
│  Project Version ($package.version): 0.1.0                                   │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): android                                                      │
│  Engine ($.platforms.android.engine): engine-rn                              │
│  App Config (-c): cmscasino-stage                                            │
│  Build Scheme (-s): debug                                                    │
│  Supported Platforms: android(ejected), ios(ejected)                         │
│  Env Info: darwin | x64 | node v12.12.0                                      │
│  Executed Time: 0h:0m:6s:981ms                                               │
│                                                                              │
│ ⚠  $ rnv run -p android -d - WARNING: platformTemplatesDirs should be placed inside "paths" object in your /Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/renative.json
│ ⚠  $ rnv run -p android -d - WARNING: Extra platform androidwear will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ ⚠  $ rnv run -p android -d - WARNING: Extra platform androidtv will be ignored because it's not configured in your ./renative.json: { defaults.supportedPlatforms } object.
│ 🛑  $ rnv run -p android -d - ERRROR! COMMAND:
./gradlew assembleDebug -x bundleReleaseJsAndAssets
FAILED with ERROR:
Error: Command failed with exit code 1 (EPERM): ./gradlew assembleDebug -x bundleReleaseJsAndAssets
at makeError (/usr/local/lib/node_modules/rnv/node_modules/execa/lib/error.js:58:11)
at handlePromise (/usr/local/lib/node_modules/rnv/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
`
Will be appreciate if that can be fixed, because I am blocked now...
Thank you !

@CiaranPearse ok so wrt Activity.
by default AndroidManifest.xml is generated with
...
<activity
          android:name=".MainActivity"
...

that should correspond to EXACT acitivy location:
platformBuilds/<appConfig>_android/app/src/main/java/rnv/MainActivity.kt
and your MainActivity.kt should have package:
package com.xxx.xxx

...

defined same as your app id id platformBuilds/<appConfig>_android/app/build.gradle
defaultConfig {
        applicationId "com.xxx.xxx"

normally this is autogenerated by rnv but I'll assume you're ejected so you need to pay attention to that

@Ivanov89 it's hard to debug ejected projects as it is not possible to for me to replicate your env and platformTemplates setup because it's only available in your project
but could you try following:
navigate to ./platformBuilds/<appConfig>_android and run ./gradlew assembleDebug --debug -x bundleReleaseJsAndAssets manually
and see/share exact error do you get?

@pavjacko , ok so after the above command that is the exact error:
 vice] Worker lease root.1 completed (0 worker(s) in use) 2020-07-06T12:46:44.040+0300 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 6: released lock on root.1 2020-07-06T12:46:44.040+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]  2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]  2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong: 2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':app'. 2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Failed to notify project evaluation listener. 2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]    > 'org.gradle.api.file.DirectoryProperty org.gradle.api.file.ProjectLayout.directoryProperty(org.gradle.api.provider.Provider)' 2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]  2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try: 2020-07-06T12:46:44.041+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.  Run with --scan to get full insights. 2020-07-06T12:46:44.042+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]  2020-07-06T12:46:44.042+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org 2020-07-06T12:46:44.042+0300 [WARN] [org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler]  Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings 2020-07-06T12:46:44.042+0300 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]  2020-07-06T12:46:44.042+0300 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1s 2020-07-06T12:46:44.042+0300 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Run build' 2020-07-06T12:46:44.042+0300 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Run build' completed 2020-07-06T12:46:44.054+0300 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs) 2020-07-06T12:46:44.062+0300 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs) 2020-07-06T12:46:44.063+0300 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.014 secs 2020-07-06T12:46:44.064+0300 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for Build Output Cleanup Cache (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/buildOutputCleanup) 2020-07-06T12:46:44.064+0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on Build Output Cleanup Cache (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/buildOutputCleanup). 2020-07-06T12:46:44.065+0300 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for cache directory md-rule (/Users/Ivanov/.gradle/caches/6.3/md-rule) 2020-07-06T12:46:44.066+0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory md-rule (/Users/Ivanov/.gradle/caches/6.3/md-rule). 2020-07-06T12:46:44.066+0300 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for cache directory md-supplier (/Users/Ivanov/.gradle/caches/6.3/md-supplier) 2020-07-06T12:46:44.066+0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory md-supplier (/Users/Ivanov/.gradle/caches/6.3/md-supplier). 2020-07-06T12:46:44.067+0300 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopping 0 deployment handles 2020-07-06T12:46:44.068+0300 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopped deployment handles 2020-07-06T12:46:44.068+0300 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for checksums cache (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/checksums) 2020-07-06T12:46:44.068+0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on checksums cache (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/checksums). 2020-07-06T12:46:44.069+0300 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for file hash cache (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/6.3/fileHashes) 2020-07-06T12:46:44.069+0300 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on file hash cache (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/6.3/fileHashes). 2020-07-06T12:46:44.069+0300 [DEBUG] [org.gradle.cache.internal.DefaultPersistentDirectoryStore] VCS Checkout Cache (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/vcs-1) has last been fully cleaned up 0 hours ago 2020-07-06T12:46:44.069+0300 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache VCS Checkout Cache (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/vcs-1) was closed 0 times. 2020-07-06T12:46:44.069+0300 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache VCS metadata (/Users/Ivanov/Desktop/Development.nosync/LobbyApp-RNV/cms-casino-app/platformBuilds/cmscasino-stage_android/.gradle/6.3/vcsMetadata-1) was closed 0 times. 2020-07-06T12:46:44.079+0300 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build. 2020-07-06T12:46:44.208+0300 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: org.gradle.launcher.daemon.protocol.CloseInput@6b92fe48 2020-07-06T12:46:44.208+0300 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 17: dispatching class org.gradle.launcher.daemon.protocol.CloseInput 2020-07-06T12:46:44.209+0300 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Received result Success[value=org.gradle.launcher.exec.BuildActionResult@61eaec38] from daemon DaemonInfo{pid=28481, address=[b2e90d32-f9f6-4e79-a3d7-8a736f520d37 port:64862, addresses:[/<IP_ADDRESS>]], state=Idle, lastBusy=1594028768606, context=DefaultDaemonContext[uid=7ed82f8b-d85b-4a90-a32d-304a3583bdd1,javaHome=/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home,daemonRegistryDir=/Users/Ivanov/.gradle/daemon,pid=28481,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=BG,-Duser.language=en,-Duser.variant]} (build should be done). 2020-07-06T12:46:44.209+0300 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished 2020-07-06T12:46:44.209+0300 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop

@Ivanov89 hmm seem very generic:
FAILURE: Build failed with an exception. 2020-07-06T12:46:44.041+0300
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2020-07-06T12:46:44.041+0300
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]

What went wrong: 2020-07-06T12:46:44.041+0300
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':app'. 2020-07-06T12:46:44.041+0300
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Failed to notify project evaluation listener. 2020-07-06T12:46:44.041+0300
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > 'org.gradle.api.file.DirectoryProperty org.gradle.api.file.ProjectLayout.directoryProperty(org.gradle.api.provider.Provider)' 2020-07-06T12:46:44.041+0300
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2020-07-06T12:46:44.041+0300
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try: 2020-07-06T12:46:44.041+0300
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. Run with --scan to get full insights. 2020-07-06T12:46:44.042+0300
[ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1s 2020-07-06T12:46:44.042+0300

but this is curious:
BUILD FAILED in 1s
indicates something fundamental is to right. maybe your SDK?
could you check
platformBuilds/<appConfig>_android/local.properties see if you have correct paths?
also you might open platformBuilds/<appConfig>_android directly in Android Studio and try to run it from there see if you won't get some immediate issues with your android setup?

@pavjacko Those are identical. Also I didn't eject. This is a fresh project pretty much put of the box.
The issue for me has popped up again. But only on AndroidTV. Android (phone) works fine as well as iOs & Web.

@CiaranPearse could you check following:

what is your JDK version? mind you only 1.8.x is recommended as stable to use (tested with 1.8.0_131)
what is your gradle version? androidtv has been tested specifically with distributionUrl=https://services.gradle.org/distributions/gradle-4.10.1-all.zip
what is your buildToolsVersion in build.gradle? androidtv has been tested with buildToolsVersion '28.0.0'

@pavjacko , I changed that line from gradle-wrapper.propertiesto :
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip , because it was 4.0.4 оr something like that and now it is working !  : )
Thanks for your help anyway!
Todor

any one solve this issue??


Implementing PartialEq + Eq for Reference, and also for all ReferenceType

Fixes #87

@koute I improved the performance of PartialEq.
I also decided not to implement PartialEq and Eq for the Handle types. I couldn't think of any reason for comparing them for equality, and in any case we can always add in equality later.
I think this is ready to merge now.

LGTM! Thanks!


Are you going to add bookmark?

Just a question?
Are you going to implement bookmark system coz epub.js bookmark; i think it's broke, like getting the Chapter Name from CFI range.
I post this issue https://github.com/futurepress/epub.js/issues/839
Can you look into that...
BTW awesome work here man. :+1: learn a lot form your code.

Soooo what's the answer?

I actually started working on it a few days ago, but I've been really busy recently. I will be adding it though.


Update recommendation of Public IP Address Usage

According to this article; https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-test-failover-to-azure
After sharing this document with our client to explain the usage of a test failover, a concern was raised by them which I agree with. In point 6.

To initiate an RDP connection to the Azure VM, you need to add a public IP address on the network interface of the failed over VM.

We have recommended to our client that we will not be utilizing direct public IP's attached to Network Interfaces. This is generally bad practice (while it's a test failover, the machine can potentially contain important data/ software or otherwise).
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/migrate/azure-best-practices/migrate-best-practices-networking#best-practice-control-public-ip-addresses

As a best practice, VMs shouldn't be configured with a public IP address.

My feedback is to suggest other alternatives, such as the usage of a centralized bastion host in a DR environment for test failovers, using vnet peering across these isolated networks. This will ensure that the machine does not have a direct public IP assigned, while keeping the vnet isolated away from the production environment.
Please look at redesigning this recommendation with a best practice approach, as it leads to opening potential security concerns for people following this.

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

ID: 6ea27ad3-31a1-5893-a4f5-d9782c9b492b
Version Independent ID: 882d909a-ed50-f03d-302a-16e1b768e8a2
Content: Run a test failover (disaster recovery drill) to Azure in Azure Site Recovery - Azure Site Recovery
Content Source: articles/site-recovery/site-recovery-test-failover-to-azure.md
Service: site-recovery
GitHub Login: @V-SSenthilna
Microsoft Alias: v-ssenthilna

@nubgamerz - Thanks for bringing this to our attention. We will investigate it further and update you shortly.

@nubgamerz - thanks for bringing up the suggestion. We will add the recommended actions to our documentation to better enable the users.

@nubgamerz -  We have updated the Doc and it will be live once its merged.  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


v1.6.12

stop handling if content type is not text #27
update travis config
add FETCH_TIME to expand timeout

Changes Unknown when pulling<PHONE_NUMBER>338440e4f888cafaf4c77203026904 on dev into ** on master**.

Need to improve coverage.


how to save rolling trained models ?

❓ Questions and Help
hi,
I know that we can save trained models with R.save_object(trained_model=model). but in the rolling example where the model is trained like : "trainer  = TrainerR(); trainer(tasks)". I want to save all the trained models , but I am not sure how to add such a  save model option?
thanks

I've already know the answer: params.pkl~~


Tny vs2017

I hope this is what you wanted. This is what I used to run the unit tests. Lemme know if there are any questions / issues.

This was just a quick way to get VS2017 to accept the CMake file. I use the File|Open|CMake... to open it. I  downloaded and build the gc-7.6.0 and build all libs with CMake and left them in the [x86|x64]-[Release|Debug] dirs. I changed the paths in the CMake file manually. Same goes for the boost stuff. I justed pointed CMake to the location.

I've tried this request but still got many compilation errors which I fixed manually. Some of them looked like restrictions of c++14 (I wasn't able to use c++17). But also I had many warnings for unused variables and type conversion (from count_t to size_t).
In the end I managed to get something working for flex_vector. However the numeric result were Ok the unit test system reported some memory leaks.

What version of the compiler are you using? I tested with 15.5 preview and the 15.4.4.

Hi! What is the state of this one? Do you think you have time to make it work? Are you using the library on some Vistual Studio projects at the moment?

I have not made any further changes. I continually retry the version with every build that comes out, both VS 2017 and VS 2017 Preview, but unfort. there are still crashes with the set and map tests (Integer Division by Zero in dada.h). You said that you would look into it,

Can you push your code to a branch so I can give it a try?

Which is what I did.

I have a few hypotheses on what the problem can be but it's probably
fastest if I just try it out myself.

so I was kind of hoping for some feedback from you.

tnovotny<EMAIL_ADDRESS>writes:

I have not made any further changes. I continually retry the version with every build that comes out, both VS 2017 and VS 2017 Preview, but unfort. there are still crashes with the set and map tests (Integer Division by Zero in dada.h). You said that you would look into it,

Can you push your code to a branch so I can give it a try?

Which is what I did.

I have a few hypotheses on what the problem can be but it's probably
fastest if I just try it out myself.

so I was kind of hoping for some feedback from you.

Hi, thanks for the reminder :)  I'll look into that, sorry it took me so
long to get back to you!
--
∿∿∿  https://sinusoid.al
∿∿∿  https://sinusoid.es

#60 supersedes this PR. Thanks y'all for your contributions!


autoenv: ctr-c exit the shell

In folder where is a .env file pressing ctr-c cause the shell to exit

Duplicate of #888?

Don't know, but I noticed that if I disable 'syntax-highlighting'  and 'history-substring-search'  I don't have the issue. I went back to old sorin version and all it's working fine

Both? Disable only syntax-highlighting.


Return Type Enum

I would like to be able to return an enum from a handler. Currently, it complains that the proc-macro derive panicked when deriving ExportType. This is especially important for error handling as I want to return a Result<..., MyError> type.
PS: Thanks for building this, it's exactly what I've been looking for!

Thanks for the report!
I've just pushed a fix, if you bump qubit to 0.2.1 hopefully your problem will be solved. Feel free to re-open if that doesn't do the trick.


Add version: Google.AndroidStudio.Canary version 2<IP_ADDRESS>

Removing DisplayVersion from 2<IP_ADDRESS> because 2022.1.x.x has the same DisplayVersion (2022.1). Keeping DisplayVersion on earliest version (2<IP_ADDRESS>) in order to not break pipelines by having same DisplayVersion on multiple versions.

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.2 schema?

Microsoft Reviewers: Open in CodeFlow

Will split into two separate pull requests.


Suggest NumericUnderscores

As per https://github.com/haskell/haskell-ide-engine/issues/1029 by @alanz - requires #577 to be implemented first (or to remain on the pile for about 3 years first)

I argue that this should only be used for longer numbers.  I see this was also mentioned in https://github.com/haskell/haskell-ide-engine/issues/1029
Having applied this to a codebase with a lot of dates, it's suggested underscores in all of the years in our codebase and satisfying the hint was quite invasive.
Would it be possible to limit this to a minimum number of digits?  Years (below 10,000) never use a thousands separator and style guides often suggest that (at least in American styles), comma separators aren't used for four-digit numbers.

@dustin - that seems very sensible - making 2023 turn in to 2_023 seems horrible. Are you interested in writing a patch?

@ndmitchell do you have any reservations for my PR?

Sorry @dustin, was between computers, this looks great and is all now merged. Would a release be useful? Or shall I just roll it into the next one?

Thanks so much.  It sounds like we are fine without a release, so nothing urgent here.


use common-lisp instead of lisp in code blocks

This way the syntax highlighting would be better in GitHub.
What do you think?

Can you give an example where they're different?

If we find a difference in the highlighting, we can revisit and reopen this, but I consider the case closed for now.