sandalbucket
@sandalbucket@lemmy.world
- Comment on How screwed would one be if their email provider shuts down? 5 weeks ago:
For historic emails, you could setup a forwarding rule from the primary to the backup. This would need to be done in advance of course
- Comment on Why is the US not considered a third world country? 5 months ago:
It’s not rocket appliances
- Comment on Hundreds Of Beavers Is A Wild Indie Comedy That’s ‘The Revenant But Funny’ 5 months ago:
This movie was great. It’s an indie movie with a tiny budget, so I went in with low expectations, and it blew them out of the water.
- Comment on LPT Do it. 6 months ago:
Markdown + pandoc means it goes through an intermediary latex template on the way to pdf land - which means your markdown can be a bastardized mix of markdown, html, latex commands, and sometimes more ;)
- Comment on LPT Do it. 6 months ago:
I absolutely love R markdown! Being able to iterate on your analysis and report at the same time is fantastic
- Comment on LPT Do it. 6 months ago:
Had to write a paper in college with 100 citations.
We used zotero for citation management, and it would dump a bibtex file on demand.
The paper was written in markdown, stored in git, and rendered through pandoc. We would cite a paper with parentheses and something resembling an id, like (lewis).
We gave pandoc a “citation style definition”, and it took care of everything. Every citation was perfectly formatted. The bibliography was perfectly formatted. Inline references were perfect. Numbering was perfect. All the metadata was ripped from pdfs automatically. It was downright magical.
- Comment on It definitely *was* a good idea though 7 months ago:
Fortunately, diacontagious (or however you spell it) earth is not very “humane”. It cuts their wax layer as they crawl through it, leaving just enough of a gap that they can’t contain moisture, and they dehydrate / mummify to death.
This fun fact brought me much comfort while I lied in bed, slapping every itch and wincing at every breeze.
- Comment on .rar me 7 months ago:
I’ve been zipping things all day. Because it’s only one blob in the container, and then you can use website_run_from_package, which is just about the only way to get azure functions stood up via infra-as-code.
But whatever unzip thing they use sure isn’t the linux default, because it doesn’t support symlinks. And pnpm uses almost exclusively symlinks, to point to its central package store, so re-installing doesn’t take 8 years like it does with npm.
But that’s fine, because zip will follow symlinks and bake the actual files in, in place - which is pretty slick. But then azure functions package resolver can’t seem to figure out what the hell is going on, because it’s still putting dependencies in node_modules/.pnpm.
So we pass —shamefully-hoist, which is a great name for a flag, which puts all the things at the top level of node_modules, and now zip works, and azure works - but each dependency also comes with its own node_modules, with another symlink to a package that’s already at the top level. So it works, but it’s 10x bigger than it needs to be - 6.4 MB instead of 668 KB.
Fortunately we can use our build script to populate a .npmrc file, and set node-linker to hoisted, at which point pnpm will mimic npm with no symlinks at all - small, efficient, and dumb enough that the azure functions runtime can figure out how to deal with it.
It took me 4 hours to debug this mess.
All that to say, yes, a weighted blanket would be downright delightful right now, but please keep the zip files away from me
- Comment on A bad influence 8 months ago:
I work in cybersecurity. This quote is gold and I’m putting it on our office whiteboard.
- Comment on It's the place to go if 8 months ago:
Love these guys! They really helped me out one time, they can handle anything related to
- Comment on I have unlimited cellular data on my phone but not if I use it as a hotspot. 8 months ago:
TTL in the packet header is 29 instead of 30