Row mismatched output for certain columns while the values are the same

Hi,
I wrote tests for a model where the query looks something like
with

cte1 as (
  select
   column1,
   column2,
   column3
  from
   table1
  where
   column4 in (...)
),

cte2 as (
  select
   column1,
   column2,
   column3
  from
   table2
  where
   column4 not in (...)
)

select * from cte1
union
select * from cte2

but the result of the test fails... the output looks something like:
ERROR: Rows mismatch:
| diff | count | column1.   | column2*             | column3* |
| +    |     1 | 'a string' | 2020-01-01 00:00:00  | True     |
| -    |     1 | 'a string' | 2020-01-01 00:00:00  | True     |
| +    |     1 | 'b string' | 2020-02-01 00:00:00  | True     |
| -    |     1 | 'b string' | 2020-02-01 00:00:00  | True     |

all column names with * shows up red, but the values are the same which leaves me wondering why are these rows red and what is the error? I'm not sure how to debug 😞
Any idea here? I've thought that maybe the types doesn't correspond which would explain that output but it's not the case 😞

Hu @estherguer, could you please paste the test code giving these results here? It would help us a lot to figure out what's happening

I can't exactly paste the test code but it looks like this:
{{ config(tags=['unit-test']) }}

{% set VARIABLE = 'a certain value' %}
{% set EXPECTED_DATE = '2020-01-01' %}

{% call dbt_unit_testing.test ('model_name','Test Default Case', {"output_sort_field": "column1"}) %}
  {% call dbt_unit_testing.mock_ref ('stg_model') %}
    select
      '{{ VARIABLE }}' as a_column,
      ...
  {% endcall %}

  {% call dbt_unit_testing.expect() %}
    select
      'a string' as column1,
      to_timestamp('{{ EXPECTED_DATE }}') as column2,
      true as column3
    union
    select
      'b string' as column1,
      add_months(to_timestamp('{{ EXPECTED_DATE }}'), 1) as column2,
      true as column3
    {% endcall %}
{% endcall %}

I am unable to recreate my issue with a really simple test case that I could paste here for now (still working on it), but if there's any ideas with the added context in the comment above of why it could behave this way let me know 🙏

It would also help us if you could run your dbt test command with this in the end: --vars "verbose: True", and paste here the final SQL output, if possible

I was able to recreate an example! I realized that the problem comes with handling rows with NULL values specified in the expected test cases. Seems like if you use {% set options = {"include_missing_columns": true} %} and you remove all rows where the expected value should be NULL, that's when it will work (the test will pass). Otherwise, by explicitly specifying it and removing the options variable, it will give a row mismatch even if the values are the same. I don't know if that's an expected behaviour or not... I thought that it should've worked regardless but let me know if that's expected!
Here's the my_first_model_model.sql
{{ config(materialized='table') }}

with source_data as (
    select * from {{ ref('stg_my_first_dbt_model') }}
),

stg_2 as (
    select * from {{ ref('stg_2') }}
),

cte1 as (
    select title, valid_from, is_current, 'state' as state, null_row
    from source_data
    where is_cool_row
),

joined_data as (
    select * from source_data cross join stg_2
    where is_awesome_row
),

cte2 as (
    select title, valid_from, is_current, state, null_row
    from joined_data
    where state = 'state1'
)

select * from cte1
union
select * from cte2

Here's stg_my_first_dbt_model:
with

fake_data as (
    select
        'a string' as title,
        to_timestamp('2020-01-01') as valid_from,
        to_timestamp('2020-02-01') as valid_to,
        false as is_current,
        true as is_awesome_row,
        false as is_cool_row,
        NULL as null_row
    union
    select
        'a string' as title,
        to_timestamp('2020-02-01') as valid_from,
        {{ max_timestamp() }},
        true as is_current,
        true as is_awesome_row,
        false as is_cool_row,
        NULL as null_row
    union
    select
        'b string' as title,
        to_timestamp('2020-02-01') as valid_from,
        {{ max_timestamp() }},
        true as is_current,
        false as is_awesome_row,
        true as is_cool_row,
        NULL as null_row
)

select * from fake_data

Here's stg_2.sql:
with

states as (
    select * from (
        values
            ('state1'),
            ('state2'),
            ('state3'),
            ('state4'),
            ('state5'),
            ('state6')
    ) as d (state)
)

select * from states

and here's the test case file test_my_first_dbt_model.sql that will make the test pass:
{{ config(tags=['unit-test']) }}

{% set BASE_DATE = '2020-01-01' %}
{% set options = {"include_missing_columns": true} %}

{% call dbt_unit_testing.test ('my_first_dbt_model','Test Default Case', {"output_sort_field": "title, valid_from"}) %}
    {% call dbt_unit_testing.mock_ref ('stg_my_first_dbt_model') %}
        select
            'a string' as title,
            to_timestamp('{{ BASE_DATE }}') as valid_from,
            add_months(to_timestamp('{{ BASE_DATE }}'), 1) as valid_to,
            false as is_current,
            true as is_awesome_row,
            false as is_cool_row,
            NULL as null_row
        union
        select
            'b string' as title,
            add_months(to_timestamp('{{ BASE_DATE }}'), 1) as valid_from,
            to_timestamp('9999-12-31 23:59:59.999999'),
            true as is_current,
            false as is_awesome_row,
            true as is_cool_row,
            NULL as null_row
    {% endcall %}

    {% call dbt_unit_testing.expect() %}
        select 'a string' as title, to_timestamp('2020-01-01') as valid_from, false as is_current, 'state1' as state
        union
        select 'b string' as title, to_timestamp('2020-02-01') as valid_from, true as is_current, 'state' as state
    {% endcall %}
{% endcall %}

here's the test case file test_my_first_dbt_model.sql that will make the test fail but should be equivalent:
{{ config(tags=['unit-test']) }}

{% set BASE_DATE = '2020-01-01' %}

{% call dbt_unit_testing.test ('my_first_dbt_model','Test Default Case', {"output_sort_field": "title, valid_from"}) %}
    {% call dbt_unit_testing.mock_ref ('stg_my_first_dbt_model') %}
        select
            'a string' as title,
            to_timestamp('{{ BASE_DATE }}') as valid_from,
            add_months(to_timestamp('{{ BASE_DATE }}'), 1) as valid_to,
            false as is_current,
            true as is_awesome_row,
            false as is_cool_row,
            NULL as null_row
        union
        select
            'b string' as title,
            add_months(to_timestamp('{{ BASE_DATE }}'), 1) as valid_from,
            {{ max_timestamp() }},
            true as is_current,
            false as is_awesome_row,
            true as is_cool_row,
            NULL as null_row
    {% endcall %}

    {% call dbt_unit_testing.expect() %}
        select 'a string' as title, to_timestamp('2020-01-01') as valid_from, false as is_current, 'state1' as state , NULL as null_row
        union
        select 'b string' as title, to_timestamp('2020-02-01') as valid_from, true as is_current, 'state' as state , NULL as null_row
    {% endcall %}
{% endcall %}

Here's the full output when running dbt test --select test_my_first_dbt_model --vars "verbose: True":
23:55:24  Running with dbt=1.3.3
23:55:25  Found 26 models, 89 tests, 0 snapshots, 0 analyses, 524 macros, 0 operations, 0 seed files, 12 sources, 0 exposures, 0 metrics
23:55:25
23:55:26  Concurrency: 1 threads (target='dev')
23:55:26
23:55:26  1 of 1 START test test_my_first_dbt_model ...................................... [RUN]
23:55:26  CONFIG: {'model_name': 'my_first_dbt_model', 'description': 'Test Default Case', 'options': {'output_sort_field': 'title, valid_from'}}
23:55:26  Running query => select 'a string' as title, to_timestamp('2020-01-01') as valid_from, false as is_current, 'state1' as state , NULL as null_row union select 'b string' as title, to_timestamp('2020-02-01') as valid_from, true as is_current, 'state' as state , NULL as null_row
23:55:26  Execution time => 0:00:00.641422
23:55:26  ==============================================================
23:55:26  Running query => select * FROM (select count(1) as expectation_count from ( select count(1) as count, `title`,`valid_from`,`is_current`,`state`,`null_row` from ( select 'a string' as title, to_timestamp('2020-01-01') as valid_from, false as is_current, 'state1' as state , NULL as null_row union select 'b string' as title, to_timestamp('2020-02-01') as valid_from, true as is_current, 'state' as state , NULL as null_row ) as s group by `title`,`valid_from`,`is_current`,`state`,`null_row` ) as exp) as exp_count, (select count(1) as actual_count from ( select count(1) as count, `title`,`valid_from`,`is_current`,`state`,`null_row` from ( with `stg_my_first_dbt_model` as ( select 'a string' as title, to_timestamp('2020-01-01') as valid_from, add_months(to_timestamp('2020-01-01'), 1) as valid_to, false as is_current, true as is_awesome_row, false as is_cool_row, NULL as null_row union select 'b string' as title, add_months(to_timestamp('2020-01-01'), 1) as valid_from, TO_TIMESTAMP('9999-12-31 23:59:59.999999'), true as is_current, false as is_awesome_row, true as is_cool_row, NULL as null_row ), `stg_2` as (with states as ( select * from ( values ('state1'), ('state2'), ('state3'), ('state4'), ('state5'), ('state6') ) as d (state) ) select * from states ) select * from ( with source_data as ( select * from `stg_my_first_dbt_model` ), stg_2 as ( select * from `stg_2` ), cte1 as ( select title, valid_from, is_current, 'state' as state, null_row from source_data where is_cool_row ), joined_data as ( select * from source_data cross join stg_2 where is_awesome_row ), cte2 as ( select title, valid_from, is_current, state, null_row from joined_data where state = 'state1' ) select * from cte1 union select * from cte2 ) as t ) as s group by `title`,`valid_from`,`is_current`,`state`,`null_row` ) as act) as act_count
23:55:27  Execution time => 0:00:00.382359
23:55:27  ==============================================================
23:55:27  Running query => with expectations as ( select count(1) as count, `title`,`valid_from`,`is_current`,`state`,`null_row` from ( select 'a string' as title, to_timestamp('2020-01-01') as valid_from, false as is_current, 'state1' as state , NULL as null_row union select 'b string' as title, to_timestamp('2020-02-01') as valid_from, true as is_current, 'state' as state , NULL as null_row ) as s group by `title`,`valid_from`,`is_current`,`state`,`null_row` ), actual as ( select count(1) as count, `title`,`valid_from`,`is_current`,`state`,`null_row` from ( with `stg_my_first_dbt_model` as ( select 'a string' as title, to_timestamp('2020-01-01') as valid_from, add_months(to_timestamp('2020-01-01'), 1) as valid_to, false as is_current, true as is_awesome_row, false as is_cool_row, NULL as null_row union select 'b string' as title, add_months(to_timestamp('2020-01-01'), 1) as valid_from, TO_TIMESTAMP('9999-12-31 23:59:59.999999'), true as is_current, false as is_awesome_row, true as is_cool_row, NULL as null_row ), `stg_2` as (with states as ( select * from ( values ('state1'), ('state2'), ('state3'), ('state4'), ('state5'), ('state6') ) as d (state) ) select * from states ) select * from ( with source_data as ( select * from `stg_my_first_dbt_model` ), stg_2 as ( select * from `stg_2` ), cte1 as ( select title, valid_from, is_current, 'state' as state, null_row from source_data where is_cool_row ), joined_data as ( select * from source_data cross join stg_2 where is_awesome_row ), cte2 as ( select title, valid_from, is_current, state, null_row from joined_data where state = 'state1' ) select * from cte1 union select * from cte2 ) as t ) as s group by `title`,`valid_from`,`is_current`,`state`,`null_row` ), extra_entries as ( select '+' as diff, count, `title`,`valid_from`,`is_current`,`state`,`null_row` from actual except select '+' as diff, count, `title`,`valid_from`,`is_current`,`state`,`null_row` from expectations), missing_entries as ( select '-' as diff, count, `title`,`valid_from`,`is_current`,`state`,`null_row` from expectations except select '-' as diff, count, `title`,`valid_from`,`is_current`,`state`,`null_row` from actual) select * from extra_entries UNION ALL select * from missing_entries ORDER BY title, valid_from
23:55:27  Execution time => 0:00:00.540132
23:55:27  ==============================================================
23:55:27  -------------------- my_first_dbt_model --------------------
23:55:27  with expectations as (
      select count(1) as count, `title`,`valid_from`,`is_current`,`state`,`null_row` from (
        select 'a string' as title, to_timestamp('2020-01-01') as valid_from, false as is_current, 'state1' as state , NULL as null_row
        union
        select 'b string' as title, to_timestamp('2020-02-01') as valid_from, true as is_current, 'state' as state , NULL as null_row
    ) as s group by `title`,`valid_from`,`is_current`,`state`,`null_row`

    ),
    actual as (
      select count(1) as count, `title`,`valid_from`,`is_current`,`state`,`null_row` from (
      with
      `stg_my_first_dbt_model` as (
        select
            'a string' as title,
            to_timestamp('2020-01-01') as valid_from,
            add_months(to_timestamp('2020-01-01'), 1) as valid_to,
            false as is_current,
            true as is_awesome_row,
            false as is_cool_row,
            NULL as null_row
        union
        select
            'b string' as title,
            add_months(to_timestamp('2020-01-01'), 1) as valid_from,
            TO_TIMESTAMP('9999-12-31 23:59:59.999999'),
            true as is_current,
            false as is_awesome_row,
            true as is_cool_row,
            NULL as null_row
    ),
`stg_2` as (with

states as (
    select * from (
        values
            ('state1'),
            ('state2'),
            ('state3'),
            ('state4'),
            ('state5'),
            ('state6')
    ) as d (state)
)

select * from states
)

    select * from (

with source_data as (
    select * from `stg_my_first_dbt_model`
),

stg_2 as (
    select * from `stg_2`
),

cte1 as (
    select title, valid_from, is_current, 'state' as state, null_row
    from source_data
    where is_cool_row
),

joined_data as (
    select * from source_data cross join stg_2
    where is_awesome_row
),

cte2 as (
    select title, valid_from, is_current, state, null_row
    from joined_data
    where state = 'state1'
)

select * from cte1
union
select * from cte2
 ) as t ) as s group by `title`,`valid_from`,`is_current`,`state`,`null_row`

    ),

    extra_entries as (
    select '+' as diff, count, `title`,`valid_from`,`is_current`,`state`,`null_row` from actual

    except

    select '+' as diff, count, `title`,`valid_from`,`is_current`,`state`,`null_row` from expectations),

    missing_entries as (
    select '-' as diff, count, `title`,`valid_from`,`is_current`,`state`,`null_row` from expectations

    except

    select '-' as diff, count, `title`,`valid_from`,`is_current`,`state`,`null_row` from actual)

    select * from extra_entries
    UNION ALL
    select * from missing_entries

    ORDER BY title, valid_from

23:55:27  ----------------------------------------
23:55:27  MODEL: my_first_dbt_model
23:55:27  TEST:  Test Default Case
23:55:27  ERROR: Rows mismatch:
23:55:27  | diff | count | title    |          valid_from | is_current | state  | null_row |
23:55:27  | ---- | ----- | -------- | ------------------- | ---------- | ------ | -------- |
23:55:27  | +    |     1 | a string | 2020-01-01 00:00:00 |      False | state1 |     None |
23:55:27  | -    |     1 | a string | 2020-01-01 00:00:00 |      False | state1 |     None |
23:55:27  | +    |     1 | b string | 2020-02-01 00:00:00 |       True | state  |     None |
23:55:27  | -    |     1 | b string | 2020-02-01 00:00:00 |       True | state  |     None |
23:55:28  1 of 1 FAIL 1 test_my_first_dbt_model .......................................... [FAIL 1 in 2.10s]
23:55:28  CANCEL query test.example.test_my_first_dbt_model .................. [CANCEL]
23:55:28
23:55:28  Failure in test test_my_first_dbt_model (tests/unit/build/test_my_first_dbt_model.sql)
23:55:28    Got 1 result, configured to fail if != 0
23:55:28
23:55:28    compiled Code at target/compiled/example/tests/unit/build/test_my_first_dbt_model.sql
23:55:28  Encountered an error:
FailFast Error in test test_my_first_dbt_model (tests/unit/build/test_my_first_dbt_model.sql)
  Failing early due to test failure or runtime error

Hi @estherguer ,  thank you very much for your detailed explanation. I'm afraid we are still not being able to detect the problem here. Could you please tell us which database are you using?

