Today’s exercise was the Difference of Squares – the sum of numbers between 1 and max squared minus the sum of each number squared between 1 and the max. The tricky part was they wanted you to use LINQ as a pair of for loops would be too easy to read and understand. Anyway the Enumerable.Range() function does the trick of returning an enumeration of 1 to max. Then you can add a sum and/or select on that and Bob’s your Uncle your done.

I finally got to the JWT stuff in the rails API tutorial series. Not what I expected. I thought we were going to use Devise or something. I vaguely remember that library, maybe it is still forthcoming or that was a different tutorial series. Instead we are making our own JWT tokens with a JWT gem (library). Four episodes left. Not sure if the tutorial will be able to finish everything. I still need a User table, and a list of active session tokens, right?