Bug report: 'spo list add' and 'spo list set' commands does not work when listExperienceOptions and draftVersionVisibility options are passed

Description
spo list add and spo list set commands does not work when listExperienceOptions and draftVersionVisibility options are passed. Also, they do not consider the default value.
Steps to reproduce
Execute any of below commands:
m365 spo list add --title "PnP List" --webUrl https://contoso.sharepoint.com --draftVersionVisibility Author

m365 spo list add --title "PnP List" --webUrl https://contoso.sharepoint.com --listExperienceOptions NewExperience

m365 spo list set --title "PnP List" --webUrl https://contoso.sharepoint.com --draftVersionVisibility Author

m365 spo list set --title "PnP List" --webUrl https://contoso.sharepoint.com --listExperienceOptions NewExperience

Expected results
The list should be created with spo list add command.
The settings of the specified list should be updated with spo list set command.
Actual results
Error: Cannot convert a primitive value to the expected type 'Edm.Int32'. See the inner exception for more details.
Diagnostics
No response
CLI for Microsoft 365 version
v6.3.0
nodejs version
16.13.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
{
"os": {
"platform": "win32",
"version": "Windows Server 2016 Datacenter",
"release": "10.0.14393"
},
"cliVersion": "6.3.0",
"nodeVersion": "v16.13.0",
"cliAadAppId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
"cliAadAppTenant": "common",
"authMode": "DeviceCode",
"cliEnvironment": "",
"cliConfig": {},
"roles": [],
"scopes": [
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"AuditLog.Read.All",
"Bookings.Read.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Read.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Chat.Read",
"Chat.ReadWrite",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"ExternalConnection.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.Read.Shared",
"Mail.ReadWrite",
"Mail.Send",
"Notes.Read.All",
"Place.Read.All",
"Policy.Read.All",
"RecordsManagement.ReadWrite.All",
"Reports.Read.All",
"SecurityEvents.Read.All",
"ServiceHealth.Read.All",
"ServiceMessage.Read.All",
"ServiceMessageViewpoint.Write",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All",
"profile",
"openid",
"email",
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"AuditLog.Read.All",
"Bookings.Read.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Read.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Chat.Read",
"Chat.ReadWrite",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"ExternalConnection.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.Read.Shared",
"Mail.ReadWrite",
"Mail.Send",
"Notes.Read.All",
"Place.Read.All",
"Policy.Read.All",
"RecordsManagement.ReadWrite.All",
"Reports.Read.All",
"SecurityEvents.Read.All",
"ServiceHealth.Read.All",
"ServiceMessage.Read.All",
"ServiceMessageViewpoint.Write",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All",
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"AuditLog.Read.All",
"Bookings.Read.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Read.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Chat.Read",
"Chat.ReadWrite",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"ExternalConnection.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.Read.Shared",
"Mail.ReadWrite",
"Mail.Send",
"Notes.Read.All",
"Place.Read.All",
"Policy.Read.All",
"RecordsManagement.ReadWrite.All",
"Reports.Read.All",
"SecurityEvents.Read.All",
"ServiceHealth.Read.All",
"ServiceMessage.Read.All",
"ServiceMessageViewpoint.Write",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All"
]
}
Additional Info
No response

If this looks valid, happy to work on it.

Great catch @nanddeepn!
Glad to see that you want to squash this bug.

@nanddeepn I managed to repro this locally.
it seems to be an easy fix as for both options we are giving string but should give the number representing this enum value.
So for example we for listExperienceOptions the fix might look like this
if (options.listExperienceOptions) {
      //requestBody.ListExperienceOptions = options.listExperienceOptions; // current bug
      requestBody.ListExperienceOptions = ListExperience[(options.listExperienceOptions.trim() as keyof typeof ListExperience)];
}

Thank you @Adam-it for making it more simpler for me 😊
You Rock 🤩


Fix #125 travis build

The build was broken because the wrong parameter was passed to resolveValueOf in resolveConcreteType method.
I fixed it and I extracted a method too, to avoid duplication.

Thanks !


try with cache

don't review this yet.
jenkins: perf this.

Current coverage is 87.51% (diff: 100%)

Merging #2638 into master will not change coverage

@@             master      #2638   diff @@
==========================================
  Files           241        241
  Lines         18201      18201
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          15928      15928
  Misses         2010       2010
  Partials        263        263

Powered by Codecov. Last update d9715db...3970972


M06-LAB14: Cmdlet New-AzureStorageContainer incorrect

Contact Details
No response
What happened?
Exercise : 01
Task: 03
Step: 06+07
Description of issue:
task 6
New-AzureStorageContainer should be New-AzStorageContainer
task 7
Set-AzureStorageBlobContent should be Set-AzStorageBlobContent
New-AzureStorageBlobSASToken should be New-AzStorageBlobSASToken
Lab
Lab 14 Azure deployments using Azure Resource Manager templates
Relevant screenshots
No response
Do you want to help us? 👏

[ ] Create a Pull Request by following this project's Contribution Guide

https://github.com/MicrosoftLearning/AZ400-DesigningandImplementingMicrosoftDevOpsSolutions/issues/374

Fixed by #374. Thanks @gillianstravers!


Remove link to non-existent documentation