Hi @psousa50, the database is Apache Iceberg! Also, I am using it on dbt-spark (i don't know if that could do something)

Hi @psousa50 👋, where you able to locate the problem / any progress? 😞

Hi @estherguer , sorry for the delay. I'm not being able to reproduce this. Have you figured it out already?
If not, I would like to ask you to do this:
Modify your test to test just one column at a time, like this:
{% call dbt_unit_testing.expect() %}
    select 'a string' as title
    union
    select 'b string' as title
{% endcall %}

Then try the next column:
{% call dbt_unit_testing.expect() %}
    select to_timestamp('2020-01-01') as valid_from
    union
    select to_timestamp('2020-02-01') as valid_from
{% endcall %}

Please do it for the five columns and check which ones are making the test fail.
Please come back to me when you have these results, I hope it will help us to find the issue.
Thank you

Hi there, we are doing a clean-up of old/inactive Issues.
Happy to open again if there is a need for that.
Thank you for collaboration!

Hopefully I can save some poor soul some pain by sharing one more potential cause: empty strings (with the Athena dbt adapter).

actual contains a column with a value of array[]
expectations contains a column with a value of array['']
Clearly, these are different.

The SELECT ... EXCEPT ... CTE will report that these are different values.
So, dbt-unit-testing will report: "ERROR: Rows mismatch:".

✅ So far so good, different_rows_count is a non-zero value
❌ When print_table iterates over the columns, no columns are reported in red. They are all grey.

Cause?

Both array[] and array[''] end up being represented, in string form, as [].
When the quotes are stripped (by the adapter maybe? I haven't looked into it), data is lost.
Finding which column is the source of the mismatch is then a task of commenting out individual columns in the mismatch CTEs until it is located.

😢

how this error got resolved @estherguer


I forked your node-fptsync, and start my own branch

@evanplaice  This ftpsync is too long with no update  , and I forked your project , Start my own branch , If you don't want me to do so , Let me know !

If you have an improvement to make I'd expect that you fork and branch the repo. Just submit a pull request once the changes are ready so I can merge them upstream.
I'd be more-than-happy to add you as a contributor (and likely provide commit access) if you're genuinely interested on improving the project.
I don't have an 'official' contributions guide written yet so here's a few ad-hoc guidelines:

Practice good code etiquette

Fight the temptation to make 'superficial' changes. By which I mean, rearranging functions or changing the coding style in a way that doesn't add value.
Most/all of the functions are written in an object declarative form, I'm not planning to change the style from the current form without a good justification.

Avoid adding dependencies

In an effort to keep the library as lightweight as possible I'd like to keep the dependencies to a minimum. Dependencies for developing the library should always be added under devDependencies.

Don't change the API between versions

A lot of though went into creating a clear/concise API that's straightforward and easy to implement. Keep in mind that other projects may depend on and extend the functionality of this one. API changes will be planned in advance and scheduled to occur during major version increments (ie 1.x.x, 2.x.x) only.
For example, the grunt-node-ftpsync project depends on this project to provide ftp synchronization through the grunt task runner. In the future I'd also like to add support for gulp (or any other automation services that prove useful).
The current versioning structure follows the semver standard. If you're not familiar with it take a moment to read through the documentation to better familiarize yourself.
Otherwise, happy coding.

OK , got it !


IE9 error loading external svg

Hi,
In IE9, loading an external svg seems to be broken. The most simple example from http://svg.dabbles.info/snaptut-load.html fail. No error, and no pinguin. IE>=10 is ok.
Any idea ?
var s = Snap("#svgout");
var tux = Snap.load("Dreaming_tux.svg", function ( loadedFragment ) {
s.append( loadedFragment );
} );

Mine isn't working IE11 either, as well as the mascot in the getting started guide.

Hi,
Finally, we managed to make it work on IE9 but using the "compatibility mode" of the brower. It seems that you can force this mode thanks to some html tags.

I understand that this is an old thread but I run into this issue today and maybe my solution will be helpful to someone else who finds this thread.
I found that the problem with external svg files was not with the plugin, nor the code, but with the SVG files themselves. My SVGs in particular were missing the doctype declaration, and adding <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">  fixed the issue with Internet Explorer.


Would it be valuable to have Cocaine use Process.spawn if available?

I'd like to be able to do some file descriptor juggling.  I haven't done a lot of research but it looks like spawn isn't fully there yet on JRuby, and obviously didn't exist on 1.8.7, so I'm assuming that whatever features that a switch to Process.spawn might enable would have to disable themselves on an environment where it's not.
Later on, could look into integrating posix-spawn to get the love spread a little further around, but I don't know the maturity of that project either.
Please let me know if a (very simple for now) pull request that adds basic, optional, file descriptor redirection capabilities would be useful as I decide how badly to hack the functionality I need.

Well, I wanted to keep things simple, but if you think using Process.spawn (& friends) will extend flexibility without sacrificing ease of use, then I'm all for it.

Cool, I ended up using popen directly for my use case in the meantime.  There's almost certainly some developer usability improvements for juggling file descriptors from/to ruby variables that could be baked into cocaine, and if I get some time I might dig into it.
Thanks,
-john


Azure DevOps CI/CD UE4 Linux build

When trying to run ue4 build in a container on Azure DevOps, Azure is failing at the step 'Intialize Containers' because it's trying to create a group 'azure_pipelines_sudo' and the ue4 user in the container does not have permissions. See logs below.
Any workaround to get it working? Thank you!
2020-11-17T04:05:04.0175024Z Login Succeeded
2020-11-17T04:05:04.0208749Z ##[command]/usr/bin/docker pull ***/ue4:latest
2020-11-17T04:05:04.6341326Z latest: Pulling from ***/ue4
2020-11-17T04:05:04.6342776Z Digest: sha256:14cac3c157717bf0974772f58a415b4923d735fd273a16840eaa052de626b9cb
2020-11-17T04:05:04.6344458Z Status: Image is up to date for /ue4:latest
2020-11-17T04:05:04.6345335Z docker.io//ue4:latest
2020-11-17T04:05:04.6372933Z ##[command]/usr/bin/docker logout ***
2020-11-17T04:05:04.6623424Z Removing login credentials for index.docker.io
2020-11-17T04:05:04.6676258Z ##[command]/usr/bin/docker info -f "{{range .Plugins.Network}}{{println .}}{{end}}"
2020-11-17T04:05:04.7288326Z bridge
2020-11-17T04:05:04.7288860Z host
2020-11-17T04:05:04.7289225Z ipvlan
2020-11-17T04:05:04.7289705Z macvlan
2020-11-17T04:05:04.7289814Z null
2020-11-17T04:05:04.7289934Z overlay
2020-11-17T04:05:04.7309079Z ##[command]/usr/bin/docker network create --label 8ff92c vsts_network_260b66f2b8244ab2859442101d4716f3
2020-11-17T04:05:04.7871526Z e632f17900fdbd94e9870e37f0aa2f49d9f1f6cac5485499062443b9f9d7fdba
2020-11-17T04:05:04.8037102Z ##[command]/usr/bin/docker inspect --format="{{index .Config.Labels "com.azure.dev.pipelines.agent.handler.node.path"}}" ***/ue4:latest
2020-11-17T04:05:04.8327738Z ##[command]/usr/bin/docker create --name 2c519a332d164ccfb24e73837addb364_***ue4latest_76b47e --label 8ff92c --network vsts_network_260b66f2b8244ab2859442101d4716f3  -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/ryan/myagent/_work/1":"/__w/1" -v "/home/ryan/myagent/_work/_temp":"/__w/_temp" -v "/home/ryan/myagent/_work/_tasks":"/__w/_tasks" -v "/home/ryan/myagent/_work/_tool":"/__t" -v "/home/ryan/myagent/externals":"/__a/externals":ro -v "/home/ryan/myagent/_work/.taskkey":"/__w/.taskkey" ***/ue4:latest "/__a/externals/node/bin/node" -e "setInterval(function(){}, 24 * 60 * 60 * 1000);"
2020-11-17T04:05:04.8879374Z 4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309
2020-11-17T04:05:04.8906310Z ##[command]/usr/bin/docker start 4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309
2020-11-17T04:05:05.1829906Z 4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309
2020-11-17T04:05:05.1865334Z ##[command]/usr/bin/docker ps --all --filter id=4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309 --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
2020-11-17T04:05:05.2167277Z 4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309 Up Less than a second
2020-11-17T04:05:05.2252288Z ##[command]/usr/bin/docker exec  4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309 sh -c "command -v bash"
2020-11-17T04:05:05.3725062Z /bin/bash
2020-11-17T04:05:05.3939076Z ##[command]whoami
2020-11-17T04:05:05.3970190Z ryan
2020-11-17T04:05:05.3970423Z ##[command]id -u ryan
2020-11-17T04:05:05.3982844Z 1000
2020-11-17T04:05:05.3983109Z Try to create a user with UID '1000' inside the container.
2020-11-17T04:05:05.3990111Z ##[command]/usr/bin/docker exec  4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309 bash -c "getent passwd 1000 | cut -d: -f1 "
2020-11-17T04:05:05.5247742Z ##[command]/usr/bin/docker exec  4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309 id -u ue4
2020-11-17T04:05:05.6208356Z 1000
2020-11-17T04:05:05.6400197Z Grant user 'ue4' SUDO privilege and allow it run any command without authentication.
2020-11-17T04:05:05.6400552Z ##[command]/usr/bin/docker exec  4d0c10bd31618e1882f5de933f5b5c45fe8934039d174332c2a75cd6af2d9309 groupadd azure_pipelines_sudo
2020-11-17T04:05:06.1777699Z groupadd: Permission denied.
2020-11-17T04:05:06.1778407Z groupadd: cannot lock /etc/group; try again later.
2020-11-17T04:05:06.2062565Z ##[error]Docker exec fail with exit code 10
2020-11-17T04:05:06.2071481Z ##[section]Finishing: Initialize containers

I've not used Azure DevOps Pipelines myself, but the documentation on requirements for Linux containers states that the user inside the container must be able to run privileged commands without the use of sudo, which is not the case for the non-root ue4 user in the container images produced by ue4-docker. The Dockerfiles create a non-root user for a very good reason: the Unreal Engine contains a hard-coded check which prevents it from being run by a user with UID 0 under Linux when running on the amd64 architecture, so another user is required.
As a workaround, I'd recommend creating a container image that extends whichever image you're currently using (presumably ue4-minimal or ue4-full) and sets the default user to root, like so:
# Extend whichever container image you are currently using, for example:
FROM adamrehn/ue4-full:4.25.3-opengl

# Set the default user to the root user
USER root

That should allow you to get past the setup steps that are failing, but of course you can't actually run your Unreal Engine build process as root because any commandlets (e.g. for cooking content) will refuse to run, as will UnrealHeaderTool (UHT) and UnrealPak in versions of the Engine prior to 4.26.0, since that's the first version in which the root privilege check is disabled for standalone programs. So what you will need to do is prefix your build commands with runuser to run them as the non-root ue4 user, like so:
# This example assumes you are using the `ue4 package` command from ue4cli,
# but just substitute whatever command you like after the double-dash
runuser -u ue4 -- ue4 package

Let me know if this resolves your issue and allows the build process to succeed.

I've created EpicGames/UnrealEngine#7868 to allow running UE4 as root. Let's see what Epics decide.

No feedback in half a year.
Workaround exists: extend your own image from ue4-full/ue4-minimal and set default user to root.
ue4-docker is not going to change default user to root because UE4 rejects to run as root.

Resolution: closing


SmolLM2 Pretrain Dataset

The SmolLM2 model cards reference the fact that the pretraining dataset will be released soon:
"The 135M model was trained on 2 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new filtered datasets we curated and will release soon."
Quite interested in this dataset, are there still plans to release it?

The datasets are all already public  (FineWeb-Edu, DCLM, FineMath) except for the code dataset built on top of The Stack v2. We will release information on how we mixed them together in a tech report soon.


View fails to load when trying to send a message to a new user.

Describe the bug

Search for a User you have not messaged before.
Click on the User with the intent of sending him a message.
The interface will now not load. It will stay blank, as if it is stuck.
When reloading the view with ⌘ + r the view will load correctly and a message can be sent normally

What operating system and which version?

MacOS 12.2.1
Which version of Rocket.Chat (Server)?
4.4.1
Which version of Rocket.Chat.Electron (Electron/Desktop)?
3.7.7
Is there any setting relevant changed?

To Reproduce
Steps to reproduce the behavior:

Search for a user you have never messaged before
Click on the  user. The interface will now not load.

Expected behavior
Correct loading of the user interface in all scenarios
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

On the browser the problem persists?

I will move it to the Rocket.chat repo then, ok?


Docker run --cidfile fails with absolute paths on Windows

When using the docker run --cidfile on Windows, instead of creating the file is says "The system cannot find the path specified" when the path is absolute.
Reproduction steps
Set-up

On Windows 7.
Using Docker 1.12.2 build bb80604.
Using Docker Quickstart Terminal.
Current directory does not already contain foo.cid in each case.

Expected behavior sample
The following attempt works as expected, executing and leaving behind foo.cid in the test directory with the container-hash inside.
cd /c/Users/Bugreport/ ;
docker run --cidfile "foo.cid" hello-world;

Failing behavior sample
This version is only different in that the path to foo.cid is absolute.
cd /c/Users/Bugreport/ ;
docker run --cidfile "/c/Users/Bugreport/foo.cid" hello-world;

Unexpectedly, it fails with output to STDERR of:
C:\Program Files\Docker Toolbox\docker.exe: Failed to create the container ID file: open /c/Users/Bugreport/foo.cid:
The system cannot find the path specified..
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.

This same error message is given whether or not foo.cid exists in the target directory.
Diagnostics
docker version
Client:
 Version:      1.12.2
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   bb80604
 Built:        Tue Oct 11 17:00:50 2016
 OS/Arch:      windows/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 23:26:11 2016
 OS/Arch:      linux/amd64

docker info
$ docker info
Containers: 9
 Running: 1
 Paused: 0
 Stopped: 8
Images: 18
Server Version: 1.12.3
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 55
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null overlay bridge host
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.27-boot2docker
Operating System: Boot2Docker 1.12.3 (TCL 7.2); HEAD : 7fc7575 - Thu Oct 27 17:23:17 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995.8 MiB
Name: default
ID: 5GWO:CLTY:TJFD:Q26D:66I6:Z6VM:E7PA:ZJFG:7GKI:F4QO:5KNY:TPUR
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 17
 Goroutines: 30
 System Time: 2017-03-09T07:43:13.140644631Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 <IP_ADDRESS>/8

For anyone with the same problem, my current workaround in bash is to put in a step that converts the path like so:
CID_PATH="/c/Users/Bugreport/foo.cid";
REL_CID_PATH=$(realpath --relative-to="." "$CID_PATH");

/cc @johnstep PTAL

This is a problem with Toolbox and/or running in the cygwin bash shell. Absolute paths work fine from powershell:
docker run --cidfile C:\code\blerg.cid hello-world

For a while I wondered whether the word "open" in the error was a mistake, and that the argument getting passed in was somehow "open /c/foo", but that seems to be a red-herring. I'm no familiar with Go, but the code that makes the message is just converting the error from os.Create() into a string, and the type *PathError is defined as a struct of (operation, path, cause), which would explain how "open" got in there.

OK, so this is an issue with path-conversion from bash, not in docker. Hence closing.

@jhowardmsft I just don't understand why docker.exe is the only application that seems to have this problem (it also happens when specifying a Dockerfile)... while other executables such as file, grep,  or even notepad.exe understand absolute paths.
Do you think I should open a new issue in the docker/toolbox project instead?

Hm, it actually works for me on Windows 10 in minGW bash shell:
friism@LAPTOP-G8D4BRBC MINGW64 /c/code/tmp
$ docker run --cidfile "/c/code/tmp/blerg.cid" hello-world

Hello from Docker!
...
friism@LAPTOP-G8D4BRBC MINGW64 /c/code/tmp
$ cat blerg.cid
7cfe62a5652e8277aa944df28c05e462cba0538dcf149a1d2fe533f11d117576


11 group trees by input

resolves #11

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@2260806). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage        ?   87.03%
=======================================
  Files           ?       10
  Lines           ?      293
  Branches        ?        0
=======================================
  Hits            ?      255
  Misses          ?       38
  Partials        ?        0

Flag
Coverage Δ

PS_5.1
87.03% <0.00%> (?)

PS_7_Windows
87.03% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


⚠ Turnos 24x7 has degraded performance

In 15d2f4a, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 2574 ms

Resolved: Turnos 24x7 performance has improved in 9331d02.


Feature/ucd 1455 validate file upload behaves as expected

Ticket Number

UCD-1455
Description of change

Checklist

[ ] Requires infrastructure changes
[ ] If adding or remove environment variables (e.g. in docker-compose.yaml) then I have updated the appropriate Helm chart
[ ] I have updated the documentation accordingly
[x] My commit history in this PR is linear
[x] New features have tests
[ ] Breaking change (team conversation required)

Important
Please do not merge from master (please only rebase). This keeps the history linear and easier to debug.

Closed in favour of https://github.com/foundry4/appeal-planning-decision/pull/376 due to me making a mess of the commit history.

Closed in favour of https://github.com/foundry4/appeal-planning-decision/pull/376 due to me making a mess of the commit history.


Move Poly<> and add ECIES from Ristretto

@kchalkias please take a look.
While there are still several TODOs I'm planning to resolve, I think all the interesting code is already in and I'd appreciate an early feedback.


Create Customer profile using AcceptJS token

I am trying to make a purchase and creating customer profile using the transaction ID.
https://developer.authorize.net/api/reference/index.html#customer-profiles-create-a-customer-profile-from-a-transaction
I am able to purchase but I have no idea how to create customer profile using the transactionID. It seems possible only when I have a card.
purchase is made using AIM, but I am guessing I have to use CIM at same time for customer profile and transactionID seems the only thing that can bridge both.

I think @kotrakrishna was mostly involved in setting up the payment profile functionality a few years ago. It's not something I personally know a lot about.
However, if the search is working on github like I think it is, it does seem that there are request messages for creating customer profiles (i.e. payment profiles) e.g. CIMCreatePaymentProfileRequest and which are not actually used anywhere. That one does need a valid card though.
The Authorize.Net API is vast, and there are a lot of functions in it not covered by this driver. I have a feeling this is one of them. However, by actually using CIMCreatePaymentProfileRequest and modifying it so it so the valid card is not mandatory, supporting what you need may be relatively simple.

Does this PR fix this issue, or does it cover a different use-case?
https://github.com/thephpleague/omnipay-authorizenet/pull/117


Bugfix: ADOT fails intermittently

Issue #, if available: #930
Description of changes:
Refactored core addon and adot addon to handle proper namespace dependencies.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-tests


Adding helparea for comments below the comment

No disabling of publish/submit comment since that was not popular.
Adds area blow the input that gives helpful feedback
Adds "You've reached max comment length" feedback
Adds "You should not link to own game if commenting on others' games" feedback (Note rule will not activate if (a) commenting on your own game or (b) commenting on a post/non-game).

Related issues

Resolves #1636

Sorry, I'm pretty far out of the loop here at the moment and working on other things, so I'm not going to review for the time being.

Looks good! I tweaked the wording, but overall a great solution and addition. :+1:


[FormBuilderDatePicker]: keyboardType is not passed to material showDatePicker

Is there an existing issue for this?

[X] I have searched the existing issues

Package/Plugin version
7.7.0
Platforms

[X] Android
[X] iOS
[ ] Linux
[ ] MacOS
[X] Web
[ ] Windows

Flutter doctor

Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.5, on Microsoft Windows [versÆo 10.0.22621.3007], locale pt-BR)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc4)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.11.10)
[✓] Android Studio (version 2022.2)
[✓] VS Code (version unknown)
    ✗ Unable to determine VS Code version.
[✓] VS Code, 32-bit edition (version unknown)
    ✗ Unable to determine VS Code version.
[✓] VS Code, 64-bit edition (version 1.85.1)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Minimal code example

Code sample

      final widget = FormBuilderDateTimePicker(
        keyboardType: TextInputType.text,
        inputType: InputType.text,
      );

Current Behavior
The keyboardType parameter is not passed to material showDatePicker call.
Expected Behavior
The keyboardType parameter should be respected inside the picker.
Steps To Reproduce
run example with this date picker.
FormBuilderDateTimePicker(
        keyboardType: TextInputType.text,
        inputType: InputType.date,
      );
      ```

### Aditional information

_No response_

The proposed change could affect existing package users, since the default value for keyboardType is TextInputType.text;
I think the removal of the default value should prevent any breaking changes for those who did not set a value.


Incorrect Usage example

Is
  ValueNotifier<GraphQLClient> client = ValueNotifier(
    GraphQLClient(
      link: link,
      // The default store is the InMemoryStore, which does NOT persist to disk
      store: GraphQLCache(store: HiveStore()),
    ),
  );

Should

  ValueNotifier<GraphQLClient> client = ValueNotifier(
    GraphQLClient(
      link: link,
      // The default store is the InMemoryStore, which does NOT persist to disk
      cache: GraphQLCache(store: HiveStore()),
    ),
  );

@artnavsegda do not hesitate to make a PR with fix


Throughput is low

Hi, I am using 16 nodes, each of which has 8 A100s to train the first stage (256x256) of sd-2.0-base.
The total batch size is 2048=128*16. I am not using pre-computed latents, giving the throughput about 5.5k-6K samples/sec.
As mentioned here, the throughput of your model training is 11600 samples/sec by using pre-computed latents. Given the following estimation, the throughput of your model training is about 11600/1.4=8286 samples/sec without using pre-computed latents. This throughput is quite higher than ours, any ideas? Thanks.

If you are computing VAE and CLIP latents while training, expect a 1.4x increase in time and cost.

@viyjy  can you please share your config? Can you confirm you enabled all of the speedups?
The exact speedup is likely higher if you are only comparing against the final time. This is because the additional methods further speed up the U-Net step, but the total throughput will still be slow even if the U-Net is sped up all the way if the VAE/CLIP times are present.
As an illustration:
VAE time = 1s, UNet time = 1s, CLIP time = epsilon

Remove VAE = 2x speedup, total time = 1s
Next, 2x speedup U-Net = 2x speedup, total time = 0.5s, total speedup = 4x

However, without step 1, it becomes

2x speedup U-Net = 1.5x speedup, total time = 1.5s

So, it might not be a reasonable estimate to use the 1.4x number....

@viyjy  I would expect you would have significant slowdown in image decoding. I recommend profiling it to see how much time that takes.

I see, thanks.


Only count sparkles from the past 30 days

Only count sparkles from the past 30 days when showing the leaderboard. This way people have a chance to get in the top 3!

This was resolved with #4


Rewrite to a file not in root directory not being routed through fastcgi

I'm using this:
*.dev:80 {
    root /var/www/

    tls off
    gzip
    log stdout
    errors stderr

    rewrite {
        r .*
        ext /
        to {host}/htdocs/index.php?{query}
    }

    fastcgi / <IP_ADDRESS>:9000 php
}

To allow for faster development locally, without messing with any config files, however whenever I route to a page I'm getting the raw PHP file back. To counter this I have to set the root directory and then route to /index.php?{query} rather than {host}/htdocs/index.php?{query}.
test.dev:80 {
    root /var/www/test.dev/htdocs/

    tls off
    gzip
    log stdout
    errors stderr

    rewrite {
	r .*
	ext /
        to /index.php?{query}
    }

    fastcgi / <IP_ADDRESS>:9000 php
}

What's interesting to note is that is also happens when not using htdocs.
*.dev:80 {
    root /var/www/

    tls off
    gzip
    log stdout
    errors stderr

    rewrite {
        r .*
        ext /
        to {host}/index.php?{query}
    }

    fastcgi / <IP_ADDRESS>:9000 php
}

Doesn't work, whereas this does work:
test.dev:80 {
    root /var/www/test.dev/

    tls off
    gzip
    log stdout
    errors stderr

    rewrite {
    r .*
    ext /
        to /index.php?{query}
    }

    fastcgi / <IP_ADDRESS>:9000 php
}

I guess I'm not quite sure what the problem here is specifically. Are you asking a question? Requesting a feature? Filing a bug report? (If a bug report, please use the provided template.)
Closing until we can have anything to act on.


Coda daemon crashed (WNOHANG)

2019-10-20 22:54:23 UTC [Info] Restarting Kademlia
2019-10-20 22:54:24 UTC [Info] Daemon child process 28754 terminated with exit code 0
2019-10-20 22:54:24 UTC [Info] Daemon child process 28364 terminated after receiving signal "sigterm"
2019-10-20 22:54:24 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
exn: "(monitor.ml.Error\n  (Unix.Unix_error "No child processes" waitpid\n    "((mode (WNOHANG)) (pid 28364))")\n  ("Raised at file \"src/result.ml\", line 158, characters 17-26"\n    "Called from file \"src/deferred1.ml\", line 17, characters 40-45"\n    "Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5"\n    "Called from file \"src/job_queue.ml\", line 170, characters 6-47"\n    "Caught by monitor coda"))"
☠  Coda daemon crashed. The Coda Protocol developers would like to know why!
Please:
Open an issue:
https://github.com/CodaProtocol/coda/issues/new

hey @UbikCapital thanks for reporting this -- we're tracking this issue here: https://github.com/CodaProtocol/coda/issues/3520
Could you kindly share the steps to reproduce this?

Fixed by #7611, closing.


Adds ruff, a drop-in replacement for black

What was changed
Added isort: skip_file in the .gitignore file, because ruff will follow isorts commands.
Replaced black with ruff in the .pyproject.toml` file.

