See It In Action
Apparently, in 2008 Rails switched to github. I see that pretty clearly :)
STC usually only works in the summer. Sometimes Adam tweaks things during the year. Some people import more libraries than others.
Getting it working
I have a full gist that describes how I set it up; just a quick summary here.
I cloned this, and set up the prerequisites according to the README:
This commit broke everything for me, so reverted it. I don’t know enough python to come up with a better solution, but I put a note on their wiki page
Then I ran the command
code_swarm in the directory of my project.
Beautiful video appeared!
Getting Video Out
Then I edited the .config file (after running it once) so that it would record frames
# Save each frame to an image?
Then I followed these instructions to create the video (using ffmpeg, because that’s what I had already): http://code.google.com/p/codeswarm/wiki/GeneratingAVideo
ffmpeg -f image2 -r 24 -i %05d.png -sameq ./out.mov -pass 2
Built-in command for video
It looks like there’s a command
code_swarm_video that would generate a
video more easily, but it requires
mencoder which I never got working.
Would this be easier if I just got mencoder working? Or would it be better to write-in a ffmpeg alternative?
Casey Watts! studied neurobiology at Yale University, and he is a co-author on several neurobiology papers. He has also worked in software development for 10 years, including at Heroku. Casey is an independent author based in Washington, DC.
Casey is the author of Debugging Your Brain. This book brings together two parts of Casey's background: psychology and software development.
Debugging Your Brain (DYB) is a clear applied psychology book and a concise self-help book. Whether or not you have a technical background, you will find the software development analogies approachable and insightful. You will likely reference and re-read DYB many times, each time discovering new insights.