Better HN
topnewbestaskshowjobs
Log inSign up

el_pa_b

66 karma · joined Apr 24, 2024 (2y ago) · 19 submissions

Submissions

1.

Show HN: A self-hosted collaborative viewer for pathology slides (Rust, WebGL2)(github.com ↗)

3 points · by el_pa_b · 10mo ago · discuss

comment 10mo ago · link · parent

I'm curious about the "core logging" photo. Where can I find one? Do you have an implementation of your solution? I would be curious to have a look at it.

comment 10mo ago · link · parent

Nice!

comment 10mo ago · link · parent

Thanks for sharing! I agree that newer scientific formats will need to deeply think about how they are deciphered directly from cloud storage.

comment 10mo ago · link · parent

Yes, they can be huge, and for modalities like multiplex immunofluorescence with up to 20 channels, you're often dealing with very faint proteomic signals. Preserving that signal is critical, and compression can destroy it quickly.

comment 10mo ago · link · parent

Yes, I agree. I'm not persisting the WSI locally, which creates a smoother user experience. But I do need to transfer tiles from server to client. They are stored in an LRU cache and evicted if not used.

comment 10mo ago · link · parent

Currently we only support TIFF and SVS with JPEG and JPEG2000 compression formats. I plan on supporting more file extensions (e.g. NDPI, MRXS) in the future, each with their own compression formats.

comment 10mo ago · link · parent

As data scientists, we usually don't get to choose. It's usually up to the hospital or digital lab's CISO to decide where the digitized slides are stored, and S3 is a fairly common option.

That being said, I plan to support more cloud platforms in the future, starting with GCP.

comment 10mo ago · link · parent

Yes there is a requirement to work with the vendor format. For instance, TCGA (The Cancer Genome Atlas - a large dataset of 12k+ human tumor cases) has mostly .svs files (scanned with an Aperio scanner). We tend to work with these formats as they contain all the metadata we need.

Sometimes, it happens that we re-write the image in a pyramidal TIFF format (happened to me a few times, where NDPI images had only the highest resolution level, no pyramid), in which case COGs could work.

comment 10mo ago · link · parent

When WSI are stored on-premise, they are typically stored on hard drives with a filesystem. If you have a filesystem, you can use OpenSlide, and use a viewer like OpenSeaDragon to visualize the slide.

WSIStreamer is relevant for storage systems without a filesystem. In this case, OpenSlide cannot work (it needs to seek and open the file).

comment 10mo ago · link · parent

Thanks! Indeed, digital pathology, satellite imaging and geospatial data share a lot of computational problems: efficient storage, fast spatial retrieval/indexing. I think this could be doable.

As for digital pathology, the field is very much tied to scanner-vendor proprietary formats (SVS, NDPI, MRXS, etc).

12.

Show HN: Streaming gigabyte medical images from S3 without downloading them(github.com ↗)

161 points · by el_pa_b · 10mo ago · 48 comments

comment 10mo ago · link · parent

I'm using this setup as well, and I've been as far as writing a small Telegram bot to send input to Claude when it's stopped running via a Stop Hook

https://github.com/PABannier/claude-telegram-bot

14.

Show HN: I built a distributed key-value store in Rust (~2K LOC)(github.com ↗)

1 points · by el_pa_b · 1y ago · discuss

comment 2y ago · link · parent

Thank you!

comment 2y ago · link · parent

Hello!

I ported Suno AI's Bark text-to-speech model in C/C++ to allow fast, realistic, multilingual audio generation on the CPU.

Generating a 5-second audio with vanilla Bark takes 1 minute on a M1 Pro CPU. Using my port in C++ with ggml, it goes down to 15 seconds.

I aim to bring it down to a second to allow on-device real-time audio generation.

17.

Show HN: Bark.cpp, fast TTS model for multilingual realistic audio generation(github.com ↗)

3 points · by el_pa_b · 2y ago · 3 comments