Talley Lambert
@talley.codes
890 followers 380 following 44 posts
Microscopist & Python developer at Harvard Med. Creator @fpbase.org
Posts Media Videos Starter Packs
talley.codes
It’s actually neither, it’s np.zer<TAB>
talley.codes
there quite a bit of `@Todo` in my checks still
talley.codes
Excellent! Thoroughly enjoyed.

(And it was cool to learn where the inspiration for your cmap PRs came from 😄… nice integration!)
talley.codes
Just played a bit with ty docs.astral.sh/ty/

I’m drooling anticipating the day when the last slow pre-commit hook (mypy/pyright) falls and the entire check is blazing fast ⚡️💨

Maybe not just yet… but so soon
ty
ty is an extremely fast Python type checker.
docs.astral.sh
talley.codes
ugh. the macos Tahoe border radius is killing me
talley.codes
it was already fun to look around the documentation for cmap (cmap-docs.readthedocs.io)

but @grosoane.bsky.social just added a very cool feature to toggle between color vision deficiencies. Watch your perceptually uniform color maps gain some kinks 😂

as a mild deutan myself, I appreciate it! 🙏
talley.codes
Gotcha. That sounds nice!

I’ve definitely been very happy with gh copilot agent as well, particularly with sonnet 4. my comment was as much about the humorous failure modes :)
talley.codes
Wouldn’t that depend as much (if not more) on the underlying model than the agent extension?
talley.codes
i'm generally thrilled with gh copilot agent recently.
There have been multiple very funny cases though where I have asked it to fix a broken test, and the "fix" came in the form of simply deleting the problematic test 😂

"well ... the tests PASS now don't they??"
talley.codes
I think there’s a good degree of personal preference and subjectivity here. I like magenta here as indicating “danger” more than blue. But there would also be nothing wrong with blue, in terms of visibility
talley.codes
please accept this PR

```
:root {
--bgColor-danger-emphasis: magenta !important;
--fgColor-danger-emphasis: magenta !important;
--bgColor-danger: magenta !important;
--fgColor-danger: magenta !important;
}
```
talley.codes
for you other colorblind coders out there, tired of missing the red X in your github actions logs

.color-fg-danger, .fgColor-danger {color: magenta !important;}
.octicon-x {color: magenta !important;}

you're welcome
custom github css
Reposted by Talley Lambert
dpshepherd.bsky.social
Steven has our Snouty-OPM running again after our lab move. He added projection mode, sensorless AO, and a new control GUI based on @talley.codes + crew's pymmcore-plus/pymmcore-gui. Here are some IF-labeled microglia (orange) in the middle of an uncleared 60um mouse brain slice. No deconvolution!
Immunofluorescence image of a mouse brain slice, with nuclei (magenta) and microglia (orange) shown. Zoomed in Immunofluorescence image from the full mouse brain slice, with nuclei (magenta) and microglia (orange) shown.
Reposted by Talley Lambert
qiatcshl.bsky.social
Our openSPIM is officially up and running to image the latest catch of the day! Fueled by pymmcore-plus & pymmcore-gui! 💪⚡🔬 pymmcore-plus.github.io/pymmcore-plus/ github.com/pymmcore-plu...
Reposted by Talley Lambert
hms-iac.bsky.social
💻 Announcing the Boston Bioimage Analysis Course — BoBiAC!
Join us this July at Harvard Medical School in Boston for a 6-day deep dive into bioimage analysis with Python, hosted by the IAC and CITE.
Apply by May 16th, 2025!
talley.codes
Ah! Were we lucky enough to entice @pawamoy.bsky.social to Bluesky? :)
talley.codes
This document rom the griffe docs is *awesome*. Basically a missing manual on designing the public API for your Python package: extremely well written, with good tips for beginners and advanced devs alike.

mkdocstrings.github.io/griffe/guide...
Public APIs - Griffe
Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.
mkdocstrings.github.io
talley.codes
If you use mkdocs for your python docs, and want quick full API autogen (with navigation) try

github.com/tlambert03/m...

Particularly if you currently use the mkdocs-gen-files/literatenav/custom-script approach
GitHub - tlambert03/mkdocs-api-autonav
Contribute to tlambert03/mkdocs-api-autonav development by creating an account on GitHub.
github.com
talley.codes
Yes, you can just call it, But it assumes you’ve previously set contrast limits, perhaps paid attention to data type, etc… do you have to deal with any of that in microfilm?