AWS EC2 instructions are very confusing

Page: /setup/install/providers/aws/aws-ec2/
Feedback: There's quite a fair bit that is obviously just not clear or helpful enough. I also feel like there's some copy paste going on here which only makes things more confusing.
Apologies, I suspect this one just needs to be revisited entirely. Even right down to grammar. I really want to run spinnaker, but between having such a complicated setup and instructions like this... Argh. 😥

Also worth noting -- I'm not quite clear on what the difference between managed and managing is here.  Might be a spinnaker thing, but very nuanced and could use some inline explanation or a reference?

Would it be right to assume if I'm only working in one AWS account, I don't need to make managed accounts?

For EKS, what is MY_K8_ACCOUNT?

Encountered this error while running: hal config provider kubernetes account add atrauzzi --provider-version v2 --context $(kubectl config current-context)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.fasterxml.jackson.databind.util.ClassUtil (file:/opt/halyard/lib/jackson-databind-2.8.8.jar) to constructor java.lang.Void()
WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.databind.util.ClassUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

the aws ec2 provider guide is totally not useful, the provided managing.yml file is wrong, missing a condition line, even after I setup the debain local deployment, I cannot select the account I specified when create resources (such as LB/FW) in deck.

@anshrma can you take a look at this

Also worth noting -- I'm not quite clear on what the difference between managed and managing is here. Might be a spinnaker thing, but very nuanced and could use some inline explanation or a reference?
I do see a description for the concepts here: https://www.spinnaker.io/setup/install/providers/aws/
But it's tough to parse and doesn't quite help me understand: "Every account that you want to modify resources in is a managed account. These will be configured to grant AssumeRole access to the managed account." -- this sentence is difficult to make heads or tails of.
You may also want to cross reference any changes made here with the EKS instructions as well. I find them similarly difficult to follow.

I have similar problems where uploading the managing.yaml file return Template validation error: Template format error: Unrecognized resource types: [AWS::EKS::Cluster]   but my other stacks have the same syntax and not have upload problems.


Any plan on wrapping it as React component?

Don't mind doing it manually but would like to know if there's a plan on publishing official react autocomplete component from Algolia.
Thanks!

We definitely want to provide native React components (and not just wrappers around an existing DOM library like autocomplete.js).
As with everything, we have plenty to do. So if you are up to creating an autocomplete.js-react then we would love so! Thanks.

Wrapping the current library in a React component is probably doable but I think the best would be to reimplement it from scratch because the current code is (historically) based on a lot of jquery-compliant APIs:

$.css
$.data
$.each, $.map, ...

We managed to do it pretty easily for Angular.js but React will be more tricky.

@pukapukan If you want I made this https://github.com/scerelli/react-algoliasearch it can be improved but it's a start

@scerelli Does your library support multi-category auto complete as well?

@scerelli Does your library support multi-category auto complete as well?

From what I get it doesn't, but you should contribute to @scerelli's (awesome) project!

No it doesn't and since i don't know the api's really well any kind of help is appreciated, even just a proposal.
thanks @redox  :D

@angkywilliam Multicategory has been implemented implemented into react-algoliasearch
https://github.com/scerelli/react-algoliasearch/pull/5

Nice!


I'm unable to extract the downloaded API file. Is there a fix to this? Do I need to use the complete package to try out object detection for my custom trained model?

Do I need to use the complete package to try out object counting for my custom trained model?

Couldn't find a solution yet


Minor readme updates

Fixed npm install instructions
"stage-0" is not required, best to only promote "es2015"
Added notes for eslint

Awesome, thanks :-)


Fix undefined variables in migration

Column names are capitals in MySQL 8.0.19 (MySQL Community Server - GPL). Without the aliases, the columns will be returned like COLUMN_NAME, DATA_TYPE, COLUMN_DEFAULT etc. and causing undefined column properties (for example line 95) and breaking the migration if the table structure is existent (creating the structure from scratch works fine, it is just the updating of existing databases that is broken).

Interesting, so can this be considered as "fixing support for mysql 8"? As that sounds more understandable from the changelog perspective.
Also please fix the tests, should be just about fixing those snapshots. Otherwise we are good to merge.

I don't know if it is only MySQL 8, I just started using the migrator and got loads of undefined errors and after looking further into it, it was because of these queries returning the data in capitals.

Well the fix is only in the mysql helper, so I think we can call it this way. Other drivers use different approach/queries to get the column list, so they should be fine.
Anyway, thanks, will release it as part of 3.5 probably later this week.


[ADAP-874] [Bug] Columns are unquoted with nested data (incremental + time_ingestion_partitioning)

Is this a new bug in dbt-bigquery?

[X] I believe this is a new bug in dbt-bigquery
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
It looks like the DDL that creates the target incremental table does not quote all the columns/fields in a stuct by default - this causes columns/fields that use reserve keywords (i.e. group) to fail.
Expected Behavior
We should generate a statement where all columns are quoted.
Steps To Reproduce

Create a some raw table with a struct with reserved keyword field:

create or replace table dbt_jyeo.raw_data as
select current_timestamp as created_at, 1 id, struct(2 as `group`, 'b' as c) as meta
;

Setup dbt project:

# dbt_project.yml
name: my_dbt_project
profile: all
config-version: 2
version: 1.0
models:
  my_dbt_project:
    +materialized: view

# models/sources.yml
version: 2
sources:
  - name: dbt_jyeo
    tables:
      - name: raw_data

-- models/test_struct_inc.sql
{{
    config(
        materialized = 'incremental',
        incremental_strategy = 'insert_overwrite',
        partition_by = {
            "field": "_partitiontime",
            "data_type": "timestamp",
            "time_ingestion_partitioning": true
        }
    )
}}

select [struct(a.meta.`group` as `group`, 'foo' as v)] as some_data, date(created_at) as _partitiontime from {{ source('dbt_jyeo', 'raw_data') }} as a

Build our model:

$ dbt run -s test_struct_inc --full-refresh
03:26:35  Running with dbt=1.6.0
03:26:36  Registered adapter: bigquery=1.6.4
03:26:39  Found 1 model, 1 source, 0 exposures, 0 metrics, 933 macros, 0 groups, 0 semantic models
03:26:39
03:27:46  Concurrency: 1 threads (target='bq')
03:27:46
03:27:46  1 of 1 START sql incremental model dbt_jyeo.test_struct_inc .................... [RUN]
03:27:52  BigQuery adapter: https://console.cloud.google.com/bigquery?project=cse-sandbox-319708&j=bq:US:cef5b81c-4286-495a-b650-4632f81c26ff&page=queryresults
03:27:52  1 of 1 ERROR creating sql incremental model dbt_jyeo.test_struct_inc ........... [ERROR in 5.21s]
03:27:52
03:27:52  Finished running 1 incremental model in 0 hours 1 minutes and 12.34 seconds (72.34s).
03:27:52
03:27:52  Completed with 1 error and 0 warnings:
03:27:52
03:27:52  Database Error in model test_struct_inc (models/test_struct_inc.sql)
03:27:52    Syntax error: Unexpected keyword GROUP at [7:104]
03:27:52
03:27:52  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

Relevant log output
============================== 15:26:35.477181 | a12e9dcc-a2c3-454e-9895-4723dd460b0d ==============================
15:26:35.477181 [info ] [MainThread]: Running with dbt=1.6.0
15:26:35.482767 [debug] [MainThread]: running dbt with arguments {'printer_width': '80', 'indirect_selection': 'eager', 'write_json': 'True', 'log_cache_events': 'False', 'partial_parse': 'False', 'cache_selected_only': 'False', 'warn_error': 'None', 'version_check': 'True', 'fail_fast': 'False', 'log_path': '/Users/jeremy/src/dbt-basic/logs', 'profiles_dir': '/Users/jeremy/.dbt', 'debug': 'False', 'use_colors': 'True', 'use_experimental_parser': 'False', 'no_print': 'None', 'quiet': 'False', 'warn_error_options': 'WarnErrorOptions(include=[], exclude=[])', 'static_parser': 'True', 'invocation_command': 'dbt run -s test_struct_inc --target bq --full-refresh', 'introspect': 'True', 'target_path': 'None', 'log_format': 'default', 'send_anonymous_usage_stats': 'True'}
15:26:36.450148 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'project_id', 'label': 'a12e9dcc-a2c3-454e-9895-4723dd460b0d', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x11190efa0>]}
15:26:36.467150 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'adapter_info', 'label': 'a12e9dcc-a2c3-454e-9895-4723dd460b0d', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x111935850>]}
15:26:36.469007 [info ] [MainThread]: Registered adapter: bigquery=1.6.4
15:26:36.604614 [debug] [MainThread]: checksum: 7cc018d4f948065a61996e8bb1e3bfcb0d7a0b5c8765a71b01f80eb85159b7fc, vars: {}, profile: , target: bq, version: 1.6.0
15:26:36.606596 [debug] [MainThread]: Partial parsing not enabled
15:26:39.833138 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'load_project', 'label': 'a12e9dcc-a2c3-454e-9895-4723dd460b0d', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x111d380d0>]}
15:26:39.858685 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'resource_counts', 'label': 'a12e9dcc-a2c3-454e-9895-4723dd460b0d', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x11197e220>]}
15:26:39.859468 [info ] [MainThread]: Found 1 model, 1 source, 0 exposures, 0 metrics, 933 macros, 0 groups, 0 semantic models
15:26:39.860068 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'runnable_timing', 'label': 'a12e9dcc-a2c3-454e-9895-4723dd460b0d', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x11197e1c0>]}
15:26:39.861890 [info ] [MainThread]:
15:26:39.863083 [debug] [MainThread]: Acquiring new bigquery connection 'master'
15:26:39.864780 [debug] [ThreadPool]: Acquiring new bigquery connection 'list_cse-sandbox-319708'
15:26:39.865502 [debug] [ThreadPool]: Opening a new connection, currently in state init
15:26:41.910950 [debug] [ThreadPool]: Re-using an available connection from the pool (formerly list_cse-sandbox-319708, now list_cse-sandbox-319708_dbt_jyeo)
15:26:41.912455 [debug] [ThreadPool]: Opening a new connection, currently in state closed
15:27:46.979151 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'runnable_timing', 'label': 'a12e9dcc-a2c3-454e-9895-4723dd460b0d', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x111cae520>]}
15:27:46.981688 [info ] [MainThread]: Concurrency: 1 threads (target='bq')
15:27:46.982408 [info ] [MainThread]:
15:27:46.985853 [debug] [Thread-1  ]: Began running node model.my_dbt_project.test_struct_inc
15:27:46.986997 [info ] [Thread-1  ]: 1 of 1 START sql incremental model dbt_jyeo.test_struct_inc .................... [RUN]
15:27:46.988146 [debug] [Thread-1  ]: Re-using an available connection from the pool (formerly list_cse-sandbox-319708_dbt_jyeo, now model.my_dbt_project.test_struct_inc)
15:27:46.989065 [debug] [Thread-1  ]: Began compiling node model.my_dbt_project.test_struct_inc
15:27:47.004208 [debug] [Thread-1  ]: Writing injected SQL for node "model.my_dbt_project.test_struct_inc"
15:27:47.006922 [debug] [Thread-1  ]: Timing info for model.my_dbt_project.test_struct_inc (compile): 15:27:46.990604 => 15:27:47.006480
15:27:47.007785 [debug] [Thread-1  ]: Began executing node model.my_dbt_project.test_struct_inc
15:27:47.375247 [debug] [Thread-1  ]: Opening a new connection, currently in state closed
15:27:47.420043 [debug] [Thread-1  ]: On model.my_dbt_project.test_struct_inc:
    select * from (

select [struct(a.meta.`group` as `group`, 'foo' as v)] as some_data, date(created_at) as _partitiontime from `cse-sandbox-319708`.`dbt_jyeo`.`raw_data` as a
    ) as __dbt_sbq
    where false
    limit 0

