I’ve recently went from using MySQL databases to Postgres. This post provides a quick reference for getting started with Postgres. It shows how to create databases, users, schemas, and tables; as well as how to set up basic access and permissions.
I recently started working with Vue.js. I found it to be quite a well engineered product and a well designed framework. In the framework, one can use a
v-for attribute within markup to to loop over data stored in their view model and with each iteration generate more markup. I was utilizing the
v-for to loop over data to create
<options> for a drop-down menu – a common usage – and I wanted to set a specific option to be selected. Continue reading
I’m using Python more and more so it’s not surprising that recently the need arose to connect to and insert into a MySQL database. I was using (and usually do) Python3, and I ran into a couple of issues in the begining. This post will document those issues and the solutions I found to get MySQL and Python3 to work together. Continue reading
I was working on a project for a client where I needed to scrape data from a Web page. I wanted to save the page to a file so that I wouldn’t be making requests to the server hosting the page each time I wanted to test my code. I was using Python3 and the Requests library. When attempting to perform the write to a file, I ran into encoding issues. This task was not as straightforward as I first imagined.
It turns out that normally distributed values are quite important in statistics. Not only because the pattern is remarkably common, the central limit theorem enables statisticians to infer conclusions about how a given treatment will affect a given population. To make such inferences, we need to learn about the Probability Density Function and a useful shortcut: the Z Table.
I recently started a group on Meetup.com for folks interested in computer programming. This was my first time doing so, and I had not worked out where the group would actually meet up. The first step to fining a meet-up spot was to look at the membership role and find where the individuals were located. I figured Python and the data analysis library Pandas could help me with this task.