I turn existing websites into apps at https://webtoapp.design I went with Flask (python) + Bootstrap for my website. The apps are created in Flutter, which was a great choice looking back on it. This allows me to have 1 codebase for both Android & iOS apps (most customers want both). If developing an app for just Android would be 100% effort, developing an app for Android and iOS with Flutter is around 130% effort I'…
Ask HN: Companies of one, what is your tech stack?
31–40 of 327 posts
Re: Ask HN: Companies of one, what is your tech stack?
#32I'm a fullstack JavaScript dev. I used to write everything in pure React and serve it with Express on Node but two years ago I started experimenting with all the fancy new frameworks and now my every project is: - Gatsby or Next depending on how dynamic the content is - Firebase for db, auth, and bucket storage, and sometimes hosting - Vercel for NextJS hosting - Recoil for state management; after years of using Redu…
Re: Ask HN: Companies of one, what is your tech stack?
#33> What is your tech stack?
The choices are python, scala, julia, matlab and R. Of these python takes at least 90% of the market. I am using python and will do so for the forseable future. Don't like it but it's super practical thing to do. Fingers crossed Julia hits mainstream in the next few years.
Since I am mostly in the computer vision world my stack is torch, torchvision, pytorch-lighting, opencv, scikit-image, scipy and numpy. From time to time i call upon numba when it is impossible to avoid a loop (python loops are sloooooow, numba JIT compiles). Very rarely i coded stuff in C++ and used cython to link it to rest of python. Most of the stuff is already there. For model inference serving i use fast api.
> Why did you choose it?
I chose python because there is no real choice here. It's a monopoly. Winner with most ready to use packages takes all. I am rooting for Julia to eventually win over python as using python as the (big) data language is contradictory given how slow the interpreter is. Also it is not a GPU native language.
Torch was more of a personal choice as I really hated tensorflow 1.X versions and the compute graph. It was hard to debug and follow what is going on. Tensorflow 2.X moved to same mode of computation like torch but it was already too late for me.
> Do you think your choices had any impact on your success?
I think going with tensorflow would have worked as well. Lot more annoying but good base. Using language other than python would have been a bad idea. Practical ML is a lot like JavaScript WebDev. Get a bunch of stuff from 3rd party packages and write some glue code.
Re: Ask HN: Companies of one, what is your tech stack?
#34- Django
Enough said, really, it's a solid workhorse with a healthy ecosystem. The admin feature is very useful for simple backend data management. No other particular reason to pick this over Rails, Laravel etc other than my familiarity with Python and the framework.
- PostgreSQL
No issues here, works just fine. I use the full text search instead of a separate search indexer such as Elastic - it makes the deployment simpler and reduces overhead of serializing and syncing the search index and database. You can get good performance by paying attention to queries and indexing.
- Redis
Caching and queuing. I use rq [1] rather than Celery for running background tasks, it's less complex and generally easier to work with, especially if your needs are simple.
- HTMX and AlpineJS
SPAs can be a pain to build and maintain if you are a solo developer - it's almost like building two separate applications, and then you have to handle the integration of your backend API and frontend app. HTMX [2] lets me get 90% of the way there while still using plain Django views and templates, while still providing a smooth end-user experience. AlpineJS [3] is great for dealing with the more complex interactions where Javascript is really needed, but I still want some lightweight structure.
- Tailwind
I'm not a designer/CSS guru, so Tailwind is great for providing sensible defaults. Was a bit skeptical at first of maintaining long inline class names vs something like Bootstrap, but Tailwind turned out to be surprisingly productive.
- Dokku
Basically Heroku without the expense. Has a ton of features and buildpacks for managing single-node applications, from LetsEncrypt integration to database backups. As I run the whole thing on a single Digital Ocean droplet, this is perfect - not sure what the next step would be when/if I need to scale up to a multi-server setup.
- Ansible
For any server setup and routine maintenance stuff.
- Mailgun
Email sending. Still on free tier.
- Github Actions
CI/CD pipeline. Works fine, very few outages or issues, pretty easy to set up.
- [1] https://python-rq.org/
- [2] https://htmx.org
- [3] https://alpinejs.dev/
Re: Ask HN: Companies of one, what is your tech stack?
#35- React and next.js for the web app.
- Node.js & express for the API.
- React-admin for the back office.
- Postgres for the DB.
The biggest benefit to me of the above stack is running it out of AWS lambda. Pay only for what actually gets used, and more importantly it will scale to any sudden surge in customers without any effort on my part.
Re: Ask HN: Companies of one, what is your tech stack?
#36Earlier quoted context omitted.
Have you tried sanity.io (a headless CMS)? I used it in conjunction with Gatsby and have had a great experience overall.
Yes, it was my favorite for a while. But recently I switched to GraphCMS for more basic data structure and I love it. Especially the UI. I think what the market is missing is a sort of locally run CMS that is file based with Sqlite and managed completely with Git. Something that can can be moved around with project easily and have great version control. Let's say you have a /content folder in your project that is it'…
Re: Ask HN: Companies of one, what is your tech stack?
#37I make a lot of prototypes along with maintaining production systems. A lot of the projects have to do with ML/NLP, which basically means I have to chose python as a core backend language. Which is great, I love python. My core production system and every new prototype is: - Django + PostgreSQL - Celery + redis - for long-running tasks - React - GraphQL - Terraform + Cloud-init to provision the infrastructure All qui…
Re: Ask HN: Companies of one, what is your tech stack?
#38I'm a fullstack JavaScript dev. I used to write everything in pure React and serve it with Express on Node but two years ago I started experimenting with all the fancy new frameworks and now my every project is: - Gatsby or Next depending on how dynamic the content is - Firebase for db, auth, and bucket storage, and sometimes hosting - Vercel for NextJS hosting - Recoil for state management; after years of using Redu…
Many people don't want to be tied to a provider to this level (I think it's all about trade offs, not saying it is a good or bad thing).
In the stack you described, in my experience, it is a real headache to get a stable and realiable system where you need authentication, permissions, users management, a CMS, background jobs, input validation, migrations, internationalization, etc.
Ruby on rails, Laravel, Django, etc provide a clean, well documented and battle tested solution to all of this. The modern stack you describe, if not outsourcing all of this to a third party, it is pretty complicated and no one builds it the same way.
That's why people complain about these modern stacks being complicated, you're just not feeling it because of the trade offs you've made. (Good for you!).
Re: Ask HN: Companies of one, what is your tech stack?
#39My principle for https://phish.report (a tool for semi-automating the reporting of phishing sites) is: do as much statically or server side rendered as possible. Deployment: Docker Compose. It's great to just set a DOCKER_HOST environment variable and I can deploy to any server with Docker installed. Backend: a Go service. Could be any language really but that's what I know. Just takes requests, does some business lo…
Love this - a terrific cheat code!
Re: Ask HN: Companies of one, what is your tech stack?
#40I turn existing websites into apps at https://webtoapp.design I went with Flask (python) + Bootstrap for my website. The apps are created in Flutter, which was a great choice looking back on it. This allows me to have 1 codebase for both Android & iOS apps (most customers want both). If developing an app for just Android would be 100% effort, developing an app for Android and iOS with Flutter is around 130% effort I'…
If you like the column heights aligned on /convert/appdetails.