15:27:49.184743 [debug] [Thread-1  ]: BigQuery adapter: https://console.cloud.google.com/bigquery?project=cse-sandbox-319708&j=bq:US:cc94a20c-2083-42ca-a6e6-6ce453f0c755&page=queryresults
15:27:50.286102 [debug] [Thread-1  ]: On model.my_dbt_project.test_struct_inc: /* {"app": "dbt", "dbt_version": "1.6.0", "profile_name": "all", "target_name": "bq", "node_id": "model.my_dbt_project.test_struct_inc"} */

    create or replace table `cse-sandbox-319708`.`dbt_jyeo`.`test_struct_inc`(`some_data` ARRAY<STRUCT<group INT64, v STRING>>)

    partition by timestamp_trunc(_PARTITIONTIME, day)

    OPTIONS()

15:27:50.682913 [debug] [Thread-1  ]: BigQuery adapter: https://console.cloud.google.com/bigquery?project=cse-sandbox-319708&j=bq:US:57295df1-8d9e-4502-8934-ddbad346cdf0&page=queryresults
15:27:50.683824 [debug] [Thread-1  ]: BigQuery adapter: Retry attempt 1 of 1 after error: BadRequest('Syntax error: Unexpected keyword GROUP at [7:104]')
15:27:52.159772 [debug] [Thread-1  ]: BigQuery adapter: https://console.cloud.google.com/bigquery?project=cse-sandbox-319708&j=bq:US:cef5b81c-4286-495a-b650-4632f81c26ff&page=queryresults
15:27:52.161826 [error] [Thread-1  ]: BigQuery adapter: https://console.cloud.google.com/bigquery?project=cse-sandbox-319708&j=bq:US:cef5b81c-4286-495a-b650-4632f81c26ff&page=queryresults
15:27:52.164817 [debug] [Thread-1  ]: Timing info for model.my_dbt_project.test_struct_inc (execute): 15:27:47.008517 => 15:27:52.163810
15:27:52.195637 [debug] [Thread-1  ]: Database Error in model test_struct_inc (models/test_struct_inc.sql)
  Syntax error: Unexpected keyword GROUP at [7:104]
15:27:52.197059 [debug] [Thread-1  ]: Sending event: {'category': 'dbt', 'action': 'run_model', 'label': 'a12e9dcc-a2c3-454e-9895-4723dd460b0d', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x11afe6d00>]}
15:27:52.198863 [error] [Thread-1  ]: 1 of 1 ERROR creating sql incremental model dbt_jyeo.test_struct_inc ........... [ERROR in 5.21s]
15:27:52.200341 [debug] [Thread-1  ]: Finished running node model.my_dbt_project.test_struct_inc
15:27:52.204424 [debug] [MainThread]: Connection 'master' was properly closed.
15:27:52.205337 [debug] [MainThread]: Connection 'model.my_dbt_project.test_struct_inc' was properly closed.
15:27:52.206044 [info ] [MainThread]:
15:27:52.206741 [info ] [MainThread]: Finished running 1 incremental model in 0 hours 1 minutes and 12.34 seconds (72.34s).
15:27:52.207874 [debug] [MainThread]: Command end result
15:27:52.230977 [info ] [MainThread]:
15:27:52.231870 [info ] [MainThread]: Completed with 1 error and 0 warnings:
15:27:52.233508 [info ] [MainThread]:
15:27:52.234545 [error] [MainThread]: Database Error in model test_struct_inc (models/test_struct_inc.sql)
15:27:52.235212 [error] [MainThread]:   Syntax error: Unexpected keyword GROUP at [7:104]
15:27:52.235914 [info ] [MainThread]:
15:27:52.236600 [info ] [MainThread]: Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1
15:27:52.237638 [debug] [MainThread]: Command `dbt run` failed at 15:27:52.237469 after 76.82 seconds
15:27:52.238265 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'end', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10d72fbe0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x111935850>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x11afdbb20>]}
15:27:52.238832 [debug] [MainThread]: Flushing usage events

Environment
- OS: macOS
- Python: 3.9.13
- dbt-core: 1.6.0
- dbt-bigquery: 1.6.4

Additional Context
The debug logs show:
    create or replace table `cse-sandbox-319708`.`dbt_jyeo`.`test_struct_inc`(`some_data` ARRAY<STRUCT<group INT64, v STRING>>)

    partition by timestamp_trunc(_PARTITIONTIME, day)

    OPTIONS()

but we should instead be doing:
    create or replace table `cse-sandbox-319708`.`dbt_jyeo`.`test_struct_inc`(`some_data` ARRAY<STRUCT<`group` INT64, `v` STRING>>)

    partition by timestamp_trunc(_PARTITIONTIME, day)

    OPTIONS()

Quoted both fields "group" and "v" for completeness but just quotes around "group" would have done it.

Couple of other things I looked at or attempted without success:
(A) Setting the quote property - I didn't find a way to actually set that property properly.
(B) Using contracts / data_type:
-- models/schema.yml
version: 2
models:
  - name: test_struct_inc
    config:
      contract:
        enforced: true
    columns:
      - name: some_data
        data_type: ARRAY<STRUCT `group` INT64, v STRING>>

I wrote a quick fix for that problem https://github.com/dbt-labs/dbt-bigquery/pull/919
Hopefully it won't lead to any regression. We could be bit safer using a parameter but I'm not sure it's worth it as I don't know a case where the data type without the quote would pass and the quoted one would fail.

Thanks for raising a PR @github-christophe-oudar !


Update base.css

Improve rendering of hr to add whitespace

The change improves legibility and readability. Merged.


Fix bits type redo

Resurrected #174. Split out Debug Compilers for a separate PR.
This commit fixes a host of minor bugs and adds the appropriate tests to find them. These bug fixes are required in order for the compiler to be rerun after lowering (eg. for transformations that want to operate on low FIRRTL then rerun the compiler).
I wasn't sure before, and I'm definitely not sure now whether or not the constant propogation of pad widths I added to Legalize should be there. This is a linting warning so it's not clear that it is a required "legalization" but the warning it was exercising used to be an error in Verilator so it's probably a good idea to not exercise it. I'm also not sure if it got fixed elsewhere somehow over the last few months but I wouldn't be surprised.

lgtm after style fixes

I modified bitWidth to support ClockType via a new unapply method on GroundType.
Weirdly, this pull request shows two of the commits out of order (possible Github bug?), regardless, they are correct if you look at the actual branch or check out the branch manually.
7f12a07d941bd08749ef350654fe9a324b882a6b is actually before 6c93f5e688554ff3432715d206351d2d84341eed. Kind of funny that there is dependency between them but they are shown here out of order.

PLEASE DO NOT DELETE THIS BRANCH


feat: EIP-1559 support

The PR will make rosetta-geth-sdk support EIP-1559 with the following features:

upgrade geth to activate berlin hard fork
construction API update for EIP-1559
tests update for EIP-1559
implement gas fee formula
expose EIP-1559 params as env var for more complexity

Testing

test for ERC20: https://goerli.basescan.org/tx/0xc0abe8532f1735f8c4d7f6d9ed9bb5c9ad21c11c158fd0d300f639e0b6ac014d
test for ETH: https://goerli.basescan.org/tx/0xc037b2295213f5cc504bf31db056b27285450f35aad4818fbf7e237e95511b9f

Motivation

Solution

Open questions

Review Error for xiaying-peng @ 2023-10-06 21:02:11 UTC
User failed mfa authentication, see go/mfa-help

TODO:

add more comments for formula
add flag to enable/disable EIP-1559

Review Error for xiaying-peng @ 2023-10-10 20:52:25 UTC
User failed mfa authentication, see go/mfa-help


Awesome books classes

Refactore the code
Used scratchy bootstrap to style the awesome books page

@Yordinia check slack for my message


hdf5  version link dead

if [ ! -e hdf5-1.13.0.tar.gz ]; then
version_major_minor=echo "1.13.0" | sed -E 's/\.[0-9]+$//';
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${version_major_minor}/hdf5-1.13.0/src/hdf5-1.13.0.tar.gz;
fi
--2023-01-16 13:36:57--  https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.13/hdf5-1.13.0/src/hdf5-1.13.0.tar.gz
Resolving support.hdfgroup.org (support.hdfgroup.org)... <IP_ADDRESS>
Connecting to support.hdfgroup.org (support.hdfgroup.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-16 13:36:58 ERROR 404: Not Found.

thanks for letting me know, fixed


Custom fee modal has wrong colors in dark mode

The custom fee modal has wrong colors in dark mode make its elements poorly visible.

Verified this issue on dev app v 1.2.18(410)


Build @carbon/ibm-cloud-paks npm module

Acceptance criteria to be defined in Slack

It was discussed on the call with ide-components guild that it might be an idea to have separate releases for patterns

Given that the patterns themselves are individually versioned and changed.
This will help us deal with breaking changes.
We can release patterns into the open source one by one much easier
We could consider a core package which contains some of the smaller more common, or pattern agnostic components. e.g. Buttons,  DataTable

If we ensure that we maintain one shared build pipeline i think the overhead here will be worth it.

@joshblack is there an existing build pipeline for carbon that we can leverage here? Some additional considerations (maybe I just need more clarification here):

I thought I heard that we want to settle on a monthly delivery cadence. If that is true then how do we organize individual versioning?
Are there any documentations on how we should do dogfooding before releasing?
@SimonFinney

@gatfora / @Georgegriff I'd like to understand more about what we mean when we say component and pattern versioning - Are we talking about a component and pattern lifecycle, similar to what IDE does today, or truly individual packages?

At this point it was mostly a suggestion but I think we're talking about individually versions npm packages with one or more components in them, the reason being if we/design have to break a single pattern it's easier to deal with

would it make sense to align any of the versioning? eg if we aligned the major minor versions for monthly release cadence (which introduces new features, new functions, etc) and have teams increment their patch version as needed?
I guess all of this is mostly semantics since it still relies on a build model and tooling that supports individual team build/publish.

@joker23 definitely can share our setup and plans moving forward. Probably the simplest option for the monorepo here is to use Lerna plus a timed GitHub action if you all want to release on a schedule 👀
Lerna can help with versioning/publishing based on conventional commits, it can also help with cutting pre-releases for nightly builds or release candidates.
In general, we follow a time-based release schedule matching the following for a given month:

Nightlies occur daily
Hotfixes are published as-needed on off weeks as patches
Minors are published every other week (~26 releases/year)
Release candidates are published the week of the release and floated to smoke test teams

Looking forward, we're going to start moving towards two types of packages:

Component-specific packages, contain only the relevant component code and docs
Entrypoint packages, combine component packages into a single entrypoint

Separately, let me know if you all want to collaborate on any of the smoke-testing tooling for having teams try-out pre-releases! Our hope is to automate this process further on our end and use it to drive go/no-go decisions on releases or specific features.


thorntail-runner doesn't work behind a proxy

Describe the bug
Timeout exception
To Reproduce
Steps to reproduce the behavior:

Run org.wildfly.swarm.runner.Runner with a custom -Dthorntail.runner.repositories and no other access to the internet.
Wait ~20min
See error

Expected behavior
All request go through the Maven proxy repository defined on thorntail.runner.repositories instead of https://repository.jboss.org/nexus/content/groups/public/ and https://repo.maven.apache.org/maven2/
Desktop (please complete the following information):

OS: Windows
Thorntail-Runner: 2.3.0.Final

Stacktrace(s)
Stacktrace

One, this is about Thorntail v2 and hence belongs to JIRA: https://issues.jboss.org/browse/THORN
Two, the thorntail.runner.repositories system property defines a set of additional repositories, in addition to the built-in set of repositories. If you define repository mirrors in your settings.xml (per https://maven.apache.org/guides/mini/guide-mirror-settings.html), the Runner should respect those settings and use the mirrors.

Thanks for clarification. Link for tractability https://issues.jboss.org/browse/THORN-2278
By the way, in my setup thorntail-runner didn't respect any settings from settings.xml.  From reading the comments on https://issues.jboss.org/browse/THORN-2224 I found this statement from Michał Szynkiewicz:

Runner is build-system agnostic, it doesn't know anything about maven settings.

Hmm, the MavenInitializer class certainly looks like it loads settings.xml, but perhaps I got that wrong.


Complete the mapping from LLVM arch to GCC arch

LLVM uses different values for the -march flag compared to GCC, so we need a mapping between the two.
This issue is about completing this mapping.
https://github.com/rust-lang/rustc_codegen_gcc/blob/7425c560d3e53eb34fbdf8979981566ab8b344d1/src/gcc_util.rs#L201-L206

@antoyo hello mate, can u give more details about this issue?

Done.

Done.

By done do you mean the information you already gave?

Yeah, I added some info.
Feel free to ask any questions if you need more help.

I'm lost searching for info, the architectures for LLVM it seems that are these: https://llvm.org/docs/CompilerWriterInfo.html#abi
I dont know if im wrong, so i have to map all those architectures to something like this: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html because here there is the options for the -march for gcc

I have to run those commands inside of the rustc_codegen_gcc project?

The GCC link seems good, but you'll need to check the Options page for all targets.
For LLVM, it seems you could get the info by running this command to get the list of targets:
llc --version

and then a command like this to get the arches available on a specific target (here mips):
llc -march=mips -mattr=help

(the arches will be at the top)
However, I'm not sure how this mapping will work with regards to -mcpu that must sometimes be used from what I understand.

No, those are commands from LLVM, so it can be anywhere.

As i understand, i have to map LLVM to all these architectures: https://gcc.gnu.org/onlinedocs/gcc/#toc-GCC-Command-Options
Please take a look.

So, when i ran this llc --version
I have this:
Ubuntu LLVM version 14.0.0

  Optimized build.
  Default target: x86_64-pc-linux-gnu
  Host CPU: znver1

  Registered Targets:
    aarch64    - AArch64 (little endian)
    aarch64_32 - AArch64 (little endian ILP32)
    aarch64_be - AArch64 (big endian)
    amdgcn     - AMD GCN GPUs
    arm        - ARM
    arm64      - ARM64 (little endian)
    arm64_32   - ARM64 (little endian ILP32)
    armeb      - ARM (big endian)
    avr        - Atmel AVR Microcontroller
    bpf        - BPF (host endian)
    bpfeb      - BPF (big endian)
    bpfel      - BPF (little endian)
    hexagon    - Hexagon
    lanai      - Lanai
    m68k       - Motorola 68000 family
    mips       - MIPS (32-bit big endian)
    mips64     - MIPS (64-bit big endian)
    mips64el   - MIPS (64-bit little endian)
    mipsel     - MIPS (32-bit little endian)
    msp430     - MSP430 [experimental]
    nvptx      - NVIDIA PTX 32-bit
    nvptx64    - NVIDIA PTX 64-bit
    ppc32      - PowerPC 32
    ppc32le    - PowerPC 32 LE
    ppc64      - PowerPC 64
    ppc64le    - PowerPC 64 LE
    r600       - AMD GPUs HD2XXX-HD6XXX
    riscv32    - 32-bit RISC-V
    riscv64    - 64-bit RISC-V
    sparc      - Sparc
    sparcel    - Sparc LE
    sparcv9    - Sparc V9
    systemz    - SystemZ
    thumb      - Thumb
    thumbeb    - Thumb (big endian)
    ve         - VE
    wasm32     - WebAssembly 32-bit
    wasm64     - WebAssembly 64-bit
    x86        - 32-bit X86: Pentium-Pro and above
    x86-64     - 64-bit X86: EM64T and AMD64
    xcore      - XCore

So, i have to check each of those architectures, using -march=arch. For mips i get this:
llc -march=mips -mattr=help
Available CPUs for this target:

  generic  - Select the generic processor.
  mips1    - Select the mips1 processor.
  mips2    - Select the mips2 processor.
  mips3    - Select the mips3 processor.
  mips32   - Select the mips32 processor.
  mips32r2 - Select the mips32r2 processor.
  mips32r3 - Select the mips32r3 processor.
  mips32r5 - Select the mips32r5 processor.
  mips32r6 - Select the mips32r6 processor.
  mips4    - Select the mips4 processor.
  mips5    - Select the mips5 processor.
  mips64   - Select the mips64 processor.
  mips64r2 - Select the mips64r2 processor.
  mips64r3 - Select the mips64r3 processor.
  mips64r5 - Select the mips64r5 processor.
  mips64r6 - Select the mips64r6 processor.
  octeon   - Select the octeon processor.
  octeon+  - Select the octeon+ processor.
  p5600    - Select the p5600 processor.

And check each of that options to see if they have the same name in gcc architecture. To do something like this:
fn arch_to_gcc(name: &str) -> &str {       match name {           "M68020" => "68020",           "mips1" => "mips1",           "mips2" => "mips2",           "mips3" => "mips3",            _ => name,       }   }
Am i right?

Yeah, except that you don't need the cases if the name is the same, e.g. you can remove "mips1" => "mips1",  "mips2" => "mips2",  "mips3" => "mips3.

For -march=aarch64 there is a64fx. In these options: https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
a64fx is for -mtune. If they are using in GCC something different as -march and it has the same name, i dont have to add it right?

That's a good question. Not sure how (and if) we should handle -mcpu and -mtune.


Inverted button_up() and button_down() signal in the _input() function

Godot version
v4.0.alpha5.official [d7d528c15]
System information
Windows 11, Vulkan Clustered, Intel UHD Graphics 620 v<IP_ADDRESS>1
Issue description
I connect 2 signals, button_up() and button_down(), from the TextureButton node, as shown in the screenshot below:

Then, I print the variable above in the _input() function when the mouse button is downed, as shown in the screenshot below:

However, it seems the result is inverted as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/160972225-a4318224-f576-42a4-81a3-1f906d944fab.mp4
But I check the variable value in the _process() function, the signal is working fine as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/160972507-948d0801-517d-4076-bfd4-0b3710fb71ed.mp4
The event as reported from InputEventMouseButton is also contrary to the result from the signal, as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/160974931-e26d9b13-36ad-40f3-9cba-cacb0a4a8338.mp4
I expect the signal to work correctly in the _input() function.
Steps to reproduce

Open the minimal reproduction project.
Run the project.
Click anywhere on the screen (hold down and release LMB) and see the result in print. The result will be inverted.

Minimal reproduction project
Test.zip

These signals are emitted after _input(). So what happens when you press down the mouse button is:

_input() is called, the last value of the button_down variable is printed, i.e. false.
button_down() signal is emitted, button_down is set to true.

But I don't know what's the point of these input signals if they don't fire at _input() time. For instance, when the user holds down LMB, the button_down() signal would do nothing at all, and the actions/functions set in the button_down() signal will be fired when the user actually released LMB, which is very counterintuitive.

The button_down() signal does fire when the user presses the left mouse button. Add a print statement to your _on_texture_button_down() function to confirm this. As @timothyqiu points out, all you are seeing is that the _input() function is called before the signal is generated and your _on_texture_button_down() function is called. This is by design. See the documentation to understand which order the functions are called.

However, this doesn't happen if you change the TypeCast to InputEventScreenTouch (to test with touch screen) instead of InputEventMouseButton.

The project setting: emulate_mouse_from_touch is enabled by default, so a screen touch will generate an InputEventMouseButton event, call _input(InputEventMouseButton), trigger the signal and call _on_texture_button_down(), and only then call _input(InputEventScreenTouch). Again the only question is the order the functions are called, not whether or not the functions are called.
In summary, this is not a bug. You should either use the button_down signal or the _input(), _gui_input() or _unhandled_input() functions, not both. If you have any further questions, please one of the community forums: https://godotengine.org/community

Close as it's explained in the comment above.
Thanks @madmiraal


Fixes [ISSUE #2377] clean up optimize [shenyu-loadbalancer]

// Describe your PR here; eg. Fixes #issueNo
Fixes #2377
clean up waring code for moudle shenyu-loadbalancer
Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2380 (e60e8ad) into master (0e826ce) will decrease coverage by 0.68%.
The diff coverage is 43.75%.

@@             Coverage Diff              @@
##             master    #2380      +/-   ##
============================================
- Coverage     58.13%   57.44%   -0.69%
+ Complexity     3952     3922      -30
============================================
  Files           629      629
  Lines         18059    18056       -3
  Branches       1695     1688       -7
============================================
- Hits          10498    10373     -125
- Misses         6725     6860     +135
+ Partials        836      823      -13

Impacted Files
Coverage Δ

...henyu/loadbalancer/cache/UpstreamCacheManager.java
0.00% <0.00%> (ø)

...e/shenyu/loadbalancer/cache/UpstreamCheckTask.java
80.32% <0.00%> (ø)

...nyu/loadbalancer/cache/UpstreamWithSelectorId.java
33.33% <0.00%> (ø)

...rg/apache/shenyu/loadbalancer/entity/Upstream.java
39.39% <ø> (ø)

.../shenyu/loadbalancer/spi/AbstractLoadBalancer.java
25.00% <0.00%> (ø)

...he/shenyu/loadbalancer/spi/RandomLoadBalancer.java
75.86% <ø> (ø)

...henyu/loadbalancer/spi/RoundRobinLoadBalancer.java
81.13% <66.66%> (ø)

...ache/shenyu/loadbalancer/spi/HashLoadBalancer.java
82.60% <100.00%> (+0.79%)
:arrow_up:

...apache/shenyu/admin/transfer/MetaDataTransfer.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rg/apache/shenyu/admin/utils/ThreadLocalUtils.java
0.00% <0.00%> (-66.67%)
:arrow_down:

... and 13 more

Continue to review full report at Codecov.

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


format: It would be nice to have discovery APIs for options

What feature or improvement would you like to see?
It would be nice to have discovery APIs for options. For instance, AdbcGetDatabaseOptions would return an Arrow result with the options supported against a database: their name, their type, whether they're valid before and/or after initializing the database and perhaps some kind of documentation.

Closing as duplicate.


Update of Russian translation (commit 48a7216)

Did you also upload this to Weblate?

@akien-mga done.
https://hosted.weblate.org/projects/godot-engine/godot/ru/


Validator readiness

The Chore
We identified data available for this spike https://github.com/vegaprotocol/frontend-monorepo/issues/2991 but need to now decide how we want to use / display it.
Where do we display which validators have voted for the upgrade proposal?
Tasks

[ ] What do we need to do first
[ ] and then what?
[ ] Etc.

Additional details / background info

Agreed with Jon Ray that we have enough now in the network upgrade proposal details page about validator votes that we no longer need this


Link in API docs broken

On the page https://help.seravo.com/api/v1/api_doc there is a link to https://support.helpy.io/api, but that page does not exist. Please remove the link or create the page.

This seems to still be broken...

Can @cr0vy maybe fix this?

Can I work on this?


xdr: update using xdrgen#65

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Update XDR using stellar/xdrgen#65 that improves the encoding cpu and memory usage.
Why
See discussion on stellar/xdrgen#65.

@2opremio I've merged master into this PR, and rerun stellar/xdrgen#65 on the .x files that live in this repo.

@stellar/horizon-committers do we want to include this in next Horizon release. This time we have full week of testing.

I think so - if we can also do fuzzing in parallel to our usual testing this week. @leighmcculloch would you be able to do that?

@ire-and-curses I can't dedicate anymore time to this in the immediate future, nor do I have the expertise the Horizon team does in fuzzing this in the context of Horizon's use cases. If your team can do that, that would be very helpful.

OK, we're going to take care of this. @stellar/horizon-committers whoever is testing next week please merge this into release branch.

I can get this branch updated to target the release branch. Just let me know which branch and when ready. I'll merge the xdrgen change that is still open.

The release branch will be branched off master so if you fix conflicts with master it should be enough. Thanks!

@leighmcculloch I rerun a spurious failing test. Could you rebase again (sorry :S) and merge right after it succeeds?


Try avoid Invoke-Expression in demo format file

It's slow and doesn't let us control local scoping.
Use $global:ExecutionContext.SessionState.InvokeCommand.InvokeScript instead.

Well, Invoke-Expression seems to be the only way that works (with a temporarily modified Write-Host), so, back to Invoke-Expression it goes.


How should I control the position of the extension window in the page?

I don't understand how this works and I would appreciate it if you could help me.
I want the window to be in the middle of the page and have a specific width and height. How should I achieve this?

You can access the window object in the React component code within the content script.


[adding] ww2.sponsorflyr.com/

Sorry, i found another one :D
http://ww2.sponsorflyr.com/

@StevenBlack

This is closed as part of Issue #1353.


[Snyk] Security upgrade node from 18.17.1 to 18.20.4

Snyk has created this PR to fix 3 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

Dockerfile

We recommend upgrading to node:18.20.4, as this image has only 184 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

CVE-2023-44487 SNYK-DEBIAN12-NGHTTP2-5953379
  844

Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
  829

Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
  829

Out-of-bounds Write SNYK-DEBIAN12-LIBWEBP-5893095
  829

Out-of-bounds Write SNYK-DEBIAN12-LIBWEBP-5893095
  829

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

rewieved


Haskell-ghc-mod: ghc-mod failed to launch. It is probably missing or misconfigured. ENOENT

Hello,
I have the same issue as #104.
Tried using the suggested solutions to no avail.
What I've tried:

Installing ghc-mod via Cabal as suggested by Dattaya
Changing both "ghc-mod path" and "additional paths" in the ghc-mod package settings. Added the following: C:\Users\MyUser\AppData\Roaming\cabal\bin, C:\Users\MyUser\AppData\Roaming\cabal\packages\hackage.haskell.org\ghc-mod  and a few more

Seems to be some Admin issues since when I launch the Atom as Admin the issue is gone.
Atom Version: 1.6.2
System: Microsoft Windows 8.1 Pro
Thrown From: haskell-ghc-mod package, v1.12.0
Stack Trace
Haskell-ghc-mod: ghc-mod failed to launch. It is probably missing or misconfigured. ENOENT
At Error: spawn C:\Users\Adam\AppData\Roaming\cabal\bin ENOENT
PATH: C:\Program Files\Haskell\bin;d:\Program Files\Haskell Platform\7.10.3\lib\extralibs\bin;d:\Program Files\Haskell Platform\7.10.3\bin;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MiKTeX 2.9\miktex\bin\;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86;C:\Users\Adam\appdata\local\android\android-sdk\platform-tools;d:\Program Files\Haskell Platform\7.10.3\mingw\bin;D:\program files\Leksah\bin\;C:\Users\Adam\AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\Adam\AppData\Local\Programs\Python\Python35-32\;C:\Users\Adam\AppData\Local\atom\bin
path: C:\Program Files\Haskell\bin;d:\Program Files\Haskell Platform\7.10.3\lib\extralibs\bin;d:\Program Files\Haskell Platform\7.10.3\bin;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MiKTeX 2.9\miktex\bin\;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86;C:\Users\Adam\appdata\local\android\android-sdk\platform-tools;d:\Program Files\Haskell Platform\7.10.3\mingw\bin;D:\program files\Leksah\bin\;C:\Users\Adam\AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\Adam\AppData\Local\Programs\Python\Python35-32\;C:\Users\Adam\AppData\Local\atom\bin
Path: C:\Program Files\Haskell\bin;d:\Program Files\Haskell Platform\7.10.3\lib\extralibs\bin;d:\Program Files\Haskell Platform\7.10.3\bin;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MiKTeX 2.9\miktex\bin\;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86;C:\Users\Adam\appdata\local\android\android-sdk\platform-tools;d:\Program Files\Haskell Platform\7.10.3\mingw\bin;D:\program files\Leksah\bin\;C:\Users\Adam\AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\Adam\AppData\Local\Programs\Python\Python35-32\;C:\Users\Adam\AppData\Local\atom\bin

Error
    at file:///C:/Users/Adam/.atom/packages/haskell-ghc-mod/lib/ghc-mod/ghc-modi-process.coffee:60:28
    at exithandler (child_process.js:222:5)
    at ChildProcess.errorhandler (child_process.js:229:5)
    at emitOne (events.js:77:13)
    at ChildProcess.emit (events.js:169:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:441:9)
    at process._tickCallback (node.js:355:17)

Commands

Config
{
  "core": {
    "closeEmptyWindows": false
  },
  "haskell-ghc-mod": {
    "additionalPathDirectories": [
      "C:\\Users\\Adam\\AppData\\Roaming\\cabal\\bin; C:\\Users\\Adam\\AppData\\Roaming\\cabal\\packages; C:\\Users\\Adam\\AppData\\Roaming\\cabal\\packages\\hackage.haskell.org; C:\\Users\\Adam\\AppData\\Roaming\\cabal\\packages\\hackage.haskell.org\\ghc-mod; C:\\Users\\Adam\\AppData\\Roaming\\cabal\\packages\\hackage.haskell.org\\ghc-mod\\<IP_ADDRESS>; C:\\Users\\Tablet\\AppData\\Roaming\\cabal\\bin; C:\\Users\\Tablet\\AppData\\Roaming\\cabal\\packages; C:\\Users\\Tablet\\AppData\\Roaming\\cabal\\packages\\hackage.haskell.org; C:\\Users\\Tablet\\AppData\\Roaming\\cabal\\packages\\hackage.haskell.org\\ghc-mod; C:\\Users\\Tablet\\AppData\\Roaming\\cabal\\packages\\hackage.haskell.org\\ghc-mod\\<IP_ADDRESS>"
    ],
    "ghcModPath": "C:\\Users\\Adam\\AppData\\Roaming\\cabal\\bin"
  }
}

Installed Packages
# User
autocomplete-haskell, v0.6.5
haskell-ghc-mod, v1.12.0
ide-haskell, v1.6.0
ide-haskell-cabal, v1.2.0
language-haskell, v1.7.10

# Dev
No dev packages

"ghcModPath": "C:\\Users\\Adam\\AppData\\Roaming\\cabal\\bin" should be "ghcModPath": "C:\\Users\\Adam\\AppData\\Roaming\\cabal\\bin\ghc-mod.exe" or something. Or you can leave it as default. Readme explicitly states that this is path to executable itself, not a directory.

I missed that bit in the Readme.
Issue is now solved.
Thank you for the patience.

i get the same error
and i don't get anything of what you have been writing up there. could you help me? i would like to use haskell in atom but it is not working

@MauritiusKlein did you install ghc-mod? Did you accidentally put directory path instead of executable path into 'Ghc Mod Path'? Is your environment setup correctly? If on OSX, try running Atom from terminal. It's all in the readme, either this one or ide-haskell's (sorry about that). Well, some parts are on wiki, but those are linked from readme. Seriously.

How can i check in which path my GHc mod is? i am very new to all of that
Ghc should be installed

Am 11.04.2016 um 19:53 schrieb Nikolay Yakimov<EMAIL_ADDRESS>@MauritiusKlein https://github.com/MauritiusKlein did you install ghc-mod? Did you accidentally put directory path instead of executable path into 'Ghc Mod Path'? Is your environment setup correctly? If on OSX, try running Atom from terminal. It's all in the readme, either this one or ide-haskell's (sorry about that). Well, some parts are on wiki, but those are linked from readme. Seriously.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/134#issuecomment-208473155

Please read https://github.com/atom-haskell/ide-haskell#requirements


Support hardware based keystore, Android

Source: https://source.android.com/security/keystore
Will any of you @JamesSmartCell do some experiment - maybe make a skeleton android app that does nothing but store keys? I'm interested to learn if S10 has support for secp256k1
According to https://source.android.com/reference/hidl/android/hardware/keymaster/4.0/IKeymasterDevice secp256k1 is not a mandatory requirement (expectedly - which security software want to support blockchain anyway)

https://www.ozbargain.com.au/node/446269 -> does Mary have an account as Australia government employee? We can get that 30 % off S10 device.

Not a priority for now


[stable/hlf-ord] Update owners

What this PR does / why we need it:
Update hlf-ord owners
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@nicolapaoli, pre-approving, but @dbandin and @inzamam-iqbal need to be members of the Helm organisation to be added as Owners

/verify-owners


Continuing Work of [PR9127]: improved using existing orderings

Which issue does this PR close?

Closes #8838.
Rationale for this change

What changes are included in this PR?
@Lordworms PR did a great job in solving the issue [#8838]. However, there were some minor issues in that PR

The table and and csv file it refers were not consistent
Substitution couldn't generate more than 1 valid ordering from an existing ordering. See comment

Are these changes tested?
Yes,

Are there any user-facing changes?

Thanks @alamb as always for your detailed review.


Prep CI for publication

Build Collection tarball, prep to publish, and publish.
How many of ^ those steps can we integrate into CI for easy re-publish?
Notes: https://docs.ansible.com/ansible/latest/dev_guide/developing_collections_distributing.html#initial-configuration-of-your-distribution-server-or-servers

NOTE: Practice publishing on a local AAP before the big push.

Where to find Galaxy API Key: https://galaxy.ansible.com/me/preferences?extIdCarryOver=true&sc_cid=701f2000001OH6uAAG

So the actual build and publish steps aren't too hard with gitactions:
https://github.com/nathanweatherly/totally-not-fake-ansible-collection/blob/main/.github/workflows/galaxy-publish.yml
I think we'll want to have multiple actions and a way to trigger those actions in multiple contexts.
For example, we run sanity and unit and publish checks on each PR, but before a publish (as the "publish pipeline"), I figure we'll want to run:

version bump (prestep?)
sanity
unit tests
integration tests (once we have some)
doc update REQUIRED WITH VERSION BUMP

changelog generation?

publication check
actual publish

As i mentioned, those steps aren't all unique to the publishing pipeline, so I need to read up on a way for workflows to share steps.

Question: How to retract stinker publications?


Update ApplicationForm to register apps using configs in Git

What this PR does / why we need it:
This PR makes sure to dispatch the unregistered application selected on the form to save it.
Review points:

The confirmation dialog is now a part of UnregisteredApplicationList, but is it alright?
It uses State to inform the Dialog from Accordion about the selected ApplicationInfo, are there any other simpler ways?

Which issue(s) this PR fixes:
Fixes https://github.com/pipe-cd/pipe/issues/2900
Fixes https://github.com/pipe-cd/pipe/issues/2885
Fixes https://github.com/pipe-cd/pipe/issues/2899
Does this PR introduce a user-facing change?:

Allow you to add a new application using an application config defined in a Git repository

Look great!
/approve


Add perf/stress job(s) to nightly tests.

In Storage (Java) we have bodged "stress test suite" that runs after normal live test run. See example here https://github.com/Azure/azure-sdk-for-java/blob/8e6f50208c518bf7940066caca14a5e413900f69/sdk/storage/tests.yml#L65-L75 .
However this is becoming a problem as we add scenarios. The stress tests run after live tests contribute to overall pipeline run and that contribution isn't trivial (20m as of now).
Therefore, we'd like to request to find a way to parallelize this better. I.e. not wait for usual tests to complete to start stress testing.
Some thoughts:

we'd rather not create separate pipeline for that, we already have ci, weekly and nightly pipelines to look at when we release.
this could be extra job or stage in nightly pipeline (like we do coverage measurement)
we shouldn't run normal tests and stress tests in parallel on the same VM - stress tests are quite memory greedy and will be noisy neighbor.

Discussing with @kasobol-msft I was thinking it might make sense to have a general job template for perf tests that we can include as a separate stage in the archetype-sdk-tests.yml templates more generally.

We do this already.  Done. Done.


Revert "fix(vergesense/mqttt_export): remove root topic (#271)"

This reverts commit 5d9a27031720a22e2792c3049c54773820687da8.

Sorry @w-le , I had a misunderstanding on what the root topic was and looks like we still need it but just that I was using the incorrect value before


Can't save in Trenchbroom after a "Full Build" in Godot 4.1

Since updating Godot from Godot 4.0.3 to Godot 4.1. Whenever I do a "full build" in Godot of my Trenchbroom map, then i go back to trenchbroom to make changes, I'm unable to save.
Trenchbroom comes up saying, "Cannot open file: [Directory to Map"]

For me to save in Trenchbroom again, I need to go back in Godot, reload the project, then I'm able to save again. But if I do a full build, Trenchbroom stops saving again.
Edit:
After looking at issue: (https://github.com/QodotPlugin/Qodot/issues/53#issue-1773327673)
I've managed to fix the issue by going to the Qodot addon > src > core > MapParser.cs:

Then on line 80 of the Script, I added file.Close();

Now the Problem is fixed!

I've opened a PR for this, on my end it seems to be working. Feel free to try it out on yours

Closed by https://github.com/QodotPlugin/Qodot/pull/62#event-9767532667 Thank you @RealPlanet.


feat: add custom start to youtube video

Problem
Most Telugu songs would reveal the title of song in the first few seconds. This makes the game a bit uninteresting to play.
To make the game interesting we need to be able to customize the starting point of the song.
Task
Add custom start (in seconds) for the Youtube react api

#7 takes care of this


How to access to bounding boxes coordinates in multi_hand_tracking

i already print the x,y,z coordinates for every landmarks detected, for every hand.
Now i need even the position for every bounding boxes found in the video.

I have the same question, How did you get the hand coordinates?

@YongLD if you find solutions please let me know here. The same if i will find one

+1

for who is looking for the solution, you can find it at comment #1192


add alpha option to overlay source, default to 1

Fixes #1471

Great suggestion, thanks @emersonveenstra  👍


How to force burger menu always, regardless of browser viewport size?

I have a Jekyll site: https://vadimkantorov.github.io/notionfun/_markdown/france.html with 100 pages .
The body>header>div.wrapper>nav>div.trigger shows the list of all pages, but it's too big when we have 100 pages.

When the viewport is less than 600pix, the list of all pages gets replaced by a burger menu:

How can I force the site to always have the menu collapsed as burger menu style?
Thanks :)

E.g. is it possible to customize the css to replace @media screen and (max-width: 600px) by @media screen and (max-width: 6000px) without forking the theme


Update index.js

Specific for ios device - playsInline flag for showing video stream in given height width constrain instead of full screen live broadcast

playsinline for ios devices


Live

Test PR

Docs Build status updates of commit 4c00801:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Test PR


Replace compactsize serialization with array serialization

Is your feature request related to a problem? Please describe.
In Zebra, we manually serialize and deserialize CompactSizes, then separately serialize the related items.
But this is error-prone.
Describe the solution you'd like
Instead, we should replace:

read_compactsize with zcash_serialize(Vec) or zcash_serialize_bytes
write_compactsize with zcash_deserialize(Vec) or Vec::zcash_deserialize_into

These changes should only be made if the compact size is actually a length prefix.
Describe alternatives you've considered
We could do nothing.

We've done this already as part of address v2 work


Pkgr doesn't create the cron directory if it doesn't exist

Yes, actually it should add a dependency on the cron system package in case it is not installed yet (I believe that's the issue you ran into)

Do you mean that Pkgr itself should add the dependency or that I would need to do that?

For now you need to do it yourself by adding to the dependencies of your project (e.g. cron for ubuntu). But we could add it by default to the default dependencies in case a cron is specified in the .pkgr.yml file (https://github.com/crohr/pkgr/tree/master/data/dependencies)

Just need to check the name of the package on all distros

For now you need to do it yourself

Just checking, because we came to that conclusion a couple of months ago here: https://github.com/crohr/pkgr/pull/122.


SBoM artifact data names do not align with the published ones

What are you trying to do? Download the SBoM for a build and look at it's contents
Expected behaviour: Filenames in the SBoM match the filenames in GitHub
Observed behaviour: To use an example, for the latest nightly at the time of writing the Linux/x64 SBoM  references this within the components section:

OpenJDK17U-jdk_x64_linux_hotspot_2024-01-07-12-05.tar.gz

when the artifact is actually named:

OpenJDK17U-jdk_x64_linux_hotspot_2024-01-08-04-17.tar.gz

This is because we rename the files at publish time to make the names across all platforms consistent. This means we have a discrepancy between the name in the SBoM and the name a user will download.
Any other comments: The SHA256 checksums within the SBoM are still correct.
FYI @andrew-m-leonard @netomi
Ref: https://github.com/adoptium/temurin-build/pull/3529 where the information was added into the SBoM. I'm not immediately sure what the fix is here unless we fix the filename on input to the build (for example from the trigger job). This should  not affect the release builds, only nightlies since I don't believe they get renamed. For this reason it will not be critical to get this fixed prior to next week's release.

It this true also for releases or only for nightly builds?

I would have no clue how to fix that right away. I wonder which timestamp is used for the final nightly artifacts? Is this the timestamp when the release is made in the temurin-binaries repo by running the respective script? If the renaming is used to have a common suffix for all artifacts of a tag, would it not also work if the common suffix would be the starting timestamp of the nightly build, or can such a timestamp not be determined for all e.g. architectures?

I have done a test to verify, and this does NOT affect release builds, as release build artifacts are created with the release tag in the Filename which is what gets published. So the urgency of this issue is not as high.
The Publish job renames any artifact that matches a "Timestamp" in the filename (hence why release artifacts are not renamed), changing the timestamp to the specified nightly build publish job parameter TIMESTAMP value.
@netomi The fix for this is to patch the Timestamp in the SBOM json in the publish job, so probably about here: https://github.com/adoptium/github-release-scripts/blob/4a57826d3821cd0839e95572668c4d750bbe5fc6/sbin/Release.sh#L136
if it is the SBOM file, then patch the SBOM file content using a similar sed command used for the rename, but being a bit more specific to target the archive full name, probably use a version of this regex but with specific timestampRegex within it: https://github.com/adoptium/github-release-scripts/blob/4a57826d3821cd0839e95572668c4d750bbe5fc6/sbin/Release.sh#L44

the sbom file can not be patched as it is signed during the build so the signature would not be valid anymore afterwards, thats why I meant it not clear to me how to fix it as the final name must be known when the sbom is created.

the sbom file can not be patched as it is signed during the build so the signature would not be valid anymore afterwards, thats why I meant it not clear to me how to fix it as the final name must be known when the sbom is created.

ah good point!
I think then we need to re-think why we do the renaming...I think that logic needs removing

The "build time" Filename (which ends up in the SBOM), is determined here for Nightly builds: https://github.com/adoptium/ci-jenkins-pipelines/blob/4453b2cfee872526542a5b0a34c4d073537c3df9/pipelines/build/common/openjdk_build_pipeline.groovy#L1340
This will be the current time on the build machine when each platform build is run...
The upstream build pipeline job then calls the Publish job generating a new current TIMESTAMP parameter value, so that all the artifacts for the published pipeline have the same timestamp in the filename, here: https://github.com/adoptium/ci-jenkins-pipelines/blob/4453b2cfee872526542a5b0a34c4d073537c3df9/pipelines/build/common/build_base_file.groovy#L778
@sxa @smlambert For nightly builds, do we really need to rename the artifact timestamps so they all match ?

For nightly builds, do we really need to rename the artifact timestamps so they all match ?
As we're invalidating the signed SBOM as a consequence...

IMHO it's confusing if they don't match the release name or is inconsistent if I download say, and x64 and aarch64 build so I do think we should have them in sync.

I'm not immediately sure what the fix is here unless we fix the filename on input to the build (for example from the trigger job)

This may be the easiest solution and something we can implement for the triggered builds as a first step, then decide what to do for the ones we're still running on a schedule (Maybe the answer is to have a different trigger job that can pass in a fixed timestamp for the process)

we fix the filename on input to the build (for example from the trigger job)

yes agree, lets fix the timestamp in the pipeline and remove the Publish renaming

The work in https://github.com/adoptium/ci-jenkins-pipelines/issues/902 is expected to fix this.


Add wasm32-unknown-unknown target support

duplicated with https://github.com/datafuselabs/opendal/issues/253


Google cloud speech library

The oauth2client and googleapiclient libraries are deprecated -- this PR switches the recognize_google_cloud method to use the google-cloud-speech library instead, which is recommended.

Fantastic - thanks for the patch!


Bumped up Retrofit to version 2.0.2

Hey, I want contribute to this nice project by creating PR for upgradation of retrofit and relevant code changes ! :)
Thanks :)
Merry Christmas in advance!

Thanks Your changes looks amazing 👍  I'm gonna merge your changes..


[Django] : Bad Gateway: /api/v1/users/me/android_gcm_reg_id

I recently upgraded to 4.8 (from 4.3), and all push notifications have stopped working. Furthermore, I get an error email generated every time a new user on the server opens their mobile app (and now myself after I un-installed/ re-installed the android app):
Logger django.request, from module django.utils.log line 224:
Error generated by  on  deployment
No stack trace available
Deployed code:

git: None
ZULIP_VERSION: 4.8

Request info:

path: /api/v1/users/me/android_gcm_reg_id
POST: {'token': ['']}
REMOTE_ADDR: ""
QUERY_STRING: ""
SERVER_NAME: ""

I tried to follow along this thread on chat.zulip.org, when I checked /etc/supervisor/conf.d/zulip/zulip.conf I found all the http_proxy & https_proxy ref's pointing to localhost:4750 like I think they should?
My /var/log/zulip/errors.log is awash in
[zerver.worker.queue_processors] Maximum retries exceeded for trigger:<#> event:push_notification
errors as well.
output of  curl -v https://push.zulipchat.com/api/v1/remotes/push/notify

Trying <IP_ADDRESS>:443...
TCP_NODELAY set
Trying 2600:1f18:414:db00:f130:d43f:1878:f937:443...
TCP_NODELAY set
Immediate connect fail for 2600:1f18:414:db00:f130:d43f:1878:f937: Network is unreachable
Trying 2600:1f18:414:db32:c096:3d61:f1d6:3095:443...
TCP_NODELAY set
Immediate connect fail for 2600:1f18:414:db32:c096:3d61:f1d6:3095: Network is unreachable
Trying 2600:1f18:414:db64:9784:6315:6a89:6fd2:443...
TCP_NODELAY set
Immediate connect fail for 2600:1f18:414:db64:9784:6315:6a89:6fd2: Network is unreachable
Trying 2600:1f18:414:db80:74f5:e53:5244:eb82:443...
TCP_NODELAY set
Immediate connect fail for 2600:1f18:414:db80:74f5:e53:5244:eb82: Network is unreachable
Trying 2600:1f18:414:db48:1863:18be:abd8:44cc:443...
TCP_NODELAY set
Immediate connect fail for 2600:1f18:414:db48:1863:18be:abd8:44cc: Network is unreachable
Trying 2600:1f18:414:db16:95d3:1b58:47e7:a066:443...
TCP_NODELAY set
Immediate connect fail for 2600:1f18:414:db16:95d3:1b58:47e7:a066: Network is unreachable
Connected to push.zulipchat.com (<IP_ADDRESS>) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
successfully set certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
TLSv1.3 (OUT), TLS handshake, Client hello (1):
TLSv1.3 (IN), TLS handshake, Server hello (2):
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server accepted to use h2
Server certificate:
subject: CN=zulipchat.com
start date: Jan 12 00:00:00 2022 GMT
expire date: Feb 10 23:59:59 2023 GMT
subjectAltName: host "push.zulipchat.com" matched cert's "*.zulipchat.com"
issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
SSL certificate verify ok.
Using HTTP2, server supports multi-use
Connection state changed (HTTP/2 confirmed)
Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
Using Stream ID: 1 (easy handle 0x5589ac80d930)

GET /api/v1/remotes/push/notify HTTP/2
Host: push.zulipchat.com
user-agent: curl/7.68.0
accept: /

Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 405
< date: Thu, 13 Jan 2022 00:07:57 GMT
< content-type: text/html; charset=utf-8
< content-length: 72
< server: nginx/1.18.0 (Ubuntu)
< allow: POST
< expires: Thu, 13 Jan 2022 00:07:57 GMT
< cache-control: max-age=0, no-cache, no-store, must-revalidate, private
< vary: Accept-Language
< content-language: en
< strict-transport-security: max-age=15768000
< x-frame-options: DENY
< access-control-allow-origin: *
< access-control-allow-headers: Authorization
< access-control-allow-methods: GET, POST, DELETE, PUT, PATCH, HEAD
<
Connection #0 to host push.zulipchat.com left intact
{"result":"error","msg":"Method Not Allowed","allowed_methods":["POST"]}

I finally checked the output of supervisorctl status and found that both go-camo and smokescreen were stopped (despite a zulip server restart, maybe a separate issue). When I manually started them, this problem went away.

To close the loop, #20832 will make start-server consistently start those services.


Add API client to the Plugin context

Add an API client object that can be accessed by importing the client.py file and using the api_client object. This api_client object is an instance of a SlackClient that can make API method calls. This allows a user to make Slack API calls while using the RTM bot functionality.
An example is included in doc/example-plugins/print_active_users.py that on loading the bot, will print the active users in the chat by using the Slack API to get all users in the organization and then checking each users presence in the chat.

+1 Good idea, this would be helpful.

+1 Great idea. I need this feature to make direct channels from user ids.

NICE!

Are there any changes that need to be made to get this PR approved?

Are the any updates on this PR?  I would love to see this merged into the master

This repository apparently is without maintenance...

That's a bit of an exaggeration, but it's run by busy people unfortunately. I do my best to keep up with things, but am pretty far behind unfortunately.
I think the goal of this PR is good (making API requests available in the plugins), but the implementation doesn't work with the latest restructuring or the direction I want to take things to make it more modular, so have been working on a refactor to make it doable.

@jammons  I submitted PR #57 which does work with the current restructuring.  Can you take a look and see if it meets your requirements for modularity?


Update Composer dependencies (2022-06-04-00-10)

Visual regression test passed!
View the visual regression test report


[0.9.6-nightly] Show measurements across cluster error

For simplifying reproduce steps, I use a single node but set the force-remote-mapping = true .
There is the config.toml content:
reporting-disabled = false

[meta]
  dir = "/Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/.one/meta"
  hostname = "<IP_ADDRESS>"
  bind-address = ":8088"
  retention-autocreate = true
  election-timeout = "1s"
  heartbeat-timeout = "1s"
  leader-lease-timeout = "500ms"
  commit-timeout = "50ms"
  cluster-tracing = true
  raft-promotion-enabled = true

[data]
  dir = "/Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/.one/data"
  engine = "bz1"
  max-wal-size = 104857600
  wal-flush-interval = "10m0s"
  wal-partition-flush-delay = "2s"
  wal-dir = "/Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/.one/wal"
  wal-logging-enabled = true
  wal-ready-series-size = 30720
  wal-compaction-threshold = 0.5
  wal-max-series-size = 1048576
  wal-flush-cold-interval = "5s"
  wal-partition-size-threshold = 52428800
  wal-flush-memory-size-threshold = 5242880
  wal-max-memory-size-threshold = 104857600
  index-compaction-age =<PHONE_NUMBER>0
  index-min-compaction-interval =<PHONE_NUMBER>0
  index-compaction-min-file-count = 5
  index-compaction-full-age =<PHONE_NUMBER>00
  query-log-enabled = true

[cluster]
  force-remote-mapping = true
  write-timeout = "5s"
  shard-writer-timeout = "5s"
  shard-mapper-timeout = "5s"

[retention]
  enabled = true
  check-interval = "30m0s"

[registration]
  enabled = true
  url = "https://enterprise.influxdata.com"
  token = ""
  stats-interval = "1m0s"

[shard-precreation]
  enabled = true
  check-interval = "10m0s"
  advance-period = "30m0s"

[admin]
  enabled = true
  bind-address = ":8083"
  https-enabled = false
  https-certificate = "/etc/ssl/influxdb.pem"

[monitor]
  store-enabled = false
  store-database = "_internal"
  store-interval = "10s"

[subscriber]
  enabled = true

[http]
  enabled = true
  bind-address = ":8086"
  auth-enabled = false
  log-enabled = true
  write-tracing = false
  pprof-enabled = false
  https-enabled = false
  https-certificate = "/etc/ssl/influxdb.pem"

[collectd]
  enabled = false
  bind-address = ":25826"
  database = "collectd"
  retention-policy = ""
  batch-size = 5000
  batch-pending = 10
  batch-timeout = "10s"
  read-buffer = 0
  typesdb = "/usr/share/collectd/types.db"

[opentsdb]
  enabled = false
  bind-address = ":4242"
  database = "opentsdb"
  retention-policy = ""
  consistency-level = "one"
  tls-enabled = false
  certificate = "/etc/ssl/influxdb.pem"
  batch-size = 1000
  batch-pending = 5
  batch-timeout = "1s"
  log-point-errors = true

[continuous_queries]
  log-enabled = true
  enabled = true
  recompute-previous-n = 2
  recompute-no-older-than = "10m0s"
  compute-runs-per-interval = 10
  compute-no-more-than = "2m0s"

[hinted-handoff]
  enabled = true
  dir = "/Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/.one/hh"
  max-size =<PHONE_NUMBER>
  max-age = "168h0m0s"
  retry-rate-limit = 0
  retry-interval = "1s"
  retry-max-interval = "1m0s"
  purge-interval = "1h0m0s"

[snapshot]
  enabled = true

There is the reproduce step
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 0.9
InfluxDB shell 0.9
> create database foo
> use foo
Using database foo
> insert cpu,host=serverA value=10
> show measurements
ERR: write message type: use of closed network connection
>

The InfluxDB log as following:

 8888888           .d888<PHONE_NUMBER>b.  888888b.
   888            d88P"  888                   888  "Y88b 888  "88b
   888            888    888                   888    888 888  .88P
   888   88888b.  888888 888 888  888 888  888<PHONE_NUMBER>888K.
   888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
   888   888  888 888    888 888  888   X88K   888    888 888    888
   888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
 8888888 888  888 888    888  "Y88888<PHONE_NUMBER>888P"  8888888P"

2015/11/30 10:32:11 InfluxDB starting, version 0.9, branch unknown, commit unknown, built unknown
2015/11/30 10:32:11 Go version go1.4.3, GOMAXPROCS set to 4
2015/11/30 10:32:11 Using configuration at: /Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/one.toml
[metastore] 2015/11/30 10:32:11 Using data dir: /Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/.one/meta
[metastore] 2015/11/30 10:32:11 Node at <IP_ADDRESS>:8088 [Follower]
[metastore] 2015/11/30 10:32:11 [INFO] raft: Node at <IP_ADDRESS>:8088 [Follower] entering Follower state
[metastore] 2015/11/30 10:32:13 [WARN] raft: Heartbeat timeout reached, starting election
[metastore] 2015/11/30 10:32:13 [INFO] raft: Node at <IP_ADDRESS>:8088 [Candidate] entering Candidate state
[metastore] 2015/11/30 10:32:13 [DEBUG] raft: Votes needed: 1
[metastore] 2015/11/30 10:32:13 [DEBUG] raft: Vote granted. Tally: 1
[metastore] 2015/11/30 10:32:13 [INFO] raft: Election won. Tally: 1
[metastore] 2015/11/30 10:32:13 [INFO] raft: Node at <IP_ADDRESS>:8088 [Leader] entering Leader state
[metastore] 2015/11/30 10:32:13 Node at <IP_ADDRESS>:8088 [Leader]. peers=[]
[metastore] 2015/11/30 10:32:13 [DEBUG] raft: Node <IP_ADDRESS>:8088 updated peer set (2): [<IP_ADDRESS>:8088]
[metastore] 2015/11/30 10:32:13 Created local node: id=1, host=<IP_ADDRESS>:8088
[metastore] 2015/11/30 10:32:13 spun up monitoring for 1
[store] 2015/11/30 10:32:13 Using data dir: /Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/.one/data
[handoff] 2015/11/30 10:32:13 Starting hinted handoff service
[monitor] 2015/11/30 10:32:13 'hh' registered for diagnostics monitoring
[handoff] 2015/11/30 10:32:13 Using data dir: /Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/.one/hh
[subscriber] 2015/11/30 10:32:13 opened service
[monitor] 2015/11/30 10:32:13 Starting monitor system
[monitor] 2015/11/30 10:32:13 'build' registered for diagnostics monitoring
[monitor] 2015/11/30 10:32:13 'runtime' registered for diagnostics monitoring
[monitor] 2015/11/30 10:32:13 'network' registered for diagnostics monitoring
[monitor] 2015/11/30 10:32:13 'system' registered for diagnostics monitoring
[cluster] 2015/11/30 10:32:13 Starting cluster service
[shard-precreation] 2015/11/30 10:32:13 Starting precreation service with check interval of 10m0s, advance period of 30m0s
[registration] 2015/11/30 10:32:13 Starting registration service
[monitor] 2015/11/30 10:32:13 'registration' registered for diagnostics monitoring
[snapshot] 2015/11/30 10:32:13 Starting snapshot service
[copier] 2015/11/30 10:32:13 Starting copier service
[admin] 2015/11/30 10:32:13 Starting admin service
[admin] 2015/11/30 10:32:13 Listening on HTTP: [::]:8083
[continuous_querier] 2015/11/30 10:32:13 Starting continuous query service
[httpd] 2015/11/30 10:32:13 Starting HTTP service
[httpd] 2015/11/30 10:32:13 Authentication enabled: false
[httpd] 2015/11/30 10:32:13 Listening on HTTP: [::]:8086
[retention] 2015/11/30 10:32:13 Starting retention policy enforcement service with check interval of 30m0s
[run] 2015/11/30 10:32:13 Listening for signals
2015/11/30 10:32:13 Sending anonymous usage statistics to m.influxdb.com
[query] 2015/11/30 10:32:14 CREATE DATABASE foo
[metastore] 2015/11/30 10:32:14 database 'foo' created
[metastore] 2015/11/30 10:32:14 retention policy 'default' for database 'foo' created
[http] 2015/11/30 10:32:14 <IP_ADDRESS> - - [30/Nov/2015:10:32:14 +0800] GET /query?db=&epoch=ns&q=create+database+foo HTTP/1.1 200 40 - InfluxDBShell/0.9 911f5cb1-970a-11e5-8001-000000000000 5.167644ms
[wal] 2015/11/30 10:32:29 WAL starting with 30720 ready series size, 0.50 compaction threshold, and 52428800 partition size threshold
[wal] 2015/11/30 10:32:29 WAL writing to /Users/Leon/goproject/src/github.com/li-ang/influxdb_test/cluster/.one/wal/foo/default/1
[http] 2015/11/30 10:32:29 <IP_ADDRESS> - - [30/Nov/2015:10:32:29 +0800] POST /write?consistency=any&db=foo&precision=n&rp= HTTP/1.1 204 0 - InfluxDBShell/0.9 9a353314-970a-11e5-8002-000000000000 4.719373ms
[query] 2015/11/30 10:32:33 SHOW MEASUREMENTS
[cluster] 2015/11/30 10:32:33 accept remote connection from <IP_ADDRESS>:64624
[cluster] 2015/11/30 10:32:33 close remote connection from <IP_ADDRESS>:64624
[http] 2015/11/30 10:32:33 <IP_ADDRESS> - - [30/Nov/2015:10:32:33 +0800] GET /query?db=foo&epoch=ns&q=show+measurements HTTP/1.1 200 94 - InfluxDBShell/0.9 9c93cbcc-970a-11e5-8003-000000000000 3.005925ms
[wal] 2015/11/30 10:32:34 Flush due to idle. Flushing 1 series with 1 points and 17 bytes from partition 1
[wal] 2015/11/30 10:32:34 write to index of partition 1 took 1.518338ms

cc @corylanou @dgnorton

Fixed by https://github.com/influxdb/influxdb/pull/4927


[cherry-pick] fix propagation of mask creator objects in PT pruning modifier (#220)

fixes bug that defaults pytorch mask creators to be 'unstructured' in certain training flows

Can we also add a test for it so we can verify things are working?

@dhuangnm the test file is updated in this PR to check that the correct mask creator is set

@dhuangnm the test file is updated in this PR to check that the correct mask creator is set

oh ok, cool thanks.

Can we update the version.py to 0.3.1 for the cherry-pick?


Security fix for VM2

VM2 sandbox escape: GHSA-7jxr-cg7f-gpgv

Thanks!! Are you trying out Datastores? Or just got the critical warning?


should be TeracyDev::Config::Manager instead of TeracyDev::Processors::Manager

https://github.com/teracyhq/dev/blob/fafdef06cefc319457b1e0d92036cfdc33a98c27/lib/teracy-dev/config/manager.rb#L11

fixed in #497 , and I created PR #512 !

@hieptranquoc please creat separated PR for each issue

fixed in #497


Checkboxes doesn't check

At first I want to say thank you for creating this repo, so we don't have to wait for the official strapi plugin :)
Everything seems to work fine but when I want to check the different collection types, the checkbox doesn't work.

If I click the checkbox once, it works (even without the checked icon) but I'm not able to uncheck the checkbox.
Edit:
If I run yarn develop --watch-admin checkboxes are working on http://localhost:8000/admin/
Edit2:
For some reason the response of http://localhost:1337/admin-accesses?role=author is an empty default strapi backend page (no content, only left sidebar) and when I'm using yarn develop --watch-admin the response is a correct json response.
Am I doing something wrong?

I've found a workaround:
Just go to your <project>/config/server.js and change the admin url like so:
module.exports = ({env}) => ({
	host: env('HOST', '<IP_ADDRESS>'),
	port: env.int('PORT', 1337),
	admin: {
		url: '/settings'
	}
});

Hello @creazy231,
Sorry for the late reply, wasn't available the past few days.
Thank you for submitting the issue, I will look it up asap!

@creazy231 the thing is that I tested the plugin on a Strapi instance where I have the following:
module.exports = ({ env }) => ({
  host: env('HOST', '<IP_ADDRESS>'),
  port: env.int('PORT', 1337),
  admin: {
    url: '/dashboard'
  }
});

As you notice any url that is not /admin (which is the default path for Strapi dashboard) works fine.
Because Strapi check for similar paths and redirects http://localhost:1337/admin-accesses?role=author to http://localhost:1337/admin as it has similar prefix.
A fix for this could be changing the url to /dashboard.

Just pushed the recommended <project>/config/server.js admin url


[bug] Potential stack overflow on EventLoop.poll()

Here, when the channel successfully sends the records, the poll() function gets called and the current frame stuck in the stack.
Therefore, the stack will keep growing infinitely if the channel kept successfully sending the records
https://github.com/nomisRev/kotlin-kafka/blob/9d7604f1a1d148b14578ae10979a02242a09ed64/src/main/kotlin/io/github/nomisRev/kafka/receiver/internals/EventLoop.kt#L124
https://github.com/nomisRev/kotlin-kafka/blob/9d7604f1a1d148b14578ae10979a02242a09ed64/src/main/kotlin/io/github/nomisRev/kafka/receiver/internals/EventLoop.kt#L173

Hey @lsafer-meemer,
Thank you or the bug report, and your interest in the project! Is there a reproducible snippet? We're missing quite some tests, complex scenarios are not always easy to write..
This should be testable by configuring a very low max.poll.size, and probably low poll time, to pull 20_000 records 1 by 1, successfully. A stack unsafe method should result in StackOverflow after 20_000 recursions, but we can also test 200_000 to be sure.
I'd love a contribution for this if you're interested 🙏

Sorry, I actually don't know how the project works 😥
I just found it when I was randomly exploring and thought it was an issue 😬


add geocolormesh

Addresses #880 (partially): Automatically create a cartopy GeoAxis for easier plotting of map data. Works for single plots and for FacetGrids. If a normal pyplot axes is passed, defaults to pcolormesh.
Example:
import xarray as xr
t = xr.tutorial.load_dataset('air_temperature')

# simple plot
t.isel(time=0).air.plot.geocolormesh()
plt.show()

# facet grid, no coastlines
f = t.isel(time=slice(0, 3)).air.plot.geocolormesh(col='time', coastlines=False)

# higher resolution coastlines
for ax in f.axes.flatten():
    ax.coastlines(resolution='50m')

plt.show()

import matplotlib.pyplot as plt

# if a matplotlib axis is passed, defaults to pcolormesh
ax = plt.axes()
t.isel(time=0).air.plot.geocolormesh(ax=ax)
plt.show()

These are the plots from above.

I was trying to avoid getting too much geo-specific functionality in xarray, but this does nicely extend the existing plotting methods, so I think this is a reasonable addition. Anyone else have opinions on this one?

@shoyer maybe just a name change then?  cartopy obviously is inherently geo-specific.  Is it possible that other fields would find the utilities in geocolormesh useful?  Or could the geocolormesh functionality be refactored into the existing plotting framework?  (Just thinking out loud...not familiar with the plotting codebase at all)

I also agree that this is a not to intrusive and useful "geo-specific" addition. Without looking at the implementation, I also wonder if it would be possible to add the same functionality to the existing framework without adding a specific function? The background is that there are other ways than pcolormesh to plot on a map (see also https://github.com/pydata/xarray/issues/657)

I'm pretty sure it's possible to add cartopy axes to a FacetGrid using the subplot_kwds argument already. Unfortunately, I don't have any examples handy since I wrote that code at my last job.
What this code does is add the projection=ccrs.PlateCarree() automatically, along with a few other geo specific niceties. I made that suggestion for cartopy itself (https://github.com/SciTools/cartopy/issues/645) but it hasn't been acted on yet.
I agree that this is a good fit for xarray because the plotting API is difficult to extend externally. One nice way to present this to users could be to make a geoplot accessor that works like the current plot accessor but adds these geo specific options. Then you could write, e.g., data.geoplot.pcolormesh().

Yes is is possible to say subplot_kws=dict(projection=ccrs.PlateCaree(). For a single plot it is not possible to specify the projection (as ax=plt.gca()) in the current implementation. Thus one has to create and pass a geoaxes explicitly.
I like the idea of doing data.geoplot.pcolormesh()

We could keep the standard name of the plotting function without the need to make up our own.
It is possibly easier to extend it to contour and contourf.
We can possibly offer more control over specific cartopy features (although adding coasts is possibly the one thing that we will be able to agree on).

Some questions:

Would it also offer data.geoplot.line ect.? There is no point but this would be consistent might be asked for.
We would need to think hard about how to extend the current implementation without needing to duplicate it.

We would need to think hard about how to extend the current implementation without needing to duplicate it.

Do you think it would be enough to expose the @_plot2d decorator?

What may be possible: extend @_plot2d with a projection=None and a transform=None keyword (and the handling thereof)*. In geoplot we import @_plot2d set the defaults to projection=ccrs.PlateCaree() and transform=ccrs.PlateCaree(), possibly intercept coastlines from kwargs. I don't know if it is possible to update the defaults without explicitly re-writing the call signature of the function (which may change (but this could possibly be tested)).
* This may conflict with the current ax = plt.gca().


[Vanguard] Fetch series data

Updates relatedArticles query (used to fetch series sub-articles) to fetch recursive relatedArticles. Finishes https://artsyproduct.atlassian.net/browse/GROW-1425

Warnings

:warning:
The staging version of Metaphysics has breaking changes, this might not affect your build, but could mean your queries don't work the way you expect. See below for breaking changes:

:warning: Field 'CommerceLineItem.createdAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceLineItem.updatedAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceFulfillment.createdAt' changed type from 'CommerceDateTime!' to 'String!'
:warning: Field 'CommerceFulfillment.estimatedDelivery' changed type from 'CommerceDate' to 'String'
:warning: Field 'CommerceFulfillment.updatedAt' changed type from 'CommerceDateTime!' to 'String!'

  Generated by :no_entry_sign: dangerJS against 4203f363f1271f5382a92c91800a28db21bf9cf4

Added a follow up ticket here relating to separating concerns in queries - https://artsyproduct.atlassian.net/browse/GROW-1456


Analysis considers Dict[A,B]==Dict[C,D] for any ABCD

This leads to improper handling of analysis sets.
For example, when analysis set contains Dict[str,object], and Dict[int,object] is to be added, it is simply ignored, because it is considered to be in the set already.

Same as https://github.com/microsoft/python-language-server/issues/402


Support @BatchProperty of type Enum

Given a job property defined as an enum named BatchMode
@BatchProperty(name = "batchMode") BatchMode batchMode

I get an injection error
Caused by: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: jakarta.enterprise.inject.spi.DeploymentException: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type com.mycompany.myapp.batch.BatchMode and qualifiers [@BatchProperty(name = "batchMode")]
	- java member: com.mycompany.myapp.batch.user.UserDqlReader():batchMode
	- declared on CLASS bean [types=[jakarta.batch.api.chunk.ItemReader, com.mycompany.myapp.batch.DqlItemReader<com.mycompany.myapp.model.User>, jakarta.batch.api.chunk.AbstractItemReader, com.mycompany.myapp.batch.user.UserDqlReader, java.lang.Object], qualifiers=[@Default, @Any, @Named("UserDqlReader")], target=com.mycompany.myapp.batch.user.UserDqlReader]
	at io.quarkus.arc.processor.BeanDeployment.procerrors(BeanDeployment.java:1435)
	at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:310)
	at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:155)
	at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.java:469)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)
	at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at java.base/java.lang.Thread.run(Thread.java:833)
	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type com.mycompany.myapp.batch.BatchMode and qualifiers [@BatchProperty(name = "batchMode")]
	- java member: com.mycompany.myapp.batch.user.UserDqlReader():batchMode
	- declared on CLASS bean [types=[jakarta.batch.api.chunk.ItemReader, com.mycompany.myapp.batch.DqlItemReader<com.mycompany.myapp.model.User>, jakarta.batch.api.chunk.AbstractItemReader, com.mycompany.myapp.batch.user.UserDqlReader, java.lang.Object], qualifiers=[@Default, @Any, @Named("UserDqlReader")], target=com.mycompany.myapp.batch.user.UserDqlReader]
	at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:477)
	at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:624)
	at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:298)
	... 13 more

Even if it's not described in the Jakarta Batch 2.1 Spec, there is a ValueConverter in JBeret which should be able to do the String to Enum conversion:
https://github.com/jberet/jsr352/blob/main/jberet-core/src/main/java/org/jberet/creation/ValueConverter.java

I think this has to be a Jberet job: https://github.com/jberet/jsr352/blob/main/jberet-core/src/main/java/org/jberet/creation/BatchBeanProducer.java is missing Enum injection

@luca-bassoricci do you mean it could be as simple as adding a method:
    @Produces @BatchProperty
    public Enum getEnum(final InjectionPoint injectionPoint) {
        return getProperty(injectionPoint, Enum.class);
    }

Yes, this is not an issue with this extension directly, but a missing thing in JBeret.
I'm not sure if a simple Enum producer is enough. I don't think CDI can match java.lang.Enum to a specific enum type. Most likely, this requires a BeanProducer.

Should be a way collecting all inject enum annotated with @BatchProperty during build phase and create a synthetic EnumBeanProducer with a specific producer for every collected enum types?

Correct, but shouldn't this be fixed directly in JBeret?

Absolutely; I thought adding enum support as a contribute to jberet, but my competencies in CDI are so scarce but - for now - I drop the idea.

https://github.com/jberet/jsr352/issues/548


