How to install pyasm

how to install pyasm in termux

Install python, pip and git through the termux package manager - there should be plenty of online guides for this. Then install pyasm through pip:
pip install git+https://github.com/SuperStormer/pyasm.git

Im faceing this error
pip install git+https://github.com/SuperStormer/pyasm.git
install this add type pyasm and showing this error
On Tue, Jul 6, 2021, 10:03 AM SuperStormer @.***> wrote:

Install python, pip and git through the termux package manager - there
should be plenty of online guides for this. Then install pyasm through pip:
pip install git+https://github.com/SuperStormer/pyasm.git
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SuperStormer/pyasm/issues/1#issuecomment-874461609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASFQAIGXOKNDCLWBB3FB7CDTWKFARANCNFSM47X577KA
.

What is the error message?


memory blowing up when using set_index, groupby

I am using python 2.7 with dask dataframe
this is a big dataframe on a local machine (200M rows)
I use
df = dd.read_hdf(file, "/key*").set_index("k")
groups = df.groupby("k")
indecies = df["k"].unique().compute().values.tolist()
groupList = [groups.get_group(index) for index in indecies]
for group in groupList:
    print group.head()

And the memory blows up (32 ram & 16 swap)
I think this shouldn't use too much memory given that all the shuffles are on disk, what am i missing here?

Does using
df.map_partitions(lambda x:x.set_index("k")).persist()
Make any sense?

When I used repartition to around 3000 partitions for 200m*3 shape df the memory does not blow up

@TomAugspurger  Ideas?

Not immediatly. If you're able to make a reproducible example using random
data I may be able to look more closely (though not till later in the week).
On Mon, Dec 11, 2017 at 8:34 AM, thebeancounter<EMAIL_ADDRESS>wrote:

@TomAugspurger https://github.com/tomaugspurger Ideas?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/2983#issuecomment-350741209, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABQHIsFSFBXoBY-CLODnE34oRLrqPYmDks5s_T2AgaJpZM4Q8eaD
.

OK thanks! will wait,
I guess the main question here is does set index need to get all the values
into memory at some stage, this is my assumption here, can't find it in the
source code.
On Mon, Dec 11, 2017 at 4:37 PM, Tom Augspurger<EMAIL_ADDRESS>wrote:

Not immediatly. If you're able to make a reproducible example using random
data I may be able to look more closely (though not till later in the
week).
On Mon, Dec 11, 2017 at 8:34 AM, thebeancounter<EMAIL_ADDRESS>wrote:

@TomAugspurger https://github.com/tomaugspurger Ideas?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/2983#issuecomment-350741209, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIsFSFBXoBY-
CLODnE34oRLrqPYmDks5s_T2AgaJpZM4Q8eaD>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/2983#issuecomment-350742171, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANMVau50ROIKHaEb7FDHs4S1ptmIMMHAks5s_T5HgaJpZM4Q8eaD
.

@TomAugspurger when i try to create random data this does not happen.
When i read data from hdf ~ 200m rows -> 1m/chunk
and setting index
I get a high memory consumption of ~20G

udpate
when using
dask.set_options(get = dask.get)
This does not happen
I assume that the issue is dask duplicating information when using multiprocessing
I tried to limit the process count with

from multiprocessing.pool import ThreadPool
dask.set_options(pool = ThreadPool(1))

But this had no affect
What is the proper way of limiting the number of process on a local machine?

possible work around
import dask.dataframe as dd
import os

        if os.path.exists(outputFile):
            os.remove(outputFile)

        ddf = dd.read_hdf(file, key, chunksize=10000000)
        partitions = [ddf.get_partition(i) for i in range(ddf.npartitions)]
        for i,par in enumerate(partitions):
            p = dd.from_pandas(par.compute().set_index(index),1)
            p.to_hdf(outputFile, outputKey, append = True, format = "table")

        ddf = dd.read_hdf(outputFile, outputKey)
        return ddf

I recommend providing a minimal example so that others can easily replicate the situation.  I recommend using dask.datasets.timeseries()
@thebeancounter if you have time to do this that would probably help to accelerate finding a solution to this problem.

@thebeancounter were you able to create a minimal example?

I'm going to close this issue for the time being. @thebeancounter please feel free to re-open if you're able to provide a minimal example (see https://blog.dask.org/2018/02/28/minimal-bug-reports)

Let me link https://github.com/dask/dask/issues/7259 for anyone getting here from google. TL;DR: Use dask > 2021.03.0


Link is broken

The streamlit app doesn't load

App rebooted. Should be working now.

This link is still broken
https://geospatial.streamlitapp.com/


UB-392: align glide versions

This change is

Coverage remained the same at 52.784% when pulling c957512fa76a2b0fd72d942a7a15c65117fba5fe on feature/UB-392_align_glide_versions into 24fceb69226285c5f9455ff05f986f4efd38ce9f on dev.

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[Feature]

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Hi
I need to have a new merge strategy in databricks:
I've created a macro like as :
{% macro get_incremental_merge_conditional_sql(arg_dict) %}

  {% do return(custom_merge_conditional_sql(arg_dict["target"], arg_dict["source"], arg_dict["unique_key"], arg_dict["dest_columns"], arg_dict["predicates"])) %}

{% endmacro %}

{% macro custom_merge_conditional_sql(target, source, unique_key, dest_columns, predicates) %}
    {% set predicates = [] if predicates is none else [] + predicates %}
    {% set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute="name")) %}
    {% set update_columns = config.get('merge_update_columns', default = dest_columns | map(attribute="quoted") | list) %}
    {% set sql_header = config.get('sql_header', none) %}
    {% set date_col = config.get('update_date_column', none) %}
    {% if unique_key %}
        {% if unique_key is sequence and unique_key is not mapping and unique_key is not string %}
            {% for key in unique_key %}
                {% set this_key_match %}
                    DBT_INTERNAL_SOURCE.{{ key }} = DBT_INTERNAL_DEST.{{ key }}
                {% endset %}
                {% do predicates.append(this_key_match) %}
            {% endfor %}
        {% else %}
            {% set unique_key_match %}
                DBT_INTERNAL_SOURCE.{{ unique_key }} = DBT_INTERNAL_DEST.{{ unique_key }}
            {% endset %}
            {% do predicates.append(unique_key_match) %}
        {% endif %}
    {% else %}
        {% do predicates.append('FALSE') %}
    {% endif %}

    {{ sql_header if sql_header is not none }}

    merge into {{ target }} as DBT_INTERNAL_DEST
        using {{ source }} as DBT_INTERNAL_SOURCE
        on {{ predicates | join(' and ') }}

    {% if unique_key %}
    when matched {{ add_merge_date_condition() }} then update set
        {% for column_name in update_columns -%}
            {{ column_name }} = DBT_INTERNAL_SOURCE.{{ column_name }}
            {% if not loop.last %}, {% endif %}
        {% endfor %}
        {% if date_col %} and DBT_INTERNAL_SOURCE.{{date_col}} >= DBT_INTERNAL_DEST.{{date_col}} {% endif %}
    {% endif %}

    when not matched then insert
        ({{ dest_cols_csv }})
    values
        ({{ dest_cols_csv }})

{% endmacro %}

then Tried to call this new merge strategy in my model like this:
{{config(
 materialized='incremental',
 incremental_strategy='merge_conditional',
 unique_key = ['order_id','status'],
 predicates = ['DBT_INTERNAL_SOURCE.status_datetime_nzt > DBT_INTERNAL_DEST.status_datetime_nzt'],
 update_date_column = ['status_datetime_nzt'],
 tags=["magento"]
 )}}

SELECT
  id as order_id,
  status ,
  status_datetime_nzt,
  CAST('' AS VARCHAR(4)) as member_id,
  customer.segment as customer_segment,
  customer.type as customer_type,
  get(filter(custom_attributes, x -> x.name= 'Document_No'), 0)['value'] as document_no,
  get(filter(custom_attributes, x -> x.name= 'flybuys_card_number'), 0)['value'] as flybuys_card_number,
  get(filter(custom_attributes, x -> x.name= 'Document_Link'), 0)['value'] as document_link,
  get(filter(custom_attributes, x -> x.name= 'Token_id'), 0)['value'] as token_id,
  get(filter(custom_attributes, x -> x.name= 'flybuys_points'), 0)['value'] as flybuys_points,
  get(filter(custom_attributes, x -> x.name= 'flybuys_price'), 0)['value'] as flybuys_price,
  get(filter(custom_attributes, x -> x.name= 'harry_id'), 0)['value'] as harry_id,
  get(filter(custom_attributes, x -> x.name= 'lc_purchaseUUID'), 0)['value'] as lc_purchaseUUID,
  get(filter(custom_attributes, x -> x.name= 'title'), 0)['value'] as title
FROM {{ source('magento', 'derived_magento_orders_events') }}

and even I defined the new merge stretagy in dbt_project.yml file like this:
models:
 data_platform:
  derived_lc_resources:
       derived_order_custom_attributes:
           +schema: derived_lc_resources
           +materialized: incremental
           +incremental_strategy: merge_conditional

The error is here:
Invalid incremental strategy provided: merge_conditional
Expected one of: 'merge', 'replace_where', 'append', 'insert_overwrite'
Looks dbt can not figure out the new incremental strategy?
Please help
Thanks
Mali
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

Thanks for reaching out @Mali-DS !
I tried the simple custom incremental strategy here, and it worked for dbt-postgres, dbt-redshift, and dbt-snowflake.
It doesn't work on dbt-bigquery or dbt-spark because custom incremental strategies have not yet been implemented for those: https://github.com/dbt-labs/dbt-core/issues/9290.
It also looks like custom incremental strategies are not yet supported in dbt-databricks.
So you'd need to reach out to the maintainers of dbt-databricks about this one since this is not an issue with dbt-core.


Missing import files

I have downloaded the ecmwf-open data files. No clear doc on what to do next. I have tried executing some of the individual files, but always receive missing import files. Seems to be a missing library of some kind? Any suggestions would be appreciated.

If you are looking for ways to visualize your data, there are some tools available. If you provide some of the errors, screenshot or copy and paste, then it might be more clear


Add codeql, scorecard, and verifying license

Summary

Release Note

Documentation

The linter is only scheduled to run when go code changes, but it's a required check. Do you want to just remove that constraint so it runs every time? CodeQL will always take longer anyway.

Ah good catch! I thought it was an issue with the import. I’ll get that removed.


fix(rust): resolve transport addresses as a separate step

