« first day (19 days earlier)      last day (3653 days later) » 

12:54
0
Q: Capitalisation of "vi"

RichGeneral opinion seems to be that vi begins with a lower-case V, and general usage seems to be that proper names that begin with a lower-case letter should continue to do so both in title-case contexts and at the start of sentences. So shouldn't the name/headline of this site be vi and Vim?

13:44
Can people add some close voted to this, as it's a duplicate:
2
Q: How to make vimrc settings applicable for a directory tree only

guidoIs there a way to make certain vimrc configuration valid only for files under a defined directory tree? Or alternatively, is there a way to have a .vimrc file in a directory, and make its setting override all $HOME/.vimrc for that directory and subdirectories (and maybe, additional vimrc file in ...

(See comments)
 
3 hours later…
16:40
@Carpetsmoker I like guido's formulation of the question better than yours — it's clearer what he wants.
@200_success Well, one of them should be marked as a dupe
Mine was first, but I don't care if it gets marked as a dupe
You can also edit it, if you want
I've just noticed that @guido accepted a link-only answer, which changes my opinion a bit.
I removed from this question: vi.stackexchange.com/questions/2135/… ... As I see nothing Ruby-specific in the question, this applies to many filetypes...
was borderline and debatable. OK.
Well, you could copy:
But it's really the same answer...
16:51
I'd rather enhance your question then.
17:02
Thanks :-)
17:21
@200_success Did you see this btw?
14
A: Who are our nominees for the moderator positions?

Rich I'd like to nominate @200_success. I'm too lazy to go into as much detail as he did in his nomination of @Carpetsmoker, but the effort that he put into that post is actually a great example of why he'd be a good moderator. I've seen his name popping up all over the main site, and the fact t...

17:39
I've been watching closely. Oddly, there hasn't been a clear consensus emerging for the 2nd and 3rd choices. I'm assuming that we're choosing three moderators.
Okay :-) Doorknob mentioned he didn't notice his nomination, and you didn't reply so I wondered if you even noticed it
 
1 hour later…
18:45
Thanks, but I don't think I have the time right now to devote to moderation of another SE site. So I am going to to have to decline. — Josh Petrie 26 mins ago
@200_success So that's one person off the 2nd/3rd list.
19:00
Thanks for the nomination and for all your support. At this point, I think that the community would benefit more if we let some fresh faces develop their moderating talent. The site should be in good hands with Carpetsmoker, Doorknob, and muru. — 200_success 23 secs ago
4
Q: How do I find my way in Vim's documentation?

romainlVim's documentation is overwhelming. How do I find what I'm looking for?

That has a nice self-answer, but the question is much less nice.
I can't come up with a way to reword it. (Lack of sleep last night isn't helping. Thank you CVE-2015-0240).
19:29
@derobert Real sysadmins can patch all night and still be fresh in the morning to answer silly questions from users.
@derobert Re: the question ... IMHO this would be a good community wiki...
19:51
Not to mention the unreal-sysadmins.
@Carpetsmoker Not before they've had their morning tea (or coffee). And real sysadmins answer silly questions from users with an appropriate LART.
@Carpetsmoker Not really. It looks basically complete—it's not something that the community needs to help finish and keep updated.
:-)
Speaking of sysadmins, here's a nice one from the "developer turned sysadmin who doesn't really know what he's doing"-department that I encountered last week:
COUNT1=$(/sbin/pidof httpd | wc -w)
COUNT2=$(/sbin/pidof php-fpm53 | wc -w)

if [ "$COUNT1" -gt 10 ] || [ "$COUNT2" -gt 40 ]; then
/etc/init.d/httpd restart
/etc/init.d/php-fpm53 restart
fi
Strangely, the machine was sometimes unresponsive...
20:18
4
Q: How do I navigate to topics in Vim's documentation?

romainlIn Vim's built-in help system, how do I… search for topics that I want help on? follow hyperlinks? browse around for related material?

Better?
@Carpetsmoker Developers and sysadmins should both know that there's a better solution!
@Carpetsmoker wow....
@200_success yes, better.
@200_success I agree ... The || is really not required an unnecessarily spawns a new test command; it should have used -o.
The customer's company has idiots in their name (kid you not), so well ...
I mean that directives such as ServerLimit should prevent such a mess to begin with.
And if things are really messed up, a tool like monit should automate such scripts.
20:47
I just lowered the php-fpm process limit from 100 to 10. Problem solved.
Still, not the craziest thing I've seen
There was this one question on SO where this guy was running some hacked Wordpress weblog thingy, and it "kept creating files", so he asked for a cronjob to remove the files every 5 minutes
When some people pointed out this was probably not the best way to solve this, he got rather unfriendly :-/
Found it!
10k peeps only
@Carpetsmoker That's a bash-ism. Also, in bash, isn't [ a builtin? So there isn't actually another process.
(lots of comments were removed)
I thought -o was POSIX?
@Carpetsmoker That is indeed special.
@Carpetsmoker Errr... let me check.
@Carpetsmoker "The functionality described may be removed in a future version of this volume of POSIX.1-2008. Strictly Conforming POSIX Applications and Strictly Conforming XSI Applications shall not use obsolescent features."
... so it was an XSI extension, and is obsolete.
20:56
What? POSIX deprecating something?! shock
hm, okay
Ah well, I just program my script iin csh
(that was a joke)
@Carpetsmoker I should hope :-)
I do happen to use tcsh as my shell, though ...
So I do some csh scripting in my ~/.tcshrc and such
user4704
21:35
Bash all the way, yo.
21:59
All shells suck. They're all full of legacy nonsense and stupid syntax, and the only one I know that doesn't (fish) is weird
user4704
22:35
Yeah I tried fish for a bit.
user4704
It seemed a little weird. And I recall there being one niggling thing that bugged me about it that I couldn't figure out how to configure so I quit using it. Also it required installation.
user4704
I generally try to use only the shells available by default on any given system.
23:00
You could pop in to the Unix chat and if the zsh folks convince you to switch...

 /dev/chat

General discussion for unix.stackexchange.com. If you have a q...
23:14
It's too much effort, and tcsh works "good enough"
Compared to tcsh, I suppose it might be too much effort. MIgrating from bash to zsh, OTOH..
in Unix and Linux, Jan 12 at 21:54, by Stéphane Chazelas
@FaheemMitha AFAIK, neither Gilles nor I (or any sensible person I know, though that may be down to my definition of sensible ;-) use bash as his interactive shell.
I dislike zsh for the annoying message when you start it
What annoying message? O.o
You need this stupid ~/.zshrc to make it shut up
:D But if you don't make a zshrc and enable all its awesomeness...
You might as well use dash..
23:19
If you only use zsh occasionally to test something for compatibility it's annoying
Just add a compinit line. :)
I did look into zsh settings, and even a basic setup looked very very ugly IMHO, it's like all the ugliness of sh-syntax with more zsh-specific ugliness bolted on top
At least csh has a sane syntax ... Too bad the parser stinks :-/
Writing a saner shell is on my 'todo-llist'...
... and has been for a while ... :-/
As long as it has zsh-awesomeness, count me in for testing. :P
I don't know what "zsh-awesomeness" is
It's autocompletion, a lot more free-er syntax
plus, I got a plugin for syntax highlighting
for i in {1..10}; echo $i - works in zsh
23:33
So If I do:
:!gitk %
And forgot to add a & at the end
Is there any way to make it go to the background after the fact? (like ^Z bg in the shell)?

« first day (19 days earlier)      last day (3653 days later) »