Build Automation Framework

Create an automation framework to handle importing external/remote GitHub Repositories (Actions) to implement a better dependencies management strategy. This framework will allow us to rapidly import these repos with a consistent and deterministic workflow.

The script is now fully functional but lacks of a few additional features that we need to get resolved before making it a standard process in our team.

Import Project Script
Overview
The Import Project is an application implemented in Shell/Bash (a Python version is on the works to be released soon). It's designed to automate the process of importing external/remote GitHub Repositories into a project's GitHub Actions as a mechanism to simplify dependencies management.
Note: Nevertheless, this is not a recommended practice as it makes features updates an overwhelming endevor to maintain. Forking is the correct approach to deal with external/remote dependencies but it's critical to know exactly what's your technology footprint to manage.
This automation by defeault imports the default/latest version that is published. If a specific hash commit is present/provided as either a configuration or an execution parameter, then this commit is extracted and remains as the intended/targetted version to be useed.
It dynamically processes a project-specific JSON-based configuration file, making it highly adaptable and reusable for DevOps and CI/CD workflows.
At execution time, these custom JSON-driven configurations can be overrided (see: execution examples).
Note: There is an effort in place to extend this JSON config file to include all targetted imports into a single data-structure to better manage these for a future Automated Updates functionaly.
Features

Dynamic Configuration: Parses a JSON-based configuration file to set up vendor and project-specific parameters.
Positionless Parameter Parsing: Flexible parameter handling with --key=value syntax and dynamic parameter override is available.
Git Repository Management: Automates cloning, extracting, purging, and reconfiguring GitHub Action repositories.
Content Processing: Finds and modifies files to update references based on the configuration to self-references are updated.
Verbose Output: Provides detailed feedback for debugging and tracking operations plus override/remove existing data-imports.
Error Handling: Displays clear warnings and exits gracefully under failure conditions with standardized error types.

Requirements

Bash (version 4.0/5.0+ or later)
jq (JSON processor) -> version: jq-1.7.1
Git (version 2.47.0 or later)

Installation

Clone this repository:

$ local_bin="${HOME}/.local/bin" ;
$ project="${local_bin}/import-projects" ;
$ mkdir -p "${project}" ;
$ git clone https://github.com/<organization>/${project}.git "${project}" ;

Ensure the script has executable permissions:

$ export PATH="${PATH}:${project}" ;
$ cd "${project}" ;
$ chmod +x ./import-project.shell ;
$ ln -sv ./import-project.shell ./import-project ;

Note: Please, make sure that both the Shell/Bash script and the JSON-based configuration file are named the same.
The application does expect both components to exist in the same location unless a custom configuration's path is provided.
Usage
Command Syntax
$ import-project \
  --config="<config-file>" \
  --git-owner="JosiahSiegel" \
  --git-name="AzViz-action" \
  --git-version="v1.0.3" \
  --git-commit="663e24299a6336f1ff8dbddadfac1ba5d462f731";
  --git-org="CDCgov" \
  --git-repo="prime-reportstream"  \
  --git-action="azviz" \
  --reload \
  --verbose
;

or just execute one-liner command (JSON-based configuration).
$ import-project ;

Example
JSON Configuration File (import-project.json)
{
  "vendor": {
    "name": "JosiahSiegel",
    "repo": "AzViz-action",
    "version": "v1.0.3",
    "commit": "663e24299a6336f1ff8dbddadfac1ba5d462f731"
  },
  "project": {
    "owner": "CDCgov",
    "repo": "prime-reportstream",
    "team": "devsecops",
    "author": "emvaldes",
    "action": "azviz"
  },
  "reload": true,
  "verbose": true
}

JSON Configuration Attributes
The JSON configuration file must include the following sections:

Vendor
Type
Description

--name
String
GitHub project organization or owner.

--repo
String
GitHub target repository name to be imported.

--version
String
GitHub version or tag (e.g., v1.0.3) to be imported.

--commit
String
GitHub hash-commit to be extracted (if required).

Project
Type
Description

--owner
String
GitHub project organization or owner.

--repo
String
GitHub target project hosting imported GitHub Action.

--team
String
DevOps Team operating these project's Action imports.

--author
String
DevOps Engineer perfoming these import operations.

--action
String
Optional parameter to rename the imported repository.

Custom
Type
Description

--config
String
Path to a custom JSON configuration file (optional).

--reload
Boolean
Purge existing repository content (pre-cloning).

--verbose
Boolean
Enables detailed output for debugging and tracking.

Output

The script clones the GitHub repository defined in the JSON file.
Processes files to update references based on vendor and project configuration.
Displays logs for each action when --verbose is enabled (not-consistent output yet).

Workflow
The script follows these execution steps:
## Extracting file's path, name and configuration:
$ export script_path="$( dirname "${0}" )";
$ export script_name="$( basename "${0}" )";
$ export script_config="${script_path}/${script_name/.*/.json}";

## Executing script's workflow:
$ import_config "${@}";
$ import_project "${@}";

Configuration Loading:

Reads the JSON file specified by the --config argument or loads default configuration.
Validates the JSON file exists if not found then the application expects execution parameters.
Validates the presence and structure of the JSON file (expected attributes).

Environment Variable Initialization:

Dynamically extracts vendor and project information from the JSON configuration.
Sets environment variables dynamically for later use across the script.

Evaluate custom parameters:

Validates all execution params to override JSON-based configurations.
Dynamically constructs source GitHub Repository path.
Configures project path location to be use in updating content.

Evaluate current working directory:

The system determines if the current path is correct to import project.
Determine if current working path is a valid GitHub Repository to proceed.

Repository Management:

Evaluates if the active Git branch is "master" or "main" to checkout correct branch.
If --reload=true is specified, purges existing import; otherwise, exits if not empty.
Clone the source GitHub Repository (Action) into the .github/actions/ folder.
Determines if a Hash Commit is referenced/provided and extracts it from cloned repo.
Provides a one-liner summary of all the imported repo's log entries (reference).

Environment Management:

Disables the .git and .github folders to ensure they are not operational.
Appends these as entries to a .gitignore file (create one if none exists).
Initialize a baseline as a local commit to ensure a revert point exists to reset.

Processing Updates/Changes:

Identifies all files in the project directory, excluding .git and .github directories.
Updates external references with the provided configuration (e.g., owner, names, versions).
Finally, the application creates a second commit with these basic configuration changes.

Completion:

Outputs logs for each processed file and successful operations.
Exits gracefully, displaying any warnings if applicable.

Functions
warning
Displays a warning message with optional error handling.
import_config
Parses the JSON configuration file and sets environment variables.
download_repository
Manages cloning and purging of the GitHub repository.
import_project
Processes the repository files and updates content based on the configuration.
Error Handling
The script includes robust error handling:

Missing JSON Configuration: Displays a warning and exits with a specific error code.
Invalid JSON Format: Displays an error message and exits.
Git Failures: Logs detailed error output for failed git commands.

Best Practices

Ensure the JSON configuration file is correctly formatted and includes all required fields.
Use the --verbose flag during the first run to understand the script's behavior.
Regularly update dependencies such as jq and git to avoid compatibility issues.

Contributing
Contributions are welcome!
We aim to eventually make these functionalities part of their own internal/public repositories. Please fork the repository and create a pull request with your improvements or fixes.
License
This script is licensed under the MIT License.


Task: es-build

Closes #966: Output es/ directory with ESM export/imports intact.
Note: Tests are failing at the moment because of depreciation between Node 4 and babel-env.

Coverage remained the same at 94.406% when pulling fc9242d8d367adbcb9f279d779cbb3eef4d6e9f5 on task/es-build into 33fe30ee5275830fe1776445110e28a744ca5ebf on master.

Coverage remained the same at 94.406% when pulling fc9242d8d367adbcb9f279d779cbb3eef4d6e9f5 on task/es-build into 33fe30ee5275830fe1776445110e28a744ca5ebf on master.

Cleaning up here. Thanks for the great work @kale-stew !


D365 BC Docker v14.3 - Classic development environment?

Hello everybody,
I am provisioning new dockers in v14.3 for different locations, and these are being created without a classic development environment.
This is a problem in order to check Dynamics 365 Business Central code that has not yet been migrated to AL.
Is it a mistake? Or will the classic development environment never be available again?
Should we select any option in the docker creation template?
Is there any powershell command from the NavHelper to surface the classic development environment?
Thank you

-includeCSIDE will cause the classic development environment to be included (for all containers before 15.x)

Thanks Freddy,
I am using following template to provisioning dockers, but I don't find this parameter.
Until last week, the classic development environment was included with this same template, without selecting that parameter.
Maybe the template has been updated?
Should I edit the template to include a new parameter or it should be applied by default?
http://aka.ms/bcdeveloperpreviewext
Thanks

Ahh - yes, the templates have been cleaned up - I have a blog post coming out today.
use
http://aka.ms/getnav or http://aka.ms/getnavext if you need CSIDE (both for NAV and Business Central CSIDE development)
use
http://aka.ms/getbc and http://aka.ms/getbcext will be Business Central and AL development only
bcdeveloperpreviewext is an "old" shortlink and will point to one of the above (probably getbcext).
Sorry for the confusion.

Thanks Freddy.
I have been able to create new dockers including CSIDE without problems.


Flowering Azalea Leaves error texture version 1.19.2

Flowering Azalea Leaves placed down shows texture error. In my inventory and i JEI looks just fine, as you can see in the picture below.

Having the same issue for  Oh The Biomes You'll Go leaves on 1.18.2

Likely caused by a mod or another resourcepack changing something very weird about the texture.
For the BYG issue, 1.18.2 is not supported anymore.


:id="uid()" is being replaced with expression :id="val". it should be id="val"

:id="uid()" is being replaced with expression :id="return". it should be id="return"
To Reproduce
Steps to reproduce the behavior:

add :id="uid()"
add uid function in controller as uid() => 'val';
Run the page
See error

Closed in 0.9.84


Read reVUE json from reVUE-data repository

Read from https://github.com/knowledgesystems/reVUE-data/blob/main/VUEs_all.json instead of the local json file.

Superseded by https://github.com/knowledgesystems/reVUE/pull/7


Adding an Extension Checkbox Option

This is not so much an issue as it is a question.
In the default options for Add/Remove you have the "txt2img_hr-checkbox" option there.
I am using an extension called Dynamic Thresholding (https://github.com/mcmonkeyprojects/sd-dynamic-thresholding) and I've not had an issue adding the custom "elem_id"(s) that I want to the config file for my custom preset. The specific id for the checkbox, however, alludes me.
The only reference in the code for the extension I can find in reference to the checkbox is a "elem_class".  Am I on the right track or is there something I'm missing?
Of course it's not too much of an issue to just enable the extension each time I spin up the UI, as all the internal extension options are saving as expected. It'd just be nice to have it enabled upon loading the custom preset.
Thanks in advance.  Love the extension.

This is the only part of the code that I can find that specifically references a checkbox element.

It looks like that exension author has not included an ID for that checkbox. elem_id is the attribute you are looking for in the code, elem_classes is just for a CSS class. You can either ask the extension author to include an elem_id attribute for that checkbox, or you can edit that code and add elem_id="whatever_id_name_here" so you can target it.

It looks like that exension author has not included an ID for that checkbox. elem_id is the attribute you are looking for in the code, elem_classes is just for a CSS class. You can either ask the extension author to include an elem_id attribute for that checkbox, or you can edit that code and add elem_id="whatever_id_name_here" so you can target it.

Thanks.  That's what I figured.  I honestly wouldn't even know where to begin as far as adding the "target" myself.  I'll ask the creator if he's be willing to do that.  Maybe try my hand at editing if I'm feeling brave.
Thanks again for the fast reply.

Thank you.  I was just looking up ho to do this and you swooped in for the win.


Removing vendor dependencies from codebase

Following the thread about vendoring where the team decided to remove it because Golang state of modules are better than in the past, the annoyance that caused in every PR and that we are doing "vendoring" in productization pipelines...

To test this locally, you may want to
rm -rf vendor
go clean -modcache
make vendor


Fix filled color is wrong for a focused and hovered TextField

Description
This PR fixes the filled color for a focused and hovered text field.
Before this PR, the filled color for a focused text field did not change when hovered, after this PR the filled color is blended with the hover color.
The change removes a isFocused check which deactivated the blending. This check was introduced in https://github.com/flutter/flutter/pull/32776, at that time it was needed because there was also a focus color animation. Sometimes later, the focus animation was removed, see https://github.com/flutter/flutter/pull/33062, but the flag was not removed.
Before:
https://github.com/flutter/flutter/assets/840911/9698ba82-eb67-428a-8635-8054a4b8dfaf
After:
https://github.com/flutter/flutter/assets/840911/4c03a137-360d-4612-8946-765d7b5c698d
Related Issue
Fixes https://github.com/flutter/flutter/issues/146573
Tests
Adds 1 tests.

Hi @bleroux, thanks for the contribution and taking the time to investigate where the isFocused flag came. This change LGTM, but is there some spec that this is aligning to? Nothing stands out from a quick glance at the m3 TextField spec, but I do see this spec regarding states in general https://m3.material.io/foundations/interaction/states/state-layers and how focused/hovered and other states can be combined.

Hey @Renzo-Olivares,
As you pointed the main source of information is: https://m3.material.io/foundations/interaction/states/state-layers.
The M3 text field spec references the state layer in the table found in this section: https://m3.material.io/components/text-fields/specs#f967d3f6-0139-43f7-8336-510022684fd1

Note that 'State layer' is only mentionned for the hovered state, other states leads to a change of the container fill color.
In this PR, I fixed the main issue (not seeing hover state for a focus filled TextField).
I plan to file a follow up PR that will try to make the hover color compliant with the spec. For the moment, when hovered, the filled color is blendend with theme default color (for instance, Colors.black.withOpacity(0.04), for a light theme) which is not the one specified in the M3 spec (which is onSurface color with 0.08 opacity as defined in the screenshot above).
I will also have a look at how the hover state is rendered when the field is not focused as the current implement might not be compliant.

@bleroux thank you for the explanation! That sounds good to me. There are a few failing image tests but they all look expected given the changes in this PR.

@Renzo-Olivares
Thanks for the review!

There are a few failing image tests but they all look expected given the changes in this PR.
Can you approve those changes? I don't have access to approve them.

@bleroux when you get a chance can you rebase this PR to kick off google testing again?

@bleroux when you get a chance can you rebase this PR to kick off google testing again?

@Renzo-Olivares I rebased once some hours ago and Google testing step was still failing.
I rebased another time just now, let see how it goes.


Adds request charge header and makes max continuation token size configurable

The RUs consumed during a request will now be included in the response headers.
Also allowing the maximmum continuation token size to be set via config. By default, Cosmos DB's tokens can grow up to 16KB, which could be problematic for some clients since the token needs to be a URI query parameter. It can now be capped at 1KB per request. We are also doing away with the approach of storing the continuation token in a separate document in the database.
Also consolidating the two codegened IDocumentClient classes into one.

#190
#191


UIAlertController has missing UIAlertActions

When using Layout all the UIAlertControllers seem to have missing UIAlertActions, only on iOS 9.
private func presentAlert() {
    let sheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)

    sheet.addAction(UIAlertAction(title: "Edit", style: .default, handler: nil))
    sheet.addAction(UIAlertAction(title: "Delete", style: .destructive, handler: nil))
    sheet.addAction(UIAlertAction(title: "cancel", style: .cancel, handler: nil))

    present(sheet, animated: true)
}

See the following sample project
When using Layout version 0.4.13 it works fine, but upgrading to 0.4.14 or greater breaks.

From inspecting the views, it does seem that Apple uses a UICollectionView to present the Sheet, so perhaps that's a good hint of where the issue might be.

Thanks! I've got a fix - I've pushed a fix to the develop branch.

Working 👍


[e2e]: go schedule main adversarial-build-provenance slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/2710710667
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.adversarial-build-provenance.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.adversarial-build-provenance.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu Jul 21 09:27:04 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/2717617048
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.adversarial-build-provenance.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.adversarial-build-provenance.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Jul 22 09:26:29 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/2723182874
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.adversarial-build-provenance.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.adversarial-build-provenance.slsa3.yml
Trigger: schedule
Branch: main
Date: Sat Jul 23 09:25:09 UTC 2022
Tests are passing now. Closing this issue.


fix(argocd): encode app selectors

This fixes #559 by escaping the selectors before they are sent to the backend. There are no changes required for the backend since Express automatically decodes these values.

NOTE: Express automatically decodes the values in req.params (using decodeURIComponent).

Source: Express documentation
:heavy_check_mark: Checklist

[x] Added tests for new functionality and regression tests for bug fixes
[x] Added changeset (run yarn changeset in the root)
[ ] Screenshots of before and after attached (for UI changes)
[ ] Added or updated documentation (if applicable)

Any idea when this will be pushed out to NPM in a new version of the plugin? /cc @noisyscanner


digest depends on numpy version

In GitLab by @esarradj on Feb 9, 2018, 13:53
str() function line 15 of internal.py depends on the numpy print mechanics that may change from version to version  -> digest depends on the numpy version
solution: rewrite digest function not to use str() for array-type traits

