Live data from Hacker News

Ask HN: Companies of one, what is your tech stack?

news.ycombinator.com

61–70 of 206 posts

Re: Ask HN: Companies of one, what is your tech stack?

#61
For https://encycolorpedia.com

- Extremely simple setup orchestrated with docker compose

- Primary / perf sensitive areas implemented in Rust; some internal APIs and web facing stuff implemented in Go - there's basically the colour profile page implemented in Rust, a "core" Rust library for shared functionality and two API servers, one in Rust, one in Go

- Some data juggling done in Python (nothing fancy, basically all hand-rolled)

- Postgres database; this is treated as immutable; there's processes for adding data that's rather manual due to it requiring to be curated - a Postgres dump artefact is added to git lfs

- Exposed via Nginx, also using Cloudflare LB

- HTML templating a mixture of hand-rolled and Go templates

- Sass for style sheets

- Vanilla Typescript for the frontend

- Hosted on VPS with the best price/perf ratio (currently UpCloud)

Re: Ask HN: Companies of one, what is your tech stack?

#63

If you want an ultra productive, easy to learn and a delight to deploy+maintain stack, consider PETAL: Phoenix, Elixir, Tailwind, Alpine.js & LiveView. See: https://github.com/dwyl/technology-stack

I dont know if LiveView is easy to learn though, maybe easy to learn the happy path, but when things are outside the normal path, things can be hard to figure out/understand, even when they know the basic HTTP stuffs.

At least thats been my experience with it ~3months back. I was familiar enough with elixir/phoenix/channels to source dive and figure out whats happening, and today i know liveview well enough to avoid the weird interactions, but I imagine it can be a pretty miserable experience for beginners to start with.

Re: Ask HN: Companies of one, what is your tech stack?

#65
post #56
post #40

Building an agtech platform (with quite a few other people, including a designer and data scientist, but I'm currently the sole developer, and for the most part it was built by a single developer). Backend: Rust, rocket, sqlx, postgres + a little bit of R. Ansible for deployment. Frontend: Rescript + React. Also a significant portion of Rust/WASM, but that was a mistake I'm trying to undo. In short, statically typed…

Nice. Are you able to share what you are working on and why WASM was a mistake?

I'm literally about to do my weekend coding on a WASM UI using sycamore-rs (a rust library), so I would love to find out too lol

Re: Ask HN: Companies of one, what is your tech stack?

#66
A book publishing pipeline, that's... Overly simple. I see about $5-15/month, which should set your scale expectations.

File sync via SyncThing.

Rendering to ePub, txt, PDF, HTML and DocBook via a combination of TeX, texinfo and shell.

And... That's it. Everything web hasn't been touched in about three years. Just static, apart from payment JS.

Re: Ask HN: Companies of one, what is your tech stack?

#67
post #63

If you want an ultra productive, easy to learn and a delight to deploy+maintain stack, consider PETAL: Phoenix, Elixir, Tailwind, Alpine.js & LiveView. See: https://github.com/dwyl/technology-stack

I dont know if LiveView is easy to learn though, maybe easy to learn the happy path, but when things are outside the normal path, things can be hard to figure out/understand, even when they know the basic HTTP stuffs. At least thats been my experience with it ~3months back. I was familiar enough with elixir/phoenix/channels to source dive and figure out whats happening, and today i know liveview well enough to avoid…

@hdra did you capture your LiveView experience somewhere e.g. a learning log (blog post). I would love to read it as I’m sure everyone in the Phoenix team would. Thanks!

Re: Ask HN: Companies of one, what is your tech stack?

#68
I have some stuff running with minimal maintenance, never any surprises, just chugging along year after year.

These services are practically stackless: there’s a Node app with Express as the only dependency. No database, persistence to local files, entire data model cached in memory as JavaScript objects. When the service restarts, it rebuilds the memory image from the file system. The data formats are a mix of mostly append-only logs (JSON lines) and some plain JSON for objects where it doesn’t make sense to keep the full change history. Backups and restore to another server are super easy when there’s a bunch of files and a single Node script to launch.

Lately I’ve been building a hobby product where the front-end is stackless too. Plain HTML and modern JavaScript, using ES modules in the browser. No build chain at all. I don’t need to support IE so all modern language features are natively available, and the app is small enough that a bundler doesn’t deliver huge benefits. This means I don’t have access to npm, but so far it’s been fine because browsers do so much these days and the APIs have improved tremendously in the past decade.

I’ll probably stick with stackless for anything I maintain alone and doesn’t have huge growth expectations. But I wouldn’t expect to convince anyone else in a professional environment, so in the real world there’s no escaping from half-gig node_modules and complex Docker builds and all that dance.

Re: Ask HN: Companies of one, what is your tech stack?

#69
post #42
post #17

For my latest project: Frontend: React/Typescript Backend: React/Typescript, Nim DB: Postgres Hosting: Namecheap, Cloudflare, ZAP-Hosting

Interesting that you use Nim. How do you use it & what exactly do you use it for?

I use it mainly for high-performance backend engines. E.g. I'm writing an automated trading system and the trading engine is written in Nim.

I wrote a Nim web framework that has an ORM: https://github.com/jfilby/nexus. However I mainly use the ORM with the back-end engines. You could write a Django-style web app with Nexus + Nimja, but it's difficult to compete with the huge ecosystems of React and Flutter.

Re: Ask HN: Companies of one, what is your tech stack?

#70
Rails + Hotwire + PostgreSQL. I am now basically making a template out of this for myself https://businessclasskit.com/.

And I self-host with a little bit of Bash on single VM as I described in Deployment from Scratch.

The minimalism might not stay forever, but before you hit any real success, you should keep things plain, boring, and maintainable.

Post reply on HN