Posted on June 15th, 2013 | 1 Comment
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.
Posted on June 8th, 2013 | 0 Comments
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 ...
Posted on June 1st, 2013 | 1 Comment
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:
Posted on May 25th, 2013 | 0 Comments
One of the things I noticed that isn't really taught much is creating test suites for your programs. A lot of times you'll just have sample input and output to test your programs. This works great for one off applications but doesn't really carry over to on-going application development life cycle, especially when new developers are constantly being added to a project.
You don't need any crazy library to do testing. In fact Python and Ruby come with their ...
Posted on May 18th, 2013 | 6 Comments
So you're probably wondering why do I care what tools some random person uses. However, if you're reading this blog you're most likely an entrepreneurial type person or a developer or both. Either way getting incite in to the tools that someone else uses can give you an idea of what spaces need innovation, what tools you should build for, or simply a new tool for you to use. I tried to keep the list small and relevant but in ...
My name is Max Burstein and I am a recent graduate of the University of Central Florida. I enjoy developing large, scalable web applications and I seek to change the world.