I seem to be in to launching things on my birthday. I bought the domain for this site on my birthday and I started work on a site called Problem of the Day which just officially launched today. If you're in to logic puzzles and short programming problems check it out http://www.problemotd.com/.
This site was the first time I needed to send out e-mails in mass quantities. I ended up going with Mandrill and couldn't be happier. If you're looking for an …
Posted on January 1st, 2014 | Tags: First
2013 has come and gone and a new year is in it's place. It's been quite a while since I've updated this blog, though I have been trying to actively respond to comments and emails. I think this is also my first post not published on a Saturday. What a way to start 2014!
I have a few unfinished blog posts that I'd like to get out there soon along with a wealth of new post ideas sitting on my phone. Before I …
Posted on June 15th, 2013 | Tags: Meteor
I've been looking to do more Node.js/Meteor development lately, however, I ran in to a problem with the way Meteor handles it's app structure. By default meteor places the MongoDB database inside the application folder. I use a shared folder on a Windows host with an Ubuntu Virtualbox for my development environment. By having the shared folder as part of an NFS share MongoDB kind of flips out and doesn't run which causes meteor to error out.
The solution for this is …
I recently updated all the components for my blog. Going to Django 1.5 caused an issue that I had never seen before so I wanted to share the quick way to fix:
SuspiciousOperation: Invalid HTTP_HOST header
If you see that error it is because your ALLOWED_HOSTS setting variable isn't set and you have debug set to False. For a site running on Heroku your ALLOWED_HOSTS should look something this:
ALLOWED_HOSTS = ["maxburstein.herokuapp.com", ".maxburstein.com"]
Having a . before my domain name will allow for …
Posted on June 1st, 2013 | Tags: Django
If you head over to the comment section you'll notice that my comments section now supports Markdown. I also upgraded to Django 1.5 which deprecates the markup module. If you grab the Markdown module you can pretty much add support back for markdown in one line of code.
import markdown form.content = markdown.markdown(form.content, safe_mode='escape') form.save()
If you prefer to use a template filter rather than saving the markdown text you could do something like this:
from django import template import markdown register …