This fixes a connection issue with the CredentialRetriever where the route that is configured to retrieve credentials must be resolved to actual TCP workers when the route is accessed.
The CredentialRetriever is now configured with a route which has been resolved from the original multiaddr configuration.
However, instead of creating TCP workers during the multiaddr conversion, IP addresses are replaced with TCP transport addresses. Then, on credential retrieval, the TCP addresses are used to create a TCP connection and TCP addresses are replaced with the local workers addresses (what was done during multiaddr resolution before).
I went the extra-step of making this kind of resolution generic across transports so that resolving UDP addresses into local UDP workers should be easy to do in the future (whereas the current multiaddr resolution does not support UDP).

I have addressed the review comments in: https://github.com/build-trust/ockam/pull/4779


qna-maker-knowledge-base-not-showing-up

I have an existing Knowledge Base in the QnA Maker that I am trying to update, however I am getting the following error: "You currently have no "knowledge bases", build one using the Create a knowledge base menu item. Learn more" When I try to Create a Knowledge Base, my existing Azure subscription cannot be found. I unable to create the new one as-well. It's been so buggy. I am unable to create new knowledge base as-well.

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

ID: 1875f6a8-0237-2dbb-6b9b-624ee0b675bf
Version Independent ID: 01992c42-d7bf-d4d0-4ba1-3e1358c4b885
Content: Troubleshooting - QnA Maker - Azure Cognitive Services
Content Source: articles/cognitive-services/QnAMaker/troubleshooting.md
Service: cognitive-services
Sub-service: qna-maker
GitHub Login: @diberry
Microsoft Alias: diberry

@yaswanthv007 Thanks for the question. I have checked the QnA portal to check any issues while loading my existing KBs, but I do not see any issues in listing or creating new ones. Also, there are currently no known issues in any of the regions.

Could you please check if your logged in user is same as the user that is under the tenant you have already created for your KB or resource?
If your subscription is not listing then the most likely scenario could be the tenant is not correct or subscription is not available. Do you see the same subscription in the Azure portal in that case?

Please see below attachments. I have a qnamaker service and resource group
at portal.azure and i am using the same qnaservice and trying to create a
knowledge base. It’s showing up grey and i m unable to select the
qnaservice i created. It’s been so buggy all these days.
I am unable to neither create a KB nor update it. Its been intermittent all
the time and I can’t depend doing this way
On Tue, May 12, 2020 at 6:11 AM RohitMungi-MSFT<EMAIL_ADDRESS>wrote:

@yaswanthv007 https://github.com/yaswanthv007 Thanks for the question.
I have checked the QnA portal to check any issues while loading my existing
KBs, but I do not see any issues in listing or creating new ones. Also,
there are currently no known issues in any of the regions.

Could you please check if your logged in user is same as the user
that is under the tenant you have already created for your KB or resource?
If your subscription is not listing then the most likely scenario
could be the tenant is not correct or subscription is not available. Do you
see the same subscription in the Azure portal in that case?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/54640#issuecomment-627334150,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHKECQOEE6P25BV7VZHBH5TRRFDG5ANCNFSM4M6TPLJA
.

@yaswanthv007 Apologies for the degraded experience you are facing. The attachments did not get updated in the thread so I would not be able to comment on them.
Since the same cannot be replicated can we help you with a support ticket for your resource to get this looked at your subscription level with a service engineer?
If you already have a support plan for your subscription you can navigate to Help+Support blade on Azure portal and raise an issue or we can help you with a one time free support request for this activity to check what is wrong for your subscription.

Thankyou!!! Can you help me with a support ticket and can you take this as
priority as i was having this issue more than two weeks and this resulted
as a blockage.
On Tue, May 12, 2020 at 11:22 PM RohitMungi-MSFT<EMAIL_ADDRESS>wrote:

@yaswanthv007 https://github.com/yaswanthv007 Apologies for the
degraded experience you are facing. The attachments did not get updated in
the thread so I would not be able to comment on them.
Since the same cannot be replicated can we help you with a support ticket
for your resource to get this looked at your subscription level with a
service engineer?
If you already have a support plan for your subscription you can navigate
to Help+Support blade on Azure portal and raise an issue or we can help you
with a one time free support request for this activity to check what is
wrong for your subscription.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/54640#issuecomment-627772434,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHKECQMX3GR57SL5TWAPFIDRRI4CPANCNFSM4M6TPLJA
.

Sure @yaswanthv007. Could you please email us your subscription id and URL of this thread to AzCommunity[at]microsoft[dot]com to enable a one time free support request for your subscription. We will let you know more details on how to use the request after we receive your email.

Hi ,
Please check  the subscription  a255534e-e178-4567-a9d5-ae025a3626 and url
of the github posting here :
https://github.com/MicrosoftDocs/azure-docs/issues/54640#issuecomment-627779141
On Tue, May 12, 2020 at 11:38 PM RohitMungi-MSFT<EMAIL_ADDRESS>wrote:

Sure @yaswanthv007 https://github.com/yaswanthv007. Could you please
email us your subscription id and URL of this thread to
AzCommunity[at]microsoft[dot]com to enable a one time free support request
for your subscription. We will let you know more details on how to use the
request after we receive your email.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/54640#issuecomment-627779141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHKECQKB7TDZJJSW6NRP2ODRRI56ZANCNFSM4M6TPLJA
.

@yaswanthv007 We will now proceed to close this thread as an option to open a support request is generated as a one time benefit. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.


Don't call a promise a dataSource

Several of our examples have code that looks like this:
var dataSource = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(dataSource);
viewer.zoomTo(dataSource);

This code gets a promise to a data source, and stores it in a variable named dataSource.  The add and zoomTo methods are both equipped to accept a promise, but more generic actions such as attempting to access dataSource.entities will fail.
I propose we find all these examples, and rename dataSource to dataSourcePromise everywhere it is appropriate.

I will take a look at this issue if that's okay

Fixed in #5205.


arm64 images for DockerMac (M1 Apple Silicon)

This could be great demo for k8s on Apple Silicon!
Could you please provide arm64 builds on dockerhub?
Otherwise default kubernetes installations pull the amd64 images which don't work on M1 Macs with Docker Mac

I have patched kube-deployment.yml in order to have kubernetes use the local arm64 images instead of pulling the amd64 images.

Hi @gmuth! 👋  Thanks for the issue and apologies that it's taken so long for us to respond to you. But... we're finally looping back and cleaning up our sample apps!
We've created new image repos and manually created/pushed images that are multi-arch! 🎉 We'll soon be adding GitHub Actions that will build them automatically going forward.


Code needs updating to latest Dart and Flutter

Receiving a bunch of deprecation warnings and errors when cloning this project, for example:
avatar.dart:25 'overflow' is deprecated and shouldn't be used. Use clipBehavior instead. See the migration guide in flutter.dev/go/clip-behavior. This feature was deprecated after v1.22.0-12.0.pre..
auth_dialog.dart:33 The named parameter 'child' isn't defined.
➜  flutter_firebase_starter git:(master) flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.22.0-10.0.pre.359, on Mac OS X 10.15.6 19G2021
x86_64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.2)
[✓] VS Code (version 1.49.1)
[✓] Connected device (2 available)
• No issues found!
➜  flutter_firebase_star

Ignore the 'named parameter child' report, must have been an IDE glitch. But the deprecation issue still exists.

widget_test.dart: 11 Unused import: 'package:firebasestarter/main.dart'.
widget_test.dart:16 The function 'MyApp' isn't defined.

pubspec.yaml is out of date when building for iOS, lots of CocoaPods errors

@cliffordh Thank you for the issues

I think for iOS, you can clean the pod by deleting podfile, then flutter clean then flutter run to generate new podfiles with updated informations, will make sure to update that as well
For deprecation, please confirm the updates are available in stable version as well. If not it will have to wait.

I will make sure to check the issues as well.

@lohanidamodar thanks for the reply. Nice to see you have plans to maintain this a bit. I should also note that the Crashlytics run script is now out of date since Fabric was retired.

@cliffordh Thanks for the update. Yes I plan to support this, as I myself am using this.

@cliffordh

You can ignore the test file errors for now, I have not been able to implement testing yet however I am planning to implement them soon, not sure how soon though
I am unable to reproduce the deprecation issue even in flutter master channel, however based on the link you shared, I have upgraded that too to use clipBehavior instead of overflow.

Updates will be published in all the relevant branches soon

@cliffordh I have made the updates and pushed in https://github.com/lohanidamodar/flutter_firebase_starter/tree/feature/dependency-updates branch.
It would be great if you could help me test if everything is in order. Thanks again.

Great thanks. I will check it out @lohanidamodar

@cliffordh Hi, did you have time to test?
Thank you

PR #8 should fix this. If you have further problems feel free to reopen the issue.


Do not require email in order to signup and use the service

1. What's the name of the policy?
https://github.com/github/site-policy/blob/github-tos-update-july-2017/Policies/github-terms-of-service.md
2. Is this issue related to a specific section within one of our policies (e.g. the Terms of Service)? If so, please include a link to the section or subsection.
https://github.com/github/site-policy/blob/github-tos-update-july-2017/Policies/github-terms-of-service.md#b-account-terms
5. Why do you think this section or language needs improvement?
First of all I wanna say that I had some discussion with the support on the topic.
E-mail system is too centralised nowadays. There are several free email services available to everyone usually on the terms which are far from acceptable for some people like me, for example many web services require it users to provide the service with a cellphone number and to prove the ownership of the account related to this number. Sometimes these web services can be required by the law to collect some information like cellphone numbers. Sometimes this services allow itself too much, for example scanning peoples emails for patterns.
So I think it's time to move further.
1 I think it's OK not to make people to provide email address. As I understand, the main purpose of providing email address is users' convenience (here I assume that GH doesn't send spam and doesn't sell the info collected), s.a. email notifications and replies with email and for access restore procedure (which can be done another way). So I have no idea why this has been made mandatory. So I propose to make this optional.
2 There is some software allowing decentralised messaging, most notably BitMessage and Tox, all of which have own pros and cons. The pros is confidentiality of the content and independence from malicious companies. The cons are high resource usage due to decentralised nature, leaking some metadata to all the world, not only to restricted set of powerful parties and some functionality limitations, such as limited lifetime of offline messages (28 days for BitMessage or no such at all for Tox). Some people would consider some the drawbacks as tolerable cost for better privacy and security.
So I propose to support these messagging systems too, even though they are experimental.

Thanks, @KOLANICH.
These are really interesting ideas, but again, the site-policy repository is only for discussion of GitHub policies. We aren't able to build in this kind of functionality into GitHub.


Move vl-convert-python to dependencies

What is your suggestion?
The vl-convert-python package is necessary for saving plots in PNG / SVG / PDF formats. I believe this is a rather critical function, so I'm wondering why vl-convert-python needs to be manually installed for this capability. (I see that altair[all] is an alternative, but I think vega_datasets, etc. are less critical than the save functionality.)
vl-convert-python has zero dependencies. So I think this would be a simple addition. Maybe that is the reason Is this dependency optional because the built wheels are ~30 MB? Could this size be reduced?
Thanks so much for your consideration!
Have you considered any alternative solutions?
Alternatively, could this (at least) be added to a new optional dependency group altair[save], as suggested here?

