A while back when I was looking into different implementations for a queue in Java, I was reading the java docs for ArrayDeque. I had been used to using a LinkedList when a queue is needed prior to reading the comment: This class is likely to be … [Read more]
Authentication using MongoDB and PyMongo
In one of my projects, I am using python to parse information and store it in mongoDB. I wanted to run and test everything locally on my machine. I wanted to set it up using the following guidelines: One user that has read/write access to one DB … [Read more]
Downloading Web Pages in Python
Disclaimer: Before scraping websites, please check if the website's terms of service to verify you are using the information accordingly. I'm working on a project right now that involves some web scraping over multiple sites. Having not used … [Read more]