Code Log

  • This is a log of work I'm doing to get better at code/data science/machine learning/etc. It is a more day-to-day look at work I'm up to. If you'd like to explore a curated look at work I have done, checkout this github page for a portfolio of different projects. The portfolio includes projects listed on this site as well as smaller ones.
  • This page is here as an effort to never stop learning. Thanks and hope you enjoy.
  • 2019/08/16
    First crack at infinite scrolling for long feed pages on this website. Stack Overflow page from 2019/08/13 log worked great. Modified it to calculate height by main content div, allowing for the bootstrap side-menu to not interfere with the loading. Also chose to make the pages force reloads to the top of the page to avoid weird behaviors. Applied to this page and my food log (also went and reduced image size of food photos to help improve loading). Lookin' good!
  • Uploaded work for past Riddler. Turns out I was waaay off (did it in 21, it's possible with 12), but it was a pretty exercise. Thinking of them as dynamic structures that can morph was an interesting insight. Fantastic demonstration from @xaqwg showing the inability to get 11.
  • 2019/08/13
    Did pass for this week's tidytuesday dataset on Roman Emperors.
  • Want to look into expanding my knowledge about JavaScript things like D3.js and paper.js. This led to learning more about NPM, which I think I had interacted with for some tutorials in the past (I have node.js on my computer), but need some brushing up on. Along the way, learned you could drag and drop a folder into Terminal to cd to it faster. Lovely. Ongoing work, need to pick this up again.
  • Also, recognizing this log is getting long and may start to take a while to load (that is a little hopeful considering it is text-focused so far, but this setup is prone to a load hang. For example, my food log already takes a while to load due to photos that should probably be compressed somewhat). Found a Stack Overflow on lazy loading a list and will look into loading in batches rather than all at once. We will see.
  • 2019/08/12
    Finished Kaggle Learn course on Pandas. Keeping up the skills of data manipulation.
  • 2019/08/11
    Updated my tidytuesday work to publish on my site from the Github master branch. So, they are all now available from a serving as the index file. Did a short short pass at a dataset on video games (more about testing publishing setup). Also took a crack at this week's Riddler.
  • 2019/07/31
    Made a notebook of ML (portfolio blurb) with the dataset from the Spark DataCamp course a few days ago. Did Linear Regression with some pipelines.
  • Working on getting more granular data out of my Noun Project activity. The site provides monthly reports, but I wanted to have more info of how my nouns were being received. Currently collecting download counts every day and creating a big time-series dataframe of every noun I have and how many times it has been downloaded. Need to work on incorporating public activity to only show paid downloads. Currently can get noun count, activity of recorded data (volatile and rolling window), and estimate average interactions per day.
  • Also in Noun Project land, looking into using TriWild to create triangulation mesh effects of previous designs. Very excited about this.
  • Took some fun time to make an RGB Shirt and attempt this week's Riddler Express.
  • 2019/07/25
    Working on Spark ML course on DataCamp. Similarly with sklearn, pipelines will save your bacon when it comes to creating and evaluating models. I find it similar to learning how to do arithmetic in school and then moving on to more advanced stuff and using a calculator for the arithmetic. At the time, discovering a calculator can do all the stuff learned previously makes it feel like a waste of time to learn it. But, having an understanding in what is going on at the lowest level makes the more advanced work make more sense and help you understand when things go wrong. Same goes for ML pipelines. Doing it by hand, passing all the items between variables, is informative and helps clarify what is going on. However, it leads to so many places to make mistakes. Pipelines are like the calculators in school, consolidating the variable handling. But, it still means care must be taken to ensure the model is doing the right thing. Calculators will do exactly what you tell them to, even if it is junk, so watch out! Overall, the Spark pipeline setup of stages allows for easy use of fit and transform. Lovely. Finished the course.
  • 2019/07/23
    Played around with this week's tidytuesday dataset on FAA wildlife strikes. Was able to see possible migration behavior in prevalence of strikes by month. Finished DataCamp course on Regular Expressions in Python.
  • 2019/07/19
    Wrote out Riddler Express submission on coloring a grid with a marker. Played a little bit with the most recent tidytuesday dataset on r4ds members. Hjust and pretty_breaks helped give better tick mark appearance. Lubridate interval with some division by periods also was useful.
  • 2019/07/18
    Finally finished backlogging a full portfolio of past work I have done, everything from origami art to nouns to data science. Personally helpful to see the diverse experience I have. After making some nerdy puzzle nouns, published an RGB shirt for MZ Tees. Chatted with my cousin about Factorio and got interested in how the materials relate to one another. Led to making a Factorio Recipe Network in visNetwork. Watched the data analysis playlist from Computephile; great job explaining the concepts in theory and in practice. Added a search bar to my noun page so people can search my icons from my website.
  • 2019/07/03
    Did Kaggle course on Data Visualization: from Non-Coder to Coder. Had a little fun with import pandas tee. DataCamp course on ML Pipelines. Very helpful in seeing how a model can be made and put into production.
  • 2019/06/29
    Interview Cake question on using a hash table (dictionary) to sort some scores when the highest score is known. Dusted off the Kaggle account to explore some courses. Started with python and ML basics.
  • 2019/06/25
    Combining some work over the weekend. Finished DataCamp course on Building Chatbots in Python. Super cool and really interesting. Would definitely be awesome to work on a user-based interaction system using ML like this. Will be bookmarking RASA to explore more. Got sidetracked while reading Learning Python and made a dict and pkl shirt for MZ Tees. Ended up finishing chapter on tuples and files (284-315).
  • 2019/06/21
    Cracked open Cracking the Coding Interview and created a repo for work related to that. Did is_unique. Initial idea would work, but solution was much smarter using a fixed-size array assuming ASCII input only. Played around with PyCharm and unit testing, realizing that it gets mad if filenames have hyphens. Also that the community edition won't always tell you when features aren't available. Finally, did a DataCamp course on Optimizing Python Code with pandas. Favorite quote from the teacher, Leonidas Souliotis: "Dictionaries are a valuable arrow in your Python's quiver." How true.

  • Jun 2019

  • Log of me trying to get better at code-related things



  • I think in my heart of hearts the thing I want to work on is going to be programming/design-focused, working on a team and collaborating on a problem much bigger than myself. That sounds great, but I trip myself up before even attempting to look for a job like that.

  • The biggest anxiety I have about getting a job is my personal feeling that I would be unqualified for a position, so my knee-jerk reaction is not to apply. I know it's not an uncommon anxiety to have, but it still remains difficult for me to overcome that feeling.

  • This has led to a lot of inactivity on my part that is not healthy or productive. I spend time actively avoiding working on my skills, afraid that if I try and fail (or are not perfect at something from the outset), it will prove that I'm not qualified and validate all those feelings.

  • And let me stop right here and say that even as I type this, I know that that's stupid. Of course it's going to be hard! Of course you will not be perfect from the outset! WORKING AT IT IS HOW YOU GET BETTER! But this fact that improvement takes effort—some of which will be difficult/frustrating/<another good adjective>—can be hard for me to acknowledge and overcome. But I know for a fact that I've gotten around it in the past.

  • For example, this website used to be pretty lame. I had to build one for a class I was taking in college, and it was not a great result. And then I made another one for another class. Also not great. But I got better at it. I actively wanted to make something cooler, which led me to slowly make this site from the ground up. Same thing goes for making icons. I was really intimidated by Illustrator (now using Affinity Designer; very happy with my one-time purchase!) and my first few designs were not great. But over time, I was able to make my ideas come to life more easily and now, after many icons made, I can see how far I've come.

  • Literally. For both of those projects I can actually see that I have gotten better by looking at what I have made in the past. I want to get better at coding/data science/machine learning in the same way. I need a place to see the progress I am making.

  • So this is that place: a page for me to demonstrate my progress in those things. And yes, while it certainly can help external people see that I am capable of doing work, the main reason for this page's existence—more important than anything else—is to prove to myself that I am making progress regarding my abilities and experience. It's one of those things that may sound obvious to you reading this but trust me: this has been a mini-revelation for me. I have to literally see my progress.

  • As a result, this page will inevitably be full of less-than-perfect work. It will be full of failures and learning experiences, but it will help me be more active and produce work that relates to my skills. I have to start somewhere because being inactive wishing I had the ability to code really well or work at some big company has demonstrably not gotten me anywhere.

  • This is a totally self-serving webpage, but it is public for two reasons. One: if it was private, I would have less of an incentive to try to add to it. And Two: I have to believe that I'm not the only one that can benefit from a page like this—even the mindset of it. I love seeing people's amazing work on places like Twitter and LinkedIn, but it has given me the implicit mentality that I have to make something really polished and amazing before it is worth sharing with people. And this has only exacerbated my tendency toward inactivity discussed above. And I know that polished work has behind it a bunch of struggles and difficult challenges, but it can be difficult to acknowledge that when you only see the amazing results, try something for yourself, and brush up against a bunch of difficulties.

  • So, hopefully you can find something helpful about this page. I know I will.
What's with the brackets?

  • The brackets spell out "code". The square brackets are the 'c' and 'd', the parens create the 'o', and the open curly brace is the 'e'. You can get it on a tshirt if you want. Helps remind me to keep working at it, but I understand it might bug people who just see some weird bracket syntax error. Oh well, logos can't please everybody…but they can go overlooked.
Never Stop Learning