Unable to Join Microsoft Teams Meeting After Adding Access Token and Teams Meeting Link in React Native Azure Communication Service

Expected/desired behavior:
The app should directly join the Microsoft Teams meeting after adding the access token and meeting link, without redirecting to an input fields screen.
OS and Version:
Windows 11 pro
Versions:
React Native: 0.72
Mention any other details that might be useful:
I have created an Azure Communication Services account and successfully generated the necessary user access token, identity, and endpoint. However, after inputting the access token and Microsoft Teams meeting link, clicking the "Launch" button and then "Join Call" redirects to an input fields page instead of joining the meeting. I am not sure whether this issue stems from the code or something within the Azure Communication Service setup. Could you please assist in identifying the cause of this issue and suggest how to resolve it?

It doesnt seem to have a problem in code. This issue might be from ACS setup. Please check Prerequisites

Hello @HarshalJ-SamarthT-24:
Could you please provide more information?
Is this issue happening on the Android platform or iOS platform?
Are you using a physical device or trying it in an emulator?
Thanks

Hello @ShaunaSong
I have tried testing the issue on both an Android emulator and a physical device. I am working with Azure Communication Services for Microsoft Teams. I have provided a valid user access token and identity, which I generated from the Azure portal.
In the React Native app, when I input the Microsoft Teams meeting link, user access token, and identity into the text fields and press the "Launch" button, I then press "Start Call." I have already initiated the Teams meeting from the desktop using the link I provided, but when I press "Start Call," the meeting does not start from the React Native app.
This issue occurs consistently for me. Could you please provide a solution for this?
Thanks!

Hey @HarshalJ-SamarthT-24,
Thanks for the information. I tested it with our current codebase, and cannot reproduce your issue.
Which type of Teams meeting were you trying to join—Teams for Work or Teams for Life?
Best,
Shauna

@ShaunaSong
I am using Teams for Work. Could you please share a screen recording showing how your Microsoft Teams meeting starts after adding the Microsoft Teams meeting link and Azure token in TextInput?

@ShaunaSong
I am using Teams for Work. Could you please share a screen recording showing how your Microsoft Teams meeting starts after adding the Microsoft Teams meeting link and Azure token in TextInput?


Support loading mesh by mesh name in

🎉 New feature
Partially addresses https://github.com/gazebosim/gz-common/issues/404, specifically https://github.com/gazebosim/gz-common/issues/404#issuecomment-1569399519 about handing over in-memory mesh data to gazebo.
Summary
Allow users to specify name of mesh in SDF via <mesh><uri>.
Addresses this use case: User has created common:Mesh object and added it to the MeshManager via AddMesh call. They now want to spawn a new model with this mesh using an SDF string that has <mesh><uri> set to the name of their common::Mesh.
Added integration test demonstrating the above use case. It uses unit_box (that comes with MeshManager) as an example but user should be able to supply their own mesh.
Test it

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

small comment and is @azeey 's comment resolved?

not yet. That needs some discussion


DataLoader registrations via BatchLoaderRegistry not used at runtime

Since version 1.3. we have detected a strange behavior.
We are using the BatchLoaderRegistry to register DataLoaders. We write some of them and some are generated using the graphql-maven-plugin.
Example of a DataLoader registration:
@Autowired // This is a constructor in a controller
public FooController(BatchLoaderRegistry registry) {
	registry.forTypePair(java.lang.Long.class, FooGQL.class)
			.registerMappedBatchLoader((keysSet, env) -> {
		....
	});

}

After upgrading to 1.3.X we have experienced behavior, that during runtime, there are no DataLoaders available. We were able to inspect this a little bit further and find a workaround. We have detected that on application startup, the BatchLoaderRegistry is invoked and there is a check, if some DataLoaders are configured. However, at this time, there are none of them, because the Controllers were not initialized.
Example exception:
java.lang.IllegalArgumentException: Cannot resolve DataLoader for parameter 'dataLoader' ... The DataLoaderRegistry contains: []

The workaround is to provide a custom Bean for the BatchLoaderRegistry and to initialize it with some data loaders.
    @Bean
    public BatchLoaderRegistry batchLoaderRegistry()
    {
        var batchLoaderRegistry = new DefaultBatchLoaderRegistry();
        batchLoaderRegistry
                .forTypePair(String.class, FooGQL.class)
                .withName("...")
                .registerMappedBatchLoader((guids, batchLoaderEnvironment) ->
                        Mono.fromCallable(() -> ...)
                );

        return batchLoaderRegistry;
    }

Is this expected behavior or is this a bug?

You're probably referring to this check for #915.
I'll schedule this for a fix to ensure the check is performed later. That said #915 was fixed in 1.2.5 (and forward merged to 1.3.0). Can you confirm if you are perhaps upgrading from a version < 1.2.5. In other words, you should also see the issue with versions 1.2.5 - 1.2.7.

You're probably referring to this check for #915.
I'll schedule this for a fix to ensure the check is performed later. That said #915 was fixed in 1.2.5 (and forward merged to 1.3.0). Can you confirm if you are perhaps upgrading from a version < 1.2.5. In other words, you should also see the issue with versions 1.2.5 - 1.2.7.

Yes, we were using version 1.2.4. Now I have also tested version 1.2.6 and I can confirm that even in this version I can see the same behavior as in the version 1.3.1.

There is a fix now in 1.3.2-SNAPSHOT and 1.2.8-SNAPSHOT if you'd like to give it a try.


Add Windows platform

Changes:

Add Windows as supported platform

Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Other (please describe):

Testing
Requires testing

[x] Yes
[ ] No

In case you checked yes, did you write tests?

[x] Yes
[ ] No

Same existing tests should work now for Windows.

Codecov Report
Base: 80.49% // Head: 77.84% // Decreases project coverage by -2.64% :warning:

Coverage data is based on head (fc6694f) compared to base (2fd65a9).
Patch coverage: 42.64% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #171      +/-   ##
===========================================
- Coverage    80.49%   77.84%   -2.65%
===========================================
  Files           40       41       +1
  Lines         2517     2361     -156
===========================================
- Hits          2026     1838     -188
- Misses         406      436      +30
- Partials        85       87       +2

Flag
Coverage Δ

unittests
77.84% <42.64%> (-2.65%)
:arrow_down:

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

Impacted Files
Coverage Δ

cli/keys.go
55.33% <ø> (-1.27%)
:arrow_down:

internal/pkg/commands/commands_test_unix.go
0.00% <0.00%> (ø)

cli/cli.go
66.91% <30.00%> (+0.36%)
:arrow_up:

cli/down.go
64.00% <40.00%> (ø)

cli/logs.go
78.57% <40.00%> (ø)

internal/pkg/commands/cmd_runner_helper_unix.go
53.96% <50.00%> (-21.04%)
:arrow_down:

internal/pkg/commands/cmd_runner_unix.go
85.10% <50.00%> (-7.45%)
:arrow_down:

internal/pkg/commands/cmd_runner_utils.go
50.00% <50.00%> (ø)

test/test.go
65.06% <57.14%> (-7.67%)
:arrow_down:

internal/crypto/crypto.go
62.50% <62.50%> (ø)

... and 18 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

Merging #438 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #438   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          41     41
=====================================
  Hits           41     41

Continue to review full report at Codecov.

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

Coverage remained the same at 94.545% when pulling f49977df739e3ce367b53094d0b12451139e3018 on template-sync-1 into f4b9e8488f6cd0bf46708d8e1d1169b1a9ebf545 on master.


Fix API-Docs

We turned on api-docs for plugins, but we also merged some things that were not rebuilt after so now we have a problem in master with outdated api-docs.

@Rugvip do these need changesets? 😅


enable "manual" repository setup with netlifyctl

I'm looking for the same thing that netlify init -m does  using the old netlify-cli:

reads .git/config for repo info for directory it is init'ing
creates in our system a deploy key and webhook for a site and
tells $customer the public_key and webhook address so they can put them in place manually in their repo settings

When this is closed, please ping me or file a docs issue so we can update docs to recommend this over netlify-cli.

@verythorough here's a ping - the CLI doc can be migrated in your copious spare time.  I put a note in it in your project dashboard to indicate it was unblocked too


Pressing Back button cause visible frontLayer

I'm not sure why this issue happened but when frontLayer isn't visible when i pressing on android back button that cause visible frontLayer
my tested code:
class SplashScreenWidget extends StatefulWidget {
  /// Default constructor for [SplashScreenWidget].
  const SplashScreenWidget({Key? key}) : super(key: key);

  @override
  _SplashScreenWidgetState createState() => _SplashScreenWidgetState();
}

class _SplashScreenWidgetState extends State<SplashScreenWidget> {
  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Backdrop Demo',
        home: BackdropScaffold(
          appBar: BackdropAppBar(
            actions: const <Widget>[
              BackdropToggleButton(
                icon: AnimatedIcons.list_view,
              )
            ],
          ),
          backLayer: Center(
            child: Text("Back Layer"),
          ),
          frontLayer: Center(
            child: Text("Front Layer"),
          ),
        ),
      );
}

https://github.com/fluttercommunity/backdrop/assets/6617583/cd31983a-7fb4-494e-be3b-33b372474d3b

In my opinion this is the expected behavior.
@daadu what do you think?

@WieFel  You may right, how can i prevent this behavior now?

OR
You can file a PR to make this behaviour optional adding option  bool onBackConcealBacklayer = true to BackdropScafold

@WieFel What do you think of this option?

@daadu yeah we can add the option

Yes, it is expected behaviour.
The code that does it is at -
https://github.com/fluttercommunity/backdrop/blob/d21cfaaeae8e3b173fc596f34ac2971897394945/lib/src/scaffold.dart#L617-L619
Wrapping another WillPopScope around BackdropScaffold, might not work - because I think flutter will also call the code inside backdrop lib. Although you can give it a try.
As of now, you can fork and remove this widget from the library and use it.

i checked before it doesn't work correctly

@WieFel filled PR please review

@pishguy Thanks for filling the issue, the concealBacklayerOnBackButton option has been added and published to pub.dev with v0.9.1. Please check, you can disable this behaviour, by setting it false.
Also, check yourself out in the README.md!!

i solved closing frontLayer when visibility of that is true
gh pr checkout 135


Does not persist state

In case of process restart or server restart the intermediate data is lost. Could you make use of file and persist the data?

@srameshr We can only to some extent. Unfortunately, JS closure state is not serializeable. So the context wont be remembered.


feat: Add a new case study parallax component

This adds a new parallax component for the pages blocks
It also:

adds a new QuoteIconAlt in a different style to the previous one
updates the type on useResize to allow taking in a type
adds a className prop to the Button component for the label

Light mode screenshots

Dark mode screenshots

@paulpopus Take a look at the image below - the page starts scrolling past this block before the final image aligns with its content fully - can we make an adjustment to correct this?

@paulpopus Image blow shows the grid line that splits the 4 buttons in half is much brighter than the rest of the grid lines - why is that?
mockup doesn't show this

@paulpopus Images shouldn't cover the grid lines - they should be contained within them so that the grid lines are still visible

@paulpopus Your large quote icon does not exactly match the figma mockups
Current iteration:

Figma:


Update data.json

✔ Deploy Preview Updated! 🔍 Inspect the deploy log: https://github.com/yashash1511/windows11-settings/actions/runs/1803714998 😎 Browse the preview: 7-settings.pr.blueedge.me !

Opps let me fix that


Your Google Auto Ads breaks the website experience

Hey,
The Google Auto Ads are pretty much breaking your website. With it, your components can't be seen properly. It's also annoying to have an ad every fourth component. That's just as much toxic advertising density as Instagram or Twitter.
Through the Ad Spam you have lost me but I am kind enough to open an issue here.

Hey @ghostzero , I finally removed all the publicities !


small optimization for getter isNotEmpty in collection/list.dart

https://github.com/dart-lang/sdk/blob/5c1fe1b091dabaacb9d63870f087d177d5f6e756/sdk/lib/collection/list.dart#L96
in collection/list.dart line at 96
bool get isNotEmpty => !isEmpty  can be changed to bool get isNotEmpty => lenght > 0;

I think the behavior here is deliberate.
It allows you to override just isEmpty with whatever super-efficient (or otherwise smart) implementation you might have for your custom List implementation, and get a similarly efficient isNotEmpty implementation.
If we let isNotEmpty go directly to length, then if you want a non-length based isEmpty/isNotEmpty, you'd have to override both getters.
In practice, I'm not sure this optimization in worth the effort.

@bharatsingh100 Lasse's point is that isEmpty can have an override that does not use length and is more efficient than length. Consider this class from dart:html:
class _ChildrenElementList extends ListBase<Element>
    implements NodeListWrapper {
  // Raw Element.
  final Element _element;
  ...
  bool get isEmpty {
    return _element._firstElementChild == null;
  }

The effect of your change would be to make _ChildrenElementList.isEmpty and _ChildrenElementList.isNotEmpty (i.e. ListMixin.isNotEmpty) use completely different ways of checking if the list is empty.

thanks @lrhn and @rakudrama , i got the point, just want to know if isNotEmpty is not overriden then it would call isEmpty of parent class or the same class

i tried it on dartpad, i find that isNotEmpty will call the isEmpty of current class. It is better if don't have to override both the getters. I feel this issue is resolved

Excellent :smile:


Method visibility is blocked by private scope modifier

Causes No class method found error during the building iOS app :)

Where exactly are you seeing this error? It's certainly possible that j2objc changed the rules on me, but last time I checked there was no problem with calling a private method from within inline objective C code in the same file.


Adding svn docker files

This PR includes following.

SVN Dockerfile
build,run,push bash scripts
SVN artifacts - run_apache.sh and repo_template.conf

Default configs for the container are as follows.
USERNAME - admin
PASSWORD - admin
REPO_LIST - repo
Providing Environment variables username,password and repo list can be changed.
repo_list can have multiple values such as esb,das,etc.
For the given repo list, separate repos will be created.

@pubudu538 It would be better to mention the purpose of this PR in the description.
Thanks!


Column Size

Hi there!
Is there anyway i can set the column size, in percentage or in pixels??
Cheers and congrats!

Hey @Megale ,
sorry for the delay. Sure it's possible but only with css at the moment. you can target the table columns by using pure css, but if it's a need I can also build that in.

Hi!
No problem!
Thanks for the tip. I'll try that. If you have a spare time, i think its a nice featurw to have!
Cheers and congrats! Its a great data table
Sent from my ICQ

Em 7 de nov de 2016, às 09:26, Istvan Fodor<EMAIL_ADDRESS>escreveu:
Hey @Megale ,
sorry for the delay. Sure it's possible but only with css at the moment. you can target the table columns by using pure css, but if it's a need I can also build that in.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi , is there a way of fixing the column size for one column and not all ?
Bravo for this table !

@Skyscreepa thanks!
For sure you can, with css rules:
For example having a fix width for the second column:
table td:nth-child(2) {
    width: 200px;
}

@iamisti thanks!

@iamisti if ajax loading is enabled the first column is nth-child(2) and not 1, the first one is the "loading bar"


Added CI script to build and test project

I've created a develop branch of which there wasn't one, and merging the PR there to check it's all fine.


Moving CRDs from templates/ to crds/ results in CRDs being deleted

Output of helm version:
version.BuildInfo{Version:"v3.0.1", GitCommit:"7c22ef9ce89e0ebeb7125ba2ebf7d421f3e82ffa", GitTreeState:"clean", GoVersion:"go1.13.4"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.3", GitCommit:"a4529464e4629c21224b3d52edfe0ea91b072862", GitTreeState:"clean", BuildDate:"2018-09-09T18:02:47Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.7", GitCommit:"8fca2ec50a6133511b771a11559e24191b1aa2b4", GitTreeState:"clean", BuildDate:"2019-09-18T14:39:02Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
N/A. Tested on Kubernetes in Docker-for-Mac. Also on on-premise Kubernetes deployments.

I have a chart with CustomResourceDefinitions defined in the templates/ directory. I used the 2to3 plugin to migrate my deployments from Helm v2 to v3. I'm now trying to move the CustomResourceDefinitions from templates/ to crds/ as per the best practices.
I'm not able to perform the move without Helm 3 deleting the CustomResourceDefinitions. I think this is a bug since the documentation is quite clear that Helm does not delete CRDs (https://helm.sh/docs/topics/charts/#custom-resource-definitions-crds)

CRDs are never deleted. Deleting a CRD automatically deletes all of the CRD’s contents across all namespaces in the cluster. Consequently, Helm will not delete CRDs.

Steps to replicate
Setup and install a minimum chart.
mkdir crd-issue
mkdir crd-issue/templates
mkdir crd-issue/crds

cd crd-issue

cat > Chart.yaml <<EOF
name: crd-issue
version: 0.0.1
EOF

cat > templates/crd.yaml <<EOF
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: greetings.example.com
spec:
  group: example.com
  version: v1
  scope: Namespaced
  names:
    plural: greetings
    singular: greeting
    kind: Greeting
EOF

helm upgrade --install crd-issue .

Verify the CRD has been installed.
kubectl get crd greetings.example.com
NAME                    CREATED AT
greetings.example.com   2019-12-20T11:23:05Z

Move the CustomResourceDefinition into the crds/ directory and upgrade
mv templates/crd.yaml crds
helm upgrade --install crd-issue .

Verify the CRD has been deleted
kubectl get crd greetings.example.com
No resources found.
Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "greetings.example.com" not found

Fix thoughts
I'm wondering if Helm can be updated to never issue a delete for a CRD. For example by placing guards around calls to Kubernetes Delete API.
I'm happy to have a go at implementing such a feature. It'll be good to get a maintainer's thought about where best to put such a guard.

The docs may be a little misleading here. If the CRD was installed as part of the crds directory, then the CRD will not be removed on helm uninstall. However, if it was installed as part of the templates directory, it is treated as any other resource, and therefore it will be deleted upon removal from the chart.
If you try installing a chart with the CRD in the crds directory first, then try removing it before upgrading, do you see the same behaviour?

If you try installing a chart with the CRD in the crds directory first, then try removing it before upgrading, do you see the same behaviour?

I do not see the same behaviour. If the chart started with a CRD in the crds/ directory, Helm does not delete the CRD if the crds directory is removed and the release upgrade. Nor does Helm delete the CRD if the release is deleted. This is consistent with the documentation.
However, for charts with CRDs in the templates/ directory (ie charts prior to Helm 3, or if the chart author did not read the documentation fully and didn't use the crds/ directory), I can't find a migration path to safety where Helm doesn't delete the CRD.

this is intentional behaviour

The reasoning for the behaviour makes sense. I do wonder if helm could better handle this case though. For example, the linter rejecting CRDs in template/ (in the same way resources with helm.sh/hook: crd-hook is rejected). If the other idea of skipping Deletes for CRDs is not desired, a note about this case in the documentation would be good.


Plan Wizard is not updating 'namespaces' if we skip and then come back to select

I ran into the below when I did:

In Plan Wizard, advance without selecting a namespace
Go back, in same wizard modal session, press back button
Select namespace
Advance as normal

It looks like the 'namespaces' field is not being updated on MigPlan.

$ oc get migplan jwm0711c -o yaml
apiVersion: migration.openshift.io/v1alpha1
kind: MigPlan
metadata:
  annotations:
    touch: a7caae13-3568-4f24-96fb-86f36201dac1
  creationTimestamp: "2019-07-11T16:17:12Z"
  generation: 2
  name: jwm0711c
  namespace: mig
  resourceVersion: "443934"
  selfLink: /apis/migration.openshift.io/v1alpha1/namespaces/mig/migplans/jwm0711c
  uid: 56e47e5c-a3f7-11e9-a1b2-063ca044fe88
spec:
  destMigClusterRef:
    name: host
    namespace: mig
  migStorageRef:
    name: my-s2-bucket
    namespace: mig
  srcMigClusterRef:
    name: ocp3
    namespace: mig
status:
  conditions:
  - category: Critical
    lastTransitionTime: "2019-07-11T16:17:12Z"
    message: The `migStorageRef` must reference a `migstorage`.
    reason: NotFound
    status: "True"
    type: InvalidStorageRef
  - category: Critical
    lastTransitionTime: "2019-07-11T16:17:12Z"
    message: The `namespaces` list may not be empty.
    status: "True"
    type: NamespaceListEmpty

@jwmatthews I think this is occurring due to the issue @Danil-Grigorev pointed out here #372.
Since the migplan is created on the step after the namespaces are selected during the PV discovery phase, the migplan will reflect what was selected there until the final wizard submit at the end of the wizard. @eriknelson Do you think we should just disable the back button functionality in the wizard? There could be some potential headaches involving plan object cleanup if we decide to allow the user to go back and change the namespaces & add a new plan.

This wizard is going to require some thought because of the way we have to create objects in the middle of it; it's not just transient state like a normal wizard. I'm not really in favor of disabling the back button, because we're going to have to handle plan edits as well, so this problem isn't going to go away. I think we need to clearly define the expected behavior and plan how we can accomplish that given the current code state.

Closing this since it's not possible to progress without any namespaces currently.
The more interesting issue here is being able to back up and select different namespaces. This needs to be covered by the plan edit work. We have a card that captures edit (https://github.com/fusor/mig-ui/issues/311), so I'll describe the issue there.


send_c_find return Status Dataset is not set to 0xFF01 with unsupported Keys

Tested with:

SOPClassesInStudy (not supported by the target PACS)
SOPClassUID  at SERIES level

Shouldn't it be the user's responsibility to return 0xFF01 in this case?

Hello, first sorry about the delayed answer.
I am sending the datasets with unsupported keys.
For instance If I do something like:
application = pynetdicom3.AE( scu_sop_class=pynetdicom3.QueryRetrieveSOPClassList, ae_title='SCU')

query_dataset = pydicom.Dataset()
query_dataset.QueryRetrieveLevel = 'SERIES'
query_dataset.StudyInstanceUID = '*'
query_dataset.SeriesInstanceUID = '*'
query_dataset.SOPClassUID = '1.2.840.10<IP_ADDRESS>.1.1.4' #SOPClassUID is not supported at the Series Level for the Patient Root Query/Retrieve Information Model

assoc = self._application.associate('localhost', 12345, ae_title='DCM4CHEE')
gen = assoc.send_c_find(query_dataset, query_model='P')
for ans, identifier in gen:
    [...]

The status I get is 0. everything works just llike if query_dataset.SOPClassUID = '1.2.840.10<IP_ADDRESS>.1.1.4'  was not here.
I would expect to obtained 0xFF01 as the status of the yielded datasets (am I right?)
I tested it interrogating a dcm4chee instance runing in a docker
Now that I write it I realized that it's probably more an issue on the dcm4chee side, not returning the correct status :S. Or my understanding of the whole thing is completely wrong? :)
Is there some validations performed on pynetdicom so if you provide a dataset with unsupported attributes to a C-FIND message you got an error or something?

Do you get back the SOPClassUID key in the replies? If not then that implies that dcm4chee should return an 0xFF01 status. It does sound like a dcm4chee issue, but maybe double check with dcmtk's findscu app or something similar.
pynetdicom follows the pydicom philosophy of leaving conformance of datasets up to the user.

Thank you for your answer,
I get the SOPClassUID in the replies but it's not in accordance with what I specified in my request-dataset. For instance if I specify SOPClassUID = MrImageStorage  I would still received Series with SOPClassUID = EnhancedMrImageStorage . The tag is unchanged in the identifiers (ie: it is what I put in the query dataset: MrImageStorage)


DO NOT MERGE: just for testing e2e-tests installer

/test appstudio-e2e-tests

/test appstudio-e2e-tests

works as expected
I0111 23:10:46.858540    6999 install.go:138] cloning 'https://github.com/psturc/infra-deployments' with git ref 'refs/heads/fix-install'


mdl-textfield enter eventlistener.

Possibility to add an enter eventlistener to a field. Useful for password text fields.

The current way to do this is to use the input or textarea slot like this: https://jsfiddle.net/posva/rc1u7ouc/


Genuinely confused about the usage of dfx.RESULTS

Alright, this is a very minor issue and there is no time pressure at all. I don't get how dfx.RESULTS[result] works, and so far I work around it by accessing its _value.  (Same thing for optimistix.)
import pytest
import diffrax as dfx

def dydt(t, y, args):
    return -y

solution = dfx.diffeqsolve(dfx.ODETerm(dydt), dfx.Tsit5(), 0, 10, 0.01, 10.)

with pytest.raises(ValueError):
    dfx.RESULTS[0]  # diffrax documentation specifies usage as diffrax.RESULTS[<integer>]
    dfx.RESULTS[solution.result._value]  # This also does not work
assert dfx.RESULTS[solution.result] == ''  # This is an empty string

status = int(solution.result._value)  # This is what I actually do

Ah whoops, that's something that is out of date. I've just written #443 to try and improve that.
Thes days we don't pass around raw integers any more. Instead we use an eqx.Enumeration, which has the advantage of being human-readable by default, and of only supporting equality checking against other integers. (I ran into bugs with people doing stuff like if solution.result < 5 and getting it wrong / making it hard to make changes in backward-compatible ways.) So please don't unwrap the ._value to get at the secret integer hiding underneath :)
If you're after a human-readable error message then you'll get this when directly just printing out solution.result. On success you'll get something like diffrax._solution.RESULTS<>, which is a lack-of-message indicating success. Otherwise you'll get diffrax._solution.RESULTS<Some informative message here!>
If you ever want that raw string for the message then that's accessible at diffrax.RESULTS[solution.result], although only outside of JIT. I think needing this string on its own is pretty rare; I've certainly never had a use-case for it.
If you're looking to write JIT-compatible code that does one thing on error and another thing on failure, then do
jnp.where(solution.result == diffrax.RESULTS.successful, foo, bar)

The result of solution.result == diffrax.RESULTS.successful is a scalar JAX boolean array. It will be a tracer if you're inside of JIT.
(Also heads-up that diffrax.RESULTS.discrete_terminating_event_occurred also exists, and should usually also be treated as a success state, if you're using events in your code at all: (solution.result == diffrax.RESULTS.successful) | (solution.result == diffrax.RESULTS.discrete_terminating_event_occurred))

Thank you, amazing! I occasionally brushed up against this when conditioning on the solution status, and it made me wonder what is up with that. I'll switch to the jnp.where solution!
On a related note, I'm writing my own Solution classes now and I'll base them on eqx.Enumeration now that I understand it better!


请问有vue3版本的吗

Question （问题描述）
How to use component s-table paging
Describe the solution you'd like （你期待的是什么？）
A clear and concise description of what you want to happen.
Additional context（附加信息）
Add any other context or screenshots about the feature request here.

https://github.com/sendya/preview-pro


NextJS and enabling plugins

🙋♂ Question
We are using immer in our ReactJS project and running it on NextJS. We want to implement the enableES5() for IE11 but it never resolves on the frontend. We keep getting:
Error was not caught Error: [Immer] The plugin for 'ES5' has not been loaded into immer. To enable the plugin, import and call 'enablesES5()' when initializing your application.
I wonder where we need to place this code to make it run properly. Do you have a solution for this (running it on NodeJS servers or specifically on the NextJS framework)?
We did not have issues with other NPM's to fire these kind of functions.
We have also tried the other plugins like enableAllPlugins() but with the same outcome of niot resolving.
Link to repro
NA
Environment
We only accept questions against the latest Immer version.

6.0.9
[x] Occurs with enablesES5()

I have no experience with NextJS, but calling enableES5 at the begin of your bundle should fix the issue. Whether you did it correctly we can't tell without a minimal reproduction.

Hi @mweststrate ,
Thing is with NextJS, you don't have a ReactDOM.render(element, container[, callback]) function as NextJS is running it.
There is a file called _app.js where you customise the app (more or less same principle), but it doesn't even reach that code in IE11. When I console log on chrome I can see it though so it is clearly imported but not executed on the right moment.

in addition:
I have called the function and logged it, which I can see fire in IE11 but the error appears after:

That usually means you have multiple instances of Immer in your app, or your module initialization is incorrect. (I usually use yarn why immer to figure that out).
A foolproof fix could be to wrap produce (assuming you call produce yourself) in some utility file and use that one
import origProduce, { enableES5 } from 'immer'

export function produce() {
  enableES5()
  return origProduce.apply(null, arguments)
}

calling enableES5 many times is safe and doesn't incur overhead

You are right! It needed to be called everytime the produce function is being called.
I had to change it a bit though otherwise I would get the following error:
"Error: [Immer] The first or second argument to produce must be a function"
So I wrote it like this:
`import { enableES5, produce } from 'immer'
export const produceImmer = (...args) => {
enableES5()
return produce(...args)
}`


Test IS 5.5.0 against MariaDB 10.0.32

Description:
We need to test and provide a report for Identity Server 5.5.0 against MariaDB 10.0.32.

This has been done and the results were shared.


How to set JVM version? rules_scala keeps insisting on using Java 11

I would like to use Java 17 but it keeps trying to use Java 11. How can I force rules_scala to stop trying to get older Java? I tried the following options:
--host_javabase=@bazel_tools//tools/jdk:toolchain:java17
--javabase=@bazel_tools//tools/jdk:toolchain:java17
--host_java_toolchain=@bazel_tools//tools/jdk:toolchain:java17
--java_toolchain=@bazel_tools//tools/jdk:toolchain:java17

and none of them work in the end. I'm on Bazel 6.5.0 btw.

Try using --tool_java_runtime_version=remotejdk_17.  That should be what the scala compiler is hosted on.
For what gets used during run and test, use --java_runtime_version=remotejdk_17.
(I think host_javabase and java_toolchain are both deprecated at this point).


help me

Thank you for taking the time to file an issue! This tracker is for issues related to the Dart analyzer and linter, the Dart core libraries (dart:async, dart:io, etc.), the Dart native and web compilers, and the Dart VM.
When reporting an issue, please include:

The Dart version and tooling diagnostic info (dart info)
Whether you are using Windows, macOS, or Linux (if applicable)
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

Other pieces of the Dart ecosystem are maintained elsewhere; please file issues in their respective repositories:

Flutter: https://github.com/flutter/flutter
Dart language: https://github.com/dart-lang/language
Dart website: https://github.com/dart-lang/site-www
dart format: https://github.com/dart-lang/dart_style
dart pub: https://github.com/dart-lang/pub
dart test: https://github.com/dart-lang/test
Dart & Flutter DevTools: https://github.com/flutter/devtools

If you have a question, instead of using this issue tracker, please refer to the community resources at: https://dart.dev/community#join-the-conversation.

I want help in more issues


Local Docker compose impossible on Windows

Hi
In 1.2.1, the implementation for the LocalDockerCompose class has a constant specifying the executable name of local Docker Compose.
This is hard-coded to docker-compose which is fine on *nix / OS X, but fails on Windows, which is expecting docker-compose.exe.
It might be nice if this auto-detected Windows and used the .exe version, or even just tried both in turn...

Hi @declension,
Thanks for reporting!
We already have an issue regarding .exe (Damn you, Windows! :D ) here: https://github.com/testcontainers/testcontainers-java/issues/62
But it's about docker-machine. Do you want to fix it yourself? Shouldn't be hard, and we're more than happy to receive PRs :)

I managed to get this working by adding a copy of docker-compose to my path without the .exe extension.
Obviously a hack, but it seems to work

Thanks!


Add golden/QueryVersion1/CardanoNodeToClientVersion7 files

Fixes #3240.
See single commit's message.

Thanks, David. I rebased onto origin/master. No conflicts.

bors r+


Transfer a large amount of data from Dymola to MATLAB via UDP

I am considering using the Modelic_DeviceDrivers library to transfer data via UDP, but it turns out I have to connect every variable via a component, and I have a few thousands of variables, it would take too much effort to connect them.
How could I transfer a large amount of data from Dymola to MATLAB efficiently via UDP?

Maybe you could mechanize it by using the underlying Modelica functions directly, instead of using the drag'n drop blocks.
Though I'm not sure whether it is a good idea using this UDP interface if you have so many variables. It could work, could be even rather efficient, but it simply stuffs everything sequentially in one UDP message. It's rather easy to introduce offset bugs if message construction and deconstruction don't fit exactly and it is potentially hard to debug if you have so many variables.

Except for UDP, is there any other method that allows massive data exchange via the internet efficiently?

UDP may drop packets, it is particularly for time-sensitve applications, e.g., (soft) real-time applications. Otherwise TCP provides a more reliable data stream. MDD is intended for rather simply use cases. There are various libraries available for a more high-level data exchange, e.g., https://zeromq.org/ , but I'm not aware of any ports to Modelica language bindings. I've so far only used the OS functions directly.


New Crowdin translations

@robertohuertasm Think is I didn't make any changes to the translations. This PR was auto-generated by Crowdin. Although it seems correct I propose we test it against any parsing code errors, just to be on the safe side.

It seems to work in French, so I'll assume this works also for Italian and Japanese:

Italian:

I'm relieved.


error when run the simple-inference.ipynb

In the second-v1.6alpha, when run the simple-inference.ipynb code. it occured an error in the Detection Part.

seems like when modify the Detection range, The Tensor dimension Mismatch.
Using the pretrained model file released by author and the newest config file.
Need I retrain the model file ?
@traveller59

don't need to retrain.
I can't reproduce this, I have tried car.lite.config and car.fhd.config. which model and config do you use?

Using the car.lite.config and the car_lite/voxelnet-15500.tckpt file which are released in the repo
here is my code
import numpy as np
import pickle

from pathlib import Path

import torch
from google.protobuf import text_format

from second.pytorch.train import build_network
from second.protos import pipeline_pb2
from second.utils import config_tool

# Read Config file
config_path = "/home/aisimba/Documents/second.pytorch-v1.6/second/configs/car.lite.config"
config = pipeline_pb2.TrainEvalPipelineConfig()
with open(config_path, "r") as f:
    proto_str = f.read()
    text_format.Merge(proto_str, config)
input_cfg = config.eval_input_reader
model_cfg = config.model.second

# config_tool.change_detection_range(model_cfg, [-50, -50, 50, 50])

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

# Build Network, Target Assigner and Voxel Generator
ckpt_path = "/home/aisimba/Documents/second.pytorch-v1.6/second/car_lite/voxelnet-15500.tckpt"
net = build_network(model_cfg).to(device).eval()
net.load_state_dict(torch.load(ckpt_path))
target_assigner = net.target_assigner
voxel_generator = net.voxel_generator

# Generate Anchors
downsample_factor = config_tool.get_downsample_factor(model_cfg)
grid_size = voxel_generator.grid_size
feature_map_size = grid_size[:2]
feature_map_size = [*feature_map_size, 1][::-1]

anchors = target_assigner.generate_anchors(feature_map_size)["anchors"]
anchors = torch.tensor(anchors, dtype=torch.float32, device=device)
anchors = anchors.view(1, -1, 7)

# Read KITTI infos
info_path = input_cfg.dataset.kitti_info_path
root_path = Path(input_cfg.dataset.kitti_root_path)
with open(info_path, 'rb') as f:
    infos = pickle.load(f)

# Load Point Cloud, Generate Voxles
info = infos[564]
# v_path = info["point_cloud"]['velodyne_path']
v_path = info['velodyne_path']
v_path = str(root_path / v_path)
points = np.fromfile(v_path, dtype=np.float32, count=-1).reshape([-1, 4])
voxel_generator._to_sparse = True
voxels, coords, num_points = voxel_generator.generate(points, max_voxels=90000)
print(voxels.shape)
# print(coords.shape)
# print(num_points.shape)

coords = np.pad(coords, ((0, 0), (1, 0)), mode='constant', constant_values = 0)
voxels = torch.tensor(voxels, dtype=torch.float32, device=device)
coords = torch.tensor(coords, dtype=torch.int32, device=device)
num_points = torch.tensor(num_points, dtype=torch.int32, device=device)

example = {
    "anchors": anchors,
    "voxels": voxels,
    "num_points": num_points,
    "coordinates": coords,
}
pred = net(example)[0]

print(pred)

you have missed this:
feature_map_size = grid_size[:2] // config_tool.get_downsample_factor(model_cfg)

There are several downsample layers in middle feature extractor and RPN, so we need the downsample_factor to get correct feature map size for anchor generation.

thanks for your replay!!


[Bug]: can't import clickOutside directive

Hi, I'm trying to import the ClickOutside directive, but I'm getting the following error:
[plugin:vite:import-analysis] Failed to resolve import "vuetify/directives/C" from "../../../../../@nuxt-vuetify-configuration/vuetify-configuration". Does the file exist?
/@nuxt-vuetify-configuration/vuetify-configuration:1:20
1  |  import { C } from 'vuetify/directives/C'
   |                     ^
2  |  import { l } from 'vuetify/directives/l'
3  |  import { i } from 'vuetify/directives/i'

@mtdvlpr minimal reproduction please...

@mtdvlpr minimal reproduction please... (you can open this repo in stackblitz, check link in readme file)
https://github.com/userquin/vuetify-nuxt-module#-install

https://github.com/mtdvlpr/reproduction

@mtdvlpr it seems I'm spliting the directive name instead the array  :sweat_smile:
Remove the directive until I fix and release a new version.

@mtdvlpr as workaround configue true, I'm finishing the PR, release in a few minutes...


Enhancements to tiny OLEDs, OTA beautified

A quick summary of what's in this (as included in the main.cpp):
OLED 64x128 improvements: blank screen with backlight time (both available in prefs), character limit for small displays. Also: OTA beautified, fixed rotary timeout display, new esp-idf ADC (the new number is 12 for attenuation instead of 11).
I added a bunch of functions to help with small displays but I think they only apply to the tiny OLEDS. But they can be applied to other displays should the need arise.
I made a big change to the OTA too. It looks pretty good on my Tiny OLED. It didn't display any update information before at all. It was kind of a PITA to get it working the way it's supposed to.

Out of curiosity, why not merge this?

@Edzelf  I am upvoting this PR, updates for the small OLED are very welcome.

@aly-fly you can try it out on my fork if you like.

@aly-fly you can try it out on my fork if you like.

Will do and report back.
Hint: It might be easier for the author to test and merge smaller updates, like separate OLED and separate OTA and not everything together. Just a guess. I know I would rater see it that way as an owner of a such popular repository.

Yeah, I got a bit carried away... although part of the problem with that was... I actually worked on both bits of code simultaneously.  There was no separating them once I had begun... and they do interact with each other... a bit.


Fix tests and add a getHeight function

Hey Dave, here are the fixed tests from my last PR.
Thanks again :)

Good changes, thanks! Looks like some awesome performance changes may be in the works soon, so I'm going to hold off on publishing for a couple days to see if I can get 2-for-1 for the release.
If its really important that I get it published with your changes right away, then just bug me and I'll take care of it sooner.

Happy to wait. Looking forward to the performance improvements. Thanks again :+1:


HA b4 - KNX devices cannot be edited

After upgrading to Home Assitant Core b4 already created KNX devices can no longer be edited. The buttons for editing an deleting are missing:

Thanks for reporting 👍
Seems to be an issue with table column width 😬

fixed by https://github.com/XKNX/knx-frontend/pull/149 ... at least for most display widths 😬

Thank you.
As long as the PR is still open. Have you seen this:

I've seen this, but unfortunately I have no idea how to fix it (except for clicking it once 🤷). This uses a standard HA webcomponent, so I just hope an upsteam update makes this disappear some day 😶


Fix build_native_library.sh so that it runs on alpine-based (e.g. Alpine)-based distros

Fixes https://github.com/apache/accumulo/issues/1731

Thanks for the PR @larsw . I will merge this into assemble/bin/accumulo-util in our main branch as well, for 2.1.0. If you wish to be added as a contributor to https://accumulo.apache.org/people/ , please open a pull request to add yourself at https://github.com/apache/accumulo-website/edit/main/pages/people.md and leave a reference to apache/accumulo#1734 in your commit log.
If you intend to be a regular contributor to Accumulo projects, please consider subscribing to our developer mailing list (https://accumulo.apache.org/contact-us/) and introducing yourself. :smiley_cat:

Merged to main branch in 75b19431a1b5e3573a9a54d3874d745f100d3297


Removes unnecessary try catch blocks

Pull Request Test Coverage Report for Build 95

17 of 17 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 53.611%

Totals

Change from base Build 91:
0.3%

Covered Lines:
245

Relevant Lines:
457

💛  - Coveralls


Add info or link to how this works with ASE (Isolated)

When I look at the ASE portal page, it's very different than the image above for "App Service". So it's not clear how to set up the custom domain for an ASE (Isolated). The only item available in the ASE blade I see is "ILB Certificate" (under Settings). If this is documented elsewhere (haven't found one yet), please add a link to that page. Thx

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

ID: e30dfd76-2a83-bd21-2153-85e32894014e
Version Independent ID: 9dca62e8-0aef-10eb-b2d3-2ab12087f90a
Content: Integrate ILB App Service Environment with Application Gateway - Azure
Content Source: articles/app-service/environment/integrate-with-application-gateway.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

@munozrickT4S , Thanks for raising the issue. We will investigate and update you.

Article was recently refreshed.
#please-close


RISC-V --- set up global pointer

The RISC-V compilers try to put frequently used data into  'small data' and 'small BSS' sections that are meant to be within 2k of the global pointer.
This patch includes sbss and sdata into the appropriate segments, and sets the global pointer to a point 2k from the start of small data.

Done in mainline Microkit.


Implement Zod Validation for Deleting Article Series

Title: Implement Zod Validation for Deleting Article Series
Description:
This GitHub issue focuses on enhancing the validation process for deleting article series within the /user/article_series/:id route. The task involves implementing Zod validation to ensure the validity of the id parameter, preventing erroneous or malicious requests. Implementing Zod validation contributes to data security and code quality.
Tasks:

Implement Zod Validation for id Parameter:

[ ] Implement Zod validation for the id parameter in the /user/article_series/:id route.
[ ] Define the validation logic using Zod to require a valid integer id.

Acceptance Criteria:

The /user/article_series/:id route successfully implements Zod validation for the id parameter.
Validation ensures that the id is required and must be a valid integer.

Additional Information:

Implementing Zod validation enhances data security and code quality.
Validating the id parameter prevents erroneous or malicious requests.
This enhancement contributes to maintaining a secure and reliable codebase.

I would love to work on this issue, I had experience with zod in my past projects

@mixamum Assigned to you

I would love to work on this issue, I had experience with zod in my past projects

Hello @mixamum If you need help or got stuck do not hesitate to ask us for help on Discord or here. Thanks

Hi @prasenjeet-symon, is this issue still open?


[TEST] Collect issue items which do not have corresponding manual test cases

What's the test to develop? Please describe
Some new features and bugs are verified but do not have related manual test cases.  Find these items and have a record to track manual test cases implement status

[ ] https://github.com/longhorn/longhorn/issues/4898
[ ] https://github.com/longhorn/longhorn/issues/3304
[ ] https://github.com/longhorn/longhorn/issues/5443
[ ] https://github.com/longhorn/longhorn/issues/4594
[ ] https://github.com/longhorn/longhorn/issues/5391
[ ] https://github.com/longhorn/longhorn/issues/5340
[ ] https://github.com/longhorn/longhorn/issues/5292
[ ] https://github.com/longhorn/longhorn/issues/5171
[ ] https://github.com/longhorn/longhorn/issues/5157
[ ] https://github.com/longhorn/longhorn/issues/5064
[ ] https://github.com/longhorn/longhorn/issues/5507
[ ] https://github.com/longhorn/longhorn/issues/5286

cc @longhorn/qa
Additional context
Please help adding in case missing,  thank you

This is awesome. Could we focus on feature/improvement/bug(P0) from 1.2 to now? Thanks!


Layed groundworks for making the game ai

created a new package called ai that contains all of the necessary classes and interfaces to make the ai implementation.


Update zh_cn.flatten.json5

By the way - if you want, you can build the web book from your own branch to see if your translations look good or are missing anything, like so:

Pull the gh-pages branch into your fork (or make a new one with that name, it doesn't matter)
Go to https://github.com/ChuijkYahus/HexMod/settings/pages and make sure it's configured like this:

Go to https://github.com/ChuijkYahus/HexMod/actions/workflows/build_docs.yml, open the Run workflow dropdown, and press the green Run workflow button with these settings:

When it's done, go to https://ChuijkYahus.github.io/HexMod/v/latest/zh_cn/ to see the results!

You can also build it for certain older versions (like 0.10.3) with these settings:

Anyway, thank you!


chore(deps): rm unused consenssu crate

Codecov Report

Merging #2099 (024021f) into main (e2a1df1) will decrease coverage by 54.76%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #2099       +/-   ##
===========================================
- Coverage   71.99%   17.23%   -54.76%
===========================================
  Files         436      436
  Lines       53359    53359
===========================================
- Hits        38416     9199    -29217
- Misses      14943    44160    +29217

Flag
Coverage Δ

integration-tests
17.23% <ø> (-2.08%)
:arrow_down:

unit-tests
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 310 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


No error when the disk is full

Try this with your disk full except 200k (1M?) (maybe in a virtual machine):
manga-py --cbz --zero-fill --rename-pages https://freemanga.to/manga/read-overlord-manga

cbz created with no error.

I do not check the available space. But this is a good idea. Thank you!

Default value = 100M
--min-free-space param

It works :+1:


Cannot set validation errors on Confirmation task

Description of the bug
I would assume the metod ValidateTask in ValidationHandler is made to run validation on any task, not just the one concering filling out the form. However, when adding a modelError while on the confirmation task the form crashes (Ukjendt feil) with the following 409 network error:
Cannot complete/close current task TaskBekreftelse. The data element(s) assigned to the task are not valid!
Steps To Reproduce

Use an app that contains a confirmation step.
On the confirmation step, trigger a validation error in ValidateTask with validationResults.AddModelError on a hidden field.
When running the app, observe that it crashes upon clicking 'confirm' on the confirmation step.

Additional Information
Checking for e.g. outdated data on confirmation could be a real case particularly when the roles enabled to fill out a form and the ones enabled to confirm it differs.

I'm not sure if server side validation is natural on a confirm task. The data provided by the user is locked and there is nothing the user can do to correct the issue.
The data should rather be check before it is locked, when the user is moving from the data task to the confirm task making it possible for the end user to actually fix the problem.

The case here though is that some of the data is prefilled and can get outdated if left alone for too long, (that is, if someone else has sent additional data in the meantime).
The app already does this check of data validity before moving on to the confirmation task, but there is no guarantee that the user will confirm the data and complete sending right away. Particularly if the user that filled out the form does not have the credentials/role necessary to perform the confirmation step (which is functionality that will come).
In Breg's case, they need a way to stop the user from sending a form with outdated data, and to inform the user what to do next.

What would happen if the prefilled data gets outdated after the user confirms and before Brreg has processed the form?
What is the user supposed to do if the prefilled data is outdated?

In this case, processing the form happens automatically so it should be a pretty quick affair.
As far as I understand it, Breg wants to minimize the risk of someone sending outdated information to an automated system. And since forms may be stuck on the confirmation step potentially for a long time (not necessarily by design but because users are people and people may start a process and only finish it weeks later with or without reason) checking the data only before the user enters the confirmation step is deemed insufficient.

This feels more like something that should be resolved through the feedback task.
The user confirms that to their knowledge the data provided is correct, brg process the data and finds some problems with the provided data and gives the user(s) feedback about why the data was rejected.
It seems to me that if the world can change and make the provided data invalid it can happen 1 ms after the user has pressed confirm, how would the automated processing of data handle this?


"Hărman", "Podu Oltului" are villages in "Hărman" common, "BRAȘOV" county

Description : When user is typing the villages in the search bar, the locations should appear in the dropdown menu correctly spelled and with localities information (as in Law nr. 2 din 16 februarie 1968)
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing.
After every step delete the text you typed from the search bar.

Step 1
Type "Hărman" in the search bar.
Expected results
The location is listed in the drop-down menu as "Hărman, Brașov (Hărman)"

Step 2
Type "Podu Oltului" in the search bar.
Expected results
The location is listed in the drop-down menu as "Podu Oltului, Brașov (Hărman)"


fix R.style.Theme_AppCompat_Dialog_Alert while not found

fix: when gradle.properties android.nonTransitiveRClass set true, R.style.Theme_AppCompat_Dialog_Alert while not found
Connection with issue(s)
Resolve issue
#1260
#1153 some of these issues
Connected to
same as #1262
Testing and Review Notes
on gradle.properties set android.nonTransitiveRClass=true
Screenshots or Videos
To Do

[x] double check the original issue to confirm it is fully satisfied
[x] add testing notes and screenshots in PR description to help guide reviewers
[ ] request the "UX" team perform a design review (if/when applicable)

it LGTM!

Closing as #1262 has been merged


Create README.nl-NL.md

Adds DUTCH language support.

This has already been done.

This translation is not even done well, did you just put it through google translate?

This translation is not even done well, did you just put it through google translate?

No, With English Learned at the Intermediate vocational education.


[Go Live][May 05]

Push to live

Docs Build status updates of commit 36cda5a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/TOC.yml
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/device-capabilities/device-capabilities-overview.md
:white_check_mark:Succeeded
View

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


Update index.md

misspelled word test

This PR was opened as part of a live demo (HW technical training for 2024 Hackweek)


BUG: Cannot compile for 3.11

Describe your issue.
Version used
Uploading scipy-compile.log…
: Using cached scipy-1.6.1.tar.gz (27.3 MB)
I've attached the log file and the suspected issue -
Reproducing Code Example
pip install scipy
Pip version - pip 22.1.1 from /home/rishacha/.local/lib/python3.11/site-packages/pip (python 3.11)
Python version - Python 3.11.0b1
OS - elementaryOS

Error message
2022-05-24T23:43:03,313   scipy/cluster/_vq.c:196:12: fatal error: longintrepr.h: No such file or directory
2022-05-24T23:43:03,313     196 |   #include "longintrepr.h"
2022-05-24T23:43:03,313         |            ^~~~~~~~~~~~~~~
2022-05-24T23:43:03,313   compilation terminated.

SciPy/NumPy/Python version information

import sys, numpy; print("Numpy version: ", numpy.version,"\nSys version: ", sys.version_info) Numpy version:  1.22.3  Sys version:  sys.version_info(major=3, minor=11, micro=0, releaselevel='beta', serial=1)

Using cached scipy-1.6.1.tar.gz

Can you retry with a more recent version? I don't think 1.6.1 is really supported anymore.

Command I used - pip install --no-cache-dir --upgrade scipy and my pip is the latest version (pip 22.1.1 from /home/rishacha/.local/lib/python3.11/site-packages/pip (python 3.11).
Can you help me solve this issue? I can't seem to find the latest scipy
$ pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in ./.local/lib/python3.11/site-packages (22.1.1)
$ pip install scipy==1.8.1
Defaulting to user installation because normal site-packages is not writeable
ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.0rc1 Requires-Python >=3.7,<3.10; 1.7.0rc2 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11
ERROR: Could not find a version that satisfies the requirement scipy==1.8.1 (from versions: 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 1.0.0b1, 1.0.0rc1, 1.0.0rc2, 1.0.0, 1.0.1, 1.1.0rc1, 1.1.0, 1.2.0rc1, 1.2.0rc2, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0rc1, 1.3.0rc2, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0rc1, 1.4.0rc2, 1.4.0, 1.4.1, 1.5.0rc1, 1.5.0rc2, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0rc1, 1.6.0rc2, 1.6.0, 1.6.1)
ERROR: No matching distribution found for scipy==1.8.1

Your pip listing indeed has 1.6.1 as the last version, which is weird. At any rate this is not a scipy issue. Maybe try a different machine / different pip version.

Also you would need to compile manually. Installing SciPy from source from PyPi does not work.
I don't think there is any issues there since we have Python 3.11-beta in the CI. I will let you be the final judge and close @ev-br

Python3.11 is not yet released, only Beta versions, so there are no wheels available on PyPI. That is why pip starts off a build process. If you downgrade to Python 3.10 you'll have an easier time installing a pre-built wheel.
If you want to persist with 3.11 the error message you're seeing is because the longintrepr.h file has been moved, https://github.com/cython/cython/issues/4461https://github.com/cython/cython/issues/4461. If you upgrade to the latest version of cython you may have more success.

@andyfaff -  Installed Cython from source - No change
@tupui - Tried installing scipy from source and get this error - FileNotFoundError: [Errno 2] No such file or directory: '/media/rishacha/DATA/code/open_sauce/scipy-main/scipy/_lib/highs/CMakeLists.txt'

You have to follow our guidelines to compile SciPy from source otherwise it will not work https://docs.scipy.org/doc/scipy/dev/contributor/contributor_toc.html#development-environment

Any idea when PyPi will support Python 3.11 for scipy?

SciPy wheels for Python 3.11 will only be available on PyPi after Python 3.11 releases. Not before, and it will certainly take up to a couple of month to make it happen.

On the submodule init, seems like it is trying to get the master branch which does not exist and got renamed to main on all the org repository including boost.

Do I put in a fix for this?

I do not think there are any issues to fix. What do you mean concretely?

Which instruction did you follow? This is really not clear.

If I follow the second last point here, I get the same error.
I don't want to go the conda route. Is there no guide for normal python-based compilation?

I followed the first step -

It doesn't work because it can't find the submodules. Also, I found the options a bit confusing. None of the above have worked for me. It still doesn't compile, even after git submodule --init/git submodule --update command.

Yes, I did everything from scratch, including cloning SciPy.
I will however, give it another shot with a totally new docker image (just to be sure it's not my machine causing issues).
I tried using conda too. Still not able to build the package.
(scipy-dev) rishacha@msi:.../code/open_sauce/scipy$ python setup.py install
/media/rishacha/DATA/code/open_sauce/scipy/setup.py:123: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.command.sdist import sdist

Note: for reliable uninstall behaviour and dependency installation
and uninstallation, please use pip instead of using
`setup.py install`:

  - `pip install .`       (from a git repo or downloaded source
                           release)
  - `pip install scipy`   (last SciPy release on PyPI)

Running from SciPy source directory.
Cythonizing sources
Running scipy/linalg/_generate_pyx.py
Running scipy/special/_generate_pyx.py
Running scipy/stats/_generate_pyx.py
scipy/linalg/_generate_pyx.py: all files up-to-date
scipy/special/_generate_pyx.py: all files up-to-date
scipy/cluster/_hierarchy.pyx has not changed
scipy/cluster/_optimal_leaf_ordering.pyx has not changed
scipy/linalg/_matfuncs_sqrtm_triu.pyx has not changed
scipy/linalg/_solve_toeplitz.pyx has not changed
scipy/linalg/_cythonized_array_utils.pyx has not changed
scipy/linalg/_decomp_update.pyx.in has not changed
scipy/ndimage/src/_cytest.pyx has not changed
scipy/ndimage/src/_ni_label.pyx has not changed
scipy/io/matlab/_mio_utils.pyx has not changed
scipy/optimize/_group_columns.pyx has not changed
scipy/optimize/cython_optimize/_zeros.pyx.in has not changed
scipy/optimize/_lsq/givens_elimination.pyx has not changed
scipy/optimize/_trlib/_trlib.pyx has not changed
scipy/optimize/tnc/_moduleTNC.pyx has not changed
scipy/optimize/_highs/cython/src/_highs_constants.pyx has not changed
scipy/optimize/_highs/cython/src/_highs_wrapper.pyx has not changed
scipy/interpolate/_bspl.pyx has not changed
scipy/signal/_peak_finding_utils.pyx has not changed
scipy/signal/_sosfilt.pyx has not changed
scipy/signal/_spectral.pyx has not changed
scipy/signal/_upfirdn_apply.pyx has not changed
scipy/sparse/_csparsetools.pyx.in has not changed
scipy/sparse/csgraph/_flow.pyx has not changed
scipy/sparse/csgraph/_matching.pyx has not changed
scipy/sparse/csgraph/_min_spanning_tree.pyx has not changed
scipy/sparse/csgraph/_reordering.pyx has not changed
scipy/sparse/csgraph/_shortest_path.pyx has not changed
scipy/signal/_max_len_seq_inner.pyx has not changed
scipy/interpolate/_ppoly.pyx has not changed
scipy/spatial/_ckdtree.pyx has not changed
scipy/spatial/_hausdorff.pyx has not changed
scipy/spatial/_qhull.pyx has not changed
scipy/linalg/cython_blas.pyx has not changed
scipy/linalg/cython_lapack.pyx has not changed
scipy/special/cython_special.pyx has not changed
scipy/special/_ellip_harm_2.pyx has not changed
scipy/fftpack/convolve.pyx has not changed
scipy/special/_ufuncs.pyx has not changed
scipy/special/_ufuncs_cxx.pyx has not changed
scipy/special/_comb.pyx has not changed
scipy/stats/_qmc_cy.pyx has not changed
scipy/stats/_sobol.pyx has not changed
scipy/stats/_stats.pyx has not changed
scipy/stats/_biasedurn.pyx has not changed
scipy/stats/_levy_stable/levyst.pyx has not changed
scipy/stats/_unuran/unuran_wrapper.pyx has not changed
scipy/stats/_boost/src/beta_ufunc.pyx has not changed
scipy/stats/_boost/src/binom_ufunc.pyx has not changed
scipy/stats/_boost/src/hypergeom_ufunc.pyx has not changed
scipy/stats/_boost/src/nbinom_ufunc.pyx has not changed
scipy/stats/_boost/src/ncf_ufunc.pyx has not changed
scipy/_lib/messagestream.pyx has not changed
scipy/_lib/_ccallback_c.pyx has not changed
scipy/_lib/_test_deprecation_call.pyx has not changed
scipy/_lib/_test_deprecation_def.pyx has not changed
scipy/spatial/transform/_rotation.pyx has not changed
scipy/linalg/_matfuncs_expm.pyx.in has not changed
scipy/cluster/_vq.pyx has not changed
scipy/special/_test_round.pyx has not changed
scipy/interpolate/interpnd.pyx has not changed
scipy/sparse/csgraph/_tools.pyx has not changed
scipy/sparse/csgraph/_traversal.pyx has not changed
scipy/io/matlab/_mio5_utils.pyx has not changed
scipy/optimize/_bglu_dense.pyx has not changed
scipy/io/matlab/_streams.pyx has not changed
scipy/spatial/_voronoi.pyx has not changed
INFO: lapack_opt_info:
INFO: lapack_armpl_info:
INFO: customize UnixCCompiler
INFO: C compiler: /home/rishacha/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -fPIC -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -fPIC

creating /tmp/tmpw2mg16sk/tmp
creating /tmp/tmpw2mg16sk/tmp/tmpw2mg16sk
INFO: compile options: '-MMD -MF /tmp/tmpw2mg16sk/file.c.d -c'
INFO: x86_64-conda-linux-gnu-cc: /tmp/tmpw2mg16sk/file.c
INFO:   libraries armpl_lp64_mp not found in ['/home/rishacha/anaconda3/envs/scipy-dev/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
INFO:   NOT AVAILABLE
INFO:
INFO: lapack_mkl_info:
INFO:   libraries mkl_rt not found in ['/home/rishacha/anaconda3/envs/scipy-dev/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
INFO:   NOT AVAILABLE
INFO:
INFO: openblas_lapack_info:
INFO: C compiler: /home/rishacha/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -fPIC -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -fPIC

creating /tmp/tmpttvo_ord/tmp
creating /tmp/tmpttvo_ord/tmp/tmpttvo_ord
INFO: compile options: '-c'
INFO: x86_64-conda-linux-gnu-cc: /tmp/tmpttvo_ord/source.c
INFO: /home/rishacha/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc /tmp/tmpttvo_ord/tmp/tmpttvo_ord/source.o -L/home/rishacha/anaconda3/envs/scipy-dev/lib -lopenblas -o /tmp/tmpttvo_ord/a.out
INFO:   FOUND:
INFO:     libraries = ['openblas', 'openblas']
INFO:     library_dirs = ['/home/rishacha/anaconda3/envs/scipy-dev/lib']
INFO:     language = c
INFO:     define_macros = [('HAVE_CBLAS', None)]
INFO:
INFO:   FOUND:
INFO:     libraries = ['openblas', 'openblas']
INFO:     library_dirs = ['/home/rishacha/anaconda3/envs/scipy-dev/lib']
INFO:     language = c
INFO:     define_macros = [('HAVE_CBLAS', None)]
INFO:
/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/system_info.py:937: UserWarning: Specified path /usr/local/include/python3.10 is invalid.
  return self.get_paths(self.section, key)
non-existing path in 'scipy/linalg': 'src/lapack_deprecations/LICENSE'
INFO: blas_opt_info:
INFO: blas_armpl_info:
INFO:   libraries armpl_lp64_mp not found in ['/home/rishacha/anaconda3/envs/scipy-dev/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
INFO:   NOT AVAILABLE
INFO:
INFO: blas_mkl_info:
INFO:   libraries mkl_rt not found in ['/home/rishacha/anaconda3/envs/scipy-dev/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
INFO:   NOT AVAILABLE
INFO:
INFO: blis_info:
INFO:   libraries blis not found in ['/home/rishacha/anaconda3/envs/scipy-dev/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
INFO:   NOT AVAILABLE
INFO:
INFO: openblas_info:
INFO: C compiler: /home/rishacha/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -fPIC -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/rishacha/anaconda3/envs/scipy-dev/include -fPIC

creating /tmp/tmp4161pv39/tmp
creating /tmp/tmp4161pv39/tmp/tmp4161pv39
INFO: compile options: '-c'
INFO: x86_64-conda-linux-gnu-cc: /tmp/tmp4161pv39/source.c
INFO: /home/rishacha/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc /tmp/tmp4161pv39/tmp/tmp4161pv39/source.o -L/home/rishacha/anaconda3/envs/scipy-dev/lib -lopenblas -o /tmp/tmp4161pv39/a.out
INFO:   FOUND:
INFO:     libraries = ['openblas', 'openblas']
INFO:     library_dirs = ['/home/rishacha/anaconda3/envs/scipy-dev/lib']
INFO:     language = c
INFO:     define_macros = [('HAVE_CBLAS', None)]
INFO:
INFO:   FOUND:
INFO:     libraries = ['openblas', 'openblas']
INFO:     library_dirs = ['/home/rishacha/anaconda3/envs/scipy-dev/lib']
INFO:     language = c
INFO:     define_macros = [('HAVE_CBLAS', None)]
INFO:
Traceback (most recent call last):
  File "/media/rishacha/DATA/code/open_sauce/scipy/setup.py", line 532, in <module>
    setup_package()
  File "/media/rishacha/DATA/code/open_sauce/scipy/setup.py", line 528, in setup_package
    setup(**metadata)
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/core.py", line 135, in setup
    config = configuration()
  File "/media/rishacha/DATA/code/open_sauce/scipy/setup.py", line 438, in configuration
    config.add_subpackage('scipy')
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 1054, in add_subpackage
    config_list = self.get_subpackage(subpackage_name, subpackage_path,
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 1020, in get_subpackage
    config = self._get_configuration_from_setup_py(
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 962, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "/media/rishacha/DATA/code/open_sauce/scipy/scipy/setup.py", line 18, in configuration
    config.add_subpackage('optimize')
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 1054, in add_subpackage
    config_list = self.get_subpackage(subpackage_name, subpackage_path,
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 1020, in get_subpackage
    config = self._get_configuration_from_setup_py(
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 962, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "/media/rishacha/DATA/code/open_sauce/scipy/scipy/optimize/setup.py", line 147, in configuration
    config.add_subpackage('_highs')
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 1054, in add_subpackage
    config_list = self.get_subpackage(subpackage_name, subpackage_path,
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 1020, in get_subpackage
    config = self._get_configuration_from_setup_py(
  File "/home/rishacha/.local/lib/python3.10/site-packages/numpy/distutils/misc_util.py", line 962, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "/media/rishacha/DATA/code/open_sauce/scipy/scipy/optimize/_highs/setup.py", line 63, in configuration
    _major_dot_minor = _get_version(
  File "/media/rishacha/DATA/code/open_sauce/scipy/scipy/optimize/_highs/setup.py", line 50, in _get_version
    with open(CMakeLists, 'r', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/media/rishacha/DATA/code/open_sauce/scipy/scipy/_lib/highs/CMakeLists.txt'

Why this picked up scipy 1.6.1 at first: because that was the last version which did not have an upper bound on supported Python versions.
Why the FileNotFoundError: because you need to run git submodule update --init after cloning the SciPy repo. Then things will work on Python 3.11-dev with current main branch.
This is not a bug, so I'll close the issue. Please feel free to continue commenting though @rishacha if you run into more trouble.

@rgommers  and @tupui - I got it to work on docker and can finally confirm it's not a bug -
FROM continuumio/miniconda3
RUN git clone https://github.com/scipy/scipy.git
WORKDIR /scipy
SHELL ["/bin/bash", "-c"]
RUN conda init bash && \
source /root/.bashrc &&\
conda env create -f environment.yml &&\
conda activate scipy-dev &&\
git submodule update --init &&\
python -m pip install .

Build output - Successfully installed scipy-1.9.0.dev0+2157.26eb830
I haven't tried for python3.11, but I'm guessing it will work as expected.
Thank you for all your support and patience @rgommers @tupui @andyfaff @ev-br

Thanks for confirming @rishacha

Are there any plans to do a release with 'support' (I guess removing the Python version pinning) for 3.11 betas in the near future?

@dstansby SciPy 1.9.rc2 is already up on PyPI, final release should not be more than 2 weeks off. And we'll add 3.11 wheels after Python 3.11 RC1 is out (which is the point in the release cycle where Python is ABI-stable).

You can install that already with pip install scipy --pre.


deprecate karma-no-mocha

after next release, deprecate karma-no-mocha (and remove the repo?)

okay, it's deprecated.  I'm not sure if it's safe to remove the repo.

I'd assume the repo is needed for Bower but not for NPM? In which case, if we don't support testing Mocha itself via Bower instead of NPM, it would be safe to remove?

The repo isn't needed for anything, I think.
The only issue (afaik) would be that the repository link in npm is dead.  This would show on npmjs.com, and attempting to open the repo via npm repo karma-no-mocha would result in a 404.

The only issue (afaik) would be that the repository link in npm is dead. This would show on npmjs.com, and attempting to open the repo via  npm repo karma-no-mocha  would result in a 404.

I doubt that would be an issue in practice, considering it's deprecated and points potential users to karma-mocha instead, and that anyone who really wants to see what was different about the code can look at the code in NPM and compare it to versions of karma-mocha from the same time. At worst, it might look bad -- but the fork has no reputation worth upholding. Right?


Reduce memory usage for large directories/files

What does this PR change? What problem does it solve?
restic requires a lot of memory to backup large files and directories. This PR reduces the peak memory usage by about 30-50% (depending on the GC settings). It is not intended as a complete solution to the memory usage problems, as that would require a repository format change as discussed in #2532.
Instead this PR takes the route of reducing the size of structs used during backup. Most notably the FutureNode/File/Tree structs. As the archiver preallocates the FutureNode array for each directory, the optimum would be to reduce the size of each FutureNode to a single reference. As we need a way to wait for the result, this would require a reference to a go channel. However, a channel seems to require about 96 bytes on 64-bit platforms which would regress the memory usage for files that are identical to the parent snapshot. Thus the FutureNode contains an additional reference to the result if it was already available.
The next problem is that to store a Tree in the repository, there are currently up to four items kept in-memory for each directory entry. First there is the FutureNode array, then the Nodes themselves, the serialized JSON of the tree and its encrypted variant while storing these in the repository.
As the FutureNode array is now rather small, it is sufficient to just clear all reference within the FutureNode to allow freeing most memory. The PR introduces a TreeBuilder which incrementally serialized the Tree and thereby ensures that each Node is only kept once in memory: either as Node or its serialized representation.
That way each node is represented in at most two items at a time in memory.
And finally the FutureBlob struct is slimmed down to a single reference to a channel. To reduce the memory usage further, FutureBlobs are collected as soon as possible.
Memory usage measurements:
using go 1.18.2, test data set 500k empty files in a single folder for i in {1..500000} ; do touch abcefghijklt$i ; done
test command: /usr/bin/time -v $restic backup -n ../test/huge

commit
resident set size (KB)
elapsed
GOGC=1 rss (KB)
GOGC=1 elapsed

master
1371208
0:18.72
830552
0:27.79

remove fileinfo
1305528
0:17.88
770456
0:29.20

unify node
1056048
0:17.62
589192
0:34.06

incremental tree
887124
0:17.75
403124
0:34.45

optimize large
921864
0:17.72
402248
0:34.85

The table reports the results of the first test run, I've repeated the tests another two times, which result in the same overall trends.
The memory usage decreases by roughly 35% and a bit over 50% using GOGC=1. The measurements without GOGC=1 are somewhat unstable as the GC can run at different points in time, but the general trend is stable across repetitions. The memory usage increase for optimize large appears to be an outlier as the test case uses no FutureBlobs. The elapsed time increases a bit for GOGC=1 which seems to be caused by the different dataset that has to be scanned during GC. Without GOGC the elapsed time seems to be largely unchanged, although it is also too noisy for any further conclusions.
Was the change previously discussed in an issue or on the forum?
Related to #2446, but the specific changes were not discussed.
Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[x] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

Minor nitpick: TreeBuilder isn't the perfect name for the new type as it doesn't produce trees. TreeJSONMarshaler? TreeJSONer? Otherwise, LGTM.

What about TreeJSONBuilder? I've picked Builder as part of the name in an attempt to convey that it works incrementally.

Sounds good.

Rebased to fix conflicts with #3733.

I've rebased the PR to fix the conflict with #3830 and added a changelog entry


Outdated link on the chunk documentation

Hey there!
In readme.md there's a link:

https://android.googlesource.com/platform/frameworks/base/+/master/include/androidfw/ResourceTypes.h
But it's broken. Perhaps, could you describe the chunk format if you have already done some researches about it and ready to share it?

Thank you! :)

Hey there!
Any info? :)

=( Anatolii, I'd be really glad to discuss it with you :/

@Anatolii ping

@egslava sorry for not replying for quite some time.
Google changed implementation, so now I can't find that easy previous explanation in master branch anymore
I found this version of the file thought https://android.googlesource.com/platform/frameworks/base/+/56a2301/include/androidfw/ResourceTypes.h
New implementation I believe is here
https://android.googlesource.com/platform/frameworks/base/+/master/libs/androidfw/ResourceTypes.cpp
I wonder it with new Android O mine will still work.

I've used your code as a reference to generate my own 9-patch native chunk, everything works fine on my Android 8.1.


vite behavior is optional: "When you use imports, Vite will create a hashed filename"

https://github.com/solidjs/solid-start/blob/996f2b72878cf753e4ac8a4dedbea791643ad74d/docs/core-concepts/static-assets.md?plain=1#L58
this can be disabled for pretty asset paths
example vite.config.js (source) based on https://github.com/vitejs/vite/issues/378
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';

const assetsDir = '';
//const assetsDir = 'assets/';

const outputDefaults = {
  //format: 'iife', // default

  // remove hashes from filenames
  entryFileNames: `${assetsDir}[name].js`,
  chunkFileNames: `${assetsDir}[name].js`,
  assetFileNames: `${assetsDir}[name].[ext]`,
}

export default defineConfig({
  base: "./", // generate relative paths in html
  plugins: [
    solidPlugin(),
  ],
  build: {
    target: 'esnext',
    //polyfillDynamicImport: false,
    //sourcemap: true,
    minify: false, // smaller git diffs
    // example sizes for solidjs app with monaco-editor
    // false: 5396.78 KiB // smaller git diffs
    // 'esbuild': 2027.36 KiB // default
    // 'terser': 2002.37 KiB
    rollupOptions: {
      output: {
        ...outputDefaults,
      }
    },
  },
  esbuild: {
    // keep names of functions an classes
    keepNames: true,
  },
  worker: {
    rollupOptions: {
      output: {
        ...outputDefaults,
      }
    },
  },
});

limitation: files generated by @vitejs/plugin-legacy still have a hash https://github.com/vitejs/vite/issues/378#issuecomment-841779745

Yeah sounds fair. thanks to this issue people will find this workaround. But we don't want to get people too much into the weeds with vite configs. So simply wanted to explain the various use cases in which these techniques might be helpful.


Adopt modern (n2, r5, v5) machines and replace older cost inefficient (n1, r4, v3/v4)

Here the kinds of modern isntance types I think we should use, examplified with three equivalent highmem nodes. The n2, r5, and v5 machines are all documented to be Intel Xeon, third generation Icy Lake processors, and their cost per performance is lower than the older options (n1, r4, v3/v4).

GCP machine families and pricing, n2-highmem-4 / n2-highmem-16 / n2-highmem-64
AWS instance types and pricing, r5.xlarge / r5.4xlarge / r5.16xlarge
Azure instance types and pricing, Standard_E4s_v5 / Standard_E16s_v5 / Standard_E64s_v5

Action points

Transition n1 to n2

[x] Add inline fixme comments next to wherever old nodes are declared in terraform config to upgrade to n2
[x] Await the changes be made alongside other changes made in the infra, such as a k8s upgrade
UPDATE: 2024-10-23, only pangeo-hubs, which is down, still make use of n1 for non-gpu situations

[x] Transition r4 to r5
Transition v3/v4 to v5

[x] Add inline fixme comments next to wherever old nodes are declared in terraform config to upgrade to v5
[ ] Await the changes be made alongside other changes made in the infra, such as a k8s upgrade

Historical context

#2923, closed in favor of this

We have mostly started adopting these, closing.


Advent of code 18

--- Day 18: RAM Run ---
You and The Historians look a lot more pixelated than you remember. You're inside a computer at the North Pole!
Just as you're about to check out your surroundings, a program runs up to you. "This region of memory isn't safe! The User misunderstood what a pushdown automaton is and their algorithm is pushing whole bytes down on top of us! Run!"
The algorithm is fast - it's going to cause a byte to fall into your memory space once every nanosecond! Fortunately, you're faster, and by quickly scanning the algorithm, you create a list of which bytes will fall (your puzzle input) in the order they'll land in your memory space.
Your memory space is a two-dimensional grid with coordinates that range from 0 to 70 both horizontally and vertically. However, for the sake of example, suppose you're on a smaller grid with coordinates that range from 0 to 6 and the following list of incoming byte positions:
5,4
4,2
4,5
3,0
2,1
6,3
2,4
1,5
0,6
3,3
2,6
5,1
1,2
5,5
2,5
6,5
1,4
0,4
6,4
1,1
6,1
1,0
0,5
1,6
2,0
Each byte position is given as an X,Y coordinate, where X is the distance from the left edge of your memory space and Y is the distance from the top edge of your memory space.
You and The Historians are currently in the top left corner of the memory space (at 0,0) and need to reach the exit in the bottom right corner (at 70,70 in your memory space, but at 6,6 in this example). You'll need to simulate the falling bytes to plan out where it will be safe to run; for now, simulate just the first few bytes falling into your memory space.
As bytes fall into your memory space, they make that coordinate corrupted. Corrupted memory coordinates cannot be entered by you or The Historians, so you'll need to plan your route carefully. You also cannot leave the boundaries of the memory space; your only hope is to reach the exit.
In the above example, if you were to draw the memory space after the first 12 bytes have fallen (using . for safe and # for corrupted), it would look like this:
...#...
..#..#.
....#..
...#..#
..#..#.
.#..#..
#.#....
You can take steps up, down, left, or right. After just 12 bytes have corrupted locations in your memory space, the shortest path from the top left corner to the exit would take 22 steps. Here (marked with O) is one such path:
OO.#OOO
.O#OO#O
.OOO#OO
...#OO#
..#OO#.
.#.O#..
#.#OOOO
Simulate the first kilobyte (1024 bytes) falling onto your memory space. Afterward, what is the minimum number of steps needed to reach the exit?
The data is located in aoc18.txt
git-bob try to implement this.

--- Part Two ---
The Historians aren't as used to moving around in this pixelated universe as you are. You're afraid they're not going to be fast enough to make it to the exit before the path is completely blocked.
To determine how fast everyone needs to go, you need to determine the first byte that will cut off the path to the exit.
In the above example, after the byte at 1,1 falls, there is still a path to the exit:
O..#OOO
O##OO#O
O#OO#OO
OOO#OO#
###OO##
.##O###
#.#OOOO
However, after adding the very next byte (at 6,1), there is no longer a path to the exit:
...#...
.##..##
.#..#..
...#..#
###..##
.##.###
#.#....
So, in this example, the coordinates of the first byte that prevents the exit from being reachable are 6,1.
Simulate more of the bytes that are about to corrupt your memory space. What are the coordinates of the first byte that will prevent the exit from being reachable from your starting position? (Provide the answer as two integers separated by a comma with no other characters.)
Again, the data is located in aoc18.txt
git-bob try to implement this.


Version 2.0.0-alpha.9

Landed in https://github.com/metarhia/impress/commit/10b0e1d8b06d9f32e7bd978ed84068a1f4c39ba5, https://github.com/metarhia/impress/commit/34cdb993b8b14e2e73b978a8112dab12ffc16736 and https://github.com/metarhia/impress/commit/bea271f8af09fa717bee1d3b7707c82e15812f27


Please invite me to the Recode-Hive GitHub Community Organization

Name
Pranjal singh
Discord Username (if applicable)
No response
Additional Context
No response

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/recodehive/people


[no-unused-modules] Imports overriding reexports

I noticed that no-unused-modules with unusedExports trips up on this syntax:
a.js:
export function a() {}

// The following line will wrongly error as unused:
export function aa() {}

b.js:
import { a } from './a';

export { aa } from './a';

I've tracked this down to this line in the src, which overwrites any previously detected reexports. The proposed fix is to do something like what is already being done in these lines to keep both reexported entries and imports.
I can give a shot at throwing together a PR if this looks reasonable?

The example is working as intended. Do you mean
- export { aa } from './b';
+ export { aa } from './a';

?

Ah, yes, sorry for the typo. I updated the first post to be correct. 😄 Thanks for noticing!

Yes, that seems like a good fix - the code was probably assuming that duplicate imports were always merged.

Yeah, having a import and a reexport from the same file isn't a super common pattern. 😄
I have some code that works, just need to write a test and I'll send a PR within the next few days.


debugLocale not allowed

When setting "debugLocale" in manifest.json compiler says it's not allowed

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

ID: 33394188-10be-0875-025d-9ffff6618df9
Version Independent ID: ca9875f8-4f6a-21d3-8483-66ced7c2d55c
Content: Localize SharePoint Framework client-side web parts
Content Source: docs/spfx/web-parts/guidance/localize-web-parts.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Not sure why that's in the docs as that's not a valid option on the write-manifest.json file (look at the schema linked in the file for everything that is allowed).
To test, specify the locale to serve upon the local workbench like this:
gulp serve --locale=fr-ca
Will get this fixed in the docs...

@andrewconnell,
AFAIK the locale option on the command line doesn't work either. You now have to use buildSingleLocale in the write-manifest.json. For reference see issue #3248.

@cwdata said:

AFAIK the locale option on the command line doesn't work either

It does work... I tested it before I wrote the above comment.
As for the buildSingleLocale, yes that is an option within the write-manifest.json file if you want to limit the bundle creation to a specific locale. That's useful for packaging, but in testing, it has zero use as it's only used when bundling with the --ship or -p flag.

@andrewconnell So can there be an action item to fix the documentation to remove debugLocale or update the documentation for clarity on the newer versions of SPFx that no longer support it?

@bcameron1231 Correct... this is a doc bug. That's why I flagged this issue as a bug & assigned it to me to get fixed.

Ah, I missed that :)
Thanks!!


Removed 'required' check from validations

#114 + added tests

Should fix #113

@Semigradsky
I have a question.
This pull request's behavior
<TestInput
  name="foo"
  validations="isLength:3" />

//valid
'sup'
//invalid
'hi', 'foo bar', undefined, null, ''

But I think this is expected. What do you think?
// no-required
<TestInput
  name="foo"
  validations="isLength:3" />

//valid
'sup', ''
//invalid
'hi', 'foo bar', undefined, null

// --------
// required
<TestInput
  name="foo"
  validations="isLength:3"
  required />

//valid
'sup'
//invalid
'hi', 'foo bar', undefined, null, ''

//valid
'sup', ''

That is confused me. Length of empty string is not 3 ;)
@sanemat  How about extending the syntax?
<TestInput
  name="foo"
  validations="isLength:0:3" />

and
<TestInput
  name="foo"
  validations={{
    isLength: [0, 3]
  }} />

This should not be difficult to implement)

Length of empty string is not 3 ;)

My question is unclear. Sorry. Length of empty string is not 3.

Hi there,
Thanks for discussing this. It has been a bit difficult identifying required/validation regarding "empty values" as formsy supports any kind of form element, not just traditional inputs.
But we are getting there :-)


Feedback when computation finishes

Description
When running long computations I'm often waiting for it to finish. I'd like to get some feedback when computation finishes.
Suggested solution

Configurable audio feedback
Configurable browser notifications

Alternative
No response
Additional context
No response

colab changes the favicon for running, idle and failed- great visual cue from different tab

Sounds good! Let's do the favicon solution suggested in this thread?

Sure! Favicon alert by default, do we want optional settings to allow audio alerts and browser notifications too?

@wasimsandhu i think those notifications could be valuable.
Probably behind a setting and I think maybe only when the page is not active (there a DOM attribute to check if the document is active/visible)

Picking this up this week 🫡

Closed by https://github.com/marimo-team/marimo/pull/1634


chore: upgrade go dependencies

from: https://github.com/jenkins-x/jx3-versions

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
de4aa375b921686ecfc74ce56b9b891757e12e26
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Add status widget

Added initial widget prototype.
Refinement still needed but the core concepts are very much there. EG: Basic Discord status / Spotify detection
Light

Dark


⚠ OurCraft Network has degraded performance

In fc5717d, OurCraft Network (cloud.k2lin.studio) experienced degraded performance:

HTTP code: 200
Response time: 1312 ms

Resolved: OurCraft Network performance has improved in 2bed2f3 after 11 minutes.


Need documentation for EntityLibPy build

pybind11 is needed, but there's nothing about how to install it.
We need a documentation about that.

Installing git submodules using git submodule update --init --recursive should work.
This needs to be documented somewhere.