Live data from Hacker News

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

news.ycombinator.com

261–270 of 327 posts

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

#261

I run a file sharing / content delivery platform called pixeldrain: https://pixeldrain.com The system serves 4 PB of data to 60 million visitors per month. I have served 30 PB and 700 million file views since I started tracking usage somewhere in 2018. I'll go from front to back: - Most of the frontend is plain HTML, CSS and JS. I have started transitioning some pages to Svelte. I like this framework for its speed an…

Curious to learn more about CockroachDB's problems you had. They market themselves as a turn-key solution to globally distributed databases, it's worrying that you had a problem with that very use case. Thanks for the additional details!

Okay this is just my understanding of the issue. I'm not sure if it's 100% correct.

Cockroachdb slices up its tables in 16 MiB shards. These shards are distributed over three nodes, one master and two slaves. The master gets chosen with the raft protocol. The master is the only server which can write to the shard. For a write to happen all three replicas need to be synchronized, they do this by locking the entire shard whenever a query comes in that writes to a row in the shard.

The problem is that if the latency between the master and the slave node is too large, you are severely limited in how many queries can be executed. For example if you have one shard in the US and one in Europe there might be a latency of 150 - 200ms between them. This means you can only execute 5 queries per second. Any more requests that come in are queued. After a while the queue gets so long that incoming queries have to be dropped.

This implementation is great for consistency, but if you frequently need to run update queries on your rows it's not the right solution. You need eventual consistency like Scylla and Cassandra provide.

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

#262

Earlier quoted context omitted.

Finally! one that can import PDFs, a must have for tuning. For example, "Print to PDF" from the browser and import it in an editable format. === My question, as you made it a PWA, why bother with Electron? === BTW, I bet you have it tasked, but having a shortcut profile selector with AI and Inkscape ones would help.

> Finally! one that can import PDFs, a must have for tuning. For example, "Print to PDF" from the browser and import it in an editable format. To be honest Boxy SVG is not the best tool for manipulating PDFs. It should be able to import most PDF files as it is using Mozilla's PDF.js library under the hood, but once you import the file you have to deal with limitations of the SVG format such as lack of support for mul…

Thanks for the reply. I imported a PDF with forms and it drew them fine. In Inkscape I also have to clear the kernings, and reflow. It's not perfect, but it's a good starting point. Figma and XD can't import PDFs at all.

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

#263
post #201

The problem with this question is it is akin to those people on photography forums and elsewhere asking "what camera / lens / ISO /shutter speed / aperture" did you use ? As if somehow having the same combination will give them the same results. Surely the correct and only answer is "the right tech stack for the job". Trying to shoehorn everything into one chosen stack is only likely to end in dismal failure. Switchi…

> Surely the correct and only answer is "the right tech stack for the job". That is assuming that there is a "right" stack in the first place. That thread is mostly proving the opposite, that the stack doesn't really matter. "use the right tool for the right job", "don't focus on the flavor of the month", "focus on getting users before scalability" and "KISS" all have been said a thousand times. Saying that again lea…

> Saying that again leads to no new insight.

I would throw that one right back at you by saying....

What great insight does 200 people posting about 200 different variations of stacks provide insight about ?

Diversity in stacks ? And, erm .... not much else ?

Sure I guess you could try to aggregate it and look for patterns, but would that really be useful ? I'm not sure the sample of 200 or so would be big enough for it to be more than a subjective extrapolation of random answers and you certainly couldn't claim to see trends etc. in such a small sample.

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

#264

I run a file sharing / content delivery platform called pixeldrain: https://pixeldrain.com The system serves 4 PB of data to 60 million visitors per month. I have served 30 PB and 700 million file views since I started tracking usage somewhere in 2018. I'll go from front to back: - Most of the frontend is plain HTML, CSS and JS. I have started transitioning some pages to Svelte. I like this framework for its speed an…

> Each of these servers cost €1200 per month I see on Patreon that you're getting $275.43/month from supporters. How does that work out financially?

The vast majority of my income is from ads. It's a 10:1 ratio. Patreon definitely helps, and I hope that it will get so far that I have to rely less on ads to keep the site running.

The nice thing about Patreon is that they do my taxes for me. When I receive my money the taxes have already been paid. I can put it in my accounting software as tax free money. Patreon's fees are high though, so if something else comes along I'll give that a shot too.

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

#265

