Hacker Newsnew | past | comments | ask | show | jobs | submit | tyrmored's commentslogin

Keep in mind that you can run it on both ports; you can specify the Port option twice in sshd_config:

Port 22 Port 443


Yes, I think you've nailed it. See my own reply to this comment.


The time you can save with Vim can be significant, depending on the task. However what I think is far more valuable is that Vim doesn't get in the way; it doesn't impede the all-important "flow", and perhaps most importantly it stops you getting bored.

When your muscle memory develops to a certain point, using Vim becomes a subconscious thing. You don't have to think about how to copy all the text in between two quotes and paste it at the end of the document; there are already words in Vim's vocabulary for doing that, so you just do it. You don't need to build mental steps because it becomes completely natural, as easy as typing natural English; and just like in natural language, the more words you know well, the more likely you are to be able to use the right word at the right time, using language effectively.

Equally valuable: Vim takes the repetition out of everything. A technically versed creative mind is wasted on any repetitive task. You should never, ever have to do anything more than twice in development. You should be able to repeat and automate tasks and scarcely think about it. In Vim, this need is met by skilful use of . to repeat actions and q to record macros.

When you edit text optimally, you can concentrate on the task at hand, and the editor stays out of your way and does exactly what you need it to. You don't need to build the "subtask" of making your editor do what you want; you can just do it. I think that people who focus on the time Vim does or doesn't save you are missing the point.


A technically versed creative mind is wasted on any repetitive task.

I find that certain repetitive tasks help free my mind up to wander around, think more abstractly about my code.

What's important to me is that my tools give me a choice about this.


If nothing else this might help put the kibosh on the intensely annoying way Facebook users tend to use cutesy fake names so that you don't know who the hell they are when they comment on your posts.


Or you could unfriend people you don't like to hang out with on Facebook.


I'd rather have Facebook fix the problem.



The original comic is quite entertaining (if you don't mind silly/inappropriate humor). It's called "QA Confidential", and tells the story of how to get a job in QA and milk it for all it's worth. It was written during the heyday of the dot-com boom and nicely captured some of its irrational exuberance.

http://leisuretown.com/library/qac/


cgdb is a nice visualization frontend too: <http://cgdb.github.com/>;


And for the die hard Emacs users there's: http://emacs-fu.blogspot.com/2009/02/fancy-debugging-with-gd...

I generally try to refrain from bringing up Emacs in threads that have nothing to do with it (since Emacs does everything) but I was pleasantly surprised by its gdb support and I have used it extensively in the past.


How does this compare to gdb TUI? For the most part I find TUI adequate but I'm always open to alternatives.


This is a problem that libetc is supposed to help solve: http://ordiluc.net/fs/libetc/


That’s nice, shame it’s not maintained. On the other hand, one the goals of XDG is to differentiate between application cache, actual settings etc. If FooApp stores 2GB cache file in .foo, redirecting it blindly to .config just makes my backups that much harder.


It also begs the question, why it was named "etc" :)


You can ask this question for most of unix. Why /etc? Why /bin and /usr/bin? (Answer: At one time hard disks were very small and crashed a lot), why do we presume screens are black and white, etc, etc.

Try to change any of it though, and a lot of luddites will come out screaming bloody murder. It's just not UNIX if it makes sense.


The origins of /etc are lost in history. Wikipedia [1] says that at Bell Labs /etc was pronounced "et caetera," and contained files that didn't belong elsewhere. And it had the advantage over conf or misc that it was only 3 letters.

[1] http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard


Maybe the alternative was "..." :)


I'm guessing it's because /etc contains configuration files and dot-files are just configuration files. Or do you mean, why was /etc named etc?


For the latter, a lazy copy/paste from Wikipedia:

"There has been controversy over the meaning of the name itself. In early versions of the UNIX Implementation Document from Bell labs, /etc is referred to as the etcetera directory as this directory historically held everything that did not belong elsewhere (however, the FHS restricts /etc to static configuration files and may not contain binaries)."


I think they meant the latter. Why is it /etc instead of, perhaps more obvious, /config or /settings?


If it was meant for configuration - probably it would've been - /cfg /ini /set /opt /flg /arg /prm (params)

As someone said - naming things is the hardest!


my de-obfuscation attempt:

etc > e.t.c > edit to configure.

the .rc suffix has a nice history btw


What's the history of that?


Legacy of the runcom shell that let's you record sequence of commands.

http://en.wikipedia.org/wiki/Run_commands


    :Vex


The cloud is no match for the cloud!


haha


Good old Perl Pie!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: