Live data from Hacker News

Ask HN: What's your favorite way of getting a web app up quickly in 2018?

news.ycombinator.com

301–310 of 569 posts

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#301

Earlier quoted context omitted.

Yes you can easily REPL into a live remote server and work with it while it is running. But more typically, the REPL-driven development happens on your own machine while you build, and then you just deploy the whole app. But it can be useful for remote debugging when necessary. For distributed computing across multiple machines, you are right that the actor model has an edge there. Most applications don't require tha…

I was just looking into Onyx right now actually, haha. It's the first result when googling for distributed clojure. Not quite sold on the model, I don't yet know how the internals work so it feels a bit too magic. But I only got a quick peek so it would be unfair to dismiss it. The vast majority of apps don't require distribution but I'd like to use a model of computation that would support it when needed so as to av…

Don't forget that with Clojure, anything you would do in Java or on the JVM using any language, you can do in Clojure. So for example, Scala has Akka, a powerful actor model. And of course, you can use that in Clojure if you want:

https://github.com/gaverhae/okku

(This is just one way to use Akka).

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#302

Earlier quoted context omitted.

I was just looking into Onyx right now actually, haha. It's the first result when googling for distributed clojure. Not quite sold on the model, I don't yet know how the internals work so it feels a bit too magic. But I only got a quick peek so it would be unfair to dismiss it. The vast majority of apps don't require distribution but I'd like to use a model of computation that would support it when needed so as to av…

Don't forget that with Clojure, anything you would do in Java or on the JVM using any language, you can do in Clojure. So for example, Scala has Akka, a powerful actor model. And of course, you can use that in Clojure if you want: https://github.com/gaverhae/okku (This is just one way to use Akka).

Interesting, okku seems completely outdated but I'll try to look out for an Akka integration as it is a really powerful and stable actor model implementation. Has backpressure and all of the other reactive niceties too.

You might just have converted me to clojure, haha.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#303
post #87

Earlier quoted context omitted.

It's best to pick a project and try to build it, rather than learn things from the outside. In isolation, Ruby can be annoying to learn because it's syntactic sugar seems unnecessary. In context of an app, though, it's great. The sugar makes sense. Rails has a bit of a learning curve, but that learning curve is well rationalized. To borrow a Steve Jobs-ism: you're starting on the 10th floor, when everyone else is sta…

What are the best resources to learn Ruby/Rails these days?

Pick up rails book from pragmatic bookshelf. Give it a quick read. Then watch railscast videos. Then to rails doc and gorails.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#306

I love dokku for simple deployments. Even a blind truffle pig can do it on DO. Good for a bunch of microservices. Only issue at the moment is slapping Hugo on the raw domain.

How do you work with testing local changes outside dokku ? Because the one thing I've found with a docker setup is that I write increasing amounts of stub code to avoid going through the docker rebuild/redeploy cycle when doing development.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#307
Not sure if there is a much quicker way than using a solid monolithic such as Django or Ruby on Rails.

I'm used to React.js and TypeScript/GraphQL server on the backend. I would use Netlify to quickly deploy React.js and Apex Up to deploy the server to AWS Lambda. Apex Up doesn't really use AWS Lambda in the normal way. It will create a reverse proxy and each AWS Lambda function is like a mini server a la Heroku.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#308

Earlier quoted context omitted.

Not trying to be snarky but... how is it cheaper to hire a freelance IT person to set up something for you, and help you when it breaks/changes, than $7/mo for Heroku?

The issue with Heroku is it rapidly gets more than $7/month if you hit any sort of scale.

That is quite literally the price you pay for convenience. In many cases, that's a very rational tradeoff - your time is better spent on developing and marketing your app than dealing with devops. If your Heroku bill is a relevant business problem, then you're probably grossly under-charging for your app.

I think the main competition for Heroku these days is AWS and GCP. The workflow for deploying directly to managed cloud services has improved drastically over the last few years, so you might not need the niceties that Heroku offer.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#309

Earlier quoted context omitted.

Don't forget that with Clojure, anything you would do in Java or on the JVM using any language, you can do in Clojure. So for example, Scala has Akka, a powerful actor model. And of course, you can use that in Clojure if you want: https://github.com/gaverhae/okku (This is just one way to use Akka).

Interesting, okku seems completely outdated but I'll try to look out for an Akka integration as it is a really powerful and stable actor model implementation. Has backpressure and all of the other reactive niceties too. You might just have converted me to clojure, haha.

I think most Clojure developers will tell you that it is wise at first to just use Java libraries directly, if you can. Look at wrapper libraries to see how the author approached the Java interop, then do it yourself. You are more likely to attain something that is maintainable, flexible and appropriate for your individual style and needs than using what someone else built for the purpose of interop for their needs.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#310
post #233

Earlier quoted context omitted.

In many areas of the US (the entire west coast for example), PHP is dead - plain and simple. Independent of whether it is good or not, selecting dead or obscure technologies for your clients is completely irresponsible and leaves them with a maintenance catastrophe just because you like php. Yes there is a lot of hipster-ism out there in platform choice but there are plenty of mature, fast, and popular options out th…

This is just bs. PHP is thriving everywhere expect Silicon Valley.

Even there, aren’t Facebook and Etsy using it, at least?
Post reply on HN