Hi @apoorvkh,
As you noticed, vl-convert-python is a native compiled wheel, and it's fairly large. Both of these are consequences of the fact that vl-convert embeds the V8 JavaScript runtime (through the Deno project) in order to run the Vega-Lite and Vega JavaScript libraries without external dependencies.  There is no obvious way, that I'm aware of, to reduce the size of vl-convert without reducing functionality.
This can't be a required dependency of the altair package, because it would prevent Altair's use in architectures that aren't supported by Deno, but do run Python. A prominent example of this is Pyodide, for running Python in the browser.
I don't have a problem with adding an additional dependency group, but could you say more about why you wouldn't want to use the all group?

Thanks a lot for the explanation!

could you say more about why you wouldn't want to use the all group?

I just want to use Altair to plot / interact with my data and save to a static file, so I can put figures in my academic papers. I simply don't need any of these (besides vl-convert-python)! So I prefer not to depend on them (if I can) to avoid potential conflicts. And I am just bringing this up, because I feel that saving plots to static files is a rather core functionality.
https://github.com/vega/altair/blob/712680b2965eede4c40d93f52d3f963c5d181587/pyproject.toml#L57-L66
E.g. not even pandas because I am using polars; surprisingly, not even numpy, because torch seems to cover everything I need that is ML-related.

I made a simple PR with the change, in case this is sufficiently compelling to you. Please let me know, thanks!
https://github.com/vega/altair/pull/3609


fix: map boundaries expanded

Description
As mentioned in #974, because of the map boundaries we were not able to zoom in Istanbul's European side and many other regions. And we couldn't click the markers for that same reason. I tried to come up with boundaries that are just enough to cover all of Turkey.
New boundaries point to these 2 locations.

discord username: İlker Sarica#7138
closes #issue #974
Please describe your changes. Also describe your aim and content. Do not forget to list the dependencies required caused by those changes.
## Things to check before creating a PR

[ ] I have inspected my topic, checked.
[ ] If it is a core feature, executed detailed tests.

Creating PR rules

[ ] PR must be created for an issue with approved tag. Otherwise PR will be rejected.
[ ] Relevant issue number: The issue number related to PR must be attached to head of PR header, after prefix after prefix # must be attached in parenthesis. A header like this could be used "prefix(#issue_number): PR header" .
[ ] A descriptive and understandable title: The PR title should clearly describe the nature and purpose of the changes. The PR title should be the first thing displayed when the PR is opened. And it should follow the semantic commit rules. For example, a title like "docs(#issueId): Add README.md" can be used.
[ ] Related file selection: Only relevant files should be touched and no other files should be affected.
[ ] Format and Lint Suitability : The code should be made in accordance with a certain format standard and examined according to the lint rules.
[ ] Clean commit history: The commits where the changes are made should be clear and organized.
[ ] Opening PR when job is completed: PR should be opened when job is completed and sent for review by other team members.

Changes

[ ] A new feature (a change that adds a new feature, not a breaking change)
[ ] A new refactor (a change that is not a breaking change, that improves the readability or performance of the code)
[ ] A breaking change
[ ] Documentation change

How were these changes tested?
Please describe the tests you did to test the changes you made. Please also specify your test configuration.
Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

As test team we checked your last pr in vercel. We really liked and appreciate your efforts. Thank you all ❤

As test team we checked your last pr in vercel. Thank you all <3

As test team we checked your last pr in vercel. Thank you all <3

We did this together! If you are reading this, stop for 5 seconds and give kudos to yourself! Thank you. We could not do this without you <3


FALCON-2246 Api to list all the jobs in the system

Just add a unit test in FalconUnit. Rest looks fine.


Register a module with JsonJacksonCodec within YAML configuration

Hello!
Regular user of Redisson here. I wanted to use the external configuration from YAML. I always initialized my Config from code.
Everything is working perfectly! But I wondered if there was any documentation on the codec field?
I am using the JsonJacksonCodec with the following config entry:
codec: !!org.redisson.codec.JsonJacksonCodec {}

I want to register custom modules, such as the JavaTImeModule (com.fasterxml.jackson.datatype.jsr310.JavaTimeModule). I inspected the source code and saw that this field is maybe using some really deep Jackson features to construct a class from a configuration.
Is any configuration sample or example provided? Or is there any Jackson article who explains this feature?
I am using the latest Redisson version.
After getting an answer, I'll make sure to PR some documentation additions in order to cover this case correctly :)
Thanks a lot!
Adam.

Hi @dandan2611, I think there is no direct way to register custom modules from yaml file.
Other option is override the JsonJacksonCodec and register your modules then give your customClass in the yaml config.

Alright, I'll do that. Thank you!


In source-build-reference-packages, GenAPI uses 'TupleElementNamesAttribute' when it should use (string foo, ...) syntax, causing CS8138

[ ] This issue is blocking
[ ] This issue is causing unreasonable pain

When we ran Microsoft.DotNet.WorkloadManifestReader.dll through GenAPI for source-build-reference-packages for microsoft.dotnet.templatelocator/5.0.100-rc.1.20421.19, it produced this C# code:
[System.Runtime.CompilerServices.TupleElementNamesAttribute(new string[]{ "version", "kind"})]
public System.Collections.Generic.Dictionary<string, System.ValueTuple<string, string>> SdkPackDetail { get { throw null; } set { } }

causing this compile error when trying to build it:

error CS8138: Cannot reference 'System.Runtime.CompilerServices.TupleElementNamesAttribute' explicitly. Use the tuple syntax to define tuple names.

I would expect this instead:
public System.Collections.Generic.Dictionary<string, (string version, string kind)> SdkPackDetail { get { throw null; } set { } }

PR where we hit this: https://github.com/dotnet/source-build-reference-packages/pull/194.
It looks like this might have been fixed by https://github.com/dotnet/arcade/pull/2029, but I'm not able to spend the time right now to figure out if we're just missing the right GenAPI version. This is just a tracking issue.
@dseefeld

Closing as the issue was fixed in GenAPI with https://github.com/dotnet/sdk/issues/32458.


[WIP] interfaces for kube environment for bookinfo test

/test e2e-suite-rbac-auth

Ping, is it still active ? Please reopen if still needed.


Paper: RQ2

small update with research question 2

@beyond2void can you refer to the tables within the text? And not just say "yes", but phrase it according to the actual data?

@beyond2void can you refer to the tables within the text? And not just say "yes", but phrase it according to the actual data?

Ok, I will do.

I connected the research question with our user study table and used some contents as references.

@beyond2void I would do some adjustments to the working, ok?

@beyond2void I would do some adjustments to the working, ok?

Yes, no problem.

maybe you can approve it once you finished improvements. @PaulBredl


Mockito: defects4j test requires explicit call of defects4j compile

Hello @rjust René and other valuable contributors,
I am using the latest version of the framework. I wanted to mention an issue with Mockito testing, I believe the issue is somehow related to this bugfix about creating compileLib directory. This is in Java 8. All other projects work well if you just do defects4j test but in Mockito user has to manually defects4j compile to force compileLib to be created.
`
Mockito.build.xml - Line 152
    <!-- Make sure the compileLib directory exists as file sets elsewhere in
         this build file depend on it -->
    <mkdir dir="${basedir}/compileLib"/>`

If you initially run defects4j test or defects4j test -r you will get the following error:
`Running ant (compile.tests)................................................ OK
Running ant (run.dev.tests)................................................ FAIL
Executed command:  cd /home/osboxes/Desktop/Mockito1 && ant -f /home/osboxes/Desktop/defects4j/framework/projects/defects4j.build.xml -Dd4j.home=/home/osboxes/Desktop/defects4j -Dd4j.dir.projects=/home/osboxes/Desktop/defects4j/framework/projects -Dbasedir=/home/osboxes/Desktop/Mockito1 -Dbuild.compiler=javac1.7 -DOUTFILE=/home/osboxes/Desktop/Mockito1/failing_tests  run.dev.tests 2>&1
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=1G; support was removed in 8.0
Buildfile: /home/osboxes/Desktop/defects4j/framework/projects/defects4j.build.xml
compile.tests:
gradle.compile.tests:
[exec] Parallel execution is an incubating feature.
[exec] :buildSrc:compileJava UP-TO-DATE
[exec] :buildSrc:compileGroovy UP-TO-DATE
[exec] :buildSrc:processResources UP-TO-DATE
[exec] :buildSrc:classes UP-TO-DATE
[exec] :buildSrc:jar UP-TO-DATE
[exec] :buildSrc:assemble UP-TO-DATE
[exec] :buildSrc:compileTestJava UP-TO-DATE
[exec] :buildSrc:compileTestGroovy UP-TO-DATE
[exec] :buildSrc:processTestResources UP-TO-DATE
[exec] :buildSrc:testClasses UP-TO-DATE
[exec] :buildSrc:test UP-TO-DATE
[exec] :buildSrc:check UP-TO-DATE
[exec] :buildSrc:build UP-TO-DATE
[exec] POM relocation to an other version number is not fully supported in Gradle : xml-apis#xml-apis;2.0.2 relocated to xml-apis#xml-apis;1.0.b2.
[exec] Please update your dependency to directly use the correct version 'xml-apis#xml-apis;1.0.b2'.
[exec] Resolution will only pick dependencies of the relocated element.  Artifacts and other metadata will be ignored.
[exec] Version: 2.0.12-beta
[exec] :compileJava
[exec] :extTest:compileJava
[exec] :testng:processResources UP-TO-DATE
[exec] :extTest:processResources UP-TO-DATE
[exec] :extTest:classes UP-TO-DATE
[exec] :extTest:processTestResources UP-TO-DATE
[exec] :testng:processTestResources UP-TO-DATE
[exec] :extTest:compileJava UP-TO-DATE
[exec] :compileJava UP-TO-DATE
[exec] :processResources UP-TO-DATE
[exec] :classes UP-TO-DATE
[exec] :compileTestJava UP-TO-DATE
[exec] :processTestResources UP-TO-DATE
[exec] :testClasses UP-TO-DATE
[exec] :jar UP-TO-DATE
[exec] :extTest:compileTestJava
[exec] :testng:compileJava UP-TO-DATE
[exec] :testng:classes UP-TO-DATE
[exec] :testng:compileTestJava
[exec] :extTest:testClasses UP-TO-DATE
[exec] :extTest:compileTestJava UP-TO-DATE
[exec] :testng:testClasses UP-TO-DATE
[exec]
[exec] BUILD SUCCESSFUL
[exec]
[exec] Total time: 5.814 secs
[exec] No Gradle daemons are running.
ant.compile.tests:
update.all.tests:
run.dev.tests:
BUILD FAILED
/home/osboxes/Desktop/defects4j/framework/projects/defects4j.build.xml:107: /home/osboxes/Desktop/Mockito1/compileLib does not exist.
Total time: 8 seconds
Cannot run tests! at /home/osboxes/Desktop/defects4j/framework/bin/d4j/d4j-test line 135.
Compilation failed in require at /home/osboxes/Desktop/defects4j/framework/bin/defects4j line 155.`
I do not know if this was intentional but I wanted to mention this case to you.
Best,
Yigit

