Exception java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState in CompletableProgressDialog

Android device: SM-J327P, E2115, vivo 1609, VS425PP
Android OS version: 19, 22,23, 24
Firebase/Play Services SDK version: 11.0.4
FirebaseUI version: 2.3.0

Step 3: Describe the problem:
While monitoring our latest release, we've seen a crash that has originated from users in the wilde via Firebase Crash reporting.
seems like #817 is still hapening
Observed Results:
android.support.v4.app.FragmentManagerImpl.checkStateLoss (SourceFile:2044)
android.support.v4.app.FragmentManagerImpl.enqueueAction (SourceFile:2067)
android.support.v4.app.BackStackRecord.commitInternal (SourceFile:680)
android.support.v4.app.BackStackRecord.commit (SourceFile:634)
android.support.v4.app.DialogFragment.show (SourceFile:143)
com.firebase.ui.auth.ui.phone.CompletableProgressDialog.b (SourceFile:41)
com.firebase.ui.auth.ui.phone.PhoneVerificationActivity.af (SourceFile:377)
com.firebase.ui.auth.ui.phone.PhoneVerificationActivity.a (SourceFile:1174)
com.firebase.ui.auth.ui.phone.PhoneVerificationActivity$2.onVerificationCompleted (SourceFile:239)
com.google.android.gms.internal.kn.zza ()
com.google.android.gms.internal.kq.run ()
android.os.Handler.handleCallback (Handler.java:739)
android.os.Handler.dispatchMessage (Handler.java:95)
android.os.Looper.loop (Looper.java:145)
android.app.ActivityThread.main (ActivityThread.java:7007)
java.lang.reflect.Method.invoke (Method.java)
java.lang.reflect.Method.invoke (Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1404)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1199)

This is the method that crashes:
https://github.com/firebase/FirebaseUI-Android/blob/9dc4c120f33d4f4acc42b2a0c2195e130e8b1076/auth/src/main/java/com/firebase/ui/auth/ui/phone/PhoneVerificationActivity.java#L377
It gets called from here:
https://github.com/firebase/FirebaseUI-Android/blob/9dc4c120f33d4f4acc42b2a0c2195e130e8b1076/auth/src/main/java/com/firebase/ui/auth/ui/phone/PhoneVerificationActivity.java#L174
Which gets called from here:
https://github.com/firebase/FirebaseUI-Android/blob/9dc4c120f33d4f4acc42b2a0c2195e130e8b1076/auth/src/main/java/com/firebase/ui/auth/ui/phone/PhoneVerificationActivity.java#L239
So to replicate it we need to somehow get to onVerificationCompleted after the Activity is already gone.

This issue has been fixed in version 2.4.0:
https://github.com/firebase/FirebaseUI-Android/releases/tag/2.4.0


add support for triggering the stellar payment confirm screen in the UI CORE-9471

Go

Change the Stellar UI flow to better match the actual UI. Add a ChatPostReadyToSend callback from PostTextNonblock in order for the UI to know when to add the message to the local store.
Refactor wallet.Sender to move more DescribePayment logic into itself.
Optimize how we obtain fullnames and participant lists.
Add tests

JS
@keybase/react-hackers

Add new component and stories for the in-chat send confirm screen.
Change the messageSend send flow to use the new stellar UI flow. Notably, the call into PostTextNonblock is now a Saga RPC, and runs the callbacks to drive the confirm screen flow. I've tested this a lot and see no performance degradation on normal sends.

Example

There are a couple of aspects of the sagas we should discuss tomorrow morning

@chrisnojima PTAL

Actually now, sorry.

Ok @chrisnojima, PTAL again.


Docs structure

Proposal to add larger docummentation to web. This one is more about code and files structure and not about actual content of docs.
Sorry about messy history, only noticed after creating first draft, only commits after 'feat docs other pages init'  should be relevant and no conflict from previous should be present
Features

/docs/[...slug] route added - displaying MDX content stored in @docs/content
components moved to /docs/components/[type] - displaying MDX content stored in @docs/content/components
original installation.mdx removed
shared layout for both /docs and /docs/components
SideNav component with links for all doc pages, link items managed by @constants/docsItems entries
bottom paging nav component
mobile friendly design with second top navbar/sheet instead of sidenav
4 example /docs documents (combination of reused content from /examples/installation.mdx and dummy content

Known Todos

rename docs related components as its not only installation anymore
remove doc pages without content before merge (and add and populate them later)

Notes

currently I feel like there are bit too many config/export files which need to be edited manually when new doc page is added, but I do not know how to that with next/mdx approach
I have some styling ideas for docs content, to make it more vibrant, but these are quite subjective, so keeping it for standalone PR
If everything displayed on /docs routes is either common layout or managed by mdx, I think /docs/components/[type] page.tsx could be removed and only general [...slug] page.tsx used

From the UI's perspective can we add a components overview page that has all of the component's types and remove the redirect that's using the hash. This is no longer required

Yes, yes, do you have specific placement in mind @iamhectorsosa ? I would suggest first entry under Components section - so it has first Overview and then sorted list of component types. Wanted to have it as part of first introduction doc page but considering there is components overview on main page, its probably duplication.

Also for now can we remove all pages that have TODO and address those in separate PRs? Let's leave all of the install in Getting Started / Overview

Definitely, I created extra pages without content to ilustrate/test structure better but plan is to remove these before merge

Great work again @ChcJohnie
Yes an overview as the first item would be ideal. It is fine if we have duplication with the landing page. These might change in the future. It will improve the structure.

Cleanuped dummy pages, added basic 404 pages.
Old state for comparison


Missing json config files when converting model from the Hub

I ran the following locally python ./scripts/convert.py --model_id openai/whisper-tiny.en --from_hub --quantize --task speech2seq-lm-with-past
Which worked mostly fine. However, the resulting directory containing converted model had a couple of files missing, namely
preprocessor_config.json and tokenizer.json. After grabbing them manually from HF https://huggingface.co/openai/whisper-tiny.en/tree/main, things seem to work fine

Ah yes, you are completely right. I had this problem before. Initially, I just added a check for which models have processors: https://github.com/xenova/transformers.js/commit/6078e1cbdcde348ba86bcd76be211ed8496ef318
but I removed it since it was extremely hacky, and would be difficult to maintain.
The other option would be to just copy all .json files: https://github.com/xenova/transformers.js/blob/492c1178bfabe260f37fac1777c5216cfe213f4e/scripts/convert.py#L203
Unless there is a better way? I assume this is a problem with optimum and the transformers' save_pretrained function, which seems to ignore the tokenizer.json

I did some digging, and looks like transformers has a handy function for this! I've updated the conversion script to handle this. Let me know if you know of other files which aren't copied by save_pretrained

Closing as this was fixed in https://github.com/xenova/transformers.js/commit/1f14ca0b777d7396b44e977e42325f71117973d4


can I create related_name for <river.models.State>

I see the source in /river/models/fields/state.py
the code show: kwargs['related_name'] = "streams"  in line 49 ,
I think maybe creator would not add relate manager for <models.State>.
is there any reason ?example if define related_name it will works not good?

sorrry line number wrong, correct line number is 40.

sorrry line number wrong, correct line number is 40.


Mantle Book

these look like good section headings :) prefer to wait to get the docs filled in before merging, or do you want to struggle with ci/ops first?


NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

I'm getting this error when I resize the browser
MediaQueryList.updateMatches
/dist/react-responsive.js:205
  202 | }
  203 | var self = this;
  204 | if (dynamicMatch && !forceStatic) {
> 205 |     var mql = dynamicMatch.call(window, query);
      | ^  206 |     this.matches = mql.matches, this.media = mql.media, mql.addListener(update);
  207 | } else this.matches = staticMatch(query, values), this.media = query;
  208 | this.addListener = addListener, this.removeListener = removeListener, this.dispose = dispose;

@sgentile Can you post a reproduction on codepen?

@sgentile Can you post a reproduction on codepen?

Yes I had code conditionally wrapped in a  which I fixed  this by
wrapping in a span tag
On Sat, Jan 9, 2021 at 12:49 PM contra<EMAIL_ADDRESS>wrote:

@sgentile https://github.com/sgentile Can you post a reproduction on
codepen?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/contra/react-responsive/issues/265#issuecomment-757342024,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABAKNFZ5CGWJAZY6W4E7RDSZCJK3ANCNFSM4VZY4ZNQ
.

Yes I had code conditionally wrapped in a  which I fixed  this by
wrapping in a span tag
On Sat, Jan 9, 2021 at 12:49 PM contra<EMAIL_ADDRESS>wrote:

@sgentile https://github.com/sgentile Can you post a reproduction on
codepen?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/contra/react-responsive/issues/265#issuecomment-757342024,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABAKNFZ5CGWJAZY6W4E7RDSZCJK3ANCNFSM4VZY4ZNQ
.


Get the SQL generation scripts for the Database

Generate SQL scripts for making the database

The SQL scripts are generated, collected into one file and uploaded to the shared OneDrive in the folder "SQL scripts!"


how arm64 to work with crun. could you give new configfile of containerd

1.5.6 is amd64, when i changed arm64 version, it doesn't work correctly.

Do you build arm64 version with --with-wasmedge in the crun configuration?

thank you for your reply. it's okey now. i modify config of containerd personally, but don't use diff to patch.


[Add] typescriptcourse.com under typescript language resources

Site URL
https://www.typescriptcourse.com/tutorials/build-a-typescript-project-from-scratch
Description of the above provided site
Resource for learning TypeScript from scratch  to level-up  skills.
This is the end-to-end experience of taking from a blank editor to battle-tested production code. A hands-on tutorial where we build a library from scratch, share it with the world, and consume it in a production application. The full spectrum.
In this tutorial, you’ll learn about the following:
Starting a new project without a boilerplate
Writing tests and production-ready code
Publishing a library to the npm registry
Consuming your package in a React application
Category
Languages
Sub Category
Typescript
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[ ] I am a GSSoC'23 contributor

@rupali-codes, Instead of creating issue with @ursmahi account, I have created with @mahidharkakumani account.
Thank you


Add new property to the config map for auth_notapproved_redirect

Our current template uses a property that doesn't exist in the config map, that will fail the pod on starting.
FYI: @vpavlin

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1381   +/-   ##
=======================================
  Coverage   59.82%   59.82%
=======================================
  Files         119      119
  Lines       10906    10906
=======================================
  Hits         6525     6525
  Misses       3742     3742
  Partials      639      639

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 ef18e32...620df93. Read the comment docs.


Installation

download the latest release of the module, and drop the ColourFlash folder into the '//Keep Talking and Nobody Explodes/mods' folder.

The instructions say to copy the ColourFlash folder from the repository, but there doesn't seem to be any such folder.

Apologies, that's just a copy and paste issue from my other module's README. I'll my just fix that now.

I don't see a PianoKeys folder in the repo either. Is it just the whole Assets folder I need to copy over?

There's a build in the releases page https://github.com/ashbash1987/ktanemod-pianokeys/releases that contains what you need to get going.

Ah, I see now. Thanks!


Not all content showing in built container

Some content is missing from the built container which means the pages are not rendered like they are when running the project locally.  This could be due to the .gitignore file or perhaps the way the container is built.

Created custom build action which resolves this issue.


HKG: add red panda footnote

can possibly replace hardcoded footnotes in web2 with this + a bool field for the shop page

not sure if we want this?


DDP with DataLoader num_workers>0 seems to result in GIL (CPU summing to 100%)

Bug description
When running the pl Trainer with ddp on a single node with multiple gpus and DataLoader(..., num_workers=2) (or >0) CPU use seems to max at 100% - when num_woerkers=0 it will go much higher.
Running the below boring model results in very slow data loading with htop outputs like this:

It looks like there are 100%/16 workes = ~6.25% each
On the other hand if I run it with num_workers=0 I get faster training and much better CPU utilisation:

When using num_workers=0 in practice with more complex dataloading workflows it is still a bottleneck (but still better utilisation than n>0).
Additionally the docs seem to suggest setting num_workers=num_cpus however it seems like num_workers is per device?
Any help/advice would be appreciated!
What version are you seeing the problem on?
v2.0
How to reproduce the bug
import torch
from torch import nn
from torch.nn import functional as F
from torch.utils.data import DataLoader, Dataset
import pytorch_lightning as pl
tmpdir = os.getcwd()

class RandomDataset(Dataset):
    def __init__(self, shape, num_samples) -> None:
        super().__init__()
        self.shape = shape
        self.num_samples = num_samples

    def __len__(self):
        return self.num_samples

    def __getitem__(self, idx):
        return torch.randn(self.shape)**(5/4)

num_samples = 10000
train = RandomDataset((3, 2048, 2048), num_samples)
train = DataLoader(train, batch_size=32, pin_memory=True, num_workers=2)
val = RandomDataset((3, 2048, 2048), num_samples)
val = DataLoader(val, batch_size=32, pin_memory=True, num_workers=2)

class BoringModel(pl.LightningModule):

    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Conv2d(3, 1, 1)

    def forward(self, x):
        return self.layer(x)

    def loss(self, batch, prediction):
        return torch.nn.functional.mse_loss(prediction, torch.ones_like(prediction))

    def training_step(self, batch, batch_idx):
        output = self.layer(batch)
        loss = self.loss(batch, output)
        self.log('train_loss', loss)
        return loss

    def validation_step(self, batch, batch_idx):
        output = self.layer(batch)
        loss = self.loss(batch, output)
        return {"x": loss}

    def test_step(self, batch, batch_idx):
        output = self.layer(batch)
        loss = self.loss(batch, output)
        self.log('test_loss', loss)
        return {"y": loss}

    def configure_optimizers(self):
        optimizer = torch.optim.SGD(self.layer.parameters(), lr=0.1)
        lr_scheduler = torch.optim.lr_scheduler.StepLR(optimizer, step_size=1)
        return [optimizer], [lr_scheduler]

