News for hackers. Stuff that matters.
Re:Dear Programming Job Applicants (2010) by SOLAR_FIELDS on Saturday May 18, 2019 @05:31AM (#19946521)
It’s kind of weird to NOT know basic vi/vim if you get to a certain point in your career. If you can’t at least open the software, go into insert mode, and save/quit, have you ever had to ssh into a remote server and edit a config file before? Only excuse I could think of is if you literally did everything in windows for your entire career.
Re:Dear Programming Job Applicants (2010) by leadingthenet on Saturday May 18, 2019 @05:40AM (#19946548)
Yeap. Even the hard-core Emacs fanboys at my work know a few basic vi/vim commands. I mean, you're almost certainly going to use it at some point in your career, might as well learn "i -> type something -> :wq" at the very least.
Re:Dear Programming Job Applicants (2010) by frutiger on Saturday May 18, 2019 @07:06AM (#19946776)
Don’t forget the <ESC> or ^] to get back into normal mode.
Re:Dear Programming Job Applicants (2010) by rzzzt on Saturday May 18, 2019 @07:26AM (#19946832)
I have mastered, in addition to the above, the skill of "dd" to delete an entire line and "q!" if you want to abandon any changes and quit.
Re:Dear Programming Job Applicants (2010) by izacus on Saturday May 18, 2019 @08:08AM (#19946958)
Is it? There's plenty of amazing engineers and systems architects who develop (gasp!) on Windows and don't even use command line. And many many of those have designed highly reliable systems driving your basic infrastructure, power plants, industrial systems and myriad of other systems. Why on earth is knowing an old editor connected to anything useful you need from a person in a job?
Re:Dear Programming Job Applicants (2010) by AdrianB1 on Saturday May 18, 2019 @08:41AM (#19947083)
Honestly I don't know a single good Windows guy that don't even use command line, there are basic things like ping, tracert, curl and openssl that you run in a command prompt. This is assuming you can get around using powershell.
Re:Dear Programming Job Applicants (2010) by scarface74 on Saturday May 18, 2019 @09:11AM (#19947206)
Ping and tracert sure. But curl? I’ll use Postman for quick sanity checking and I’ve never had a reason to use OpenSSL
Re:Dear Programming Job Applicants (2010) by npstr on Saturday May 18, 2019 @05:39AM (#19946540)
What's wrong with using nano for that?
Re:Dear Programming Job Applicants (2010) by MayeulC on Saturday May 18, 2019 @05:47AM (#19946562)
> It's everywhere.

It almost litterally is. Even busybox contains a vi clone. While I have encountered more systems without nano nor Emacs than I can remember. Plus, there is no excuse for learning the basic set of commands: i,ESC,x,u, and maybe navigating with the letters (which I'm not proficient at).

Re:Dear Programming Job Applicants (2010) by GordonS on Saturday May 18, 2019 @05:59AM (#19946597)
I only have to edit a file on Linux once every couple of months of so - I tired of forgetting how to exit vi (or enter/exit edit mode, save the file... just about anything really), so started installing nano as the first thing I do on any system. Nano is so much more obvious than vi.
Re:Dear Programming Job Applicants (2010) by nemetroid on Saturday May 18, 2019 @06:19AM (#19946651)
Most people can't install arbitrary software on every system they access.
Re:Dear Programming Job Applicants (2010) by MayeulC on Sunday May 19, 2019 @09:09AM (#19953112)
This exactly. I am pretty sure that if you gain [adb] shell access inside of an android recovery partition (as a random example), you have read-only access to the system, with only busybox at your disposal. Thus vi, but no nano.
Re:Dear Programming Job Applicants (2010) by GordonS on Saturday May 18, 2019 @06:00AM (#19946604)
Also, there's a reason why there are so many "can't quit vi" memes.
Re:Dear Programming Job Applicants (2010) by loopbit on Saturday May 18, 2019 @08:27AM (#19947035)
Reading the comments about vi... Am I the only one that knows/uses ZZ to save and quit?
Re:Dear Programming Job Applicants (2010) by MayeulC on Sunday May 19, 2019 @09:12AM (#19953124)
As I tend not quit vi that often compared to the time I spend inside, I prefer to use the more explicit version. I have made some mistakes in the past typing `^X-O` in nano instead of `^X-N` because of muscle memory, thereby overwriting a file I didn't want, and I am afraid of repeating this if `ZZ` became part of my muscle memory.
Re:Dear Programming Job Applicants (2010) by saagarjha on Saturday May 18, 2019 @06:39AM (#19946694)
vi is enshrined in POSIX; nano isn't.
Re:Dear Programming Job Applicants (2010) by noir_lord on Saturday May 18, 2019 @06:31AM (#19946676)
Been using Linux since the 90's and opening, editing and saving is exactly what I know in vi.

All that does is remind me that I haven't set nano as the default editor on that box and then I move on.