Hacker Newsnew | past | comments | ask | show | jobs | submit | logandk's commentslogin

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


For things like simple Sinatra APIs, a light-weight alternative is https://github.com/logandk/serverless-rack (a plugin for https://serverless.com, I'm the maintainer.)

To get a large Rails app operational on Lambda, Jets is the way to go.


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...


What are the benefits of it being operational on Lambda?


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.


How does your kid like 1MB?


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...


The most humorous would have to be the "Wat" talk by Gary Bernhardt: https://www.destroyallsoftware.com/talks/wat



The screenshot of GIMP running in Chrome running in Firefox is one of my favorites!


His boundaries and functional core, imperative shell are less funny but life changing.



Thanks, without knowing the title of the talks I could not for the life of me parse parent.


This is hilarious! Thanks for sharing!


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.


I was hoping to see Elixir on the list, but I suppose it may have been classified as Erlang?


Valid argument, searching and filtering needs more work!


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.


Thanks for the feedback, good points! I think you are right about the wording, I'm gonna rework that.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: