mdsumner
mdsumner.bsky.social
mdsumner
@mdsumner.bsky.social
maxing the pixels to glow

meshes, R, Python, GDAL, virtual Zarr, coordinate systems, southern ocean research

hypertidy.org
Reposted by mdsumner
So it’s not my pipeline that is burly, it is my expertise 💪
bsky.app/profile/morg...
This is {targets} week for me bc I need to manage a burly pipeline.

Monday: started small & able to make it work

Wednesday: realized there are so many support functions it makes more sense to write a package for them 🤦🏽‍♀️

Thursday: easily used my 📦; leveled up with {tarchetypes} to iterate steps
November 8, 2025 at 1:53 PM
Reposted by mdsumner
This is {targets} week for me bc I need to manage a burly pipeline.

Monday: started small & able to make it work

Wednesday: realized there are so many support functions it makes more sense to write a package for them 🤦🏽‍♀️

Thursday: easily used my 📦; leveled up with {tarchetypes} to iterate steps
November 7, 2025 at 12:41 AM
Reposted by mdsumner
Oh thanks, yeah tar_older is new to me, that's handy!
November 7, 2025 at 11:48 AM
tar_invalidate + tar_older is working for me! 👌
November 7, 2025 at 11:18 AM
actually it does work how I expected, just not within tar_assign, so I'll go back a bit

really appreciate your feedback and example!!
November 7, 2025 at 11:15 AM
I might be overthinking, I think a regular task that invalidates the target is what I want, it's a separate process
November 7, 2025 at 10:52 AM
so, I think I understand - you must use this check and tar_invalidate() *outside of _targets.R*, so it becomes part of a routine script that runs (not encapsulated within a tar_make() step) ? I think :)
November 7, 2025 at 10:41 AM
I can't see how to use it, because the initial record can't invalidate itself, so never updates ??
November 7, 2025 at 10:39 AM
Reposted by mdsumner
Make n high enough and you’ll get the famed ‘stack overflow’. I think its about 10000. That’s why you don’t see it in the wild.

However there is s technique to avoid the overflow, see Tailcall().
November 6, 2025 at 8:36 PM
I was amazed to find this just works in C and Python too, I had thought it was somehow restricted to "lispy" langs
November 7, 2025 at 9:12 AM