def test(tmpdir):
    # init model
    model = BoringModel()

    # Initialize a trainer
    trainer = pl.Trainer(
        accelerator='gpu',
        strategy='ddp',
        devices=8,
        max_epochs=1,
        precision='bf16-mixed',
        default_root_dir=tmpdir
    )

    trainer.fit(model, train)

test(tmpdir)

Error messages and logs
No response
Environment
PyTorch version: 2.0.1
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A
OS: Debian GNU/Linux 11 (bullseye) (x86_64)
GCC version: (Debian 10.2.1-6) 10.2.1 20210110
Clang version: Could not collect
CMake version: version 3.18.4
Libc version: glibc-2.31
Python version: 3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0] (64-bit runtime)
Python platform: Linux-5.10.0-23-cloud-amd64-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA RTX A4000
GPU 1: NVIDIA RTX A4000
GPU 2: NVIDIA RTX A4000
GPU 3: NVIDIA RTX A4000
GPU 4: NVIDIA RTX A4000
GPU 5: NVIDIA RTX A4000
GPU 6: NVIDIA RTX A4000
GPU 7: NVIDIA RTX A4000
Nvidia driver version: 510.85.02
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 40 bits physical, 48 bits virtual
CPU(s): 30
On-line CPU(s) list: 0-29
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 30
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 25
Model: 1
Model name: AMD EPYC 7313 16-Core Processor
Stepping: 1
CPU MHz: 3000.039
BogoMIPS: 6000.07
Virtualization: AMD-V
L1d cache: 1.9 MiB
L1i cache: 1.9 MiB
L2 cache: 15 MiB
L3 cache: 480 MiB
NUMA node0 CPU(s): 0-29
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw perfctr_core invpcid_single ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip pku ospke vaes vpclmulqdq rdpid arch_capabilities
Versions of relevant libraries:
[pip3] efficientnet-pytorch==0.7.1
[pip3] numpy==1.24.4
[pip3] pytorch-lightning==2.0.5
[pip3] segmentation-models-pytorch==0.3.3
[pip3] torch==2.0.1
[pip3] torch-tb-profiler==0.4.1
[pip3] torchmetrics==0.12.0.dev0
[pip3] torchview==0.2.6
[pip3] torchvision==0.15.2
[pip3] torchviz==0.0.2
[pip3] triton==2.0.0
[conda] No relevant packages

More info
No response
cc @borda

@CalumF With a simple data preprocessing like you show return torch.randn(self.shape)**(5/4), the process communication will dominate and is likely the reason why you see better performance with num_workers=0. To be sure, we could convert the example you gave to regular PyTorch code to show the same behavior (that would be my expectation).

I have the same issue. @awaelchli the problem is not that the performance is worse with more workers, it's that the training entirely stops.