I'm currently building namy.ai (AI domain name generator) solo, and here's my tech stack: BACKEND: - Python for the backend. Just a great, batteries included language that lets me do what I want fast and doesn't get in my way. - Flask: a web framework for Python. There's Django too, but Django is no fun. Flask is small and exactly what I want. - Pytorch: My DL framework of choice. Again, understandable, makes sense,…

A little bit of feedback on namy.ai

Small improvement: filter by type of domain (.com, .ai, etc)

Big improvement: filter false positives, it showed some sites as available, but they were taken (those were sites with English dictionary names .com , which I think are pretty much taken 99% of time).

If you hit 3 cool names that are supposedly available and then it turns out they are not, you are unlikely to use the suggestion site again.

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

#266
Not making a lot of moolah but here is the current iteration:

- HTTP API: Rust, type checks are really useful as web apps are often just messaging. Not being able to cleanly assert JSON structure in dynamic languages started to become an issue.

- DB: SQLite. Not having to manage servers, and just “click to open in GUI” on Mac OS makes development easier.

- Hosting: Google Container OS, Docker, regional disk replication. Every SQLite tx commit is replicated to two zones, the db is incrementally snapshotted hourly.

- UI: TS, React, MobX. Got tired of Reacts state APIs changing every year so just froze on MobX.

- Editor: IntelliJ. I am happy to pay monthly to not deal with plugins. Search is very fast and type aware. Works with all languages with the same shortcuts.

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

#267
I am running several projects [0]. One of my latest is https://fromzerotofullstack.com , with video for developers to learn from real projects.

For it I use htmx [1], sass [2], Django, Postgres, and Auth0 [3]. I deploy on linode using Ansible [4]. For the videos I use OBS [5] and some custom python scripts. If I need any extra 3d or animation, I use Blender[6] and Shotcut [7].

I have tried other technologies for other projects, like React or Elm (which I find great). But so far this setup (maybe changing custom css by tailwindui mostly) is my most productive.

[0] https://mejuto.co

[1] https://htmx.org/

[2] https://sass-lang.com/

[3] https://auth0.com/

[4] https://www.ansible.com/

[5] https://obsproject.com/

[6] https://www.blender.org/

[7] https://shotcut.org/

Edit: link format

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

#268
post #124

If anyone wants more of a deep dive on solo developer tech stacks, I have a podcast at https://runninginproduction.com/podcast/ with almost 100 episodes and 100 different guests. Every episode is a 60-90 minute unscripted podcast where we talk about how they built and deployed their app, what libraries they used, tech stack, lessons learned, etc.. There's also a skimmable list of tech stack tags, reference links and…

Any episodes you may point out? Specifically tech on SaaS and the learning of how to build to scale. Or just general episodes you personally found fascinating

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

#269
post #124

If anyone wants more of a deep dive on solo developer tech stacks, I have a podcast at https://runninginproduction.com/podcast/ with almost 100 episodes and 100 different guests. Every episode is a 60-90 minute unscripted podcast where we talk about how they built and deployed their app, what libraries they used, tech stack, lessons learned, etc.. There's also a skimmable list of tech stack tags, reference links and…

came here to suggest this. Great podcast!

Any recs?

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

#270

Earlier quoted context omitted.

I found Budibase cumbersome to use. It looks sleek, but the overall usability is worse. To delete a component you have to find it in the component list, open a hamburger menu and delete. This despite having a panel with component details open with plenty of screen real estate for action buttons. The API I use outputs data in a nested json ("results: ..."). As such Budi parsed everything into a single column. There wa…

Hey, co-founder of Budibase here. This is fantastic feedback, thank you very much for taking the time to write this up. We totally agree with the points you have raised - in fact we are in the process of addressing the component deletion problem; providing the ability for users to delete components with the keyboard or use an action bar that will be shown in the preview. As for mapping data - this is something that i…

Those changes sound great! I'll definitely keep following you. I use docker compose.

Your product is solving a very real problem that I think is under served. I developed a lot of back office tools in my old job. It was very easy to find good ideas for tools that would improve the workflow and efficiency of our sales, marketing and accounting departments.

I found that rapid prototyping and quick iterations worked great for finding good solutions for non-technical stakeholders. It made it possible to give them something concrete to "touch and feel" after every meeting. It spurred a lot of engagement.

Low-code tools like yours will really aid this kind of process, and I look forward to seeing where you'll go.

Post reply on HN