ran poe format && poe lint

There were a lot of changes made.

removed unused imports
removed/added white space according to pydoc style
If this is too much, let me know and I close this PR and find a way later to make less changes.
Looking for a quick win.

Why?

https://github.com/temporalio/sdk-python/issues/421
Checklist

Closes

How was this tested:

Any docs updates needed?

Can you work out the CI kinks? Can mark as draft while you work through them

Thanks @rachfop! We followed through with this in https://github.com/temporalio/sdk-python/pull/566


Used deal name for deliverable view

#3400  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


New Google Play Store instatnce

Once you click "update" on the alert dialogue, it's opening a new instance of Play Store. It's not associating the device current signed in account within the app. It's initiation a new instance of Google play that requires to be signed in. And if you sign in, it doesnt show you an update, it only shows an install button on the Play Store to make a fresh installtion, as if you don't already have the app installed.
here is my code
  final newVersion = NewVersionPlus();

  _checkVersion() async {
    newVersion.showAlertIfNecessary(context: context);
  }

  @override
  void initState() {
    _checkVersion();
    super.initState();
  }

  @override
  void dispose() {
    _checkVersion();
    super.dispose();
  }

Correct, that is because it opens with the default platform of the device and not with the store, a new parameter was added for the function:
LaunchModeVersion.external (With an external application suitable for the link in this case the playstore)
LaunchModeVersion.normal
This update will be available from version 0.0.5, for now it is recommended that you apply your own logic using the (getVersionStatus) method of the package.


Real-world usages: update Upsource URL; fix Jade mode; fix Haskell mode

Merged as c73ab133ec8e2...7549397. Next time, please submit a pull request with only the relevant patches in it (i.e. rebase your branch on top of the current master branch), so that I don't have to do detective work to figure out what you want to merge.


Default constructors

Hello! Thank you for this great project. I would like to comment that there is a small issue. Your new types Path64 and Paths64 don't have default constructor in C# and because of that they cannot be deserialized. Could you please fix it? Thank you.

I don't understand how that helps unless unless Path64 and Point64 are both marked as serializable.

I have a class, that is marked with [DataContract] and [Serializable].
This class has a property marked as [DataMember].
Before you made Path64 and Paths64 classes, it worked perfectly fine, but now it doesn't, because Path64 and Paths64 doesn't have default constructors. I downloaded your source code, made default constructors for both classes and it works.

OK. I'll add them in in the next update.


Uncaught Exception on run

OS: win10 Pro, version 1909, build 18363.719
Just installed for the first time, used latest release (0.6.0). Receive The specified module could not be found error when opening the program. No errors were reported during installation.

Fixed by installing Visual C++ redist.


Define attributes needed for data-driven groupings

A data-driven grouping is a grouping where the values to be included in the analysis are not prespecified as part of the definition of the analysis.  Things to be clarified:

If you include a specification of groups as part of the design of the analysis, do you want to be able to indicate whether:

All the defined groups are displayed (with zero values for groups that did not occur).
Only groups that appear in the data are displayed?

Do you need to be able to specify a "display format" for data-driven group values (e.g. if this data value occurs, this is how it should be displayed)?  If so, is this any different to prespecified groups?
How should dummy values for data-driven groups (needed for creation of the display shell) be defined?

These questions need to be move to Discussions and then we'll add PBIs to the Backlog once we've answered the questions.


Adds Polymer.dom.flush() and beforeEach to a11ySuite

As per issue #392, parts of the page may be missing while a11ySuite runs, since Polymer.dom.flush() is never called.
Without Polymer.dom.flush, fixtures with elements containing dom-repeat or dom-if templates would not be fully loaded. In many cases, this results in running the test suite on only a fragment of the page, missing possible errors. In few cases, it would trigger possible errors, for example:

The test suite would incorrectly think the radiogroup had no role='radio' children.
Also, this adds in a beforeEach function that can be passed in, allowing any extra setup to run before each test.

Comment to sync up the googlebot

Looks good.  I'm going to merge this into a repo-local branch to make some stylistic changes before merging to master.
Thanks!


Cannot create Azure Function

Does this occur consistently? Yes
Repro steps:

try to create new function
error pops up after runtime is selected.

Action: azureFunctions.createFunctionApp
Error type: ProviderResourceTypeNotFoundError
Error Message: Provider "/subscriptions/redacted:id/providers/Microsoft.Resources" does not have resource type "resourceGroups".
Version: 1.13.1
OS: linux
OS Release: 6.2.0-36-generic
Product: Visual Studio Code
Product Version: 1.84.2
Language: en

Call Stack
extension.bundle.js:2:3716430
fulfilled extension.bundle.js:2:3714514

Ah, alright. Let us know if the support team is able to help you out!

Well, so far they've been of no help. So when I said I already unregistered and reregistered my microsoft.resources subscription I must have just clicked Reregister because when I try to unregister I get the following error:

The resource namespace 'microsoft.resources' is invalid

I'm encountering the same problem and error messages on a fresh subscription from last week.
The JSON in the resource provider details is still empty after I re-register the provider:
{
  "resourceType": "",
  "locations": [],
  "defaultApiVersion": "",
  "apiProfiles": [],
  "capabilities": "",
  "apiVersions": [],
  "zoneMappings": []
}

I'm guessing it should be populated with some default values?
I don't know if it's relevant, but I can create resource groups with the Azure CLI. This works: az group create -n az-rg-test -l westus.

I don't know if it's relevant, but I can create resource groups with the Azure CLI. This works: az group create -n az-rg-test -l westus.

Thanks for this tidbit. That's interesting-- I wonder if the SDK that we are using is outdated.

This works for me now! I don't remember doing anything, but the Microsoft.Resources provider is no longer empty and I can create resources from vscode.


When pasting  multiple values with duplicates - component crashes

Add same text values once on paste

Coverage increased (+0.001%) to 99.802% when pulling 8082a85272ee6e5083a471469619cfe2134cda43 on masepe:patch-1 into 87d0e6b695fd53d21f73357a1d3377ab569a78d0 on mbenford:master.