@awaelchli Thanks for the response!
I can make the dataloading slower and you get the exact same behaviour (in my real training it's definitely more complex too!). eg:
    def __getitem__(self, idx):
        arr = torch.randn(self.shape)**(5/4)
        for x in torch.randn(30000):
            arr *= x
        return arr

takes about ~2s for each getitem call now and same ~6% CPU use.
I assumed it was just being slow but actually after about an hour it's still fails to finish the first step of the fist epoch - seems the same as @tonydavis629

@CalumF Could you take a look at this raw PyTorch example:
import os

import torch
from torch import nn
from torch.nn.parallel import DistributedDataParallel
from torch.utils.data import DataLoader, Dataset

class RandomDataset(Dataset):
    def __init__(self, shape, num_samples) -> None:
        super().__init__()
        self.shape = shape
        self.num_samples = num_samples

    def __len__(self):
        return self.num_samples

    def __getitem__(self, idx):
        arr = torch.randn(self.shape) ** (5 / 4)
        # for x in torch.randn(30000):
        #     arr *= x
        return arr

class BoringModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Conv2d(3, 1, 1)

    def forward(self, x):
        return self.layer(x)

def run(rank, world_size):
    cuda = True
    torch.manual_seed(1)
    device = torch.device("cuda", rank) if cuda else torch.device("cpu")
    if cuda:
        torch.cuda.manual_seed(1)
        torch.cuda.set_device(device)

    os.environ["LOCAL_RANK"] = str(rank)
    os.environ["WORLD_SIZE"] = str(world_size)
    os.environ["MASTER_ADDR"] = "localhost"
    os.environ["MASTER_PORT"] = "1234"
    torch.distributed.init_process_group(
        backend=("nccl" if cuda else "gloo"),
        init_method="env://",
        rank=rank,
        world_size=world_size,
    )
    print("init rank done", rank)

    train = RandomDataset((3, 2048, 2048), 10000)
    train = DataLoader(
        train,
        batch_size=32,
        pin_memory=True,
        num_workers=0,  # change here
    )

    model = BoringModel().to(device)
    ddp_model = DistributedDataParallel(model, device_ids=([rank] if cuda else None))
    optimizer = torch.optim.SGD(ddp_model.parameters(), lr=0.1)

    print("start training")
    for i, batch in enumerate(train):
        print(i)
        batch = batch.to(device)
        prediction = ddp_model(batch)
        loss = torch.nn.functional.mse_loss(prediction, torch.ones_like(prediction))
        loss.backward()
        optimizer.step()
        optimizer.zero_grad()

if __name__ == "__main__":
    world_size = 4  # change here
    torch.multiprocessing.spawn(run, nprocs=world_size, args=(world_size, ))

Set the world_size, num_workers and cuda flags as you like. This demonstrates the same behavior as described with the PL model. We are running on different systems, so if you could verify the observations:

num_workers=2 => peak per-process usage is 100%, but GPU can overlap with data loading
num_workers=0 => torch uses multiple cores in the main process directly (>100% usage), but CPU blocking the GPU

With num_workers = 0

With num_workers=2

PyTorch version for the above experiment:
torch == 2.1.0.dev20230719+cu118

Hi @awaelchli - no worries! Thanks for getting back to me - I've been away a bit anyway!
I made the edits and for num_workers=2 I see the behavior I was seeing before - cpu use around 6-7% per process:

Likewise for num_workers=1 you see 8 procs with cpu ~= 100/8 (12.5%):

During the actual training loop (ie from .to(device) to zero_grad) there's normal/100% maxing cpu use:

It's only while loading the batch that you see the pseudo single process behavior - but this is taking about 30s for each <1s training pass! I checked pin_memory=False in case and same behavior.
For num_workers=0 it's nice and normal:

Let me know any thoughts you have! It feels like it could be linux setup territory? If you can give me an idea of the possible issues that could cause it and/or the underlying systems involved I can talk to my IT/hardware dept and see if there's anything strange going on there too?

@CalumF Another thing to try would be to set and tune the value OMP_NUM_THREADS=1 (add in front of your python command).

I think I found it by the way! For some reason if, as in the scripts above, I don't explicitly set the Dataloader multiprocessing_context it defaults to None even with num_workers >0. If I set it to any of the options eg 'forkserver' or 'spawn' it works properly. I'm not sure why the default doesn't work but might be worth a bug fix or at least documentation change?

It is normal for DataLoader.multiprocessing_context to be None by default if you didn't explicitly set it. None there simply means that Pytorch will use the default depending on the operating system, and on Linux it will be "fork". I don't know why switching to a different one explicitly would make such a drastic difference for you.

I have been digging into this issue for days and @CalumF's solution also worked for me!
TL;DR If your are loading some very large objects, set multiprocessing_context='spawn' when you are creating the DataLoader.
The reason why it matters might be found in this blog post. As it suggests,

the "fork" context is super-broken, which is why it will stop being the default in Python 3.14.
On my computer, this program (with "fork") consistently deadlocks: it freezes and never exits. Any time you have threads in the parent process, the "fork" context can cause in potential deadlocks, or even corrupted memory, in the child process.

So IMO "spawn" should be preferred in practice and please try this if you are facing similar issues!

It's definitely interesting that you were able to get into this case where multiprocessing_context has such a dramatic effect. I suggest we close the ticket, since Lightning probably can't do much here as the default for this is platform specific and set by PyTorch. If you believe this could affect a considerable amount of users, we could try to get some advice from the PyTorch team.

If you believe this could affect a considerable amount of users, we could try to get some advice from the PyTorch team.

I never had this issue before but started experiencing it after switching to a NFS-based system. Not sure if it will be the case for everyone. If are experiencing similar issues, maybe you can comment under this issue so that we can have a general idea of the number of affected users.

if your model parameters too few ，CPU will go to near 100%，but bigger model is fine！！！


findPageForAnnotationRef doesn't return page for some fields of AcroForm present on the page

What were you trying to do?
I'm trying to locate all the fields of an on Acroform
How did you attempt to do it?
in node I use the following function:
let pdfBase64 = //base 64 representation of my pdf is attached in the link
	let pdfDataBuffer =  Buffer.from(pdfBase64, 'base64');
	let pdfDoc = await PDFDocument.load(pdfDataBuffer)
	let form = pdfDoc.getForm();
	let formFields = form.getFields();
	let pages = pdfDoc.getPages()

	let elementsMap = {}
	for (let field of formFields) {
		console.log("===")
		console.log("")
		let page = pdfDoc.findPageForAnnotationRef(field.ref);
		const type = field.constructor.name
		const name = field.getName()
		let pageNum = -1
		if(page){
			pageNum = pages.findIndex(pageThis => pageThis.ref.tag === page.ref.tag)
			console.log("page w/h = ", page.getWidth(), page.getHeight(), ", pageNum = ", pageNum)
		} else {
			console.log("pages.annotations missing field.ref.tag = ", field.ref.tag, ", field = ", field)
		}
		console.log(`convertFormFieldsToElements: fieldName = ${type}: ${name}, pageNum = ${pageNum}, field.ref = ${field.ref}`)
		let widgets = field.acroField.getWidgets()
		for (let i = 0; i < widgets.length; ++i) {
			let widget = widgets[i];
			let rect = widget.Rect().asRectangle()
			let elementsArray = elementsMap[pageNum] || []
			elementsArray.push({type, name, rect})
			elementsMap[pageNum] = elementsArray
			console.log("convertFormFieldsToElements: widget = ", widget, ", rect = ", rect)
		}

	}
	console.log("convertFormFieldsToElements: elementsMap = ", elementsMap)

What actually happened?
pdfDoc.findPageForAnnotationRef(field.ref) - doesn't return page for some fields.
Comparing field.ref.tag of the problematic fields and all the tags of the pages, there is indeed no match, which makes me think something is wrong with the way the tags are assigned.
What did you expect to happen?
pdfDoc.findPageForAnnotationRef(field.ref) returns the corresponding page for all the 13 acro fields
How can we reproduce the issue?
Link to the test pdf
Link to the test pdf in base64
Run the below code in node:
let pdfBase64 = //base 64 representation of my pdf is attached in [the link](https://drive.google.com/file/d/1G6sHuYXb2QU1L-rJHwKtSOboMVWCuK47/view?usp=drive_link)

function convertFormFieldsToElements(pdfBase64){

	let pdfDataBuffer =  Buffer.from(pdfBase64, 'base64');
	let pdfDoc = await PDFDocument.load(pdfDataBuffer)
	let form = pdfDoc.getForm();
	let formFields = form.getFields();
	let pages = pdfDoc.getPages()

	let elementsMap = {}
	for (let field of formFields) {
		console.log("===")
		console.log("")
		let page = pdfDoc.findPageForAnnotationRef(field.ref);
		const type = field.constructor.name
		const name = field.getName()
		let pageNum = -1
		if(page){
			pageNum = pages.findIndex(pageThis => pageThis.ref.tag === page.ref.tag)
			console.log("page w/h = ", page.getWidth(), page.getHeight(), ", pageNum = ", pageNum)
		} else {
			console.log("pages.annotations missing field.ref.tag = ", field.ref.tag, ", field = ", field)
		}
		console.log(`convertFormFieldsToElements: fieldName = ${type}: ${name}, pageNum = ${pageNum}, field.ref = ${field.ref}`)
		let widgets = field.acroField.getWidgets()
		for (let i = 0; i < widgets.length; ++i) {
			let widget = widgets[i];
			let rect = widget.Rect().asRectangle()
			let elementsArray = elementsMap[pageNum] || []
			elementsArray.push({type, name, rect})
			elementsMap[pageNum] = elementsArray
			console.log("convertFormFieldsToElements: widget = ", widget, ", rect = ", rect)
		}

	}
	console.log("convertFormFieldsToElements: elementsMap = ", elementsMap)
}

Version
1.17.1
What environment are you running pdf-lib in?
Node
Checklist

[X] My report includes a Short, Self Contained, Correct (Compilable) Example.
[X] I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes
No response

I have the same problem, in my case, I could find the page with pages.find((x) => x.ref === widget.P()).
I ended up doing
const page = doc.findPageForAnnotationRef(field.ref) ?? pages.find((x) => x.ref === widget.P());


Add an option to open with MPlayerX

Similar to the --vlc argument, I think you should add a flag that opens with MPlayerX (--mplayerx)

Hm, running peerflix [magnet] --mplayerx or peerflix [magnet] --mplayer isn't opening the magnet link for me. Is it working for you?
I'm planning on putting a separate prompt that asks the user which player they want to open the selected torrent with. I'll make it so it's super simple to add support for any player option peerflix supports.

I dont think peerflix's --mplayer flag works with OSX's MplayerX. My bad, I thought that would just work

add termflix to npm doe

It should be on there. Here's the link: https://www.npmjs.com/package/termflix


SMS game webform accepts player names

Currently, the SMS game webform takes an alpha name, alpha number, and 3 beta numbers. We want to run tests that allow for alphas to also include their friends' names.
I think the two main things that need to be done are:

Modify request to POST to /sms-multiplayer-game/create with 3 additional parameters: beta_first_name_0, beta_first_name_1, and beta_first_name_2
Setup in Optimizely so we can A/B test this thing

cc: @barryclark

Refs (duplicates?) #3568

oh yuppp totally a duplicate


🐛 [firebase_messaging] uses or overrides a deprecated API. on Android

Bug report
Describe the bug
In the title but for many FlutterFire plugins, please see the list below.
My build.gradle file :
minSdkVersion 24
targetSdkVersion 31

This was fixed for cloud_functions in  #7446 but not for all plugins.
Steps to reproduce
Steps to reproduce the behavior:
Run an app on Android after flutter clean using the following plugins :

firebase_analytics
firebase_messaging
firebase_crashlytics
firebase_dynamic_links

Expected behavior
Not have these warnings despite they are not blocking anything (for now)

Additional context
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-9.1.0/android/src/main/java/io/flutter/plugins/firebase/analytics/FlutterFirebaseAnalyticsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-9.1.0/android/src/main/java/io/flutter/plugins/firebase/analytics/FlutterFirebaseAnalyticsPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-2.5.1/android/src/main/java/io/flutter/plugins/firebase/crashlytics/FlutterFirebaseCrashlyticsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-4.0.6/android/src/main/java/io/flutter/plugins/firebase/dynamiclinks/FlutterFirebaseDynamicLinksPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-4.0.6/android/src/main/java/io/flutter/plugins/firebase/dynamiclinks/FlutterFirebaseDynamicLinksPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.2.6/android/src/main/java/io/flutter/plugins/firebase/messaging/JobIntentService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.1, on macOS 12.2 21D49 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.63.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.16.1
Flutter SDK 2.10.1
myappname 1.0.0+1

dependencies:
- app_settings 4.1.1 [flutter]
- app_tracking_transparency 2.0.2+1 [flutter]
- apple_maps_flutter 1.0.3 [flutter]
- audioplayers 0.20.1 [uuid path_provider http flutter flutter_web_plugins]
- auto_size_text 3.0.0 [flutter]
- badges 2.0.2 [flutter]
- cached_network_image 3.2.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- camera 0.9.4+11 [camera_platform_interface camera_web flutter pedantic quiver flutter_plugin_android_lifecycle]
- clipboard 0.1.3 [flutter]
- cloud_functions 3.2.7 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- confetti 0.6.0 [flutter vector_math]
- connectivity_plus 2.2.0 [flutter connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows]
- country_code_picker 2.0.2 [flutter modal_bottom_sheet collection universal_platform]
- crypto 3.0.1 [collection typed_data]
- cupertino_back_gesture 0.1.0 [flutter]
- cupertino_icons 1.0.4
- device_display_brightness 0.0.6 [flutter]
- disk_space 0.2.1 [flutter]
- emoji_picker_flutter 1.1.1 [flutter shared_preferences]
- extended_image 6.0.1 [extended_image_library flutter meta]
- extended_tabs 2.3.0 [flutter]
- firebase_analytics 9.1.0 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 3.3.7 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.12.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.5.1 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_database 9.0.6 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- firebase_dynamic_links 4.0.6 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 11.2.6 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_performance 0.8.0+5 [firebase_core firebase_core_platform_interface firebase_performance_platform_interface firebase_performance_web flutter]
- firebase_storage 10.2.7 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta typed_data vector_math sky_engine]
- flutter_app_badger 1.3.0 [flutter]
- flutter_arc_text 0.5.0 [characters flutter]
- flutter_contacts 1.1.2 [flutter]
- flutter_facebook_auth 4.0.1 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web]
- flutter_ffmpeg 0.4.2 [flutter]
- flutter_image_compress 1.1.0 [flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path typed_data vector_math]
- flutter_native_text_input 2.1.0 [flutter]
- flutter_staggered_grid_view 0.6.1 [flutter]
- flutter_svg 1.0.3 [flutter meta path_drawing vector_math xml]
- geocoding 2.0.2 [flutter geocoding_platform_interface]
- geolocator 8.1.1 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows]
- google_fonts 2.3.1 [flutter http path_provider crypto]
- google_maps_flutter 2.1.1 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_mobile_ads 1.1.0 [meta flutter]
- google_sign_in 5.2.3 [flutter google_sign_in_platform_interface google_sign_in_web]
- hive 2.0.5 [meta crypto]
- hive_flutter 1.1.0 [flutter hive path_provider path]
- http 0.13.4 [async http_parser meta path]
- image_editor 1.0.2 [flutter]
- in_app_purchase 2.0.1 [flutter in_app_purchase_platform_interface in_app_purchase_android in_app_purchase_storekit]
- in_app_review 2.0.4 [flutter in_app_review_platform_interface]
- logger 1.1.0
- package_info_plus 1.3.0 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- path 1.8.0
- path_provider 2.0.9 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- percent_indicator 4.0.0 [flutter]
- perfect_volume_control 1.0.5 [flutter]
- permission_handler 8.3.0 [flutter meta permission_handler_platform_interface]
- photo_manager 2.0.0-dev.7 [flutter]
- provider 6.0.2 [collection flutter nested]
- pull_to_refresh 2.0.0 [flutter]
- record 3.0.2 [flutter record_platform_interface record_web]
- rive 0.8.1 [collection flutter graphs http meta]
- screen_capture_event 1.0.0+1 [flutter permission_handler]
- scrollable_positioned_list 0.2.3 [flutter collection]
- share_plus 3.0.4 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shared_preferences 2.0.13 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- sign_in_with_apple 3.3.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web]
- sliver_tools 0.2.5 [flutter]
- sqflite 2.0.2 [flutter sqflite_common path]
- translator 0.1.7 [http]
- url_launcher 6.0.20 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 3.0.5 [crypto]
- video_compress 3.1.1 [flutter]
- video_player 2.2.18 [flutter video_player_android video_player_avfoundation video_player_platform_interface video_player_web html]
- video_thumbnail 0.4.3 [flutter]
- visibility_detector 0.2.2 [flutter]

