# Saturday: projects, reading, markdown notebook-technology

Greatly enjoyed seeing this perspective on power laws (Stumpf & Porter, 2012) Or as Richard McElreath put even more concisely,

People get amazed by power laws but never by normal distributions. Seems like some max ent outcomes astonish while others don’t. When so many mechanisms aggregate to common densities, I’d hope we’d stop trying to argue that we can go backwards from pattern to process so easily.

## Projects

• fishbase example query for Peter
• Commit edits to warningsignals paper, send to Alan.
• Things to show in warningsignals vignette/appendix: Increasing data improves estimates. Improves for autocorrelation

## some R tricks

Moved this one to a separate entry, see Elegant & fast data manipulation with data.table

I always forget how to do this. [gist id=1805250]

## Some plugin notes

Tried writing this in markdown, using markdown-quicktags plugin. Seems to work with most of my short-codes but creates trouble with the equations. The “render” option converts the escaped brackets used by mathjax into html symbols. It also seems to convert symbol inside the equations, even when inside shortcodes instead of bracket notation. Filed error

Render stores the post source as html. Need to render or post will display markdown instead of formatting. A different option is plugins that convert the displayed content. Such plugins store the source as markdown, so if the plugin stops working, all posts appear in markdown instead of being properly rendered.

Rendering can create a mix of html and markdown in the edit, which can be a big headache too.

### A second attempt

Trying markdown-on-save. Much less obtrusive in that it does not change the editor, just uses the default html editor with a check-box to indicate if the document is in markdown.

It also renders the equations without any trouble, inline: $F = ma$ and displayed, $dX = \sigma dB_t$ Brilliant.

It appears that leaving in html-style links in the text also does not create an issue, these render correctly as well.