Tag: python
One of the things I want to do now that I have some time is get my head around all the modern AI stuff. I'm starting with a review or things I've already done by going through Andrew Ng's Coursera ML class. I'll probably continue with his courses but I'm certainly open to any suggestions (specifically for a CS guy who's not so strong on the math side).
This means diving back into Python even though Clojure is usually my weapon of choice.
# COMMENTSIt's once again time for Advent of Code. That one a day programming competition that's been running now for three years.
Here are some thoughts on day 1. The core of the problem is that you have a large string of digits and you have to calculate a checksum. This is done by adding the sum of a subset of the digits. Only the ones that are identical to the digit to their right.
# COMMENTSI haven't spoken much about the class I've been teaching this semester. It's an intro CS course - a programming heavy intro. I decided to use Python with a transition at the end to C++. The transition is to mirror Hunter's normal first CS course that ends with a C++ intro to prepare the students for next semester's CS course which is a more intense OOP class using C++ - the language we use in our core courses.
# COMMENTSThis post points to the next three videos in the Flask series.
The first covers setting up a droplet (virtual server) on DigitalOcean. The second, deploying a flask application using Green Unicorn, and the third, using sshfs to remotely mount your files from your DO box to your local machine and how to set up DNS using FreeDNS.
To help you on your way with DigitalOcean, here are links to a few of their tutorials
# COMMENTSSecond video in the Flask series. This one goes over installing Flask in a virtualenv and running a simple Flask application.
Nothing much to say about this other then check out the video:
# COMMENTSThose laptops that my Hunter students were supposed to get have finally arrived. We're distributing them on Monday. Each student will have a Dell laptop running Ubuntu 16.04 for as long as they're in the program.
This means we can finally start using the web as a way of displaying and sharing our projects.
For this type of web development, I'm a big fan of using Flask. Flask is a Python microframework.
# COMMENTS