New article Use the Government Cloud for SharePoint and Microsoft 365

Category

[ ] Content fix
[x] New article

Related issues

fixes #172

Contents of the Pull Request
New article!
Guidance

Learn Build status updates of commit 555fe40:
:warning: Validation status: warnings

File
Status
Preview URL
Details

Community/government-cloud.md
:warning:Warning
View
Details

Community/government-cloud.md

Line 2, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion: manager-missing - See documentation] Missing required attribute: 'manager'. Add a valid Microsoft alias for the author's manager.
Line 50, Column 2: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/office-365-us-government#platform-features' will be broken in isolated environments. Replace with a relative link.
Line 91, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/graph/deployments' will be broken in isolated environments. Replace with a relative link.
Line 94, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/azure/azure-government/documentation-government-welcome' will be broken in isolated environments. Replace with a relative link.
Line 98, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoft-365/enterprise/microsoft-365-u-s-government-dod-endpoints' will be broken in isolated environments. Replace with a relative link.
Line 102, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoft-365/enterprise/microsoft-365-u-s-government-gcc-high-endpoints' will be broken in isolated environments. Replace with a relative link.
Line 106, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoft-365/enterprise/urls-and-ip-address-ranges' will be broken in isolated environments. Replace with a relative link.
Line 112, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/microsoft-365-government-how-to-buy#how-do-i-buy-microsoft-365-government' will be broken in isolated environments. Replace with a relative link.
Line 119, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoftteams/plan-for-government-gcc' will be broken in isolated environments. Replace with a relative link.
Line 120, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoftteams/plan-for-government-gcc-high' will be broken in isolated environments. Replace with a relative link.
Line 121, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoftteams/plan-for-government-dod' will be broken in isolated environments. Replace with a relative link.
Line 125, Column 152: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/office-365-us-government#about-office-365-government-environments' will be broken in isolated environments. Replace with a relative link.
Line 128, Column 40: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/sharepoint' will be broken in isolated environments. Replace with a relative link.
Line 128, Column 208: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/onedrive' will be broken in isolated environments. Replace with a relative link.
Line 128, Column 376: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoftteams/expand-teams-across-your-org/teams-for-government-landing-page' will be broken in isolated environments. Replace with a relative link.
Line 131, Column 138: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-education' will be broken in isolated environments. Replace with a relative link.
Line 144, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoft-365/community/microsoft-365-on-social-media' will be broken in isolated environments. Replace with a relative link.

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 Learn 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 or suggestions 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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 7f889ad:
:warning: Validation status: warnings

File
Status
Preview URL
Details

Community/government-cloud.md
:warning:Warning
View
Details

Community/government-cloud.md

Line 2, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion: manager-missing - See documentation] Missing required attribute: 'manager'. Add a valid Microsoft alias for the author's manager.
Line 50, Column 2: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/office-365-us-government#platform-features' will be broken in isolated environments. Replace with a relative link.
Line 91, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/graph/deployments' will be broken in isolated environments. Replace with a relative link.
Line 94, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/azure/azure-government/documentation-government-welcome' will be broken in isolated environments. Replace with a relative link.
Line 98, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoft-365/enterprise/microsoft-365-u-s-government-dod-endpoints' will be broken in isolated environments. Replace with a relative link.
Line 102, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoft-365/enterprise/microsoft-365-u-s-government-gcc-high-endpoints' will be broken in isolated environments. Replace with a relative link.
Line 106, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoft-365/enterprise/urls-and-ip-address-ranges' will be broken in isolated environments. Replace with a relative link.
Line 112, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/microsoft-365-government-how-to-buy#how-do-i-buy-microsoft-365-government' will be broken in isolated environments. Replace with a relative link.
Line 119, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoftteams/plan-for-government-gcc' will be broken in isolated environments. Replace with a relative link.
Line 120, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoftteams/plan-for-government-gcc-high' will be broken in isolated environments. Replace with a relative link.
Line 121, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoftteams/plan-for-government-dod' will be broken in isolated environments. Replace with a relative link.
Line 125, Column 152: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/office-365-us-government#about-office-365-government-environments' will be broken in isolated environments. Replace with a relative link.
Line 128, Column 40: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/sharepoint' will be broken in isolated environments. Replace with a relative link.
Line 128, Column 208: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/onedrive' will be broken in isolated environments. Replace with a relative link.
Line 128, Column 376: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoftteams/expand-teams-across-your-org/teams-for-government-landing-page' will be broken in isolated environments. Replace with a relative link.
Line 131, Column 138: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-education' will be broken in isolated environments. Replace with a relative link.
Line 144, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/microsoft-365/community/microsoft-365-on-social-media' will be broken in isolated environments. Replace with a relative link.

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 Learn 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 or suggestions 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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

Thanks for the new article, @PatD! I cleaned up the absolute links and added it to the TOC/index/CHANGLOG. It'll go live in the next push - probably later today.
You have a lot of "bare links", meaning the text shows as the link rather than the title of the destination. I changed a few of them, but if you could take a pass through and clean up the rest, that would be great.
I know some of the links are bare intentionally, like https://portal.office.com/account/. That's fine, but in most cases we should show the destination titles.


Hax-lib[-macros]: cfg(hax), cfg(debug_assert) and release mode policy

hax-lib and hax-lib-macros provide hax-related features that are relevant only when extracting though hax (and maybe in some scenarios in debug mode, but this is not entirely clear yet)
The constraint here is production code. When we introduce a dependency to hax-lib in production code, we want (if not cfg(hax)):

as few as possible dependencies (from hax-lib);
all macros from hax-lib should be no-ops.

Solution: add a dummy hax-lib-dummy crate that is an empty shell, providing the same interface to hax-lib, but with macros being no-ops. Then hax-lib, with a cfg, either includes the real library or the dummy one.
Actions:

[ ] Rename hax-lib into hax-lib-impl, move it inside a brand new hax-lib crate
[ ] Create a hax-lib-dummy crate
[ ] Make hax-lib expose either the dummy one or the lib one
[ ] Move all docstrings to external files so that the dummy and impl crate have the same documentation

Putting this into separate crates requires publishing both, hence more complexity.
How about clearly separate modules instead of different crates?

Still needed

I´'ve been looking at that the last two hours or so:

we need two crates for hax-lib-macros: a real one and an impl one. We can't do two modules included conditionally: macros need to live in the top level module.
I'm not sure yet about what to do with the refinements. In hax-lib-macros, we have refinements and ints.

we should have a feature refinement and a feature int
in the dummy crate, such macros should generate simple wrappers, or maybe type synonym

I use cargo-public-api to make sure hax-lib[-macros] dummy VS non-dummy expose the same API
I opened a draft PR there https://github.com/hacspec/hax/pull/983


array de bin leak

pr to close #79. The primitives for fallible creation of arrays and transmutation of MaybeUninit arrays are both unstable still, so doing it manually here. There are now only two unsafe lines, one to assume_init each item in case of success, and one to assume_init each item which has been successfully deserialized (so it can be dropped) before returning an error.
The core::array::map documentation has some concerning looking warnings about poor performance, so maybe would be better to go back to a transmute for that instead of applying assume_init in the map like I've done here.

according to these godbolt examples it should optimize ok, but may be slower in debug builds

I think additional code complexity is not worth it. This leak looks quite niche too be too concerned about.
I would rather make a good looking fix or just leave it as is for now.

    fn de_bin(o: &mut usize, d: &[u8]) -> Result<Self, DeBinErr> {
        use core::mem::MaybeUninit;

        // waithing for uninit_array(or for array::try_from_fn) stabilization
        // https://github.com/rust-lang/rust/issues/96097
        // https://github.com/rust-lang/rust/issues/89379
        let mut to: [MaybeUninit<T>; N] =
            unsafe { MaybeUninit::<[MaybeUninit<T>; N]>::uninit().assume_init() };

        for c in 0..N {
            match DeBin::de_bin(o, d) {
                Ok(v) => {
                    to[c].write(v);
                }
                Err(e) => {
                    // drop all the MaybeUninit values which we've already
                    // successfully deserialized so we don't leak memory.
                    for (_, to_drop) in (0..c).zip(to) {
                        unsafe { to_drop.assume_init() };
                    }
                    return Err(e);
                }
            }
        }

        // waiting for array_assume_init
        // https://github.com/rust-lang/rust/issues/61956
       Ok(unsafe { (&*(&to as *const _ as *const MaybeUninit<_>)).assume_init_read() })
    }

Your idea, but IMO looks a bit better.
I am not sure if https://github.com/rust-lang/rust/issues/89379 will be stabilized super soon, so, maybe, considering the same problem for json/ron, we need to make our own poor-man try_from_fn or something.
Or just do nothing right now and wait :)

I spent a little while checking and yours performs way better on memory usage (speed optimized about the same) at every opt level.

Added your version, just with a couple more comments
impl<T, const N: usize> DeBin for [T; N]
where
    T: DeBin,
{
    fn de_bin(o: &mut usize, d: &[u8]) -> Result<Self, DeBinErr> {
        use core::mem::MaybeUninit;

        // waiting for uninit_array(or for array::try_from_fn) stabilization
        // https://github.com/rust-lang/rust/issues/96097
        // https://github.com/rust-lang/rust/issues/89379
        let mut to: [MaybeUninit<T>; N] =
            unsafe { MaybeUninit::<[MaybeUninit<T>; N]>::uninit().assume_init() };

        for index in 0..N {
            to[index] = match DeBin::de_bin(o, d) {
                Ok(v) => MaybeUninit::new(v),
                Err(e) => {
                    // drop all the MaybeUninit values which we've already
                    // successfully deserialized so we don't leak memory.
                    // See https://github.com/not-fl3/nanoserde/issues/79
                    for (_, to_drop) in (0..index).zip(to) {
                        unsafe { to_drop.assume_init() };
                    }
                    return Err(e);
                }
            }
        }

        // waiting for array_assume_init or core::array::map optimizations
        // https://github.com/rust-lang/rust/issues/61956
        Ok(unsafe { (&*(&to as *const _ as *const MaybeUninit<_>)).assume_init_read() })
    }
}