Hi @yigitk,
Thanks for reporting this! We will take a look and fix the dependency between test and compile.
Best,
René

FYI - simply ensuring the directory is created is not sufficient. Instead, it unearths a deeper dependency where the test results are incorrect. This issue can be fixed by making Ant target "compile.tests" depend on "compile".


New Webxr UX

Fixes #984
Fixes #48
Since this work will be ongoing for awhile, I'm opening a PR here to make it easier to test and discuss.

I merged the scale UX in here, though it's only available in Chrome 83+, as 81 does not return multiple touch points. I think this PR is now ready, except that the ARRenderer-spec is all commented out.

Okay, added a very basic test suite.


Squared Exponential Kernel Equation

Shouldnt the Squared Exponential kernel be
def k_one_matrix(X,length,name):
    """Compute the correlation matrix without the nugget term.
    """
    if name=='sexp':
        X_l=X/length
        L=np.expand_dims(np.sum(X_l**2,axis=1),axis=1)
        dis2=L-2*np.dot(X_l,X_l.T)+L.T
        K=np.exp(-0.5*dis2)

Note that its K=np.exp(-0.5*dis2) instead of K=np.exp(-dis2) (as in the code)
Reference: https://peterroelants.github.io/posts/gaussian-process-kernels/#Exponentiated-quadratic-kernel

I use the form defined in the reference paper. The constant 0.5 is not an issue as you can always reparameterize one form into another - note that 0.5 can be absorbed into the length-scale parameter.


401 Unauthorized

Hello, thanks for this work!
However, may this wrapper has been made before CR-API integrate an API Key, but for every request I'm trying to do, I'm getting a 401 status code.

Hey @TheLearneer!
Thanks for sharing this repository.
If you need some help for improving it, just ask 😃

@TorzuoliH I would say the other way around. ;)
If you feel as if the package needs improvement, you can make a suggestion in the issues section, same for bugs found.
And if you feel somethimg needs improvement and you are capable of doing it, PR is the best way :)


Whitelist https://images.bettermeower.app as an image host

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Meowerimg never happened, so I forked it and made BetterImages, so it would be cool if support can be added for it.
Describe alternatives you've considered
no
Additional context
https://images.bettermeower.app

We are not going to accept random image hosts because this poses a security and moderation risk.


Hash pin workflow dependencies

Description
I would like to suggest another security practice recommended by the OpenSSF Scorecard which is to hash pin dependencies to prevent dependency-confusion and typosquatting attacks.
The change would only be applied to GitHub workflows, dockerfiles and shell scripts dependencies. The volatile case would only need changes on the GitHub workflow build.yml
This means:

Hash pinning GitHub Workflow actions.

Along with hash-pinning dependencies, I also recommend adopting dependabot or renovatebot to help keep the dependencies up to date. Both tools can update  hashes and associated semantic version comments.
Together with the issue I'll also suggest a PR with the changes since they are quite simple.
Any questions or concerns just let me know.
Thanks!
Additional Context
For more informations about dependency confusion / typosquatting attacks:

Detection of malicious packages
Counter dependency confusion (aka substitution) attacks

For more informations about the dependency-update tools:

Dependabot
Renovatebot

Thanks for opening this issue and the corresponding PR #37. It's not clear to me how this change should improve security though. You mention dependency-confusion and typosquatting attacks, which don't seem related to this pinning of versions?
My understanding is that pinning dependencies only makes sense if you don't trust the publisher or if you fear breaking changes. Given that we're only using official actions from GitHub and the widely-used actions-rs/cargo action, I'm inclined to trust these publishers. So to me, it seems more important to automatically get the latest bug fixes as quick as possible (instead of delaying them until dependabot creates a PR and we have time to review it).
Please let me know if I'm misunderstanding something!

Hi @phil-opp, thanks for the return.
I'd say the main reason on hash pinning is more about stability than trustfulness. Although GitHub Actions are very trustful, they are yet open source projects and are exposed to the same risks and vulnerabilities as any other open source project.
Considering it, using hash pinning dependencies benefits would be:

Increasing CI stability since it is currently the only way to use actions as immutable releases
Preventing tag renaming attacks --- although the actions are from reliable sources, it is always better to be safe than sorry.

And considering that the actions will be updated by either dependabot or renovatebot, this wouldn't generate any overhead for you folks on maintaining the project.
Anyway, I do get your point on rather using version pinning. If you still rather not hash pinning, I'd say for at least accept a minor version pinning + dependabot, to not be blindly updated for any potentially dangerous release or vulnerability.
Let me know whether you are open to any of the changes and I'll be happy to submit a PR.

Thanks for your thoughts!

And considering that the actions will be updated by either dependabot or renovatebot, this wouldn't generate any overhead for you folks on maintaining the project.

Unfortunately, this is not true. We would need to manually review every single new version if we consider them untrusted. Without such reviews, there wouldn't be any security advantage.
As I understand it, there are two options:

Consider all external actions as untrusted.

Hash pin the dependencies to guard against malicious updates or tag renaming attacks. Use dependabot etc to automatically open PRs for new versions.
Manually review every single update of these actions. Do this quickly to ensure that critical bug and security fixes are applied as fast as possible.
Lots of additional work for maintainers.

Consider the external actions as trusted.

Always use the latest semver-compatible release to ensure that we have all the latest bug and security fixes. Don't pin any versions or hashes.
No additional maintainer overhead.

We're currently using option 2. Switching to option 1 would require more maintainer overhead, which is going to be difficult since I'm maintaining this project alone. This also means that there is the additional risk that a critical bugfix of some action is not applied when I'm busy with other things.
Given that our current CI job runs with read-only permissions, the amount of damage that a malicious action could do should be limited, right? They could of course abuse the GitHub actions runner to mine bitcoins or do DDOS attacks on something, but they should not be able to corrupt this project.

If you still rather not hash pinning, I'd say for at least accept a minor version pinning + dependabot, to not be blindly updated for any potentially dangerous release or vulnerability.

I'm not sure how this would improve security. We would still update to new patch versions automatically, so we still need to trust the maintainers. Then I think we can trust them to follow the semver rules too.

Given that our current CI job runs with read-only permissions, the amount of damage that a malicious action could do should be limited, right?

yeah! Considering the workflow is read only, it is secure because no harm could be done even if the action automatically upgrades to malicious version.
In the future, if you need to grant any write permission for an action, you can hash pin the action specifically, this would be a third option: it would reduce the number of PRs and version upgrades you would need to review.
There are other benefits on hash pining (or even minor version pinning) related to stability, but it would still exist the extra work of reviewing dependabot PRs.
I think it is possible to configure renovatebot to colapse all PR changes in one single PR to be sent once a week or month, I can try to take a look at it if you think it is a possibility.
Otherwise, the volatile workflows are safe enough as it is, this would be just an extra precaution -- if future actions require write permissions for example. Thanks for giving it a though!

I'm closing this issue since we agreed that hash pinning the workflow which has just read only permissions would be an overkill.
I've considered whether dependabot would still be security relevant but since the risk is minimal even if a compromised release is made, dependabot won't benefit much either.
Thanks for the great discussion @phil-opp!


read the environment var TRUST_ENV and pass it on to aiohttp.ClientSe…

The issue is described here: https://github.com/hyperledger/aries-cloudagent-python/issues/977
it's my first PR in AcaPy...  I hope I did not forget anything

Thanks for the quick response! If you implement/set the trust_env=True for ClientSession(trust_env=True), it's fine for me... than we can close this PR :)

an another problem with proxy is the bug in aiohttp: https://github.com/aio-libs/aiohttp/pull/4445
I tested with patched aiohttp and patched AcaPy 0.5.6 version...

Thanks, hopefully aiohttp adds that fix into a release soon.


Building wheel error

When trying to pip install as instructed, I get the following building wheel error:
\src\tsp.h(216): error C2131: expression did not evaluate to a constant
\src\tsp.h(216): note: failure was caused by a read of a variable outside its lifetime
\src\tsp.h(216): note: see usage of 'n'
\src\tsp.h(218): error C3863: array type 'bool [n]' is not assignable
\src\tsp.h(223): error C3863: array type 'bool [n]' is not assignable
\src\tsp.h(234): error C3863: array type 'bool [n]' is not assignable

OS: Windows 10 64bit
Python: 3.8
Visual Studio 17 2022 x64 v143
fast-tsp: 0.1.0
Full log:
fast-tsp build wheel error.txt

Sorry, I don't have a Windows machine so I cannot test this easily, but I did run into it previously when building wheels. That's why Windows is not included anymore in L45 in the Action for building wheels:
https://github.com/shmulvad/fast-tsp/blob/5bd494255c4637c729ba97822f9c55ea42d35219/.github/workflows/wheels.yml#L38-L45
Would any of you be interested in working on this? I would be happy to accept PRs that solves this issue. Otherwise I guess I should write explicitly that it does not work on Windows. But I don't think it would be that difficult to fix this.

Hi, I don't even understand the error - is this a C (/compiler) version issue?
https://github.com/shmulvad/fast-tsp/blob/5bd494255c4637c729ba97822f9c55ea42d35219/src/tsp.h#L216

Closed in #6.


Always return JS engine to pool after component render.

This allows other threads to use available engines while other MVC actions are being processed during a page render.

On some of my pages, I render 2 or 3 separate components (i.e. 2 or 3 Html.React calls). Some of these calls are in Html.Partial. Will this change cause any issues?

Nope, you should be just fine.