In GitLab by @esarradj on May 30, 2022, 15:33
.tobytes() would be a good alternative

In GitLab by @esarradj on Jan 21, 2019, 17:32
removed milestone
By Gert Herold on 2019-01-21T16:32:01 (imported from GitLab)

In GitLab by @esarradj on Jun 8, 2021, 17:24
mentioned in commit c04944fe1ee9be0f135dbb1ff7e89d92555e8a83


docs(contributors): add @bbohen to the contributors

Are you ok with this @bbohen?

Thank you for your input into the project!


FIX: Correctly pass low_cpu_mem_usage argument when initializing a PEFT model with task_type

There was a bug that when creating a PEFT model with the task_type argument, the low_cpu_mem_usage argument was not passed along. This is now fixed and unit tests for this were added.
This is a very niche bug because there is typically no need to pass low_cpu_mem_usage=True when calling get_peft_model. Moreover, as the option for this was only added recently (#2142) and is unreleased, few if any users should be affected by the bug.
https://github.com/huggingface/peft/pull/2142/files#diff-b3b90f453dea37bf90203fd395e9dedc21b21c9a38464c6b1572368c049ef8b2

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Fullscreen Dialog dismissable modal doesn't display close button in header

🐛 Bug Report

Rendering a Dialog inside DialogContainer with isDismissable prop combined with type="fullscreen" (or "fullscreenTakeover") doesn't show a close button in header.
🤔 Expected Behavior
Dismiss button is visible when modal is fullscreen

😯 Current Behavior
Button element is being rendered in DOM (first screenshot) but its css prop gridArea: closeButton doesn't correspond to dialog content style (second screenshot). Close button appears when type prop is removed.

💁 Possible Solution

🔦 Context

💻 Code Sample

      <DialogContainer
        isDismissable
        type="fullscreen" // or type="fullscreenTakeover"
        onDismiss={() => setDisplayPreview(false)}
      >
        <Dialog isDismissable>
          <Heading>Dialog Title</Heading>
          <Content>
            <Text>Close Button not showing</Text>
          </Content>
        </Dialog>
      </DialogContainer>

🌍 Your Environment

Software
Version(s)

react-spectrum
3.24.1

Browser
chrome Version 109.0.5414.87 (Official Build) (x86_64)

Operating System
macOS 11.7.1

🧢 Your Company/Team

🕷 Tracking Issue (optional)

Thanks for the issue, in Spectrum's design system that isn't a valid combination. Instead, please use a ButtonGroup and provide your own close button.
See https://react-spectrum.adobe.com/react-spectrum/DialogTrigger.html#fullscreen and https://react-spectrum.adobe.com/react-spectrum/DialogContainer.html#dialog-triggered-by-a-menu-item for examples with this.


https://youtube.com/channel/UCNXzkqFzy8whZWmR8Z7EFZA

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://youtube.com/channel/UCNXzkqFzy8whZWmR8Z7EFZA
What part(s) of the article would you like to see updated?
https://youtube.com/channel/UCNXzkqFzy8whZWmR8Z7EFZA
Additional information
https://youtube.com/channel/UCNXzkqFzy8whZWmR8Z7EFZA

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

K


Adding contour option

Started adding options for contour plots.
Perhaps fmt needs to be available for the user

to be done as post process


Add marp package manifest v0.0.14

FYI @yhatt

As an app author, I don't recommend to add because it is no longer maintained.
See also the similar decision in awesome-list: https://github.com/sindresorhus/awesome-electron/pull/555

@yhatt, sure I didn't realize it wasn't maintained.


Include base pay as part of Person class

literally add one int field

I can do this as it involves moving Rate over to Person


Minor : previous spell created loose aura.type when going to a

Hello,
Some previous spells i have created who where working, have lost aura.type when going to a recent version (from earlier to at least 0.1.45). Sorry i have not catch the when properly regarding the version. On the aura, the checkbox was still ther and checked.

Workaround found :
i have to unchecked / check again "is effect aura ?", save the spell and import it to the character again in order to work properly

Best regards

What version did you go from -> too?

Oh sorry i didnt read properly. Im sorry this happened but im not sure what/why that occured so I cant do much about it.

I submitted it mainly for the workaround in case of others encounters the same behavior.
Best regards


Count/Show all tokens used for the chat.

Describe the need of your request
I would like to see count of all tokens used for the chat historically.
Currently the chat shows only tokens, that are displayed in the chat.
if  I regenerate or delete some parts.. their tokens "dissapear" form the sum..
Also I'd like to know if previous conversation is being sent together with each new message (in same chat)?
Proposed solution
Keep track of all tokens sent/received in separate field.
Additional context
because I started getting too big bills from openAI, though tokes count didn't indicate this would happen... :)

Unfortunately, displaying the count of all tokens used historically is not on the current roadmap.

Also I'd like to know if previous conversation is being sent together with each new message (in same chat)?

Yes, the previous context is sent altogether with each new message. This is how conversational chatbots work.
To keep costs down, I would suggest using GPT-3.5 Turbo for most tasks and GPT-4 only when needed, as well as switching between new chats so that the context doesn't grow too large.


Marvin test to verify that adding TCP ports 500,4500 and 1701 in vpn should not fail

Please refer to JIRA ticket for more details
https://issues.apache.org/jira/browse/CLOUDSTACK-9117
Following is the result info:
Test to add TCP Port Forwarding rule for specific ports(500,1701 and 4500) in VPN ... === TestName: test_08_add_TCP_PF_Rule_In_VPN | Status : SUCCESS ===
ok

Ran 1 test in 166.799s
OK

@sanju1010 can you rebase against latest master and share state of your PR, thanks

Test to add TCP Port Forwarding rule for specific ports(500,1701 and 4500) in VPN ... === TestName: test_08_add_TCP_PF_Rule_In_VPN | Status : SUCCESS ===
ok

Ran 1 test in 574.873s
OK

ACS CI BVT Run
Sumarry:
Build Number 112
Hypervisor xenserver
NetworkType Advanced
Passed=68
Failed=5
Skipped=3
Link to logs Folder (search by build_no): https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
Failed tests:

test_vpc_vpn.py

ContextSuite context=TestRVPCSite2SiteVpn>:setup Failing since 9 runs

ContextSuite context=TestVpcRemoteAccessVpn>:setup Failing since 9 runs

ContextSuite context=TestVpcSite2SiteVpn>:setup Failing since 9 runs

test_volumes.py

test_06_download_detached_volume Failed

test_vm_life_cycle.py

test_10_attachAndDetach_iso Failed

Skipped tests:
test_vm_nic_adapter_vmxnet3
test_static_role_account_acls
test_deploy_vgpu_enabled_vm
Passed test suits:
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_routers.py
test_reset_vm_on_reboot.py
test_snapshots.py
test_deploy_vms_with_varied_deploymentplanners.py
test_login.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_disk_offerings.py

failures are note related. merging


Recovery Action Not Supported with IAM Roles

The "Recover" action on Amazon EC2 instances is not yet supported for use with IAM roles.  A Feature Request case has been entered with Amazon Support.  Update Recover code in the future when this feature is added.

Resolved with modification to use IAM user instead of IAM role.


Changing Application Log Level requires app restart

For ASP.NET Core applications, changes to Application Log Level do not take effect until the app is also restarted.
Repro Steps

Enable Application Logging with “Level=Information” and click “Save”
Make request to app, and view application log in “Log stream”.  It should be using the correct level:

Connecting...
2018-09-20T23:59:05  Welcome, you are now connected to log-streaming service.
2018-09-20 23:59:21.283 +00:00 [Information] Microsoft.AspNetCore.Hosting.Internal.WebHost: Request starting HTTP/1.1 GET http://mharder.azurewebsites.net/

Change log level to “Verbose” and click “Save”.
Make request to app, and view application log in “Log stream”.  It is still using the “Information” level.
Restart app.
Make request to app, and view application log in “Log stream”.  It is now using the “Debug” level.

Connecting...
2018-09-21T00:03:03  Welcome, you are now connected to log-streaming service.
2018-09-21 00:03:06.599 +00:00 [Information] Microsoft.AspNetCore.Hosting.Internal.WebHost: Request starting HTTP/1.1 GET http://mharder.azurewebsites.net/
2018-09-21 00:03:06.599 +00:00 [Trace] Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware: All hosts are allowed.
2018-09-21 00:03:06.599 +00:00 [Debug] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The request path / does not match a supported file type

What version of runtime/site extension did you use?

We had the same bug before https://github.com/aspnet/AzureIntegration/issues/177

App targets netcoreapp2.1, and published from VS 15.8.5 RTM.  In VS, "Install ASP.NET Core site extension" is unchecked.  Portal shows site extension version as 2.1.0-preview2-final.

We believe this was fixed in #177, for site extension 2.1-rc.  However, app service is still using 2.1-preview2 which is not fixed.  Keeping this issue open until AppService is updated to 2.1-rc or later.


Allow users to permanently dismiss the referral banners

Held on https://github.com/Expensify/Auth/pull/9697 for NVPs being included in OpenApp
Held on https://github.com/Expensify/Web-Expensify/pull/40603 for the new API command to be added
Held on https://github.com/Expensify/App/pull/33925 for dismiss functionality

Details
This PR allows users to permanently dismiss the referral banners. It was based off https://github.com/Expensify/App/pull/33925
Fixed Issues
$ https://github.com/Expensify/App/issues/34387
Tests
There are four banners to test. For each banner, you should:

Log in with a brand new account
View the banner
Click the X on the banner
Close whatever view has the banner (it's usually in a modal)
Reopen the view that had the banner
Verify that the banner does is no longer visible

The four banners to test are:

Main search window in the footer
The New Chat page from global create
Select participant page when requesting money
Select participant page when sending money

[ ] Verify that no errors appear in the JS console

Offline tests

Go offline
Dismiss a banner
Verify the banner doesn't display again
Go back online
Verify the banner still doesn't display

QA Steps
Same as the tests above

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome Unable to test due to broken dev emulator
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

bump @hoangzinh for review!

I'm trying to fix the package.json issue this morning. Not having much luck so far, but I'll keep trying.

I've reverted the package.json change from this PR. Now I'm fixing some of the TS issues. Sorry for pinging you for a review earlier when it wasn't quite ready.

OK, this is ready for review now. I reverted the change to SearchPage.tsx and SearchPageFooter.js since those files are being removed elsewhere and that's what was causing the performance tests to fail.

Oops, I still need SearchPageFooter.js 🤦 putting that back...

OK, I've updated this with the changes necessary for SearchPageFooter and also removed SearchPage.js file completely (or else webpack was confusing it with SearchPage/index.js and not including the proper file).

OK, considering that I can't get this to work without removing SearchPage.js (due to webpack module resolution preference), I'll look into the first option of copying the few changes over. I'll be able to do that today.

@hoangzinh I looked at the history of SearchPage.js and I found these two PRs that changed the file significantly.

https://github.com/Expensify/App/pull/33347 implemented a debounced search for the option list. In SearchPage/index.js I see it's using useDebouncedState('') here which should cover the changes from this PR (from how I understand it).
https://github.com/Expensify/App/pull/33872 added performance tests to the page, nothing functional. Considering that the performance tests work with SearchPage/index.js, I believe that everything is good here. The one thing to note though is that in https://github.com/Expensify/App/pull/33872 there was a navigation prop that was added, supposedly because This is required because transitionEnd event doesn't trigger in the automated testing environment.. The navigation prop does not exist on SearchPage/index.js and the tests still pass. So that tells me that the navigation prop wasn't necessary or the tests were written in a way that doesn't utilize it.

Conclusion
I think it's fine to remove SearchPage.js in favor of keeping SearchPage/index.js and there are no changes that need to be copied over.
cc @rinej @TMisiukiewicz

I think it's fine to remove SearchPage.js in favor of keeping SearchPage/index.js and there are no changes that need to be copied over.

It will be removed in https://github.com/Expensify/App/pull/35058

I resolved conflicts and this is ready for review @tylerkaraszewski

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.37-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


bring back grouping in trackvis

Nodes should be groupable. A group of nodes is collapsible in the visualization. Ephemeral nodes should automatically collapse together (once re-implemented in https://github.com/Trrack/trrackjs/issues/60) and users should be able to manually select groups of nodes to collapse (labels for these collapsed groups would be nice). Grouping should probably only work within single branches and direct linear relationships. However, branches need to be able to start from the middle of groups. Manual grouping will require a multiselect action in Trrack, which should at a minimum support shift clicking to select linear groups down a branch. Multiselecting probably shouldn't update the state of the vis, leaving it at the state of the last single selected node.

Groups should support annotations — treating groups as nodes

This also needs a linked issue in trrack, as the groups should be stored by the trrack object.


remove discv5 routing table bucket refresh

What was wrong?
trin performs routing table bucket refreshes at both the portal subnetwork layer and the discv5 layer. The discv5 refreshes are not necessary because the subnetwork refreshes also populate the discv5 routing table. Furthermore, the subnetwork refreshes would only establish contact with other portal nodes, as opposed to arbitrary discv5 nodes.
How was it fixed?
Remove spawned task for discv5 routing table bucket refresh and associated code.
To-Do

[x] Add entry to the release notes (may forgo for trivial changes)
[x] Clean up commit history

The CI is failing for a flaky test, but that failure is unrelated to the removal of code here.

Roughly how often does it fail? 1/2 the time?

@carver yea so there are a few different reasons for failure in the CI history of this PR.

First three failures: Error on checksum (addressed by #378)
Next two failures: self_peertest
Last failure: utp::stream::tests::test_response_to_triple_ack

My comment was not very clear. The last failure appears to be a flaky test, but that's not clear by looking only at this PR. Also, the more consistent failure of self_peertest is a concern. Given that this PR is not urgent, we can resolve the self_peertest failure before review/merge.

Cool, I just tried re-running the test. I was curious how many times it would take to turn green again.

@carver how do you feel about merging this? I haven't been able to figure out the flaky uTP test, and I would like @ogenev's help there, but for now we can remove some unrelated LOC. Should we reopen #286?
On the "bad citizen" issue, I agree that is okay to be selfish for now.

@carver for sure. I like to leave those in for diff audibility prior to the final squash + merge.


Terminado backend

Hello there, I'm coming here from term.js, and I'm a little confused as to how to get this working with my terminado backend.  Is such a thing even possible, or do I need to rewrite my backend to use node.js instead of python?  I'm having trouble finding any documentation on how the backend works or what it's compatible with.
Thanks!

Basically, you just need to hook your streams/events from the websockets to the xterm. You can also use https://github.com/sourcelair/xterm.js/tree/master/addons/attach to let xterm.js automatically work with the websockets.
If you are looking for the old terminal.pipe() function, then you need to roll your own.

tl;dr: yes, you can.
Hi @staticfloat, xterm.js is totally agnostic over the "transport protocol" or the back-end technology so you can definitely use it with terminado.
If terminado exchanges a stream of bare terminal data you can use the attach add-on as @waywaaard proposed.
If terminado exchanges encapsulated data (e.g. {"data": "a"}), then you will have to program the front-end to send the appropriate data and "decode" the received data before dispatching them to xterm.
Not sure how terminado works though, so you will have to take a deeper look at this.
Did this help you at all?

@staticfloat did the above answer help you? Should I move forward with closing this?

Sorry I was slow about this guys, I don't have much time to play around with this, so my progress has been slow.
I did get this working, thank you all for your help!  I had to learn a little bit about Javascript to do so, but that's hardly the worst thing in the world.  :)
In case you're curious, the necessary pieces to talk to the Python terminado backend are here.  Most importantly, I modified attach.js to do the wrapping/unwrapping of data (here, here and here) just as you suggested @parisk, and then rearchitected the resizing code to something a little more straightforward.
All in all, it's a nice upgrade, thank you guys for this great piece of software.

Awesome 👍 ! Happy you sorted that out. The solution seems indeed straightforward.

Any chance we could get the terminado_attach.js in the main repo? Or better yet a Python backend demo, too?  I spent a long time futzing with other options and just found this one. Thanks for your consideration!

@scopatz A terminado demo would be useful, I agree.  So I've opened a PR to include one.

You can find my reply at https://github.com/sourcelair/xterm.js/pull/303#issuecomment-251609201. I think we can make this happen after some tweaks.

Thanks!


Add NLP cheat sheet

Hi there I have a cheat sheet about NLP can you guide me where to put the file in ur repo? please


feat: create live match event types

Occassionally we want to host / broadcast a live event with games, these can be quite bespoke and last minute.
As such, having some default flows for directing the users to just the live match feed with be preferable, at least from a default perspective.
A stretch goal would be to have this also reference a match card or some landing page which allows for more information to be viewed.

Here is an example "last minute" event type created. The default behavior means the click through goes to a 404 page. Poor! We must do better here:

Closed by #544


@docker:Config annotation incorrectly placed

Description:
In the Deploying on Docker section, the @docker:Config annotation is attached to a variable, not the HTTP listener.

This is fixed now. Hence closing this issue.


Second TPU on dual M.2 Accelerator not working, Failed to load delegate from libedgetpu.so.1

Description
I have a dual TPU M.2 accelerator, both devices are seen by the system and the first device is working properly in Frigate, but the second device is not. When I run the test from the Getting Started page I see a similar error to what I was experiencing here, but that fix is still in place.
Click to expand!
Issue Type
Support
Operating System
Linux
Coral Device
M.2 Accelerator with dual Edge TPU
Other Devices
No response
Programming Language
No response
Relevant Log Output
root@nvr:~/coral/pycoral# lspci -nn | grep 089a
04:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
05:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]

root@nvr:~/coral/pycoral# python3 examples/classify_image.py --model test_data/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite --labels test_data/inat_bird_                                                     labels.txt --input test_data/parrot.jpg
I tflite/edgetpu_manager_direct.cc:453] No matching device is already opened for shared ownership.
I driver/usb/local_usb_device.cc:944] EnumerateDevices: vendor:0x1a6e, product:0x89a
I driver/usb/local_usb_device.cc:979] EnumerateDevices: checking bus[2] port[0]
I driver/usb/local_usb_device.cc:979] EnumerateDevices: checking bus[1] port[5]
I driver/usb/local_usb_device.cc:979] EnumerateDevices: checking bus[1] port[1]
I driver/usb/local_usb_device.cc:979] EnumerateDevices: checking bus[1] port[0]
I driver/usb/local_usb_device.cc:944] EnumerateDevices: vendor:0x18d1, product:0x9302
I driver/usb/local_usb_device.cc:979] EnumerateDevices: checking bus[2] port[0]
I driver/usb/local_usb_device.cc:979] EnumerateDevices: checking bus[1] port[5]
I driver/usb/local_usb_device.cc:979] EnumerateDevices: checking bus[1] port[1]
I driver/usb/local_usb_device.cc:979] EnumerateDevices: checking bus[1] port[0]
I tflite/edgetpu_context_direct.cc:106] USB always DFU: False (default)
I tflite/edgetpu_context_direct.cc:128] USB bulk-in queue capacity: default
I tflite/edgetpu_context_direct.cc:67] Performance expectation: Max (default)
I ./driver/mmio/host_queue.h:266] Starting in normal mode
I driver/kernel/kernel_registers.cc:83] Opening /dev/apex_0. read_only=0
I driver/kernel/kernel_registers.cc:97] mmap_offset=0x0000000000040000, mmap_size=4096
I driver/kernel/kernel_registers.cc:108] Got map addr at 0x0x7f72b4877000
I driver/kernel/kernel_registers.cc:97] mmap_offset=0x0000000000044000, mmap_size=4096
I driver/kernel/kernel_registers.cc:108] Got map addr at 0x0x7f72b4876000
I driver/kernel/kernel_registers.cc:97] mmap_offset=0x0000000000048000, mmap_size=4096
I driver/kernel/kernel_registers.cc:108] Got map addr at 0x0x7f72b4875000
I driver/kernel/kernel_registers.cc:211] Read: offset = 0x00000000000486f0, value: = 0x0000000000000000
I driver/kernel/kernel_registers.cc:190] Write: offset = 0x00000000000487a8, value = 0x0000000000000000
I driver/kernel/kernel_registers.cc:122] Closing /dev/apex_0. mmap_offset=0x0000000000040000, mmap_size=4096, read_only=0
I driver/kernel/kernel_registers.cc:122] Closing /dev/apex_0. mmap_offset=0x0000000000044000, mmap_size=4096, read_only=0
I driver/kernel/kernel_registers.cc:122] Closing /dev/apex_0. mmap_offset=0x0000000000048000, mmap_size=4096, read_only=0
I tflite/edgetpu_context_direct.cc:401] Failed to open device [Apex (PCIe)] at [/dev/apex_0]: Failed precondition: Could not partition page table. : 5 (Device o                                                     r resource busy)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
    delegate = Delegate(library, options)
  File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
    raise ValueError(capture.message)
