tests: taddons tctx.configure does not call configure on addon

On git-master, if you have an addon foo.py with an added option foo:
a = tctx.script(tdata.path("foo.py"))
tctx.configure(a, foo='bar')

the ctx.options.foo gets updated, but the configure of addon a does not get called, and the addon therefor never re-configures itself to use the new option value.
@cortesi introduced this breaking change https://github.com/mitmproxy/mitmproxy/commit/236a2fb6fde4ff8837f85cf0a217f915b0bfed79#diff-e447662b406664bed7663e2bd8531104L115 in 236a2fb6f - looking at the diff, the previous behaviour make more sense to me: updating the options, and then calling configure on the addon.
This currently blocks #2861 due to failing tests. I'm wondering if other tests are affected as well, but never got noticed due to default values that just happen to work out of the box...
/cc @mhils

For testing my addons I've hacked it like this:
def tctx_configure(tctx, addon, **kwargs):
    tctx.configure(addon, **kwargs)
    addon.configure(tctx.options)

I'm configuring addon with all of the options (not just kwargs), because otherwise it doesn't receive default values.


which model does the web demo use?

thanks for sharing your work!
I have tried the cogvlm-base-224 and cogvlm-base-490 with cli_demo.py, I use the the same image and text input, but get different answer, and the cli_demo's answer seems be incoherent and inconsistent with the image. The answer of web demo is detailed and accurate, however, the answer I got is very short and not accurate. I use the following command:
python cli_demo.py --from_pretrained /local_path/cogvlm-base-490 --local_tokenizer /local_path/vicuna-7b-v1.5 --version base --english --bf16 --no_prompt --top_k 5
I download all the ckpt to the local_path, so I use local path to load model. Could tell me how to get the performance like the web demo show. thanks a lot.

If you want detailed and accurate answer, you should use cogvlm-chat.

Hello @1049451037,
what would be the best parameters for temperature, top_p, top_k, for the model to generate the most detailed and accurate answers (i.e. image captions)? thank you

cc @iyuge2

If you want detailed and accurate answer, you should use cogvlm-chat.

thanks, cogvlm-chat works well.

@1049451037  is cogvlm-chat model weights are purposable for commercial applications ? , I have seen the paper , it seems their training data is some what came from gpt4-text  right ? asking this clarification

the web demo are updated,and cogagent-chat cogvlm-chat cogvlm-grounding will be used


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/1038 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit 40f4f55:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source' (branch: Release_Archive_main_2022-02-16-05-11-15) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


can't use google maps custom icons

BitmapDescriptorFactory.FromBundle android crash
tried
*changing the image format
*tried changing the build action to Embedded Resource and AndroidResource
*tried without extension
*currently using vs 2017 and PCL
*only works with default marker

You should add icon.png to Assets folder and set BuildAction to AndroidAsset.
See also:

https://github.com/amay077/Xamarin.Forms.GoogleMaps/tree/master/XFGoogleMapSample/Droid/Assets
https://github.com/amay077/Xamarin.Forms.GoogleMaps/blob/master/XFGoogleMapSample/XFGoogleMapSample/CustomPinsPage.xaml.cs#L218

Close this because no longer response.


Serving HTTP in Access Point Mode

I have a use case where you don't want a build-in SSID and PASS for connecting to a wifi network. Instead the user should connect to the ESP accesspoint and then a web page shows where the user can enter the SSID and PASS of the local network. When provided the info is stored in EEPROM for future use and a connection to the wifi network is created.I have an implementation in .cpp (platform.io) where this works by connecting to <IP_ADDRESS> by default. This IP address can be changed.
When running the demo I can connect to the accesspoint "aptest' but what IP address should I use to connect to the 'httpd' function in the demo?

The default one.


Make ImmutableJS optional

This is not high priority.
It would be nice to either

Create the option of ImmutableJS, seamless-immutable, or no immutability.
Migrate from ImmutableJS to seamless-immutable.

After trying this out on a branch, I've come to the conclusion that this isn't worth it.
If anyone posts this as a request in the future (most likely to save on the library size), perhaps I can switch to seamless-immutable or react-addons-update.
As it is, because immutable is wrapped by selectors, it won't "infect" user components.


Optimize Dockerfile, add arm64!

Removing "--platform=" and slightly re-structuring the "apt-get" calls allows for this image to be successfuly built for arm64 as well - at least on an arm64 host.
Successfuly built it on my system and it's working too! The reason I did that is because Prisma currently doesn't know what to do on OpenWrt; it pulls Debian binaries by default, which use glibc - whilst OpenWrt runs on musl, breaking compatibility in many ways. So, I adapted the Dockerfile to work around that.
Long-term plan is to use docker-compose - raw docker CLI feels tedious... But, one thing at a time.

I just realized I typo'd my commit message... oops.
Do you happen to know how I can change that?

I just realized I typo'd my commit message... oops.
Do you happen to know how I can change that?

If your branch ain't protected, just amend those commits & force push.
https://stackoverflow.com/questions/26050327/how-does-git-commit-amend-work-exactly
You might also, as an alternative, hard reset your branch to a previous commit & then completely re-commit anew.

Thanks @theAkito :) amend/force push was what I needed since it was exactly one commit and the most recent one ontop of that.
Darn typos... Anyway, this is now ready to merge!

oh wow, just seeing this; sorry it took so long! I am a total docker noob so this is greatly appreciated!


Made the logon optional in case one already logged on

@alstolten. CF CLi stores an access token locally after a logon. The idea is maximum reuse over days. The script in current form forced the user to re-logon every time aborting existing logons. I changed the script so it will ask before executing a new log on.
Please review and tell me or @mwdb to merge it.

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

@Essenpreis great idea, thank you for the contribution! Will check if I can make this available for the bash script also.

@Essenpreis please sign the Contributor Licence Agreement :-) Thanks!

@alstolten . Finalized the version. Wdyt? Want to give me a review?

Hi @Essenpreis looks good for me. I believe you still need to sign the CLA to be able to contribute. Before we could merge we then need the tests to be fixed, but that is not related to the logcollector.


Examples for adding a new type of filth detector does not work.

The example here doesn't seem to work. https://scrubadub.readthedocs.io/en/latest/usage.html#adding-a-new-type-of-filth-detector
I am using python 3.9.5 in a Jupyter notebook.

Yep you're right, thanks for the report. A working example will include
filth_cls = MyFilth
just under line 7 (name = ...).
Hopefully that'll work for you.

Thanks Thomas.


[SEMANTIC-221] [Bug] Query building for second+ level derived metrics does not respect metrics hierarchy

Is this a new bug in dbt_metrics?

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

Current Behavior
In a specific dbt project, we have four levels of metrics:

First level of simple metrics: gross_sales, discounts and shipping
Second level with a single derived metric: net_sales = gross_sales + discounts + shipping
Third level with a single derived metric: gross_margin = net_sales - total_spend_on_paid_marketing
Fourth level with a single derived metric: gm_over_rev = gross_margin/net_sales

The fourth level metric cannot be calculated due to the way the query has been constructed by dbt-metrics - please see below for the part of the query that is causing the error (obtained with select * from {{metrics.calculate([metric('gm_over_rev')], grain="week")}}):
, join_metrics__998 as (
select
    join_metrics__997.*,
    ( net_sales- total_spend_on_paid_marketing) as gross_margin,
    (gross_sales + discounts + shipping) as net_sales
from join_metrics__997
)

As can be deduced, this SQL code produces the following error:
"invalid identifier 'NET_SALES'".
Expected Behavior
Related to the part of the query shown above, it would be expected to be built by dbt-metrics in the following way:
, join_metrics__998 as (
select
    join_metrics__997.*,
    (gross_sales + discounts + shipping) as net_sales,
    ( net_sales- total_spend_on_paid_marketing) as gross_margin
from join_metrics__997
)

Steps To Reproduce
In a dbt project, the following metrics should be created:

First level of simple metrics: gross_sales, discounts and shipping
Second level with a single derived metric: net_sales = gross_sales + discounts + shipping
Third level with a single derived metric: gross_margin = net_sales - total_spend_on_paid_marketing
Fourth level with a single derived metric: gm_over_rev = gross_margin/net_sales

After having created them, the following macro should be tried to run:
select * from {{metrics.calculate([metric('gm_over_rev')], grain="week")}}
Relevant log output
No response
Environment
- dbt-adapter & version: 1.4.5
- dbt_metrics version: 1.4.1

Which database adapter are you using with dbt?
snowflake
Additional Context
No response

@josepfranquetf can you post the full query here?  Unfortunately the proposed sql wouldn't work in all databases because some of them don't allow you to reference aliased columns in then same CTE. The package should be creating a CTE for each of the levels and not trying to combine the 2nd and 3rd metrics 🤔 .

Hi @callum-mcdata, of course! The full query built by dbt-metrics for the macro select * from {{metrics.calculate([metric('gm_over_rev')], grain="week")}} ts the following one:
with calendar as (
    select
        *
    from pro.dbt_metrics_default_calendar

)

, model_3e8185706501bb758848d101d0b952ff__aggregate as (

    select
        date_week,
        boolor_agg(metric_date_day is not null) as has_data,
        sum(property_to_aggregate__gross_sales) as gross_sales,
        sum(property_to_aggregate__discounts) as discounts,
        sum(property_to_aggregate__shipping) as shipping
    from (
        select
            cast(base_model.datetime as date) as metric_date_day,
            calendar.date_week as date_week,
            calendar.date_day as window_filter_date,
            (gross_sales / (1+tax_rate)) as property_to_aggregate__gross_sales,
            (discounts / (1 + tax_rate)) as property_to_aggregate__discounts,
            (shipping_revenue / (1 + tax_rate)) as property_to_aggregate__shipping
        from pro.fct_shopify base_model

        left join calendar
            on cast(base_model.datetime as date) = calendar.date_day

        where 1=1

    ) as base_query

    where 1=1
    group by 1

), model_3e8185706501bb758848d101d0b952ff__final as (

    select
        parent_metric_cte.date_week,
        coalesce(gross_sales, 0) as gross_sales,
        coalesce(discounts, 0) as discounts,
        coalesce(shipping, 0) as shipping
    from model_3e8185706501bb758848d101d0b952ff__aggregate as parent_metric_cte
)

, model_60ef5e8665755caae247102905c07008__aggregate as (

    select
        date_week,
        boolor_agg(metric_date_day is not null) as has_data,
        sum(property_to_aggregate__spend_on_fb_ads_eur) as spend_on_fb_ads_eur
    from (
        select
            cast(base_model.date_start as date) as metric_date_day,
            calendar.date_week as date_week,
            calendar.date_day as window_filter_date,
            (spend) as property_to_aggregate__spend_on_fb_ads_eur
        from pro.fct_fb_ads_insights_country base_model

        left join calendar
            on cast(base_model.date_start as date) = calendar.date_day

        where 1=1

    ) as base_query

    where 1=1
    group by 1

), model_60ef5e8665755caae247102905c07008__final as (

    select
        parent_metric_cte.date_week,
        coalesce(spend_on_fb_ads_eur, 0) as spend_on_fb_ads_eur
    from model_60ef5e8665755caae247102905c07008__aggregate as parent_metric_cte
)