Thanks! The only issue I can think of is if someone is relying on global state - For instance, if one component's render function sets a global variable, and then another component expects that variable to be set. I'd like to think that that's a rare use-case though. And in cases like that, the user can just disable engine pooling.
Could you please add a unit test, at least for the ReturnEngineToPool method (and ideally the HTML helpers, if it's not too difficult to write tests for them)?

FWIW we've been running this fix in production for a week now and have had no problems so far! 🎉

dustin - how is it going after a month or so?

Really well so far. One time one of the pooled v8 engines got in a weird
state and stopped responding - we had to recycle the app to fix it. That
has only happened one time. There is already an issue open somewhere about
that bug..
On Sun, Jul 17, 2016 at 11:15 Bill Bell<EMAIL_ADDRESS>wrote:

dustin - how is it going after a month or so?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/pull/270#issuecomment-233195608,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5hFjf34tMKuCNkDSsG1edwOSZOMiIfks5qWnEygaJpZM4Ih63p
.

The fix appears to be in NuGet - v2.4 - right? Can we get a blog entry for 2.5? http://reactjs.net/blog/
https://www.nuget.org/packages/React.Web.Mvc4/

OK 2.4 is the latest - 2.5 was for Core stuff changing.

Hello.
Is this fix incorporated into the following NuGet versions please?:
React.Web 2.5.0
React.Web.Mvc4  2.5.0
I ask because I still get the following exception when Load Testing:
JSPool.Exceptions.JsPoolExhaustedException
Could not acquire JavaScript engine within 00:00:05
When I set the React config that stops JS pooling, the Exhausted exception goes away but the performance is adversely affected:
ReactSiteConfiguration.Configuration.SetReuseJavaScriptEngines(false);
Thanks

OK thanks. I can see the #270 fix in the source of React.Core\ReactEnvironment.cs.
But unfortunately, I still get the following exception during Load Tests:
JSPool.Exceptions.JsPoolExhaustedException
Could not acquire JavaScript engine within 00:00:05

You'll need to change your configuration to increase your max engines. You're most likely running out of engines in the pool when load gets high and it takes several seconds to execute the script

@DaniilSokolyuk could you provide some context to the optimization? What was the bottleneck in @Daniel15 's JSPool implementation?
I'm thinking of implementing my custom high-load JSPool using AsyncEx AsyncCollection. Daniel15's implementation uses BlockingCollection, which blocks threads from the ThreadPool. As load goes up, number of threads that get blocked goes up, available threads to serve non-React views goes down and the whole system slows to a crawl.

@huan086 Hi! I now reimplement JsPool i make it truly async without thread starvation
look
https://github.com/DaniilSokolyuk/ZeroReact.NET/blob/master/src/ZeroReact/JsPool/ZeroJsPool.cs

@DaniilSokolyuk I’d be open to making it so the implementation of engine pooling is swappable, so consumers can choose either jspool or your implementation (or maybe your changes can go upstream into JSPool itself..)

I'd be happy to accept pull requests to JsPool if you're willing to submit them 😃

ReactJS.Net has sync API,make JsPool async without change  ReactJS.Net not make a sense, and in legacy asp you can’t use await in views, it will work only in asp net core
Ofc we can have async and sync api  with .GetAwaiter().GetResult()


Added support  to language codes on Weather Underground

Description:
Added support to language codes on Weather Underground. All supported languages are listed at https://www.wunderground.com/weather/api/d/docs?d=language-support&MR=1
Feature requested: https://community.home-assistant.io/t/weather-underground-wunderground-weather-sensor/1849/72
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#1560
Example entry for configuration.yaml (if applicable):
### sensor in Czech
sensor:
  - platform: wunderground
    api_key: !secret wu_key
    pws_id: KNCHOLLY21
    lang: CZ
    monitored_conditions:
      - alerts
      - weather
      - temp_c

### sensor in Brazilian portuguese
sensor:
  - platform: wunderground
    api_key: !secret wu_key
    pws_id: KNCHOLLY21
    lang: BR
    monitored_conditions:
      - alerts
      - weather
      - temp_c

### sensor in French
sensor:
  - platform: wunderground
    api_key: !secret wu_key
    pws_id: KNCHOLLY21
    lang: FR
    monitored_conditions:
      - alerts
      - weather
      - temp_c

Supported Language Codes
AF	Afrikaans
AL	Albanian
AR	Arabic
HY	Armenian
AZ	Azerbaijani
EU	Basque
BY	Belarusian
BU	Bulgarian
LI	British English
MY	Burmese
CA	Catalan
CN	Chinese - Simplified
TW	Chinese - Traditional
CR	Croatian
CZ	Czech
DK	Danish
DV	Dhivehi
NL	Dutch
EN	English
EO	Esperanto
ET	Estonian
FA	Farsi
FI	Finnish
FR	French
FC	French Canadian
GZ	Galician
DL	German
KA	Georgian
GR	Greek
GU	Gujarati
HT	Haitian Creole
IL	Hebrew
HI	Hindi
HU	Hungarian
IS	Icelandic
IO	Ido
ID	Indonesian
IR	Irish Gaelic
IT	Italian
JP	Japanese
JW	Javanese
KM	Khmer
KR	Korean
KU	Kurdish
LA	Latin
LV	Latvian
LT	Lithuanian
ND	Low German
MK	Macedonian
MT	Maltese
GM	Mandinka
MI	Maori
MR	Marathi
MN	Mongolian
NO	Norwegian
OC	Occitan
PS	Pashto
GN	Plautdietsch
PL	Polish
BR	Portuguese
PA	Punjabi
RO	Romanian
RU	Russian
SR	Serbian
SK	Slovak
SL	Slovenian
SP	Spanish
SI	Swahili
SW	Swedish
CH	Swiss
TL	Tagalog
TT	Tatarish
TH	Thai
TR	Turkish
TK	Turkmen
UA	Ukrainian
UZ	Uzbek
VU	Vietnamese
CY	Welsh
SN	Wolof
JI	Yiddish - transliterated
YI	Yiddish - unicode
Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

@balloob yes, that makes sense. I noticed it but since it was already in the code I decided not to remove.
Thanks for reviewing it.

🎉 🐬


Run unittests in parallel

Closes: #DNE
What's Changed

Added invoke unittest-parallel.

Test outputs are stored in .test-results directory.
There is a tests-times.json file used for distributing tests. Use invoke sum-tests-times to update it.

Added invoke ps to display docker compose services.
Added invoke export-docker-compose to export docker compose configuration to compose.yaml file.
Added invoke logs to display docker compose logs.
Fixed api-status API call when using higher Redis DB index.

Considerations

Non-durable Django Postgres Testing.
Parallelize other Jobs (pylint takes a lot of time) to spare GH workers.

TO-DO

[x] Is there a ticket for this PR?
[x] Display merged test results.
[x] Implement to CI.

In https://github.com/nautobot/nautobot/actions/runs/5580198978 (develop) unit tests are taking between 26 and 36 minutes to complete. This looks pretty comparable to the CI runtime of the tests in this PR. Am I overlooking something?

In https://github.com/nautobot/nautobot/actions/runs/5580198978 (develop) unit tests are taking between 26 and 36 minutes to complete. This looks pretty comparable to the CI runtime of the tests in this PR. Am I overlooking something?

This one took 16 minutes: https://github.com/nautobot/nautobot/actions/runs/5589264560/jobs/10217398047
It probably depends on current load on GH Actions. I can parallelize tests to multiple GH Jobs, however @bryanculver wanted to have it in single Job only.

Thanks for valuable review @glennmatthews . Most comments are addressed now, the only remaining thing is to check subtests reporting. Could you pls. resolve comments that doesn't need to be processed further?


==7964== Token '11' doesn't match specifier '%d' ==7964== ==7964== Format Errors - Verify your log/date/time format

2023/11/27 16:07:24 [error] 624#624: *29 FastCGI sent in stderr: "PHP message: PHP Notice: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/core/CCookieSession.php on line 194" while reading response header from upstream, client: <IP_ADDRESS>, server: example.com, request: "GET /setup.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/zabbix.sock:", host: "<IP_ADDRESS>:8080", referrer: "http://<IP_ADDRESS>:8080/"
I have this log and error %d please issue please

Refer to this post for specific information on actions you can take with goaccess and an error log.

This is now closed - feel free to reopen it if necessary.


Upgrade go to 1.11

Upgrade go to 1.11

Coverage decreased (-0.03%) to 69.044% when pulling 78c047b2b9bcd9f263e5ead186c48169c3561fce on yiminc:upgrade_go_1.11 into 190fa08cfa22377b2b12da256c917d33f82d7bcc on uber-go:master.


Rotating Fitness.apk on a Nexus 10 draws incorrectly

It seems to draw correctly initially in portrait mode, but the moment you rotate it stops drawing to the full screen.  It then stays wrong when rotating back to portrait mode:

Not at all sure what's going on.  I've not seen this on other devices.

It looks like the concept of orientation gets out of sync.  In landscape it's drawing as portrait but with a funny origin.  Similarly when going back to portrait.


Changelog for 0.4.0

Just listing issue numbers seems noisy to me. I'd vote to either remove them altogether, as we had it in 0.3.0, or list them at the end, with a link to the issue:

Include kernel version and uptime in host details. #274

@peterbourgon PTAL

LGTM!


Spotifu menu bar not working

Extension
https://www.raycast.com/mattisssa/spotify-player
Description
The songs are not appearing on the menu bar. I have space for it
Steps To Reproduce
Probably if you enable the spotify menu bar when there's no room for it and then make room
Current Behaviour
No response
Expected Behaviour
No response

There's been a bunch of improvements recently. Can you check if this is still an issue for you please? Thanks

Assuming it's fine now, please re-open if you encounter any issues :)


reports incorrect error when no src files are in src

executing cargo build when src directory is empty returns the following incorrect diagnostic message
cargo build
failed to parse manifest at C:\Development\rust\moocows\Cargo.toml
Caused by:
either a [lib] or [[bin]] section must be present
if rust src file is put into src directory cargo build works correctly

To reproduce this error message:
cargo new foobar --bin
cd foobar
mv src/main.rs src/hello_world.rs
cargo build

The existing error message is not really sufficient to help a beginner diagnose this problem. :)

Closing as a dupe of #1379, but thanks for the report!


Make sure that PRs are reviewed before merged

I think we should encourage developers to get their pull requests reviewed as much as possible. It is another way to get valuable feedback and help prevent bugs.
There is more infomation about enabling this here.

Good thinking!


Error: Object with guid frame@da17bfa5502b55fac55ab6dcc355fabe was not bound in the connection

Hi, @kyiree! Thanks for bringing this up!
I'm leaving a related issue from playwright here that might help us debug this behaviour:

https://github.com/microsoft/playwright/issues/22210


Use hashing rather than RNG for VID sampling of synthetic events.

This allows implementations to be deterministic and language-agnostic.

This change is


p2p: Fix libp2p mDNS peer discovery test

The test assumed that mDNS would discover one IPv6 address for the
peer which proved to be obviously incorrect on some computers.

You can manually remove all interfaces but I can't think of a single reason why you'd want to do that.


Incompatible with latest version of google-cloud-pubsub

