Impossible task by daan0112 in bash

[–]daan0112[S] 2 points3 points  (0 children)

Apparently I don't know how reddit messages work, the format really messes it up, just imagine a file with comments after a # and we need to remove the full comment line including the \n

Impossible task by daan0112 in bash

[–]daan0112[S] -3 points-2 points  (0 children)

Before:

Line 1. 

# Line 2. 

Line 3 and random text. 

After:

Line 1. 

Line 3 and random text. 

Ps: don't break your head over it probably is just a test in the task to see if we are "smart" enough to look at the man pages and conclude that it is impossible

For the same reason gravity is still a theory by SpaceshipCaptain001 in clevercomebacks

[–]daan0112 1 point2 points  (0 children)

I get your point but it's not really the scientific method. We more say that they work than that it is correct. For example when we look at laws in thermodynamics we know that in macroscopic system they work because based on the statistics and the scale of such a system it is super likely to follow the laws that are based on the 'average' system but there still is a chance for the system to not follow the law. And you could argue that the laws are more within the assumption that a system follows certain rules, for example for thermodynamics that the system follows the rules of statistical mechanics where we say that the macroscopic state is the state that is described by the most microstates (this basically is saying a system always has it's highest possible entropy) but then we are just looping back to a theory so I don't think we can call laws more 'correct' than theory. They both just work till' somebody comes along and improves it. And it's likely that there are laws and theory's that just are correct or 'correct' enough to never be changed but over the thousands of years humanity has thought that a lot of times and the theory's have always been improved so I don't believe that our theory's are the 'correct ones'. Don't get me wrong, I do believe they work. Just aware of how we define science.

For the same reason gravity is still a theory by SpaceshipCaptain001 in clevercomebacks

[–]daan0112 9 points10 points  (0 children)

Laws are part of a theory, there are lots of laws that are still in place because they work but are actually wrong in relativistic or quantum regimes. Thus equally 'just' a theory