VideoCapture not working.

Thanks for providing a viable solution to us.
I was using cv2.VideoCapture(SourcePath) to parse the video using opencv.
But after installing opencv using provided solution, I am unable to run the video using cv2.VideoCapture.
After googling for some time, I get to know that the FFMPEG file is missing from the package.
Is their any solution for parsing video in lambda function.
Regards
Ajay

Looking at the output from cmake would suggest that the video module is available but due to the lack of ffmpeg on amazon linux you would have to build it some other way.
the output from cmake looks like this
--   Video I/O:
--     DC1394 1.x:                  NO
--     DC1394 2.x:                  NO
--     FFMPEG:                      NO
--       avcodec:                   NO
--       avformat:                  NO
--       avutil:                    NO
--       swscale:                   NO
--       avresample:                NO
--     GStreamer:                   NO
--     OpenNI:                      NO
--     OpenNI PrimeSensor Modules:  NO
--     OpenNI2:                     NO
--     PvAPI:                       NO
--     GigEVisionSDK:               NO
--     Aravis SDK:                  NO
--     UniCap:                      NO
--     UniCap ucil:                 NO
--     V4L/V4L2:                    NO/YES
--     XIMEA:                       NO
--     Xine:                        NO
--     gPhoto2:                     NO

As you can see V4L is there (Video for Linux) so Video will work but its unlikely your codec will be supported without FFMpeg
You will need to fetch the source of FFMpeg, build it, then point the opencv cmake to it to get opencv to link against it.  Finally then you would need to include the built FFMpeg libs in the cv2 directory of the lambda package.
I'll give it a go and submit a patch if I get it working