Hi,
There is a small incompatibility that causes the activejob-google_cloud_pubsub-worker daemon to fail when using with google-cloud-pubsub 0.27.0. Line 10 in pubsub_extension.rb (https://github.com/ursm/activejob-google_cloud_pubsub/blob/96f841dbf9a674365fe13fbabb9d4ece98388fcf/lib/activejob-google_cloud_pubsub/pubsub_extension.rb#L10) initializes a topic with the autocreate: true argument. That argument was removed in the latest release:
https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/c4ada6f89efd7239bdd78305038b43d046f1f53b/google-cloud-pubsub/CHANGELOG.md
I'm happy to issue a pr if you would like.

Hello!
Thank you for telling me. I did not know that. I'm very happy if you can pull requests.


golang.org/x/net v0.17.0

CVE-2023-44487
HIVE-2337

/assign @suhanime

Okay, so clearly there's more to this than I thought based on the original reports. Once done scanning dependencies, snyk looks for stuff in our repo (including the vendor dir). We're going to need a way to disable/bypass/silence at least some of these -- e.g. "hardcoded credentials" in test suites are not an actual problem.
But as far as this PR goes, it resolves the vulns in x/net, so it should be good to land.

/lgtm


Master to Live. See commits for details.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Invoke-CsPoolFailOver.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add deployment rdk for new managed rules

I confirm these files are made available under CC0 1.0 Universal (https://creativecommons.org/publicdomain/zero/1.0/legalcode)
Issue #, if available:
Description of changes:

Why would you delete the source code of the managed rules? The source code was very useful in the scenario where a small change was need to fit a specific use-case. Where can we view the source code of these managed rules now?

Good point, happy to let it there. I'll do a revert + merge soon.

@jongogogo this has not been reverted yet. Could you be so kind to do the revert + merge? Thanks!


Usage of @localType should be clarified

In general, it does not seem like @localType is being implemented
according to EAC-CPF specifications, which indicates that the value must be a
URI or otherwise defined in <localTypeStructured>.

Submitted on Thursday, April 25, 2013 - 4:02pm
Submitted values are:
Name:  Julie Hardesty
Affiliation: Indiana University EAD Working Group
Does this represent an official comment from your affiliated group? Yes

@rockivist Could you clarify the documentation need here? Is it just to specify that, indeed, @localtype in EAD isn't following the EAC model? Thanks.

@kshepher, @rockivist: I'd recommend adopting the CPF language, but
changing what is said about URIs, here is an inelegant stab at it, which at
least gets at most of the issues...
Summary:
Used to make the semantics of the element more specific or to provide
semantic specificity to elements that are semantically weak.
Description:
The localtype attribute is intended to provide a means to narrow the
semantics of some elements or provide semantics for elements that are
primarily structural or that are semantically weak. The value of the
localtype may be from a local or generally used external vocabulary. While
the value of localtype may be any string, to facilitate exchange of data,
it is recommend that the values be either the URI or the preferred label
for a term defined in a formal vocabulary (e.g., SKOS) which is identified
by an absolute URI, and is resolvable to a web resource that describes the
semantic scope and use of the value.
On Tue, Feb 24, 2015 at 9:23 AM, kshepher<EMAIL_ADDRESS>wrote:

@rockivist https://github.com/rockivist Could you clarify the
documentation need here? Is it just to specify that, indeed, @localtype in
EAD isn't following the EAC model? Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/SAA-SDT/EAD-Revision/issues/158#issuecomment-75764617
.

@kshepher I like what @tcatapano suggests.  The crucial piece was to remove the URI requirement and clarify why.

Thanks! The attribute section doesn't separate Summary and Description, so I just used the one paragraph and made some very minor tweaks to try to make it more readable:
@localtype  Local Type
An optional attribute allowing a general type to be recorded for local use. This attribute is intended to provide a means to narrow the semantics of an element, or provide semantics for elements that are primarily structural or semantically weak. The value of @localtype may be from a local or generally used external vocabulary. While the value of @localtype may be any string, to facilitate exchange of data, it is recommended that the value beith either the URI or the preferred label for a term defined in a formal vocabulary (e.g., SKOS), which is identified by an absolute URI, and is resolvable to a web resource that describes the semantic scope and use of the value.
I'm closing the ticket, but reopen or edit the TL if you're not happy with this.


issue with DropoffController when rover sees too few tags

If the rover sees too few tags (less than 5) when attempting to drop off a tag, the rover will get stuck and refuse to move while at the collection zone.

@wfvining Requesting update

Previous commit messes up timing for dropoff. When robot reverses after dropping the cube it never stops reversing.

@JCHJones can you work with Will on how to correct the dropoff bug that was introduced in his hotfix branch?


Using ember-select-2 with Ember Data

I am using the ember-select-2 component  in my Ember.js project. The list of items is fairly simple and is loaded using Ember data in the route:
setupController: function(controller, model) {
this._super(controller, model);
var otherModelsPromises = {
    accomodationTypes: this.store.find('accomodation-type'),

};

Ember.RSVP.hash(otherModelsPromises).then(function(results) {

    controller.set('accomodationTypes', results.accomodationTypes.get('content'));

});

And in my template I have:
{{select-2 placeholder="Filter By" content=accomodationTypes cssClass="search-filter-dropdown"}}

And here is the JSON being returned from the URL (http://localhost:4200/api/accomodationTypes)
{"accomodationTypes":[{"id":1,"text":"Bed & Breakfast","description":"","svgid":""},
{"id":2,"text":"Self Catering","description":"","svgid":""},
{"id":3,"text":"Hotel","description":"","svgid":""},
{"id":4,"text":"Boutique Hotel","description":"","svgid":""}]}

I can see the promise being eventually resolved in route and data being returned properly. However, when I try and click on the select2 control, I get the following error in console:
Uncaught Error: Assertion Failed: select2 has no content!

If I use a static data in the controller, it works. I have a feeling that because the promise is not resolved by the time the select2 component is rendered, it fails? And it seems like the content variable is not set to use promises? I could try and use a query, but I do not want a type ahead lookup. I just want to display a simple dropdown with multiple options and option to delete.
Am I missing something or is this a bug?

Sorry, my bad. I figured it out. Seems like setupController on model is called after the view has been rendered. Also had to change the template to use model.modelVariable syntax instead of just variable name as I'm returning multiple models. You may please close this issue.


A suggestion to improve one particular error message.

In my program, when I invoke the Locate command when the position of the cursor is on the "option" identifier, I get the following error:
didn't manage to find option
Initially, I did not understand why. Then a colleague kindly explained to me that "option" (just like "int" and "string") are primitive types which are not defined in the "usual way" so no matter how, Merlin genuinely cannot jump to the definition (because there is none).
My suggestion is that in these special cases ("option", "string", "int", "bool", ...) instead of:
didn't manage to find option
didn't manage to find string
didn't manage to find int
didn't manage to find bool
...
Merlin should provide some more helpful explanation.

I have a mediocre fix for this on the "locate-keep-locs" branch (it has nothing to do with -keep-locs but whatever) which I hope to merge in master soon.
In the meantime if you have an idea of a good error message, I'm all ears.

Hi.
For me, a hint like:
"X is a builtin type (just like Y, Z, ...) and it is therefore not possible to jump to its definition."
would be sufficient, I think.


improve TypeScript support

Since we're trying to improve our TypeScript support for all the client libraries, it would be nice if gax exported some additional types. For example - I've found myself stubbing interfaces for both the Operation and StreamProxy classes. I think we should do a run through of the various types and make sure we're exporting any that would benefit the client libraries.

In it's current state, this isn't really actionable.  When you find a specific type that isn't represented - can you file a bug for that with details, and an example of how you have to stub it?

@JustinBeckwith sorry, I totally forgot about this. I opened #433 to export the types I was looking for when writing gapic declaration files.


LAB_09c-Implement_Azure_Kubernetes_Service.md.pdf

Description:
The architecture diagram is not translated

This is image issue, I can't fix it.

https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.fr-fr/issues/222


A way to check if a bucket exists

At the moment, it seems, than the only way to check if a bucket exists is to try to create or to get it by name and handle the exception.

One other option is to list buckets with the expected bucket name as a prefix, then see if the desired bucket is present afterwards.
I'm afraid I don't know of any other way to do things in the underlying API, which is what the client library is constrained by.


shell: Use temp_buffer in tab completion

Change common_beginning_find() to use temp_buffer for storing first
command when algorithm compares commands in search for common
beginning. It is done to support cases where syntax returned by
dynamic commands is transient (e.g. single static buffer is used
for to build dynamic syntax).
Signed-off-by: Krzysztof Chruscinski<EMAIL_ADDRESS>

@nordic-krch : Did you test this change with wildcards?

@jakub-uC yes, i don't see any issues.


Consitionnally activate linters

Hi,
as a JS developer, there are many linting tools available (JSHint, ESLint) and other checkers (JSCS).
Usually, the maintainer/team of a project relies on some of them and adds at the root of the project the corresponding configuration file (namely .jshintrc, .eslintrc, .jscsrc).
With Neomake and the linters being statically defined, it happens that when a project doesn't use JSHint but rather ESLint, JSHint is still used in Neomake and produces a number of unwanted errors. In this particular case, these errors are false positives, as Neomake called JSHint but no one really wanted to hear about its opinion.
Is there a way to conditionally activate linters in Neomake (I know I can edit the array of active linters)?

I give https://github.com/thinca/vim-localrc/ a try; it works well and now, I think I prefer a per-project configuration than requiring each and every tool to adapt to each and every situation.
I'm closing as I feel I found a more general, better suited solution. Comments are welcome, though.


Make "other platforms" obvious on the website

It's not clear that the website supports both windows and linux. The default text indicates how to install for other platforms, but it's obvious when you are on Linux that the website works for Windows too.

I'm going to consider this a dupe of https://github.com/rust-lang-nursery/rustup.rs/issues/269


Questions/confusion about Preact

Hey!
I'm rewriting an Ember project of mine in "React," and one of my many reasons for doing so is that Ember doesn't lend itself well to small JS bundles. I decided to give Preact or Inferno a shot, and since inferno-compat is sort of a misnomer (it doesn't include Component, which leads to third-party libraries breaking), Preact is the default winner! I took my React project and turned it into a Preact project, and everything works.
However, I'm a little confused...
In the Inferno repo, they list the differences between Preact and Infero, and one of the things they say is:

Inferno is much faster than Preact in rendering, updating and removing elements from the DOM. Inferno diffs against virtual DOM, rather than the real DOM (except for when loading from server-side rendered content) which means it can make drastic improvements. Unfortunately, diffing against the real DOM has a 30-40% overhead cost in operations.

This seems to imply that Preact diffs agains the real DOM, rather than a virtual DOM. Is this true? I can't seem to find anything online that supports this claim.
If it is the case, it looks like it's at least possible to "turn on" the usage of a virtual DOM in Preact or something? In the Preact README, it says:

Out of the box, Preact provides an h() function that turns your JSX into Virtual DOM elements (here's how). It also provides a render() function that creates a DOM tree from that Virtual DOM.

What does this mean, exactly? Is this for building my own virtual DOM, for my own use? Does it mean that there's no virtual DOM by default unless I include h()?  Do I need to import h as well? Does it matter that I'm using preact-compat?
I'm new to Preact, but not to React, and none of this seems super clear to me 😕
Sorry for the long question! Hopefully, it's easy enough to explain so that an answer requires less typing.
Thanks!

I'm no Preact guru 😄 , but I'm using it too and I'll try to briefly explain some points.

Preact does implement the VDOM concept like React, node changes are compared in VDOM before applying final patches to the DOM. The implementation is done differently from Inferno, though. @developit may provide further details.

h() and render() are like React.createElement and ReactDOM.render for Preact. You may not see h() much because most files are written in JSX and later compiled to use the h function. Tools like babel and webpack can hide the use of h in your files completely so that it becomes totally implicit.

There is no usual way to skip VDOM usage in Preact, VDOM is mandatory. You need h() to create components and elements in Preact, it automatically creates a VNode for you.

render() grabs the VNode tree (elements/components created with h) and renders it in the real DOM.

If you use preact-compat you will add some extra code to your bundle but then Preact will work just like React in most cases. Most of React's functions and properties, like createElement which maps to h, become available. preact-compat adapts and disguises Preact so that devs have an easy drop-in replacement for React. I would recommend you to stick to the core if possible, if you plan to use a lot of React dependent libs then preact-compat may be worth it.

When you implement render, you are returning VDom nodes, in all three systems.
Tip: Assign your VDom tree to a variable and log it to the console before returning it, to get a better idea:
function MyComponent(props) {
  var vdom = (

        Hello, {props.message}

  )
  console.info(vdom);
  return vdom;
}

The difference happens afterwards. Both React and Inferno keep an old copy of the most currently rendered VDom tree in memory, so they can diff the newly rendered tree against the old one. Preact has taken a different route. It does not keep an old copy around for diffing. Instead, it diffs the new VDom tree against the real DOM.
I think Jason explained it in some blog post when introducing Preact. He had done some testing and concluded that, as long as you don't actually change anything, the real DOM is quick enough to do diffing against. Presumably he wanted to save bytes. There is a reason Inferno is nearly 3 times as big as Preact...
So the performance question becomes: which is more important to you: TTI (time to interactive) or frame rate?
If you are doing very complex stuff at high frame rate, inferno may help you. If not, probably Preact is better.

Perfect! Thanks for taking the time out to help, guys! All of that makes sense.
I think in my case, I won't be doing complex changes to the DOM, so I should be okay :grin: :+1:

All good explanations, thanks for fleshing this out :)
@GRardB It's actually a little less different than it seems - Preact does diff VDOM against DOM, but it caches things on DOM nodes rather than actually diffing against the nodes themselves.  In reality, that ends up working a whole lot like VDOM <-> VDOM diffing, just Preact doesn't need to keep the old VDOM tree around to diff against.


enable md5_hash for blobstore

OCD run https://ocd.appscale.com:8080/job/Daily Build/236/

Re-running OCD tests: https://ocd.appscale.com:8080/job/Daily Build/241/

:+1:

Previous OCD ran out of resources :( Re-run at https://ocd.appscale.com:8080/job/Daily Build/243/

Had to do another run https://ocd.appscale.com:8080/job/Daily Build/245.

Hooray!
On Jul 12, 2015 4:45 PM, "graziano obertelli"<EMAIL_ADDRESS>wrote:

Merged #1759 https://github.com/AppScale/appscale/pull/1759.
—
Reply to this email directly or view it on GitHub
https://github.com/AppScale/appscale/pull/1759#event-353900279.


Fix compilation failure under high version gcc(>=10) with -Werror options

What do these changes do?

Related issue number

Fixes

Codecov Report

Merging #77 (10ee63a) into master (11804ec) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #77   +/-   ##
=======================================
  Coverage   82.28%   82.28%
=======================================
  Files          50       50
  Lines        3133     3133
=======================================
  Hits         2578     2578
  Misses        555      555

Flag
Coverage Δ

app_tests
82.28% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

grape/fragment/immutable_edgecut_fragment.h
76.97% <100.00%> (ø)


Added missing semicolon to img srcset tag in README.md

Fixes #587

+1

Merged this to the 3.0 branch in #589. Thank you @ekarcnevets!


[Bug] [task-plugin] run python task, source: not found

Search before asking

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

What happened

When a Python task is run, "sudo -u qilin_ci sh" is first executed.
At line 123 of AbstractCommandExecutor
But the command line that needs to be executed like "source /opt/dolphinscheduler/conf/dolphinscheduler_env.sh" .
At line 111 of ShellCommandExecutor
Bash is the one that can execute the source command. Sh doesn't seem to be able to execute the source command.
I'm not sure if this is a bug or a problem with my configuration.
What you expected to happen
...
How to reproduce
...
Anything else
...
Version
3.0.0
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Duplicated with #10938.


What is wall and train_wall in the output log?

In the scalling_nmt example training output log there is two column named "wall" and "train_wall".
What does these two column means? How this is related to training time?

"wall" is the total time, including time spent in validation, saving checkpoints to disk, etc. In the paper we reported "train_wall," which is just the time spent in training.

Thanks @myleott :)


Changing Priority of a Processing Filter Changes Historic Values Too

Set a processing filter to priority 10 and let it run for a bit.  Then change the priority.  The view of processor tasks shows all of the new AND old tasks to be set to the new priority.
This only appears to be the case when combined with #2563 so may not happen at all when that's fixed.

Won'f fix as this is not a bug. This issue has been replaced by enhancement request #2571.


sync height with new props.value ( #355)

When a value is provided as a prop to EnhancedTextarea, the height should be synced. Fixes part II of #355.

Thanks @mhuebert :+1:


Add read_entropy syscall, remove old randomness syscalls

See hermitcore/libhermit-rs#640

bors try

bors r+

@joboet  Can you rebase the PR with the master branch?

Done, seems like GitHub just doesn't display it properly...


How do you add a new widget?

I just want to make a few additions to the widgets available to edit on the Contact page. I have gone in to the config.yml page and added it there as instructed in the README but the widgets are not showing up when I go to the content manager.  Also whenever I restart the development server my changes in the config.yml file are deleted. How do I make those permanent?
What step/s am I missing?
`
- { label: Subtitle, name: subtitle, widget: markdown }
      - { label: Body, name: body, widget: markdown }
      - { label: Address, name: address, widget: text }
      - { label: Phone, name: phone, widget: string }
      - { label: Fax, name: fax, widget: string }
      - { label: Email Address, name: email, widget: string }

`

Found the problem.
Per the current README file I was editing the config.yml file located in public/admin
I should have been editing it in STATIC/admin
Created a pull request to fix this issue for future users.

Thank you @fbuireu for helping me to find this issue.


Add test to CI to check for re2 compatibility in rules

Motivation
Now that we have banned all pcre2 only regexps, we need to keep this line forward.
Proposed solution
Use a new pipeline test. it will extract regular expressions from rules via any parser, and use possibly https://pypi.org/project/google-re2/ or others to check regexes work.
Alternatives
Use a native golang program for doing the same.
Additional context
None.

Good thinking!

This is still needed

Please assign this to me. I will write the following action:

Use @airween's https://github.com/digitalwave/msc_pyparser to extract all regexes
Test regex compilation against: python (re2), golang (re2), java (re2), C (pcre)
Write a PR comment with each result and compile the time
Optionally fail if some test failed to compile

You can also use https://github.com/coreruleset/secrules_parsing with -r after merging this PR

This will be deprecated once we move to the new crs-toolchain.


How do we configure an environment as a Managed Environment?

I don't find any information on how do we configure an environment as a Managed Environment
I feel that it should be at the top of this article. Or at least a link to an article that explains how to do it step by step.
regards

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

ID: e8951c0a-f807-3e8d-2fa2-abeb81042296
Version Independent ID: e8951c0a-f807-3e8d-2fa2-abeb81042296
Content: Activating Managed Environments - Power Platform
Content Source: power-platform/guidance/white-papers/managed-environment-activation.md
Service: power-platform
Sub-service: guidance
GitHub Login: @rsantos00
Microsoft Alias: rstand

Thanks for your comment, @bernatagulloesbrina. This issue has been assigned to the doc author for review.

Thanks for the comment @bernatagulloesbrina, the information on how to activate Managed Environment comes just after describe what features are included:


Inconsistend behaviour of valueMissing validator

The Problem
Inconsistend behaviour of valueMissing validator
Steps to Reproduce
When I give
validators={{
              customMissing: (value) => typeof value !== "undefined" && value !== "",
              valueMissing: (value) => typeof value !== "undefined" && value !== "",
            }}

            parser={function (value) {
              return undefined;
            }}

            mapProps={{
              className: (props) => { console.log(props.fieldValue.errors); return "test" }
            }}

to my Control.Text i would
Expected Behavior
expect that the value of customMissing and valueMissing in fieldValue.errors is equal
Actual Behavior
value of customMissing once given a value false but valueMissing alternates
Reproducible Code Example
https://codesandbox.io/s/03v041289w

You're overwriting an HTML5 validator: valueMissing. This is handled natively by the browser itself, and shouldn't be handled by the developer.
If you change 'valueMissing' to 'noValue' or something similar, you'll see it works as expected.

I do not agree that this is not a valid bug report. I do not necessarily know that valueMissing may not be given. And even when valueMissing is not given it is included in the fieldValue.errors object and does not respect my parser. I as a developer expect not the input value to be validated but the parser value.

If you want to disable HTML5 validation, then add noValidate on your form:
import { Form } from 'react-redux-form';

// email input will not be validated
<Form model="user" noValidate>
  <Control.email />
</Form>


Update cats, common, test to 0.12.0

Updates

io.github.cquiroz.react:cats
io.github.cquiroz.react:common
io.github.cquiroz.react:test

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

Files still referring to the old version number
The following files still refer to the old version number (0.11.3).
You might want to review and update them manually.
CHANGELOG.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.cquiroz.react" } ]

labels: library-update, semver-minor, old-version-remains

Superseded by #201.


[beta] Certificate Names Expand Beyond Boxes on Commit/Pledge Page

Issue Description
Data Visualization and APIs and Microservices expand outside of their "boxes" in Step 1 on the Commit page

log in to https://beta.freecodecamp.org/
click on My Profile
click "Edit my pledge"
scroll down until you see Step 1.

Browser Information

Browser Name, Version: Chrome Version 63.0.3239.84 (Official Build) (64-bit)
Operating System: mac OSX High Sierra Version 10.13.1 (17B1003)
Mobile, Desktop, or Tablet: Desktop

Screenshot

added beta label


Prevent data defined in init from overriding data passed to factory.create(data)

In order for data to not be over-ridden in the init method (i.e. init method - this.foo = [];) as a result of calling factory.create({id: 1, foo: [1]}), we also need to take the record and call setProperties to ensure data passed persists.

@toranb I'm not sure this is the best solution.  Getting some side effects and failing tests on our project that weren't covered by the test suite.  Hmmmm any thoughts?

@snewcomer I actually think that anything inside the init would take priority over what you add to the create. In this particular example if you want to set the bar value to an empty array on init I'd think the init() function would be the very spot in code to do that. The create would likely always set a specific value but allow for the constructor function to override anything based on the model/business rules.
I'm not sure we should merge something like this as the init would likely win out (assuming it's the same in ember-data?)

@toranb I guess I was questioning the init winning out.  Instead of them being properties on the blueprint, I was hoping to get them on the instance (although admittedly not experiencing any headache right now).  Then the desired behavior would be that any properties that create would take would default to x = [] if not passed in but declared in the init method...otherwise would be set to x = [1,2] if x had values.  Almost like the constructor func taking parameters but defaulting it if nothing was passed.  Lmk your thoughts.

@toranb closing this.  Yeah exactly like Python...defining an __init__ method and set properties to either a default or to the value passed to the class constructor MyClass(1,2).  In the case I outlined above, it would assume that the user wants to over-ride the property defined in the constructor whereas it should be handled explicitly by us.
You are right.  This would be confusing to alter the chain of priority behind the scenes. Sry about that!


Feature request: add proto to the scoop registry

The scoop package manager offers a convenient way to install applications on Windows systems without requiring admin privileges.
If proto can be added to the scoop registry, then it could be installed using:
scoop install proto

Some helpful guides and examples:

https://github.com/ScoopInstaller/Scoop?tab=readme-ov-file#what-sort-of-apps-can-scoop-install
https://github.com/ScoopInstaller/Scoop/wiki/Creating-an-app-manifest
https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests
https://github.com/ScoopInstaller/Main
https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md#for-scoop-buckets
https://github.com/ScoopInstaller/Main/blob/master/bucket/just.json
https://github.com/ScoopInstaller/Main/blob/master/bucket/go.json
https://github.com/ScoopInstaller/Main/blob/master/bucket/wasmer.json
https://github.com/ScoopInstaller/Main/blob/master/bucket/busybox.json

Here is a working the proto.json Scoop application manifest:
{
  "version": "0.40.0",
  "description": "A pluggable multi-language version manager.",
  "homepage": "https://github.com/moonrepo/proto",
  "license": "MIT",
  "url": "https://github.com/moonrepo/proto/releases/download/v0.40.0/proto_cli-x86_64-pc-windows-msvc.zip",
  "hash": "af38f2c86813a4e7b70157bdb2478f8d9b5946e1435b795bb07cababe0d24ea9",
  "bin": [ "proto.exe", "proto-shim.exe" ],
  "checkver": {
    "github": "https://github.com/moonrepo/proto"
  },
  "autoupdate": {
    "url": "https://github.com/moonrepo/proto/releases/download/v$version/proto_cli-x86_64-pc-windows-msvc.zip"
  }
}

I don't plan to officially support other install methods outside what is already supported. This feels like something the community can maintain unofficially, in the same way that homebrew is.

@milesj All good, thanks.

Updated status.


Zygote GPU

To get the Zygote version working on GPUs, we need:
https://github.com/JuliaDiffEq/RecursiveArrayTools.jl/pull/80
https://github.com/JuliaDiffEq/OrdinaryDiffEq.jl/pull/1007
https://github.com/JuliaDiffEq/StochasticDiffEq.jl/pull/256
https://github.com/JuliaDiffEq/DiffEqBase.jl/pull/416
https://github.com/JuliaDiffEq/DiffEqNoiseProcess.jl/pull/36
https://github.com/JuliaDiffEq/DiffEqCallbacks.jl/pull/71
https://github.com/JuliaDiffEq/DiffEqSensitivity.jl/pull/173
and then the forward pass is concertizing correctly. Then I think the reverse pass of restructure is not GPU compatible. Making an MWE.

https://github.com/FluxML/Flux.jl/issues/989

https://github.com/JuliaDiffEq/DiffEqDevTools.jl/pull/54

https://github.com/JuliaDiffEq/DiffEqJump.jl/pull/90

https://github.com/JuliaDiffEq/DelayDiffEq.jl/pull/167

Everything that's not Flux got updated.


feat(dashmate): configure dashd command arguments

Issue being fixed or feature implemented

From time to time we test Core with conditions that require specific configuration which is not supported by dashmate
What was done?

Added core.docker.commandArgs option to add arguments to the dashd command

How Has This Been Tested?

None
Breaking Changes

None
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
[x] I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

I tried on my local computer and it is not working:
pshenmic@Mikhails-MacBook-Pro dashmate % yarn dashmate config set core.docker.commandArgs "-rpcport=9998"

pshenmic@Mikhails-MacBook-Pro dashmate % docker logs -f dashmate_ccf8a8b6_testnet-core-1
/docker-entrypoint.sh: line 24: exec: dashd -rpcport=9998: not found
/docker-entrypoint.sh: line 24: exec: dashd -rpcport=9998: not found
/docker-entrypoint.sh: line 24: exec: dashd -rpcport=9998: not found
/docker-entrypoint.sh: line 24: exec: dashd -rpcport=9998: not found
/docker-entrypoint.sh: line 24: exec: dashd -rpcport=9998: not found
/docker-entrypoint.sh: line 24: exec: dashd -rpcport=9998: not found
/docker-entrypoint.sh: line 24: exec: dashd -rpcport=9998: not found


Unit 3 - OSError: Tried to clone

I tried to run a push_to_hub.py to push my Deep Agent to HF Hub, but I'm getting an error:
OSError: Tried to clone https://huggingface.co/Felipe474/dqn-SpaceInvadersNoFrameskip-v4 in an unrelated git repository.
If you believe this is an error, please add a remote with the following URL: https://huggingface.co/Felipe474/dqn-SpaceInvadersNoFrameskip-v4.
Local path has its origin defined as: https://huggingface.co/ThomasSimonini/dqn-SpaceInvadersNoFrameskip-v4
My Google Colab: https://colab.research.google.com/drive/1MqMBLOLOkWsNjcXoYAe4oR1kq4_GzbkV?usp=sharing

The solution was run the HuggingFace authentication in my local machine (I didn't understand so far the bug lol).


vSphere VM deletion output is weird

Deleting bbl-concourse-worker.
SUCCESS deleting !

I think this is an old version of leftovers because the format of the output recently changed: https://github.com/genevieve/leftovers/blob/master/vsphere/leftovers.go#L52-L61
Do you know what version of leftovers that is in bbl? I can bump again in case it has been a while.

It's probably fine in the actual latest version of bbl. Closing because I'm not going to go through the trouble of creating a VM on vSphere just to test this out.

LOL k.


Vulnerability roundup 97: terraform-0.14.0: 1 advisory [9.8]

search, files

[ ] CVE-2018-9057 CVSSv3=9.8 (nixos-unstable)

Scanned versions: nixos-unstable: 83cbad92d73.
Cc @Chili-Man
Cc @babariviere
Cc @kalbasit
Cc @marsam
Cc @peterhoeg
Cc @timstott
Cc @zimbatm

@ckauhaus is it possible to fix the tool so it properly matches terraform-provider-aws ?

terraform-provider-aws v1.14.0 contained the fix and the reporting tool is confusing it with terraform v1.14.0 for some reason.


How to return false rather than error message?

Hi ,I use the 0.24.
I use the URLSafeTimedSerializer, and loads with max_age.
When the signature was expired, I want to get the return value False rather than the error message, how I do?
itsdangerous.SignatureExpired: Signature age 1897 > 360 seconds
I have read the doc, but I haven't found the solution yet.
Thank you very much.

loads() returning false or none to indicate an error makes no sense - after all, those would perfectly valid payloads. So the only option is raising an exception.
But you can easily write your own function to handle this - catch the exception and then return False.


Add GitHub footer, super basic contributing guide

#24
I promise I'll stop firing off PR's soon :)

No stop!
We are seeing the benefits of internationalization...

Yeah I'll sprinkle in the i18n stuff here in a sec, hold off on merging

Should be good to go; though more than happy if there's a better translation available!


No horizontal padding in IE11

Issue report
Expected Behavior

Button has horizontal padding in IE11
Current Behavior

Button does not have horizontal padding in IE11

Context
The issue seems to have been introduced with this commit (version 2.6.2)
Your Environment

Version used: 2.9
Browser Name and version: IE 11
Operating System and version (desktop or mobile): Windows 10

Possible workaround: if display is an issue in IE11, use outercontext=true and set width on parent


after closing Ferdi on Linux still many child processes alive

Describe the bug
I run Ferdi on my Ubuntu 18.04 notebook. When I close Ferdi there are still many child processes alive which consume CPU and battery. I have to kill them by killall ferdi.
To Reproduce
Steps to reproduce the behavior:

Start Ferdi, click on all service tabs, wait some seconds
Open terminal, run ps aux | grep ferdi and check that at least some ferdi processes are listed
Close Ferdi, wait some seconds
run again ps aux | grep ferdi in terminal
there are still process to see, run while true; do ps auxf | grep ferdi | awk '{ print $3; SUM += $3} END { print "SUM " SUM }'; sleep 1; done to see how much CPU at all they consume
after running killall ferdi CPU load is 0

Expected behavior
After closing Ferdi all child processes are terminated.
Desktop (please complete the following information):

OS: Ubuntu 18.04.4 LTS

Additional context
I see the same behaviour with Rambox but not Franz 5.5.0-beta.3.

Have you disabled "Keep Ferdi in background when closing the window" in the settings?

Have you disabled "Keep Ferdi in background when closing the window" in the settings?

What a f... That was really a rookie mistake. Thanks, it works as expected now.


Task/csi 3503 add verification

fyi https://github.com/IBM/ibm-block-csi-operator/pull/224#discussion_r759983858


Extra styling for Notes view

For an individual Note, add some progressive enhancement JS that applies a random color palette from their list view.
This should at least be on the post body. Could a version also be applied to the header? Would this overwrite the background image?

Add extra color pairings from favorite Pokémon color schemes?
These could be mixed into the current ones! As a progressive enhancement to the list view, it could mix them in, shuffle them up, and apply them. So each view of many notes has a different combination of random color schemes. Want at least enough to remove the inverts.

Or one element of the randomness is if they’re inverted or not?

keep the defaults that are based on nth of type
JavaScript will have a list or number of all the possible color schemes. It will make two versions of it, one as normal and one inverted, and shuffle both lists
it will alternate between a random normal one and a random inverted one to keep the broader pattern
on individual pages it will override the base page styling with a completely random color scheme, inverted or otherwise