News for hackers. Stuff that matters.
Re:What tech stacks are indie hackers using for their apps, ... by noncoml on Friday July 20, 2018 @06:17PM (#17579435)
For the backend I start with Node, then get tired of the runtime errors and switch to Go. Go is cool but soon I get tired of writing “if err == nil” so I switch to Haskell. Haskell is nice but soon I get tired of not finding decent libraries for some not very popular things that I use, so I say fuck it and go to rails. Ruby is nice and Rails feels well thought out and solid, but then I can’t help be annoyed that it’s not fast, so fuck it, I switch to Rust. I get tired of lifetimes and wrapping everything in RefCells so I switch to Erlang. Erlang is cool and all, but no fucking meta programming. Sucks, let’s try Lisp...

I am not making fast progress, I think the problem is my keyboard, I should try buying that Ducky one I have been eyeing for quite a while.

Re:What tech stacks are indie hackers using for their apps, ... by jimmy1 on Friday July 20, 2018 @10:01PM (#17580339)
You should just stick to go, I have a solution for your "if err != nil" problem: https://twitter.com/natethefinch/status/899730215957561344?l...
Re:What tech stacks are indie hackers using for their apps, ... by nso95 on Friday July 20, 2018 @06:34PM (#17579551)
Just pick something and stick with it, every technology has its problems.
Re:What tech stacks are indie hackers using for their apps, ... by noncoml on Friday July 20, 2018 @06:54PM (#17579643)
You are right! I should stick with Scala. It will also give me the opportunity to learn a new language!

Play looks good, but maybe I should go with Scalatra instead? Should I be using Slick? It's quite different than any ORM I used so far, maybe I should bake my own Scala ORM. OK then, here we go. One more decision, REST or GraphQL? GraphQL seems to be the future. Let's go with that. Man, types are nice and Scala's type system is powerful, but sometimes I wish I had the flexibility of a dynamic language. It would make prototyping much faster.

Fuck it, "git checkout -b node_v2"

Re:What tech stacks are indie hackers using for their apps, ... by nostrademons on Friday July 20, 2018 @07:11PM (#17579735)
May I recommend creating an AI to automatically rewrite your codebase into the flavor of the month, thus saving yourself significant amounts of labor which you could use to create an AI to improve the AI which is rewriting your codebase?
Re:What tech stacks are indie hackers using for their apps, ... by abledon on Saturday July 21, 2018 @12:07AM (#17580635)
This is an example of some of the best performance art on hacker news
Re:What tech stacks are indie hackers using for their apps, ... by smt88 on Saturday July 21, 2018 @02:23AM (#17580952)
Although I love it and upvoted both comments, it's also an example of why straightforward comments waste much less time/text than jokes/satire (on HN)
Re:What tech stacks are indie hackers using for their apps, ... by anon15476372 on Sunday July 22, 2018 @01:57AM (#17585465)
> types are nice and Scala's type system is powerful, but sometimes I wish I had the flexibility of a dynamic language. It would make prototyping much faster.

You can use both scala and clojure seamlessly. I'm writing my first gui app in clojure for prototyping swing, but if I choose to rewrite parts of it in scala the rest of the clojure code would continue to work.

There are several ways. using clojure in a scala project: https://github.com/Geal/sbt-clojure using scala in a clojure project: https://github.com/technomancy/lein-scalac jvm polyglot with maven: https://stackoverflow.com/a/9676895

example: https://blog.michielborkent.nl/blog/2016/07/26/clojure-from-...

Re:What tech stacks are indie hackers using for their apps, ... by nso95 on Friday July 20, 2018 @06:57PM (#17579663)
(ノಠ益ಠ)ノ彡┻━┻
Re:What tech stacks are indie hackers using for their apps, ... by jbg_ on Friday July 20, 2018 @11:16PM (#17580523)
On a single project, I agree. But each time I start a new pet/side project I like to use a different stack. It's a good motivation to learn new technologies, and you learn more about them by using them "in anger" than you do in a purely theoretical environment.
Re:What tech stacks are indie hackers using for their apps, ... by shams93 on Saturday July 21, 2018 @02:40AM (#17580996)
Looking at nuxt.js, express and mongodb and then deploying customer pages as static pages on s3 rather than running these dynamically from the app. Picked up 100 customers in a single day so now I have to move quick.
Re:What tech stacks are indie hackers using for their apps, ... by newen on Friday July 20, 2018 @06:30PM (#17579519)
Check out Elixir. It's Erlang with metaprogramming.
Re:What tech stacks are indie hackers using for their apps, ... by 83457 on Friday July 20, 2018 @07:37PM (#17579854)
I thought it was Ruby with Erlang... or was it Erlang with Ruby.. bah
Re:What tech stacks are indie hackers using for their apps, ... by newen on Saturday July 21, 2018 @02:57AM (#17581028)
Erlang with Ruby-like syntax plus macros..something like that. It compiles to the same VM as Erlang's and has almost all of the same semantics as Erlang.
Re:What tech stacks are indie hackers using for their apps, ... by dom96 on Friday July 20, 2018 @07:19PM (#17579771)
> but no fucking meta programming. Sucks, let's try Lisp...

See now this is where you went wrong. Should have switched to Nim at that point. Can't beat it's familiarity, speed and metaprogramming.

Re:What tech stacks are indie hackers using for their apps, ... by karmakaze on Saturday July 21, 2018 @02:16AM (#17580940)
Honest question. Is metaprogramming really that beneficial for any application development? I can certainly see the appeal, but how much will it improve productivity or quality compared to shipping features without it?

Isn't the actual wrong turn focusing on a metaproblem rather than the problem you set out to solve?

Re:What tech stacks are indie hackers using for their apps, ... by newen on Saturday July 21, 2018 @02:45AM (#17581013)
Metaprogramming is just macros: code that generates code. One use is to get rid of repetitive code patterns. Another is to move certain computations to compile time. Your statement that metaprogramming is used to solve a metaproblem is just wrong. Those two words are only related in that they share a prefix.
Re:What tech stacks are indie hackers using for their apps, ... by karmakaze on Saturday July 21, 2018 @11:59AM (#17582402)
I get what and why of metaprogramming. I was specifically trying to quantify working without it. My reference to metaproblem wasn't what metaprogramming you want to do but rather solving the problem of a lack of it by switching languages mid-development.

How often has a commercial project been rewritten to gain metaprogramming mid-dev? I added commercial because personal projects have different objectives.

Re:What tech stacks are indie hackers using for their apps, ... by TeMPOraL on Saturday July 21, 2018 @03:04AM (#17581045)
Third is to introduce new concepts into your language as if they were part of that language from the get-go. Which can entail both eliminating repetitive code patterns and doing computation at compile time.
Re:What tech stacks are indie hackers using for their apps, ... by iovrthoughtthis on Friday July 20, 2018 @07:49PM (#17579891)
I... touche.
Re:What tech stacks are indie hackers using for their apps, ... by arendtio on Saturday July 21, 2018 @02:39AM (#17580989)
You skipped PHP right in the beginning.

I use PHP for prototypes and Go for serious stuff.

Re:What tech stacks are indie hackers using for their apps, ... by kukabynd on Saturday July 21, 2018 @02:28AM (#17580964)
Do those who commented not understand /s?
Re:What tech stacks are indie hackers using for their apps, ... by NicoJuicy on Saturday July 21, 2018 @10:39AM (#17582138)
C# myObject?.Property
Re:What tech stacks are indie hackers using for their apps, ... by insulanian on Saturday July 21, 2018 @12:14PM (#17582451)
You should try F#.
Re:What tech stacks are indie hackers using for their apps, ... by asimpson on Friday July 27, 2018 @10:29AM (#17626202)
you forgot this: /s
Re:What tech stacks are indie hackers using for their apps, ... by i_made_a_booboo on Friday July 20, 2018 @11:25PM (#17580552)
congratulations on never shipping anything ever.