CRB 17-Feb-2014
A talk about when you might choose a langauge other than ruby.
A talk about using golang's concurrency primitives to build up a complex chat room application that includes AI.
Refactoring code that your devops wrote.
This talk would be more of a performance-art piece. What I think is interesting here is that one simple text file can kill CMM productivity for an afternoon. Does that translate to talk-form?
How to take ownership of someone else's code base.
This idea is half baked, but I was just thinking about what I do when looking at someone's code.
- Open VIM and
:r !tree -f
- Start at the top level test and then walk down through the routes -> controllers -> models
- Run ctags
I've see you dig right into the unit tests. There might be something interesting here.
Basically a summary of what we've been doing for Ryan/Zach/Dr. Ryan. Would end up being a really similar talk to "It's your problem now".
If we do this one, I want to challenge the audience. I bet we can promise them that every single person will learn something new. Also we would need to find a way to make it engaging, even if you're not a true believer. Perhaps we could make some kind of game out of it, or tell a story?
Vanilla VIM only. No plugins.
I know not everyone uses VIM at CRB, so this would need to have a slight 'why you should use VIM' slant. Just a touch.
-
VIM and the commandline, VIM's secret weapon
-
:r !tree
-
:w !pbcopy
-
git diff | vim -
-
Mapping leader keys
-
:map <leader>t !rspec %<cr>
-
:map <leader>r !touch tmp/restart<cr>
-
Going places
-
using
^Wgf
to open files -
The jump stack
^I
and^O
-
*
and#
and%
-
^6
-
f
andF
and;
-
^O
-
^[
in insert mode -
Omnicomplete
^N
,^P
-
CTags Integration
-
^T
,^[
,^[
-
The quickfix
-
filename:linenum:comment
-
cg quickfix.out
cw
-
cex system('ack something
) -
Command mode and Searching
-
q:
and^F
-
q/
-
%
,^R%
-
^R^W
,^R^A
-
Tab and Window Management
-
vsp
,sp
^W
-
:map <leader>r :bel new \| setl bt=nofile \| r !bc your_file <cr>
-
Visual block mode
-
^V
I
-
Replacing text
-
s
-
r
,R
-
xp
-
d
-
c
-
~
-
Opening a document from the web
-
:e http://www.google.com
-
Trailing whitespace is shitty
-
set listchars=trail:💩