I have the same problem and would appreciate if you could share the solution. How to install and link ffmpeg to opencv for use in AWS Linux (lambda)?

@p0wdrdotcom is right. (thanks for your detailed answer)
To get VideoCapture working you'll have to build, link and include all the needed dependencies into your module package.
I don't have any time to work on this for the moment but if someone send me a pull request I'll merge the change with the main repo.


Missing neo4j docker image version 4.3.20

Neo4j 4.3.20 was released 4 days ago:
https://neo4j.com/release-notes/database/neo4j-4-3-20/
But docker tag wasn't pushed to DockerHub:
https://hub.docker.com/_/neo4j/tags

I tend to group releases together if I know a few are coming out at the same time, to reduce noise for our friends in the docker repository.
I've requested a new dockerhub release for 4.3.20 and 4.4.13 here:
https://github.com/docker-library/official-images/pull/13487

Thanks!

Hi,
Looks like the new tags uploaded yesterday are still discovered as vulnerable to Text4Shell -
https://hub.docker.com/_/neo4j/tags
Any idea why? The release notes mentioned update common-text version 1.9 to 1.10 to solve this CVE.

Hello! Yes, it is because it contains apos neo4j plugin, that use commons-text version 1.9, not 1.10. Developers od apos plugin still approving PR for remake import commons-text lib only on neo4j runtime; docker images neo4j must including new version of neo4j-apos 4.0.9, not 4.0.8 (at it is now)


