Snowflake configuration file depends on commented "default" values

In the DataDog and Snowflake integration, the DataDog agent fails a check if the database and schema parameters are commented out in the configuration file. I added below the error I get when these parameters are commented out in the configuration file.
The solution was to uncomment both parameters and leave the default value.
Dec 03 18:32:52 datadog-snowflake-****** agent[5961]: 2021-12-03 18:32:52 UTC | CORE | ERROR | (pkg/collector/worker/check_logger.go:68 in Error) | check:snowflake | Error running check: [{"message": "module 'datadog_checks.snowflake.config_models.defaults' has no attribute 'instance_schema_'", "traceback": "Traceback (most recent call last):\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py\", line 992, in run\n    initialization()\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py\", line 407, in load_configuration_models\n    instance_config = self.load_configuration_model(package_path, 'InstanceConfig', raw_instance_config)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py\", line 426, in load_configuration_model\n    config_model = model(**config)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/pydantic/main.py\", line 404, in __init__\n    values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/pydantic/main.py\", line 1040, in validate_model\n    v_, errors_ = field.validate(value, values, loc=field.alias, cls=cls_)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/pydantic/fields.py\", line 706, in validate\n    v, errors = self._apply_validators(v, values, loc, cls, self.pre_validators)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/pydantic/fields.py\", line 913, in _apply_validators\n    v = validator(cls, v, values, self, self.model_config)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/pydantic/class_validators.py\", line 281, in <lambda>\n    return lambda cls, v, values, field, config: validator(cls, v, field=field)\n  File \"/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/snowflake/config_models/instance.py\", line 61, in _ensure_defaults\n    return getattr(defaults, f'instance_{field.name}')(field, v)\nAttributeError: module 'datadog_checks.snowflake.config_models.defaults' has no attribute 'instance_schema_'\n"}]

Additional environment details (Operating System, Cloud provider, etc):
Installing DataDog in an AWS EC2 instance running Canonical, Ubuntu, 20.04 LTS, amd64 focal image build on 2021-11-29 through the following command:
DD_AGENT_MAJOR_VERSION=7 DD_API_KEY="<DATADOG_API_KEY>" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script.sh)"

As described in the DataDog agent upgrade documentation
Steps to reproduce the issue:

Install the DataDog agent in an EC2 instance with the command mentioned above through user data.
Edit the configuration file (without uncommenting the database and schema parameters)
Check the logs: journalctl -feu datadog-agent

Describe the results you received:
DataDog agent throws an error, AttributeError: module 'datadog_checks.snowflake.config_models.defaults' has no attribute 'instance_schema_'
Describe the results you expected:
DataDog agent should get the default values for optional parameters database and schema when they are commented in the configuration file (default values are SNOWFLAKE and ACCOUNT_USAGE, respectively.
Additional information you deem important (e.g. issue happens only occasionally):
Maybe this issue is only about the schema parameter, I am not sure.

Hi @lucas-caetano-rodrigues thank you for the report! Sorry about the trouble- we are aware of this issue and have addressed it with the following PR:  https://github.com/DataDog/integrations-core/pull/10714. You can try out the fixed version by installing version 4.0.1 of the snowflake integration, and this fix will be available by default in the next version of the agent. I believe the issue only pertains to schema, but let us know if you have seen otherwise.

Hi @sarah-witt, I'm glad that the issue has already been addressed, thank you!


CFM-1555 DataHub CSD - change authorizer default configuration

See detailed description in the commit message.

@vbrodetskyi is this good to be merged or shall we rather wait for some more comments?

@lajosrodek @doktoric could you please merge this PR.


Error on "Part 1/Lifecycle/beforeUpdate and afterUpdate"

URL
https://svelte.dev/tutorial/update
Issue
The code snippet on the left pane includes this part:
beforeUpdate(() => {
	autoscroll = div && (div.offsetHeight + div.scrollTop) > (div.scrollHeight - 20);
});

The autoscroll calculation is wrong, it should be replaced with:
autoscroll = div && (div.offsetHeight + div.scrollTop) < (div.scrollHeight + 20);
Screenshots
To replicate, scroll to the top of the chat div.
Before fix (does not scroll down after user input):

After fix (scrolls down after user input):

The code is correct. It's not supposed to scroll down if you've scrolled backwards in the chat, because that would be annoying — it only autoscrolls if you're within 20px of the bottom. This is how basically all chat interfaces work. With the proposed change, autoscroll would always be true


mlucas.sh fails on Fedora 40 Asahi Remix, M2 processor

The output of lspcu on M2 CPU contains Thread(s) per core twice. As a result, the HP variable has a newline in it: 1\n1. That leads to many error messages in the script (some are very confusing). A workaround is to apply sort -u to the sed output in the HP assignment, but it would still break if the values are different. Perhaps the newline can be detected and reported. I'm attaching the complete output of lscpu.
lscpu-out.txt

Thank you for the bug report and the lscpu output. I did not realize that Thread(s) per core could be output more than once. The solution is to select the largest value with sort -nr | head -n 1. I will update the script to do this.
For future reference, you could run Bash with the -e option so that it exits after the first error:
bash -e -o pipefail -- mlucas.sh [...]


[docs] document one more workaround for CMake and MinGW build and fix typos

The MinGW Makefiles generator no longer issues an error if sh.exe is present in the environment’s PATH.
https://cmake.org/cmake/help/v3.17/release/3.17.html#other-changes

Refer to #3078.

Looks good, thanks!


KAFKA-4701: Add dynamic truststore manager.

Allow kafka brokers to dynamically reload truststore without restarting.

Update the pull request to use reloadable trust manager only when needed.

I was just looking into implementing this but glad I checked the PRs first. Big thumbs up to merging this!

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6332/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6317/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6706/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6721/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6707/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6722/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6723/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6708/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6709/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6724/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6725/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6710/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6726/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6711/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6727/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6712/
Test PASSed (JDK 8 and Scala 2.12).

Is there anything left (except merge conflicts) to get this merged?
It's very vital in a HA Kafka cluster.

@syndbg Depends. This patch is good for version 1.0.0 or older. There is a new pull request https://github.com/apache/kafka/pull/4541 for trunk.

Guys, what's the issue with merging this?
This is very critical for achieving a highly-available kafka cluster with TLS. (out-of-the-box)

This is an issue for reloading certificates without restarting services.

Closing this pull request since it is outdated. For any Kafka user who is interested in this pull request: if you are looking for ways to reload truststore without restarting brokers, please check out AdminClient came with the latest Kafka release. If you are still looking for fully automated truststore reload and would like to create your own patch, please check out my other pull request: https://github.com/apache/kafka/pull/4541.


Should try harder to delete AWS resources

Sometimes task failures are fatal, for example:
TASK [roles/kraken.services : Wait for ELBs to be deleted] *********************
task path: /workspace/ansible/roles/kraken.services/tasks/kill-services.yaml:61
Using module file /usr/lib/python2.7/site-packages/ansible/modules/extras/cloud/amazon/ec2_elb_facts.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1487696043.98-278874384307395 `" && echo ansible-tmp-1487696043.98-278874384307395="` echo $HOME/.ansible/tmp/ansible-tmp-1487696043.98-278874384307395 `" ) && sleep 0'
<localhost> PUT /tmp/tmpclrr3E TO /root/.ansible/tmp/ansible-tmp-1487696043.98-278874384307395/ec2_elb_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1487696043.98-278874384307395/ /root/.ansible/tmp/ansible-tmp-1487696043.98-278874384307395/ec2_elb_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'python /root/.ansible/tmp/ansible-tmp-1487696043.98-278874384307395/ec2_elb_facts.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1487696043.98-278874384307395/" > /dev/null 2>&1 && sleep 0'
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
  File "/tmp/ansible_UihhU0/ansible_module_ec2_elb_facts.py", line 245, in <module>
    main()
  File "/tmp/ansible_UihhU0/ansible_module_ec2_elb_facts.py", line 237, in main
    elbs=elb_information.list_elbs())
  File "/tmp/ansible_UihhU0/ansible_module_ec2_elb_facts.py", line 209, in list_elbs
    if existing_lb.name in self.names:
TypeError: argument of type 'NoneType' is not iterable

fatal: [localhost]: FAILED! => {
    "attempts": 1,
    "changed": false,
    "failed": true,
    "invocation": {
        "module_name": "ec2_elb_facts"
    },
    "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_UihhU0/ansible_module_ec2_elb_facts.py\", line 245, in <module>\n    main()\n  File \"/tmp/ansible_UihhU0/ansible_module_ec2_elb_facts.py\", line 237, in main\n    elbs=elb_information.list_elbs())\n  File \"/tmp/ansible_UihhU0/ansible_module_ec2_elb_facts.py\", line 209, in list_elbs\n    if existing_lb.name in self.names:\nTypeError: argument of type 'NoneType' is not iterable\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE"
}

PLAY RECAP *********************************************************************
localhost                  : ok=24   changed=1    unreachable=0    failed=1

rodin:k2 dwat$

When this happens we are stuck manually deleting AWS resources. Auditing the code to avoid python exceptions is the right way to fix this. However bug will always be present, so this issue is a suggestion that we add a --force-delete option to cleanup AWS resources independent of service shutdown, etc.

Another instance: ```TASK [roles/kraken.services : Wait for api server to become available in case it's not] ***
[WARNING]: Unable to find '/root/.kraken/dewVitalogy/admin.kubeconfig' in expected paths.
fatal: [localhost]: FAILED! => {"failed": true, "msg": "{{ lookup('file', kubeconfig)|from_yaml|json_query('clusters[*].cluster.server') }}: An unhandled exception occurred while running the lookup plugin 'file'. Error was a <class 'ansible.errors.AnsibleError'>, original message: could not locate file in lookup: /root/.kraken/dewVitalogy/admin.kubeconfig"}
PLAY RECAP *********************************************************************
localhost                  : ok=22   changed=0    unreachable=0    failed=1
rodin:k2 dwat$ ```

@venezia will create a spec issue for a garbageman helper app, both of these issues were resolved.


XSocketManager::GetLocalMachineAddresses() returns an empty list

Hello,
I'm trying to implement some network functionalities in my UWP holographic app. My plan is to use RakNet API so your CommonUniversal project looks exactly what I need.
I statically linked XTools.Common.lib and RakNet_UAP_x86_Release.lib to my project. Then I tried to run a RakNet example application but it fails on retrieving the local ip addresses: both RakPeerInterface::GetInstance()->GetNumberOfAddresses() and XTools::XSocketManager::GetLocalMachineAddresses() return an empty list.
I managed to send <IP_ADDRESS> broadcast packets so I guess that the RakNet setting is ok. However I cannot receive broadcast packets or, as I said, get the local IPs.
Is this a limitation of the UWP? Should I give special permissions to my app?
Thanks

Hi,
it's not an answer to your question, but nice to know someone else also wants to work with an UWP build of Raknet (for whatever reason).
I just discovered today that there is a Raknet build included in this toolkit, and I tried to make my own sample code work with that. A word of caution - I tried to use the Raknet DLL with a managed DLL and call some functions based on sample code from the official Raknet repo, and the Socket implementation for UWP does not work with these... I'm still investigating what the actual problem is, but it seems that not everything works the same way...
Best regards ...

Thank you @belveder79.
I'd like to share with you my current test, maybe you'll find it interesting.
I'm creating a simple local server+client application: using XTools::XSocketManager API the client connection works just fine; using RakNet API directly instead, my peers cannot receive any packet.
#define uwplog(msg) { std::wstringstream ss; ss << msg; OutputDebugStringW(ss.str().c_str()); }

class SimpleConnectionListener : public XTools::IncomingXSocketListener
{
public:
    void OnNewConnection(const XTools::XSocketPtr& newConnection)
    {
        uwplog("New connection: " << newConnection->GetID()); // this works!
    }
};

// The main function creates an IFrameworkViewSource for our app, and runs the app.
[Platform::MTAThread]
int main(Platform::Array<Platform::String^>^)
{

    char* host = "localhost";
    int port = 1234;

#if true

    XTools::XSocketManagerPtr server = XTools::XSocketManager::Create();

    SimpleConnectionListener *listener = new SimpleConnectionListener();
    XTools::ReceiptPtr listenerReceipt = server->AcceptConnections(port, 2, listener);
    server->Update();

    XTools::XSocketManagerPtr client = XTools::XSocketManager::Create();
    XTools::XSocketPtr connection = client->OpenConnection(host, port);

    while (true)
    {
        client->Update();
        server->Update();
        std::this_thread::sleep_for(std::chrono::milliseconds(5));
    }

#else

    RakNet::RakPeerInterface* server = RakNet::RakPeerInterface::GetInstance();
    RakNet::SocketDescriptor serverSocket(port, NULL);
    server->Startup(2, &serverSocket, 1);
    server->SetMaximumIncomingConnections(2);

    RakNet::RakPeerInterface* client = RakNet::RakPeerInterface::GetInstance();
    RakNet::SocketDescriptor clientSocket(0, NULL);
    client->Startup(1, &clientSocket, 1);

    client->Connect(host, serverSocket.port, NULL, 0);

    while (true)
    {
        while (RakNet::Packet *p = server->Receive())
            uwplog("Server received packet " << (int) p->data[0]);  // this doesn't work!

        while (RakNet::Packet *p = client->Receive())
            uwplog("Client received packet " << (int) p->data[0]);  // this doesn't work!
    }

#endif

    return 0;
}

Hi, thanks a lot for sharing that code snippet. I'm encountering exactly that problem right now, so it seems that I will give the XTools a try and ping you then...
Best,
Clemens

I solved it! :)
In UWP the main RakNet thread is disabled (you can see that RAKPEER_USER_THREADED is defined in RakNetDefinesOverrides.h). This means that the user has to manually call the RakPeer::RunUpdateCycle() method in the update cycle, as this comment says. I tried it and now I can receive packets correctly.
However, RakPeerInterface::GetInstance()->GetNumberOfAddresses() still returns an empty list...

you are my hero of the day! It seems to work so far... - did noth check the GetNumberofAddresses() stuff however...


Show product model on device info page

Display models "Easee Home", "Easee Charge" and "Charge Lite". Upcoming models "Charge Core" and "Charge Max" will be added as soon as the codes are available.

I guess this should change when new lib is released though?

Yes.


Project improvements

Some code optimizations and simplifications
Keys and servers are stored in .json files now
MultiTool builds and releases automatically now
Fixed some grammar typos

Thank you!


vcpkg bump

Description of the Change
finish migration of vcpkg data.
bump vcpkg version

Benefits
new vcpkg version fixes TBB issue on macos

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

CI on mac is failing because it does not get updated from this PR. I tested it manually and it builds. Once the PR is going to be merged we need to update vcpkg on macs and then the CI in this PR can be run once again to ensure everything is ok.


Stabilize tests

Rosetta having global thread-level objects that can be updated, there are some race conditions and thread safety issues during tests.

This sould be ok now following the work on #11 and #12


Fix Martin Correlation

Dear maintainers,
Thank you very much for developing this very useful library.
After reading the paper Martin1996 (https://www.sciencedirect.com/science/article/abs/pii/025527019504129X?via%3Dihub) and the dedicated chapter in the VDI Heat Atlas, it appeared that there is a variable mistake. The friction factors takes as input the chevron_angle and not the plate_enlargement_factor as suggested.
As chevron_angle are always considered to be in degrees elsewhere in the code, I kept them in degrees for Martin Correlation as well.
Best regards,
Pierre
PS: After reading the issues, it fixes some of the concerns of #54

Thank you Pierre!
I appreciate you following up on this. I am trying to get a new set of library releases out there soon.
Sincerely,
Caleb


BREAKING CHANGE(web-react): Remove Header deprecations #DS-651

Description
Instead of HeaderModern, now use Header and its structure.
Additional context
Only React related.
Issue reference
#DS-651

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Follow the PR Title/Commit Message Convention.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

coverage: 96.552%. remained the same when pulling aee5e6c0b62cd1c1cf68cc3977b92a3c4cd8d762 on bc/web-react-header-deprecation into 812c1dba147a53b9fc65ea4ad86d51b1e444070a on integration/bc-version-1.


Draft: add example service for go-vshard-router with tarantool example from origin vshard lib

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Fix

Problem

Description of why you made this PR

Solution

And how do you fix that problem

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme

So nothing as changed regarding https
    if ($scheme = http) {
        rewrite ^ https://$server_name$request_uri? permanent;
    }

This part as been removed from the NGINX because it is, since 4.3, part of NGINX core.

This part as been removed from the NGINX because it is, since 4.3, part of NGINX core.

Ok :slightly_smiling_face:
I think I misinterpreted the linter's comment about rewrite
I still have a little trouble understanding this redirection stuff... :confused:

!testme

For the description, if you're ok, I would suggest this:
"description" : {
        "en": "A remoteStorage server running as a nodejs web service with systemd",
        "fr": "Un serveur remoteStorage excécuté en tant que service web nodejs par systemd".
}

Thanks for all fixes :+1:


Can't require a local js file in the nuxt.config.js

Version
2.12
Reproduction link
http://www.google.com
Steps to reproduce
add a locale js file in the assets directory
add this blog in the nuxt.config.js
script: [
{
src: '~assets/js/script.js'
}
],
What is expected ?
to load that js file
What is actually happening?
can't load the file

This bug report is available on Nuxt community (#c10279)

Please provide a reproduction, see https://template.nuxtjs.org and reopen this issue


add autocorrect to unnecessary_field_alias #127

Closes #127

Could you please take a look at rubocop offences?

thank you so much 🙂


How to record higher quality videos?

I'm trying out the Model Predictive Control script provided in the docs. I notice that when setting enable_visualization=True when instantiating a CausalWorld environment, the real-time visualization of the CEM is very high resolution, which is great. However, the recording of the CEM obtained via gym.wrappers.monitoring.video_recorder.VideoRecorder has much poorer quality.
Is there a way to record the videos such that their resolution is as good as the real-time visualization, or at least better than what we currently obtain from the VideoRecorder?
I suspect that one would have to modify the render() function of CausalWorld to achieve this, but I don't know what exactly needs to be done.

Have you tried to change the _setup_viewing_camera in the env.render method?
Particularly self._render_width = 320 and self._render_height = 240
https://github.com/rr-learning/CausalWorld/blob/548e66c36fba01125cf6290992dfd833ae42709b/causal_world/envs/causalworld.py#L550-L581


Request: show bookmark button under tweets in timelines, not in the share menu

Request: show bookmark button under tweets in timelines, not in the share menu

It's fine where it is

It's extra click, but yes there's more important developments for sure


[BUG]: TeachableMachine on local machine

Hi, I saw a post that asked the same thing in 2019, now it's 2024, the same question, can TeachableMachine be run on a local machine fully offline without internet like running ReactJS?
Thank you.

Hi @kodenuklear
You can run it locally with Python... take a look on this article:
<EMAIL_ADDRESS>


more arg possibility

Describe the feature/change you'd like
after the last discussion on my question on the provider update #180 and going through the init, which I didn't see before and it was really helpful in fast search and access.
with that i want to ask if it's possible to add more similar set of args for example like:

accessing the content to play directly.
in case of tv shows or series, an addition arg to jump to a particular season or episode.

Will be adding this to v4 too.

Some of what you described has already been added to v4 but it's not there yet in my opinion.
I want to be able to search, select and play for example "nyan cat" from YouTube with a single command like so:
mov-cli -c 1 nyan cat

This will require us to introduce a new cli argument like -c and --choice to preselect search results.
And to make things even faster the prompt function should preselect for you if there's only a single choice to choose from.


Show / hide columns dynamically

Dynamically columns added show hide notworking on change false / true?

Please ask this question on our support forum: https://spectrum.chat/react-table. You will have more luck there while we actively work on the next major version of React Table. Thankyou!


wallet connect: add a convenience method for generating scopes and protocol definitions

Completed: https://github.com/TBD54566975/web5-js/pull/854


⚠ Samsung has degraded performance

In 7042803, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2531 ms

Resolved: Samsung performance has improved in d1ea085.


Errors in Documentation - Improve the README by adding some new sections and removing errors

Describe the bug
Hello team, I have found some errors in the documentation and would like to improve them. I even feel the need of adding some new sections to the Readme file such that it helps new developers in understanding more about the app technically.
Screenshots
I have used Grammarly to find errors in the existing readme. Please check the below screenshots for better understanding.

Additional context
I would like to improve the readme by removing the errors and add some new sections such as Features , Updates and Resources that can help new developers understand better about the project.
Please assign me to here. I am a gssoc'21 participant. Thank u @HimeshNayak  @avinashkranjan

I am a GSSOC'21 participant, can I work on this issue?

Go Ahead @devTejas

I am a GSSOC'21 participant, can I improve the REAADME file.

I am a GSSOC'21 participant, can I fix the grammatical issues and make the README file more comprehensive.

I'd like to work on this issue! (GSSOC participant)


A new bundle does not inherit resource policies from the item if the itemConditionStep was activated in submission

Describe the bug
I discoverd this when looking into dspace-angular#2665. I'm not entirely sure if this is a bug, but I think we should discuss it.
If an item is created in DSpace, it inherits resource policies from the collection (DEFAULT_ITEM_READ, DEFAULT_BITSTREAM_READ). These policies will be of type TYPE_INHERITED. If the itemAccessCondition is active in submission, it  will create item resource policies of the type TYPE_CUSTOM.
When a new bundle is creted, it will inherit resource policies from the item, unless resource policies of type ADMIN and of type TYPE_CUSTOM (see AuthorizeServiceImple in DSpace's backend). This leads to a situation where bundles do not inherite resource policies from items if the resource policies of the item are of type TYPE_CUSTOM for example because the itemAccessCondition set the resource policies on the item.
In a very short test, I changed the code to inherit also resource policies of type TYPE_CUSTOM. This lead to multiple identical resource policies being generated for an item.
I think we should inherit resource policies of type TYPE_CUSTOM and filter out identical resource policies. If there are reasons to not do this in general, we should at least do this when we create new bundles and inherit resource policies from their items. As this might have lager side-effects, I would like to discuss this.
To Reproduce
Steps to reproduce the behavior:

Create an item with a file for which you can create thumbnails (e.g. a PDF file)
Activate the itemAccessCondition in item-submission.xml
Create an item with a file for which you can create thumbnails (e.g. a PDF file)
run /dspace/bin/dspace filter-media
Check the resource policies of the bundle THUMBNAIL of both items

Expected behavior
Bundles should inherite resource policies of type TYPE_CUSTOM without creating duplicate resource policies.
Related work
dspace-angular#2665

@pnbecker : My immediate thought is that your suggestions here sound reasonable. We'd need to prove it out though by building some automated tests (ITs) to prove that the new inheritance behavior is correct.  (Automated tests are extremely useful here as they make sure we don't accidentally break permission inheritance again at a future time.)

@Micheleboychuk I think you have worked in this area of code. What do you think?


[Forensic] Warnings Material-UI

Several warnings are set in chrome's inspector and chrome logs when processing image:
Material-UI: You have provided a title prop to the child of . Remove this title prop Double Quantization or the Tooltip component.
Material-UI: You have provided a title prop to the child of . Remove this title prop Double Quantization or the Tooltip component.
Material-UI: You have provided a title prop to the child of . Remove this title prop Error Level Analysis or the Tooltip component.
Material-UI: You have provided a title prop to the child of . Remove this title prop WAVELET or the Tooltip component.
etc.

Warnings are repeating for any action on the page.
Extension log stack is growing and not responding if there is too many errors

Done


Fix outdated workspace

communication-administration has been deleted
ai-anomaly-detector was removed and replaced by -rest version

/check-enforcer override


Move PropTypes to separate dependency

In react > 16, prop types will be removed from the main package. There is a deprecation warning in 15.5. This takes care of it. Solve #42.

Watching, looking forward to getting rid of the console error :)

@vlad-ignatov Thanks for merging, can this be released to npm? Thank you.

@vlad-ignatov Please... 😊

@vlad-ignatov Can you transfer ownership if you can't maintain this anymore? I'd be willing to take it (with my personal account @glambertmtl)


try generating excel as one class per workbook, not one class per sheet

There are roughly 20 checklists and 20 extensions. Those combine to form 400 additional templates.
Stretch goal: organize the output so there's no one folder with 440 Excel files
either checklist based or extension based
or maybe we should just use a Makefile rule that moves after generation

Or a worksheets to workbooks Excel splitter>
see https://bard.google.com/chat/c0f71624d1baaa91


Add flexibility in CoexistenceGoal timing

endsAt/startsAt/endsWithin/startsWithin are insufficient to link activities together for the Clipper use case. These clauses do not provide a way to connect activities with a guaranteed buffer period between them. For example, movement that precedes an activity may require settling time during which that activity should not start. Currently this is achieved by specifying endsAt, which is often too strict and can decrease performance by adding simulation cycles or preclude the success of the goal depending on the model. Ideally users would specify an arbitrary window with lower and upper bounds relative to the coexisting activity's start and end time.
A more effective system would allow a user to specify not only one of the window boundaries in [starts|ends]Within, but both. This could be achieved by adding endsBy and endsAfter along with startsBy and startsAfter, or by adding complexity to the existing *Within arguments.

This seems like a side effect of (perhaps intentional) insufficient depth of modeling.
When you talk about "settling time", I'm guessing it is a loose proxy for some other unmodeled resource - like thermal load, vibrational energy, or some such thing.
Just trying to understand whether extending the constraint grammar is really the correct solution in this case.

I think that in most cases you're right, but I don't know that it means the constraint grammar isn't the right solution. For one, we already have a way of specifying relative timing for coexistence goals, but in my mind the current limitations are a bit arbitrary and artificial. Why does one of the boundaries have to be the start or end of the coexisting activity? Also, encoding this specific type of pattern in the mission model is a bit clunky since there is no first principles model that drives it -- we just have some waiting period after something else occurs. I've written that pattern in for other things, but it seems unwarranted here because its only purpose would be for scheduling and would often result in wasted computations

to underscore a specific issue Ansel is struggling with, the underlying activity model not only takes an uncontrollable duration to complete the setup turn for his observation, but that duration ends on certain discretization cycles (due to the way gnc commands are collected, dispatched, and observed). So it might not be possible to find a start time for A such that it exactly ends at B's start, only some discretization margin around that. But there's no way to express that margin either (EndsWithin is the wrong semantic, since it would allow intrusion into the settling time).

Joel, to answer your question about the physics of the situation, yes it is an unmodeled resource: namely the slowly dampening vibrational energy of the spacecraft (especially the very long solar arrays). Some observations require much more stringent pointing that than others and so more settling time. Modeling the mechanical vibration is out of scope for our model, though we could conceivably add some additional parent activity (SlewWithSettle?) with a "settleDuration" parameter that is just a dead waiting period tacked on to the nominal end of the main Slew activity.

@sschaffe It seems like a simplified model based on some operational guidelines could fit this problem well - encode what operators would put in for these settling times into a model.
Again, not saying that SHOULD be the solution, just that it COULD be a solution.

Working through your proposal, you would have an acceptableVibrationThreshold parameter to Slew activity, then put a waitUntil() condition within the Slew activity effect model to await that vibrationLevel resource reached the threshold? And the vibrationLevel resource would be eg a linearly (really exponentially...) decaying double?

Something like that, yeah.
The spirit of strategy is to use the parts of the Aerie system as they were/are modeled and designed.

I think there are plenty of valid business reasons to go a different route - restrictions on allocations of resources within the projects that adopt Aerie being a prime example.
In this case, it might be less cost to use a constraints mechanism than increase the depth of modeling and the associated dependencies there.
I think one of the nice things about the modeling approach is that you can surface issues of activity dependency/interference that you wouldn't necessarily think of.

I tend to agree with Dylan's design sense here. It feels like these kinds of assumptions about the flight system behavior ought to be modeled; in fact, I would argue that such assumptions are a model. I'm concerned about having bits of model scattered throughout the system. Ideally, the mission model should provide whatever(*) observable hooks are necessary for downstream use-cases.
(*) For those things that are behaviorally described by the mission model, anyhow. One of the motivators for external datasets was to relieve the model of reporting resources that aren't actually owned by or determined by the model, e.g. information properly contained in SPICE kernels, DSN allocation files, and other such external models. I don't think that's relevant here, but I wanted to make that subtlety explicit.

A couple thoughts regarding these philosophies:

No model can incorporate everything, or we'd live in a deterministic universe. One can always add more states to a model to trivialize all the downstream logic but that doesn't make it a good idea. In the extreme, you end up with one state that shows how many requirements are satisfied and it's the only one you care about. Merlin/Aerie is a tool that will be used for mission planning and operations but is not the end-all-be-all of the Clipper mission. I recognize that this leaves us with the question of what should we model if some things are to be omitted and assumptions must be made, which is the actual question at hand. As I said before, since the only reason we would include this in the model is to facilitate this particular scheduling logic, I'd rather omit it because...
Clipper has complex scheduling needs and a complex mission model and that complexity translates to decreased performance. Where possible and reasonable, it is advantageous to cut some corners. I would rather have fewer states and simpler scheduling logic in general, and especially for a detail as small as this. I know there are many others on the project who share my concerns about scheduling and until those concerns are assuaged I will err on the side of caution with regards to additions to the model and more complex  scheduling if the results are the same.
It is impossible to completely divorce modeling and scheduling for all but the most trivial use cases, and for a mission like Clipper it is a foregone conclusion that the mission model and scheduling rule structure will not be perfect at launch.
While you may disagree with this use case, based on Steve's comments it sounds like aerie already has the capability to provide this flexibility under the hood. I still don't see why it's so much more philosophically sound to allow some flexibility with the timing but not allow complete control over start and end windows. To be honest, I assumed it was just a first cut to provide functionality as quickly as possible and would eventually be updated anyway.

TL;DR - I see your points, but I'd still rather do it the wrong way

Ansel you beat me to it :P
Great points all around - I will add my 2 cents that I don't think we were particularly deliberate about this limitation of the Coexistence goal in the scheduling eDSL. It was most likely my lack of understanding of how TimeExpressions are intended to work that lead to this limitation:
https://github.com/NASA-AMMOS/aerie/blob/26a7d5d5f426495bde8fe89a4b900fb1933d38d7/scheduler-driver/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/timeexpressions/TimeExpression.java
I would support this extension to the Coexistence goal - in this particular case, I don't think it would violate any design principles. Perhaps the way to go would be to expose a richer "TimeExpression" interface

Bonus points if, before we try implementing this, @adrienmaillard or @sschaffe can drop a Java example of using a time expression to define an interval that doesn't include the anchor point - looking at the class, I'm having trouble figuring out how that would be expressed

While you may disagree with this use case

To avoid doubt, it's not that I disagree with the use-case. In fact, I think it's essential to drive forward based on use-cases. I think that there are tradeoffs with any design decision, here, and that we need to go into it eyes wide open, aware of the pros and cons of any option. To that end, I really appreciate your in-depth explanation of the business scenario you're working under -- it deeply informs any choice of solution.
I tend to prefer that things that the model need not know about not be in the model, so I think our philosophies are aligned here. However, I am also a big proponent of using existing capabilities as far as we can; then asking how much further we could push them within their remit; then asking what additional features might better serve purposes.
Assuming Steve is correct that the scheduling engine already supports this kind of reasoning internally, that alleviates a lot of my own concerns about layering on additional complexity.

I am also a big proponent of using existing capabilities as far as we can
Agreed here, and to give @anselrd and @sschaffe et al. credit - they are doing all they can to creatively push the scheduling eDSL all the way to its limits

Completely agree with all that's been said. My point in the original questioning was not to dissuade from the scheduling goal solution, but to ensure the full conversation occurred such that, as @Twisol pointed out, a sufficient understanding of the trade offs and solution space are understood before prescribing a solution.
I'm fully satisfied with the scheduling grammar solution as long as it's well thought out and not just the nearest hammer.

I just wanted to provide a bit more context for this. I tried implementing my scheduling rule with settling time incorporated into the model. Let's define and example and use the canonical theme of bananas since this is the public github.

Activity Peel_Banana that peels (let's say) the top half of the banana and causes the /banana_stability state to be put into the UNSTABLE state. For 5 minutes after the Peel_Banana activity is over, the state will stay UNSTABLE, and if no other Peel_Banana activities occur, then after the 5 minutes is up the state will return to STABLE
We have another activity Eat_Banana that can only begin when the banana is STABLE. However, while eating the banana, the bottom half must be peeled which means that during the Eat_Banana activity the state returns to UNSTABLE, then consumption resumes after stability is again achieved within the Eat_Banana activity.

The scheduler will fail to place the Eat_Banana activity goal which includes an applyWhen(Discrete.Resource('/banana_stability').equal('STABLE')) clause, since the goal changes the '/banana_stability' windows on which it is predicated. The eDSL doesn't have a way to specify that this is specifically a precondition or a condition that must only be satisfied in order to place the activity and not one that must be true after the activity is simulated.

Propose to close it in favour of #995

Closing. Solved by #1069.


install hyperglass

Hello
when start installing hyperglass curl https://install.hyperglass.io | sudo bash
have modul error

done


Uml 758 session length

Purpose
Disassociates the cookie expiry from the length of a users session. This allows us to provide "you have been logged out because..." messages. It will also allow us to be specific about what things are allowed from an expired session, for instance it would be possible to provide downloads of LPA details on the viewer side outside of an expired session
Fixes UML-758
Approach
Changes have been made to the underlying session persistence layer that separates it's handling of the two types of expiry. A middleware has been written that is responsible for the cleanup of a session cookie once the session it contains has expired.
Learning
Altering the behat envrionment to expire sessions on the fly was tricky work.
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage decreased (-0.2%) to 80.344% when pulling 06cbd081af0bc56feea72987af5957e5765a220e on UML-758-session-length into 13ee0a61d907d2ecadf2c10ad2e4585cecaa0022 on master.


Add partial for history of changes to a pregnancy

Two steps here:

[ ] Create a partial for mongoid history
[ ] Adjust app/views/pregnancies/_menu.html.erb to include and display this tab pane
[ ] Display the 10 most recent edits to the pregnancy object and their user

Linked to #149

Work underway by @drownedout


Failed Context Types: Required context redux was not specified in Connector

Hi,
I am getting the following error
Warning: Failed Context Types: Required context `redux` was not specified in `Connector`. Check the render method of `Layout`.
TypeError: Cannot read property 'subscribe' of undefined
    at new Connector (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/redux/lib/components/createConnector.js:43:39)
    at ReactCompositeComponentMixin.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactCompositeComponent.js:135:16)
    at wrapper [as mountComponent] (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactPerf.js:70:21)
    at Object.ReactReconciler.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactReconciler.js:38:35)
    at ReactDOMComponent.ReactMultiChild.Mixin.mountChildren (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactMultiChild.js:192:44)
    at ReactDOMComponent.Mixin._createContentMarkup (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactDOMComponent.js:289:32)
    at ReactDOMComponent.Mixin.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactDOMComponent.js:199:12)
    at Object.ReactReconciler.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactReconciler.js:38:35)
    at ReactCompositeComponentMixin.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactCompositeComponent.js:247:34)
    at wrapper [as mountComponent] (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactPerf.js:70:21)
    at Object.ReactReconciler.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactReconciler.js:38:35)
    at ReactDOMComponent.ReactMultiChild.Mixin.mountChildren (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactMultiChild.js:192:44)
    at ReactDOMComponent.Mixin._createContentMarkup (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactDOMComponent.js:289:32)
    at ReactDOMComponent.Mixin.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactDOMComponent.js:199:12)
    at Object.ReactReconciler.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactReconciler.js:38:35)
    at ReactCompositeComponentMixin.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactCompositeComponent.js:247:34)
    at wrapper [as mountComponent] (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactPerf.js:70:21)
    at Object.ReactReconciler.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactReconciler.js:38:35)
    at ReactDOMComponent.ReactMultiChild.Mixin.mountChildren (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactMultiChild.js:192:44)
    at ReactDOMComponent.Mixin._createContentMarkup (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactDOMComponent.js:289:32)
    at ReactDOMComponent.Mixin.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactDOMComponent.js:199:12)
    at Object.ReactReconciler.mountComponent (/Users/deowardkotze/grad_connection/cc/campus/src/react-client/node_modules/react/lib/ReactReconciler.js:38:35)

The strange thing is that everything in the Layout component is working and the state is changing when I fire actions as expected. This is how layout component looks.
"use strict";

var React = require("react");
var Navigation = require("./navigation.js");
var Footer = require("./footer.js");
import * as LoginActions from "../actions/LoginActions";
import { bindActionCreators } from "redux";
import { Connector } from "redux/react";

function select(state) {
  return {userLoggedIn: state.loginstore.userLoggedIn};
}

export default class Layout extends React.Component {

  render() {
    return (
      <html>
        <head>
         ..........
        </head>
        <body>
            ..........
            <Connector select={select}>
              {({userLoggedIn, dispatch}) =>
                <Navigation userLoggedIn={userLoggedIn} {...bindActionCreators(LoginActions, dispatch)}/>
              }
            </Connector>

            {this.props.children}

            <Footer />
        </body>
        <script src="/public/client.min.js"></script>
      </html>
    );
  }
}

and I am including redux like this
export default class App extends React.Component {
  render() {
    const redux = createRedux(Client, this.props.initialState);
    return (
        <Provider redux={redux}>
        {() =>
          <Layout {...this.props} >
            <Router.RouteHandler {...this.props} />
          </Layout>
        }
        </Provider>
    );
  }
}

Why would I be getting this error even though everything seems to be working fine?

One thing first: redux instance should be initialized once and not in the render method. Also, why are you rendering the all html in the Layout component?
PS: which version are you using?

@emmenko : I am using react-engine to render my components server-side and I am using JSX for my templates so that the reason all my html is in Layout, the way react-engine works is that it passes all the initial data from server side to the client side components through props and it was the easiest way for met to get hold of the initialState so I can rehydrate the client-side stores. My current version of redux is ^0.12.0 (thats the way it's listed in package.json). Would it preferable to instantiate the redux instance outside of a component and if so why?

@emmenko: Ok I solved this issue by moving my stateful components out of Layout - so they form part of {this.props.children}, going to close this since it's not really  an issue with redux but rather a specific use-case when used in conjunction with react-engine.

@deowk sorry, been busy yesterday. Haven't used react-engine before, so I can't tell exactly what the problems was. Glad you managed to solve it.

@emmenko : I would be keen to add an example based on the counter or todo apps...I would like to contribute even if it's running tests or any other tasks you guys might require.

You mean with react-engine?

Yeah so examples with redux + react-engine

Sure, just create your own repo and when it's ready we can link it from the README.


Support Source Link

Enables support for Source Link [1][2] with toolset version detection.
Note the following present limitations:

Only GitHub repositories are supported. Other hosting solutions can be easily added once perma-link schema is established (see changes in vcpkg_from_github.cmake).
Only Windows cmake-based (and partially Boost-based) build systems are supported.
~For statically-linked libraries, consumption only through MSBuild is enabled.~
~Potentially a nicer alternative to --source-link would be to auto-enable the feature on supported compilers. Unfortunately MSVC made this option available in minor update (15.8) and there currently is no logic in vcpkg to provide fine enough toolset versioning granularity.~

Under what circumstances would the user not want sourcelink enabled?

Yes for static libraries - this was actually the open question I have had above.
No for dynamic libraries - until there is access to fine grainer compiler version info available or a version larger than v141 appears (but even then maybe we would want opt-in for people on v141).

This is awesome 👍 Thanks a lot! Any drawbacks of this PR so far?

Can we move forward with this PR?

@ras0219-msft  Are there plans to integrate source link with VCPKG?

@ras0219-msft , @JackBoosY this would really be an awesome addition. We've now fully migrated our 3rdparty handling to vcpkg and so far the developers are loving it. Being able to integrate crash dump debugging here would be the cherry on the cake :-) Are there plans to continue the integration?

@PhilLab If appropriate, we will merge this PR.

/azp run

There seem to be many failures.

/azp run

@LukaszMendakiewicz is this PR still being worked on? This is a routine cleanup of our Github repo. If so, it might make sense to make a new PR so we don't lose track of it. Otherwise, it might make sense to close this.

I would still like to land this improvement, and judging by the comments above, there is also interest in the community. But it has been in a limbo since my last push in Dec 2018 with no approval nor request for changes. I'm happy for someone to take it over if there are volunteers.

/azp run

OK that sounds good. We'll review it in our weekly PR meeting and get some feedback.

/azp run

/azp run

Thanks for the PR! we're closing this for now since there's been no response. If you or some contributors would like to continue working on it, please create a new PR for this!

@PhoebeHui I don't understand. Lukas said

But it has been in a limbo since my last push in Dec 2018 with no approval nor request for changes

so I think there are responses missing from the vcpkg team so contributors know what to change if anything.

/azp run

@PhilLab, thanks for reopening it.
I closed it, since the CI test failed for a long time, and these failures should be resolved firstly.
@dan-shaw, any feedbacks?

We should talk about this PR in the meeting, to see what we'd like to do with this :)

Closing in favor of #13090
Thanks for your contribution!


https://github.com/dinhtuananhne/legendary-dollop.git

https://github.com/dinhtuananhne/legendary-dollop.git

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.

#1

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

3. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share on Twitter

Winners: @Abolish0098, @Detroit-Eghost, @namp10010, @zmlinn, @milgodlewski, @ameya-deshmukh, @BlackKing-Dio, @leopard627, @dmontanari, @dubnium0


A Pratt parser to replace OperatorPrecedenceParser

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (bf85114) 80.15% compared to head (87a199f) 80.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #93   +/-   ##
=======================================
  Coverage   80.15%   80.15%
=======================================
  Files          16       16
  Lines        4959     4959
  Branches      614      614
=======================================
  Hits         3975     3975
  Misses        984      984

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


Add screens for invalid urls

Description
This PR addresses several types of invalid urls:

a genome with a given id may be missing
the id of a feature in the url may not conform to the required format (e.g. does not have the feature type prefix, such as gene: before the stable id)
the id of a feature, while formatted correctly, may not correspond to any existing feature

The PR introduces error screens, as designed in this XD. For Entity Viewer and Species page, the server-side code will return a 404 status if a genome or a feature does not exist.
TODO:

[x] Add screens for missing genome and missing focus object on the genome browser page
[x] Remove saved species with invalid genome ids
[ ] Show error status for species lozenges

Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-1617
Deployment URL(s)
http://missing-genomes.review.ensembl.org
How to test

Use an arbitrary string for a genome id on the Species page, Genome Browser page, and Entity Viewer page
Manually, save a species with an invalid genome_id and url_slug in the local storage:

const x = [
    {
        "genome_id": "homo_sapiens_GCA_000001405_28",
        "common_name": "Human",
        "scientific_name": "Homo sapiens",
        "assembly_name": "GRCh38.p13",
        "url_slug": "grch38",
        "isEnabled": true
    },
    {
        "genome_id": "foobar",
        "common_name": "Hello",
        "scientific_name": "Lorem ipsum",
        "assembly_name": "foo-bar",
        "url_slug": "foo",
        "isEnabled": true
    }
];
window.localStorage.setItem('speciesSelector.selectedSpecies', JSON.stringify(x))

Then use the value of the genome_id or the url_slug field to create urls for this invalid species. Click on the "Continue" button, and make sure that the invalid species disappears from among the species lozenges

Generate urls with invalid focus object or entity ids for Genome Browser and Entity Viewer. Make sure you can see the page informing you that the feature is unavailable, and that you can navigate away from that screen.

Views affected

Species page
Entity Viewer
Genome Browser

Not sure if this is within the scope of this PR but i notice that genome browser behavior isn't correct if you add a slash after the genome_id instead of ? (Note that this is also broken on 2020.ensembl.org). With an already saved session go to the following URL:
http://missing-genomes.review.ensembl.org/genome-browser/grch38/asdf and it will either take you back to the focus gene or interstitial page
and the following page URL as well:
https://missing-genomes.review.ensembl.org/genome-browser/foo/asdf (this gets redirected to the last species you were on)
And now in incognito if you enter this URL:
http://missing-genomes.review.ensembl.org/genome-browser/fkoo/sfdjkslaf
It sends you to the interstitial page for GB but with no species selected
Not sure whats the expected behavior but happy to put this in a separate ticket if need be.

The species lozenge (the one already saved in your session) is missing on genome browser when you enter a URL with the wrong species.
Genome Browser:
http://missing-genomes.review.ensembl.org/genome-browser/foo?focus=gene:ENSG00000139618&location=13:32288024-32458390

You can see it fine on the entity viewer:
http://missing-genomes.review.ensembl.org/entity-viewer/foo/gene:ENSG00000139618?view=transcripts

The state doesnt seems to be maintained for the example gene. Steps to reproduce:

Add 2 species (human and wheat)
go to entity viewer for human, click example gene
switch to wheat and click example gene
now change the URL to include foo as species (http://missing-genomes.review.ensembl.org/entity-viewer/foo/gene:TraesCS3D02G273600?view=transcripts)
now if you click the species lozenge at the top, you get send back to the example gene interstitial page, shouldn't it not remember the gene you were on? (it does on the live site)

Why is there such a big stack error for genome browser (see the errors in dev console):
i didnt investigate the outage yesterday but since it was affecting only the VMs (jira and confluence seems fine) i will assume it was either a storage or VM infrastructure
Is it trying to initialise the genome browser when it shouldn't?

now if you click the species lozenge at the top, you get send back to the example gene interstitial page, shouldn't it not remember the gene you were on? (it does on the live site)

I would say no :-) Or at least it's going to be difficult, and I've heard an opposite request from Andrea — take the user back to the interstitial when they come in on a missing feature, so that they can search for what they actually wanted to see.
For the purposes of this PR, I'd say it's acceptable because seeing pages with missing features is a rare edge case.

Why is there such a big stack error for genome browser (see the errors in dev console):

Yeah, "panic" must be coming from Dan's code.
Do you have steps to reliably replicate this error?

Why is there such a big stack error for genome browser (see the errors in dev console):

Yeah, "panic" must be coming from Dan's code.
Do you have steps to reliably replicate this error?

see the URL in the screenshot, just replace foo with human and have the dev console open

I would say no :-) Or at least it's going to be difficult, and I've heard an opposite request from Andrea — take the user back to the interstitial when they come in on a missing feature, so that they can search for what they actually wanted to see.
For the purposes of this PR, I'd say it's acceptable because seeing pages with missing features is a rare edge case.

so its clearing the state (localstorage) for all the species you have, just because you went to a URL with an invalid species. I understand it can do that for one species (the one in the invalid URL) but why will it clear for all the species?  And according to the local storage you still have the active entity id for each species you are on but it is still sending you to the interstitial page for all the species?

I have added the invalid species (Hello) from the json you added in the PR and then went on to the species-selector page and then click on Hello species lozenge.
why is the invalid species lozenge not selected/active and instead the human one is selected? I would expect the invalid species lozenge to be selected.

Dont click continue but instead click on genome browser and it shows the error page but its the Human species lozenge which is selected/active

why is the invalid species lozenge not selected/active and instead the human one is selected? I would expect the invalid species lozenge to be selected.

Don't pay much attention to it. We'll deal with the lozenges in a subsequent PR.

Not sure if this is within the scope of this PR but i notice that genome browser behavior isn't correct if you add a slash after the genome_id instead of ? (Note that this is also broken on 2020.ensembl.org). With an already saved session go to the following URL:
http://missing-genomes.review.ensembl.org/genome-browser/grch38/asdf and it will either take you back to the focus gene or interstitial page

/genome-browser/:genome_id/:whatever is an invalid url pattern. I am actually pleasantly surprised that the genome browser page does something semi-decent.

n and wheat)
go to entity viewer for human, click example gene
switch to wheat and click example gene
now change the URL to include foo as species (http://missing-genomes.review.ensembl.org/entity-viewer/foo/gene:TraesCS3D02G273600?view=transcripts)
now if you click the species lozenge at the top, you get send back to the example gene interstitial page, shouldn't it not remember the gene you were on? (it does on the live site)

Ok, after we clarified what the problem was, I found the cause. Had nothing to do with broken urls 😄 The same behaviour showed up after a usual reload of a page. That was me forgetting to spread an object while mixing its contents together with a default object. Here's the fix:


fix testsAT addNewPolicy and editPolicy from gui

fis tests after latest changes

:shipit:

Comment accepted. Will treat it ASAP

Squashing and checks in progress.


Revert "final submit for this branch"

Reverts bestksl/SSW695#31

Now we can run this backend as a spring-boot project


EmojiUtils.emojify() emojifies https://

As in the topic. Whenever I want to emojify text that contains some hyperlink it detects emoji in https:// Is there any way I could exclude links form emojifying? It would be perfect if there was option to emojify only emojis separated by blanks from other characters

An option to simply skip the "emoticon" conversion entirely would be great. Seems like there would be too many edge cases like this.


Initial version of utility to test recipe settings

This PR contains a small script for testing if different combinations of settings in recipes actually work. It is tailored for working on Jasmin now, but it can be easily adjusted for other machines.
It's not very user friendly/finished yet. This PR is just to advertise the availability of this script, I will improve the user friendliness a bit before it is ready to be merged.

@mattiarighi I think this is good enough for an initial version. Can you have a look if it works for you?
The tool allows you to install an esmvaltool branch from source and recipes with multiple options.
Typical usage is:
test_recipe -r dry-run install version2_development
test_recipe -r dry-run schedule -c ~/config-user.yml ESMValTool/esmvaltool/recipes/recipe_modes_of_variability.yml

The first command will generate an installation script and the second command will generate recipes and scripts to run them. If you want to actually run, you have the -r options immediate for serial running and bsub to submit to a queue with the bsub command.
See also
test_recipe -h
test_recipe install -h
test_recipe schedule -h

@mattiarighi Would you have time to test this? It would be great if we could get this merged. The final goal is to use this to run automatic tests of recipes once we have #1112 done, but it is also useful for manually testing if all options in a recipe work.

Regarding the Codacy issues: I think the one about too many variables is not that important in a small testing tool like this, the one about partial path is not important and the one about PurePath is wrong, I don't know why Codacy thinks those are PurePath objects.

Is it fine to test it having the core installed in development mode?
Because I get this:
  File "/mnt/lustre01/pf/b/b309057/SOFTWARE/miniconda3/envs/esmvaltool/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'esmvalcore<2.1,>=2.0.0b2' distribution was not found and is required by ESMValTool

Not necessarily, you can also just install the latest version of the ESMValCore package from conda

Ok, now the help commands are successful.
But if I try:
test_recipe -r dry-run install version2_development

I get this:
Traceback (most recent call last):
  File "/mnt/lustre01/pf/b/b309057/SOFTWARE/miniconda3/envs/esmvaltool/bin/test_recipe", line 11, in <module>
    load_entry_point('ESMValTool', 'console_scripts', 'test_recipe')()
  File "/mnt/lustre01/pf/b/b309057/ESMValTool/public/esmvaltool/utils/testing/recipe_settings/install_expand_run.py", line 176, in main
    args.function(args)
  File "/mnt/lustre01/pf/b/b309057/ESMValTool/public/esmvaltool/utils/testing/recipe_settings/install_expand_run.py", line 115, in install
    cwd.mkdir(parents=True)
  File "/mnt/lustre01/pf/b/b309057/SOFTWARE/miniconda3/envs/esmvaltool/lib/python3.7/pathlib.py", line 1251, in mkdir
    self._accessor.mkdir(self, mode)
FileExistsError: [Errno 17] File exists: '/mnt/lustre01/pf/b/b309057/ESMValTool/public/esmvaltool'

I'm probably missing something...

I changed the tool a bit so you can now also use it starting from an existing directory.

It works now, I get the run script.
I can't test it because at DKRZ we use sbatch instead of bsub, but this can be refined later.

I also use sbatch on DAS5, but then I just ignore the run scripts and submit the recipes generated in dry-run mode directly using the following bash command:
for recipe in recipe*yml; do sbatch esmvaltool -c ~/config-user.yml "$recipe"; done


check for valid ip before sending it to Netmask

Issue:
Using forkliftci vcsim server the managementServerIp is empty, this will crash the hosts page,
FIx:
test for empty  managementServerIp , and return that it's it does not match without using Netmask to test it.
Screeshots:
Before:

After:

What is the meaning of displaying (default) as the network for migration in that case?

When migration vmware vms a user can add Host resources to configure the  IP address of the VMware migration network, if none is defined, the UI will display difault
see:
https://konveyor.github.io/forklift/migratingvms/migratecli/


Spacecraft TLE Update

We have no notes or warnings here that the customer should update the Spacecraft TLE on some cadence.
On the tutorial page for Aqua, we have a note. That should also be included here for completeness.
https://learn.microsoft.com/en-us/azure/orbital/downlink-aqua

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

ID: b0ca7006-e1cb-73f6-701b-705e08000cb5
Version Independent ID: 86a64cf0-1543-02ac-f6fb-c4ade3f09d9b
Content: Register Spacecraft on Azure Orbital Earth Observation service
Content Source: articles/orbital/register-spacecraft.md
Service: orbital
GitHub Login: @apoorvanori
Microsoft Alias: apoorvanori

@altrivis
Thank you for bringing this to our attention.
I've delegated this to content author @apoorvanori, who will review it and offer their insightful opinions.

Issue resolved. #please-close


Debug failing watchPath test

The spec watchPath / watchPath() / reuses an existing native watcher on a parent directory and filters events has always been a bit flaky, but it's gotten a lot worse recently. I'm digging in to see why.

Hey! 👋
We have recently started using prettier and this has caused major
style changes on the Atom JS codebase (you can check the related PR).
This is good news: now the Atom code is more consistent and it's much easier to re-format the code to
follow the codestyle (now you only need to run script/lint --fix).
This change caused conflicts on your PR that we have automatically solved, hope you don't mind 😄
With ❤, the Atom team.

Hey @smashwilson is this work still in progress or do you have any plans on continuing with it?

Hey @smashwilson is this work still in progress or do you have any plans on continuing with it?

Nope!

Nope!


Impl zpopmin zpopmax

I have implemented 2 commands for the Sorted Sets . ZPOPMIN and ZPOPMAX

Can you please add this commands in Pipeline and Cluster? Here's an example of another PR which added those implementations as well.
https://github.com/xetorthio/jedis/pull/1841/files

Hello , I have added what i thought is missing and committed , after your warning. Do i need to open another pull request ? This is the first time i'm using this mechanism . Thank you

@marcosnils We already have a pending PR for zpopmax at #1968

@sazzad16  how about zpopmin ? should i cancel or close this PR ?

@kommradHomer yup, zpopmin is still needed. You can go ahead and send just that one.
Apologies for the confusin.

@kommradHomer Thanks :)


Feat/storyblok time configuration

NOT READY FOR REVIEW
Summary

Making the Countdown component date configurable via storyblok
Also adding a Storyblok option to set the total days of a campaign and removed the hardcoded 29 days from previous campaign

Review By (Date)

When does this need to be reviewed by?
I don't think there is a rush, but @forrestglick could provide more input.

Criticality

How critical is this PR on a 1-10 scale? Also see Severity Assessment.
E.g., it affects one site, or every site and product?

Review Tasks
Setup tasks and/or behavior to test

Go to this page: https://app.storyblok.com/#/me/spaces/122401/stories/0/0/397282734/blok/4397e5fc-f1d4-4a4e-9da3-fcca0dcc4c07, or any Storyblok page on dev and test adding a Countdown.

Front End Validation

[ ] Is the markup using the appropriate semantic tags and passes HTML validation?
[ ] Cross-browser testing has been performed?
[ ] Automated accessibility scans performed?
[ ] Manual accessibility tests performed?
[ ] Design is approved by @ user?

Backend / Functional Validation
Code

[ ] Are the naming conventions following our standards?
[ ] Does the code have sufficient inline comments?
[ ] Is there anything in this code that would be hidden or hard to discover through the UI?
[ ] Are there any code smells?
[ ] Are tests provided? eg (unit, behat, or codeception)

Code security

[ ] Are all forms properly sanitized?
[ ] Any obvious security flaws or new areas for attack?

General

[ ] Is there anything included in this PR that is not related to the problem it is trying to solve?
[ ] Is the approach to the problem appropriate?

Affected Projects or Products

Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

JIRA ticket(s)
Other PRs
Any other contextual information that might be helpful (e.g., description of a bug that this PR fixes, new functionality that it adds, etc.)
Anyone who should be notified? (@mention them here)

Resources

AMP Tool
Accessibility Manual Test Script
HTML Validator
Browserstack and link to Browserstack Credentials

@sherakama it looks like the linter is failing to run because of the Node version?

@sherakama i was wondering if the server that hosts the site is always on PST/PDT? and if so and i run a new Date() that would be based on the server's clock?

@sherakama i was wondering if the server that hosts the site is always on PST/PDT? and if so and i run a new Date() that would be based on the server's clock?

@wmui51
This is a very much all depends.
The first thing that runs the code is the CI/CD build and that server runs somewhere but I don't know where.
After the code gets rendered and shipped it is put on a CDN or multiple servers all over the world. The front end, or after hydrate, code will run based off of the end-user's timezone.
You can find out what the offset is by
var offset = new Date().getTimezoneOffset();

@sherakama i am currently getting the offset with that method, but because the date is based on the end-user's timezone, i am also getting the time difference between the user's timezone and the countdowns which will usually be PT. the issue i'm trying to figure out now is accounting for daylight savings time and then adjusting the PT offset to that. I did not want to install a library like moment just for this, so I'll probably make this a prop coming back from Storyblok then. Let me know if you have any suggestions as well, thanks.

@sherakama i am currently getting the offset with that method, but because the date is based on the end-user's timezone, i am also getting the time difference between the user's timezone and the countdowns which will usually be PT. the issue i'm trying to figure out now is accounting for daylight savings time and then adjusting the PT offset to that. I did not want to install a library like moment just for this, so I'll probably make this a prop coming back from Storyblok then. Let me know if you have any suggestions as well, thanks.

Date/time math is one of my least favorite things to do. I highly recommend using a library for this. Moment is great and we've also used https://moment.github.io/luxon/ on other projects in this space.
If you haven't seen this video you should take a few moments and enjoy it today.
Pass the target time as a prop to your component and then use a library to do the math on browser. That should do it.

@sherakama thanks for the input, if you don't mind me adding a library to this site, I would much rather go that route.

@sherakama thanks for the input, if you don't mind me adding a library to this site, I would much rather go that route.

Yeah, go for it.

@sherakama I think this is ready to be reviewed and merged into my other feature branch. I have decided to go w/o Luxon for now as that would be a bit of a refactor for all the time stuff. I can do that as well if that is preferred, but this was tested and seems to countdown to the same time regardless of the timezone of the end user. Wanted to get this merged into the feature branch so @forrestglick can test all the changes of the Countdown together.

Ok, I'll merge down into the other branch for testing.


Add Nightly pytest mark to all nightly CI tests

Summary
For all tests that are currently run in the nightly pipeline, let's add the following pytest mark:
@pytest.mark.nightly

For more details, check this doc:

https://docs.pytest.org/en/stable/example/markers.html

Fixed https://github.com/tenstorrent/tt-forge-fe/pull/551


Fix bug in Deepq module import error

There is a module import bug in the deepq.sample.
from baselines import deepq should be modify to from baselines.deepq import build_graph
the function build_act is write in the build_graph not in the init file.
@pzhokhov Thanks for noticing my issue. But this bug still exists. I fixed it in PR (#352), or you can fix it by yourself. : )
==================================
$ python /baselines/baselines/deepq/experiments/train_cartpole.py
Traceback (most recent call last):
File "train_cartpole.py", line 3, in
from baselines import deepq
File "/home/peter/Downloads/baselines/baselines/deepq/init.py", line 3, in
from baselines.deepq.simple import learn, load # noqa
File "/home/peter/Downloads/baselines/baselines/deepq/simple.py", line 13, in
from baselines import deepq
ImportError: cannot import name 'deepq'

@fstonezst thank you for checking back on it so promptly! I still believe the issue is already fixed :) Note that in baselines/baselines/init.py we import build_train and build_act methods from build_graph submodule, here: https://github.com/openai/baselines/blob/9cf95a00542dc87b413e765d8c0fdcf0b1684cdc/baselines/deepq/init.py#L2
(this addresses the changes you are suggesting in the PR (https://github.com/openai/baselines/pull/352). I tried running
python baselines/deepq/experiments/train_cartpole.py with the latest version of baselines master installed, and it works.
Please make sure you have pip installed the latest master (git pull origin master && pip install -e .), and then try again. If the error persists, let's talk more - I'll keep this issue open.

OK , I will close this issue since the code has passed your test.
Thank you for watching this issue!


feat: enforce usage of nullish check utils

Note
This PR replaced PR #12 , because I changed my account.
Motivation
An useful rule is to enforce the usage of utils isNullish and nonNullish from repo @dfinity/utils for a simple nullish comparison.
isNullish
Incorrect
param === undefined

param === null

param === undefined || param === null

Correct
isNullish(param);

nonNullish
Incorrect
param !== undefined

param !== null

param !== null && param !== undefined

Correct
nonNullish(param);

Future Improvements
The rule will be improved to recognize nullish check even with the following cases (and their negation counterparty):
const param: NonBooleanType | undefined | null;

if (param) {...}

param ? ... : ...

param && ...

param || ...

Tests
Create specific tests for the new rule.

@peterpeterparker as discussed offline, done with:

PR #34


Add a flutter run --async-scanning option

Empirical measurements indicate on the network file system we use
internally, using FileStat.stat on thousands of files is much
faster than using FileStat.statSync. (It can be slower for files
on a local SSD, however.)
Add a flag to ProjectFileInvalidator.findInvalidated to let it
use FileStat.stat instead of FileStat.statSync when scanning for
modified files.  Add a flutter run --async-scanning command-line
option to enable it.
I considered creating a separate, asynchronous version of
findInvalidated, but that led to more code duplication than I
liked, and it would be harder to avoid drift between the versions.
Tests
I added async versions of the tests in project_file_invalidator_test.dart.  Note that currently all of the tests check for degenerate behavior, and none of them check for modifications to existing files.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

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

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read [Handling breaking changes]). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

Do you anticipate that --async-scanning will be useful enough to expose here? I don't think the network file system approach is that common. Its very much an implementation detail, and I don't know that users will have a good sense of when this should/shouldn't be enabled

Do you anticipate that --async-scanning will be useful enough to expose here? I don't think the network file system approach is that common. Its very much an implementation detail, and I don't know that users will have a good sense of when this should/shouldn't be enabled

Maybe?  At my previous company, I routinely worked off of a network file system. (Granted, I never built from a network file system, but I could imagine that under different circumstances where the difference between local and network builds was a minute instead of an hour, I wouldn't have bothered to jump through extra hoops to maintain a local copy of source for building.) It doesn't seem outlandish that a small dev shop might work off of a NAS.
It also seems plausible to me that it might help with source that lives on spinning disks or external storage, although I don't have any handy to test that.

I don't know how I would connect that "I'm running on a network drive" to "I should use --async-scanning"

I spoke about this offline with @zanderso. In addition to the concerns I have about, an --async-scanning option isn't really consistent with how we normally work with sync IO.
An alternative approach would be to expose a setting on the HotRunnerConfig:
https://github.com/flutter/flutter/blob/fcbe8f44eadc21f09cb3690d98e4de22e7200c93/packages/flutter_tools/lib/src/run_hot.dart#L29
And update the google3 tool to configure async file scanning.

I don't know how I would connect that "I'm running on a network drive" to "I should use --async-scanning"

That's fair.  They probably wouldn't.  I'd expect that people unsatisfied with hot reload times would poke around at command-line options or ask somewhere, and people who are satisfied would never know, but they're already satisfied so that's okay.
In the long-term we could provide some mechanism to run benchmark different strategies and to pick one automatically.

An alternative approach would be to expose a setting on the HotRunnerConfig:

Hmm.  Okay, I can do it that way if you want, but then it'd be even less likely to benefit anyone outside of Google. (Within Google, we'd still want a configurable option to be able to opt-out of async scanning, although that option could be exposed by Google tooling instead.)

I think its worth separating the immediate goal here (make google3 faster) with a longter-term goal (make all hot reload faster).

Okay.  Could you clarify why you don't want a command-line option?  Is it because it would imply supporting it in the long-term?  Would an experimental flag be better?

Okay. Could you clarify why you don't want a command-line option?

The use-case is a bit too narrow to need a command line flag if there's a way to avoid adding one.


examples: Add imageformats example

Example which renders RGBA color wheel, alpha gradient and full value channel textures to
catch conversion errors and bad internal type representations between different backend
renderers.
The example uses bimg to convert from a master texture to different textures.
Each texture is rendered in an ImGui list using ImGui::Image. A close-up is visible when hovering over each image.
U and I textures are skipped because they don't work for sampling.
Compressed textures are skipped because they don't have conversion functions.
Depth textures are not rendered because they don't work with channels.
Note: The screenshot shows existing bugs (ref: https://github.com/bkaradzic/bx/issues/282 #2866) and was taken in OpenGL

Let me know what modifications to the layout / look / texture.

I would like this to be displayed via ImGui window, see: https://github.com/bkaradzic/bgfx/blob/e354b14168d75c832a6ea2e6d7c69a624607292e/examples/common/imgui/imgui.h#L54-L66

Okay, I've now converted to ImGui. How's this?

Okay, I've now converted to ImGui. How's this?

This is great!
I would drop g_formats and change this:
for (int i = 0; i < int(sizeof(g_formats) / sizeof(g_formats[0]) ); ++i)

for (int i = bgfx::TextureFormat::Unknown+1; i < bgfx::TextureFormat::UnknownDepth; ++i)

That way there is no changes needed when formats are added/removed.

OK. Done your suggestions. About the line on the wheel. I've tracked it down to bx::atan2, it goes away with std::atan2. https://github.com/bkaradzic/bx/issues/282

There. It's much simpler now. I didn't realize that there was already hsvToRgb

Could probably add a column for R, G, and B.

Could probably add a column for R, G, and B.

Like with states BGFX_STATE_WRITE_x turned on/off depending on column or something else?

Btw, I already fixed one bug by using this example: :smile:
https://github.com/bkaradzic/bx/commit/b34337659154b04402d281c3b4ed9e8f9426eda9

Just because the fully RGB squares are so small on imgui

I'm trying to run this example on vs2022/x64, and I got this warning, and build failure as result:
pixelformats.cpp(130,24): warning C4244: 'argument': conversion from 'int' to 'bgfx::ViewId', possible loss of data
pixelformats.cpp(130,24): warning C4244: 			bgfx::setViewName(i + 1, formatName);
pixelformats.cpp(130,24): warning C4244: 			                    ^

Also example is crashing with Stack overflow exception while entering example init() function. Which is weird because every other example works. I'm still looking for the reason why.

Hopefully this last update fixes the compile warning on windows.
I also allocate rgbaf32Pixels on the heap now. Linux didn't have such a small limitation.
The bimg::imageConvert(bimg::TextureFormat::Enum(format), bimg::TextureFormat::RGBA32F) trick I use to skip U and I formats isn't working on windows for some reason.
I'm therefore checking for "U" and "I" at the end of the format name.

Would you like to present formats in form of table like this?

Would you like to present formats in form of table like this?

Yeah that looks way better.
I would also suggest adding current selection on separate window, instead of being hover tooltip. So that we can also display other information about texture format there.

Also there should be distinction between, not supported (when GPU can't create it at all), and can't be sampled U+I formats.

I agree that the grid view looks better for one texture at a time but if we add more textures to test other features of the formats, the current column view could be expanded to have new columns such as in https://floooh.github.io/sokol-html5/pixelformats-sapp.html
As for the preview window, I could make a window per format (closed by default) that you can open by clicking on each texture. This could be useful to compare two formats side by side.

I agree that the grid view looks better for one texture per format but if we add more textures to test other features of the formats, the current column view could be expanded to have new columns such as in

We don't have to follow this 1:1... Actually with ImGui there could be multiple view modes.

As for the preview window, I could make a window per format (closed by default) that you can open by clicking on each texture.

I think it should be just panel always present... And whatever texture format is clicked last should be there.

This could be useful to compare two formats side by side.

I think for now would be fine just to have preview in higher resolution, and some texture format info from Caps:
https://github.com/bkaradzic/bgfx/blob/2d313f46ad5be99ae63ea2c4885d32df60600e41/include/bgfx/defines.h#L501-L517
and maybe some bimg::ImageBlockInfo like bits per channel:
https://github.com/bkaradzic/bimg/blob/663f724186e26caf46494e389ed82409106205fb/src/image.cpp#L24-L25

@bwrsandman I will share a patch for you with changes I made. I got everything except extra details in preview window.

I got everything except extra details in preview window.

Just to clarify those extra features can be added after PR... I think this from last screen shot looks good, and good enough to land as-is.

OK. I will figure out why R1 does not show up in the table and I will post a patch.

It's because there isn't a packR1 function in bx/pixelformat.inl

It is listed. I expected to see INVALID for R1, but it was missing from the table. Now it is back.
Maybe some day converter to R1 will appear. : )

There is patched example:
pixelformats.zip

Can you send me that as PR on my fork? I'm away from my PC at the moment. Or it'll wait for tonight.

Screenshot needs updating

Is this automated?

Removed "INVALID" text, it was too noisy...

Looks great!

It's because there isn't a packR1 function in bx/pixelformat.inl

Ah, that's because it's technically "compressed" format. 1 byte = 8 pixels, and my pack/unpack API is all about single pixel.

Is there anything we can do about better seeing the alpha channel in the previews? Like a checkerboard background?

I think it should be possible to render checkerboard first, and then texture on top with blend mode enabled.

That way you can see the blending when you move the imgui window.

That might be more complicated. But checker board could be slowly scrolling UVs if you want to see movement. That Sokol example probably is doing something like that already.

I was in the process of adding checkerboard. I may finish it as well.

This is excellent! Thanks guys for working on this, it's very useful!

Checkerboard code: https://github.com/thedmd/bgfx/tree/pixelformats-example-checkerboard
and PR: https://github.com/bwrsandman/bgfx/pull/3


DateField and DatePicker today's date

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


values on hexes in b18 need circle to rotate with text

If the container for a value on a hex becomes an oval rather than a circle due to longer text, that oval needs to be rotated with the text when b18 cleverly tries to keep the text upright.
While it's b18, there must be some part of the layer that 'maker generates that b18 grabs onto, so 'maker needs to put both the text and the container in the same layer.

fixed in 25a7f374f257d664c2aa189448b2acfe0dc90f73


Provide RLIKE / NOT RLIKE regular expression filters

MySQL allows searching columns by regular expression:
SELECT * FROM table WHERE column RLIKE '^foo.*bar'

@Fabio286 between filter doesn't seem to work.
I tried it with int column and filtered using values 123, 130 (both separated with comma and without comma).


Undefined variable "k3s_version" executing the playbook

fatal: [<IP_ADDRESS>]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'k3s_version' is undefined\n\nThe error appears to be in '/Users/pierpaolo.bellillo/ansible/playbooks/k3s-ansible/roles/download/tasks/main.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Download k3s binary x64\n  ^ here\n"}

i have this same problem
OS version
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye

update: the errors are coming from undefined variables on the defaults/main.yml
and the download/main.yml
just followed the tracks and hardcoded. it worked for me.
now another issue is im getting permission denied. its for another issue topic

got the same issue, k3s version needs to go here
and variable declaration goes here (group_vars)

If you follow the document, run below command, and set host file to inventory/my-cluster/hosts.ini, you shouldn't see this error.
This ticket could be closed.
cp -R inventory/sample inventory/my-cluster

I get that copying the inventory will solve this, however, I'm running my playbooks through Ansible Semaphore, so it means copying things like this are tricky. Just my 2 cents.

Closing this as the repo structure has  drastically changed. I don't have experience with Ansible Semaphore, so let me know/ open a new issue if you can't get it working now.

Still getting the following error message:
fatal: [<IP_ADDRESS>]: FAILED! => {"msg": "The field 'environment' has an invalid value, which includes an undefined variable. The error was: 'k3s_version' is undefined\n\nThe error appears to be in '/home/user/code/turing-pi/k3s-ansible/roles/k3s_server/tasks/main.yml': line 29, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Download K3s binary\n      ^ here\n"}
I did cp inventory-sample.yml inventory.yml as per the README and I used ansible-playbook playbooks/site.yml -i inventory.yml


Improve implement for pekko-connectors-text

More direct and simple implementation

@Roiocam @He-Pin what do you think about these changes? I'm hoping to do a 1.1.0-M1 release soon so I'm looking to get PRs closed.


Extend regulator API about current limits

Extend the regulator API about the support of count_current_limits and list_current_limit functions for the current limits.
 I need it for the MR with the new MFD regulator driver :)


device_allocation tags: planned set element does not correlate with any element in actual

Error: Provider produced inconsistent result after apply
│
│ When applying changes to
│ apstra_datacenter_device_allocation.tf_device_allocations["PF-422"],
│ provider "provider[\"[registry.terraform.io/juniper/apstra\](https://urldefense.com/v3/__http:/registry.terraform.io/juniper/apstra*5C__;JQ!!NEt6yMaO-gk!D-oqYtcrHUkcVCbhY16XV1Neoo4vKMTxfMVXPw6aJseHbgF-SYYho9g91Q2qTUhMoj5sc4K1xCJXNpv7rw$)"]" produced an
│ unexpected new value: .system_attributes.tags: planned set element
│ cty.StringVal("Border_Leaf") does not correlate with any element in actual.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.

Possibly a timing issue due to our current behavior: set the tags, then read them back.

This looks like a timing issue. So far not able to replicate even when setting 20 unique tags on 64 devices in one shot.
Needs more testing.


How do I get rid of file path in the description?

Hi, I switched computers and downloaded a new version of quicksilver.
I use the Bezel appearance and when I hit the down arrow to see a list of files, it shows me the path for each of them. I've looked through the settings and I'm not seeing a place to toggle them off.
How do I get rid of the file path from showing up in the list of files? Thanks!

You can’t turn off the details explicitly, but they will be hidden automatically if the results aren’t tall enough. That’s probably what you had before.
Try different settings for Preferences → General → Command → Results Row Height