Hi there,
Was just starting to use this project and found this, which looks to be a link to a document that no longer exists (I can't find any files with "parallelization" in their name).
The contribution guide said to make assets for documentation changes, but I got this error when I tried that:
make: *** No rule to make target `assets'.  Stop.

Please let me know if I've missed anything!

Admittedly, I'm unfamiliar with this codebase, but the CI failure looks unrelated to this change. Please correct me if this breaks something!

@ssaamm CI failure is indeed unrelated to the change. It has to do with not being able to get a private key because Travis protects it in external pull requests for security reasons. No worries, we'll handle it.

#1984 is a superset of this PR


data loss in volume when reconstructing a anisotropic voxel

Hi all,
ConstantImageSourceType::Pointer outVol=ConstantImageSourceType::New();
ConstantImageSourceType::PointType origin_out;
ConstantImageSourceType::SizeType size_out;
ConstantImageSourceType::SpacingType spacing_out;
size_out[0] = ctDIM1;// 512
size_out[1] = ctDIM3;//120
size_out[2] = ctDIM2;//512
spacing_out[0] = 0.4238;
spacing_out[1] = 1;
spacing_out[2] = 0.4238;
origin_out[0] = -0.5*(size_out[0]-1)*(spacing_out[0]);
origin_out[1] = -0.5*(size_out[1]-1)*(spacing_out[1]);
origin_out[2] = -0.5*(size_out[2]-1)*(spacing_out[2]);
outVol->SetOrigin(origin_out);
outVol->SetSpacing(spacing_out);
outVol->SetSize(size_out);
outVol->SetConstant(0);

When i tried to reconstruct a anisotropic voxel there is loss of data in the top & bottom portion of volume and  the same doesnt happen if i try to reconstruct it with equal spacing out in all three direction
could you please help me out to figure out this issue
I have attached two images with same pixelspacing and variable pixelspacing for your reference,

Please address user questions to the mailing list, this is not an issue.


Adding Azure Bastion to Azure Gov Services

Azure Bastion is IL4 in Gov and DoD regions

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

Can we get a status update for this review please?

Hi @marlinspike - The pull request was assigned to the author listed in the article metadata for review and approval.
@jain-garima - Could you review the proposed update to your article?
Note that publishing in this repository is suspended until Tuesday, May 19 (as of yesterday). Merging of PRs that are signed off will resume at 7:00 AM PT Tuesday. Authors can still review and sign off on PRs during this time. Thanks.

Bastion is not yet IL4 in Gov and DoD Regions. it is still under review and we will update status once it achieves FedRAMP High in Gov.

#please-close


cur.execute("insert into {} SELECT * FROM{}") python, sql

Hi,
I am trying to run cur.execute("insert into {} SELECT * FROM{}")
but it is not insert any data
do you now how should I fix it?
thanks

"insert into {} SELECT * FROM{}" doesn't appear to be correct SQL, is this meant to expand into something?
It seems like the {} need to be substituted with something

Also, please post more information about your environment.

I'm closing due to lack of response.  Please reopen if you have more information.  Thanks.


Polymorphism Support

Swagger Spec - Polymorphism
https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#models-with-polymorphism-support
Are there plans to support this at the configuration level?
Or is there currently support for:
public class AnimalController : ApiController
{
   public IHttpActionResult Post(Animal animal)
   {
      return Ok();
   }
}

How can I document that they can post a Dog, Cat, or Duck(any subtype)? I don't necessarily need the "allOf" property from the spec but I would like to add the subtypes to the definitions.
Thank you for any help in advance.

Really what you need is support for "oneOf", so you're animal schema could be described as follows:
{
    "oneOf": [
        { "$ref": "Dog" },
        { "$ref": "Cat" },
        { "$ref": "Duck" }
    ]
}

However, this is NOT supported in Swagger - https://github.com/swagger-api/swagger-ui/issues/1056
They have their practical reasons. I, on the other hand, "partly" agree with the call from a design perspective. Why should a consumer need to worry about which sub-classes are valid when the operation clearly states that "any" Animal is valid. If there is something in the semantics of the operation concerned about the specifics of the animal, then maybe this should be expressed through a separate operation (see the Liskov Substitution Principle for more on this).
[Route("/api/dogs")]
public IHttpActionResult Post(Dog dog)

Another way of looking at it ... in C#, you can't instantiate an abstract class, you have to call the specific constructor of a subclass. It's the exact same principle, at the code level it's the constructor, at a REST API level - it's the collection URI you're posting to.
So, after all that ranting :), I can't think of a good way to answer your question without rethinking your API design. Sorry if this isn't very helpful.

We are currently using Swashbuckle to generate the json document at http://localhost:54321/swagger/docs/v1 to see diffs in our interface as we develop it. We just keep the file in source control and compare diffs. It has been very helpful in seeing precise differences that we have introduced with code changes.
We have a WebApi REST endpoint that consumes something like the following pseudocode:
class HolderClass
{
int TopLevelField1;
string TopLevelField2;
decimal TopLevelFieldN;
PolymorphicBase poly;
}
class PolymorphicBase
{
int Type;
}
class Child1 : PolymorphicBase
{
string Child1Field1;
}
class Child2 : PolymorphicBase
{
string Child2Field1;
int Child2Field2;
}
The way that Swashbuckle currently generates a Swagger spec file is that it only shows info about HolderClass and about PolymorphicBase. Nowhere does it acknowledge the child classes.
Is there anything we can do to make Swashbuckle output the child classes in the json spec file? We don't need anything to work beyond that. We don't even need to know that they inherit from the parent (though it would be nice to have).
Can we accomplish this without a lot of work and without forking the Swashbuckle repository?

According to this discussion in the Swagger 2.0 specification the suggested workaround is using the polymorphism specification. Are there any plans to support this in V5.0+?


Proposal to automatically strip get_ or set_ prefixes from struct impl

Current workaround for defining custom getter/setter implementations on structs (add the name frb attribute):
use surrealdb::sql::{Thing, thing};

#[derive(Serialize, Deserialize, Debug, Clone)]
#[frb(opaque)]
pub struct ShardModel {
    id: Thing,
    pub sequence: u16,
    pub name: String,
    pub description: Option<String>,
    pub collections: Option<Vec<CollectionModel>>,
    pub notes: Option<Vec<NoteModel>>,
    pub tasks: Option<Vec<TaskModel>>,
}
impl ShardModel {
    #[frb(sync, getter)]
    pub fn id (&self) -> String {
        self.id.to_raw()
    }
    #[frb(sync, setter, name="id")]
    pub fn set_id (&mut self, id: &str) {
        self.id = thing(id).unwrap();
    }
}

Purposed syntax: strip get_ if present on a fn with the getter attribute, or set_ from a fn with the setter attribute. This is to avoid naming conflicts when defining both a setter and getter, while maintaining the same getting/setting variable within the generated dart class.
Example:
use surrealdb::sql::{Thing, thing};

#[derive(Serialize, Deserialize, Debug, Clone)]
#[frb(opaque)]
pub struct ShardModel {
    id: Thing,
    pub sequence: u16,
    pub name: String,
    pub description: Option<String>,
    pub collections: Option<Vec<CollectionModel>>,
    pub notes: Option<Vec<NoteModel>>,
    pub tasks: Option<Vec<TaskModel>>,
}
impl ShardModel {
    #[frb(sync, getter)]
    // `get_` is automatically detected and stripped, resulting in the getter `id`
    pub fn get_id (&self) -> String {
        self.id.to_raw()
    }
    #[frb(sync, setter)]
    // `set_` is automatically detected and stripped, resulting in the setter `id`
    pub fn set_id (&mut self, id: &str) {
        self.id = thing(id).unwrap();
    }
}

Originally posted by @cabaucom376 in https://github.com/fzyzcjy/flutter_rust_bridge/issues/1975#issuecomment-2137949385

Totally agree, feel free to PR, alternatively I will work on it in the next batch!

$0.02 Controls for the way that FRB translates things could be encoded explicitly in #[frb...] annotations, without having additional codegen transformation rules that need to be learned/documented and may introduce additional edge cases.

@aran That is reasonable in some scenarios! In some other scenarios, we do need raw information to make decisions, thus the current approach is quite suitable.

@aran Maybe I'm not understanding but isn't that already a thing with #[frb(name='')]? This proposal is to automate getter/setter impl fn's name stripping of get_ for a getter and set_ for a setter, as the most common use case for the getter/setter attributes would be to define a custom transformation and reuse the same name as the struct field to adhere with common dart class structure. With a Rust impl you cant define fn's with the same name, therefore the stripping is just a nice quality of life feature so you don't have to manually override the name attribute as its implied with the getter/setter attributes.
I agree this would probably result in some extra documentation, but I would argue its almost a natural decision to add get_ or set_ before a fn once you realize you cant use the same name for both getter/setter. This is exactly the path I had already taken before @fzyzcjy notified me of the existence of the name attribute.

Btw, I am working on https://github.com/fzyzcjy/flutter_rust_bridge/issues/1903, thus would like to work on this simple PR after that one is done - that one is quite big and causes a lot of change in internal code.

@cabaucom376 Totally agree!
I guess @aran may be discussing something else or more general, which may not apply here, but the general logic is reasonable in some other scenarios, though has some limitations as well (like everything in the world).

I wish I could make a PR for this for my first open source contribution, but when I pulled the repository and started sifting through the code, being a Rust newbie, I got drastically lost 🤣. I'm very used to clicking around Dart code.

No worries, I can provide some hints!
The core logic happens here: https://github.com/fzyzcjy/flutter_rust_bridge/blob/96edf2432175bf3e2c270e3387036aafe98ee6b1/frb_codegen/src/library/codegen/parser/mir/function_parser/mod.rs#L65
But I would like to provide hints after the external library feature is done (I do hope within several days but cannot guarantee) if you are not urgent, because the detailed code here will possibly change a bit, thus if your PR is not super fast (i.e. begin and finish within a day) you will face merge conflicts.

Ok the codebase is roughly stable now. Here are some hints:
Here, https://github.com/fzyzcjy/flutter_rust_bridge/blob/8dbd4c242955066df30f53ee421e89556383461b/frb_codegen/src/library/codegen/parser/mir/parser/function/real/mod.rs#L172, we construct a MirFunc, i.e. information for a function.
The thing interesting to us is the dart_name and accessor. If we set dart_name to be the stripped name when accessor is getter/setter, then we are done!

@fzyzcjy honestly I'm not sure my solution is working, I understand the goal and concept well with your helpful hints. Unfortunately I cant figure out the new code generation structure and have spent way too long on this side journey I have to get back to my main project. Thank you for the hints again and giving me a shot :)

It's OK! Then I will PR for this, no worries

On that note, a canonical Rust API will not have getters prefixed with get_ to start with.
See Getter names follow Rust convention (C-GETTER).

That looks reasonable! But anyway, with and without prefix are both supported.


update to new create-react-app

TypeError: Cannot read property 'use' of undefined
    at createRule (D:\coding\front\reactive-front\node_modules\react-app-rewire-less-modules\index.js:28:25)
    at D:\coding\front\reactive-front\node_modules\react-app-rewire-less-modules\index.js:47:29
    at Object.override [as webpack] (D:\coding\front\reactive-front\config-overrides.js:8:14)

package.json
{   "name": "reactive-front",   "version": "0.1.0",   "private": true,   "dependencies": {     "antd": "^3.1.6",     "react": "^16.2.0",     "react-dom": "^16.2.0",     "react-scripts": "1.1.0"   },   "scripts": {     "start": "react-app-rewired start",     "build": "react-app-rewired build",     "test": "react-app-rewired test --env=jsdom",     "eject": "react-scripts eject"   },   "devDependencies": {     "babel-plugin-import": "^1.6.3",     "react-app-rewire-less": "^2.1.0",     "react-app-rewire-less-modules": "^1.2.0",     "react-app-rewired": "^1.4.1"   } }

please help to fix this issue

I have a similar issue with the same error.
My less package is version 3.0.4
My less-loader version is 4.1.0
I also have the following:
"react-app-rewire-less-modules": "^1.3.0",
"react-app-rewired": "^1.5.2",
Please assist


Manual installation of tow-boot via OTG port on Radxa Rock Pi 4

I'm looking for a way to install tow-boot via OTG port (without booting via mSD card into thegraphical installer)
On a Radxa Rock Pi 4plus the graphical installer does not react on keyboard input. So an installation is not possible. Furthermore, with a NVMe board installed, the connection cable blocks access to the mSD connector., So you can't boot from nSD anymore.
So the only way to install or to update is using the OTG USB port. And the question is, how or where to get the spi software to transfer and which Offset to use.
Any info appreciated.

I had to do a manual install, the uboot version on emmc "lost" the emmc after kernel, dtb load so would ONLY boot SD
(using emmc uboot and then unable to erase it)  lsblk showed no emmc..
install mtd-utils, nandtest is a good but slow way to erase spi,,, -k to keep data
Some advice is to write to /dev/mtd0, this likely is wrong, if lsblk shows mtdblock0 this is correct
something like ... dd if=Tow-Boot.spi.bin of=/dev/mtdblock0 status=progress ; sync
You can use balena-etcher, in 2nd screen check show system drives, it writes (for me) to mtdblock0
Tow-Boot.spi.bin is in the binary subdirectory, about 1.5MB
If you have serial spi can be flashed from uboot serial terminal, the commands have strange syntax
which I barely know

--more--
If you want to be sure,, do a nandump of the spi of the EXACT length of Tow-Boot.spi.bin to a tmp file,
compare the md5sum of the 2 files


Updating documentation of Quota APIs. Removing Summary field, as it had repeated statements from description. Summary and Descriptions are merged together in Doc, which doesn't look nice.

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

As you marked in draft, I labeled as NotReadyForReview. Let me know if it is ready for review.

Updating descriptions for better doc. Please approve it.

Summary and Descriptions are merged together in Doc, which doesn't look nice. removing summary field.

The Doc team is waiting for swagger updates, can we a quick approval.
Thanks.

@akning-ms (Arthur Ning) Can we get quick approval. Just doc updates. The documentation team is waiting for the changes. Thanks.


React upgrade to 1.6.9

I believe I renamed all of the deprecated life cycles. You might see some warnings in the console, thou.
Feel free to pull the branch and test. I guess it is working as it should.
Please let me know if anything breaks and I'll fix it asap.

putting this on integration branch to merge up


Treat examples like a fixture

And write tests for it.
This is beneficial to find regression / developing a new feature.
Right now we only have spec for the units but not for the use cases

To avoid issue like https://github.com/asfktz/autodll-webpack-plugin/issues/21

I'm not familiar with fixtures, but it sounds exactly like what I was looking for.
Can you please tell me more about it?

Taken from here

A test fixture is a fixed state of a set of objects used as a baseline for running tests. The purpose of a test fixture is to ensure that there is a well known and fixed environment in which tests are run so that results are repeatable.

I'm also a new to this testing world (haven't yet set it up from scratch), so I hope I don't use the wrong terms here 😅  Basically it's a file/set of file that we run our test for, to test multiple real world scenario.

Looks like something I need to dive into 😄
Will do.

I think this looks more like an e2e test, I don't know if we should use examples as fixtures or written it separately. The test looks like this https://github.com/viankakrisna/autodll-webpack-plugin/blob/1d5979f96a556764fd862410110814beb2e7643f/specs/features.spec.js

Possible e2e cases to be added:
Integration with other webpack plugins:

SWPrecache
ManifestPlugin
ExtractTextPlugin
This is what commonly used plugins, at least, it used in CRA. If we can write tests and manage compatibility with it, surely it would boost the confidence level to be used in it :)

I started to work on it.
This article looks interesting:  https://blog.iansinnott.com/testing-webpack-plugins/

Great! thanks for sharing it 👍

Of Course (:

Done! Thanks for convincing me to add it @viankakrisna, it turns out to be very useful.


Remove explicit simd arithmetic kernels except for division/modulo

Which issue does this PR close?

Removes explicit simd arithmetic kernels, except for division/modulo, as compiler autovectorization actually generates better code. Also adds a new divide_unchecked kernel for floating point division, which does not need to return an error for division by zero. The arithmetic benchmarks are changed to use a bigger batch size because otherwise it measured mostly allocation and branch overhead. Benchmark results on my laptop
Closes #1182.
Rationale for this change
Simplifies the code and increases the performance up to 2x when using the simd feature of this crate. rustc and llvm are quite good at generating optimized simd code.
What changes are included in this PR?

Are there any user-facing changes?
No. ArrowFloatNumericType::pow is now unused though and could be removed. The trait should be kept since some kernels might make only sense on floating point data.

Codecov Report

Merging #1221 (551be27) into master (0377aae) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1221      +/-   ##
==========================================
- Coverage   82.71%   82.70%   -0.01%
==========================================
  Files         175      175
  Lines       51711    51711
==========================================
- Hits        42771    42770       -1
- Misses       8940     8941       +1

Impacted Files
Coverage Δ

arrow/src/buffer/immutable.rs
98.92% <ø> (ø)

arrow/src/compute/kernels/arithmetic.rs
90.86% <ø> (ø)

arrow/src/datatypes/datatype.rs
66.38% <0.00%> (-0.43%)
:arrow_down:

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (-0.23%)
:arrow_down:

arrow/src/array/transform/mod.rs
85.69% <0.00%> (+0.13%)
:arrow_up:

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 0377aae...551be27. Read the comment docs.

Hi @alamb, the benchmark results and my analysis are in the issue. For the removed kernels, the auto-vectorized version was about 40% faster on my laptop. The command was
RUSTFLAGS="-C target-cpu=skylake" cargo +nightly bench --features simd --bench arithmetic_kernels

(and the same without the simd feature). Results on a server class machine and with target-cpu=skx should be even better.

Thanks @jhorstmann  -- this is a really nice find and piece of work


Missing preparing step for installation

According to https://phoscon.de/de/raspbee/install, one should create the local directory for the later mapped volumes first.
In your manual this step is missing.
I suggest to add it, as i had issues without it:
Before running the docker command (and so mapping the volumes), you have to create the working directories:
 mkdir -p ~/.local/share/dresden-elektronik/deCONZ

Ah outdated step... saw my issue.


 This PR
switches them to using the tinytest library, which has
no dependencies and is much smaller.

Looks like tinytest doesn't exist on old MRAN.

@yuvipanda do you know why build succeeded, but verify failed? That means that the install is failing to install the package, but the install.R step in docker is being treated as a success.

@minrk I'm guessing the install.R failed, but was / is being ignored, while the library call trying to load it actually fails.

Does seem to save at least 10 minutes total. 🎉

Thanks a lot, @minrk


Draggable maxSimultaneousDrags should work with multiple draggables

Steps to Reproduce

Run flutter create bug.
Use the following widget.
Start dragging around with multiple fingers

class TestWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return ListView.builder(
      itemBuilder: (context, index) => Draggable(
        maxSimultaneousDrags: 1,
        child: Text(index.toString()),
        data: index,
        feedback: SizedBox.shrink(),
      ),
    );
  }
}

Add a draggable to every item in a list and set maxSimultaneousDrags to 1
Expected results:
One can only drag one of them at the same time
Actual results:
You can drag as many as you can grab with your fingers

Logs

[✓] Flutter (Channel master, 1.22.0-2.0.pre.36, on Mac OS X 10.15.4 19E287, locale en-NL)
    • Flutter version 1.22.0-2.0.pre.36 at /usr/local/flutter-master
    • Framework revision d30e36ba8c (5 days ago), 2020-08-21 22:36:03 -0400
    • Engine revision d495da20d0
    • Dart version 2.10.0 (build 2.10.0-49.0.dev)

This can be reproduced on every version of flutter

Hi @Kavantix,
Can you provide flutter doctor -v and a minimal complete reproducible code sample that shows the issue.
Thanks.

@darshankawar edited the main post

Issue replicable on latest Stable (1.20.2). Able to drag multiple list items.
64707.mp4.zip

flutter doctor -v
Flutter 1.20.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision bbfbf1770c (15 hours ago) • 2020-08-13 08:33:09 -0700
Engine • revision 9d5b21729f
Tools • Dart 2.9.1

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.15.2 19C57, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

I can no longer reproduce this issue on the latest Master (3.6.0-3.0.pre.54) as of writing this. Therefore, I am closing this issue. If you disagree, please comment with a complete and minimal, reproducible example and I can reopen it. Thank you.


Opprotunistically use dense iteration for  archetypal iteration.

Objective

currently, bevy employs sparse iteration if any of the target components in the query are stored in a sparse set. it may lead to increased cache misses in some cases, potentially impacting performance.
partial fixes #12381

Solution

use dense iteration when an archetype and its table have the same entity count.
to avoid introducing complicate unsafe noise, this pr only implement for for_each  style iteration.
added a benchmark to test performance for hybrid iteration.

Performance

nearly 2x win in specific scenarios, and no performance degradation in other test cases.

this por also unblocks some compiler auto SIMD ,consider following code
pub fn new() -> Self {
        let mut world = World::new();

        for _ in 0..10000 {
            world.spawn((TableData(0.0), SparseData(0.0))).id();
        }

        let query = world.query_filtered::<&mut TableData, With<SparseData>>();
        Self(world, query)
    }

    #[inline(never)]
    pub fn run(&mut self) {
        self.1
            .iter_mut(&mut self.0)
            .for_each(|mut v1| v1.0 += 1.)
}

Does this fully fix #2144? I suppose not, since it only optimizes for_each.

yeah , Optimizing for-style iteration is much more complicated because it could significantly degrade performance due to introducing branch in the hot path.

Sounds good. Let's leave that to follow-up then.

Could you explain why this code is faster?
        for _ in 0..10000 {
            world.spawn((TableData(0.0), SparseData(0.0))).id();
        }

        let query = world.query_filtered::<&mut TableData, With<SparseData>>();
        Self(world, query)

In this case the entities should be iterated in the same order before/after your change, no?

In this case the entities should be iterated in the same order before/after your change, no?
it would theoretically have the same cache locality. however, dense iteration could imply to the compiler that we are iterating over continuous memory which could enable automatic SIMD optimizations , This could potentially make the operation nearly 4 times faster.

Thank you to everyone involved with the authoring or reviewing of this PR! This work is relatively important and needs release notes! Head over to https://github.com/bevyengine/bevy-website/issues/1667 if you'd like to help out.


A AndroidPullToRefreshController was used after being disposed

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Lorenzo Pichilli Thanks for maintaining the InAppWebView!
Environment

Technology
Version

Flutter version
3.19.3

Plugin version
6.0.0

Android version
33.0.1

iOS version
17.4.1

macOS version
-

Xcode version
15.0

Google Chrome version
-

Device information:  reproducible on emulators and on  real devices
Description
I am not 100% sure if this is a bug or intended. I think it is a bug.
When I reload the web view fast multiple times. The AndroidInAppWebViewWidget wants to dispose the AndroidPullToRefreshController but the controller was already disposed.
For the given example, there should be a timeout or something similar on the floatingActionButton but in general, I think that this should be the responsibility of the plugin to check if the pulltorefreshcontroller was already disposed, or do I oversee something?
https://github.com/pichillilorenzo/flutter_inappwebview/issues/1997#issuecomment-1921084524
In this comment Lorenzo Pichilli stated that the InAppWebViewController is null if it was disposed. Shouldn't the same apply to the RefreshController?
From in_app_webview.dart
params.pullToRefreshController?.dispose(isKeepAlive: isKeepAlive);
Expected behavior:
The plugin should check if PulltoRefreshController was disposed.
Current behavior:
The implementing developer has to check if the PullToRefreshController has been disposed
Steps to reproduce

Run code
Click fast multiple times on the floatingActionButton.
Error occurs.

import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(home: MyHomePage());
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override
State createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
UniqueKey key = UniqueKey();
@override
Widget build(BuildContext context) {
final pullToRefreshController = PullToRefreshController();
return Scaffold(
  body: Column(
    children: [
      Expanded(
        child: InAppWebView(
          key: key,
          pullToRefreshController: pullToRefreshController,
          onLoadStop: (_, __) {
            pullToRefreshController.endRefreshing();
          },
          initialUrlRequest:
              URLRequest(url: WebUri.uri(Uri.parse("https://flutter.dev"))),
        ),
      )
    ],
  ),
  floatingActionButton: FloatingActionButton(
    onPressed: () {
      setState(() {
        key = UniqueKey();
      });
    },
    child: const Icon(Icons.add),
  ),
);

}
}
Images

Stacktrace/Logcat
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown while finalizing the widget tree:
A AndroidPullToRefreshController was used after being disposed.
Once the AndroidPullToRefreshController has been disposed, it can no longer be used.
When the exception was thrown, this was the stack:
#0      ChannelController.debugAssertNotDisposed. (package:flutter_inappwebview_platform_interface/src/util.dart:595:9)
util.dart:595
#1      ChannelController.debugAssertNotDisposed (package:flutter_inappwebview_platform_interface/src/util.dart:602:6)
util.dart:602
#2      InternalChannelController.channel (package:flutter_inappwebview_platform_interface/src/util.dart:611:30)
util.dart:611
#3      InternalChannelController.disposeChannel (package:flutter_inappwebview_platform_interface/src/util.dart:641:7)
util.dart:641
#4      AndroidPullToRefreshController.dispose (package:flutter_inappwebview_android/src/pull_to_refresh/pull_to_refresh_controller.dart:152:5)
pull_to_refresh_controller.dart:152
#5      AndroidInAppWebViewWidget.dispose (package:flutter_inappwebview_android/src/in_app_webview/in_app_webview.dart:467:37)
in_app_webview.dart:467
#6      _InAppWebViewState.dispose (package:flutter_inappwebview/src/in_app_webview/in_app_webview.dart:673:21)
in_app_webview.dart:673
#7      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:5689:11)
framework.dart:5689
#8      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:2076:13)
framework.dart:2076

Is there any update on this ? I'm getting the same issue since 6.0.0 upgrade, does someone have a way to prevent this error ?

Same issue. This appears to be a leftover debugging artifact that could be removed from the release version. If the developer manually disposes the webview and its controller, eventually the library internally calls its own dispose() method, which calls debugAssertNotDisposed(). This method throws an error below when the controller has already been disposed. Maybe the controller could be checked for disposal further up the stack rather than in this assert.
In the meantime, you can avoid this error by manually dispose()ing your webview, but NOT disposing the controller. But I think I'd rather dispose them both myself rather than just assume it will happen automatically.
  static bool debugAssertNotDisposed(ChannelController controller) {
    assert(() {
      if (controller.disposed) {
        throw FlutterError(
          'A ${controller.runtimeType} was used after being disposed.\n'
          'Once the ${controller.runtimeType} has been disposed, it '
          'can no longer be used.',
        );
      }
      return true;
    }());
    return true;
  }

E/flutter ( 4982): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: A AndroidInAppWebViewController was used after being disposed.
E/flutter ( 4982): Once the AndroidInAppWebViewController has been disposed, it can no longer be used.
E/flutter ( 4982): #0      ChannelController.debugAssertNotDisposed.<anonymous closure> (package:flutter_inappwebview_platform_interface/src/util.dart:595:9)
E/flutter ( 4982): #1      ChannelController.debugAssertNotDisposed (package:flutter_inappwebview_platform_interface/src/util.dart:602:6)
E/flutter ( 4982): #2      InternalChannelController.channel (package:flutter_inappwebview_platform_interface/src/util.dart:611:30)
E/flutter ( 4982): #3      InternalChannelController.disposeChannel (package:flutter_inappwebview_platform_interface/src/util.dart:641:7)
E/flutter ( 4982): #4      AndroidInAppWebViewController.dispose (package:flutter_inappwebview_android/src/in_app_webview/in_app_webview_controller.dart:2756:5)
E/flutter ( 4982): #5      AndroidHeadlessInAppWebView.dispose (package:flutter_inappwebview_android/src/in_app_webview/headless_in_app_webview.dart:427:25)

Same issue. This appears to be a leftover debugging artifact that could be removed from the release version. If the developer manually disposes the webview and its controller, eventually the library internally calls its own dispose() method, which calls debugAssertNotDisposed(). This method throws an error below when the controller has already been disposed. Maybe the controller could be checked for disposal further up the stack rather than in this assert.
In the meantime, you can avoid this error by manually dispose()ing your webview, but NOT disposing the controller. But I think I'd rather dispose them both myself rather than just assume it will happen automatically.
  static bool debugAssertNotDisposed(ChannelController controller) {
    assert(() {
      if (controller.disposed) {
        throw FlutterError(
          'A ${controller.runtimeType} was used after being disposed.\n'
          'Once the ${controller.runtimeType} has been disposed, it '
          'can no longer be used.',
        );
      }
      return true;
    }());
    return true;
  }

E/flutter ( 4982): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: A AndroidInAppWebViewController was used after being disposed.
E/flutter ( 4982): Once the AndroidInAppWebViewController has been disposed, it can no longer be used.
E/flutter ( 4982): #0      ChannelController.debugAssertNotDisposed.<anonymous closure> (package:flutter_inappwebview_platform_interface/src/util.dart:595:9)
E/flutter ( 4982): #1      ChannelController.debugAssertNotDisposed (package:flutter_inappwebview_platform_interface/src/util.dart:602:6)
E/flutter ( 4982): #2      InternalChannelController.channel (package:flutter_inappwebview_platform_interface/src/util.dart:611:30)
E/flutter ( 4982): #3      InternalChannelController.disposeChannel (package:flutter_inappwebview_platform_interface/src/util.dart:641:7)
E/flutter ( 4982): #4      AndroidInAppWebViewController.dispose (package:flutter_inappwebview_android/src/in_app_webview/in_app_webview_controller.dart:2756:5)
E/flutter ( 4982): #5      AndroidHeadlessInAppWebView.dispose (package:flutter_inappwebview_android/src/in_app_webview/headless_in_app_webview.dart:427:25)

How can you dispose the webview instead of the controller?


Derek/viz axes

functionalizes adding elevation and azimuth to a NavData object
brackets units in visualization axis labels

Codecov Report

Merging #84 (af07e68) into main (774c387) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
+ Coverage   94.76%   94.78%   +0.01%
==========================================
  Files          14       14
  Lines        2198     2206       +8
==========================================
+ Hits         2083     2091       +8
  Misses        115      115

Impacted Files
Coverage Δ

gnss_lib_py/utils/coordinates.py
100.00% <100.00%> (ø)

gnss_lib_py/utils/visualizations.py
100.00% <100.00%> (ø)

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


ROMFS: posix rcS remove all airframe specific defaults

It doesn't make sense to apply these to all models.

Next we should do a pass and tune all the models we care about.


[Feature Request] Custom "No Mail Today" Image

Is your feature request related to a problem? Please describe.
I like to use a custom image in place of /config/custom_components/mail_and_packages/mail_none.gif which of course gets replaced with every HA Mail & Packages update.
Describe the solution you'd like
I'd really like an option in the integration to supply a custom "no mail today" image to be used in place of the default.
Describe alternatives you've considered
My current solution is to replace the mail_none.gif with every HA Mail & Packages update.

I think this is something we could do.

Not sure the capabilities of the settings input. Maybe a toggle switch to turn it on and then shows the text input field for the image path. I'm thinking some language in the option settings would be good in either sub section or a third step.
I'll draft up language.

The new configuration options:

@D34DC3N73R if you'd like to test give 0.3.3-b0 a try

@firstof9 I've got the beta installed, just waiting for a day without mail.

@firstof9  I'm having some trouble with this. I reconfigured the integration after installing the beta, and saw the new custom "no image" option (which I would rename "Use custom 'no mail' image"). I set the path in the third step. Which also btw didn't seem to like the /local path. Instead, I set it to /config/www/images/mail_and_packages/no-mail.gif. It then gives me a 'success' message. However, when going back into 'configure' directly after this, the "Use custom 'no image' file?" option is unchecked. It doesn't seem to be saving the configuration for me. The default no mail image is used in the front end.

I'll check it out.

new beta on the way

Which also btw didn't seem to like the /local path.

correct /local isn't valid, it's recommended to use a path not in www to store the image ie: images/your_custom_file.gif

0.3.3-b2 released

I've installed the new beta, 'configured', and was able to save the new 'no image' path images/no-mail.gif (which persists when configuring a second time). However, the default image is still used with custom:mail-and-packages-card. I'm guessing this is an issue with the card rather than the integration.
      - type: 'custom:mail-and-packages-card'
        name: Mail Summary
        updated: sensor.mail_updated
        details: true
        image: true
        deliveries_message: sensor.mail_deliveries_message
        packages_delivered: sensor.mail_packages_delivered
        packages_in_transit: sensor.mail_packages_in_transit
        fedex_packages: sensor.mail_fedex_packages
        ups_packages: sensor.mail_ups_packages
        usps_packages: sensor.mail_usps_packages
        amazon_packages: sensor.mail_amazon_packages
        usps_mail: sensor.mail_usps_mail
        camera: false
        gif_sensor: sensor.mail_image_url
        camera_entity: camera.mail_usps

Check the camera entity to see if your custom image is displaying, if it is, I can duplicate the code to the sensor the card uses.

camera.mail_usps_camera is still showing the old default image

Can you confirm the file_path attribute for camera.mail_usps_camera ?

Give b3 a shot.

Got some weird issues I'm trying to figure out. If I immediately look at the entities after installing, usps camera does show the custom image.

but even refreshing the entities page makes the camera revert to the old default image.

I've deleted the integration, uninstalled it from HACs, restarted, added it to HACs, restarted, and added the integration and the behavior is the same. If I reload the integration, the camera does show the new image, until a page refresh. The amazon camera also displays the new custom image after reloading the integration. sensor.mail_image_url remains the old default image even after reloading the integration. In fact, just viewing the sensor.mail_image_url path in a separate tab will make the camera revert to the old default image.
After reloading the integration

refreshing the developer-tools/state page

Try clearing your browser cache, the custom image is supposed to be copied to the one with the random filename. If you enable the debugging and check the log, you'll see it saying that it's copying images/no-mail.gif to the random file name.
The initial image is a placeholder to initialize the camera.

I have cache disabled in chrome dev tools. Also same behavior in incognito mode as well as a different browser (edge).
I do see this with debug logging (I changed the file name to get updated logs only)
$ docker logs home-assistant 2>&1 | grep "no_mail.gif"
2021-06-16 19:00:39 DEBUG (SyncWorker_10) [custom_components.mail_and_packages.helpers] Copying images/no_mail.gif to /config/custom_components/mail_and_packages/images/62d9f080-d317-4a90-9096-34ee4761ff16.gif

then a lot of entries like this
2021-06-16 19:01:22 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140223332861744] Sending {"id": 25, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "camera.mail_usps_camera", "old_state": {"entity_id": "camera.mail_usps_camera", "state": "idle", "attributes": {"access_token": "be3f4b090877fb3fe36ef79e2b4f835e37c85f8d2fa08dd38c55200a4d8b49b4", "file_path": "images/no_mail.gif", "host": "imap.gmail.com", "friendly_name": "Mail USPS Camera", "entity_picture": "/api/camera_proxy/camera.mail_usps_camera?token=be3f4b090877fb3fe36ef79e2b4f835e37c85f8d2fa08dd38c55200a4d8b49b4", "supported_features": 0}, "last_changed": "2021-06-17T02:00:52.344823+00:00", "last_updated": "2021-06-17T02:00:52.344823+00:00", "context": {"id": "c260f91064cb6274b58bcd8d8e741f4f", "parent_id": null, "user_id": null}}, "new_state": {"entity_id": "camera.mail_usps_camera", "state": "idle", "attributes": {"access_token": "be3f4b090877fb3fe36ef79e2b4f835e37c85f8d2fa08dd38c55200a4d8b49b4", "file_path": "/config/custom_components/mail_and_packages/images/62d9f080-d317-4a90-9096-34ee4761ff16.gif", "host": "imap.gmail.com", "friendly_name": "Mail USPS Camera", "entity_picture": "/api/camera_proxy/camera.mail_usps_camera?token=be3f4b090877fb3fe36ef79e2b4f835e37c85f8d2fa08dd38c55200a4d8b49b4", "supported_features": 0}, "last_changed": "2021-06-17T02:00:52.344823+00:00", "last_updated": "2021-06-17T02:01:22.368608+00:00", "context": {"id": "ab465ecb8d568192762a16c4bd25ced9", "parent_id": null, "user_id": null}}}, "origin": "LOCAL", "time_fired": "2021-06-17T02:01:22.368608+00:00", "context": {"id": "ab465ecb8d568192762a16c4bd25ced9", "parent_id": null, "user_id": null}}}

however, when I actually look at /config/custom_components/mail_and_packages/images/62d9f080-d317-4a90-9096-34ee4761ff16.gif it's the old default image.

sensor.mail_image_url never seems to be getting the updated image. it's also stored in a different location /local/mail_and_packages/62d9f080-d317-4a90-9096-34ee4761ff16.gif

Yup still poking it to see what's going on, I'll post an update once I have it

I've found where the error is, missed a spot, I'll drop another beta shortly.

beta4 should have it fixed now

I have it installed. waiting for another day without mail 👍

You should see it in the morning before the USPS email comes in. 👍

v0.3.3-b4 is working great 👍


Allow Cesium integrator to override tile traversal

To use Cesium we will need Tileset::update to be abstracted to allow custom implementations of tile traversal, loading prioritization and frustum-based rendering selection. Is there anything in the Tileset code that makes that abstraction not work?

Can you elaborate on how and why you want to override those things?
One option is to not use the Cesium3DTilesSelection library at all, but instead use the Cesium3DTilesReader for low-level access to 3D Tiles. But that will depend on your exact use case, so I'm quite curious what it is.

Use case is mobile VR where we need to maintain a strict triangle count cap (to maintain framerate), balance between holes/LOD/pops, and deal with head turning, etc. It looks like cesium-unity is dependent on Cesium3DTilesSelection so I was leaning towards customizing Tileset::update somehow.

Those all sound like excellent goals, but not straightforward problems to solve at all. Do you have ideas for how to improve the algorithm in those areas? Because I'd be inclined to incorporate improvements into the existing algorithm (as options, where appropriate) rather than abstract updateView. In particular, without knowing what abstractions would be most useful, we risk adding overhead with our abstractions while still not enabling the improvements you're seeking.

Closing this issue due to inactivity.


Move auth to before the mbaas routes

Motivations
This change is to protect the /mbaas routes with the session validation.
This ensures that the sync requests are all validated on the cloud.

@paolobueno Time for a PR?


LateInitializationError: Field '_headingStreamSubscription' has not been initialized.

Describe the bug
An error is thrown when opening page of "Default Stream Example" from fresh git clone.
Remark : it throws also on anothers exemple, like "Minimum Example"
And it throws each time you open the page, not only the first time.
To Reproduce
Steps to reproduce the behavior:

Clone repo
Launch example project in debug mode on a Android 13 emulator.
Open "Default Stream Example" page
An error is thrown

E/flutter ( 4716): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LateInitializationError: Field '_headingStreamSubscription@315137202' has not been initialized.
E/flutter ( 4716): #0      _CurrentLocationLayerState._headingStreamSubscription (package:flutter_map_location_marker/src/current_location_layer.dart)
E/flutter ( 4716): #1      _CurrentLocationLayerState._subscriptPositionStream.<anonymous closure> (package:flutter_map_location_marker/src/current_location_layer.dart:349:9)
...

Desktop (please complete the following information):
Flluter v3.13.9
flutter_map: 6.0.1
flutter_map_location_marker: 8.0.1
Smartphone (please complete the following information):
Android 13 emulator

Ok, one more condition: the permission need not be granted. I can reproduce now.

After some basic test, I can confirm it doesn't throw anymore, thanks


request: flatten i18n keys

Is your feature request related to a problem? Please describe.
We have some keys like the following:
SOMETHING: {
	FOO: ({ count }) => `Foo ${count}`,
	BAR: ({ count }) => `Bar ${count}`,
	BAZ: ({ count }) => `Baz ${count}`
}

However, this won't translate well to i18next.
Describe the solution you'd like
Nevertheless it supports this
{
	"something": {
		"foo": "Foo {{foos}}",
		"bar": "Bar {{bars}}",
		"baz": "Baz {{bazs}}"
	}
}

And based from the official guides, we can specify returnObjects: true, which for the following example:
{
    "tree": {
        "res": "added {{something}}"
    }
}

It can format its children keys:
i18next.t('tree', { returnObjects: true, something: 'gold' });
// -> { res: 'added gold' }

So we need to change our code, since this is a step before the final transition, we should change the code above to:
SOMETHING: ({ foos, bars, bazs }) => ({
	FOO: `Foo ${count}`,
	BAR: `Bar ${count}`,
	BAZ: `Baz ${count}`
})

This way the code calling the languages are the exact same in both versions, which is convenient.
Describe alternatives you've considered
Waiting for i18next and let the development cost be the same.
Additional context
https://www.i18next.com/translation-function/objects-and-arrays

A better solution is passing in an object then using object.key in each of the i18next keys. See https://www.i18next.com/translation-function/interpolation#working-with-data-models


Support for GeoJSON-Data

Hi everyone,
seems like a really nice project. I was just wondering if it is possible to use GeoJSON-Data as Input.
Thanks!

So has anyone touched this in the passed 5 months?

I was thinking about giving it a go.

@adambarthelson are you using geoJson for markers or shapes? If it's just markers, you don't need to use geoJson. If it's shapes, I can help you out with the way I supported shapes.

You're right, at the time I figured using GeoJSON would be more real-time friendly, but have since found a better approach to the problem. P.S. Fairfax, VA FTW.

@adambarthelson so markers will work for you then? Haha represent!

would love to see this feature

I think a simple example with points (no polygons or other fancy stuff) being clustered from a .json or .geojson file would be very helpful.  It's not that hard to do, but it would make the code that much easier for a lot of people to jump into.  Also, this repo to some extent "competes" (insofar as open-source coding can be called "competitive", so not sure if that's really the right word) against Mapbox's SuperCluster, and SuperCluster does have a (not necessarily totally functional) demo with JSON.

I just managed to make it work, with a JSON file containing over 3,000,000 features.  It takes about a minute to render on my MacBook pro but is completely smooth once rendered.

OK I just created a pull request with this feature.  Please check it out!  Thanks :) https://github.com/SINTEF-9012/PruneCluster/pull/135

Thanks @maxvonhippel for the example and the dataset. Nevertheless,
PruneCluster should still support GeoJSON with a simple API though. Hopefully someday :-)

Thanks for merging!  This was my first ever contribution to an open-source project :D but yes I agree, an API-level GeoJSON functionality would eventually be ideal.

I would like to see GEOJson support as well.  I love the PruneCluster features.
Being able to add layers to prunecluster would also be beneficial, similar to markercluster.

@rwwagner90 Any chance you can share a snipet for your GeoJSON + shapes example (poly) ?

is still this a thing? I would really want to use prunecluster to cluster polygons.
use .getcenter for the clustering but show polygon and not icon (marker) when showing the shape.
is this possible?


fix: Send fewer files as base64 encoded for githubPullRequest

Hey, I just made a Pull Request!
Closes https://github.com/backstage/backstage/issues/17188
WIP, still need to:

test in an actual Backstage instance
generate changeset & API report
figure out if there's a way to do this without breaking API changes if it's reverted

We can do this on the integration config, so it's set in one place, and that way there's less code churn when undoing.

write real commit message & PR description

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

still in progress; on PTO right now

WIP

@rmartine-ias Do you think you'll get an opportunity to finish off this one? Looks like a worthwhile addition!

Been out with covid. Will try and pull some time this week.

Get better!
The maintainers are out this week too.


Update 3rd-party training implementation in readme

Hi Kaiming,
I've updated my implementation to include ImageNet training code / models.
Thanks,
Yuxin

邮件收到，我会尽快回复~


Error PopulatorObjects SpongeVanilla [1.9.4] Beta 52

Hi,
when i use the functions placeObject for place a PopulatorObjects. The chunck is not uploaded but the server considered they are a tree.

@lesbleu: I'm not quite sure what your issue is. Are you getting an exception when calling a method, or is  someone not functioning properly?

When using this code :
if(PopulatorObjects.BIRCH.canPlaceAt(player.getWorld(), block.getX(), block.getY(), block.getZ())) {
	PopulatorObjects.BIRCH.placeObject(player.getWorld(), player.getRandom(), block.getX(), block.getY(), block.getZ());
	return true;
} else {
	player.sendMessage(EEMessages.PREFIX.get() + EEMessages.TREE_NO_CAN.get());
}

The tree is added to the world but the player does not see it. It must disconnect and connect to view it.

Its probably because the PopulatorObjects are backed by the actual AbstractTree populators from the base game which usually run without sending updates, I can mix in a toggle used by the implementation when actually using them for world gen and let it send the updates for normal uses.

Fixed on SpongeVanilla Beta-112


How to emulate multiple simultaneous button presses?

The keypad on my desk is dead, and I'm using the Raspberry Pi package in hope to move my desk down (currently stuck at a high position).
It almost works. The only command I can issue that has any noticeably effect is "down"; only a short click sound in the control box, but no actual movement. By tweaking the existing code, I was able to read "rSt" (like this) back from the desk, so I assume all it wants is for me to reset it. The manual says I should simply hold down, but the internet says it could be a more complex combination of keys.
Given that I don't have a physical keyboard to work with, I have a couple of basic questions:

What's the correct way to emulate a long key press? I tried sending the command in a while True: loop, but doesn't seem to matter.
Has anyone tried emulating two keys pressed simultaneously? I tried alternating the commands in a while True: loop, but also nothing noticeable.

Any insights would be valuable. And thanks for sharing putting all this information together.

I kept trying and finally got it working. I'm not sure what I was doing wrong, I just kept on iterating on the things I wasn't sure were correct. I have partial answers to my own question:
(1) Sending the command in a loop turned out to be the right thing to do. I interpret the "click" sound I mentioned above when sending just a single command to be the minimum amount the desk can move, which was visually imperceptible to me.
(2) I did not have to press multiple buttons simultaneously, holding "down" was enough, so I guess the question was irrelevant.
Again, thanks for the repository. I now have a usable desk again, and their terrible customer support won't affect my mood as much.


Add defaults to parse_params

Taking on board the feedback in PR #8, I'm feeding back some changes I've found useful.
For consideration:
# DESC: Variable defaults
# ARGS: None.
# OUTS: Variables with default values set.
function defaults() {
  verbose=false no_colour=false cron=false outfile=-
}

...

function parse_params() {
....
  local param
  defaults
  # now enjoy the options in order and nicely split until we see --
....

Could be merged to the template?
I find that pretty useful, specially for noobies

+1


Entity name check should not fail because of module name

Feature Request
Make sure the entity name comparison in EntityMonitor does not fail as a result of the module name. Utilize NSClassFromString to get a string for comparison.
Expected behavior
Entity matching class should not fail based on module name when creating an EntityMonitor
Actual behavior
It fails the match and creates a precondition failure.

No, it shouldn't — the exporting of class names to Objective-C is an implementation detail and the Swift team recommends not parsing or attempting to demangle it yourself. The assumption made in Obj-C style Core Data code that entityName == String(className) simply can't be trusted anymore. IMHO, when I helped @randomstep debug #178, I said EntityMonitor should have an initializer more compatible with CoreDataModelable, change its generic requirement to CoreDataModelable, or use the NSManagedObjectModel of the MOC to do a more reliable look-up for the entity name.

Perhaps I just miss-worded the issue that @randomstep's PR is fulfilling.
This was supposed to just be an issue to track the work @randomstep was creating.
@zwaldowski do you believe his current PR #178 is insufficient?

No, PR #178 is fine. entity.managedObjectClassName uses the mangling and NSClassFromString is free to use implementation details if it wants, and thus both sides of == are AnyClass. The comparison is safe. It sounded like this issue was describing extra work to be done, because the description above is not describing what was done in the PR. My bad.

Title and description should be updated to reflect the work now. Thanks

Fixed in 1.4.0 and 2.1.0


feature(tensor): Add unsqueeze_dim helper

Pull Request Template
Checklist

[x] Confirm that run-checks script has been executed.

Changes
Adds a unsqueeze_dim method allowing you to target a specific dimension.
Testing
I've added tests for the added method

@antimora I think I've addressed all comments!


Add descriptive statistics card

User story
As a data scientist, I want to be able to see descriptive statistics for a specific micronutrient, so that I can understand the data better.
Summary
Add descriptive statistics card to the biomarker data page.
Figma prototype
Wireframe
Table

Histogram

Location

Component location

Child Issues
API

??

Database

??

Acceptance Criteria

[ ] Biomarker dashboard has descriptive statistics card
[ ] The card is responsive
[ ] It has two tabs - table and histogram
[ ] Histogram has a description

Closing this issue. The content from this card will be moved to MN Status card #420.


Forget password

Describe the bug
There should be option of forget password in login page, i want to work on this issue under GSSoC'21 .

Please assign this issue

i have send PR please review it.

I would like to take up the issue.

Ok @swarangi203, I will assign this issue to you.

Hi there!
Is the assigned person working on the task?
If not can I be assigned
I'll be glad to make the desired changes :)

Seems like I won't be able to work on the issue, its ok if its reassigned to @amreekminocha

Thanks for assigning me the role. I'll look into the issue asap

Can I work on this issue?

@aavishkarmishra Can you assign me this issue under GSSOC'22

@aavishkarmishra Can you assign me this issue under GSSOC'22
@jyotivakare33
This repository is not registered in GSSOC22.

@aavishkarmishra can you assign me this issue . I will fix it if It's still not working.

hey please add tag hacktoberfest so that i can work on this issue


CARTO.js v4 undefined Promise error in IE11

Related to https://github.com/CartoDB/support/issues/1666
As described with detail in previous issue, an error is thrown with Promise is undefined in an IE11 using a simple web app. So the current polyfill is not working properly.
Next steps, after merging PR

[x] run bump:patch --> new version 4.1.2
[x] npm & cdn publication
[x] dev docs update
[x] original issue client acceptance
[x] update inside cartodb

I've already run bump:patch --> new version 4.1.2
Publication of the path is pending...

Confirmation from client it is already working fine


Add displayName to defnc components

I was using the react dev tools in Chrome and noticed that components used the munged clojurescript function name, which is not that pretty.
Turns out you can set a displayName attribute and React will use that instead. Since defnc is a macro, we have access to the original name and namespace, so therefore you can do:
(let [...
       namespace (str *ns*)]
`(do
   (defn ~name ... )
   (set! (.-displayName ~name) (str ~namespace "/" '~name)))

I'm not 100% sure yet if this will work nicely with release builds, but I'm opening an issue to see if you would be willing to accept this. If yes, I'll investigate properly and make a PR. I also wanted to look into propTypes since they use the same mechanism.

Sure! Seems like it would be more readable that way.
We should probably use gobj/set rather than set! to avoid errors under advanced compilation.
It might increase the bundle size slightly (since the displayName won't get minified), but seems fine.

Ok, propTypes is also trivial to add. Not sure if there should be an explicit dependency on it, but my guess is that most React libraries will use it anyway, so it will be present in the bundled code anyway.
It's not 100% required, since you can provide a function to do any kind of validating needed, but it does have some nice comforts.

Fixed the displayName in latest master. Feel free to open another issue for the propTypes thing.


Multi-select context menu behaviour seems wrong in the directory view

I have a sneaky suspicion that macOS might have changed the way context menus work with multi-select. Specifically, right-clicking on multiple selected items now draws the context menu border around all of those items, instead of just the one being selected. This means the Fileaway macOS behaviour in the directory view is now out of sync with macOS (Big Sur, at least). Unfortunately, because we're layering all this on top thanks to SwiftUI's lack of decent selection support the LazyHStack and LazyVStack, this means there's changes to be made!

Fixed by updating to the new SwiftUI selection model. 🎉


fix(region): sync cachedimage info

这个 PR 实现什么功能/修复什么问题:

[x] 功能、bugfix描述
[x] 冒烟测试
[ ] 单元测试编写

是否需要 backport 到之前的 release 分支:

release/3.7

/area region
/cc @zexi

Codecov Report

Merging #9768 (4c3d736) into master (1f3ee00) will increase coverage by 5.98%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #9768       +/-   ##
===========================================
+ Coverage    5.98%   11.96%    +5.98%
===========================================
  Files         848      231      -617
  Lines      131774    25751   -106023
===========================================
- Hits         7889     3082     -4807
+ Misses     123184    22358   -100826
+ Partials      701      311      -390

Flag
Coverage Δ

aFlag
11.96% <ø> (+5.98%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/multicloud/aws/imageowners.go

pkg/compute/models/cloudsync.go

pkg/mcclient/options/k8s/certs.go

pkg/util/conditionparser/template.go

pkg/hostman/system_service/sdnagent.go

pkg/util/iproute2/link.go

pkg/keystone/models/identity_provider.go

pkg/compute/models/scalinggroup_network.go

pkg/compute/models/cloudaccount_saml.go

pkg/multicloud/aws/loadbalancerbackend.go

... and 605 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #9768 (4c3d736) into master (1f3ee00) will increase coverage by 5.98%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #9768       +/-   ##
===========================================
+ Coverage    5.98%   11.96%    +5.98%
===========================================
  Files         848      231      -617
  Lines      131774    25751   -106023
===========================================
- Hits         7889     3082     -4807
+ Misses     123184    22358   -100826
+ Partials      701      311      -390

Flag
Coverage Δ

aFlag
11.96% <ø> (+5.98%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/multicloud/aws/imageowners.go

pkg/compute/models/cloudsync.go

pkg/mcclient/options/k8s/certs.go

pkg/util/conditionparser/template.go

pkg/hostman/system_service/sdnagent.go

pkg/util/iproute2/link.go

pkg/keystone/models/identity_provider.go

pkg/compute/models/scalinggroup_network.go

pkg/compute/models/cloudaccount_saml.go

pkg/multicloud/aws/loadbalancerbackend.go

... and 605 more

Continue to review full report at Codecov.

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

/lgtm
/approve

/lgtm
/approve


[ISSUE #3255] optimize the performance of AbstractShenyuPlugin#filterSelector

see #3255 , I also wrote a simple performance test in PredicateJudgeFactoryTest#comparePerformance.

Codecov Report

Merging #3273 (a5f2ca6) into master (993f86a) will decrease coverage by 0.19%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #3273      +/-   ##
============================================
- Coverage     58.43%   58.23%   -0.20%
+ Complexity     4646     4637       -9
============================================
  Files           744      746       +2
  Lines         21047    21049       +2
  Branches       1925     1924       -1
============================================
- Hits          12298    12258      -40
- Misses         7662     7696      +34
- Partials       1087     1095       +8

Impacted Files
Coverage Δ

...shenyu/admin/service/impl/SelectorServiceImpl.java
70.87% <100.00%> (ø)

...a/org/apache/shenyu/common/enums/OperatorEnum.java
90.90% <100.00%> (+0.90%)
:arrow_up:

...lugin/base/condition/judge/EndsPredicateJudge.java
100.00% <100.00%> (ø)

...gin/base/condition/judge/StartsPredicateJudge.java
100.00% <100.00%> (ø)

...che/shenyu/sync/data/http/HttpSyncDataService.java
69.10% <0.00%> (-14.64%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
87.50% <0.00%> (-12.50%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...yu/plugin/logging/utils/LogCollectConfigUtils.java
66.66% <0.00%> (-8.89%)
:arrow_down:

...gin/logging/rocketmq/RocketMQLogCollectClient.java
68.00% <0.00%> (-8.00%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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


Python exception in hypervisor

running Python 2.7.5
vdi-agent service has an unhandled exception. Is it safe to upgrade to python 3 or does it still cause issues?
`[root@localhost log]# systemctl status vdi-agent.service
● vdi-agent.service - KVM-VDI agent
Loaded: loaded (/etc/systemd/system/vdi-agent.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2018-10-22 08:40:26 PDT; 123ms ago
Main PID: 145300 (python)
Tasks: 1
CGroup: /system.slice/vdi-agent.service
Oct 22 08:40:26 localhost.localdomain systemd[1]: Started KVM-VDI agent.
Oct 22 08:40:26 localhost.localdomain systemd[1]: Starting KVM-VDI agent...
Oct 22 08:40:26 localhost.localdomain python[145300]: detected unhandled Python exception in '/usr/local/VDI/vdi-agent'
Oct 22 08:40:26 localhost.localdomain vdi-agent[145300]: Traceback (most recent call last):
Oct 22 08:40:26 localhost.localdomain vdi-agent[145300]: File "/usr/local/VDI/vdi-agent", line 10, in
Oct 22 08:40:26 localhost.localdomain vdi-agent[145300]: from module import Variables
Oct 22 08:40:26 localhost.localdomain vdi-agent[145300]: ImportError: No module named module
[root@localhost log]# systemctl status vdi-agent.service
● vdi-agent.service - KVM-VDI agent
Loaded: loaded (/etc/systemd/system/vdi-agent.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2018-10-22 08:40:26 PDT; 382ms ago
Process: 145300 ExecStart=/usr/local/VDI/vdi-agent (code=exited, status=1/FAILURE)
Main PID: 145300 (code=exited, status=1/FAILURE)
Oct 22 08:40:26 localhost.localdomain systemd[1]: Unit vdi-agent.service entered failed state.
Oct 22 08:40:26 localhost.localdomain systemd[1]: vdi-agent.service failed.
`

I found the folder "modules" not sure why it didn't copy with original clone.


Could you provide more guidance on how to do data preprocessing and network training？

Thanks a lot!

As for the data preprocessing:
1)we extract semantic feature form pre trained semantic model and geo feature form pre trained point cloud matching model.
2)together with sparse coordinates of input points, we put it into our model.
3) for model training. We separately estimate the l and ab values. By using proposed constraints and loss functions. We follow the gan training model to train ours from scratch.
And, I will add the detailed source code of 1)preprocessing and 2)all pre-trained models in two weeks.
Thanks for your question. Please keep an eye on it.
发自我的iPhone

在 2023年6月14日，下午3:42，Yellowshuohahaha @.***> 写道：

Thanks a lot!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

That will be great, looking forward to it!

@rrgao Hi, do you have time to add the pre-trained models and some guidances? Thank you very much!

@rrgao can we get access to the pre-trained models and instructions how to replicate the paper results?


PoS update snapshot epoch duration

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

#1077
#1076
#1075  👈
#1074
feature/pos-hypersync-updates

This stack of pull requests is managed by Graphite.


Mapping keys doesn't work on linux

basically, i went into the keybind menu, pressed enter, then pressed my preferred keybind. it just showed "?" and didn't register my keybind. tried this multiple times, different keys, same result. Another thing is when i "saved" these "keybinds" it just permanently mashed them without me touching anything, i'm going to add a video later with my phone because my computer is absolute trash
edit: https://imgur.com/a/uiET6qC

naw seem to not work on any platform, but I realized the issue.
fixed in https://github.com/KadeDev/Kade-Engine/commit/28699426a42b683d9d09b1d5e165a79539349580

Mint? That's just Ubuntu without snaps! I don't understand why it's popular.

Mint? That's just Ubuntu without snaps!


Hide secrets in the UI

Discussed in https://github.com/usebruno/bruno/discussions/1645

Originally posted by warlon February 22, 2024
If a variable is set as a secret it should also be hidden in the UI and only revealed when requested. This would add additional security and prevent secrets being leaked for example when sharing your screen with someone.

@sanjai0py This would be a great feature to have! I'll point out that secret are also revealed on-hover when templating them into requests:


Provides a converter from standard time.Time. Closes #4

Closes #4

Coverage increased (+0.04%) to 98.14% when pulling d3f1a54d17501164bf24d9971c99136a5c7b3f62 on ostronom:feature/from-time-converter into 59cc715662c73d5dd1e9c0443ae438314f34880d on stoewer:master.

Coverage increased (+0.04%) to 98.14% when pulling d3f1a54d17501164bf24d9971c99136a5c7b3f62 on ostronom:feature/from-time-converter into 59cc715662c73d5dd1e9c0443ae438314f34880d on stoewer:master.

Thank you for you contribution!


Feature Request: Search inside HTML panels

It would be convenient to use a search term to filter the contents of the html panels.
E.g my 'requested files' panel has 20+ pages of data and I only wish to see the hits on a particular page. I'd prefer to just type part of the HTTP path rather than sift through each of the 20 pages manually.

What I have in mind is a search field somewhere here ^
Presumably because we're already using JavaScript and JSON for the data, this shouldn't be a big task, and it would bring some more parity with the curses UI.

Does it seem like #117 would accomplish this? Working on it as we speak.

@allinurl yes it does - if basic filtering by pathname will be possible as part of that ticket.


Fix shaderFragmentDepth32FloatMultisample failures in the Vulkan CTS

This is in support of a Khronos contract to reduce CTS failures in MoltenVK, leading up to certification as a Vulkan Portability implementation.
These failures are caused by a bug in Metal, but not one the name of the Vulkan Portability feature implies. It's actually caused by some Metal devices--notably, Apple Silicon GPUs, and possibly others--continuing to allow writes to storage resources, even if the fragment were discarded. Luckily, we can work around this, and the workaround isn't even that intrusive. A boolean flag will be added, which is set when the fragment is discarded, and checked when a resource is written to.
I have filed feedback FB11736212 to cajole Apple into fixing this on their end. In anticipation of this, the workaround is controlled by an option.
Fixes at least three CTS tests, under dEQP-VK.glsl.builtin_var.fragdepth.*, and possibly others.

Was this meant to be a PR, or just the issue explaining the upcoming PR?

This is the issue explaining the upcoming PR.


The server selected protocol version TLS10 is not accepted by client preferences [TLS12]

Driver version
Provide the JDBC driver version (e.g. 10.2.0).
SQL Server version
Provide the output of executing SELECT @@VERSION on your target SQL Server.
Client Operating System
Provide the Operating System the client application is running on.
JAVA/JVM version
Provide the JAVA/JVM version (e.g. java version "1.8.0").
Table schema
Provide the table schema to repro the issue.
Problem description
Provide full details of the problem.
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
Output of what you actually see.
Error message/stack trace
Complete error message and stack trace.
Any other details that can be helpful
Add any other context about the problem here.
JDBC trace logs
Provide the JDBC driver trace logs.  Instructions can be found here: https://docs.microsoft.com/sql/connect/jdbc/tracing-driver-operation

@142huang Could you please provide more details regarding the reported TLS issue? Please document the driver version, test environment (e.g. host OS, SQL Server version), and any logs documenting the issue. Also include a detailed problem description and any instructions for replicating the issue. We are also interested in understanding what is the expected behavior so we can confirm the issue when we replicate the problem.
Once we have this information we can then begin trying to replicate the issue and provide a response.

@142huang We have not heard back from you and so we are closing this issue due to inactivity.
Please feel free to reopen the issue when you have the requested information.

If you have additional questions you can also view this similar resolved issue: https://github.com/microsoft/mssql-jdbc/issues/1803


running iroh p2p lookup gives Protocols (0) every time

currently running lookup on main is missing a bunch of data that should be there:

This is a regression. PR that fixes this should add a test

Looks like we have never fully implemented lookup for the local case!
fixing this now

We had it working before. I specifically drilled us on this when we started bitswap debugging as I noticed we never properly responded to ipfs id or when telneting the p2p port. It's highly probable we didn't wire it up again after dig did the line by line port. For reference I'd look up that specific commit, pretty sure it is a smaller isolated one where it got hooked up.


⚠ RPC server - Conflux has degraded performance

In f3d6968, RPC server - Conflux ($CONFLUX_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Conflux performance has improved in 1927322 after 5 minutes.


Add subcommand for publish release directly

Adds practicle release subcommand.
This has an identical interface as draft-release except it skips the draft stage and published the release and tag directly.

 Option to publish public release


[quick_action][android] Not working with "LauncherActivity"

Copied from internal bug b/357028168
Steps to reproduce
Launched from shortcut
Expected results
Expected: Launching from quick action shortcut should always trigger the callback in quickActions.initialize.
Actual results
Actual: When the app has an "LauncherActivity" which forwards intents to the "MainActivity". (See attached recording)

If the app is launched normally from launch icon, the following shortcut works fine.

if the app is launched from shortcut, only the first shortcut works, the following shortcut is not working.

Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:quick_actions/quick_actions.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(useMaterial3: false),
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

// Copied from https://pub.dev/packages/quick_actions/example.
class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String shortcut = 'no action set';

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

    const QuickActions quickActions = QuickActions();
    quickActions.initialize((String shortcutType) {
      setState(() {
        shortcut = shortcutType;
      });
    });

    quickActions.setShortcutItems(<ShortcutItem>[
      // NOTE: This first action icon will only work on iOS.
      // In a real world project keep the same file name for both platforms.
      const ShortcutItem(
        type: 'action_one',
        localizedTitle: 'Action one',
        icon: 'AppIcon',
      ),
      // NOTE: This second action icon will only work on Android.
      // In a real world project keep the same file name for both platforms.
      const ShortcutItem(
          type: 'action_two',
          localizedTitle: 'Action two',
          icon: 'ic_launcher'),
    ]).then((void _) {
      setState(() {
        if (shortcut == 'no action set') {
          shortcut = 'actions ready';
        }
      });
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(shortcut),
      ),
      body: const Center(
        child: Text('On home screen, long press the app icon to '
            'get Action one or Action two options. Tapping on that action should  '
            'set the toolbar title.'),
      ),
    );
  }
}

AndroidManifest.xml
<activity
        android:name=".LauncherActivity"
        android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
        android:exported="true"
        android:hardwareAccelerated="true"
        android:launchMode="singleTop"
        android:theme="@style/LaunchTheme"
        android:windowSoftInputMode="adjustResize">

LauncherActivity.java
public final class LauncherActivity extends Activity {

  private static final String QUICK_ACTIONS_EXTRA = "some unique action key";

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    Intent mainActivityIntent = new Intent(this, MainActivity.class);
    mainActivityIntent.putExtras(getIntent());
    startActivity(mainActivityIntent);
    finish();
  }

  @Override
  public void onNewIntent(Intent intent) {
    super.onNewIntent(intent);
  }
}

https://github.com/user-attachments/assets/5cdd118a-70f6-4644-819d-30ac03eab86c

Hi @peixinli, it appears that you forgot to include the recording. Can you please add that? Please also include your flutter doctor -v output.
Also, do we need to create a LauncherActivity? If so, kindly provide the code sample for that as well.
Thank you

Hi @peixinli, it appears that you forgot to include the recording. Can you please add that? Please also include your flutter doctor -v output.
Also, do we need to create a LauncherActivity? If so, kindly provide the code sample for that as well.
Thank you

Updated with recording and the code sample to create LauncherActivity.  This tracker of internal issue so I don't have flutter doctor -v output.

Hi @peixinli, does the screenshot below capture the issue? It appears your screen recording didn't make it this time round as well 😅

Ah! Sorry I didn't realize it wasn't successfully uploaded. I uploaded the recording again.
The issue starts at 0:42 and the title is not set to action_two.
I believe the issue is caused by changing an intent flag from FLAG_ACTIVITY_CLEAR_TASK to FLAG_ACTIVITY_SINGLE_TOP in pull request. The "LauncherActivity" pattern and the intent flags quick action plugin uses make case 2 fall into the below scenario mentioned in Android doc:

if a task is already running for the activity you are now starting, then a new activity will not be started; instead, the current task will simply be brought to the front of the screen with the state it was last in.

Thanks for the update. I was able to replicate the reported behavior using code sample provided.
Stable : 3.24.0
Master: 3.24.0-1.0.pre.509

I believe the issue is caused by changing an intent flag from FLAG_ACTIVITY_CLEAR_TASK to FLAG_ACTIVITY_SINGLE_TOP in pull request. The "LauncherActivity" pattern and the intent flags quick action plugin uses make case 2 fall into the below scenario mentioned in Android doc:

if a task is already running for the activity you are now starting, then a new activity will not be started; instead, the current task will simply be brought to the front of the screen with the state it was last in.

This makes sense. The docs mention using FLAG_ACTIVITIY_MULTIPLE_TASK to disable that behavior when you are implementing a top-level application launcher. I'm not 100% sure what that refers to but I think I will try this out and see if it works. I'm also going to read up on the modes and leave my notes here to sort out what flags we actually need (without undoing the work of that PR for non-launcher activity use cases).

Just checked and FLAG_ACTIVITIY_MULTIPLE_TASK does not work and neither does changing FLAG_ACTIVITY_SINGLE_TOP back to FLAG_ACTIVITY_CLEAR_TASK. Need to now dig into the different modes and how the single top launch mode of the launcher/main activity may play into this.

I've played around with this a bit and have found some interesting things:

According to https://developer.android.com/guide/components/activities/tasks-and-back-stack#:~:text=This second ability,a CATEGORY_LAUNCHER filter, we should not be defining singleTop mode for launcher activities. That may be part of the issue here but not sure. I tried changing it to single task mode and it did work but it did completely relaunch (maybe in a new task?) the option_2 activity when option_1 was already open.
I think that the flags we specify in quick_actions in this scenario apply to the intent starting the launcher activity not option_1/option_2. option_1/option_2 are from the main activity that use singleTop mode according to the manifest. I think for them to act as we'd expect, the launcher activirt may have to add additional intent flags. Since main activity is single top, I would expect for it's onNewIntent to get called and it does not, so I need to investigate that too.

I was able to get it working in a weird way (the activities were opening in new tasks) by adding flags to the launcher activity, so I'm going to keep digging there.

I've played around a more and now know what's happening.
Essentially, the LauncherActivity has mode singleTop meaning that only if an existing activity is at the top of the back stack of Activities in the current task, then it is re-opened with its onNewIntent called to potentially update the state. This means that if we launch action_one via quick action then we launch action_two via quick_action, the onNewIntent to the action_one/action_two activity is never called because the LauncherActivity used to launch action_two is  actually on the top of the back stack. This means that there's nothing actually launching action_two hence this issue.

As mentioned before, having the LauncherActivity use launcher mode singleTask does work. It behaves differently from apps without a launcher activity, though, because it causes the launcher activity to be opened in the same task both times it is launched via quick action. I think this because action_two > back press > action_one.
In an app with no launcher activity (main activity has mode singleTop), action_two > back press> home screen + no accessible action_two activity. action_one > back press >home screen + accessible action_one activity.
I now wonder if it's possibly to recreate the same back press behavior with the launcher activity.

Reading https://stackoverflow.com/questions/46096589/android-dynamic-shortcuts-not-opening-proper-activity-second-time made me realize I don't think I understand the issue here well, but also gave me great insight.
I now think that what's currently happening is that when the main activity is being back then brought back into the foreground, the task containing the launch activity (and main activity from before) is brought into view and Android does nothing as it has mode singleTop.

I just tried setting https://developer.android.com/guide/topics/manifest/activity-element#finish:~:text=Whether an existing,FLAG_ACTIVITY_RESET_TASK_IF_NEEDED isn't set. on launcher activity + adding flag clear_top and it worked as expected for this case and for the non-launcher activity case. The back behavior still does not match the same as before.
Hoping to figure out the differences there and that should hopefully bring me to the configuration needed here.

I just tried using singleInstance for the launcher activity because I had an inkling, and it worked. I will be back to try to explain this.

Ok I can confirm now that to fix this issue, the launcher activity needs to have mode singleInstance.
In the repro, the launcher activity uses mode singleTop as described here in the Android docs. So...

When the action_one shortcut is launched, the launcher activity gets created (did not exist before) and then creates/launches the main activity that shows action_one.
When the action_two shortcut is launched, the launcher activity is brought back from the background to the foreground (as I believed is described here in the docs because a new task for the launcher activity is not started), and this re-launches the same main activity that shows action_one. onNewIntent is not called in the main activity.

However, when the launcher activity uses mode singleInstance,

When the action_one shortcut is launched, the launcher activity gets created (did not exist before) and then creates/launches the main activity that shows action_one.
When the action_two shortcut is launched, the launcher activity is launched into a new task and then re-launches the main activity that shows action_one originally, but onNewIntent is called, so that the launched main activity shows action_two.

Both launch modes have the same back press behavior as described by:

action_two > back press > home screen + no accessible action_two activity. action_one > back press >home screen + accessible action_one activity.

As I hinted to in my description of the differences in behavior, I believe this is happening because singleInstance (like singleTask which worked without maintaining the same back press behavior) both ensure a new task is started for the launcher activity, ensuring that an old state isn't just brought to the foreground.
Closing this as completed and will update b/357028168 but this can be reopened if this does not suit those bug's needs.

Decided a good action item here is to add documentation on how to handle launcher activities to the quick_action README. Re-opening to track that work.

To update this issue: my findings here seem to not have resolved  b/357028168 but I have confirmed that having a launcher activity like the one in the repro (no additional logic besides launching the main activity) with launch mode singleInstance maintains the same behavior as not having a launcher activity. I would still like to document this fact and plan to do so after I resolve the internal issue.

Turns out that the internal bug had other factors impacting the behavior of the quick_actions plugin with a launcher activity.
To close this issue, I will add documentation on maintaining the same behavior with/without a launcher activity so that folks that wish to use a launcher activity and this plugin have some guidance.

Re-opening to track improvements to https://github.com/flutter/packages/pull/7686 that includes further breadcrumbs on the work I did for this issue and what Flutter users may be able to do to figure out the right launch modes for their own launcher activities.


deprecate MSWebdriver

I'm not certain the current implementation of MSWebdriver works for Edge versions < 17, and I can't get any of my virtual machines to even run the Microsoft Webdriver, let alone validate that the webdrivers gem logic is working. So, I'd like to just deprecate this entire class for webdrivers 4, and then create a new one to support the new Chromium version for 4.0. Note that Selenium 4 will not work with Edge 17 & below.
Any objections to this approach?

I think it is going to make more sense to just delete this class entirely for 3.9, so I'm going to close this.


Unable to reach /api/peers, receive 404

Describe the problem
I deployed netbird (self-hosted) via the advanced guide.  I have netbird running successfully and authenticating with Zitadel.  However, when attempting to query /api/peers via curl or anything else to use the API, I get a 404.  It seems that the management UI has /peers, and when I go to /api/peers in the UI, it redirects me back to /peers.
I can only assume that I have something misconfigured, but I swear I've looked over everything and I can't seem to find anything that would point me in the right direction.  Has this been seen before? Is there an easy solution or place I can start looking to resolve this?
Are you using NetBird Cloud?
Self-hosted
NetBird version
0.28.7
NetBird status -dA output:
Unable to run this, netbird running in docker, no apparent netbird binary in any of the containers.
Additional context
Clients seem to connect just fine and are able to ping each other over the tunnel IPs.  Just not sure why /api/peers is returning a 404, along with other /api/* routes.

Hi @velopsiraptor-github,
the /api/* paths are part of the management backend service while /peers is part of the dashboard. So depending on your setup those will most likely have different domains configured. Your dashboard (opening /peers) is running fine correct? You can use the developer tools in your browser and check the API calls to find the correct address.

Ah, so that makes sense! I appreciate the reply! It looks like the /api routes are over 33073 (which is the management port).  Thanks for at least getting me to a place where I can confirm the information I needed.  Much appreciated.