that transmute at the end is so hard to read, but seems like all the easy-to-read options perform very badly

@not-fl3 did you have any remaining concerns over this implementation?

@not-fl3 did you have any remaining concerns over this implementation?

Let's merge it!
Do you want to copy-paste this snippet to serde_ron/serde_json? Its the same very bug, would be cool to get it fixed too

Ah, sure, I will do that. I wonder if I could get a better test 🤔

@not-fl3 added a commit with tests for json/ron/bin showing that drop code was not being run previously, and is being run after the update. Can check out the first commit to see the failing tests, and the second commit that fixes it

If you're happy with the DeJson/DeRon impls I think it's ready

LGTM!


167 processes fresh install

Is this normal? Running 32gbs of memory maybe that why in the latest video on 60 processes showed.

It is normal. 60 each processes you can get after add all tweaks from winutil after install.

It is normal. 60 each processes you can get after add all tweaks from winutil after install.

I see, I thought it was all built into the ISO, I ran standard and am down to 100 processes.
Thanks

/close


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 92adbab, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 8705 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in 65ad77b.


release v0.41.0

gapic-generator: No changes
artman:

add grpc_service_config attribute to artman config (https://github.com/googleapis/artman/pull/755)

I was like, I did not see a PR updating gapic generator hash, but then realized, oh no :)

@noahdietz The CI might fail with
Failure:
Failed to generate csharp_gapic of /tmp/googleapis_smoketest/google/cloud/billing/budgets/artman_billingbudgets_v1beta1.yaml.

This is being taken care of by @vam-google.


Issue with exemplar field

Hi.
Big thanks for your cool clickhouse dashboard for grafana! :)
But I have some issue with it.
You have "exemplar" field in your graphs that is enabled by default. And for some reason when it's enabled I got 404 issue. If I disable exemplar I get the values correctly.
I have grafana 7.4.3 in kubernetes and some clickhouse instances outside of kubernetes.
PS: кстати, Паша, привет) может меня узнал?)))

Thanks. It seems that exemplars are useless for ClickHouse now, so I disabled it by default.
P.S. Да )


Generate Typescript Typings Declaration file for Angular client

Hello,
Im using NSwag with .NET5 to generate TypeScript API client for my Angular app.
I was wondering, is it possible to generate .d.ts file too?
Tnx.

Why would you need both the client and the .d.ts file?
Usually typings files are used to integrate non-Typescript code into a Typescript project. To describe the Javascript, since Typescript doesn't know how to interact with it.
Why would you need it for already valid TS code? Am I missing something?


Add alerts for DSP Operator

Description

Adding alerting rules for the Data Science Pipelines Operator.
How Has This Been Tested?

Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] For commits that came from upstream, [UPSTREAM] has been prepended to the commit message.
[x] JIRA link(s): https://issues.redhat.com/browse/RHODS-7876
[x] The Jira story is acked.
[ ] Live build image:
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work.
[ ] QE contact acknowledges that this has been tested and is approved for merge.

This PR is blocked until https://github.com/red-hat-data-services/odh-deployer/pull/314 and https://gitlab.cee.redhat.com/service/managed-tenants-sops/-/merge_requests/82 are merged.
Once they're merged, this PR will be rebased and marked ready for review.

Remember to update the prometheus init-container (wait-for-deployment) in order to wait until the data science pipeline operator is active, or the alert will fire

Done, updated the prometheus init container.

Same for is needed for blackbox-exporter's init container (I just saw it)

Tested the changes :
The alerts fires info level alerts

Retested with changes:
Waited for all 3 alerts to fire:

Process for testing:
After applying the rules.
Scale down the service.
Alerts started firing.
/lgtm

/approve

From @jgarciao :

"If you are confident with PR319 and merge it, it will be included in a pre RC build DevOps will create on Monday (so I'll be able to test that with all the changes)" ~ Jorge

/label qe-approved


fix: dpo trainer ds config

ref_model and model shouldnt share the same ds config, so we shouldnt modify the ds config directly. or else, it will cause sth wrong when init deepspeed engine

@mengban before merging can you run the styling checks ? make precommit

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@mengban before merging can you run the styling checks ? make precommit

ok, I have submitted a new commit to solve the problem of import sorting.


bot crashes on MoveToMapPokemon  task

Expected Behavior
I want to use move to map without sniping
Actual Behavior
bot crashes
Your FULL config.json (remove your username, password, gmapkey and any other private info)
http://pastebin.com/AZKkmqm3
Output when issue occurred
Traceback (most recent call last):
File "pokecli.py", line 803, in
main()
File "pokecli.py", line 162, in main
bot.tick()
File "/home/houkop/dev/PokemonGo-Bot/pokemongo_bot/init.py", line 685, in tick
if worker.work() == WorkerResult.RUNNING:
File "/home/houkop/dev/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_map_pokemon.py", line 381, in work
step_walker = self._move_to_pokemon_througt_fort(nearest_fort, pokemon)
File "/home/houkop/dev/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_map_pokemon.py", line 521, in _move_to_pokemon_througt_fort
data= pokemon_throught_fort_event_data
File "/home/houkop/dev/PokemonGo-Bot/pokemongo_bot/base_task.py", line 43, in emit_event
data=data
File "/home/houkop/dev/PokemonGo-Bot/pokemongo_bot/event_manager.py", line 72, in emit
formatted_msg = formatted.format(**data)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
Steps to Reproduce
enable MoveToMapPokemon
Other Information
OS:
Debian GNU/Linux 8
Branch:
last dev
Git Commit:
6aea15fc0a201d529de8c9d4cb3bf19cebc1cbb4
Python Version:
Python 2.7.9

What are your purposes to use snipping without actually teleporting?
It might be deprecated soon.

Fix 5290 works, thanks.
It is good feature, why it might be deprecated?

Snipping wont be fully deprecated, just the "walking sniper". There's no point to snipe a target by walk. Mostly all the targets are at least farther than 50 kilometers (and thats a really fair close one), so even if it has 15 mins left (which is very unlikely to be), you can't humanly reach it, so why bother walking to it when you can teleport?

May be it was misunderstood, I'm not using snipe at all, I'm using that task to move to rare pokemons near bot. So, I hope it will be  ok :)

Sorry, which task are you using exactly (name)?

move_to_map_pokemon

I use the walking sniper all the time, there are plenty of Pokemon I want within walking range at some point. Doesn't the game record location where pokemon was caught? If there isn't a spawn near the catch site, wouldn't we want to avoid that?

Fixed

@houkop move_to_map_pokemon is what we can snipping.
@crvfts I can't tell you whether they record the encounter coords and/or the caught coords, but either way snipping is not safe, so isnt botting.


Show available and enabled fixers in :ALEInfo

Fixers can not only be things registered in the fixer registry, but any function at all, but it would be good to print fixer names and maybe some information about fixers in :ALEInfo, alongside the linters. This would help people to understand what is available if they know about :ALEInfo, but not :ALEFixSuggest.

As an added bonus, it would be nice of :ALEInfo would print a message saying that a fixer has been configured a linter, or vice-versa, so people can spot their mistakes easily and fix them.


neo4jrb failing when doing map on an empty relationship