, model_e552cdd59fd113ca1df168a7d5d8ba3f__aggregate as (

    select
        date_week,
        boolor_agg(metric_date_day is not null) as has_data,
        sum(property_to_aggregate__spend_on_tiktok_ads_eur) as spend_on_tiktok_ads_eur
    from (
        select
            cast(base_model.stat_time_day as date) as metric_date_day,
            calendar.date_week as date_week,
            calendar.date_day as window_filter_date,
            (metrics_spend) as property_to_aggregate__spend_on_tiktok_ads_eur
        from pro.fct_tiktok_ads_report_country base_model

        left join calendar
            on cast(base_model.stat_time_day as date) = calendar.date_day

        where 1=1

    ) as base_query

    where 1=1
    group by 1

), model_e552cdd59fd113ca1df168a7d5d8ba3f__final as (

    select
        parent_metric_cte.date_week,
        coalesce(spend_on_tiktok_ads_eur, 0) as spend_on_tiktok_ads_eur
    from model_e552cdd59fd113ca1df168a7d5d8ba3f__aggregate as parent_metric_cte
)

, model_8c892f56e91ae35ef3e11dac95d6ceed__aggregate as (

    select
        date_week,
        boolor_agg(metric_date_day is not null) as has_data,
        sum(property_to_aggregate__spend_on_google_ads_eur) as spend_on_google_ads_eur
    from (
        select
            cast(base_model.date as date) as metric_date_day,
            calendar.date_week as date_week,
            calendar.date_day as window_filter_date,
            (cost) as property_to_aggregate__spend_on_google_ads_eur
        from pro.gads_campaigns base_model

        left join calendar
            on cast(base_model.date as date) = calendar.date_day

        where 1=1

    ) as base_query

    where 1=1
    group by 1

), model_8c892f56e91ae35ef3e11dac95d6ceed__final as (

    select
        parent_metric_cte.date_week,
        coalesce(spend_on_google_ads_eur, 0) as spend_on_google_ads_eur
    from model_8c892f56e91ae35ef3e11dac95d6ceed__aggregate as parent_metric_cte
)

, first_join_metrics as (

    select
        date_week,
        coalesce(gross_sales,0) as gross_sales,
        coalesce(discounts,0) as discounts,
        coalesce(shipping,0) as shipping,
        coalesce(spend_on_fb_ads_eur,0) as spend_on_fb_ads_eur,
        coalesce(spend_on_tiktok_ads_eur,0) as spend_on_tiktok_ads_eur,
        coalesce(spend_on_google_ads_eur,0) as spend_on_google_ads_eur
    from model_3e8185706501bb758848d101d0b952ff__final
    full outer join model_60ef5e8665755caae247102905c07008__final
        using (
            date_week
        )
    full outer join model_e552cdd59fd113ca1df168a7d5d8ba3f__final
        using (
            date_week
        )
    full outer join model_8c892f56e91ae35ef3e11dac95d6ceed__final
        using (
            date_week
        )

)

, join_metrics__997 as (

    select
        first_join_metrics.*
        , ( spend_on_fb_ads_eur +  spend_on_tiktok_ads_eur+ spend_on_google_ads_eur) as total_spend_on_paid_marketing
    from first_join_metrics

)

, join_metrics__998 as (

    select
        join_metrics__997.*
        , ( net_sales- total_spend_on_paid_marketing) as gross_margin
        , (gross_sales + discounts + shipping) as net_sales
    from join_metrics__997

)

, join_metrics__999 as (

    select
        join_metrics__998.*
        , (div0 (gross_margin, net_sales)) as test
    from join_metrics__998

)

, joined_metrics as (

    select
        date_week,
        gross_sales,
        discounts,
        shipping,
        spend_on_fb_ads_eur,
        spend_on_tiktok_ads_eur,
        spend_on_google_ads_eur,
        total_spend_on_paid_marketing,
        gross_margin,
        net_sales,
        test
    from join_metrics__999

)

select
    date_week ,
    gross_sales,
    discounts,
    shipping,
    spend_on_fb_ads_eur,
    spend_on_tiktok_ads_eur,
    spend_on_google_ads_eur,
    total_spend_on_paid_marketing,
    gross_margin,
    net_sales,
    test
from joined_metrics