Is there a way to get the static website URL by Node.js?

I'd like to get the website URL by Node.js, is there a way to get it?

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

ID: 0d693507-4b62-07d9-a708-d26d62d990ac
Version Independent ID: 6c7f4c32-69da-3929-dbf2-1591d667f979
Content: Host a static website in Azure Storage
Content Source: articles/storage/blobs/storage-blob-static-website-how-to.md
Service: storage
Sub-service: blobs
GitHub Login: @normesta
Microsoft Alias: normesta

@v-etzha Thanks for your question. We are checking on this and will respond to you soon.

@normalian Please add your comments here

Thanks a lot for looking into this question! I've got the web url by the getProperties() method https://docs.microsoft.com/en-us/javascript/api/azure-arm-storage/storageaccounts?view=azure-node-latest#getproperties-string--string--object- and then the primartEndpoints are listed in the properties. So close this issue.


feat: add example using Sentry V2 SDK

What was changed

Added a new example to set up Sentry using the V2 SDK.
Why?

After recently trying to set up Sentry, the existing example that uses Sentry's V1 SDK doesn't work for me. The issue seems to be related to the warnings and threading modules that Sentry uses not being appropriately included in the Temporal Workflow's sandbox. This results in the Workflow execution failing to start in the worker that handles the Workflow. I don't see any issues with the Sentry interceptor on other workers that only handle activities, so it seems the problem is related to the Workflow sandbox.
Note: I also tried disabling the worker's sandbox, which seemed to get further. The workflow is able to start and eventually finish, but you get a sporadic error in the workflow's event history.
The solution is to migrate the interceptor to use V2 of Sentry's SDK, where the Hub object is now deprecated in favour of using scopes. Using the scope context manager doesn't seem to have the same issues with the warnings and threading libs (which it still uses).
I've created a new example to keep the V1 example in place, since V2 only works with Python 3.6 or above.
Checklist

Closes

https://temporalio.slack.com/archives/CTT84RS0P/p1725394300914329

How was this tested:

Tested manually in my application using Sentry.io

Any docs updates needed?

Added a new example with a README explaining the reasons/difference between the original example and the v2 example.

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

Uh oh, v3? Ok, I guess we will cross that bridge when we get there. Otherwise, I think this looks good. And the purpose is to serve as a sample, so users can adapt it as they need for their version of tooling.

Hey @cretz, do you want me to rebase the PR?

@gregbrowndev - I can, no problem. Looks like just the CLA needs to be signed (see link above pointing to https://cla-assistant.io/temporalio/samples-python?pullRequest=140).


Fix rtic version typo in readme

:facepalm: I missed this, please resolve the conflicts :D

Sorry it took a couple of attempts, it's surprisingly hard to deal with merges when what you're merging looks like a diff