for i in items:
i += 1
for r in rows:
for c in columns:
matrix[r][c] *= 2248 karma · joined April 26, 2011
for i in items:
i += 1
for r in rows:
for c in columns:
matrix[r][c] *= 2There are projects I work on, which I want to appear in my activity feed. There are projects I want to bookmark, which I don't want in my activity feed.
Right now the signal:noise ratio is terrible for activity feed and notifications.
```python
from functools import partial
def foo(a,b,i):
if i >= a and i <= b:
return i**2
else:
return 0
print reduce(lambda x,y: x+y,map(partial(foo,3,7),xrange(1,10)))
```While StackOverflow and GitHub users may be tech-savvy, Reddit has a lot of casual users. Markdown is not difficult to pick up, it merely codifies how people type anyway.
Other advantages of using Markdown locally is to separate data from content, legibility, and standard support. Using Pandoc, you can convert Markdown files into HTML, PDF, manpages, etc.
I was using vim's default syntax highlighter for Markdown and ran into highlighting issues with unclosed single quotes.
Since a lot of Markdown files use .md instead of .markdown, I'd also suggest adding the file `~/.vim/ftplugin/modula2.vim` containing:
setlocal filetype=mkdI remember my distributed computing professor checking out his LaTeX paper from a Subversion repo that had something like 2000+ commits between himself and other collaborators.