Going opt-in instead of opt-out does not change the fact that I would still have to toggle the features manually.
To be more specific, my use case is that I have a program to control cameras in my lab. But not all computers have the libraries for all cameras. So, every supported library can be enable/disable using a feature
But the program being still in active development, I am frequently using cargo run
, cargo check
, cargo install
, on different computers with different libraries installed.
What would be convenient would be to have a configuration file on each computer, specifying that we will build only for PCO camera on this computer, only for Photometrics camera on this one, only Ximea and PCO on this one, instead of having to remember to toggle the relevant features every time.
A shell script is not very convenient because I use different commands, run, check, install etc.
This would look like it would be what I am looking for, but the documentation of the configuration file does not mention features.
Thank you very much for your reply. I have tried the approach you explain in your blog post, and it works. Your blog post is useful and clearly written !
Fascinating. I heard something similar with particle pollution in big cities.
I am not advocating for violence. However, it is not historically acurate to say that violence has no benefit. As a matter of fact, I can think of instances in the 18th, 19th and 20th century where violent protestors obtained rights or the end of some kind of oppression. I am not sure I can think of even one instance where anyone got anything without some kind of violence (or destruction of private property), even in the 20th century (there was violence in the May 1968 protests, or in the 1936 strikes, etc). The term “sabotage” itself has something to do with workers destroying the workshops by throwing their shoes (called “sabots”) into the machine.
Riots like these are what you get when you prevent any other forms of protests: banning protests (illegal but by the time you get through court to get the ban lifted it is too late), making unions and strikes irrelevant by never ever yielding, preventing votes in the National Assembly using pressures on MP and all that the means that our constitution allows to bypass parliament, even though there is no clear majority for whatever you are doing, forcefully removing peaceful protestors, etc There are reasons why unions was good for everyone, elite class included, they allow peaceful resolution of conflict. If you remove all peaceful avenue, there will be people going into the not peaceful avenue.
I am a scientist myself, and I know what the HCERES says about his institute, and also that his institute no longer had support of the CNRS, which is telling considering that the CNRS only very rarely make such moves, as well as editors no longer accepting his papers leading him to create his own self serving journals. My issues with him are his lack of scientific rigor and lack of scientific ethics. Unfortunately, he’s staining the community as a whole, even though he lost support of several scientific institutions long before the Covid.
This guy is a shame for us all, French academics… sorry World, please know we’re not all frauds….
I don’t know which ingredients are required but I don’t think they had tomatoes at that time. Wasn’t they discovered in the new world?
Ok, I’ll look into that then. Thanks.