Yes please ❤


CW-1344 input type number support for safari and firefox

Pull Request (PR) Dexels-ui-kit
Jira link:
https://jira.sportlink.nl/browse/CW-1344
Description of the pull request:

safari and firefox ignore input type="number", the typed input needs to be validated and if someone typed a letter don't accept is as new input value.

[ ] New component? Did you add it to the library exports file src/lib/index.ts?
[ ] New iconfont? Update selection.json, iconfont.css (mind the path part) and the values in src/app/types.ts?

Feel free to ask if this PR template needs to be updated!

still doesn't work


Modulation vector for SRN Cars

Hi, thank you for sharing the code of the great work.
Could you open the modulation vectors for SRN cars?
It would be helpful to examine the implementation of NeRF functionality and future works.
Thank you in advance.

Hi Tackgeun, I'm afraid it'll be difficult to share the modulation vectors for SRN cars. I think you may want to implement the dataset generation code yourself by running experiment_meta_learning.py on this dataset and then adapting modulation_dataset_writer.py. I'd be happy to answer any difficulties you run into while doing this.

I'll follow your instruction to reproduce the results.
Thank you for your answer.

I've been trying to reproduce the result of ModulatedSIREN on SRN Cars.
But, the hyper-parameters written in the appendix confuse me a little bit.
Could you inform the hyper-parameter for Modulated SIREN for SRN Cars with FID 80.3?
What are the width, depth, and modulation dimensions of modulated SIREN for SRN Cars?
Thank you in advance.

The width and depth of LatentModulatedSiren for SRN Cars is 512 and 15 respectively. Apologies for missing this out in the paper. The number of views (16) is the number of views per scene that are randomly subsampled (out of 50 views) for each training iteration of meta-learning. Of these 16 views, 512 pixels are subsampled per view.
As stated in the paper, for the modulation dataset creation we have less memory constraints than for the meta-learning, so we use 32 views with 2048 pixels per view.

Yes, that is correct. Bear in mind that we use the test set (instead of the training set) for computing the FID score, since the test set contains all possible views whereas the training set only contains randomly subsampled views.

Thank you for answering the question. I will follow your explanations on experiments.


Implement lowering of comparing instructions.

Some of comparing instructions are still not implemented:

[x] i64.ge_s
[x] i64.ge_u
[x] i64.gt_s
[x] i64.gt_u
[x] i64.le_s
[x] i64.le_u
[x] i32.gt_s
[x] i32.gt_u
[x] i32.ge_s
[x] i32.ge_u
[x] i32.le_s
[x] i32.le_u

All comparisons should be supported after https://github.com/near/wasmtime/pull/135


Adding .NET support for Azure SQL Data Warehouse pause/resume functionality

Builds successfully. Passes all component tests.

Can one of the admins verify this patch?

Hi @caln-microsoft, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@azuresdkci add to whitelist


brave: 1.43.89 -> 1.45.133

Description of changes
Update brave version.
https://community.brave.com/t/release-channel-1-45-133/448835

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

1.45 contains the cookie consent notification blocker, and so I'm looking forward to this.

1.46 released yesterday. redoing this PR...


Fixup milestone script to handle various edge cases

If a milestone existed but had 0 total issues, we'd write a string that the template would try to render but would fail due to dividing by zero

Made some more improvements to the data script -- should always pull the lowest open version first. Also did some misc code cleanup for readability.

Closed by #49


Feature add refresh for catalog if it needs