ValueError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/coral/pycoral/examples/classify_image.py", line 122, in <module>
    main()
  File "/root/coral/pycoral/examples/classify_image.py", line 72, in main
    interpreter = make_interpreter(*args.model.split('@'))
  File "/usr/lib/python3/dist-packages/pycoral/utils/edgetpu.py", line 87, in make_interpreter
    delegates = [load_edgetpu_delegate({'device': device} if device else {})]
  File "/usr/lib/python3/dist-packages/pycoral/utils/edgetpu.py", line 52, in load_edgetpu_delegate
    return tflite.load_delegate(_EDGETPU_SHARED_LIB, options or {})
  File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
    raise ValueError('Failed to load delegate from {}\n{}'.format(
ValueError: Failed to load delegate from libedgetpu.so.1

</details>

can you please share the output of below command. Thanks!

lspci -vvv|grep -i MSI-X

root@nvr:~# lspci -vvv|grep -i MSI-X
Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
Capabilities: [d0] MSI-X: Enable+ Count=128 Masked-
Capabilities: [d0] MSI-X: Enable+ Count=128 Masked-
pcilib: sysfs_read_vpd: read failed: Input/output error
Capabilities: [b0] MSI-X: Enable+ Count=9 Masked-

@hjonnala, do you have any next steps?

Seems to be issue with host system configuration, not sure how to fix it. Can you try this example without frigate container on your host machine: https://github.com/google-coral/pycoral/blob/master/examples/model_pipelining_classify_image.py

It's odd, because at one point both tpus were working in Frigate.
Here's the output from trying to run that model on the host machine:
root@nvr:~/coral/pycoral# python3 examples/model_pipelining_classify_image.py   --models     test_data/pipeline/inception_v3_299_quant_segment_%d_of_2_edgetpu.tflite   --labels test_data/imagenet_labels.txt   --input test_data/parrot.jpg
Using devices:  ['pci:0', 'pci:1']
Using models:  ['test_data/pipeline/inception_v3_299_quant_segment_0_of_2_edgetpu.tflite', 'test_data/pipeline/inception_v3_299_quant_segment_1_of_2_edgetpu.tflite']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
    delegate = Delegate(library, options)
  File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
    raise ValueError(capture.message)
ValueError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/coral/pycoral/examples/model_pipelining_classify_image.py", line 172, in <module>
    main()
  File "/root/coral/pycoral/examples/model_pipelining_classify_image.py", line 132, in main
    runner = _make_runner(model_paths, devices)
  File "/root/coral/pycoral/examples/model_pipelining_classify_image.py", line 85, in _make_runner
    interpreters = [make_interpreter(m, d) for m, d in zip(model_paths, devices)]
  File "/root/coral/pycoral/examples/model_pipelining_classify_image.py", line 85, in <listcomp>
    interpreters = [make_interpreter(m, d) for m, d in zip(model_paths, devices)]
  File "/usr/lib/python3/dist-packages/pycoral/utils/edgetpu.py", line 87, in make_interpreter
    delegates = [load_edgetpu_delegate({'device': device} if device else {})]
  File "/usr/lib/python3/dist-packages/pycoral/utils/edgetpu.py", line 52, in load_edgetpu_delegate
    return tflite.load_delegate(_EDGETPU_SHARED_LIB, options or {})
  File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
    raise ValueError('Failed to load delegate from {}\n{}'.format(
ValueError: Failed to load delegate from libedgetpu.so.1

I swapped the card into another machine, and everything works as expected. I then moved the card back to the original machine, but in a different slot (x16) and it worked as expected. Then I moved it back to the original slot and the problem is back.
Another tidbit of information is that when I moved to a different slot in the same machine my network adapter was renamed, and I lost all network access.
Are there any other ideas?

Seems to be issue with host system configuration, not sure how to fix it. Can you try this example without frigate container on your host machine: https://github.com/google-coral/pycoral/blob/master/examples/model_pipelining_classify_image.py

I think I misunderstood your request here.
I figured out the problem I was having wasn't really a problem after all, turns out the host machine can't use a PCI device that has been passed into a docker container. Once I realized that I determined everything is working properly.


Document programmatic Prisma TypeScript API

A.k.a. SDK

@janpio Is there more context to this one? Or is this from before the API was documented.

It was a kind/docs labelled issue in prisma/prisma.
But I do not really think we have any SDK documentation right now.

We now have reference docs


Lomap MCS throws ValueError if rdkit.Mol created from SMILES

from rdkit import Chem
from lomap import mcs

test_dir = "/Users/dwhs/omsf/src/openfe/openfe/tests/data/lomap_basic/"
toluene = Chem.MolFromMol2File(test_dir + "toluene.mol2")
methylcyclohexane = Chem.MolFromMol2File(test_dir + "methylcyclohexane.mol2")
mapping = mcs.MCS(toluene, methylcyclohexane)
# behaves as desired

toluene2 = Chem.MolFromSmiles(Chem.MolToSmiles(toluene))
methylcyclohexane2 = Chem.MolFromSmiles(Chem.MolToSmiles(methylcyclohexane))
mapping = mcs.MCS(toluene2, methylcyclohexane2)

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
~/mambaforge/envs/openfe/lib/python3.9/site-packages/lomap/mcs.py in __init__(self, moli, molj, time, verbose, max3d, threed)
    586             try:
--> 587                 trim_mcs_mol(max_deviation=max3d)
    588             except Exception as e:

~/mambaforge/envs/openfe/lib/python3.9/site-packages/lomap/mcs.py in trim_mcs_mol(max_deviation)
    156             while True:
--> 157                 (mapi,mapj) = best_substruct_match_to_mcs(self._moli_noh, self._molj_noh, by_rmsd=True)
    158                 # Compute the translation to bring molj's centre over moli

~/mambaforge/envs/openfe/lib/python3.9/site-packages/lomap/mcs.py in best_substruct_match_to_mcs(moli, molj, by_rmsd)
    121                     if by_rmsd:
--> 122                         coord_delta = (substructure_centre(moli,mapi)
    123                                  - substructure_centre(molj,mapj))

~/mambaforge/envs/openfe/lib/python3.9/site-packages/lomap/mcs.py in substructure_centre(mol, mol_sub)
     90             for i in mol_sub:
---> 91                 sum += mol.GetConformer().GetAtomPosition(i)
     92             return sum / len(mol_sub)

ValueError: Bad Conformer Id

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
/var/folders/vj/28c107496sq5z4y10rjz5gdm0000gn/T/ipykernel_30741/2330220248.py in <module>
      1 toluene2 = Chem.MolFromSmiles(Chem.MolToSmiles(toluene))
      2 methylcyclohexane2 = Chem.MolFromSmiles(Chem.MolToSmiles(methylcyclohexane))
----> 3 mapping = mcs.MCS(toluene2, methylcyclohexane2)

~/mambaforge/envs/openfe/lib/python3.9/site-packages/lomap/mcs.py in __init__(self, moli, molj, time, verbose, max3d, threed)
    587                 trim_mcs_mol(max_deviation=max3d)
    588             except Exception as e:
--> 589                 raise ValueError(str(e))
    590
    591         # Trim the MCS further to remove chirality mismatches

ValueError: Bad Conformer Id

What happens if you create 2D coordinates?

What happens if you create 2D coordinates?

That fixes:
Chem.rdDepictor.Compute2DCoords(toluene2)
Chem.rdDepictor.Compute2DCoords(methylcyclohexane2)
mapping = mcs.MCS(toluene2, methylcyclohexane2)
# no error

Should this be done internally when needed?

(follow up from a quick slack discusion)
My main question is - I have no idea if max3d should even be applied if there are non-3D coordinates, does it make sense to trim the MCS in 2D space?
The two options I could see are:

At init MCS checks for conformers, if there are non then max3d gets set to 0 (I'm not 100% sure what the impact of this is, but it would reflect not having any positional data)
At init if there are no conformers then either gracefully fail and ask for coords, or attempt to get some coords via some user-defined flag?


support old crontab entries

since fix of issue #167 we must keep old compatibility

done in commit 965fddd1f3b2debef06620d7bebba8da9202ba24, need non-regression tests


Tree sidebar folding code causes width overflows

The page is laid out as if the tree sidebar doesn't exist. If the tree sidebar is visible, then the width of the main container should update to a new width. See below:

You can fix this by either passing in the width to subtract from the main container as a prop, or fix the flow of the container GroupReportTabContainer so it flows properly.
Side note: we can replace this code
      {state.treeOpen && (
        <GroupTreeToggle onClick={toggleTree}>◄</GroupTreeToggle>
      )}
      {!state.treeOpen && (
        <GroupTreeToggle onClick={toggleTree}>►</GroupTreeToggle>
      )}

with CSS ::before or ::after tags and props passed to the GroupTreeToggle styled component. See here for a guide on before/after: https://css-tricks.com/almanac/selectors/a/after-and-before/

Actually, this might be caused by the VOC list, since removing the VOC element seemed to resolve this issue


Add package json

looks like manual input, not like forced npm init

This diverges from the architecture of this repo. The included package.json looks like its very close to code to me...


use @adobe/exc-app module

Description

replace custom implementation for loading the exc runtime object by the new @adobe/exc-app module

tiny bug fix for ui template: clear error message

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

waiting on exc team to fix warnings

Fyi the source maps warnings have been fixed by the exc team. Thanks @shazron for the review!
@purplecabbage you had some concerns related to the history management, should we merge this or do you have some comments to add?


Remove builtin count

Which issue does this PR close?

Part of #8708
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

I took the liberty of merging up from main for this PR to get a clean CI run

Thanks @alamb


Where is the Bayes Loss and Classification Parameters Sampling process in the code?

Hi, excellent work!
In equation 8 and 10 of the paper, you proposed a Bayes loss and a specific task classification parameter generation module. But I failed to find the implementation of them in the code, can you help me?
Thanks

@1160301020 Hi, please refer to https://github.com/Luoyadan/BGNN-AAAI/blob/6ee481687e92b70531f82283c56a258886d9cac1/model.py#L263. Thanks.


Alpha artifacts in BC7 output

When I use BC7 in my test application, it seems like the basis transcoder is generating semitransparency artifacts in the alpha channel that aren't in the source texture or in the DXT5 transcode. I pulled the latest rev of the repository, compiled basisu from scratch, and re-generated all my ktx2/uastc files. The RGB channels look fine to my eye, I think only A is messed up. Comparison screenshots (the last one is BC7 and obviously broken) (EDIT: Also note that I used renderdoc's range slider to make the artifacts more obvious, it's alpha values in the like 230-250 range that should be 255):

Also, here are two ktx2 uastc files that exhibit this problem when transcoded.
basis-bc7-alpha-bug.zip

Got it - investigating. Could you please provide the source image too?
Thanks!
-Rich

This is the source image, but I transcode it to TGA before feeding it to basisu to work around deficiencies in PNG loading. I'll try to generate that tga and upload it when I get a chance (the compressor deletes it when it's done)

This is the source image, but I transcode it to TGA before feeding it to basisu to work around deficiencies in PNG loading.
Curious - what PNG issues have you encountered? We want to fix them.

PNG loading is currently handled using lodepng, but we're thinking of switching to Wuffs. We've upgraded to the latest lodepng version in v1.16 (the next major release of basisu), but we're in a holding pattern on that release until given approval.

It's less issues and more missing features necessary to handle certain things right - I mentioned some of it in https://github.com/BinomialLLC/basis_universal/issues/249. I have to do certain things to ensure that alpha and sRGB/linear stuff is handled correctly and the default behavior for PNGs created by various image software is not "right" in this case, though it is probably textbook correct. So I do various things to make sure the rgb and a channels have the content I want, then save that to a tga and compress it with basisu. At runtime I take the dxt textures and multiply the rgb on the fly, since if I encoded them premultiplied the discontinuities between RGB and A would produce horrible artifacts.

OK - this is definitely the artifact I thought it was. The UASTC->BC7 transcoder will sometimes output mode 6 blocks that have p-bits that are 0 on opaque blocks. BC7 mode 6 only has 7 bit components, so when the p-bit is 0 you'll get alpha values of 254 instead of 255. This is a known issue with BC7. It results in less RGB error overall, which is why it does that. (Our offline BC7 encoders do this too.)
Is it possible for you to work around this? When it happens, you'll either get alpha values of 254 or 255, instead of 255 in alpha blocks. I will see if it's possible for us to provide a workaround, but it may be tricky.

If you want to be adventurous and experiment - you can slam both p-bits to 1 at line 13083 in function transcode_uastc_to_bc7() in transcoder/basisu_transcoder.cpp. The problem goes away, however RGB error will go up.

If the range on the artifacts will be known and easily detected (253-254 for example) I can probably just bias those in my pixel shader at the cost of a couple opcodes. Awkward but reasonable. It sounds like there isn't a good alternative. I'm guessing I'll also need to adjust my RGB values in some way to fix it? Do I want to multiply all values by (255 / 254)?
Is this in the docs somewhere and I missed it?

It sounds like there isn't a good alternative. I'm guessing I'll also need to adjust my RGB values in some way to fix it? Do I want to multiply all values by (255 / 254)?

Yes, I can modify the system to not do this, or make it an option. There's no need to adjust RGB values. On fully opaque blocks, the transcoder will still use 0/1-pbits on mode 6 and you'll sometimes get alpha values of 254.

The alpha artifact is comparatively severe in terms of consequences

I'll see what I can do. It's totally fixable, but we want to make sure all of our users are happy because RGB PSNR is typically #1. Not utilizing these p-bits to minimize RGB error will make others less happy. (It's a whack a mole game for us.)

Just compressed your PNG file with AMD Compressonator, using its built-in BC7 encoder. It has the same problem: some alpha values are 254 because it utilizes p-bits too:

"the last one is BC7 and obviously broken"
So does this mean AMD Compressonator is broken too?

Well, if everyone has the same problem - it sounds like a limitation in the BC7 format - then it's not really your obligation to fix it! Certainly appreciate it if you do, but if this is just an artifact inherent to BC7 I'll have to change my shaders in order to use BC7. The workaround is at least fairly simple so I don't think it's a big burden to do it. It's interesting that compressonator produces artifacts in different places.
You're right that RGB error is bad, but doesn't this produce the equivalent of RGB error at display time since in most cases the RGB values are going to be multiplied by the A channel? I can imagine it being very bad for cases where the RGBA channels aren't color + alpha data, though, because in that case you'd be slightly increasing the accuracy of one channel at the cost of the other three.

I updated my shaders to generalize support for handling format quirks like this, and multiplying by (255 / 254) seems to make the problems go away. Considering that other encoders will produce bad data like this, I think it's probably reasonable not to fix it - though I'd certainly love to have a flag that does work around it, since it would make complex shaders that sample textures a lot (like a blur) much cheaper.

We'll get a fix in. It's not that hard, but we want to do it right (i.e. not regress anything).

I learned today that bc7 can also produce a=1 instead of a=0. Should I be compensating for this too, or does basis's transcoder work in a way that avoids generating erroneous 1s? Thanks!


Feature/dropdown plot

Fixing broken sketch image in proposal and adding contact details in code of conduct

@Rowansiv can you resolve the merge conflict?


Enter the group members times

We need to enter the team members times in the time table

@Jonagoo Fill in your time one branch issue102

Done.

Thats only 20 hours tho @Jonagoo The others have 25-30.

Make a PR when you're done :)


The plugin dosn't want to work in Godot v4.2.1 ??

Describe the bug
i have godot engine v4.2.1 and i follow every thing in the starting guide but when i try to run a basic script, it doesn't want to work.
it gives me an error in the editor
To Reproduce
Steps to reproduce the behavior:
i just make a simple UI scene with a button and attach a scipt to it so when i press the button it get data from firebase database
var firebaseob = Firebase.Firestore.collection("/Novels Info")
Screenshots
i got this error when i try to get the script to work :

Environment:

OS: windows 10
Godot : v4.2.1
Godot firebase v5.2

I am not sure what is happening

i also notice something else in a lot of the add-on scripts, it give me some sort of error "couldn't find type something":

just now I try to use Godot v4.1.1 and no errors. so i thing the plugin isnot comapatable with 4.2.1 yet ??

It works fine in 4.2.1 (I just ran it in my test harness - you can find the test harness in our repo, including one with 4.x support on a different branch). I think probably you either downloaded the 3.x version by mistake, or it has cached your build. If you try closing Godot, then going into your project's folder and deleting your .godot folder, then re-opening your project in 4.2.1 or whatever version, it should work I think.

Looks like you didn't do 3.x, so try the .godot folder delete thing. This is a common issue with Godot when upgrading projects or things like that. When and where did you download the plugin? Like I said, I have it working just fine, no changes needed, in several projects, would be weird if it only didn't work for you because the plugin is wrong.

thanks alot it work just fine after i delete the .godot folder thing thanks alot 😊


[WelcomeUX] Contrast is low in light theme

Suggest to make the background even more dimmed so that the foreground has more contrast:

#19051 is asking for the opposite.

The problem here is that the sidebar isn't dimmed.

Updating to:


Generated hotspot not reliably staying available

Description
Hi, I am using the Coral development board to generate a hotspot in order to connect other devices to it. However, I am currently seeing an issue where the hotspot becomes unavailable and then re-appears again as can be seen from my phone's wifi list and from viewing time graphs of SSIDs using the linssid program. Sometimes the signal goes down to 2 bars even though the board and my phone are right next to each other. Any ideas why it would behave like this?
Command and output from generating the hotspot:
$ sudo hostapd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
rfkill: Cannot open RFKILL control device
hotspot: interface state UNINITIALIZED->COUNTRY_UPDATE
Using interface hotspot with hwaddr 00:0a:f5:89:89:82 and ssid "my_hotspot"
hotspot: interface state COUNTRY_UPDATE->ENABLED
hotspot: AP-ENABLED
hotspot: IEEE 802.11 driver had channel switch: freq=2447, ht=1, vht_ch=0x0, offset=0, width=1 (20 MHz), cf1=2447, cf2=0
hotspot: STA 1e:f4:5e:60:19:d4 IEEE 802.11: associated

Click to expand!
Issue Type
Performance, Support
Operating System
Mendel Linux
Coral Device
Dev Board
Other Devices
No response
Programming Language
No response
Relevant Log Output
Contents of /etc/hostapd.conf

#2.4GHz setup wifi 80211 b,g,n
interface=hotspot
driver=nl80211
ssid=my_hotspot
hw_mode=g
channel=8
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
rsn_pairwise=CCMP

#80211n - Change GB to your WiFi country code
country_code=US
ieee80211n=1
ieee80211d=1

Changing up the /etc/hostapd.conf seems to have resolved it:
interface=hotspot
driver=nl80211
ssid=my_hotspot
hw_mode=g
channel=1
wme_enabled=1
ieee80211n=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP


About ConformerTransfucer structure

Hello，I have another question. In your code ConformerTransfucer‘s TransducerPrediction is implemented with LSTM， CanTransducerPrediction be implemented with Conformer block? thank you

Maybe you wanne CTC structure.
------------------ 原始邮件 ------------------
发件人:                                                                                "Z-yq/TensorflowASR"<EMAIL_ADDRESS>发送时间: 2020年9月27日(星期天) 下午4:25
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: [Z-yq/TensorflowASR] About ConformerTransfucer structure (#2)
Hello，I have another question. In your code ConformerTransfucer‘s TransducerPrediction is implemented with LSTM， CanTransducerPrediction be implemented with Conformer block? thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you. I just read the paper of Conformer ,TransducerPrediction is implemented with LSTM. I think it can also be implemented with transformer.

That's a good idea, you can try it.
But it's hard for online streaming.
------------------ 原始邮件 ------------------
发件人:                                                                                "Z-yq/TensorflowASR"<EMAIL_ADDRESS>发送时间: 2020年9月27日(星期天) 下午4:45
收件人<EMAIL_ADDRESS>抄送: "　Ｄｅｍｏｎ丶"<641242921<EMAIL_ADDRESS>主题: Re: [Z-yq/TensorflowASR] About ConformerTransfucer structure (#2)
Thank you. I just read the paper of Conformer ,TransducerPrediction is implemented with LSTM. I think it can also be implemented with transformer.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

thanks，I learned a lot from your code.  It is great!


Create a common interface to standardize platform functionality

The idea here is that platform-specific UI will implement CalendarState one way or another to provide consumers some consistent API.
Closes #12

LGTM


BUG: Some supporting index pages not included in --files build of jupinx

When running a selecting run of jupinx it looks like sphinx isn't picking up all the index pages as index_toc is not being rendered.
(base) ~/repos-collab/lecture-source-py $ jupinx -cws --file source/rst/pandas.rst source/rst/about_py.rst
Running: make clean
Removing everything under '_build'...
Running: make website
Running Sphinx v1.8.5
making output directory...
building [mo]: targets for 0 po files that are specified
building [jupyter]: 2 source files given on command line
updating environment: 123 added, 0 changed, 0 removed
checking for /home/mmcky/repos-collab/lecture-source-py/source/rst/_static/quant-econ.bib in bibtex cache... not found
parsing bibtex file /home/mmcky/repos-collab/lecture-source-py/source/rst/_static/quant-econ.bib... parsed 172 entries

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] pandas
copying static files... copying static files to executed folder...
WARNING: jupyter_static_path entry /home/mmcky/repos-collab/lecture-source-py/_static does not exist
done
Starting notebook execution for website and html conversion(if set in config)...
(1/5)  about_py -- pass -- 4.74s
(2/5)  index_data_and_empirics -- pass -- 2.45s
(3/5)  index -- pass -- 2.35s
(4/5)  index_learning_python -- pass -- 2.34s
(5/5)  pandas -- pass -- 12.36s

@AakashGfude do you know how we could debug this to see why index_toc isn't getting included in the dependency list? It is a problem as it means one can't navigate easily to the generated pages when the html server loads.
Another idea is if --files is specified then we load the website page for each file specified in different tabs / different servers. We should identify and fix the above box either way.


[Dev][CI] Enable hadolint for dev/

Describe the enhancement requested
There are many warnings:
dev/tasks/linux-packages/apache-arrow/yum/amazon-linux-2023/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/yum/amazon-linux-2023/Dockerfile:23 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-release/yum/almalinux-9/Dockerfile:22 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-release/yum/amazon-linux-2023/Dockerfile:22 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-jammy/Dockerfile:20 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-jammy/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-jammy/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/release/binary/Dockerfile:24 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/release/binary/Dockerfile:24 SC2086 info: Double quote to prevent globbing and word splitting.
dev/release/binary/Dockerfile:43 DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
dev/release/binary/Dockerfile:45 DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
dev/release/binary/Dockerfile:46 DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
dev/release/binary/Dockerfile:51 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/release/binary/Dockerfile:51 SC2209 warning: Use var=$(command) to assign output (or quote to assign string).
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-bullseye/Dockerfile:20 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-bullseye/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-bullseye/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/debian-bullseye/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/apt/debian-bullseye/Dockerfile:21 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/debian-bullseye/Dockerfile:29 DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
dev/tasks/linux-packages/apache-arrow/apt/debian-bullseye/Dockerfile:33 DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
dev/tasks/linux-packages/apache-arrow/apt/debian-bullseye/Dockerfile:36 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow/apt/debian-bullseye/Dockerfile:36 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/debian-bullseye/Dockerfile:36 DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
dev/tasks/linux-packages/apache-arrow/apt/debian-bullseye/Dockerfile:36 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile:21 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile:30 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile:30 DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
dev/tasks/linux-packages/apache-arrow-release/yum/centos-9-stream/Dockerfile:22 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-trixie/Dockerfile:20 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-trixie/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-trixie/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/yum/centos-8-stream/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/yum/centos-8-stream/Dockerfile:23 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/yum/centos-9-stream/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/yum/centos-9-stream/Dockerfile:23 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-bookworm/Dockerfile:20 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-bookworm/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow-apt-source/apt/debian-bookworm/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-release/yum/centos-8-stream/Dockerfile:22 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile:21 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile:29 DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile:36 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile:36 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile:36 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-focal/Dockerfile:20 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-focal/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-focal/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-jammy/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-jammy/Dockerfile:21 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-jammy/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-jammy/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-jammy/Dockerfile:30 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow-release/yum/almalinux-8/Dockerfile:22 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/yum/almalinux-9/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/yum/almalinux-9/Dockerfile:25 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile:26 DL3033 warning: Specify version with `yum install -y <package>-<version>`.
dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile:26 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-release/yum/centos-7/Dockerfile:22 DL3033 warning: Specify version with `yum install -y <package>-<version>`.
dev/tasks/linux-packages/apache-arrow-release/yum/centos-7/Dockerfile:22 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-noble/Dockerfile:20 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-noble/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow-apt-source/apt/ubuntu-noble/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/yum/almalinux-8/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/yum/almalinux-8/Dockerfile:23 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile:21 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile:29 DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile:36 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile:36 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile:36 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-noble/Dockerfile:19 DL3006 warning: Always tag the version of an image explicitly
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-noble/Dockerfile:21 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-noble/Dockerfile:30 SC2086 info: Double quote to prevent globbing and word splitting.
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-noble/Dockerfile:30 DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
dev/tasks/linux-packages/apache-arrow/apt/ubuntu-noble/Dockerfile:30 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check

Component(s)
Continuous Integration, Developer Tools

This still deserves to be done IMHO. Also cc @assignUser


Status Indicator & Message

I have added Status Indicator and Message to the input handler function to make it more interactive and appealing.

Thank you for your adding! I think too, it's great about your function!
And I'm happy to meet you.


Add protocol stats to the network plugin

This add the system wide network protocol stats to the net plugin.
Uses a new method in gopsutil see https://github.com/shirou/gopsutil/pull/109
Basically exposes all the data in /proc/net/snmp as
net_PROTOCOL_COLNAME
for example:
Excerpt from /proc/net/snmp
Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors IgnoredMulti
Udp: 67688650 3723361 58108572 124599763 58108572 0 0 318767

adds measurement net_udp_rcvbuferrors with value 58108572 etc.

looks good, thanks @nathanielc! will get this merged once the gopsutil PR is merged


[Proposal] How about replacing varchar with text/json?

This package is perfect for logging actions with simple messages "Jack updated Post id:123.", but when it comes to logging complex actions with deep details I believe having the field as text/json and allow logging actions in a json format would make it more flexible.
Activity::log([
    'action' => 'update',
    'updates' => [
        ['name' => ['old name', 'new name'],
        ['price' => [36, 78]]
    ]
]);

This will allow logging actions in more detail, and also can be handy when logging messages in a multilingual application.

This is a good feature that I'll keep in mind where developing the next major version of the package. ETA: somewhere this year (yeah, so many others things to do first :-))


feat(obstacle_avoidance_planner): use proxqp by default

Description
depends on https://github.com/autowarefoundation/autoware.universe/pull/3699
use ProxQP for obstacle_avoidance_planner's EB and MPT with the qp_interface package.

Tests performed

planning simulator
Effects on system behavior

No behavior change
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

I created a new PR, so I close this PR.
https://github.com/autowarefoundation/autoware.universe/pull/4237


2W power at night

At the moment the script is sending 2.2W to venus/VRM because of this JSON result from Ahoy:
{
  "menu": {
    "name": [
...
    ],
    "link": [
...
    ],
    "trgt": [
...
    ]
  },
  "generic": {
    "version": "0.5.66",
    "build": "f8fe044",
    "wifi_rssi": -64,
    "ts_uptime": 30499,
    "esp_type": "ESP8266"
  },
  "inverter": [
    {
      "enabled": true,
      "name": "hoymiles1",
      "channels": 1,
      "power_limit_read": 100,
      "last_alarm": "Inverter start",
      "ts_last_success":<PHONE_NUMBER>,
      "ch": [
        [
          231.3,
          0.01,
          2.2,
          49.99,
          1.005,
          8,
          90.185,
          327,
          2.3,
          95.652,
          0
        ],
        [
          30,
          0.08,
          2.3,
          327,
          90.185,
          2.3
        ]
      ],
      "ch_names": [
        "AC",
        "einzel"
      ]
    },
    {
      "enabled": true,
      "name": "hoymiles2",
      "channels": 4,
      "power_limit_read": 100,
      "last_alarm": "Inverter start",
      "ts_last_success":<PHONE_NUMBER>,
      "ch": [
        [
          230.7,
          0,
          0,
          49.99,
          0,
          6.4,
          1.153,
          631,
          3.5,
          0,
          20.7
        ],
        [
          31.7,
          0.02,
          0.6,
          193,
          0.362,
          0.16
        ],
        [
          31.7,
          0.01,
          0.5,
          3,
          0.007,
          0
        ],
        [
          31.9,
          0.04,
          1.2,
          199,
          0.37,
          0.32
        ],
        [
          31.9,
          0.04,
          1.2,
          236,
          0.414,
          0.32
        ]
      ],
      "ch_names": [
        "AC",
        "M1",
        "no",
        "M3",
        "M4"
      ]
    }
  ],
  "refresh_interval": 5,
  "ch0_fld_units": [
    "V",
    "A",
    "W",
    "Hz",
    "",
    "°C",
    "kWh",
    "Wh",
    "W",
    "%",
    "var"
  ],
  "ch0_fld_names": [
    "U_AC",
    "I_AC",
    "P_AC",
    "F_AC",
    "PF_AC",
    "Temp",
    "YieldTotal",
    "YieldDay",
    "P_DC",
    "Efficiency",
    "Q_AC"
  ],
  "fld_units": [
    "V",
    "A",
    "W",
    "Wh",
    "kWh",
    "%"
  ],
  "fld_names": [
    "U_DC",
    "I_DC",
    "P_DC",
    "YieldDay",
    "YieldTotal",
    "Irradiation"
  ]
}

that makes sense, but the hoymiles is also simply wrong, let‘s include this a feature request.
Very well spotted

We should then send none, because we gave to update. Ob the other hand it has no impact on energy reporting. It is rather cosmetic

I've prepared a branch in my fork of this repo: https://github.com/dsteinkopf/dbus-opendtu/tree/check_ts_last_success
... will create a PR after the values tomorrow arrive correctly.

that makes sense, but the hoymiles is also simply wrong, let‘s include this a feature request.

I am not sure if this should be seen as a bug in Ahoy. The data is correct, just a bit old. But the age (timestamp) is in the data.

Yes, it IS a bug in ahoy - at least at some other place: Latest value sent via MQTT also is 2.2.

I've just created an Ahoy issue: lumapu/ahoy#575