Hacker Newsnew | past | comments | ask | show | jobs | submit | codeherb's commentslogin

I do agree with your point that this isn't literate programming. The org-babel homepage has more references to use cases which would be considered actual literate programming, and are quite interesting if you are interested in the topic. This post is more of an attempt to show how you can organize your .emacs file into manageable pieces in org-mode, rather than an attempt at literate programming.


You can also use github repositories to actually serve up your blog if you use jekyll! I run my blog using this setup + github and it works pretty well.


You can even point domains at these, so that GitHub hosts your content but it's all under your domain name.


I think the reasoning in the experiment is a little flawed. Given that each task is so small, the cost of a context switch in the example is significant.

Most people multi-task because they are waiting for the first task to finish/ get rid of the monotony of doing the same thing over and over again etc. in which case multi-tasking can significantly improve output. Its kind of like the OS running multiple processes on a single core. If you are waiting for something, you don't need to hold up everything else..


I think while all the failings you point are valid, the basic analysis he does is "good enough" for noticing trends. Good job!

Commenting and not actually fixing the code - now that is lazy :P


Idea is good by the tool is not good enough -- it only notices the population centres that author has took a note of, this looks like unintentional confirmation bias.

See my reply to author with fixes.


I've added London, as per your transient request, which is now deleted. I also changed the comments to "select cities", as this code by no means represents a comprehensive analysis over all possible cities.


I just pasted my original code with properly indenting in here, so I thought to remove ugliness once I copied it pastebin.

Also I saw some small city in california 'Los something...' with population of 28k which didn't get caught by the first function that only lists 50 most populous cities so I wrote the second one that includes every town in US.


Google hangout = multiple people with video + chat + you tube sharing! It's pretty awesome. Now only if they can get enough people on it ;)


For some strange reason Google has yet again decided to leave Google Apps users, who are perhaps their most ardent fan base, out in the cold again.

- Wishing I Could Try Plus


Join #kohana on Freenode and message jtreminio - I'll send you an invite.


Still waiting to use profiles... We did finally get Groups though!


A better approach is github(jekyll) + org-publish. I run my blog http://www.codeherb.com with it. Source at https://github.com/anisaraf/anisaraf.github.com . It can take some time to set up - depending on your emacs experience. Once set up, it is relatively painless to publish articles(it still doesn't mean that I blog as much as I would like to :P).


Hmm, looks interesting. How did you set that up? Pretty much http://orgmode.org/worg/org-tutorials/org-jekyll.html ?


Yep - mostly followed that I think. Once you set up a basic blog, then you can keep tweaking things over time. Get a simple version up and running and then tweak as per your liking.

The nice thing about spending the time setting it up is that once it's all done it is really quick to publish. All you do is create your post in org mode, Alt-x org-publish and then git push, and your post is live! I tried posterous before this, but getting all the syntax highlighting/formatting right was just a pain. With emacs + git, everything flows smoothly. In my opinion, well worth the time it took to set things up.


Heh not sure if you followed my profile and found my blog, but that's exactly why I am looking for an alternative. It really improved when they added Markdown support[1], but Common Lisp isn't a supported language. Also, embedded gists display horribly on aggregated blogs.

Thanks for the tip.

[1] http://blog.posterous.com/announcing-markdown-support


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: