Adventures in Coding


Thoughts on programming, web development, and tech

Data Structures and Algorithms: Binary Heaps

In this post, I will continue my discussion of trees with the specific examples of binary heaps, which can be used to implement a priority queue.


WordPress as a Content Management System and the web developer

Web developers at many organizations use Content Management Systems (CMS), and expertise in CMS is a common job requirement for web developer position. For that reason, it is important to understand the role of a CMS in web development. A very commonly used CMS is WordPress, best known as a blogging platform, but with many more features to manage websites. In this post, I will discuss what CMS’s are in general, and in particular how WordPress includes features that would be relevant to a web developer who is already skilled at web programming langauges.


Python file downloads and Google spreadsheets

In this post I will describe how to download files from the Web. If you have been following earlier posts, I have been parsing XML documents and modifying them for a project. In my project there is now a requirement to update a spreadsheet of external data, rather than the XML file, in order to note discrepancies. I wanted to be able to dynamically use the most up-to-date version of the file as well, because the maintainer of the spreadsheet is actively making changes to the data.


An introduction to data frames with Pandas

Pandas is a python module commonly used for data analysis, similar to R in its use of the data frame structure. Its uses are not just limited to data science. As a developer there are situations where you might use it to store or look up data instead of a SQL database, especially when you are importing and exporting data from a different format, such as Excel or CSV.


Using Python to parse and manipulate XML

XML (extensible markup language) is an extension of HTML, with the ability to create custom tags. It is often used to store data. XML is not something that automatically renders in a browser. In order to read and do things with the data, change the data, and otherwise manipulate it, you need to be able to process it using scripts. Specialized languages exist for doing this with XML, but it also can be done with more general-purpose languages such as Python or Ruby.