When using :selected => @artefact.tags.map(&:id) in ActiveRecord, if there are no tags, then an empty array is returned.
With Neo4j, an error stops the processing:  undefined method `map' for nil:NilClass.
Additional information which could be helpful if relevant to your issue:
Code example (inline, gist, or repo)

  <%= f.label :tags_id %>

  <%= f.collection_select(:tags, Tag.all.sort { |a,b| a.name <=> b.name }, :id, :name, options = {
    :prompt => "Please Select an Item",
    :selected => @artefact.tags.map(&:id)
  },
  html_options = {:multiple => true, :class=>"search"}) %>

Runtime information:
Rails 5.0
neo4j gem version: 7.1.0
neo4j-core gem version: 6.1.4

Interesting, is your tags association has_one or has_many?  If it is has_many then this seems broken.  If it's has_one then that makes sense.  You could do @artefact.as(:a).tags.map(&:id).  That would first turn the @artefact variable into a query proxy and then you can call either type of association to build the chain.
Alternatively to have a somewhat more efficient query you can just return the id properties like this:
# For `has_many`
@artefact.tags.pluck(:id)

# For `has_one`
@artefact.as(:a).tags.pluck(:id)

The association is has_many, yes.
I've switched to using pluck, but leaving this open as this could catch users who are coming from ActiveRecord.

Sounds good.  I'm going to close the issue because people should still be able to find it, but definitely reopen/comment if you're still having an issue or want to discuss it.  Thanks!


[WebView] Other Compose content not rendered while WebView is loading

Description
While the Accompanist WebView is loading a url (we show a CircularProgressIndicator) it stops other Composable content from showing up. The other content is just white/blank.
Please checkout this screencast of the issue:

Steps to reproduce

Initialize webview, starts loading
content above is not shown before the url is loaded

Expected behavior

Initialize webview, start loading
content above is shown all the time

Additional context
The content above is not hidden or covered. It shows up as supposed in the Layout Inspector, it is just not shown on the real screen:

It seems like the WebView is internally blocking the other Compose rendering.
Compose Version: 1.3.1
Accompanist Version: 0.27.1
The WebView creation:
Box(modifier = modifier) {
        WebView(
            state = webviewState,
            client = webviewClient,
            chromeClient = webviewChromeClient,
            onCreated = {
                onCreated(it)
            }
        )
        val loadingState = webviewState.loadingState
        if (loadingState is LoadingState.Loading) {
            Box(
                modifier = Modifier
                    .padding(24.dp)
                    .fillMaxWidth(),
                contentAlignment = Alignment.Center
            ) {
                TestbirdsIndeterminateCircularProgressIndicator()
            }
        }
    }

The other content is in a Column, together with the WebView.
I'm happy about any help or workarounds for this issue. I can provide more information if needed.

This happens because on the first load of a webview it loads the whole chromium engine and that blocks Compose's applyChanges from happening. It is something I want to fix but haven't found a workaround for yet. Out of interest, does setting a Modifier.alpha(0.99f) fix the problem for you?

Setting the alpha on the WebView fixed it on 3 out of 6 devices we tried.
It works:

Samsung (Android 9)
OnePlus 8T (Android 13)
Emulator Android 13

Does not work:

Huawei (Android 10)
Pixel 2 (Android 11)
Emulator Android 11

Based on the data it seems the fix does not work on Android 10 and 11 (we did not test Android 12).

I have similar issues with the following snippet:
    val state = rememberWebViewState("https://www.notion.so")
    val navigator = rememberWebViewNavigator()
    Column(Modifier.background(Color.Red)) {
        Row(
            modifier = Modifier
                .height(56.dp)
                .fillMaxWidth(),
            horizontalArrangement = Arrangement.Start,
            verticalAlignment = Alignment.CenterVertically
        ) {
            IconButton(onClick = {}) {
                Icon(
                    Icons.Default.ArrowBack,
                    contentDescription = "go back"
                )
            }
        }
        WebView(
            state = state,
            navigator = navigator,
            onCreated = {
                it.settings.javaScriptEnabled = true
            }
        )
    }

Expected result:

Actual result (Xiami Mi8, Android 10):

@bentrengrove Could you confirm that it's the same root cause?
Here is a project reproducing the issue: https://github.com/nicolashaan/accompanist-webview-issue-repro

I have just encountered a similar issue. I notice that setting a height on the WebView fixes the problem, e.g.
WebView(                             modifier = Modifier.height(300.dp),
I'm not a Compose expert, but this behaviour makes me assume that Column doesn't render its content until all Composables are finished measuring. Since the WebView is still loading it doesn't yet know its height, so this blocks the parent Column from rendering.

I found by chance similar issue described on StackOverflow. One answer suggested to explicitly set the WebView's layer type to SOFTWARE like this:
webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null)
This solved all visible issue for us.
Here is the original answer:
https://stackoverflow.com/a/75247593

With webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null), the content of webView doesn't show after load for me. Still looking for other solution

This solves the issue:
AndroidView(             modifier = Modifier                 .fillMaxWidth()                 .weight(1f),             factory = {                 WebView(context).apply {                     setLayerType(View.LAYER_TYPE_SOFTWARE, null)                     webViewClient = WebViewClient()                     loadUrl(item.link)                 }             })

I share the webview with people who put the webview in the androidview. In my case, I struggled with the phenomenon that the header was not visible until the webview was loaded.
In my case, I processed headers and content using Columns, but using "Scaffold" solved this problem.
I hope it helps people watching this. That's it.

setLayerType(View.LAYER_TYPE_SOFTWARE, null)  does not work if the content has GIFs

I know this issue is closed by my search lead me here first, so I want to make it easier for others to find this.
It seems like to correct solution is to set clipToOutline = true on the webview instance. See the (issue tracker for reference)[https://issuetracker.google.com/issues/174233728#comment5] and  the (source code for the current recommendation)[https://github.com/androidx/androidx/blob/42d844f7f349384761bca5dad6adaed43a8ae677/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/viewinterop/AndroidView.android.kt#L175].
@bentrengrove would you agree with that?

Yes, I believe that is correct

Below code worked for me:

AndroidView(modifier = modifier, factory = {
        WebView(it).apply {
            //setBackgroundColor(Color.Blue.toArgb())
            clipToOutline = true
        }
    }, update = {
        it.loadDataWithBaseURL(null, html, "text/html", "UTF-8", "")
    })


3/20 Publish

:x: Validation status: errors

File
Status
Preview URL
Details

api/overview/azure/index.yml
:x:Error

Details

:x:Error

Details

api/overview/azure/index.yml

[Error] Error transforming model "W:\qybu-o-unknown\raw-\ll34x5fm.gx5\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

[Error] Error transforming model "W:\qybu-o-unknown\raw-\ll34x5fm.gx5\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-toc/top_level_toc.yml
:white_check_mark:Succeeded

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


Added player animations

Player now rotates and flips, does not affect hit detection.

Thank you for your contribution to this project. ❤
I made some changes to clean some stuff up, and lightly adjusted the duration and transforms used during rotation.
Other than that, everything looks good. I'll let you do the merging just in case you wanna change something before the merge happens.

I do have a few design principle objections:

HishigataAction.AngleForAction is redundant. We already know we are talking about an action, HishigataAction.Angle is sufficient.
Enums are not numbers - they are names, concepts. I know the math works out, but it just feels wrong.
Hishigata.HishigataExtensions is redundant but I am guilty of namespace redundency too
If you have decided to factor out HishigataExtensions ( effectively decoupling it from HishigataAction ), then Player.rotateToClosestEquivalent should be an extension in that file too ( for all TransformSequence<T> where T : Drawables ).

I don't really see Enums as a particular "name", but rather an alias to a backing ID/number, hence my acceptance of using it in math. (where they make sense of course, and of course the math won't work on unordered Enums)
I don't really use switch expressions in my projects as well, and a full switch statement is a bit overkill.
As for me moving the extension class out, I don't really have a problem with the location previously. I just wanted to resolve the lone CodeFactor nitpick, and it nicely matches up with what sentakki does with extensions as well.
Also, we might wanna consider a less distracting option for the player animation. We can discuss that along with these points in detail in the discord server if you wish.


Album art overwritten incorrectly

What version of Music Assistant has the issue?
2.0.0b67
The problem
I am yet to see if it is easily reproducible as I was creating a playlist and doing lots of global searches and clicking in an out of tracks to find th eone I wanted to add. Then I identified a song I though maybe I had locally so I clicked through the Artist view to the Beach Boys and noticed that some album thumbs were changed to that of albums I had seen during the global search. See below the Forrest Gump Soundtrack thumb and two tracks from Summer Dreams have been changed.

However, when I SHOW INFO on Sloop John B. I see this correct thumbs?

How to reproduce
Likely it is browse through a streaming provider and select Artists or Tracks that are available locally and observe an eventual change of some local thumbs.
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.8.0
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

Actually I just looked again and saw one track that has had its album thumb overwrriten by another local album. See "Good Vibrations" but note there are lots of others that are unchanged as well.

I can see what's going on here... the track itself has an image in these cases and that has preference over any album cover.
What level is this ? Main tracks listing or artist level ?

It was Artist level

Fixed in next version

Sorry @marcelveldt seems worse. Most tracks have no thumb displayed and those that do are mostly incorrect


Locate more elements using Watir's Selector Builder

This is my stab at optimizing and reorganizing. I haven't run my stats package on it, yet.

Well, pretty much this decreases tag_name calls in our suites by about 25%. So overall numbers it isn't a lot, but it also likely represents improvements for more typical usage.

And I forgot a question mark. I'll update when I get to a laptop. Sounds like there is also some legacy page object issue that needs to be verified before we do another beta release


[5.4] Capture ML Stats

Machine learning is planned for 5.4, and it would be good to ensure that the support diagnostics tool captures the available stats about the running jobs, their configurations, and current stats.

Went in the 5.13 release.


[TwigComponent] Fix LiveComponent namespace mapping

I believe this modification fix issue #1754
Original problem
If you render a template @Acme/dashboard.html.twig, embedded Components (live or twig) referenced wrong template (dashboard.html.twig here), making LiveComponent impossible to rerender (this file beeing not referenced in the TemplateMap).
This behaviour was introduced in #1082 (and worked then). But i'm convinced all the work/changes made by Ryan to fix the embed bug (#1247 and related) made this obselete (and in this particular situation even originates a bug)
All tests are green, and i'd like to test it more heavily... but before that : do you think this is a bug fix or is there some kind of BC break here?

Ready to merge (confirmed to fix the original issue https://github.com/symfony/ux/issues/1754#issuecomment-2076521487 ) when you want guys ☺

Thanks Simon.

Thank you, everyone!


Fonts/icons not working out of the box

So I just tried out the new VimBox on the json branch, and for the most part it worked great! It was extremely simple to set up and didn't mess with my existing Vim configurations. I do have one question, though, which is how can I get the font to be the same as the one in shown in the README. Currently, the font is as shown in the screenshot below. I also had some issues rendering icons (you can see the box with the ? inside it in the bottom status bar). Thanks in advance for your help!

You need a font with powerline symbols. I use PragmataPro (commercial), but there are many good fonts with powerline symbols. I could also add one to VimBox and make it the default.

I recommend InconsolataDz here: https://github.com/powerline/fonts

Great stuff! Because a config file is generated, and it looks like the default config is ignored. How to set the font persistently? I don't see an option in the json file.

In ~/.config/vim-box/user/settings.osx.gui.json add something like:
    "vim": {
      "config": {
        "guifont": "PragmataPro_Mono_Liga:h10",
      },
     ...

The config will be regenerated when reopening VimBox.


Improve Scraper Matching System

I've noticed that the scraper is getting hung up on special characters in file names, most notably things in parenthesis, brackets, and braces. This leaves things such as versions and country codes in the scraping text, leading to fail to find matches.
Additionally, may I suggest adding integration with IGDB as a database? It tends to have much less rate limiting than ScreenScraper, and even includes some entries they don't have. Applications like Daijisho use it as their primary scraper.

Yes, there needs to be some cleanup system when using raw file names due to that extra garbage. I'm still not sure of a reliable way to do so, but I'll investigate options and detail them here in the future.
As for IGDB, I've considered using it too as it's way more reliable. However, the main issue is how their API works, which requires me to generate a Twitch token, which has an expiration time. Embedding this in the app would force me (and users) to update the app every ~2 months. And their suggestion of setting up a proxy service for requests is likely to incur in costs I can't have ATM.
I want to eventually support more scrapers in the future and IGDB is indeed a good candidate, but I'll need to figure out a good solution for this problem.


prtScoreConfusionMatrix breaks after latest pull

Hey there!
I was getting an error using the prtScoreConfusionMatrix after the latest pull
132: prtUtilPlotConfusionMatrix(confusionMat,guessClassNames,truthClassNames);
I noticed that prtUtilPlotConfusionMatrix should be prtPlotUtilConfusionMatrix. Looks like the name of the function was changed recently
Thanks!

This has been fixed on the devel branch: 2192e72dd62792b2bda9352956b887bfe23d160c


Remove pageSize from ReactTables

Because it stops changing number of rows dropdown from working properly.

Added some custom noDataText & set minRows to 3 for nicer look when tables are empty

nice work!  looks awesome :+1:
LGTM


Pixel width is handled differently when making new pdf, vs splitTexttoSize, vs y position

When I use
var doc = new jsPDF({
   orientation: 'portrait',
   unit: 'px',
   format: [360, 504]
})

It creates a 7x5 in pdf ( using px instead of in, because in another issue it said custom sizing was broken). When I use
doc.text( 100, 100, text );
It doesn't place the text about a fifth of the way in at 100px, instead it places it at about 135px in. I realized I needed to multiply it times the scale factor (72/96), and now that's good. But when I try to use
var textWidth =  504 - 100 - 100;
var text = doc.splitTextToSize( data.inputText, textWidth );

It returns lines that are too short. It seems there's an inconsistency with the pixel widths in different functions. Shouldn't they all multiply times a scale factor if we're taking a scale factor into consideration? And, what algorithm should I be using to achieve the correct textWidth since width - margin - margin isn't calculating correctly?
Using 1.5.3/jspdf.debug.js

This is how short the text lines are when I request a width of 304px on a document 504px wide.

Duplicate of #2152


start cleaning up issue closing

/vote close will run. All text after the command will be ignored

Something broke this.


Adding logos to export modal

#227

@karanvirsb

if you could just update the language and move the logos to the below the code snippet that would be awesome! as discussed here: https://mirrorful.slack.com/archives/C04RR2D7C65/p1680567571567519

Feel free to un mark it as draft when you think it's ready.

@alexdanilowicz I've added a review comment I thought would make the code better. I hope you don't mind.

Also @karanvirsb I'm sure you already plan to take care of it, but there are some unused imports like Heading from chakra-ui. Maybe we can remove them if we don't need the Components?

@karanvirsb
if you could just update the language and move the logos to the below the code snippet that would be awesome! as discussed here: https://mirrorful.slack.com/archives/C04RR2D7C65/p1680567571567519

Yes I will work on this tomorrow as I was busy with the next js routing today.

@karanvirsb cleaned up a few things ^ see above. just merged. well done!

@karanvirsb cleaned up a few things ^ see above. just merged. well done!

Looks awesome!


Preparata_Algorithm

Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python
I want work on issue in C++

You can work now @agamgupta2015


Does not accept a password from another computer

Everything works on the local computer. If another computer opens a page to enter the password, but I will not be allowed to enter

Hi,
Can you post your config, JavaScript console log, and homebridge logs.


Somewhere wanted unit problem

Hey
I'm trying to use reductive in an environment with BS 7.0.0
I keep getting an error like this:
  32 │
  33 │ let store =
  34 │   Reductive.Store.create(~reducer, ~preloadedState=initialState, ());

  This has type:
    appState
  But somewhere wanted:
    unit

Based on examples, my setup looks ok. Anyone else experienced the same?

Ah, 5 seconds after posting I managed to get more specific error. I think the problem is related to my reducer. Closing. Sorry.

If anyone end up here, the reason was that the reducer was not returning a new state because the developer (me) is a noob.


Bump version of pac4j to 3.5.0

Version bump pf pac4j.

Thanks very much for the pull request. This is superceded by https://github.com/apereo/cas/pull/3835


Fix docs words error

Fix installation install word missing.

What do these changes do?

1892

 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.


Write log with each connection

Hi
I use the v4l2rtspserver in the Pi RPOS project (an ONVIF Server for the Pi)
I wondered if it is possible to modify the code to write a log message (or write to stdout) with each RTSP connection (either on the SETUP or on the PLAY).
What I'm interested in is seeing if a RTSP client connects in UDP, TCP or Multicast based on the ONVIF messages I return.
Thanks
Roger

I had a look at live555. I had hoped there was something that could be overloaded via right now it looks like I need to look at some fprintf statements wrapped by a DEBUG #define in RTSPServer.cpp
I don't think there is an easy way to do it without making changes in the live555 library itself.

HI Roger,
The live555 RTSPserver is overided in https://github.com/mpromonet/v4l2rtspserver/blob/master/inc/HTTPServer.h, in order to improve the HLS support and add MPEG DASH.
Maybe adding some log  in  :
            RTSPServer::RTSPClientConnection* createNewClientConnection(int clientSocket, struct sockaddr_in clientAddr)
	{
		return new HTTPClientConnection(*this, clientSocket, clientAddr);
	}

Otherwise you can overide the RTSPServer::RTSPClientConnection method called by DESCRIBE or SETUP.
Best Regards,
Michel.

Thanks, I will take a look.
Roger


replace is inconsistent with find and useless for large files

Version 2.04
OS: Termux
Terminal: Termux

backslashes have to be doubled (in a regexl contrary to the find command
independent of the cursor position, replace always starts at the first line of the file. Using it on a file of several thousands of lines is impractical therefore

Micro uses the same rules as the shell to parse command bar arguments. This causes the annoying problem that backslashes have to be doubled to be escaped once as a command argument and then again for when they are passed into the regexp engine. One solution is to use single quotes instead of double quotes which causes literal parsing at the shell level. So you can use > replace '\\' backslash to replace all \ characters with backslash.
Regarding point 2, this was just reported and fixed in #1731.


Tabcompletion for Enum values doesn't show Format value

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Step 1: Define an Enum that includes Format as a value:
enum TestEnum
{
    Test1
    Format
}

Step 2: Try to tab complete values for that Enum:
TabExpansion2 '[TestEnum]::' | select -ExpandProperty CompletionMatches
Expected behavior
CompletionText             ListItemText              ResultType ToolTip
--------------             ------------              ---------- -------
Test1                      Test1                       Property static TestEnum Test1 {get;}
Format                     Format                      Property static TestEnum Format {get;}
Equals(                    Equals                        Method static bool Equals(System.Object objA,
Format(                    Format                        Method static string Format(type enumType,

Actual behavior
CompletionText             ListItemText              ResultType ToolTip
--------------             ------------              ---------- -------
Test1                      Test1                       Property static TestEnum Test1 {get;}
Equals(                    Equals                        Method static bool Equals(System.Object objA,
Format(                    Format                        Method static string Format(type enumType,

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.4.0-preview.3
PSEdition                      Core
GitCommitId                    7.4.0-preview.3
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

At least conceptually, but probably also technically related:

#4724


Add --timeout command line flag

Code Coverage is 82.2%, details at https://s3.amazonaws.com/rs-code-coverage/rsc/2015-11-10_493_Coverage-82.2.txt (sometimes the URL can take a few minutes to be available)


refactor: use vim.system

Use vim.system instead of vim.fn.jobstart for performance gains (#191)
black before:

black after:

Tests seems to pass for me using Neovim 10.0.1.
Also I think we need to replace vim.fn.jobclose, but I haven't figured it out yet

It should be ready. I'm using vim.fn.exepath for the command, installing a formatter on Windows (😭) which is a batch script (for example with mason.nvim or node), uv.spawn wouldn't recognize it as executable, this is the same strategy used by nvim-lspconfig

Great! I like the idea of calling the C function directly for consistency, but...I ended up replacing it with lua instead. I wanted to add a quick and dirty lua implementation for the case when ffi isn't available (LuaJIT isn't available for all platforms, so Neovim falls back to providing Lua 5.1). I briefly went over the C logic to make sure I was doing roughly the right thing, but it turned out to be so simple that I ended up just copying all the logic. And then once I had done that, it seemed kind of silly to have the two different implementations if we expect them to do the exact same thing, so I removed the ffi.
Thanks for putting the PR together! I'm excited to start migrating my plugins off of jobstart!


Importing API

Hello chenweiqun,
I found this project when I was searching someway of integrating an swagger api to vue. I'm able with your code, to generate the api.js code, but I have no idea how to integrate that into vue.
Can you explain briefly how to do it? (How to use the generated file)
Thanks!

+1


Recommended way to install plugins

Is there any recommended way to install plugins?
Browsing through docs I found values for plugin config, but I understand, that I still need to deploy plugin code itself.
Should I create custom docker image like documented in Netbox docs or maybe there is better way? https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins#custom-docker-file

That's the way I use, instructions for the Docker image apply to Helm.

The recommended way to deploy plugins in NetBox with this Helm chart, and with the upstream Docker image that it uses, is to build your own image that includes the plugin(s) and all their dependencies.

Sorry for reviving an old issue, what about having a way to do it in a unit container ? Maybe already possible ?

That's not the container way. Code should be in the image.


Add json support to document_store

Fixes #87
Storing a document requires the document to be a valid JSON string.
Fetching a document requires the search filter to be a valid JSON string.

I am just starting to read through this and will have detailed feedback tomorrow.  For now I have some observations not related to the new code.
You are putting the indexes for a database each in a separate UnQLite database. This is going to be a problem for ensuring consistency. We need inserts into the database to atomically add a new record and update the indexes. It must not be possible for some to be updated and some not.
UnQLite provides a mechanism for ensuring this through its transaction API. You tell it that you are starting a new transaction. When you are done inserting everything, you tell it you are committing the transaction. If there is a problem, you tell it to roll back the transaction and then none of the inserts happened. If the database crashes in the middle of a transaction, on restart it will recognize the a transaction was in progress and roll it back.
There is one limitation to all this. Transactions are implemented for individual key-value stores. If the indexes are each in their own key-value store, the transaction mechanism won't help. To be able to use the transaction mechanism, the indexes will need to be in the same key-value store as the data they index.
To accommodate this, I suggest that you prefix each key in a key-value store with a byte that indicates that the key-value pair is one of three types:

Data – If the first byte of the key indicates that it is a data key, then the rest of the key is a unique u64 value. The value part of the KV pair contains the record's JSON data.

Index – If the first byte of a key indicates that it is an index key, then it is followed by a u16 that indicates which index it is part of.
This does imply that a database will have no more that 64k indices. The u16 is followed by the values of the indexed fields.
The key of the record that contains the indexed values is in in the value part of the KV pair.

Metadata – There will only be one record of this type. The type byte is the entire key
The value part of this will contain a JSON object that contains the name of the database, the names of the indexes and the fields that each index is based on.

For now I have some observations not related to the new code.

Those are good observations, but not relevant to this issue (#87). We do not want to fix all problems in a single big PR.

@johanvos can you link Mark's outstanding comments to the other related issue(s)? We can break them in sprint planning?
#39 maybe? This way we can recall what's to do :)

@johanvos can you link Mark's outstanding comments to the other related issue(s)? We can break them in sprint planning?
#39 maybe? This way we can recall what's to do :)

@prince-chrismc I've created issue #94 to tackle this.

I've created issue #94 to tackle this.

Awesome! This is a great increment


Update buffer store to return compressed batches directly, add compression NVTX ranges

Updates getColumnarBatch for RapidsBuffer so it will not dynamically decompress batches but instead return the batch "as-is", either compressed or uncompressed.  This properly connects the shuffle reader to the batch decompressor, as it was decompressing buffers piecemeal before rather than batching.
This also fixes a resource leak after batch decompression where it was forgetting to close the device buffer after building the columnar batch.

build

build


WIP, DOC: SciPy 1.14.0 relnotes

Early draft of SciPy 1.14.0 release notes--do not merge. For most discussion points see the TODO list below. Skipping CI here for now while this is a WIP.
TODO:

[ ] Identify any "absolute blockers" for cutting the release branch.
[ ] Discussion of release schedule/potential delays: https://discuss.scientific-python.org/t/proposed-release-schedule-for-scipy-1-14-0/1151/1
[ ] .mailmap adjustments to clean up the author list
[x] Transcribe/reformat initial comments from the 1.14.0 Wiki Release Notes Page (Last checked: May 24/2024)
[ ] Scan over merged enhancement PRs and add them to the release notes if they are not there already
[ ] Gradually reactivate the CI here, when ready
[ ] Perhaps 1-2 additions to the release notes highlights.
[ ]  Formatting nitpicks (not high priority for me usually): namespace.{arg1, arg2, arg3} style notation sometimes uses spaces between args and sometimes does not; start "sentences" with capital/end with period (?), "American" vs. "Commonwealth" English conventions (and things in between).
[ ] Remove unused/empty (sub)sections in the release notes, if applicable.

Can you still pull things from the Wiki or do I need to make commits?

Will you still be pulling from the Wiki or should we make commits?

I can still pull from the Wiki or copy/paste from inline suggestion diffs. I went ahead and applied your first suggestion locally + made you commit co-author, thanks for helping.

Excluding this PR, there are 6 milestoned PRs left open. I won't branch this evening, but I suspect I'll need to be pretty tough tomorrow (May 28th) and try to branch unless something really major is blocking.

Significant speedups for sparse.linalg.solve_triangular (gh-17924) deserve a prominent mention - maybe a release highlight?

Ok, I think I've addressed all direct comments above in the latest push. I need to check the updated Wiki and recent merges again though.

If the doc build passes in CI, I'm likely to merge and proceed with branching. The two remaining milestoned PRs may be dealt with after RC1, if appropriate/necessary.


way to use Components as Cell containers

I can't find a way to write like that:
        <ResponsiveGrid className="layout"
                        layouts={layouts}>
          <Widget key={'header'}>
            ...
          </Widget>

[ ] Bug
[X] Feature Request
[X] Question

This doesn't provide me any useful information to solve your problem.

now cells are only plain divs, we need to use custom components there

See https://github.com/STRML/react-grid-layout/issues/299#issuecomment-235635281

please add this to the docs


Add Facebook's Prophet forecasting function to InfluxDB

Feature Request
Opening a feature request kicks off a discussion.
Requests may be closed if we're not actively planning to work on them.
Proposal: Add Facebook's Prophet forecasting function to InfluxDB
Current behavior: We don't have this function today, only Holt-Winters.
Desired behavior: Ideally we'd have this shiny new function!
Use case: We currently have a project for forecasting the network traffic trends for all customer endpoint devices.  Playing around in R, it seems Prophet is doing a pretty good job at this, so it'd be nice to have this function native to InfluxDB.

+1 - additive algorithm keeps it simple for the non-math types, plus...ya know...Facebook.


⚠ Bofrost.de has degraded performance

In 9e55d00, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1352 ms

Resolved: Bofrost.de performance has improved in 32456bc.


How can I get consolidated json report, in protractor-cucumber framework with serenity reports

Hi,
I am trying to get a consolidate JSON report for my protractor-cucumber framework with serenity reports and node-js. I see there is a serenity-gradle-plugin, how can I use it in my framework?
Can I add serenity-gradle-plugin as a dependency in my package.json? My package.json looks like this
  "name": "UI-protractor-tests",
  "version": "1.0.0",
  "description": "Serenity reports with classic Protractor and Cucumber setup",
  "main": "index.js",
  "scripts": {
    "preprotractor": "webdriver-manager update --standalone --versions.chrome=2.32",
    "protractor": "protractor ./protractor.conf.js",
    "test": "npm run protractor --silent",
    "pretest": "serenity update",
    "report": "serenity run"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/kumarvarun1252/Hygieia"
  },
  "keywords": [
    "serenity-js",
    "protractor",
    "cucumber"
  ],
  "author": "",
  "license": "Apache-2.0",
  "devDependencies": {
    "chai": "4.0.2",
    "chai-as-promised": "7.0.0",
    "chai-smoothie": "^0.2.0",
    "cucumber": "1.3.2",
    "loglevel": "1.5.0",
    "npm-failsafe": "^0.1.0",
    "protractor": "5.2.0",
    "protractor-cucumber-framework": "3.1.2",
    "rimraf": "2.5.4",
    "serenity-cli": "^0.5.0",
    "serenity-js": ">= 1.7.0"
  },
  "dependencies": {
    "serenity-js": "^1.8.0",
    "ssl-root-cas": "^1.2.4"
  }
}

Please have a look at this section of the docs.
serenity-cli is a wrapper around Serenity BDD jar, so you won't need the serenity-gradle-plugin if you use it.
Let me know if this helps!
Jan

If I understand this correctly, then I should be able to combine reports from Serenity-BDD projects as well? If this is the case how do I go about doing that? I have a Maven project which runs serenity using the Serenity Maven Plugin (latest version) and I have a Serenity-JS version. each of these can generate their reports separately but i am unsure as how to combine them?
What I am ultimately expecting to see is one test report with all tests tun (I have tagged the website as @application:Website and the service as @application:Service).
I have tried the following:
Generating .json files only and combining into /target/site/serenity and then running npm serenity run.
Generating full reports for both and combining into the /target/site/serenity and then running npm serenity run.
please can you give me some direction, if this is even possible?
Serenity versions in maven are all latest (1.7.0 plugin is 1.6.9)
npm Serenity v 5.4.3

@BlacktoBlue - the reporting process works like this:

Serenity/JS generates the .json reports and screenshots
Serenity BDD analyses the .json reports but also scans the directory structure of where your feature files are stored in order to understand the names of the capabilities (the sub-directories in which the .feature files live). That means that you need to have access to the original feature files when the .html report is generated

What's your project structure like? Do the JS and Java projects live in the same repository or separate one? Where do the feature files live?
J

@jan-molak currently the Serenity/JS tests sit within their own functional test repository, and the Serenity BDD (For services) lives within the project repository and the feature files live within thoose repos.

Hey @kumarvarun1252, @BlacktoBlue, @JeffGaly! Apologies for taking long to respond, but I was focusing on Serenity/JS 2.0.

@kumarvarun1252 - to integrate my project in our CI/CD process, I will have to provide them a consolidated json report file which includes the test execution report of all the scenarios. Thanks.

I'd like to better understand the use case for the consolidated JSON report.
Could you please elaborate a bit further on the format of the report your CI/CD system requires?

My ultimate Aim is to be able to have several pipelines for different products, which all have their own Serenity report, but they also generate a single report for all products.

@BlacktoBlue - that's doable, but you'd need to introduce some additional processing steps to your pipeline. Since Serenity BDD requires both the .feature files and the .json reports, you'd need some sort of an aggregation step that copies (merges) both the .feature files and .json test reports across your products into a single directory structure and then generate the HTML report in there.

Hi @kumarvarun1252, @BlacktoBlue, @JeffGaly - I am trying to solve a similar problem with multiple java maven modules generating their own reports correctly . I want parent module ( or a separate project ) consolidate the reports . Is that possible ? Or if there is a workaround I can do.

Hi, this one is quite old. Has someone a solution for this?
As far as I know, there is no build-in way to generate consolidated json report file with Serenity/JS. What I do as workaround is to configure the Artifact Archiver to store all artifacts into a separate 'results' directory.
Then I pass this directory as source to the SerenityBDD cli. I let the client generate the Serenity BDD report into a different destination directory, as well.
The original json results files stay untouched. Given the fact, we are using javascript or typescript, I wrote my own script which will parse the all the *.json result files and convert them into whatever format is necessary.
Though, I do not have the need to combine the json files on my own. But I could imagine, that there are more solutions like this out there. You then can simply call your custom js/ts script via npm scripts after you're tests have been finished.


Ebuild parser

In order to correctly parse an ebuild nearly a full bash parser is required.

bash itself could be used as a pre-processor
conch-parser is a pure rust sh parser that could be expanded
bash-parser is a pure js implementation, its grammar is in jison so it could be easy to look at it in case we want to spin a complete side project
mvdan/sh is a pure go implementation it sports a shfmt tool that can produce a json AST that might be easy to consume.

Closing this since I've chosen to wrap bash into the scallop crate  (probably not the final name) and hook into bash's C internals via that. Rewriting an entire bash parser and enough support for various things like parameter substitution required for ebuild parsing doesn't sound like a great use of time.
Personally speaking, if I was to consider that I'd rather consider replacing bash entirely with some extensible DSL that would be much more modern and development friendly compared to bash.


Update sbt-scalajs-crossproject to 1.3.1

About this PR
📦 Updates org.portable-scala:sbt-scalajs-crossproject from 1.1.0 to 1.3.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (1.1.0).
You might want to review and update them manually.
project/plugins.sbt

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.portable-scala", artifactId = "sbt-scalajs-crossproject" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.portable-scala", artifactId = "sbt-scalajs-crossproject" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, version-scheme:semver-spec, old-version-remains, commit-count:1

Superseded by #668.


Create Benha University

This edit is ought to provide you with the required information to remove Benha University and its schools from the abuse/stop list.
University website: Benha University
University Address and contact info: Contact Us
--Regarding schools--

Computers and AI school that offers CS, AI, IS and other related tech majors: BFCAI

Domain: fci.bu.edu.eg
Kindly check the following link, where you can see a proposed 4-year computer science curriculum.
Kindly check this. Here you can find school address and a school-email<EMAIL_ADDRESS>related to the domain [bu.edu.eg]. Kindly use Google translate to convert the page into English.

Benha Engineering School: BENG
Domain: beng.bu.edu.eg

Shoubra Engineering School: FENG
Domain: feng.bu.edu.eg

Pleas also note that the domain is blocked even with the Github Student Pack as below:

@2hmedbadawy I am sorry, the domain beng.bu.edu.eg is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account  (GitHub tab at https://www.jetbrains.com/shop/eform/students).


CSS

User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

Updated CSS section of the study guide.


Uncomment Magister's Terrace and Sunwell raid lockouts

Perfect, thanks for the help.
Sorry for the delay with this. I'll see to making a release for Curse as well.


WIP: gmime3: init at 3.0.1

Motivation for this change
Personal motivation is for using it with notmuch, but as it is the latest and stable release of the library, seems to be good idea to have it in the repository.
I have used the same maintainer as there is for 2.6, but I would be glad to be the maintainer.
cc @chaoflow
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

The reason for having the propagatedBuildInputs was that when I went to build notmuch GMime 3 would not be detected, what I found weird, but well.

Can you provide an example?

I am trying to build one with nix-shell -E ... but keep getting the error

error: expression does not evaluate to a derivation (or a set or list of those)

So I added to pkgs/top-level/all-packages.nix:
  notmuchGMime3 = callPackage ../applications/networking/mailreaders/notmuch {  gmime = gmime3; };

And then ran nix-shell -A notmuchGMime3 -I "nixpkgs=$PWD" and it can't find GMime 3.
I just so happens that it needs GLib anyways, and if I add it to the build inputs there GMime 3 does get detected, but I suspect that packages that don't depend directly on GLib will need propagatedNativeBuildInputs or similar.

notmuch explicitly requested glib:
*** Error: The dependencies of notmuch could not be satisfied. You will
need to install the following packages before being able to compile
notmuch:

  GMime 2.6 library >= 2.6.7
(including development files such as headers)
  http://spruce.sourceforge.net/gmime/

  Glib library >= 2.22 (including development
      files such as headers)
  http://ftp.gnome.org/pub/gnome/sources/glib/

So I added it.

I looked at the definition of GMime 2.6 and it has the propagateBuildInputs with glib in it. Then I checked out the release-17.03 branch, removed that line from GMime, tried building notmuch 0.23.5, and it can't detect neither GMime 2.6 nor GLib.
The option was introduced in f4c84b3cf98, but nothing in the commit explains why it was introduced. At that moment notmuch still had a glib as a dependency, but it was lost in the transition from 0.20 to 0.22 in commit 58771c0fe684b0e8e3dff3978a0279e769340bf2, with no explanation.
The correct solution seems to be getting rid of propagateBuildDependencies in gmime and fix every package that might break, but I would settle with gmime3 being as it is for now and fix packages that use it.
What do you think?

That is the problem of propagateBuildDependencies, it hide dependencies. You can use nox-review, if you want to what breaks, if remove propagateBuildDependencies from gmime.

Seems we did some duplicate work here (I came here from notmuch ML
discussion).
Notable differences I see from my expression

I dropped libgpgerror from the buildInputs as there were no
references to it in the source.

I left gobjectIntrospection in nativeBuildInputs in my expression.
I'm not sure about which is the correct way.

Also, I think changes to notmuch should be in a separate PR. My
changes there are much bigger (all the tests pass!) but I'm not
satisfied with them yet (see discussion in notmuch ML).

Seems we did some duplicate work here (I came here from notmuch ML discussion).

Yes, I recognize your username :)

Notable differences I see from my expression

I dropped libgpgerror from the buildInputs as there were no references to it in the source.

I hadn't looked into this, will now.

I left gobjectIntrospection in nativeBuildInputs in my expression. I'm not sure about which is the correct way.

That's the right way.

Also, I think changes to notmuch should be in a separate PR.

+1

My changes there are much bigger (all the tests pass!) but I'm not satisfied with them yet (see discussion in notmuch ML).

Can you create a MR or point to the branch where you have these changes, please?

Servilio Afre Puentes<EMAIL_ADDRESS>writes:

Seems we did some duplicate work here (I came here from notmuch ML discussion).

Yes, I recognize your username :)

Notable differences I see from my expression

I dropped libgpgerror from the buildInputs as there were no references to it in the source.

I hadn't looked into this, will now.

I left gobjectIntrospection in nativeBuildInputs in my expression. I'm not sure about which is the correct way.

That's the right way.

Also, I think changes to notmuch should be in a separate PR.

+1

My changes there are much bigger (all the tests pass!) but I'm not satisfied with them yet (see discussion in notmuch ML).

Can you create a MR or point to the branch where you have these changes, please?

https://github.com/NixOS/nixpkgs/compare/master...oxij:pkg/notmuch-with-new-gmime
The patch assumes gmime-3 as the default gmime (not included in the
branch).
In principle, the expression should work (all the tests pass), but I
wanted to create a PR after I understood whenever all that patching in
postPatch is really necessary with gmime-3. It doesn't look like it
references any of those bin/gpg in the output which looks strange to
me.

Has been merged elsewhere


Three date formats

In my CLI tool , after adopting dateparser, I was able to remove all but three custom formats.
Here are the sample date strings from the tests:

2020-12-17 00:00:34,247
03 Feb 2020 01:03:10,534
04:10:39 UTC 2020-02-17

I don't recall where I saw these that caused me to add tests and support for them, but if dateparser supported them I could pull out the remaining date-parsing code from timeturner and belt and other users of dateparser would support these date formats.

Hey @jrduncans, thanks for adopting dateparser lib and submitting this feature request. I will look into it, and let you know when it's being worked on.


refactor: remove metapool migration scripts

https://crv.to is back online so we don't need Curve MetaPool migration scripts anymore

On one hand, makes sense to delete what is not needed. On the other hand, seems like a waste to throw out this work. I want to do some more research to verify that there are no benefits for migrating to v3 before accepting this pull request.

https://github.com/curvefi/curve-docs/blob/3fcb5f25d4acec0fb445f1f480a8b8ed3b589dca/docs/exchange-lp-tokens.rst#curve-token-v3

You're referring to v3 Curve LP token while Curve Metapool is a different contract
v2 Metapool: https://etherscan.io/address/0x20955CB69Ae1515962177D164dfC9522feef567E#code
v3 Metapool: https://etherscan.io/address/0x9558b18f021FC3cBa1c9B777603829A42244818b#code
There are only minor updates between the 2 versions. Besides v3 (which we were intended to migrate to) is compiled with vyper 0.2.15 where reentrancy lock doesn't work due to the compiler bug.
In my opinion we don't get many benefits from this migration hence the code is removed.

where reentrancy lock doesn't work due to the compiler bug.

Oh really so we should totally avoid v3 then!


Use relative path to load 1nmr.pdb file

Use relative path to work when running under something like "localhost/myproject/" (will look at myproject/pdbs/1nmr.pdb). Otherwise the function can't find the file.

Thanks!


Forcing Minimum App Version in TestFlight iOS

Hi! I was wondering can we try to force the minimum app version while our app is still in TestFlight & not in the App Store ?
How ? : ) Thanks !

Hello how are you, a recent update of the package was made, but currently we do not have a mac, to be able to carry out the corresponding tests, as soon as we have one, we will proceed to validate your requirement.

Hello, this functionality is still required, if so, can you help me with the app you have in TestFlight to carry out the tests.
Kind regards

Hi, how do you force a minimum app plz ?
My app is on both official stores
Currently using the 0.0.9 lib version.
Thanks in advance


Support RW ports on BRAMs

Example verilog that should be able to be mapped to a BRAM:
module ram2 (input clk,
             input             sel,
             input             we,
             input [SIZE-1:0]  adr,
             input [63:0]      dat_i,
             output reg [63:0] dat_o);
   parameter  SIZE = 8; // Address size

   reg [63:0] mem [0:(1 << SIZE)-1];
   integer    i;

   initial begin
      for (i = 0; i < (1<<SIZE) - 1; i = i + 1)
        mem[i] <= 0;
   end

   always @(posedge clk)
     if (sel) begin
       if (~we)
         dat_o <= mem[adr];
       else
         mem[adr] <= dat_i;
     end
endmodule

One potential issue is that the yosys bram map always maps the A port to read and the B port to write.  TDP brams should be able to use either port as a read or a write, but my suspicion is that this is not supported by prjxray and symbiflow yet.  Manually switching the read and write ports in the bram map resulted in a non working design for xc/xc7/tests/bram_test/bram_test_36, although it's very possible I switched polarities incorrectly.
RAMB36 TDP techmap before swapping ports:
                RAMB36E1 #(
                        .RAM_MODE("TDP"),
                        .READ_WIDTH_A(CFG_DBITS),
                        .READ_WIDTH_B(CFG_DBITS),
                        .WRITE_WIDTH_A(CFG_DBITS),
                        .WRITE_WIDTH_B(CFG_DBITS),
                        .WRITE_MODE_A("READ_FIRST"),
                        .WRITE_MODE_B("READ_FIRST"),
                        .IS_CLKARDCLK_INVERTED(!CLKPOL2),
                        .IS_CLKBWRCLK_INVERTED(!CLKPOL3),
                        `include "brams_init_36.vh"
                        .SIM_DEVICE("7SERIES")
                ) _TECHMAP_REPLACE_ (
                        .DIADI(32'd0),
                        .DIPADIP(4'd0),
                        .DOADO(DO[31:0]),
                        .DOPADOP(DOP[3:0]),
                        .ADDRARDADDR(A1ADDR_16),
                        .CLKARDCLK(CLK2),
                        .ENARDEN(A1EN),
                        .REGCEAREGCE(|1),
                        .RSTRAMARSTRAM(|0),
                        .RSTREGARSTREG(|0),
                        .WEA(4'b0),

                        .DIBDI(DI),
                        .DIPBDIP(DIP),
                        .DOBDO(DOBDO),
                        .DOPBDOP(DOPBDOP),
                        .ADDRBWRADDR(B1ADDR_16),
                        .CLKBWRCLK(CLK3),
                        .ENBWREN(|1),
                        .REGCEB(|0),
                        .RSTRAMB(|0),
                        .RSTREGB(|0),
                        .WEBWE(B1EN_8)
                );

After swapping ports:
       RAMB36E1 #(
            .RAM_MODE("TDP"),
            .READ_WIDTH_A(CFG_DBITS),
            .READ_WIDTH_B(CFG_DBITS),
            .WRITE_WIDTH_A(CFG_DBITS),
            .WRITE_WIDTH_B(CFG_DBITS),
            .WRITE_MODE_A("READ_FIRST"),
            .WRITE_MODE_B("READ_FIRST"),
            .IS_CLKARDCLK_INVERTED(!CLKPOL3),
            .IS_CLKBWRCLK_INVERTED(!CLKPOL2),
            `include "brams_init_36.vh"
            .SIM_DEVICE("7SERIES")
        ) _TECHMAP_REPLACE_ (
            .DIADI(DI),
            .DIPADIP(DIP),
            .DOADO(DOBDO),
            .DOPADOP(DOPBDOP),
            .ADDRARDADDR(B1ADDR_16),
            .CLKARDCLK(CLK3),
            .ENARDEN(|1),
            .REGCEAREGCE(|0),
            .RSTRAMARSTRAM(|0),
            .RSTREGARSTREG(|0),
            .WEA(B1EN_8),

            .DIBDI(32'd0),
            .DIPBDIP(4'd0),
            .DOBDO(DO[31:0]),
            .DOPBDOP(DOP[3:0]),
            .ADDRBWRADDR(A1ADDR_16),
            .CLKBWRCLK(CLK2),
            .ENBWREN(~A1EN),
            .REGCEB(|1),
            .RSTRAMB(|0),
            .RSTREGB(|0),
            .WEBWE(4'b0)
        );

Therefore, I think a first step in supporting RW ports is ensuring port A can be used as a write and port B can be used as a read.  Could you give some input on whether prjxray and symbiflow support this functionality?

Depends on how the failure manifests.  In terms of concrete recommendation, here is what to check:

Does your modified design work in Vivado as expected in hardware?
1a. If you decode the bitstream from #1 with bit2fasm --verbose are there any unknown bits?
Does your modified design pass the "bram_test_36_vivado_diff_fasm" test?
If you compare the FASM features for the BRAM tile from the Vivado bitstream and from the VPR bitstream do you notice any differences

It is my belief the prjxray has the bits required for TDP BRAM36.  I don't not believe we have fully debugged support for TDP BRAM36 in symbiflow-arch-defs.  I found at least one bug earlier this week, see: https://github.com/SymbiFlow/symbiflow-arch-defs/pull/1612/files#diff-92df80b2f65bb8fef2dfa652e646d34e

See also YosysHQ/yosys#1959

@andrewb1999 Can you please see if you can replicate this issue?  It may be fixed now?

@litghost Looks like this issue has been fixed at least somewhat.  I am able to map the provided verilog that I was unable to map before, I will try some more in depth tests soon.


redis server fills up after 256 timesteps

The Redis server has a (default) memory limit of 256 files on Mac. This can easily be overridden in the terminal with ulimit -n 1024 or any other arbitrary file limit.
However, in order to avoid massive memory requirements I propose flushing the Redis files using .flushall() on a daily basis.
In the meantime I've added a flush off the Redis database on start of each run

Solved by using a Singleton class for the Redis-server instantiation and passing the Redis-server to the Aggregator and MPCCalc classes.
Proposed solution above will not work because
self.redis_client = StrictRedis(host=os.environ.get('REDIS_HOST', 'localhost'), decode_responses=True)
creates a new pool of redis connections each time a new MPCCalc object is created (in each timestep) and the pool is the equivalent of an open file. Can be solved through passing a redis_client variable to each class. Furthermore the Singleton eliminates the possibility of opening more than one pool locally.
I allowed the aggregator class to act as the host to the Redis-server but this can be moved to main if it causes issues.
Error persists when MPCLogger is instantiated at every timestep. Resolved by creating logs at main and passing them through.

To clarify the system level file limit is no longer relevant and log runs work with arbitrary limits such as ulimit -n 256


[https://open-wc.org/guides/community/component-libraries/] Link didn’t work, so remove it

What I did

Remove a link

 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.

Could someone from the project owners just look at the problem with the link this PR fixes off-PR? Signing CLAs is a pretty complicated approval process for employees of big corporations and it’s probably not worth anyone’s time. Thanks for your understanding! After someone has acknowledged, I will close the PR.

Thanks for the pruning. I can git this cleared up this week. Shame though, they did a cool collection of components.

Just to clarify, this PR solely was to fix this glitch:

There's nothing wrong with the component library.


Update index.html with reference to issue #307

Issue Number
fixes #307
Describe the changes you've made
I've added new poster of the movie.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Additional context (OPTIONAL)
Add any other context or screenshots about the feature request here.
Test plan (OPTIONAL)
A good test plan should give instructions that someone else can easily follow.
How someone can test your code?
Checklist

[ ] I have added my name in the contributors list at the end of README.md file.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] The title of my pull request is a short description of the requested changes.
[ ] Open Source Program names(OPTIONAL: If you participated in any open-source program then please mention the program name here)

Resolve conflicts.
Fetch upstream.

The website has been updated a lot index.html is home.html now.
Make new PR after necessary changes.


Fix LogLevels

Hello! I've been trying to use this library with suppressed logging for all but errors. I.e, in my program I had set:
vosk::set_log_level(vosk::LogLevel::Error);

Despite this setting, I was still getting warning messages, which were causing me some grief. Going to the Kaldi source, we can see that there's a misalignment between the LogLevel struct and the upstream understanding of log levels (perhaps due to upstream evolution over time). In particular, there's no such thing as a Debug level (i.e. sending a value of 1 is not meaningful), but there is Warn level (-1) before the Error level (-2). This PR addresses this discrepancy.
Now, this is a breaking change as we're redefining the contents of the LogLevel enum: adding a new level (Warn), removing Debug and renaming ErrorInfo to be simply Info. Due to the mismatch of the enum to the upstream, I don't think there's a reasonable way of making this a non-breaking change.
Not only is this a breaking change, but it's also altering the existing LogLevel naming convention. I'm open to changing this, but ErrorInfoDebug is an unusual name, differing from both Rust conventions for naming levels as well as the upstream Kaldi's conventions. The new names align with both of these standards.

Good catch! I used the documentation in vosh_api.h to write and document the log levels, but I checked the code behind set_log_level and it just calls Kaldi's SetVerboseLevel (link) directly so the behaviour should be the same...
Would you mind reporting this also to upstream? It'd be good if they fix the documentation fo the header file also there.
What I don't understand though, is the case of Java's bindings The enum has different values compared to those you propose, so I am not sure which ones it should be... We should probably just mimic the Severity enum but I still find it weird that the vosk team didnt do that.

Ah, yeah, I never looked at the vosk_api.h, just at set_log_level. Since the Java bindings are also just calling the Kaldi set_log_level under the hood, I can only assume they are also experiencing the wrong behavior. Maybe this is something that changed in Kaldi: I saw that at some point they refactored how they log things, but never looked at how it worked before. I'll report this to vosk-api 👍.
If you don't use the same values as the Severity enum when calling set_log_level, I can attest that you do get the wrong results. I didn't bother including the kAssertFailed value, however, because I couldn't tell what the real difference would be to a Vosk user if Kaldi throws an error versus aborts.

Now that I look closer at the Java enum and the docs for vosk_api.h, I'm realizing nothing is technically incorrect, just misleading. vosk_api.h states that 0 will print info messages (true), less than 0 won't print info messages (true but vague) and that values greater than 0 is a "more verbose mode" (there's nothing more verbose than info in the case of Kaldi, so this is misleading but not strictly false). Same goes for the Java enum, which has a WARNINGS value that is correctly set to -1, just no ERROR value.
I'll still report upstream, though. No one benefits from this kind of sloppiness!

Fair enough! When you report this to the vosk team, make sure to link this issue so they know the context.
I'd rather wait to see if they clear things up, but otherwise this seems good to merge.

Reported. Feel free to weigh in if you think anything I said is off.
If the upstream follows my suggested resolution, there will be no effective change to their API, so this PR should still be roughly the right thing to do. One thing that I just learned, however, is that there are debug logs, but it doesn't look like they're part of the public API. There are values of at least 5 used, evidently to control how debug logs are printed for tests. Because there doesn't seem to be much consistency to their application, I'm not sure I'd suggest adding debug logs to this API.

Sweet, that sounds good to me.
FWIW, I see that the rustfmt and clippy failures seem to be due to some CI issue:

Yeah I saw, rustfmt seems to work now, probably a github CI error, clippy shows some lints but that's okay, I'll fix them myself later.
Merging now, thanks for the work!!


Add Azure Environments; Use OAuthConfig throughout

new types:

OAuthConfig (represents the three oauth endpoints, tenant-specific)
Environment (represents the various endpoints for an azure cloud [public, usgov, china]).

After this change, SPT doesn't know about tenant-id (an Azure specific thing) and instead takes an "OAuthConfig" with urls that are already tenant-specific as the user requests. This makes our client more similar to other OAuth clients. See the example.go to see how this changes usage.
This is breaking change, but it's also needed to support anything other than the Azure public cloud.

cc @ahmetalpbalkan

@colemickens I like the change. Good general approach. I'll let you and @ahmetalpbalkan work out the details. But, other than that, LGTM.

Thanks for the catch @ahmetalpbalkan. Fixed in latest commit.

LGTM


move to another hosting

Hello
We have moved to a new hosting and we have export all database
but we facing a problem in tenants databases
Access denied for user 'd5a53392a8a644929b583fbaead0e3d7'@'localhost' (using password: YES) (SQL: select * from settings where key = default_locale limit 1)
Is there a place where you store databases credentials ?
thanks

db credentials are being generated automatically on the fly. and it takes into consideration your APP_KEY or TENANCY_KEY. so if you've changed that between host, i think it's best to copy the old key and try if you can access the db.

THNAKS

lol! did it work?

yes its working thanks :) 😊

thanks for confirming!

by the way https://github.com/tenancy/tenancy has been released, maybe you could check it out some time.


fix: remove references to "pre-kcp" branch

Description
infra-deployments' "pre-kcp" branch merged to "main", accordingly the pre-kcp branch of this repo was renamed to "main"
This PR removes references to "pre-kcp" branch in scripts
Issue ticket number and link
N/A
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
in CI
Checklist:

[X] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("[test_id:01] DEVHAS-62 devfile source")
[ ] I have updated labels (if needed)

/test redhat-appstudio-e2e


fix(package): remove src directory and fix typings location

Related to #2857
This PR gets rid of the TypeScript sources that are currently being distributed. They were added some time ago unintentionally and shouldn't be there.
It also changes where the d.ts files live, which should fix a problem where IDEs using features such as Quick Fix will import from the wrong location.

Coverage remained the same at ?% when pulling d1d388e2c65f7e63e9d04225da8b95a212ed6562 on jasonaden:fix_case_sensitive_package into 2e576dcb187c9fbebc86ebe3d11837a33fcaa810 on ReactiveX:master.


takeoff_and_land.py error

My setup: Pixhawk 2 connected to a Raspberry Pi 3b via USB
The error:

pi@raspberrypi:~/drone $ python3 takeoff_and_land.py
Waiting for mavsdk_server to be ready...
Connected to mavsdk_server!
Waiting for drone to connect...
Drone discovered with UUID: 0
Waiting for drone to have a global position estimate...
Global position estimate ok
-- Arming
-- Taking off
Traceback (most recent call last):
File "takeoff_and_land.py", line 40, in
loop.run_until_complete(run())
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "takeoff_and_land.py", line 30, in run
await drone.action.takeoff()
File "/home/pi/.local/lib/python3.7/site-packages/mavsdk/action.py", line 360, in takeoff
raise ActionError(result, "takeoff()")
mavsdk.action.ActionError: COMMAND_DENIED: 'Command Denied'; origin: takeoff(); params: ()
Exception ignored in: <function System.del at 0x75201540>
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/mavsdk/system.py", line 55, in del
File "/home/pi/.local/lib/python3.7/site-packages/mavsdk/system.py", line 91, in _stop_mavsdk_server
ImportError: sys.meta_path is None, Python is likely shutting down

Am I missing something?
Thank you for your help

mavsdk.action.ActionError: COMMAND_DENIED: 'Command Denied'; origin: takeoff(); params: ()

Something is missing to arm. You can print out statustexts to get a hint what is missing, see: http://mavsdk-python-docs.s3-website.eu-central-1.amazonaws.com/plugins/telemetry.html#mavsdk.telemetry.StatusText

Just to add my two cents: COMMAND_DENIED means that PX4 refused the command (and answered with a "denied" result), meaning that your drone is not ready to arm. So it's not a bug, it's really just an exception that you may catch with try... except.

Thank you guys!
I'm currently running MAVProxy on the Pi, and QGroundControl on Windows.
Here is a screenshot from QGC:

And sometimes I get a GPS glitch:

I managed to output the battery telemetry with this:
async for voltage_v in drone.telemetry.battery():
print(voltage_v)
break
and got output:
Battery: [voltage_v: 0.6650000214576721, remaining_percent: 0.0]
If these errors cannot be resolved, there is a way to bypass them?
I'm currently working from home and I can put the drone outside my window but apparently it's giving some problems...
Thank you in advance!

Are you running PX4 or Ardupilot?

Are you running PX4 or Ardupilot?
Apparently Ardupilot! :/

I'm currently using a PixHawk 2.1:

I just checked some QGroundControl images on Google, and on the top right corner there is the PX4 logo. Mine has an ArduPilot logo.
And just read that ArduPilot is not quite compatible with MAVSDK... https://github.com/mavlink/MAVSDK/issues/728
Is there a way to switch from ArduPilot to PX4? I'm very new to this.
Thanks in advance

In QGC, when you flash a firmware, you can choose if you want PX4 or Ardupilot. I think that would be the easy way :slightly_smiling_face:.

In QGC, when you flash a firmware, you can choose if you want PX4 or Ardupilot. I think that would be the easy way 🙂.

Thank you very much! Once I switch to PX4 I get an issue about the power (battery) setup, this issue is not present with Ardupilot... I opened an issue on the PX4 page for that: https://github.com/PX4/PX4-Autopilot/issues/17366
A colleague managed to use takeoff_and_land.py with Ardupilot:
The code:

Running the program:

We were wondering what kind of issues we will face by using Ardupilot in the future!
By the way thank you guys for the amazing work! Been learning a lot from your talks on YouTube!

Seems like it's solved, feel free to reopen if it's not!

Thanks for the feedback @mommotti.


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 72a25ed:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

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


push . master

UpdateBot pushed version changes from the source code in repository: . ref: master

UpdateBot commands:
updatebot push --ref master https://github.com/Salaboy/spring-cloud-kubernetes.git

:star: PR built and available in a preview environment salaboy-s1p-gateway-pr-1 here