Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
you live and learn :)
I for one just yesterday learned that I can install .deb packages using apt-get. 10+ of years of believing I need dpkg for that :) -
@netikras start using apt.
:-) xD
(And no... apt and apt-get are not the same.)
But yeah, small details matter.
By the way: Some tools check the case sensitivity for that reason. -
It has implemented the YesConverter functionality https://devrant.com/rants/1793641/...
Remember when we got rants like that on devrant? -
@IntrusionCM I am. It's a Python-based wrapper (facade) for apt-get.
IDK, I just saw the apt-get install ./some-package.deb line on some tutorial, copied and pasted it expecting for an error (what kind of a moron doesn't know that you use dpkg for that!!! :DDD) and to my surprise it worked. I sat there staring at the output startled by this magic.
And that was all of my encounter with it. Didn't check whether apt supports the same trick (I know that its support for apt-* features was/is growing over time, so there are chances it's not ready for this kind of magic yet, IDK, and I'd rather write this long text about me not knowing it than RTFM :D ) -
@IntrusionCM
Did they already fix their no interactive issues?
I remember using apt in a script not so long ago and getting a warning about using apt -get instead in scripts due to potentially unexpected behaviour. -
What does it mean to be the default? Does it use it if the input is neither N nor Y?
-
-
@netikras
Hot take.
I'm actually against programs doing that. Default should always be no.
Force motherfuckers to actually read what they are doing, or use -y or echo "y" || to be fucking explicit.
Satan knows how many mishaps could have been prevented with that policy. -
@CoreFusionX I used to be all-for it. Then all-against it. Now - it depends on the question :)
-
And I put two pipes like a drunk idiot in a touch keyboard.
Both parts are true.
Please do not slander me.
Today I learned that in Unix/Linux or most command lines, when user is asked to choose an option as [Y/n], the uppercase one signifies the default.
I thought they made it a little harder as a security feature to prevent accidental keypress, and I’m shift+Y ing this for the last eight freaking years!!!!! Every time!
random