dev dependencies:
- build_runner 2.1.7 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph typed_data]
- hive_generator 1.1.2 [build source_gen hive analyzer source_helper]

transitive dependencies:
- _fe_analyzer_shared 34.0.0 [meta]
- analyzer 3.2.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 2.3.0
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.2.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.0.1 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.6 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.1.4 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- camera_platform_interface 2.1.5 [cross_file flutter plugin_platform_interface stream_transform]
- camera_web 0.2.1+2 [camera_platform_interface flutter flutter_web_plugins pedantic stream_transform]
- characters 1.2.0
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.5 [meta path]
- clock 1.1.0
- cloud_functions_platform_interface 5.0.21 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.2.7 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- connectivity_plus_linux 1.2.0 [flutter connectivity_plus_platform_interface meta nm]
- connectivity_plus_macos 1.2.1 [connectivity_plus_platform_interface flutter]
- connectivity_plus_platform_interface 1.2.0 [flutter meta plugin_platform_interface]
- connectivity_plus_web 1.2.0 [connectivity_plus_platform_interface flutter_web_plugins flutter]
- connectivity_plus_windows 1.2.0 [connectivity_plus_platform_interface flutter]
- convert 3.0.1 [typed_data]
- cross_file 0.3.2 [flutter js meta]
- csslib 0.17.1 [source_span]
- dart_style 2.2.1 [analyzer args path pub_semver source_span]
- dbus 0.6.8 [args ffi meta xml]
- extended_image_library 3.1.2 [crypto flutter http_client_helper path path_provider]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase 9.0.2 [http http_parser js]
- firebase_analytics_platform_interface 3.0.5 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.0+6 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 6.1.11 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.3.7 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.2.4 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.5.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.1.13 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_platform_interface 0.2.0+5 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.0+5 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- firebase_dynamic_links_platform_interface 0.2.0+5 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.1.6 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.2.7 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_performance_platform_interface 0.1.0+5 [firebase_core flutter plugin_platform_interface]
- firebase_performance_web 0.1.0+5 [firebase firebase_core firebase_core_web firebase_performance_platform_interface flutter flutter_web_plugins js]
- firebase_storage_platform_interface 4.0.14 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.2.8 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_facebook_auth_platform_interface 3.0.1 [flutter plugin_platform_interface]
- flutter_facebook_auth_web 3.0.0+1 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface]
- flutter_plugin_android_lifecycle 2.0.5 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta typed_data vector_math]
- frontend_server_client 2.1.2 [async path]
- geocoding_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- geolocator_android 3.0.2 [flutter geolocator_platform_interface]
- geolocator_apple 2.1.0 [flutter geolocator_platform_interface]
- geolocator_platform_interface 4.0.3 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.1.4 [flutter flutter_web_plugins geolocator_platform_interface]
- geolocator_windows 0.1.0 [flutter geolocator_platform_interface]
- glob 2.0.2 [async collection file path string_scanner]
- google_maps_flutter_platform_interface 2.1.5 [collection flutter plugin_platform_interface stream_transform]
- google_sign_in_platform_interface 2.1.1 [flutter quiver]
- google_sign_in_web 0.10.0+4 [flutter flutter_web_plugins google_sign_in_platform_interface js pedantic]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http_client_helper 2.0.2 [http]
- http_multi_server 3.2.0 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- in_app_purchase_android 0.2.2+1 [collection flutter in_app_purchase_platform_interface json_annotation]
- in_app_purchase_platform_interface 1.3.1 [flutter plugin_platform_interface]
- in_app_purchase_storekit 0.2.1 [collection flutter in_app_purchase_platform_interface json_annotation meta]
- in_app_review_platform_interface 2.0.3 [flutter url_launcher plugin_platform_interface platform]
- intl 0.17.0 [clock path]
- io 1.0.3 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.4.0 [meta]
- lints 1.0.1
- logging 1.0.2
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.3
- meta 1.7.0
- mime 1.0.1
- modal_bottom_sheet 2.0.0 [flutter]
- nested 1.0.0 [flutter]
- nm 0.4.4 [dbus]
- octo_image 1.0.1 [flutter flutter_blurhash]
- package_config 2.0.2 [path]
- package_info_plus_linux 1.0.3 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.4 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 1.0.4 [package_info_plus_platform_interface ffi flutter win32]
- path_drawing 1.0.0 [vector_math meta path_parsing flutter]
- path_parsing 1.0.0 [vector_math meta]
- path_provider_android 2.0.11 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.7 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.5 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.5 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.3 [flutter platform plugin_platform_interface]
- path_provider_windows 2.0.5 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- petitparser 4.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.0 [collection meta]
- pubspec_parse 1.2.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.0.1+1 [matcher]
- record_platform_interface 0.2.0 [flutter plugin_platform_interface]
- record_web 0.2.1 [flutter flutter_web_plugins record_platform_interface]
- rxdart 0.27.3
- share_plus_linux 2.0.4 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 2.0.2 [share_plus_platform_interface flutter]
- share_plus_platform_interface 2.0.1 [flutter meta mime plugin_platform_interface]
- share_plus_web 2.0.4 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 2.0.3 [share_plus_platform_interface flutter meta url_launcher]
- shared_preferences_android 2.0.11 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.0.10 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.0 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_macos 2.0.3 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.3 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.0 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.2.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta]
- sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js]
- sky_engine 0.0.99
- source_gen 1.2.1 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.1 [analyzer collection source_gen]
- source_span 1.8.1 [collection path term_glyph]
- sqflite_common 2.2.0 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.4.8 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.0 [collection]
- universal_platform 1.0.0+1
- url_launcher_android 6.0.15 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.15 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.0 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.0.5 [flutter plugin_platform_interface]
- url_launcher_web 2.0.8 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.0 [flutter url_launcher_platform_interface]
- vector_math 2.1.1
- video_player_android 2.2.17 [flutter video_player_platform_interface]
- video_player_avfoundation 2.2.18 [flutter video_player_platform_interface]
- video_player_platform_interface 5.0.2 [flutter plugin_platform_interface]
- video_player_web 2.0.7 [flutter flutter_web_plugins video_player_platform_interface]
- watcher 1.0.1 [async path]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- win32 2.3.11 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 5.3.1 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

