Rust
A Better Cargo Install Workflow
How I manage to keep the tools I've installed with cargo up-to-date
Rust
Part 3 of the SICP-RS Series The next coding exercise in Chapter 1 of Structure and Interpretation of Computer Programs is Exercise 1.8, which is a slight variation on the 1.7 exercise: Exercise 1.8: Newton’s method for cube roots is based on the fact that if
Rust
Part 2 of the SICP-RS Series The next coding exercise in Chapter 1 of Structure and Interpretation of Computer Programs is Exercise 1.7: The good-enough? test used in computing square roots will not be very effective for finding the square roots of very small numbers. Also, in real computers,
Rust
Part 1 of the SICP-RS Series The first coding exercise we come to in Chapter 1 of Structure and Interpretation of Computer Programs is Exercise 1.3: Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers. [1] Step
Rust
Welcome to a new series I'm calling "Structure and Interpretation of Computer Programs - Rust Edition." You may be familiar with the very popular Computer Science textbook, "Structure and Interpretation of Computer Programs" or "SICP" for short. So many people and websites
Rust
An important part of learning Rust is figuring out how to use common collections like Vectors, Strings, and HashMaps. The next exercise in the Rust book calls for some averages: Given a list of integers, use a vector and return the mean (average), median (when sorted, the value in the
Rust
Next up is my third program written in Rust. All the prompt said was: Convert temperatures between Fahrenheit and Celsius. This could be simple functions to go back and forth between Celsius and Fahrenheit. But I wanted to try and challenge myself to do handle some user input and use
Rust
We're going to walk through another program prompt from the Rust Book: "Print the lyrics to the Christmas carol 'The Twelve Days of Christmas'." I know the topic is a few weeks late, but should hopefully still be helpful! Getting Started Assuming you'
Rust
I've started 2018 learning yet another programming language: Rust. I love learning new languages. They expose you to new ideas, paradigms, and (in the case of Rust) even new types of programs you can build. Rust pitches itself as: ...a systems programming language that runs blazingly fast, prevents
Web
Earlier this year, we began the process of using React in our AngularJS app. Luckily, rendering React components within Angular isn’t too hard. We use a component “bridge” based on the approach shared by the Small Improvements team, which is working well. A side-effect of bringing React into the
Software Engineer
Last week I had the opportunity to speak at a local meetup here in Portland about my favorite new technology: Elm! Specifically how to use your Elm code in connection with other JavaScript code or libraries. If you don't know what Elm is, or have somehow managed to
cs50 pset 5 was all about data retrieval and memory management, so the challenge was to implement a searchable dictionary that could be used to quickly implement a spell checker on entire books (like the Bible or a Tolstoy novel). Whenever working with data, you're always making tradeoffs
Next up in my CS50 psets was a fun project working with files in C. First up was a challenge to find a hidden clue in a picture. You had to check the RGB values of each pixel in an image and remove the red pixels to reveal the person
I'm slowly catching up on write ups of my cs50 psets, and next up is the next challenge from pset3, the Game of Fifteen. It's fairly simple, it draws the current state of the board, you enter which tile you want to move, and it redraws
Since I spend most of my day building websites, I don't often get the chance to test my algorithm skills and figure out the most efficient sorting or searching methods. I usually reach for the generic one in whatever library I'm using, but as always, CS50
I know it's been awhile, I've been sidetracked with work and fell behind on my classwork, but better late than never! Here are my solutions to the second problem set for CS50: Initials.c This was a simple little program to take in a name as
I've been continuing my way through Harvard's CS50 course, and have begun programming in C! Again, since I've already had quite a bit of experience programming, I've been flying through the coursework, but I've been spending plenty of time in
I've been working through some more online classes recently, thanks to the awesome curriculum from the Open Source Society, and am finally taking a class where I'm learning some C! Already I'm making cool parallels to other languages I work in every day, but
After many weeks, I've finally been able to finish my Intro to Relational Databases class! It certainly didn't help that we've been dealing with moving apartments the last few weeks, but this class also kicked my butt big time! I've done plenty
I don't know about you, but using Git, especially from the command line, has always been intimidating. At least until recently. I've known for awhile now the importance of source control for your projects and so I've been doing my best to use it.
The other day I was working on a documentation site in WordPress and came across an interesting problem. The documentation was lengthy in certain sections, so I wanted to find a way to keep those sections on one page for the reader but allow for a little more organization in
I have finally completed my final project for the Intro to Computer Science course on Udacity! It is a really simple python program that takes a very specific data input and creates a python dictionary to hold the fledgling social network. It's no facebook, and I doubt it