Does anyone know how to reliably use Firefox from command line to take screenshots? It used to work well a few years ago but now it does not. For one, it asks that Firefox is already running and I need to kill it. This is surprising -- why can't two Firefox processes run at the same time?
It is whining about the shared use of your main profile directory. You can give it a temporary profile directory to more clearly express your intentions via "--profile=/tmp/$(uuidgen)" or similar. I'd guess you could even just straight up point <<env HOME=$(tmpdir) firefox --screenshot...>> for even stronger isolation
The CLI has long had `-noremote` for a long time to tell it you want a second Firefox. It's useful with `-ProfileManager` or `-P $profileName` for multi-profile workflows, which are out of fashion this decade, especially with Multi-Account Containers being able to do most of those workflows in the same browser window now with different tags. But some of us still have ancient profiles for ancient reasons and ingrained habits regarding them.
(You don't have to create and destroy a profile directory every time, but it's cleaner to do that way and you need one per instance you're going to run anyways)
I wonder if there's a support element that would have obstructed the field of view over a narrow angle. This has been the cause of automobile accidents when cars approach at just the correct speeds to keep the other vehicle behind the pillar at the side of the windshield.
That's neat! I turned it into a one liner `rm todays_nyt.pdf; wget -q "https://static01.nyt.com/images/$(date +%Y/%m/%d)/nytfrontpage/scan.pdf" -O todays_nyt.pdf && open todays_nyt.pdf
`
make the difference between successful and unsuccessful projects. Huggingface has nice (in a certain sense) tools for training and doing inference on small LLMs but is a train wreck when it comes to model selection and preprocessing. (To be fair a few years back I tried developing a general purpose trainer that worked for bigger models that scikit-learn would handle but did the model selection and preprocessing well and didn't like the answer I got)
Trees are naturally efficient at sucking down vast amounts of carbon dioxide from the air, but they release the carbon again when they die and rot on the ground. Sequestering trees underground could prevent this. If biomass burial works as well as hoped, it may provide a relatively cheap and easy way to pull down some share of the billions of tons of greenhouse gas that studies find may need to be removed to keep global temperatures in check in the coming decades.
This is a truly great idea. Putting great gobs of biomass and safely sequestering it underground is revolutionary. We'll need to put it deep enough that it won't decompose and we'll also meed to find a way to pressurize it to maximize the volume and prevent moisture intrusion. We probably want to put it near desserts where the naturally arid conditions will hasten the process of compaction. Perhaps we can get the Arab Countries on board?