mdsumner
@mdsumner.bsky.social
maxing the pixels to glow
meshes, R, Python, GDAL, virtual Zarr, coordinate systems, southern ocean research
hypertidy.org
meshes, R, Python, GDAL, virtual Zarr, coordinate systems, southern ocean research
hypertidy.org
Reposted by mdsumner
The camcorder package helps. Check this out from @rfortherestofus.com :
rfortherestofus.com/2024/09/prev...
rfortherestofus.com/2024/09/prev...
How to preview plots at specific dimensions in RStudio
Learn how to preview plots in RStudio with exact dimensions using the ggrecord() function from the camcorder package, ensuring consistency with ggsave().
rfortherestofus.com
November 8, 2025 at 4:46 AM
The camcorder package helps. Check this out from @rfortherestofus.com :
rfortherestofus.com/2024/09/prev...
rfortherestofus.com/2024/09/prev...
Reposted by mdsumner
So it’s not my pipeline that is burly, it is my expertise 💪
bsky.app/profile/morg...
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
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
So it’s not my pipeline that is burly, it is my expertise 💪
bsky.app/profile/morg...
bsky.app/profile/morg...
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
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
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
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
Reposted by mdsumner
Oh thanks, yeah tar_older is new to me, that's handy!
November 7, 2025 at 11:48 AM
Oh thanks, yeah tar_older is new to me, that's handy!
tar_invalidate + tar_older is working for me! 👌
November 7, 2025 at 11:18 AM
tar_invalidate + tar_older is working for me! 👌
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!!
really appreciate your feedback and example!!
November 7, 2025 at 11:15 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!!
really appreciate your feedback and example!!
Reposted by mdsumner
Not sure tbh — the last pipeline I wrote (github.com/360-info/cli...) mostly used file targets!
GitHub - 360-info/climate-projections-narclim15: A reproducible pipeline to calculate extreme temperature indices from daily NARCliM1.5 climate projection grids.
A reproducible pipeline to calculate extreme temperature indices from daily NARCliM1.5 climate projection grids. - 360-info/climate-projections-narclim15
github.com
November 7, 2025 at 11:04 AM
Not sure tbh — the last pipeline I wrote (github.com/360-info/cli...) mostly used file targets!
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
I might be overthinking, I think a regular task that invalidates the target is what I want, it's a separate process
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
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 :)
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
I can't see how to use it, because the initial record can't invalidate itself, so never updates ??
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().
However there is s technique to avoid the overflow, see Tailcall().
November 6, 2025 at 8:36 PM
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().
However there is s technique to avoid the overflow, see Tailcall().
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
I was amazed to find this just works in C and Python too, I had thought it was somehow restricted to "lispy" langs