imgtore.blogg.se

Thefuck terminal plugin
Thefuck terminal plugin











The example question is also part of the prompt In this case lsof -i returns nothing while ss -nltp returns the information that the port is listened and only cannot tell by which process because of missing permissions. it does not work if the listening process is from another user (if lsof is not run by root). How many processes does 'lsof -i tcp:443` return? 20. Which process is running on port 443 on my desktop? None. it returns any process connecting to this port not only the listening one. It is also inferior for the requested task because

thefuck terminal plugin thefuck terminal plugin

I would say the chances that lsof is installed are significant smaller than ss or netstat The example in the project readme is imo already a bad example. (it always surprise me how many unquoted variables exist in most shell scripts quoting fixes many problems, doesn't hurt and still developers are often to lazy to do it)

#Thefuck terminal plugin code#

So later on we were having a major emergency call to figure out what could possibly be causing this extremely serious major bug and I said well I was looking through the code and you could see him manfully controlling his exasperation because hey, Bryan is not a Java guy and there is zero chance I could have a meaningful contribution to the current problem.īut yes it turned out he had trustingly pasted in code that we all agreed would never have worked (without caring to basically even read it), which despite the fact that in many ways this guy was better than me is something I would never, ever have done because I am a really hyper-paranoid guy about trusting code.Īnyway tldr, I would never use this tool but maybe some really skillful people would because they don't have the paranoid mindset.īash / Shell is one of the last things I would trust a typical AI considering how much bad shell code/examples exist out there.

thefuck terminal plugin thefuck terminal plugin

I was done with some little task I was on and decided to look through code changes and it really stood out the code he had pasted because if it worked that would mean Java was some magic language with incredibly terse code. He worked home a day he could really focus on debugging and finding what could possibly have caused our systems to fail! So one time he got some code from the senior backend Java developer in Argentina and went to past it into the place he was told to paste it into for sending alert notifications to customers, some months later we are going through a major crisis because alerts have not been working for several months and all the customers who are paying thousands per month for the service are getting pissed. This makes me think of a really great developer I worked with one time who had one major failing, he was too trusting.











Thefuck terminal plugin