order by 1 desc

) metric_subq
        )`

@josepfranquetf Are net_sales and gross_margin both derived metrics? I am not entirely sure how this kind of pattern could occur because the logic is supposed to prevent the reference to a constructed metric within the same CTE.

Yes @callum-mcdata, both are derived metrics. Concretely:

net_sales (derived metric)= gross_sales (simple metric) + discounts (simple metric) + shipping (simple metric)
gross_margin (derived metric) = net_sales (derived metric) - total_spend_on_paid_marketing (derived metric)

Hi @josepfranquetf - I am unable to recreate this error. In the integration tests I added a fourth level metric and it correctly recognized the dependency between the metrics to nest them at the correct depth. I wonder if something is unique in your metric definitions 🤔


Feature/rqes module

A bad attempt at seperating RQES related files into two modules rqes-data-classes and vck-rqes with the latter being a placeholder for additional services which may or may not merge with vck-openid depending on how pure we want to keep that module.
This current version has the following short-comings:

rqes-data-classes is a dependency for everything
QesInputDescriptor should be in rqes-data-classes but is in dif-data-classes for serialization reasons
SignatureRequestParameters should be in rqes-data-classes but is in oauth-data-classes for serialization reasons

Better ideas/improvements very welcome

Rebase to #149

This should now be a clean seperation of data modules and vck-rqes.
I am not sure about CSCAuthenticationRequest yet but since it does not interfere with the current functionality I will deal with it in #127 or a seperate pull request.


If only one function is passed to composeK, composeK will return that…

Related to issue #2380
where if only one function is passed to composeK, composeK will try to pass an empty array to compose which will throw as it requires at least one argument.

Sorry took so long, will write extra test cases for it now.


vscode.window.activeTextEditor.insertSnippet() fails with error

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.74.2
OS Version: W11

Steps to Reproduce:
const editor = vscode.window.activeTextEditor;
if (editor)
  return await editor.edit(async (_) => {
    await editor.insertSnippet(_snippetConverter(snippet), range);
  });

My snippetConverter() returns a snippet whose value is:
for (\$${1:iter_index} = 0; \$${1:iter_index} < count(\$iter); \$${1:iter_index}++) {
  \$item = \$iter[\$${1:iter_index}];
  \$filename = \$request->header ? \$a-- : \$a++;
  \$plus = \$a++;
  \$mime_type = \$request->header ? \$a++ : \$b--;
\}

insertSnippet() fails with:
rejected promise not handled within 1 second: TypeError: s is not iterable
c:\Program Files\Programming\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:98
stack trace: TypeError: s is not iterable
	at Object.insertSnippet (c:\Program Files\Programming\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:94:51951)

Please provide a complete code sample that allows to reproduce this

I'm struggling to do so. I can consistently reproduce it in my full, client/server extension but fail to do the same in a simple, straight extension. :-)

@jrieken I found my workaround but still, is this OK? I can come up with the repo now. It might look a bit complicated but it's exactly what's needed, to call back from the server to the client to insert a snippet (codes action don't support snippets on their own, only completions do).
Look into extension.ts. lines 54 to 56. The problem is with the incoming range. When it arrives, it has fields start and end. If I recreate the Range on the spot, the new Range will be:
s {c: b, e: b}

not start and end. That's why the error message complains about s not being iterable, well, it isn't, it's not even present. Where does these fields s, c and e come from? Some kind of webpack minification, is it? Is this supposed to be like that, breaking the field names?
lsp-sample.zip

unless I recreate the Range

Yeah, that's what you need to do. From JSON you are receiving plain data but the insertSnippet function does an instanceof-check, e.g it expectes a class/function and JSON looses that information. I can consider to relax our checks but the error in on your end assuming the LSP-JSON data is a good fit

Still, the error message is far from being informative. If you do a check, would it be possible to put a better error message into the else branch?

Hey @jrieken, this issue might need further attention.
@deakjahn, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Add Bozeman, MT email template

Date field is bogus, but I believe that is unused at the moment.

This requires a linked issue, feel free to reopen once it's there.


Add EditorConfig

In the spirit of https://github.com/tfutils/tfenv/pull/424, this adds an EditorConfig file so all contributors share the same indent, indent size, EOL, etc. settings.

LGTM! Probably, it will be a good idea to backport it to https://github.com/tofuutils/tenv


inline option

is there any interest or plan to support an inline option using {{content-for 'body'}}?

Hi @xiwcx—that seems like a great idea. We're not currently doing a lot of active work on this addon, but I'd be happy to accept a PR adding support 🙂

thanks for getting back to me so quick! PR forthcoming

i read through your code and realized that because of the dependency on broccoli-svgstore i couldn't really add an option without a fairly significant rewrite as that plugin only supports creating a file. i ended up writing a simple "in repo" addon for the time being:
const fs = require('fs')
const path = require('path')
const svgstore = require('svgstore')

module.exports = {
    name: 'svgstore-inline',

    contentFor: function(type) {
        if (type === 'body'){
            return this.svgSprite()
        }

        return null
    },

    svgSprite: function() {
        const sprites = svgstore({
            svgAttrs: {
                class: 'visually-hidden'
            }
        })

        const svgList = fs.readdirSync('./app/icons/', 'utf8').filter((filePath) => {
            return path.extname(filePath) === '.svg'
        })

        svgList.map(function(filePath) {
            const fileName =  path.basename(filePath, '.svg')

            sprites.add(fileName, fs.readFileSync('./app/icons/' + filePath, 'utf8'))
        })

        return sprites.toString({inline: true})
    }
}

it's super basic and lacks any kind of options or failsafes or warnings, but it could be expanded. what do you think makes most sense?

add this kind of code as an option
make it a separate ember-cli add on

You're 100% right — I hadn't thought through the fact that the broccoli plugin won't have executed by the time the you need the output for the contentFor hook.

what do you think makes most sense?

add this kind of code as an option
make it a separate ember-cli add on

As far as I can tell, it doesn't seem like there's actually much overlap between the code needed to support the inline usage and the existing implementation here. Given that, I'd lean toward having a separate addon. What do you think?

totally down to write a separate plugin, thanks for talking it out with me!


Subsequent motion path animations follow incorrect path

Calling an animation on a motion path via function more than once causes the animation to follow an incorrect or partial instance of the defined motion path. This used to work fine in v1.1.x.
Codepen example: https://codepen.io/alexchantastic/pen/WZxpYZ
Defining the animation outside of the function and calling it via animation.restart() seems to work fine though.

Fixed in 2.2.0!

👍  confirmed fixed!


Add revision draft support (single revision mode)

Background:
Based on team feedback surrounding the initial revision draft PR (v1), here is the new and improved v2!  Major changes include:

Removal of the "Latest" node in single revisions mode.  We now try to hide the concept of revisions a little more in single revisions mode.  The children of the "Latest" node have now come up one level (right now that's really mainly the scaleItem ("Scaling")
Instead of creating a draft node in single revisions mode, we now show "unsaved changes" indicators
The edit container app json no longer opens up by default and is less easily found, now labeled as an advanced editing feature
No longer persist revision drafts in Memento storage (in-memory only)

Purpose:

See #311

What is covered in this PR:

Revision draft support for single revision mode

What is coming down the line:

Deploy revision draft command
Revision draft support for multiple revisions mode

Demo of the full feature:

Demo (Not a super polished demo, but good enough to give some context)

I had to include a little bit of the multiple revisions mode code (for example, RevisionDraftItem) because of some loose coupling, but overall I tried to split it up so it's a little bit less code to review overall.
If you see missing command spots in the package.json, you can see here for what the full thing will eventually look like: https://github.com/microsoft/vscode-azurecontainerapps/pull/405/commits/a58ee13a3184cc7a4f18425e6e8350965a757e19

Added changes, ready for review again!


Not able to access cache in apollo-link-error

My use case is if the network status code is 4XX, log user out by mutating the local state.
Even though the status code is 4XX, i can't access the cache.
onError(({ operation, networkError }) => {
    const { cache } = operation.getContext();
    console.log(cache); // undefined
})

seems cache is not available in the afterware?

As a hack, I capture the client object which is get hoisted.  But obviously, this is definitely not desirable.
const link = ApolloLink.from([
  onError(({ operation, networkError }) => {
    const { cache } = operation.getContext();
    console.log(cache); // undefined
    console.log(client.cache); // ok
  }),
  createHttpLink({ uri: 'https://example.com' }),
]);

const client = new ApolloClient({
  link,
  cache: new InMemoryCache() as ApolloCache<NormalizedCacheObject>,
});

@goldenbearkin I'm pretty sure this was actually an issue with apollo-link itself! I've fixed that in the latest apollo-link version and will update this lib to use the newer version!


Snapshots

Hello Anton,
This is not really about an issue, but more of an enhancement and improvement in bug tracking. Would it be possible for you to issue snapshots of traccar every X days (or other schedule)? I know it's not extremely hard to compile, but that are quite some dependencies if you want to produce a full snapshot including the "compressed" web interface. Also, I am almost sure you have them already after each change anyway :). There is no need to have a zip for every architecture, just the traccar-server.jar, its libs and the web interface as this is not something every user should use anyway.

The problem would be stability of those builds. I don't want to deal with all the issues raised against something that is not completely finished and tested. I am trying to make release cycles shorter. Ideally I want to release a new version every 1-2 months.

It is mainly meant for builds with fixes in them. Also, there shouldn't be an installer of any kind to avoid random people using those versions without knowing.

Usually when I fix some issue I create a build of tracker-server.jar. You can always find latest here:
https://www.dropbox.com/s/cgmlansv32j3ii0/tracker-server.jar?dl=0
For web interface I would recommend to just get files from GitHub and use "debug.html" version.

For the web interface, it's hard to ask for people to use debug.html. Or maybe there could be a switch in the config file to use debug.html by default.

There is a switch:
    <entry key='web.debug'>true</entry>

ah, OK, that's an undocumented one :)
Thanks Anton, so in final, I see you are in fact already doing what I asked.

I'm using this flag during development process because I don't want to minify web interface all the time.


Add TAMUSA

Please add Texas A&M University-San Antonio
Thanks!

@zechuncao Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


make emagged marker component

About the PR
adds EmaggedComponent marker to control emagging (prevent emagging a thing twice, unless you really want to)
will eventually replace the ~8 things that use Emagged/IsEmagged/!Safe as component fields
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
no

You might as well just implement it. Emag state isn't stored in that many places.

@EmoGarbage404 are above concerns valid or is it ok

@EmoGarbage404 are above concerns valid or is it ok

protected system is good.
you can't have a dependency in an action, so just do EntityManager.System() to get the system when needed.

ok i think i broke it gonna remake

remade in #14096


When scrolling after trackpad drag if you press control zoom changes

Issue Type: Bug
When I scroll with the trackpad with two fingers the scroll keeps moving after ending the gesture. This is ok, fine.
But if while it keeps scrolling automatically I press control the zoom level of the editor changes, and that is not correct. In browsers like Chrome it doesn't happen.
VS Code version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

We would never want to zoom when using control and the trackpad, but the wheel event that we receive doesn't allow us to distinguish between a scroll that was done with a physical mouse wheel or a gesture on the trackpad.

I'm not saying to use them at the same time. What I say is that after scrolling with the trackpad it keeps scrolling without any user input for a little moment. If in that moment you only press control, the zoom changes.
For example, I scroll with the trackpad and I decide to do a search. Because it keeps scrolling, when I press control+F the zoom changes and it is so annoying.

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Bootstrap 5

While the CSS mostly still works with Bootstrap 5, the following things may need to be changed (taken from the Migration Guide):
Content, Reboot, etc.

[x] Redesigned tables to refresh their styles and rebuild them with CSS variables for more control over styling.
[x] .thead-light and .thead-dark are dropped in favor of the .table-* variant classes which can be used for all table elements (thead, tbody, tfoot, tr, th and td).
[x] .text-* utilities do not add hover and focus states to links anymore. .link-* helper classes can be used instead.

Forms

[x] Consolidated native and custom form elements. Checkboxes, radios, selects, and other inputs that had native and custom classes in v4 have been consolidated. Now nearly all our form elements are entirely custom, most without the need for custom HTML.

[x] .custom-check is now .form-check.
[x] .custom-check.custom-switch is now .form-check.form-switch.
[x] .custom-select is now .form-select.
[x] .custom-file and .form-file have been replaced by custom styles on top of .form-control.
[x] .custom-range is now .form-range.
[x] Dropped native .form-control-file and .form-control-range.

[x] Dropped .input-group-append and .input-group-prepend. You can now just add buttons and .input-group-text as direct children of the input groups.

Accordion

[x] Added new accordion component.

Alerts

[x] Removed custom styles for <hr>s in each alert since they already use currentColor.

Badges

[x] Dropped all .badge-* color classes for background utilities (e.g., use .bg-primary instead of .badge-primary).
[x] Removed hover and focus styles for <a> and <button> elements.

Breadcrumbs

[x] Simplified the default appearance of breadcrumbs by removing padding, background-color, and border-radius.

Carousel

[x] Added new .carousel-dark variant for dark text, controls, and indicators (great for lighter backgrounds).

Close button

[x] Renamed .close to .btn-close for a less generic name.
[x] Close buttons now use a background-image (embedded SVG) instead of a × in the HTML, allowing for easier customization without the need to touch your markup.

Dropdowns

[x] Added new .dropdown-menu-dark variant and associated variables for on-demand dark dropdowns.
[x] Darkened the dropdown divider for improved contrast.

Jumbotron

[x] Dropped the jumbotron component as it can be replicated with utilities. See our new Jumbotron example for a demo.

Popovers

[x] Renamed .arrow to .popover-arrow in our default popover template.

Utilities

[x] Added new .bg-body class for quickly setting the <body>’s background to additional elements.

There's also some sass stuff that need updating. When I tried to use @import "~bootstrap-darkmode/scss/darktheme"; with boostrap v5, it fails on:
Failed to compile.

./src/components/Layout/AfterLoginStyles.vue?vue&type=style&index=2&lang=scss& (./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Layout/AfterLoginStyles.vue?vue&type=style&index=2&lang=scss&)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: $color2: theme-color-level("primary", -6) is not a color.
    ╷
206 │   @return mix(black, $color, $weight);
    │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
  node_modules/bootstrap/scss/_functions.scss 206:11                 shade-color()
  node_modules/bootstrap/scss/mixins/_alert.scss 8:12                alert-variant()
  node_modules/bootstrap-darkmode/scss/mixins/_alert.scss 4:4        dark-alert()
  node_modules/bootstrap-darkmode/scss/mixins/_dark-theme.scss 57:2  dark-theme()
  node_modules/bootstrap-darkmode/scss/darktheme.scss 9:3            @import
  src/components/Layout/AfterLoginStyles.vue 62:9                    root stylesheet

According to https://getbootstrap.com/docs/5.0/migration/#sass:

Renamed theme-color-level() function to color-level()

@slaweet Thanks for documenting. Due to the number of breaking changes, I will probably make a separate branch / version. E.g. bootstrap-darkmode@^4 for bootstrap@^4 and bootstrap-darkmode@^5 for bootstrap@^5.

Hi, any ETA for Bootstrap v5 dark mode release?

Unfortunately no ETA but I will start working on it. The issue description now has a list of things that may need to be done, filtered from the Migration Guide to only the relevant items.
I encourage everyone to try the v4 version of the library anyway and see what most obviously breaks so I can prioritise.

5.0.0-beta.1 is now out with most things taken care of. Let me know if you encounter any oddities.


add import doc

@a651694192 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@a651694192 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@a651694192 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@a651694192 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ranvijaykumar @ktoliver
Hi Ranvijay and Kristine. Matjaz sent me a report regarding open Git issues.  This PR has been open for 118 days. Can this PR be closed or resolved? The following Azure Docs are published live:

Configure bulk-import settings (Preview)

Bulk-import FHIR data (Preview)

Thanks,
Steve

#please-close


feat: adds hidden attribute to ScaleInfo for placeholder resolutions

Hi Jeremy,
I've been following the thread between you and Chris on #446 and wanted to offer this PR as a potential solution to the placeholder issue we're having with the FAFB dataset. Feel free to disregard it if you have a better solution in mind!
This PR adds an optional boolean hidden attribute to the ScaleInfo. If a scale is hidden, it is filtered out when creating the nested arrays for getSources. However, the base resolution is still set on the first scale, regardless if it's hidden. It's similar to Chris's implementation of 'placeholder' on the seung-lab fork.
Thank you for your time and consideration!

This change looks good, but can you also add it to the documentation in volume.md?


Question-How to customize the Identity UI library in .NET Core 3.0 Preview 6?

Just a small question: How is it possible to customize the Identity UI library in the .Net Core 3.0 Preview 6 Blazor template?
I followed @danroth27's introduction on Blazor from https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0-preview-6/ and was wondering how the customization would work?
Maybe there is already some tutorial I have missed?
By the way, great job you all are doing with Blazor ;)

You would do it as you would in any non-blazor project, you scaffold it into your project and then make adjustments as you see fit,

That was the reference I was searching for. Thanks.


Add instance_name to outputs to return a list of cluster instance identifiers

what

Add a instance_name output for the cluster instance identifier.

why

e.g. if you want to add a aws_cloudwatch_metric_alarm resource to your Documentdb cluster (  dimensions = { DBInstanceIdentifier = ....} )
get the value from the output (e.g. module.documentdb_cluster.instance_name)

@Gowiem @milldr could pls review the PR.

unbelievable, nothing happens here!!! its just an output .....

/terratest

/terratest


Problems with conntrack zones

Hello!
iptable_raw module does not work properly
I use 4.8.3-std-1 and bootscript is 4b9b80a5-f3df-4a43-b763-f9722745edb6
# lsmod | grep iptable_raw
iptable_raw             1508  1
# iptables -t raw -I neutron-openvswi-PREROUTING 1 -m physdev --physdev-in qvb93512cf8-7c -j CT --zone 3
iptables: Operation not supported.

strace:
open("/run/xtables.lock", O_RDONLY|O_CREAT, 0600) = 3
flock(3, LOCK_EX|LOCK_NB)               = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
getsockopt(4, SOL_IP, 0x40 /* IP_??? */, "raw\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [84]) = 0
getsockopt(4, SOL_IP, 0x41 /* IP_??? */, "raw\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [1480]) = 0
setsockopt(4, SOL_IP, 0x40 /* IP_??? */, "raw\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1856) = -1 EOPNOTSUPP (Operation not supported)
close(4)                                = 0

Actually, it is problem with the CT target. I can't use any zones except of 0.
Any updates?

Hi,
Thanks for your report. The kernel option CONFIG_NF_CONNTRACK_ZONES was not set.
The kernels are being rebuilt. I'll update the ticket as soon as everything is deployed.

Any news? I see, still failed - https://travis-ci.org/scaleway/kernel-tools

Can you go on the "advanced" section of your server's configuration page, select the latest bootscript available (should end with #2), select it, and hard reboot your server?
CONFIG_NF_CONNTRACK_ZONES should be enabled.

@brmzkw there is no #2 latest bootscript in ams1. latest #1 does not work

oops!
It should be all good now. Sorry for that.

@gunph1ld Have you managed to run OpenStack on Scaleway and access floating IPS from host?
My VMs are up and running but they are not reachable and cannot reach internet.

@albertdb Yes, but what floating ips are you talking about? Scaleway provide only 1 ip.
In my environment I use NAT for the external network, that's it

@gunph1ld Floating IPs at Openstack level, with the intention of them being reachable from host. But I don't really know if that makes sense.
Please tell me how you did the NAT setup, that's what I'm trying to do. Thanks!!!!

@gunph1ld Is there any way I can contact you regarding this? I'm stuck in a dead end.

@gunph1ld Finally I've been able to give NATed internet connection to VMs doing the following, but I cannot reach VMs from the host.
ifconfig br-ex up
ip a a <IP_ADDRESS>/28 dev br-ex
# Forwarding and masquerading already done by Openstack iptables rules
neutron subnet-update $private_subnet_id --dns-nameservers list=true <IP_ADDRESS> <IP_ADDRESS>

Could you please help me?


Update tsconfig.json.md

Since the tsconfig can also extend frameworks besides runtime environments, I wanted to highlight that option to clarify the configuration process.

@microsoft-github-policy-service agree [company="Nicklas Scharpff"]

@microsoft-github-policy-service agree

I don't think it's a good idea to put the whole JSON for one of these tsconfigs in these docs - it's going to get outdated pretty quickly as these frameworks move fast, and it's not the way in which next recommends setting up a tsconfig making it slightly misleading

Yeah, I think the existing link suffices.
That and the following paragraph gets its flow broken because it now has a large next-specific block before it.

I agree to both of you. Yet I would like to clarify that the config does not only extend a runtime environment, but also frameworks / other technologies.
Am 30.09.2023 um 16:18 schrieb Jake Bailey @.***>:

Yeah, I think the existing link suffices.
That and the following paragraph gets its flow broken because it now has a large next-specific block before it.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/TypeScript-Website/pull/2950#issuecomment-1741776375, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APMX2E4XSWMW4IPIQO2RZPDX5AS3JANCNFSM6AAAAAA5NMO5FE.
You are receiving this because you were mentioned.Message ID: @.***>

I'm going to close this; even if it's true that some frameworks would have a base on the bases repo, it's certainly the case that next themselves already set up the tsconfig for you, so nobody should be writing it by hand (https://nextjs.org/learn/excel/typescript/create-tsconfig)


Effects of Weapon Infusion Persist even after being removed.

Foundry Version: 11
Build: 315
Pf2e Edition: 5.10.5
Active Modules: 1 (The Forge)
While playing with a Kineticist, I noticed, specifically when using the Weapon Trait, specifically the Thrown Trait, it persists after the initial blast. In addition, using the Thrown trait as an example. If I even remove the effect from the character, when rolling for damage it still adds strength to the damage roll, as if it had the thrown trait. These effects appear to persist during the players round. Only expiring after there turn passes.
The rules for Weapon Infusion specifically state: "If your next action is an Elemental Blast, choose a weapon shape for it to take." Implying Weapon Infusion should only work for the up coming Elemental Blast. Not all Elemental Blasts during the round.
But I'd understand, if this was a known issue. After all, Weapon Infusion is only a Free action.

Would you mind providing a screenshot?

I can do one better and provide a video..
However, I am half wrong with the my ticket. Player gave me the wrong information with Elemental Blast. Since it states "Add your Strength modifier to the damage roll for a melee Elemental Blast. If you make a 2-action Elemental Blast, you gain a status bonus to the damage roll equal to your Constitution modifier." So it would have always been adding Strength to begin with.
But, Weapon Infusion should only last for the next Elemental Blast and not persist.
Although, if it's too much of a head ache. Remembering to Right-Click -> Remove effect. Isn't the end of the world.

Wow I did not know that, thank you.


constrained delegation support [#79]

Codecov Report

Merging #178 into dev will increase coverage by 0.01%.
The diff coverage is 22.8%.

@@             Coverage Diff              @@
##                dev     #178      +/-   ##
============================================
+ Coverage     29.55%   29.57%   +0.01%
+ Complexity     1248     1247       -1
============================================
  Files            97       97
  Lines         23305    23335      +30
  Branches       3871     3878       +7
============================================
+ Hits           6888     6901      +13
- Misses        15065    15083      +18
+ Partials       1352     1351       -1

Flag
Coverage Δ
Complexity Δ

#JDBC41
29.48% <22.8%> (+0.01%)
1244 <0> (+2)
:white_check_mark:

#JDBC42
29.49% <22.8%> (ø)
1245 <0> (-1)
:x:

Impacted Files
Coverage Δ
Complexity Δ

...om/microsoft/sqlserver/jdbc/SQLServerResource.java
100% <ø> (ø)
4 <0> (ø)
:x:

...m/microsoft/sqlserver/jdbc/KerbAuthentication.java
0% <0%> (ø)
0 <0> (ø)
:x:

.../microsoft/sqlserver/jdbc/SQLServerConnection.java
38.57% <7.14%> (-0.21%)
190 <0> (ø)

.../com/microsoft/sqlserver/jdbc/SQLServerDriver.java
71.25% <75%> (+0.27%)
23 <0> (ø)
:x:

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
31.76% <0%> (+0.06%)
0% <0%> (ø)
:x:

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
44.94% <0%> (+0.07%)
181% <0%> (-1%)
:x:

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
22.99% <0%> (+0.44%)
36% <0%> (ø)
:x:

Continue to review full report at Codecov.

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


use OBJECT_DETECTION_URL config value rather than hardcoded prod url for inference

quick follow up to #145 to make it actually use the config value set by the environment variable rather than a hardcoded string

make style?


fix: lowercase all columns in examples

SUMMARY

This PR converts all column names in the new examples to lowercase, to ensure they work across different databases.
This is necessary because in Postgresql columns with mixed case should be double quoted, but MySQL interprets double quoted values as strings.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Using MySQL:

Using Postgresql:

Using Sqlite:

Note: the Slack dashboard is different in Sqlite because the "Big Number with Trendline" visualization does not sort by time, and Sqlite returns the data in random order. I'll file a ticket.

TEST PLAN

I installed Superset from scratch into 3 different databases, and tested the dashboards.
ADDITIONAL INFORMATION

[x] Has associated issue: https://github.com/apache/superset/issues/12528
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12530 (17ef4ac) into master (3f3a2ad) will decrease coverage by 3.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12530      +/-   ##
==========================================
- Coverage   66.72%   63.35%   -3.38%
==========================================
  Files        1014      485     -529
  Lines       49612    29931   -19681
  Branches     4839        0    -4839
==========================================
- Hits        33106    18962   -14144
+ Misses      16383    10969    -5414
+ Partials      123        0     -123

Flag
Coverage Δ

cypress
?

javascript
?

python
63.35% <ø> (-0.57%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.24%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/presto.py
70.56% <0.00%> (-11.48%)
:arrow_down:

superset/views/database/mixins.py
80.70% <0.00%> (-1.76%)
:arrow_down:

superset/models/core.py
87.22% <0.00%> (-1.64%)
:arrow_down:

superset/reports/notifications/base.py
95.00% <0.00%> (-0.46%)
:arrow_down:

superset/views/core.py
74.92% <0.00%> (-0.46%)
:arrow_down:

superset/connectors/sqla/models.py
90.44% <0.00%> (-0.15%)
:arrow_down:

superset/migrations/shared/security_converge.py
86.82% <0.00%> (-0.11%)
:arrow_down:

... and 534 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #12530 (17ef4ac) into master (3f3a2ad) will decrease coverage by 3.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12530      +/-   ##
==========================================
- Coverage   66.72%   63.35%   -3.38%
==========================================
  Files        1014      485     -529
  Lines       49612    29931   -19681
  Branches     4839        0    -4839
==========================================
- Hits        33106    18962   -14144
+ Misses      16383    10969    -5414
+ Partials      123        0     -123

Flag
Coverage Δ

cypress
?

javascript
?

python
63.35% <ø> (-0.57%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.24%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/presto.py
70.56% <0.00%> (-11.48%)
:arrow_down:

superset/views/database/mixins.py
80.70% <0.00%> (-1.76%)
:arrow_down:

superset/models/core.py
87.22% <0.00%> (-1.64%)
:arrow_down:

superset/reports/notifications/base.py
95.00% <0.00%> (-0.46%)
:arrow_down:

superset/views/core.py
74.92% <0.00%> (-0.46%)
:arrow_down:

superset/connectors/sqla/models.py
90.44% <0.00%> (-0.15%)
:arrow_down:

superset/migrations/shared/security_converge.py
86.82% <0.00%> (-0.11%)
:arrow_down:

... and 534 more

Continue to review full report at Codecov.

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


Entity path with combined Transform3D + Pinhole as origin makes it impossible to visualize any parents

Describe the bug
When combining a 3D transform and a pinhole transform on the same entity path and setting this path as the origin of a 3D view, no parents / siblings can be visualized in such a view anymore.
This makes it impossible to let the view follow a moving camera, for example.
To Reproduce
import rerun as rr
import numpy as np

rr.init("merged pinhole + transform3d", spawn=True)

rr.log("", rr.Points3D(np.random.rand(100, 3), colors=(255,0,0)))

rr.log("camera", rr.Transform3D(translation=(0, 5, 0)))
rr.log("camera", rr.Pinhole(resolution=(500, 500), principal_point=(250, 250), focal_length=(500, 500)))

Setting camera as the origin, the points cannot be visualized anymore.
Expected behavior
I'd expect the origin to be at the origin of the frustum, but other entities still to be addable.
Rerun version
rerun_py 0.15.0 [rustc 1.74.0 (79e9716c9 2023-11-13), LLVM 17.0.4] x86_64-unknown-linux-gnu release-0.15.0 bc8bcd0, built 2024-04-09T14:34:04Z

siblings & parents should work fine if you add them to the contents of the space view - default contents are everything under the origin, but you can also set it to e.g. /** and then it should work fine

Yes, I don't think it works.


Release Google.Cloud.Channel.V1 version 2.2.0

Changes in this release:
New features

Add deal_code field to message Offer (commit 454d398)

Created release for Google.Cloud.Channel.V1-2.2.0


lodash: Add _.matchesProperty style to _.find

Sync with latest documentation
Add a _.find([{id: ‘a’}, ‘id’, ‘a’) support
Reduce verbose using union type

lodash/lodash.d.ts
to author(@bczengel). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

any thought?

The only problem I see is the stacking of the definitions for find and detect.  IDEs that show the documentation like Intellisense in Visual Studio won't display any documentation for detect.  I wish it weren't so because I like the stacked format better.  I also know the *@*see isn't much better than no documentation but at least they know which function to use if they want to see the docs.

Make sense. Added comments for _.detect. But I still put it with each pair of _.find, because let users know its signature is same with another.

Better.  :+1:

@bczengel thanks!
@heycalmdown thanks mate!


Website unreachable

@Arakis @danelkhen Is it normal that I cannot reach the website anymore? http://sharpkit.net/

Still not accessible, I am new to it so this means there is no documentation available :/

@Arakis @danelkhen Can you guys push the documentation to this repo?  I want to learn it~

I wrote Dan-el now an mail, i hope we can find a proper solution.

I've have good news: The documentation is uploaded here now:
https://sharpkit.github.io


Sending "getting started" direct to quickstart

Checklist

[X] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[X] Links to related issues (if applicable)
[X] Tests for the changes have been added/updated (if applicable)
[X] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[X] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@swaroopjagadish per this morning's discussion


changed behavior so now symbol instances are renamed to the last portion of a symbol master name after the "/"

@sonburn I apologize for any mess I might have created. Ideally we'd give users the ability to choose the desired behavior and choose "The / Full / Name" or simply "Name".
We can remove if we only want one of the two behaviours but I wanted my intentions to be obvious.
I'll reach out via Slack too :)

What do you think?

Ideally we'd give users the ability to choose the desired behavior and choose "The / Full / Name" or simply "Name".

It's a good idea and is in line with some other feature request(s) about some control over the name during the process, but the way it's implemented needs to be different. What you are wanting to achieve should actually be available for all flavors of the plugin, not just the at the Page level as you had implemented.
As the plugin is headless right now, a new option should be added to provide an interface to run the plugin in one of the existing methods, but with additional options for controls over the name.
I'll start working on this for an update to the plugin!

@sonburn yes! My coding skills are pretty basic. I have been using this modified version but I’d love to have more control over the scope (selection / symbols within selected artboards / instances of specific symbol across pages / all instances of all symbols)! - love your plugin!


wrap IVF index train/build calls in knowhere build pool

so OMP threads spawned will have low nice values
/kind improvement
Context in https://github.com/milvus-io/milvus/issues/30097

/lgtm


Esfix

Waiting on confirmation of fix from @awesensepaul before we should merge

I can confirm that this fix is awesome! (and both commits/fixes were necessary to get correct ES 2.x behaviour).
FYI It is a huge relief to be able to use the same queries we use in Kibana (instead of re-writing them into regexes just for bosun).
Thanks!

Merge anytime

I forgot to pushed my rebased branch, already merged.


Issue with image uploading/ saving on faculty profile creation page

There seems to be something funny about the image uploading process. One of the faculty was not able to save her image. The "Save Image" button is gone, and there's additional boxes around the photo.

Duplicate of #40? That's some strange behavior.
I did get rid of the "save image" button - the image saves when the profile saves, so currently that's expected behavior. I'm willing to revisit this decision.

Yeah, I'll close the other.

Haven't seen this one in a while and I've fixed some things on the profile edit page in the meantime and upgraded react-avatar-editor.
Closing until it comes up again. If it does come up again, it'd be great to have steps to reproduce the error.


Refactor XLink init code. Fix for init hang on RPi4 w/USB3

Use new API that no longer tries to match pre-boot and post-boot USB device addresses, resolving issue https://github.com/luxonis/depthai-python-extras/issues/40
During init, wait for MyriadX USB device discovery for up to 10 seconds. Should resolve an issue that the device is not found after host app being closed and restarted immediately (delays from watchdog kicking in and/or USB enumeration).
minor prints cleanup.

CC @itsderek23 @Luxonis-Brandon
(We should try merging PR's here by rebasing -- fast-forward merge, to reduce the occurrence of SHA changes for this repo used as a submodule in https://github.com/luxonis/depthai-python-extras/)

Looks like merge-by-rebase doesn't simply update the master branch pointer (where possible -- as it was in this PR), but does cherry-pick the commits. So the git SHA is changed anyway after the merge.

Good to know - thanks!


Continue to chip away at one-line utility classes

For https://github.com/wellcomecollection/wellcomecollection.org/issues/8420

Closing as superseded.


Better inspect

As mention in the previous PR I implemented an inspect that sound a little better to me.
Now the developer will be able to inspect the set and see either index and values.

This implies that the members of SortedSet.new([1,2,3]) are [{1,1}, {2,2}, {3,3}] which is not the case. Indices/keys are internal to the set implementation and should not be exposed to the outside world.
If we add functions as described in #3, the output of inspect should still only show the members of the SortedSet


Create a metric that shows cache hit/miss rate per table

The idea is to find tables with very low cache hit rate and analyze their data model for better read efficiency.

We should wait with metrics per table until we'll support multiple prometheus servers:
https://github.com/scylladb/scylla/issues/2556


Add '@/' alias as a default

In vue cli you can use @/components/... out of the box.  @ is aliasing the ./src/ folder. This should be a default, otherwise you'd have to adjust the rollup config for this.

If you want to submit a pull request, this would be great! If not, I will make the change - though it might be delayed a bit.

Sadly I don't have a lot of experience with rollup and in my experiments couldn't figure out how to make it work with .vue files.

Just pushed v2.1.0 which adds this capability. Thanks for the suggestion!


speed up compilation time for large codegen-ed models

Some ideas

Look into using something like https://github.com/SCons/scons and set jobs=4
Use ccache to avoid recompiling unchanged files.
Reduce the optimization level, or manually list the optimization flags that are most important to codegen files

Some considerations:

Any changes should not impact pymola's ability to work cross-platform
See 1.

For very large models the most workable solution at the moment is to:

Disable optimization: -O0 on Linux, or /Od on Windows.
Use clang instead of gcc / msvc. The first can 'properly' not optimize at all, whereas the latter two always try to optimize a little. Note that on Windows, clang has a version clang-cl.exe, which works with the same commandline arguments.

I would guess that when the model is set and done, not much recompiling will happen. So then it does not matter that much if compilation takes a bit longer.


Timeout error

I have added two ads one is  banner and other is interstitial ad  .
But I am facing timeout and other error in implementing the ads.
Log report
D/MobFoxWebView: mobfox webview init
D/MobFoxUtils: read setting
D/MobFoxBanner: dmp post completed
W/System.err:     at com.mobfox.sdk.bannerads.Banner$2.call(Banner.java:376)
W/System.err:     at com.mobfox.sdk.runnables.Timeout.mobFoxRun(Timeout.java:30)
W/System.err:     at com.mobfox.sdk.runnables.MobFoxRunnable.run(MobFoxRunnable.java:23)
D/MobFoxBanner: request params: {"s":"xxxxxxxxxxxxx","o_andadvid":"7ec77a58-d504-4fca-b296-c09da6d2c40f","type":"waterfall","adFormat":"banner","autoplay":"true","skip":"","debug":"","rt":"android_app","adspace_width":320,"adspace_height":49,"adspace_strict":0,"sub_bundle_id":"com.example.packagename","auto_pilot":true,"v":"Core_3.2.7b","secure":false,"start_muted":false,"dev_js":1,"banner_pos":1,"dev_dnt":0}
D/MobFoxBanner: err
D/MobFoxWebView: ready
D/MobFoxWebView: mobfox webview init
D/MobFoxUtils: read setting
D/MobFoxBanner: dmp post completed
D/MobFoxBanner: request params: {"s":"xxxxxxxxxxxxxxxxxxxxxxxx","o_andadvid":"7ec77a58-d504-4fca-b296-c09da6d2c40f","type":"video","adFormat":"interstitial","autoplay":"true","skip":"true","debug":"","rt":"android_app","adspace_width":320,"adspace_height":480,"adspace_strict":0,"sub_bundle_id":"com.veblr.videomate","auto_pilot":true,"v":"Core_3.2.7b","secure":false,"start_muted":false,"dev_js":1,"banner_pos":7,"dev_dnt":0,"latitude":37.421998333333335,"longitude":-122.08400000000002}
D/MobFoxInterstitial: on banner error
D/MobFoxWebView: ready
If anyone can help then it will be very helpful for me.

Hi,
You may get a timeout on the first attempt as sometimes not all resources are loaded yet.
If the timeout occurs consistently on every attempt, please post here more of the app log and we'll start to investigate.
Thanks,
Itamar

Hi nabriski,
Yes the timeout error is showing with each ad I am implementing in code. so I am now posting the the detailed log below.
/MobFoxWebView: mobfox webview init
D/MobFoxUtils: read setting
D/MobFoxBanner: dmp post completed
D/MobFoxBanner: google play error
D/MobFoxBanner: on waterfalls fetch timeout
W/System.err:     at com.mobfox.sdk.bannerads.Banner$2.call(Banner.java:376)
W/System.err:     at com.mobfox.sdk.runnables.Timeout.mobFoxRun(Timeout.java:30)
W/System.err:     at com.mobfox.sdk.runnables.MobFoxRunnable.run(MobFoxRunnable.java:23)
D/MobFoxBanner: request params: {"s":"xxxxxxxxxxxxxxxxxxxxxx","o_andadvid":"","type":"waterfall","adFormat":"banner","autoplay":"true","skip":"","debug":"","rt":"android_app","adspace_width":320,"adspace_height":49,"adspace_strict":0,"sub_bundle_id":"com.veblr.videomate","auto_pilot":true,"v":"Core_3.2.7b","secure":false,"start_muted":false,"dev_js":1,"banner_pos":1,"dev_dnt":1}
D/MobFoxBanner: err
D/MobFoxWebView: ready
D/MobFoxWebView: mobfox webview init
D/MobFoxUtils: read setting
D/MobFoxBanner: dmp post completed
D/MobFoxBanner: request params: {"s":"xxxxxxxxxxxxxxxxxxxxxx","o_andadvid":"","type":"video","adFormat":"interstitial","autoplay":"true","skip":"true","debug":"","rt":"android_app","adspace_width":320,"adspace_height":480,"adspace_strict":0,"sub_bundle_id":"com.veblr.videomate","auto_pilot":true,"v":"Core_3.2.7b","secure":false,"start_muted":false,"dev_js":1,"banner_pos":7,"dev_dnt":1}
D/MobFoxInterstitial: on banner error
D/MobFoxWebView: ready
D/MobFoxConsole: CONSOLE>>> SVG's SMIL animations (, , etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead., line: 0
D/MobFoxConsole: CONSOLE>>> This is not supported in browser version of superagent, line: 167
D/MobFoxWebView: data >>> :{"error":"xml not valid VAST or DAAST"}
D/MobFoxInterstitial: on error xml not valid VAST or DAAST

At least on interstitial the error is different:
D/MobFoxInterstitial: on error xml not valid VAST or DAAST
This means that a video call was made but something this is not a valid VAST was returned.
Can you please post here your interstitial integration code?
Thanks,
Itamar

Hi,
I see you only want video demand, video demand has low fill. You can test it with our test video hash: 80187188f458cfde788d961b6882fd53. This will give you video fill every time.
Itamar

So , how can I set video hash for test ?

interstitial.setInventoryHash("80187188f458cfde788d961b6882fd53");

okay  and about the banner ads it is constantly showing timeout error . Any suggestion?

Can you please send me two consecutive banner request logs? (as much of the log as possible)
Thanks,
Itamar

first log
D/MobFoxBanner: google play error
W/System.err:     at com.mobfox.sdk.bannerads.Banner$2.call(Banner.java:376)
W/System.err:     at com.mobfox.sdk.runnables.Timeout.mobFoxRun(Timeout.java:30)
W/System.err:     at com.mobfox.sdk.runnables.MobFoxRunnable.run(MobFoxRunnable.java:23)
D/MobFoxBanner: request params: {"s":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","o_andadvid":"","type":"waterfall","adFormat":"banner","autoplay":"true","skip":"","debug":"","rt":"android_app","adspace_width":320,"adspace_height":49,"adspace_strict":0,"sub_bundle_id":"com.veblr.videomate","auto_pilot":true,"v":"Core_3.2.7b","secure":false,"start_muted":false,"dev_js":1,"banner_pos":1,"dev_dnt":1,"latitude":37.421998333333335,"longitude":-122.08400000000002}
D/MobFoxWebView: ready
2nd log
D/MobFoxBanner: google play error
W/System.err:     at com.mobfox.sdk.bannerads.Banner$2.call(Banner.java:376)
W/System.err:     at com.mobfox.sdk.runnables.Timeout.mobFoxRun(Timeout.java:30)
W/System.err:     at com.mobfox.sdk.runnables.MobFoxRunnable.run(MobFoxRunnable.java:23)
D/MobFoxBanner: request params: {"s":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","o_andadvid":"","type":"waterfall","adFormat":"banner","autoplay":"true","skip":"","debug":"","rt":"android_app","adspace_width":320,"adspace_height":49,"adspace_strict":0,"sub_bundle_id":"com.veblr.videomate","auto_pilot":true,"v":"Core_3.2.7b","secure":false,"start_muted":false,"dev_js":1,"banner_pos":1,"dev_dnt":1,"latitude":37.421998333333335,"longitude":-122.08400000000002}
D/MobFoxWebView: ready

Hi,
Wait, are you creating the banner each time? I meant two request on the same banner. Also I don't see the resulting error response.
Thanks,
Itamar

this one is the error .
No I am creating two different banners for each ad .

This is just the waterfall, it should be able to continue anyway and fetch it next time. After the request, what response is returned?

@Override
          public void onBannerError(View banner, Exception e) {
              Toast.makeText(getApplicationContext(), e.getMessage(), Toast.LENGTH_SHORT).show();
              Log.e("EXCEPTION",e.getMessage());
              e.printStackTrace();
          }

See for this overrided method i have used log with error message
and getting a reply

If call banner.load(); again after the timeout, what do you get?

FYI :I am using mediation with this account and I also downloaded your test app for testing from play store https://play.google.com/store/apps/details?id=sdk.mobfox.com.appcore&hl=en
 with the hash it seems to generate no fill error

Did you use our banner test hash of fe96717d9875b9da4339ea5367eff1ec?

yes i did test it in the app it is showing a toast as on banner error.

Can you please send me the full log of calling banner.load() twice in a row (calling, waiting for error and then calling it again) with the test hash?
Thanks,
Itamar

Test of Video Interstitial:
07-28 15:23:04.901 2836-2836/com.veblr.videomate D/MobFoxConsole: CONSOLE>>> SVG's SMIL animations (, , etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead., line: 0
07-28 15:23:05.351 2836-2836/com.veblr.videomate D/MobFoxConsole: CONSOLE>>> This is not supported in browser version of superagent, line: 167
07-28 15:23:08.959 2836-2836/com.veblr.videomate D/MobFoxWebView: data >>> :{"cpm":50,"customEvents":[],"vasts":"W3siVkFTVCI6eyJBZCI6eyJJbkxpbmUiOnsiQWRTeXN0ZW0iOnsiX3ZlcnNpb24iOiIxLjAiLCJfX3RleHQiOiJNb2JGb3ggU1NQIn0sIkFkVGl0bGUiOnsiX19jZGF0YSI6Ik1vYkZveCBEaXJlY3QgU29sZCBWaWRlbyBDcmVhdGl2ZSJ9LCJJbXByZXNzaW9uIjpbeyJfX2NkYXRhIjoiaHR0cDovL3Rva3lvLW15Lm1vYmZveC5jb20vZXhjaGFuZ2UucGl4ZWwucGhwP2g9YTY2OTUxZGRkMjI1NmFkYjJlYmI5ZTUxOWFmNTg0NzMifSx7Il9fY2RhdGEiOiJodHRwOi8vdG9reW8tbXkubW9iZm94LmNvbS9leGNoYW5nZS5waXhlbC5waHA/aD1hNjY5NTFkZGQyMjU2YWRiMmViYjllNTE5YWY1ODQ3MyZ0ZXN0PTEifV0sIkNyZWF0aXZlcyI6eyJDcmVhdGl2ZSI6eyJMaW5lYXIiOnsiRHVyYXRpb24iOiIwMDowMDowNyIsIlRyYWNraW5nRXZlbnRzIjp7IlRyYWNraW5nIjp7Il9ldmVudCI6InN0YXJ0IiwiX190ZXh0IjoiaHR0cDovL3Rva3lvLW15Lm1vYmZveC5jb20vc2VuZGNvb2tpZS5waHAifX0sIlZpZGVvQ2xpY2tzIjp7IkNsaWNrVGhyb3VnaCI6Imh0dHA6Ly90b2t5by1teS5tb2Jmb3guY29tL2V4Y2hhbmdlLmNsaWNrLnBocD9oPWE2Njk1MWRkZDIyNTZhZGIyZWJiOWU1MTlhZjU4NDczIn0sIk1lZGlhRmlsZXMiOnsiTWVkaWFGaWxlIjp7Il9kZWxpdmVyeSI6InByb2dyZXNzaXZlIiwiX3dpZHRoIjoiNDgwIiwiX2hlaWdodCI6IjMyMCIsIl90eXBlIjoidmlkZW8vbXA0IiwiX19jZGF0YSI6Imh0dHBzOi8vY3JlYXRpdmVjZG4ubW9iZm94LmNvbS82NjAzMzY2YmZjZGFiMmUyMzYzNTVkNWE2NzE5NDQ4Ny5tcDQifX19LCJfc2VxdWVuY2UiOiIxIiwiX2lkIjoiMSJ9fX0sIl9pZCI6IjEifSwiX3ZlcnNpb24iOiIyLjAifX1d","options":{"s":"80187188f458cfde788d961b6882fd53","o_andadvid":"7ec77a58-d504-4fca-b296-c09da6d2c40f","rt":"android_app","adspace_width":320,"adspace_height":480,"adspace_strict":0,"sub_bundle_id":"com.veblr.videomate","auto_pilot":true,"v":"Core_3.2.7b","dev_js":1,"banner_pos":7,"dev_dnt":0,"latitude":37.421998333333335,"longitude":-122.08400000000002,"imp_secure":0,"r_type":"video","r_resp":"vast20","v_api":"vpaid20","u":"Mozilla/5.0 (Linux; Android 7.0; Android SDK built for x86 Build/NYC; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/51.0.2704.90 Mobile Safari/537.36","c_customevents":"1","imp_instl":1,"v_autoplay":1,"v_startmute":0,"width":320,"height":480,"skip":true,"start_muted":false,"autoplay":true,"encoded":true},"cacheables":["https://creativecdn.mobfox.com/6603366bfcdab2e236355d5a67194487.mp4"],"type":"video"}
07-28 15:23:08.972 2836-2836/com.veblr.videomate D/MobFoxInterstitial: on ad resp
For banner ad which got loaded for two times
1st one
07-28 15:55:49.050 16164-16164/com.veblr.videomate E/EXCEPTION: timeout
07-28 15:55:49.050 16164-16164/com.veblr.videomate W/System.err: java.lang.Exception: timeout
07-28 15:55:49.050 16164-16164/com.veblr.videomate W/System.err:     at com.mobfox.sdk.bannerads.Banner$2.call(Banner.java:376)
07-28 15:55:49.050 16164-16164/com.veblr.videomate W/System.err:     at com.mobfox.sdk.runnables.Timeout.mobFoxRun(Timeout.java:30)
07-28 15:55:49.050 16164-16164/com.veblr.videomate W/System.err:     at com.mobfox.sdk.runnables.MobFoxRunnable.run(MobFoxRunnable.java:23)
07-28 15:55:49.051 16164-16164/com.veblr.videomate W/System.err:     at android.os.Handler.handleCallback(Handler.java:751)
07-28 15:55:49.051 16164-16164/com.veblr.videomate W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:95)
07-28 15:55:49.051 16164-16164/com.veblr.videomate W/System.err:     at android.os.Looper.loop(Looper.java:154)
07-28 15:55:49.051 16164-16164/com.veblr.videomate W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6077)
07-28 15:55:49.051 16164-16164/com.veblr.videomate W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
07-28 15:55:49.051 16164-16164/com.veblr.videomate W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
07-28 15:55:49.051 16164-16164/com.veblr.videomate W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
07-28 15:55:55.052 16164-16164/com.veblr.videomate D/MobFoxBanner: request params: {"s":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","o_andadvid":"","type":"waterfall","adFormat":"banner","autoplay":"true","skip":"","debug":"","rt":"android_app","adspace_width":320,"adspace_height":49,"adspace_strict":0,"sub_bundle_id":"com.veblr.videomate","auto_pilot":true,"v":"Core_3.2.7b","secure":false,"start_muted":false,"dev_js":1,"banner_pos":1,"dev_dnt":1}
2nd one
07-28 15:55:37.438 16164-16164/com.veblr.videomate D/MobFoxWebView: mobfox webview init
07-28 15:55:37.609 16164-16164/com.veblr.videomate D/MobFoxUtils: read setting
07-28 15:55:37.609 16164-16164/com.veblr.videomate D/MobFoxBanner: dmp post completed
07-28 15:55:49.050 16164-16164/com.veblr.videomate W/System.err:     at com.mobfox.sdk.bannerads.Banner$2.call(Banner.java:376)
07-28 15:55:49.050 16164-16164/com.veblr.videomate W/System.err:     at com.mobfox.sdk.runnables.Timeout.mobFoxRun(Timeout.java:30)
07-28 15:55:49.050 16164-16164/com.veblr.videomate W/System.err:     at com.mobfox.sdk.runnables.MobFoxRunnable.run(MobFoxRunnable.java:23)
07-28 15:55:55.052 16164-16164/com.veblr.videomate D/MobFoxBanner: request params: {"s":"ce293de0b1f479b8080e83ba192730a0","o_andadvid":"","type":"waterfall","adFormat":"banner","autoplay":"true","skip":"","debug":"","rt":"android_app","adspace_width":320,"adspace_height":49,"adspace_strict":0,"sub_bundle_id":"com.veblr.videomate","auto_pilot":true,"v":"Core_3.2.7b","secure":false,"start_muted":false,"dev_js":1,"banner_pos":1,"dev_dnt":1}
07-28 15:55:55.965 16164-16164/com.veblr.videomate D/MobFoxBanner: err
07-28 15:55:59.509 16164-16164/com.veblr.videomate D/MobFoxWebView: ready

Hi Itamar
I have now tested the interstitial.setInventoryHash("80187188f458cfde788d961b6882fd53"); code and it's working and I have also tested the banner inventory hashes in my code which were given in demo app it is also working but when I am using my own inventory hash the errors still persists.
So I think there is some problem with my InventoryHash .so can you check it on your end what may be the issue?

Hi,
If the test hash works the integration is done. With a live hash you will not have a 100% fill and usually much less then that until you send enough traffic.
Regards,
Itamar

Hi Itamar,
Is there any specific approach or any documentation regarding how much traffic should be sent to get a particular ad for our app?
And here you are saying we can't have any code for our hash until we make it live or approved , right?

Hi,
No, there isn't. This very much depends on the type of traffic you send.
Yes, you are correct. If it's not approved you will not get any live traffic. After it's approved you will usually have to go live to see the actual fill you will get.
Regards,
Itamar

Please try with 3.6.0 this part was refactored and tested.


No stacktrace check for build-android-app

It has been flaky for a long time. Previously we tried to fix
it by using StackTraceSanitizingOutputNormalizer but that didn't work
because the stacktrace check failure happens before normalizing the
output. Now let's simply disable the check for this case.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Fix - Reverted to the original functionality of markAsRequired()

Description
After following up on a comment on  Pull Request #10929, I reverted to the original code.
I believe what I missed is that markAsRequired() always defaults to true.
I will seek an alternative solution to solve the original challenge in the original pull request.

[ ] Visual changes (if any) are shown using screenshots/recordings of before and after.

Code style

[x] composer cs command has been run.

Testing

[x] Changes have been tested.

Documentation

[x] Documentation is up-to-date.

This was fixed and released in #10957


Use an interface for basemodels and detectors

We have many different base model, detectors and extended models. We can define an interface and inherit it in existing models. This will help maintainers to add new models in the future because required methods can be found in that interface easily.

Closed with PR - https://github.com/serengil/deepface/pull/960


CMPLT should output a bool in UOps

Then be upcasted later

Upcast to dtypes.bool?

Is this the right idea?
==== code ====
a = (Tensor(3) > Tensor(4))
a.realize()

==== uops ====
[   0 UOps.DEFINE_GLOBAL  : ptr.dtypes.int            []                               ('data0', dtypes.int),
    1 UOps.CONST          : dtypes.float              []                               4.0,
    2 UOps.CONST          : dtypes.float              []                               3.0,
    3 UOps.ALU            : dtypes.bool               [1, 2]                           BinaryOps.CMPLT,
    4 UOps.CONST          : dtypes.int                []                               0,
    5 UOps.STORE          :                           [0, 4, 3]                        None]

==== rendered cstyle code ====

*** CLANG ***
 void E_(float* restrict data0) {
data0[0] = (bool)(4.0f<3.0f);
}

*** METAL ***
#include <metal_stdlib>
using namespace metal;
kernel void E_(device float* data0, uint3 gid [[threadgroup_position_in_grid]], uint3 lid [[thread_position_in_threadgroup]]) {
*(data0+0) = (bool)(4.0f<3.0f);
}

So data0[0] would be a bool
but since data0 has dtype float the bool value gets upcasted to float?
This is my first time digging into tinygrad internals and I don't know any C...
Trying to learn

this is done and asserts in linearizer https://github.com/tinygrad/tinygrad/blob/17658499379eef6c1f67214295ecb3831bdce4c0/tinygrad/codegen/linearizer.py#L482


[Issue] Unable to scroll window when content fills note

When I paste copy into the window if it is more than the window size I am unable to scroll to view and edit it.
You can see the issue in this video: https://cl.ly/943bc8
It would be useful to be able to scroll vertically and maybe resize the window area to fit in with different screen sizes.
Setup:
MacBook Pro (Retina, 13-inch, Early 2015)
MacOS Mojave 10.14.5 (18F132)
Bearclaw 1.1.0

Sorry it took me so long to reply.
This is definitely a bug I'll look into. Keep you posted!

No worries. Thanks for the reply and I look forward to the update 👍

Can you try this build to see if the problem is fixed?
https://github.com/Savjee/bearclaw/releases/tag/v1.1.0-beta
Thanks!

It works perfectly. Thanks for adding this to a great utility :)

Thanks for testing! I pushed the update to everyone
151e51c0c66ea09628dee07428fbc0d67557094a


Test if reverting changes made to tools/go/install.bash fix #520 ?

Relates to #520

Closing this, because #526 is zooming into the root cause of #520.


Attempting to change ADB path causes spinning wheel of death

I hadn't downloaded ADB so it didn't detect a location, once I had downloaded I couldn't then manually select a location as it pinwheels and I have to kill the app. It isn't possible to simply type into the path box either.
M1 MacBook Air, 16GB / 512GB, macOS 11.1

Hi, this is only an issue in the first preview. Can you try again with the latest preview?

Works for me in v2 and v3.

Yes I confirmed that in the main Google repo which I think is the preferred one now.


BUG: malloc() calls in Cython and C that are not checked for failure.

The C function malloc() returns NULL (i.e. 0) if it fails to allocate memory.  The return value of a malloc() call must be checked for this value before attempting to use the result.  Here are places in the scipy code where this check is not made.  If any of these calls fails, the result is likely to be a segmentation fault.
Cython

[x] cluster
In the file _optimal_leaf_ordering.pyx, in the function identify_swaps
[x] interpolate
In the file _ppoly.pyx, in the functions real_roots, croots_poly1 and _croots_poly1
[x] spatial
In setlist.pxd, in the function init, in the statement setlists.sets[j] = ...
[x] sparse.csgraph
File _shortest_path.pyx, in the code that creates nodes in the functions _dijkstra_directed, _dijkstra_directed_multi, _dijkstra_undirected, _dijkstra_undirected_multi
[x] _lib
In the file _ccallback_c.pyx, the result of strdup is used without checking for NULL.  strdup can fail to allocate memory for the duplicated string.  In that case, it returns NULL.  (Note: this might be harmless.  I haven't checked to see if the pointer is ever dereferenced while the capsule is in use.)

C

[x] fftpack
In the file fftpack.h, the macro GEN_CACHE is defined.  It is used in the files convolve.c, drfft.c, zfft.c,zfftnd.c
[x] ndimage
In the file src/ni_morphology.c, at line 624 (at the time of this writing): temp->coordinates = malloc(...)
[x] signal
File sigtoolsmodule.c, lines 914--927 (8 unchecked calls to malloc) and line 1096

We have vendored code in sparse and spatial that use malloc:

The SuperLU code in linalg/dsolve/SuperLU/SRC has its own memory management code. I didn't spend time trying to figure out the memory management here.  The file cmemory.c is the most relevant, and there appear to be calls to intMalloc() and user_malloc() that do not check for failure, but I didn't dig deeper to see if those functions check for failure before returning.
spatial provides a wrapper for QHull.  I didn't look very deeply into how the qhull code manages memory. It looks like the function qh_memalloc() in mem_r.c will print an error and exit if it fails.

We should be aware of these vendored packages using malloc, but I think a thorough review of their memory management is not required.  Someone can do a deep dive into either of these libraries in the future if there is ever a suspicion that they are leaking memory.

Nice @WarrenWeckesser, very useful to systematically check for common errors like this, way better than fixing them one by one after users report crashes.

#10027 contains a fix for the function identify_swaps() in the cluster package.
I have no immediate plans to work on the rest of the unchecked uses of malloc(), so if anyone wants to work on this, please do!  Make a note here indicating which one you are working on.

#10035 should now contain valid fixes for
real_roots, croots_poly1, and _croots_poly1 in _ppoly.pyx,
init in setlist.pxd,
and _dijkstra_directed, _dijkstra_directed_multi, _dijkstra_undirected, and _dijkstra_undirected_multi in _shortest_path.pyx.

@WarrenWeckesser I'm going to try to pick up the fftpack, ndimage, and signal mallocs. A quick question, for the fftpack, once we recognize that a call to malloc failed, could we call the provided destroy_##name##_cache in the fftpack.h to cleanly deallocate memory? I'm not familiar w/ Fortran code, so just wanted to check my understanding.

The issues in morphology.c in ndimage was fixed in https://github.com/scipy/scipy/pull/10443

@clementkng Maybe it would be good to postpone your work on fftpack. With a bit of luck, most of that code could be removed soon.

I've ticked off fftpack since GEN_CACHE no longer exists (gh-10507).

@sethtroisi maybe this is something you'd be interested in tackling?
There's stalled work in gh-10035, and other modules that haven't been started yet.

@rgommers I'm happy to take a look at #10035 this weekend. Seems like the sort of issue I can make headway on.

@sethtroisi fixed the Cython code in interpolate, spatial and sparse.csgraph in https://github.com/scipy/scipy/pull/12077.

After taking a closer look at _ccallback_c.pyx, I marked the _lib item as checked.  The result of strdup is passed to PyCapsule_New, and that function allows the pointer to be NULL.  Also, the memory allocated by strdup (if it succeeds) is freed in the capsule destructor callback raw_capsule_destructor (and calling free(name) is a no-op when name is NULL), so it all looks OK.

This may get split over 1.7.0 and 1.8.0 I suppose, I guess I'll bump the milestone for the overall issue.

I don't think we need to keep this issue open waiting for a review of the memory management in SuperLU and QHull.  Those are vendored libraries; until we have evidence suggesting otherwise, I think we should trust their authors.  I updated the description of the issue accordingly.  A thorough review of their memory management would be more appropriately done upstream rather than in SciPy's copies.

FYI, I had this on a list of issues to finish off. I think it's still useful to do, especially SuperLU - and then upstream and needed changes. Fine to leave the issue closed, but it may get done anyway.

That would be great!  Feel free reopen the issue and revert my edit of the description if you want to restore the checklist items.


Site needs to be cleaned up for Smaller Screens (Mobile)

Some of the site layout looks bad on mobile devices.
Notably, the share buttons at the top-left of the screen wrap funny and make the nav bars all messed up.
I have been trying to fix them, but haven't had much time.

This should be greatly improved with 4ab402e
(future tweaks may be nice)


[site] Move the redirector sources

The redirector is used by both the docs and landing page.  Move it out
of the landing directory and update deploy.sh so that it can update the
redirector instance group for the docs page as well.
Signed-off-by: Garret Kelly<EMAIL_ADDRESS>

Looks good to me, maybe change the commit title to something like "[site] Move redirector sources and generalise" or similar, to make it clearer this is more than just a simple mv.

Good call, updated commit message.  Thanks!


futures_user_socket testnet support

The stream url was set to FSTREAM_URL all the time. I changed it so it sets it to FSTREAM_TESTNET_URL when you are on testnet mode.

Thanks @Enebz  this was resolved in a separate PR


[feature request] support notifications

A variety of plugins utilize the notification message type to relay important messages. Time tracking, valuable drops, watchdog, idle notifiers, etc. Text to speech is great in conjunction with notifications, and many use the text-to-speech plugin to sound them when they are AFK.
Here is a link to where the TTS plugin reads notification messages, if this helps.

We have considered allowing other plugins to use natural speech tts features if available. But I don't think that we have considered reading all notifications as tts. Good shout!
We are currently finishing up 2.0.0 which is already massive but I can see this being added in the next version.


MB-4001: Use pop schema for schema dump/restore to squash migrations

Jira: Squash Database Migrations
Summary
Pop supports dumping the schema (using pg_dump). Use this to support dumping/loading from schema files.
Unfortunately, the existing migrations contain schema changes, data loading, and role/permission changes. Split those into 3 different files.
Setup to Run Your Code
In theory, all interactions will remain the same, but just be faster
Additional steps
This is still draft and needs more documentation and testing
Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.
Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Messages

:book:
:link: MB-4001

  Generated by :no_entry_sign: dangerJS against 5e3914cfebae6bc462ebf153e8c2caeef0640e46


Multisite and image resizing

This doesn't seem to work properly. Upon resizing, TimberImageHelper::_operate seems to call TimberImageHelper::is_external which always return true for subwebsites, since site_url and home_url are never part of source URL.
For example:
www.example.com/wp-content/uploads/... never contains www.example.com/nl/ (if /nl/ is the subwebsite).
network_home_url() and network_site_url() should also be checked. Something like this should work: (but could be DRY-er)
protected static function is_external($path) {
		if (is_multisite()) {
			$is_external = TimberURLHelper::is_absolute($path) && !strstr($path, network_site_url());
			if ($is_external) {
				$is_external = TimberURLHelper::is_absolute($path) && !strstr($path, network_home_url());
			}
		} else {
			$is_external = TimberURLHelper::is_absolute($path) && !strstr($path, site_url());
			if ($is_external) {
				$is_external = TimberURLHelper::is_absolute($path) && !strstr($path, home_url());
			}
		}

		return $is_external;
	}

Not to push you @jarednova, but I'm looking for a way to fix this for now (without using WordPress image sizes). However, I don't think there's a possibility. I don't see any filters and I don't think I can overwrite this class without re-creating the core of it completely (since _operate is private).
Do you have any ideas on how to fix this temporarily until this gets fixed in a new release?

It's alright, sometimes I need a push. I should be able to take a look at this later this evening....

@haroldangenent I think this might be fixed by a change between when your comment was posted and now. The current code checks for content_url():
	$is_external = TimberURLHelper::is_absolute( $url ) && !strstr( $url, content_url() );

This should satisfy a case where the image is.. http://example.com/wp-content/2015/08/fake-pic.jpg and the image were called from a page on http://example.com/nl, (content_url() returns http://example.com/wp-content). As I understand "child" sites share the wp-content location with the parent site, is this correct in all instances?

@jarednova Thank for looking at this. I can confirm this has been fixed in a later version!
I'm not aware of (and couldn't find) any built in way to specify a WP_CONTENT_URL per subwebsite. So checking content_url() should be fine for Multisite.


Improve article 2203.17187

Exact location of issue
Author list
Problem details
Large author lists should likely have a dedicated design that is more compact and saves on vertical screen space. Maybe similarly to how the PDF approaches it: https://arxiv.org/pdf/2203.17187.pdf
I think in such cases (maybe 10+ authors?) having the compressed footnote-based display for affiliations is much more economic and readable.
A different idea is to collapse very large author lists (et al.) and make them expandable on demand - which could help mobile readers in particular.

Another good example to study here: https://ar5iv.labs.arxiv.org/html/2212.13138


ryzenai_1.2.0.msi installation fail

Processor: AMD Ryzen AI 9 365 w/ Radeon 880M
System: Windows 11 Version24H2 (OS Build 26100.2033)
Installer: ryzen-ai-1.2.0-20240726.msi
During the install process, a CMD window prompt.

After a while, the CMD window closed, and show and error.

The installation failed. The error log shows this:
D:\softwares\miniconda3\Lib\argparse.py:2006: FutureWarning: `remote_definition` is deprecated and will be removed in 25.9. Use `conda env create --file=URL` instead.
  action(self, namespace, argument_values, option_string)
Pip subprocess error:
'chcp' \ufffd\ufffd\ufffd\ufffd\ufffd\u06b2\ufffd\ufffd\ufffd\ufffd\u2cbf\ufffd\ufffd\ufffd\ue8ec\u04b2\ufffd\ufffd\ufffd\u01ff\ufffd\ufffd\ufffd\ufffdе\u0133\ufffd\ufffd\ufffd
\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u013c\ufffd\ufffd\ufffd
'chcp' \ufffd\ufffd\ufffd\ufffd\ufffd\u06b2\ufffd\ufffd\ufffd\ufffd\u2cbf\ufffd\ufffd\ufffd\ue8ec\u04b2\ufffd\ufffd\ufffd\u01ff\ufffd\ufffd\ufffd\ufffdе\u0133\ufffd\ufffd\ufffd
\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u013c\ufffd\ufffd\ufffd
'chcp' \ufffd\ufffd\ufffd\ufffd\ufffd\u06b2\ufffd\ufffd\ufffd\ufffd\u2cbf\ufffd\ufffd\ufffd\ue8ec\u04b2\ufffd\ufffd\ufffd\u01ff\ufffd\ufffd\ufffd\ufffdе\u0133\ufffd\ufffd\ufffd
\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u013c\ufffd\ufffd\ufffd

CondaEnvException: Pip failed

Same issue.
A error occured when the setup wizard tried to create ryzen environment and the log file "C:\Temp\ryzenai_1.2.0_error_log.txt" showed the following content:
D:\anaconda3\Lib\argparse.py:2006: FutureWarning: `remote_definition` is deprecated and will be removed in 25.9. Use `conda env create --file=URL` instead.
  action(self, namespace, argument_values, option_string)

EnvironmentFileNotFound: 'C:\Windows\Installer\SFXCAD4CC70A2004F90AA458B478F69FFC0DE\env.yaml' file not found

System Enviroment:
Ryzen 9 PRO 7940HS
NPU Drivers is installed successfully
Windows 11 24H2 26100.2161
Visual Studio 2022
cmake v3.31.0-rc2
Anaconda 24.9.2

Make sure to use the MSI installer to uninstall the existing installation of RyzenAI-SW.
Remove the existing conda environment manually using "conda remove --name ryzen-ai-1.2.0 --all --yes".
Let us know if this resolves the issue.

Make sure to use the MSI installer to uninstall the existing installation of RyzenAI-SW. Remove the existing conda environment manually using "conda remove --name ryzen-ai-1.2.0 --all --yes".
Let us know if this resolves the issue.

Thanks for your replay, unfortunately it does not work.

I think the problem maybe that the installer can't execute msbuild tool, because it is not in system PATH environment. I solve the issue by doing these.

After install Visual Studio 2022, add msbuild tool to SYSTEM PATH, for example: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64.
Also make sure that C:\Windows\System32 and C:\Windows\SysWOW64 is in SYSTEM PATH too.
Remove conda environment created by the installer previous, conda remove --name ryzen-ai-1.2.0 --all --yes.
Open a terminal with administration privilege, execute ryzen-ai-1.2.0-20240726.msi. DO NOT change the default installation path, I encountered the same env.yml not found problem when I tried to install it on other path.
In step 3, if you still got env.yml not found error, go to step 3 and install again, it is just another tricky point.
After that, I ran the quicktest.py and test pass.

I think the problem maybe that the installer can't execute msbuild tool, because it is not in system PATH environment. I solve the issue by doing these.

After install Visual Studio 2022, add msbuild tool to SYSTEM PATH, for example: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64.
Also make sure that C:\Windows\System32 and C:\Windows\SysWOW64 is in SYSTEM PATH too.
Remove conda environment created by the installer previous, conda remove --name ryzen-ai-1.2.0 --all --yes.
Open a terminal with administration privilege, execute ryzen-ai-1.2.0-20240726.msi. DO NOT change the default installation path, I encountered the same env.yml not found problem when I tried to install it on other path.
In step 3, if you still got env.yml not found error, go to step 3 and install again, it is just another tricky point.
After that, I ran the quicktest.py and test pass.

It works! Thanks a lot.

I think the problem maybe that the installer can't execute msbuild tool, because it is not in system PATH environment. I solve the issue by doing these.

After install Visual Studio 2022, add msbuild tool to SYSTEM PATH, for example: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64.
Also make sure that C:\Windows\System32 and C:\Windows\SysWOW64 is in SYSTEM PATH too.
Remove conda environment created by the installer previous, conda remove --name ryzen-ai-1.2.0 --all --yes.
Open a terminal with administration privilege, execute ryzen-ai-1.2.0-20240726.msi. DO NOT change the default installation path, I encountered the same env.yml not found problem when I tried to install it on other path.
In step 3, if you still got env.yml not found error, go to step 3 and install again, it is just another tricky point.
After that, I ran the quicktest.py and test pass.

It works! Thanks a lot!


More cripts

This also reruns clang-tidy over the entire code, and a number of related cleanup.

The AuTest proxy_protocol failed.

[approve ci autest]

[approve ci autest]

[approve ci rocky]

Cherry-picked to v10.0.x


Cannot read properties of undefined (reading 'init')

Cannot read properties of undefined (reading 'init')

I also encountered this problem


plot limit

Description
plot limits either by person or by rank

Justification
so you can choose how much plots per player or per rank. per player would be all players

Alternative methods

Unlimited: myplot.claimplots.unlimited
Set: myplot.claimplots.<amount>

?
permissions?


add instructions for running performance tests

instructions for binary resource test
fix typo in property name for file sizes

This article has some suggestions on how to do this: http://www.testautomationguru.com/jmeter-manage-test-plan/ - essentially one needs to set the number of threads for thread groups you don't want to run to zero. I can see about adding appropriate properties to do that later this week.

The size parameters for tests 1 and 2 don't seem to be working.  Regardless of the parameters I use, I'm seeing 0-byte files created in all cases.

Sorry I didn't get to this last week; PR is updated just in time for the call!