In any application, you may need to track user involvement in real-time
features. In a gaming, chatting or otherwise real-time and interactive
application, we want to track things like which users are present in a
chat/game/live stream or who is typing a message/shooting aliens/streaming a
thing.… »
Since I clearly cannot get enough of JWT
[https://www.thegreatcodeadventure.com/jwt-auth-in-rails-from-scratch/] authentication
[https://www.thegreatcodeadventure.com/jwt-authentication-with-react-redux/], here's a look at how to
use it to authenticate your shiny new Phoenix API with a React + Redux front-end
application, using React Router 4.
In this post, we&… »
In my previous post
[https://www.thegreatcodeadventure.com/understanding-file-permissions-or-binary-for-4th-graders/], we
(all the math n00bs out there) learned the secrets of the Binary system. We came
to understand the basic formula for taking a binary number and converting it to
its Base-10 (human-friendly) counterpart.
To sum up:
* Take the digit at… »
No One Does Math(s) These Days
When I was a kid I wanted to grow up and become a doctor. You may already know
this, but I am not a doctor. Why? Well, it turns out that in order to practice
medicine, you have to be able to do… »
MVC is Not Enough!
We're familiar with the MVC (Model-View-Controller) pattern that Rails offers
us––our models map to database tables and wrap our data in objects; controllers
receive requests for data and serve up data to the views; views present the
data. A common analogy is that… »