Proposed changes
Issue Number: close[#17413](https://github.com/apache/doris/issues/17413)
Problem summary
Currently if a catalog is modified externally in doris, doris is not dynamically aware of it.So if a catalog is created with a refresh time configuration, I added a timer for it to refresh the catalog regularly.
Checklist(Required)

Does it affect the original behavior:

Yes

Has unit tests been added:

No

Has document been added or modified:

Yes

Does it need to update dependencies:

No

Are there any changes that cannot be rolled back:

No

Further comments
If this is a relatively large or complex change, kick off the discussion at [dev<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Please add FE ut for this.
You can refer to ColumnPrivTest.
And there are 2 classes: TestExternalCatalog and TestCatalogProvider.
These classes are for unit test, you can use TestCatalogProvider to add any schema you want to TestExternalCatalog,
for mocking some "metadata update" cases

And also need to rebase to solve the conflict

Please add FE ut for this. You can refer to ColumnPrivTest. And there are 2 classes: TestExternalCatalog and TestCatalogProvider. These classes are for unit test, you can use TestCatalogProvider to add any schema you want to TestExternalCatalog, for mocking some "metadata update" cases

Ok I have added FE ut

Thanks for your suggestions.

I have moved the RereshManager.removeFromRefreshMap() to catalog.onClose().
In ExternalCatalog.checkProperties() I have added a judgment on the refresh parameter METADATA_REFRESH_INTERVAL_SEC.
I have  added registration toRefreshManger in CatalogMgr.gsonPostProcess().
And changed the timing mechanism of RefreshManger
Removed start() of RefreshManager to Env

run buildall


Custom aliases + more currencyies

Hi, would it be possible to add the following things?

Load "currencies.json" from a local file. It can just be inside the plugin folder
Support aliases. I keep typing EURO or EU and always forget it's EUR. Would be nice if I could add my own aliase to some of the currencies. Or maybe just support fuzzy search on the current ones.

Thanks!

Hi, these look like some nice additions—one of the issues with a local currencies.json file will be that it will be outdated and it will be up to the users to update it. Aliasing is an idea that I wanted to do from day one, but always messed up while implementing it.
Could someone help with implementing these functionalities? In the meantime, I will try coming up with a simple approach.

Hi, I would like to try and add something like this. I have little experience with cs and contibuting to open source but I will try this coming week!

I have come up with a solution to this issue, please check the following and let me know if it is having any problem or missing any feature. You can read more about the config here
CurrencyConverter-1.2.0-x64.zip
CurrencyConverter-1.2.0-ARM64.zip


Create UV Editor Window; or better curved UV algorithm.

Curved brushes are incredibly difficult to UV map seamlessly with the surface tools currently available in SabreCSG. AutoUV can't generate satisfying UVs. It would be nice to have a UV editor window that can deal with these types of scenarios or introduce another AutoUV that can handle curvature better.

Edit: Research Notes

Cube Projection appears to be a simple yet powerful candidate that can solve this.
Stackoverflow: Automatically generating UV coordinates algorithms
Blender: ED_uvedit_unwrap_cube_project

Doesn't the Follow Face uving option (ie. CTRL+SHIFT+LMB) UV this just
fine? Or does it produce different results to this?
On 23 March 2018 at 21:36, Henry de Jongh<EMAIL_ADDRESS>wrote:

Curved brushes are incredibly difficult to UV map seamlessly with the
surface tools currently available in SabreCSG. AutoUV can't generate
satisfying UVs. It would be nice to have a UV editor window that can deal
with these types of scenarios.
[image: image]
https://user-images.githubusercontent.com/7905726/37824632-8abd56fc-2e8d-11e8-9c39-308f6ea08827.png
[image: uvreason1]
https://user-images.githubusercontent.com/7905726/37824519-3514a62e-2e8d-11e8-80cc-68174d994e13.png
[image: uvreason2]
https://user-images.githubusercontent.com/7905726/37824521-378b7f36-2e8d-11e8-8d4a-5f0d7b572244.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sabresaurus/SabreCSG/issues/67, or mute the thread
https://github.com/notifications/unsubscribe-auth/AU8jxToIfuKhlPRg4pvwZLnWvfZfAnBmks5thNArgaJpZM4S4f6b
.

I love how you always... lol, not again! I thought that was some awkward feature that didn't let you select the wrong face or something. I added this feature to the wiki accordingly. I can't thank you enough, your comments are truly invaluable. 😁
I think that follow face is able to produce the same results yes. I should make it more user friendly though, can't be bothered to click a hundred times. The algorithm I suggested (an edit that you probably didn't see in your email, the Cube Projection Algorithm) would take care of this too:

Perhaps if follow face is as user friendly as selecting faces is these days, there's no need to implement another algorithm.


[Bug]: share_plus_platform_interface 3.1.0 is incompatible with Flutter < 3.3.0

Platform
Flutter 3.0.5
Plugin
share_plus_platform_interface
Version
3.1.0
Flutter SDK
3.0.5
Steps to reproduce

Install Flutter 3.0.5
Add share_plus: 4.5.0, share_plus_platform_interface: 3.1.0 to pubspec.yaml
Execute flutter run or flutter build
Build fail

Code Sample
dependencies:
  flutter:
    sdk: flutter

  share_plus: 4.5.0
  share_plus_platform_interface: 3.1.0

Logs
timekone$ flutter run --verbose
[ +112 ms] executing: sysctl hw.optional.arm64
[  +26 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[   +8 ms] executing: [/Users/timekone/development/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +34 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] executing: [/Users/timekone/development/flutter/] git tag --points-at
f1875d570e39de09040c8f79aa13cc56baab8db1
[ +167 ms] Exit code 0 from: git tag --points-at
f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] 3.0.5
[   +9 ms] executing: [/Users/timekone/development/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/timekone/development/flutter/] git ls-remote
--get-url origin
[  +15 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +106 ms] executing: [/Users/timekone/development/flutter/] git rev-parse
--abbrev-ref HEAD
[  +20 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +8 ms] executing: sw_vers -productName
[  +20 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 12.6
[        ] executing: sw_vers -buildVersion
[  +18 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 21G115
[        ] executing: uname -m
[   +6 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +66 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
....
[   +7 ms] executing: /Users/timekone/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +288 ms] Exit code 0 from: /Users/timekone/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[   +1 ms] openjdk version "11.0.8" 2020-07-14
           OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
           OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6916264, mixed mode)
[   +1 ms] executing:
[/Users/timekone/AndroidStudioProjects/flutter/share_plus_test/android/]
/Users/timekone/AndroidStudioProjects/flutter/share_plus_test/android/gradlew
-Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=/Users/timekone/AndroidStudioProjects/flutter/share_plus_test/lib/main.
dart -Pbase-application-name=android.app.Application
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=false
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1946 ms]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:25:5: Error: Type 'Rect' not found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[   +4 ms]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:50:5: Error: Type 'Rect' not found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:78:5: Error: Type 'Rect' not found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:107:5: Error: Type 'Rect' not
found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:140:5: Error: Type 'Rect' not
found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[+3392 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[+2347 ms]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:25:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[   +1 ms]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:50:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[   +1 ms]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:78:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:107:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[   +1 ms]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:140:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[+1526 ms] > Task :app:compileFlutterBuildDebug
[   +2 ms]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:25:5: Error: Type 'Rect' not found.
[   +3 ms]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:50:5: Error: Type 'Rect' not found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:78:5: Error: Type 'Rect' not found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:107:5: Error: Type 'Rect' not
found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:140:5: Error: Type 'Rect' not
found.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[+3687 ms]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:25:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:50:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:78:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:107:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[        ]
../../../.pub-cache/hosted/pub.dartlang.org/share_plus_platform_interface-3.1.0/
lib/method_channel/method_channel_share.dart:140:5: Error: 'Rect' isn't a type.
[        ]     Rect? sharePositionOrigin,
[        ]     ^^^^
[+4396 ms] > Task :app:compileFlutterBuildDebug FAILED
[ +101 ms] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script
'/Users/timekone/development/flutter/packages/flutter_tools/gradle/flutter.gradl
e' line: 1156
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > Process 'command '/Users/timekone/development/flutter/bin/flutter''
finished with non-zero exit value 1
[        ] * Try:
[        ] > Run with --stacktrace option to get the stack trace.
[        ] > Run with --info or --debug option to get more log output.
[        ] > Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 17s
[        ] Deprecated Gradle features were used in this build, making it
incompatible with Gradle 8.0.
[        ] You can use '--warning-mode all' to show the individual deprecation
warnings and determine if they come from your own scripts or plugins.
[        ] See
https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_li
ne_warnings
[        ] 1 actionable task: 1 executed
[ +449 ms] Running Gradle task 'assembleDebug'... (completed in 18.5s)
[   +6 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +2 ms] "flutter run" took 23,825ms.
[   +7 ms]
           #0      throwToolExit
(package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand
           (package:flutter_tools/src/commands/run.dart:699:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand
(package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand
           (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure>
           (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

[ +159 ms] ensureAnalyticsSent: 157ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

### Flutter Doctor

```shell
flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.6 21G115 darwin-x64, locale
    en-GB)
    • Flutter version 3.0.5 at /Users/timekone/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (3 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version
    31.0.0-rc4)
    • Android SDK at /Users/timekone/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0-rc4
    • Java binary at: /Users/timekone/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Users/timekone/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/timekone/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.71.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.48.0

[✓] Connected device (3 available)
    • Pixel 6 (mobile) • 21081FDF6006LZ • android-arm64  • Android 13 (API 33)
    • macOS (desktop)  • macos          • darwin-x64     • macOS 12.6 21G115
      darwin-x64
    • Chrome (web)     • chrome         • web-javascript • Google Chrome
      105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Checklist before submitting a bug

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

It looks like the bug was caused by the 7b6eae2 commit.
In the newest Flutter version, dart:ui import is exposed in import 'package:flutter/services.dart';.
Should we set minimum flutter version requirement to 3.3.0?

I have same problem

https://github.com/flutter/flutter/pull/106316

same problem using flutter 3.0.5,   share_plus: 4.0.10
share_plus_platform_interface-3.1.0/lib/method_channel/method_channel_share.dart:140:5: Error: 'Rect' isn't a type.
Rect? sharePositionOrigin,

Looks like this is a duplicate of #1160

What a mess.
I will revert the feature, and re-release under a major version bump with a requirement for Flutter 3.3.0

To reproduce:

Switch to flutter 3.0.5
Create a new flutter project flutter create ...
Add share_plus flutter pub add share_plus
Run the project flutter run

I guess a fix can be release by replacing Rect with something else which is compatible (what was before)

Seems that removing dart:ui here caused the issue: https://github.com/fluttercommunity/plus_plugins/pull/1153/files#diff-bf35c0a6ad993399c6296e22f82b441af157daa7353adeb5a1947b65da5cab59L2

Got the same issue and the workaround for me is adding
dependency_overrides:
  share_plus_platform_interface: 3.0.3

Should be fixed in 3.1.1, please do a flutter pub upgrade to get the latest platform interface code

@ThexXTURBOXx actually it was not your fault, the issue is that Flutter Analyze reported the import as unnecessary, so we removed it here: https://github.com/fluttercommunity/plus_plugins/commit/7b6eae29efe4abc0a65791b0a7a775605da7d63e#diff-51e7363271da2f1416fdf9b80d2580f3d03d65b377fd29bf283066d80d225beeL6


[FEA] Cluster/pack multi_get_json_object paths by common prefixes

Is your feature request related to a problem? Please describe.
In the latest code for the multi-get_json_object code we now process multiple paths for a single row in a single warp. The advantage for this is that we should have less cache issues as the data is shared and we should also have less thread divergence as it is processing the same data (at least for validation).  It would be even better for thread divergence if we could also cluster the paths by common prefixes and then do some packing knowing that a warp has 32 threads. In my testing with just a hacked up sort I saw on one query a 10% performance improvement.

I saw a 10% improvement on T4 GPUs too.

I did a bunch of other performance tests grouping things in different ways and I think we could speed up some queries by 25% to 35% with more tuning. But that is going to require us to reduce the memory requirements enough that we can get a lot more paths running in parallel https://github.com/NVIDIA/spark-rapids-jni/issues/2247 and then we can do a better job with clustering.


Add fizzbuzz_v2.py

Create an alternative FizzBuzz solution in Python

Hi, thanks for contributing! I see that there is no way to enter user input for how far to go for FizzBuzz. You have made it static at 18. Change this and I will go ahead with the merge 👍

I would also appreciate it if you could star this repo as it helps us get more contributors. Thanks in advance!

Hello, you need to enable edit mode on Pull Requests. Refer to docs page.

For some reason, I am able to edit everyone else's pull requests but not yours. I am also not seeing any option to enable edit mode on this page as per the docs. Why don't you just edit the python document by allowing user input to be the max it goes on for FizzBuzz.

Have you first forked this repo? Because it says you want to merge 1 commit from an unknown repo.


[BUG] Discord Activity Integration is broken after recent Discord update

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?

After a recent Discord update that changed the layout and format of activities, it no longer shows the specific game youre playing nor the option to join your game from the activity box
Bloxstrap Log
N/A

Works fine for me and others. Have you read https://github.com/pizzaboxer/bloxstrap/wiki/Discord-Rich-Presence-does-not-work?

Works fine for me and others. Have you read https://github.com/pizzaboxer/bloxstrap/wiki/Discord-Rich-Presence-does-not-work?

I havent before but checking it now, none of the aforementioned solutions and recommendations on that page have solved this issue yet

Discord hides the button for your own profile. It'll show for other people.


adding id-token write permission for code review action

Codecov Report
Patch coverage has no change and project coverage change: -0.48 :warning:

Comparison is base (1e0ed97) 68.88% compared to head (69c1a02) 68.40%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##              int     #393      +/-   ##
==========================================
- Coverage   68.88%   68.40%   -0.48%
==========================================
  Files          15       15
  Lines        1671     1671
==========================================
- Hits         1151     1143       -8
- Misses        399      409      +10
+ Partials      121      119       -2

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Unity freezes when importing extracted 4.2.2f1 meshes and/or prefabs

A macOS user asked me to extract https://steelraven7.itch.io/root-arena (free small game).
I extracted files level0-level3 with both UtinyRipper and UtinyRipperFull - both latest x64 versions.
Extraction seems to work well.
When I try to import the files into Unity on Windows x64, in some cases loading the meshes folder (utinyripperfull) freezes unity and in some cases loading the prefabs folder (utinyripper, level2) freezes unity.
Results seem to be the same for Unity 5.6, 2017 and 2018.
For the macOS user, Unity crashes rather than freezing.
Warning during extraction:
Import: Asset collection has versions probably incompatible with each other. Here they are:
Import: 4.2.0f1
Import: 4.2.2f1

Thank you so much for fantastically quickly fixing this.
As for avatars, I don't know their purpose. I speculate only the level geometry was relevant in this case.


Prometheus scrape configuration file not working

I created a prometheus scrape configuration yaml file 'scrape.yaml' in the addons_config/victoria_metrics.
The documentation says you just have to enter the filename into the configuration field 'Prometheus scrape configuration file' of the addon. So I filled it with 'scrape.yaml'.
Restarting the Addon then shows the following error in the log:
fatal	VictoriaMetrics/lib/promscrape/scraper.go:118	cannot read "/config/scrape.yaml": cannot read Prometheus config from "/config/scrape.yaml": cannot read "/config/scrape.yaml": open /config/scrape.yaml: no such file or directory
VictoriaMetrics tries to read the file from /config folder instead of the expected /addons_config/victoria_metrics folder. I then moved the scrape.yaml to the /config folder and restartet but this also didn't work.

The extra scrape.yaml goes in the /addons_config/8f49de54_victoria_metrics folder. It won't work if you put it in the /addons_config/victoria_metrics folder.


[DC-391] Person id validation cleaning rules

@lrwb-aou thank you for adding the changes we discussed. Sorry, I'm only detecting this issue now- but I tested the query by running get_person_id_validation_queries and pasting one of the output queries in the BigQuery console. It complains that column name person_id is ambiguous:

Replacing it with entry.person_id seems to fix this. To be safe, you may want to qualify all output fields like this as there are other "foreign keys" which will present the same issue. For example, condition_occurrence.provider_id:

Thanks for catching that.  I had checked the update and delete queries.  I guess I forgot to check the select queries.


Simple nodejs server

Site should be usable with a standard webserver or with a built in node webserver.
This is convenient as the built in server could automatically generate the manifests and retrieve RSS feeds periodically.

why?


openai-whipser: Add rocm support flag

Adds rocmSupport flag for torchWithRocm package inclusion.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I suggest just having torch in the arguments and having an override for the cuda/rocm variants in python-packages, like we do with torch.
{
  openai-whisper-cuda = openai-whisper.override {
    cudaSupport = true;
    rocmSupport = false;
    torch = torchWithCuda;
  };

  openai-whisper-rocm = openai-whisper.override {
    cudaSupport = false;
    rocmSupport = true;
    torch = torchWithRocm;
  };
}


In pdf viewer presentation mode PDF's href links are not working

In pdf viewer presentation mode href links are not working. Its working in normal preview mode hyperlink not working only in component presentation mode.
I have attached the pdf file for your reference.
Go to Page #:  7
Please click the button highlighted in yellow.

treatment-guidelines-for-diabetes-presentation (3).pdf
browser chrome.
PDF.js version: pdfjs-1.5.188-dist
I have tried in pdf.js demo also. PDF's href are not working.. Kindly help me to fix this asap.

External links are purposely disabled in Presentation Mode, to prevent the user from accidentally navigating away from the PDF file whilst Presentation Mode is active.
Please note that Presentation Mode is intended as a very simplified mode just for showing a PDF file. If you want all of the features of the default viewer, I'd suggest that you instead utilize the "Full Screen" mode of the browser itself (which can usually be toggled using e.g. the F11 key).
Closing as answered, since this is working as intended.

@Snuffleupagus are there any configuration options that I could change to allow hyperlinks in presentation mode?

@Snuffleupagus same issue for me. I have link in the pdf. I have used viewer.js and turn.js and showed the pdf as flipbook. There is youtube link in the pdf which is totally not clickable. I also tried with simple link in the pdf as www.google.co.in but even normal  href is not clickable. Breaking my head for last 2 days. Kindly help me out. are there any configuration options for this..??


Authorize everybody to delegate access

This is a fixup for #133 which had several issues:

a vulnerability: anyone could use the api directly to generate valid
access token for any container as long they had valid creds (so they
could bypass the authorization check).
the "grant access" button was only visible to super admins

Now "grant access" button is always visible.
Change-Id: Ibae676c3f794cbc205bc5e928703140bed66eb6d

I've made test pass (adapting tests to new behavior) and thus merged


XYZpoint from latitude/longitude

It would be most helpfull if the KdTree.XYZPoint included the math for mapping a latitude/longitude pair into the 3 dimensional XYZpoint.
I think it is something along the line of
point[0] = cos(toRadians(latitude)) * cos(toRadians(longitude));
point[1] = cos(toRadians(latitude)) * sin(toRadians(longitude));
point[2] = sin(toRadians(latitude));

Sorry but it gets a bit more complicated to get true XYZ from lat/lon. see:
http://stackoverflow.com/questions/1185408/converting-from-longitude-latitude-to-cartesian-coordinates

@hoerup I added a new XYZPoint(double lat, double lon) constructor given clarification that it doesn't take curvature of the earth into consideration.


CI : don't run k8s tests on virtualized environment

run skydive-functional-tests-backend-elasticsearch

@nplanel - why have we introduced this? I plan to use minikube on VirtualBox (devmode) and expect minikube/helm to install as part of running the functional test

k8s cannot run on top of VM as they will generate nested VM (and crash the root/host VM) https://github.com/kubevirt/kubevirt/issues/940
I will fix that by pin special job on baremetal slaves

run skydive-k8s-tests

run skydive-k8s-tests

run skydive-functional-tests-backend-elasticsearch

run skydive-vagrant-tests

run skydive-create-vagrant-boxes

run skydive-devstack-tests

run skydive-kolla-tests

run skydive-kolla-tests

run skydive-vagrant-tests


@NewSpan not wok in reactive project

Describe the bug
@NewSpan did not create a new Span if I register a bean  SpanHandler in my project
like this in my Configuration
    @Bean
    SpanHandler handleWebClientCustomizeTag() {
        return new SpanHandler() {
            @Override
            public boolean end(TraceContext traceContext, MutableSpan span, Cause cause) {
                if ("CLIENT".equalsIgnoreCase(span.kind().name())) {
                    span.tag("name", "evan");
                }
                return true; // keep this span
            }
        };
    }

can anyone help to fix this issue?
or this SpanHandler does not allow to exits in the reactive projects? thanks

Can you please answer all the required questions described in the issue template? For your convenience let me paste it here

Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.
Sample
If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.

Can you provide a complete, minimal, verifiable sample that reproduces the problem rather than pasted code? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

Can you please answer all the required questions described in the issue template? For your convenience let me paste it here

Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.
Sample
If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.

Can you provide a complete, minimal, verifiable sample that reproduces the problem rather than pasted code? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

sorry， it causes by my project logic, as @NewSpan will not contain Kind value
but from here
@Bean
SpanHandler handleWebClientCustomizeTag() {
return new SpanHandler() {
@Override
public boolean end(TraceContext traceContext, MutableSpan span, Cause cause) {
if ("CLIENT".equalsIgnoreCase(v)) {
xxx
}
return true; // keep this span
}
};
}
    @Bean
SpanHandler handleWebClientCustomizeTag() {
    return new SpanHandler() {
        @Override
        public boolean end(TraceContext traceContext, MutableSpan span, Cause cause) {
            if ("CLIENT".equalsIgnoreCase(span.kind().name())) {
                span.tag("name", "evan");
            }
            span.tag("name", "gg");
            return true; // keep this span
        }
    };
}
span.kind().name() will got Nullpointer Exception, and make new span fail
will close this issue. thx


Currently incompatible with Nextjs/SSR

Hi,
thanks for this! Technically coming from font-picker-react, but the underlying issue is in here.
Currently, importing FontPicker imports font-manager, which imports loadFontPreviews, which imports dependencies from './font-styles/declarations.
When initially loading that file, it will instantly try append a style element to <head>.
Can probably be easily fixed by something like:
let previewFontsStylesheet: HTMLStyleElement;

/**
 * Add declaration for applying the specified preview font
 */
export function applyFontPreview(previewFont: Font, selectorSuffix: string): void {
	if(!previewFontsStylesheet && typeof document !== 'undefined') {
		previewFontsStylesheet = document.createElement('style');
		document.head.appendChild(previewFontsStylesheet);
	}

	const fontId = getFontId(previewFont.family);
	const style = `
			#font-button-${fontId}${selectorSuffix} {
				font-family: "${previewFont.family}";
			}
		`;
	previewFontsStylesheet.appendChild(document.createTextNode(style));
}

Thanks for opening the issue! Would you be interested in creating a PR?

Afraid not, I was just opening this on behalf of someone else

One workaround for this is to avoid SSR like so:
import dynamic from "next/dynamic";

const FontPicker = dynamic(() => import("font-picker-react"), {
    ssr: false,
});

I've opened a PR that fixes this issue


Next steps

To do list from meeting today with @roylrich @selinalcheng @stephpenn1

[x] preserve T05A information from raw - this has to be done in compasstools
[x] output file names should include rows/cols of data
[x] output files name could include a brief hash
[ ] what are error codes for instruments? They should become NA
[ ] "sn" - look for this - should travel with data
[x] TIMESTAMP_raw
[x] L1a has the raw timestamps as well, and not 15-min averages
[x] L1b has rounded timestamps, and only 15 min averages
[x] metadata - generate a file-level file #31

Roy says: you only need "sn" to travel with the data for the ExoTables, where I belei

Thanks! Here's an ExoTable header:
"TOA5","Compass_PTR_W_311","CR1000X","28723","CR1000X.Std.05.01","CPU:COMPASS_v3.3.CR1X","53163","ExoTable"
"TIMESTAMP","RECORD","PB","Statname","Date","Time","Conductivity","FDOM_QSU","FDOM_RFU","NLF_conductivity","ODO_sat","ODO_local","ODO_MgL","Pressure_psia","Salinity_PPT","Specific_Conductivity_uScm","Wiper_Position_mv","pH","pH_mv","Temp_C","Depth_m","Battery_v","Cable_v","Wiper_Current_ma","sn","snn"
"TS","RN","","","mmddyy","hhmmss","uS/cm","QSU","RFU","uS/cm","%Sat","%SatLocal","mg/L","psia","ppt","uS/cm","mv","pH","mv","Celsius","meters","volts","volts","ma","",""
"","","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp","Smp"

So, is "28723" the serial number here? 🙏

Bzzzzt OH I SEE you mean the "sn" and "snn" columns. Never mind, got it!

Oh yep, sorry! Those are the column headers.

All done here except for the error code issue which is also mentioned in #49


Fixup unittest-statistics.py output

Also includes a commit to update the check-dnsseeds.py output in README.md.

LGTM, ACK 1f7c13b1f5b62ac9dc86bc41bed092403205a011


Fix test issue

Unnecessary split. The url returns a string without the hash, resulting in an undefined value and making the test fails.

I signed it!

in the actual phonecat codebase we're using toEqual() for some reason (???) but this (otherwise) matches up with it, so looks good to me