A similar for core, auth and analytics was recently fixed and merged: https://github.com/FirebaseExtended/flutterfire/issues/3876#issuecomment-1024089361
Another similar from firebase_messaging: https://github.com/FirebaseExtended/flutterfire/issues/7702

Just adding :
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.6.0+10/android/src/main/java/io/flutter/plugins/firebase/inappmessaging/FirebaseInAppMessagingPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Now that i am also using it.

Tasks.call() is still present in firebase_core, cloud_firestore, firebase_analytics, firebase_crashlytics, firebase_performance

I must say that Tasks.call() is not present in any of the packages you mentioned for me.
However they are all subject to depecrated API.
I would also add :
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_app_check-0.0.6+11/android/src/main/java/io/flutter/plugins/firebase/appcheck/FlutterFirebaseAppCheckPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Even more weird, i have got :
Note: /Users/foxtom/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_database-9.0.13/android/src/main/java/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

When i don't use firebase_database in this project in my pubspec.yaml :/

Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.4.4/android/src/main/java/io/flutter/plugins/firebase/messaging/JobIntentService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

I think I've addressed all uses of deprecated android API.
Performance deprecations are addressed in this PR:https://github.com/firebase/flutterfire/pull/9334.
The last outstanding deprecation is the FirebaseMessaging JobIntentService which uses the deprecated AsyncTask API.

Thanks for your work @russellwheatley !
With the latest releases from today, i have depe :

