That's a much more correct example than the one in the article. The "real-world example" in the article describes doing something completely different than intended, not out of necessity but by distraction.
Unison is great for keeping multiple machines in sync. I eventually switched to Dropbox for reasons I don't recall, but it might be a good time to reconsider. Also, I'd forgotten, but apparently I even made a (poor) attempt at writing a Unison UI of OS X, some 11 years ago... https://github.com/logandk/autoson
What is the advantage of serverless-rack over using AWS SAM? A quick glance at your project seems like it has a similar general intent, but without the official backing/support of Amazon.
Indeed, SAM and serverless framework serve the same overall purpose. It's mostly a matter of whether you prefer CloudFormation (SAM) or serverless' configuration format. I have mostly used serverless, but there are some posts out there comparing the two in detail, such as: https://sanderknape.com/2018/02/comparing-aws-sam-with-serve...
The merits of deploying a complex Rails app on Lambda are debatable, mainly due to the fact that larger code bases will result in slower cold request times for Lambda functions. For HTTP APIs in general, however, the three main benefits of being operational on Lambda are:
* Paying only for compute time/requests, if the API is not being accessed for a period of time, it's free - on a regular instance, you'd be paying for idle time
* Automatic scaling
* Simple deployment
The downsides include:
* Irregular response times due to cold containers
* Slower request/response cycle due to overhead in Lambda + API Gateway
Awesome work, I will introduce this to my kid. With the built-in database/kv-store and excellent UX, I can't think of a better platform to get started with web development.
He's mostly concerned with the learning curve of HTML and CSS, so I'd say that it's a success so far - no tooling got in the way of his learning. We haven't gotten to using the database yet...
Before diving into smart pointers, move semantics and other (mostly) recent additions, I would recommend getting well acquainted with the basics: RAII and common patterns such as passing by constant reference. Effective C++ by Scott Meyers, as others have noted, is an excellent entry point.
Thanks for the suggestion, it might serve as a better tagline. Regarding the sign in, I am very happy with the current solution - I don't see the hassle? Everybody has a Facebook/twitter/google account these days :)
I am very happy that you are happy with the current sign-in solution. Unfortunately it does not work for me. I don't have Facebook or Google account, nor do I plan on getting them. The Twitter account I have, but I am not comfortable associating it with some (essentially) random website that I am merely curious about.