firebase_database: 10.0.1 : deprecated API
cloud_functions: 4.0.1: deprecated API
firebase_dynamic_links: 5.0.1 : unsafe operations
firebase_performance: 0.9.0+1 : deprecated API

Other plugins i am using with their latest version to show they are fine :

firebase_core: ^2.0.0
firebase_crashlytics: ^3.0.0
firebase_auth: ^4.0.0
firebase_storage: ^11.0.0
firebase_in_app_messaging: ^0.7.0
firebase_app_check: ^0.1.0
firebase_ml_model_downloader: ^0.2.0
firebase_messaging: ^14.0.0

I have created PRs for performance & dynamic links that removes deprecated API and suppresses unnecessary warnings (in the case of dynamic links). It should just be firebase messaging left that needs to be tackled.

Still seeing the error

Note: /.pub-cache/hosted/pub.dev/firebase_messaging-14.2.5/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.

same here with 14.4.0 version
Note: /Users/mac/.pub-cache/hosted/pub.dev/firebase_messaging-14.4.0/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.

I am not sure if i should add it here but i have two more to add to the list :
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/cloud_firestore-4.5.0/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_app_check-0.1.2/android/src/main/java/io/flutter/plugins/firebase/appcheck/FlutterFirebaseAppCheckPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.

It's about cloud_firestore and firebase_app_check, the rest looks good now indeed except firebase_messaging as mentionned
Thanks :)

please fix these: Note: /Users/4edoc/.pub-cache/hosted/pub.dev/firebase_messaging-14.6.2/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/4edoc/.pub-cache/hosted/pub.dev/cloud_firestore-4.8.0/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/4edoc/.pub-cache/hosted/pub.dev/cloud_firestore-4.8.0/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Still an issue:
\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.6.7\android\src\main\java\io\flutter\plugins\firebase\messaging\FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.

Still an issue: \AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.6.7\android\src\main\java\io\flutter\plugins\firebase\messaging\FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.

Same issue, no solution

This issue should be solved.
On Mon, Sep 18, 2023, 5:52 PM Shekhar1307 @.***> wrote:

Still an issue: \AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.6.7\android\src\main\java\io\flutter\plugins\firebase\messaging\FlutterFirebaseMessagingPlugin.java
uses unchecked or unsafe operations.
Same issue, no solution
—
Reply to this email directly, view it on GitHub
https://github.com/firebase/flutterfire/issues/8073#issuecomment-1723346265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIRXJSHZJG4MGMSTZXPDBYDX3A7Z5ANCNFSM5OFEWS4A
.
You are receiving this because you commented.Message ID:
@.***>

This issue should be solved.
…
On Mon, Sep 18, 2023, 5:52 PM Shekhar1307 @.> wrote: Still an issue: \AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.6.7\android\src\main\java\io\flutter\plugins\firebase\messaging\FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations. Same issue, no solution — Reply to this email directly, view it on GitHub <#8073 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSHZJG4MGMSTZXPDBYDX3A7Z5ANCNFSM5OFEWS4A . You are receiving this because you commented.Message ID: @.>

What is the solution?

Getting the same issue...

Still present on firebase_messaging: 14.6.8
FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.

firebase_messaging 14.6.8, I have the same issue.

Please add a thumbs up to the issue so it can be prioritized, rather than polluting the comments with "me too" and "still an issue".

Same issue for firebase_messaging-14.7.2
Testing on Android 9.

On Sat, Feb 24, 2024 at 3:40 AM ahmed louassef @.***>
wrote:

Getting the same issue...
image.png (view on web)
https://github.com/firebase/flutterfire/assets/110504044/7d2b1537-2bf5-49ec-9556-ae35417582b7
—
Reply to this email directly, view it on GitHub
https://github.com/firebase/flutterfire/issues/8073#issuecomment-1962093839,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIRXJSGSGGHZXHBDBXHKUI3YVELFTAVCNFSM5OFEWS4KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJWGIYDSMZYGM4Q
.
You are receiving this because you commented.Message ID:
@.***>

Same issue with the latest flutter release

Update 2 years after my initial post regarding all of the FlutterFire products with their latest version at the moment of this comment :
  firebase_core:
  firebase_auth:
  firebase_messaging:
  firebase_analytics:
  firebase_performance:
  firebase_app_check:
  firebase_storage:
  firebase_crashlytics:
  firebase_database:
  firebase_remote_config:
  firebase_in_app_messaging:
  firebase_ml_model_downloader:
  cloud_firestore:
  firebase_app_installations:
  cloud_functions:
  firebase_dynamic_links:

And output :
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/cloud_firestore-4.15.9/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_app_check-0.2.1+18/android/src/main/java/io/flutter/plugins/firebase/appcheck/FlutterFirebaseAppCheckPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_app_installations-0.2.4+18/android/src/main/java/io/flutter/plugins/firebase/installations/firebase_app_installations/FirebaseInstallationsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_dynamic_links-5.4.18/android/src/main/java/io/flutter/plugins/firebase/dynamiclinks/Utils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_messaging-14.7.20/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

So the active warnings are on cloud_firestore: 4.15.9, firebase_app_check: 0.2.1+18, firebase_app_installations: 0.2.4+18, firebase_dynamic_links: 5.4.18 and firebase_messaging: 14.7.20.

what update?
On Thu, Mar 14, 2024 at 9:11 PM Tommy @.***> wrote:

Update 2 years after my initial post regarding all of the FlutterFire
products with their latest version at the moment of this comment :
firebase_core:
firebase_auth:
firebase_messaging:
firebase_analytics:
firebase_performance:
firebase_app_check:
firebase_storage:
firebase_crashlytics:
firebase_database:
firebase_remote_config:
firebase_in_app_messaging:
firebase_ml_model_downloader:
cloud_firestore:
firebase_app_installations:
cloud_functions:
firebase_dynamic_links:
And output :
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/cloud_firestore-4.15.9/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_app_check-0.2.1+18/android/src/main/java/io/flutter/plugins/firebase/appcheck/FlutterFirebaseAppCheckPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_app_installations-0.2.4+18/android/src/main/java/io/flutter/plugins/firebase/installations/firebase_app_installations/FirebaseInstallationsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_dynamic_links-5.4.18/android/src/main/java/io/flutter/plugins/firebase/dynamiclinks/Utils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/foxtom/.pub-cache/hosted/pub.dev/firebase_messaging-14.7.20/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
So the active warnings are on cloud_firestore: 4.15.9, firebase_app_check:
0.2.1+18, firebase_app_installations: 0.2.4+18, firebase_dynamic_links:
5.4.18 and firebase_messaging: 14.7.20.
—
Reply to this email directly, view it on GitHub
https://github.com/firebase/flutterfire/issues/8073#issuecomment-1997818356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIRXJSHOFEJ627A67RQ6FFTYYHD3ZAVCNFSM5OFEWS4KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJZG44DCOBTGU3A
.
You are receiving this because you commented.Message ID:
@.***>

I have updated the issue with the current (14/03/2024) packages in warning / errors.
2 years back there were other warnings that are now fixed for a long time.
Today it might be new warnings for the same packages or new packages with new warnings.

same here...
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 6024 bytes (99.6% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "MyFlutterApp.ttf" was tree-shaken, reducing it from 5552 to 1300 bytes (76.6% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Note: /Users/youngrakson/.pub-cache/hosted/pub.dev/cloud_firestore-4.15.9/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/youngrakson/.pub-cache/hosted/pub.dev/firebase_messaging-14.7.20/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/youngrakson/.pub-cache/hosted/pub.dev/uni_links-0.5.1/android/src/main/java/name/avioli/unilinks/UniLinksPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

I don't want to see the error log during apk build....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/mj/.pub-cache/hosted/pub.dev/firebase_messaging-14.7.20/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

My flutter deps related firebase is below
╰─⠠⠵ flutter pub deps | grep 'firebase'
├── firebase_analytics 10.8.0
│   ├── firebase_analytics_platform_interface 3.9.0
│   │   ├── firebase_core...
│   ├── firebase_analytics_web 0.5.5+12
│   │   ├── firebase_analytics_platform_interface...
│   │   ├── firebase_core...
│   │   ├── firebase_core_web...
│   ├── firebase_core...
│   ├── firebase_core_platform_interface...
├── firebase_core 2.27.1
│   ├── firebase_core_platform_interface 5.0.0
│   ├── firebase_core_web...
├── firebase_core_web 2.12.0
│   ├── firebase_core_platform_interface...
├── firebase_crashlytics 3.4.9
│   ├── firebase_core...
│   ├── firebase_core_platform_interface...
│   ├── firebase_crashlytics_platform_interface 3.6.16
│   │   ├── firebase_core...
├── firebase_messaging 14.7.20
│   ├── firebase_core...
│   ├── firebase_core_platform_interface...
│   ├── firebase_messaging_platform_interface 4.5.28
│   │   │   ├── firebase_core...
│   │   │   ├── firebase_core_platform_interface...
│   │   ├── firebase_core...
│   ├── firebase_messaging_web 3.7.0
│   │   ├── firebase_core...
│   │   ├── firebase_core_web...
│   │   ├── firebase_messaging_platform_interface...
├── firebase_remote_config 4.3.18
│   ├── firebase_core...
│   ├── firebase_core_platform_interface...
│   ├── firebase_remote_config_platform_interface 1.4.26
│   │   ├── firebase_core...
│   ├── firebase_remote_config_web 1.4.26
│   │   ├── firebase_core...
│   │   ├── firebase_core_web...
│   │   ├── firebase_remote_config_platform_interface...

@minseok-jeong-gn It's a note, not an error.
But yes, it would be nice, if firebase would not use deprecated APIs.
@russellwheatley Any idea when this will be solved? :)

firebase_dynamic_links and firebase_messaging is still showing deprecated warning.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: X:\Pub\Cache\hosted\pub.dev\firebase_dynamic_links-5.5.1\android\src\main\java\io\flutter\plugins\firebase\dynamiclinks\Utils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: X:\Pub\Cache\hosted\pub.dev\firebase_messaging-14.8.1\android\src\main\java\io\flutter\plugins\firebase\messaging\FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

firebase_messaging warning might be fixed with #12580

firebase_messaging updates have now been merged and will go out in the next release. We will not be updating firebase_dynamic_links as it is itself deprecated. If any future deprecations occur, please file a new issue as all the packages mentioned in this thread have now been updated. Thanks 🙏


Information on output

Hey @christinab12 ,
I'm currently testing the tool and was wondering:

How is the area of the organoid calculated? Do you take the length/ width of the bounding box for the elipse area?
Is there a way to assign the organoid ID to the organoids in the original image? I would like to check if outliers make sense or not.

Best,
Theresa
PS: the link to the older version is unfortunately broken :-/

Hi @Theresa-S ,
Thanks for your interest. Here a reply to your questions:

Yes we take the height and width of the bounding boxes to calculate the area of the organoid and approximate that to an ellipse.
Yes sorry about that, this repo has been changed to private, so I will have to change here. Are you interested in seeing the code of the older version or do you need more background info?
"Is there a way to assign the organoid ID to the organoids in the original image? I would like to check if outliers make sense or not" Do you mean that you would like the OrganoidID you get in the features.csv file to be visible also on the image so you can match the organoids in the image to the diameters?

Best,
Christina

Hey Christina,
thank you for your fast answers!
I don't need to see the old code, just some background information so that I understand what the code is doing and what the output actually means.
Yes, you're correct, I would like to match the organoids in the image to the measurements in the csv.
Do you have experience with other organoid lines? Mine are from colon, and while I found the parameter combination to get the best possible result in Napare, I'm not 100% happy with the output. Do you have any recommendations for preprocessing? Or image acquisition for that matter (even though there I'm somewhat restricted)? So far, the only step is calculating an extended depth of field over a z-stack of 5 slices (at 200 µm distance).
Did you try follow-up over time?
Best,
Theresa

Hi Theresa,
In the seconds paragraph of the "Quickstart" section here you can read what the outputs of the tool are.
I don't have much information on the background of the data I'm afraid. Here's what I can tell you:

Our users are working with lung organoids
They also apply the extended depth of focus algorithm as a preprocessing step
They are using a 5x objective and have two types of organoids

To make any suggestions to you (if I were to have any), it would be easier to first see an example of your images.
Our collaborators who are currently using the tool, also need to make corrections on the output around 30-40% of the time. For the them, however, this is still a gain, as before they were counting all organoids manually, and the big benefit is that they now get the size output now for downstream analysis. I'm afraid I do not know if this is being used for follow-ups over time.
The most interesting news for you perhaps is that we are currently working on improving this too (it now uses standard image processing techniques like edge detection and thresholding in the back-end). We are developing a deep learning solution which will hopefully be ready for release by early spring.
Hope this was helpful.
Best,
Christina

One more point I just thought of, for now you could match the organoid ID in the csv file (which gives you the diameters), with the locations of the boxes from the json file (the ids are the same).

Thank you for your replies!
Since I have an existing organoid segmentation pipeline I will wait for the new and improved version :-)
Feel free to contact me if you need an alpha tester.
Best,
Theresa


Error

Anyone can help me to fix it?
Base.lproj/Main.storyboard: error: IB Designables: Failed to render and update auto layout status for FloatyViewController (BYZ-38-t0r): dlopen(Floaty.framework, 1): no suitable image found.  Did find:
Floaty.framework: required code signature missing for 'Floaty.framework'
Swift 4.1
Floaty 4.0.1

This is actually an Xcode/Cocoapods issue (https://github.com/CocoaPods/CocoaPods/issues/7606).
Link to a comment that provides a working workaround: https://github.com/CocoaPods/CocoaPods/issues/7606#issuecomment-381279098

@ilijapuaca thanks so much! solved my problem