105 karma · joined Apr 23, 2021 (5y ago) · 62 submissions
31.
Ask HN: Best Productivity Techniques for Developers?
1 points · by nullbytesmatter · 4y ago · discuss
34.
Ask HN: Best Place to Live in the USA?
6 points · by nullbytesmatter · 4y ago · 10 comments
comment 4y ago · link · parent
Not ideal at all, but it seems fast enough. I calculated it will complete in ~50 hours.
comment 4y ago · link · parent
System76 has some decent laptop options for Linux, but all are FHD.If I had to purchase a new laptop today, I'd look at System 76's Lemur Pro or Purism's Librem 14.
42.
Ask HN: How to Deal with CSVs?
3 points · by nullbytesmatter · 4y ago · 16 comments
comment 4y ago · link · parent
Sure-- the rewrite was more effort up front but the hope was the long term compounding benefits would be worth it. I don't generally advocate for rewrites but in this case I went for it (and actually got it done).
comment 4y ago · link · parent
To future proof the service I wanted to use tech that was based on the fundamentals. This boiled down to no special tooling, no special build process, etc. Furthermore I cut out all dependencies I could. I got my third party dependencies down to two (postgres + nginx).
Practically speaking this meant: no node, no yarn, no ruby, no webpack, no sidekiq, no redis, etc.
The entire service is now Nginx, Postgres and a single binary that has html/css/js/assets embedded inside of it. The entire product is a single Go binary that connects to postgres-- that's it.
I could probably do without Nginx, but it has been nice for a variety of reasons and has never given me a headache.
My tech/decisions may not be for everyone (that is why I didn't share them initially) but it works incredibly well for me and most products I build.
comment 4y ago · link · parent
Unlike the author, my product was making actual money ($XXX,000). I ended up completely rewriting the product from scratch (took ~3 months). I just swapped the old Rails service out for the new service on April 1st.
I stuck to "simple and boring" tech for the new stack. No more Rails, etc.
comment 5y ago · link · parent
I have used Rails for most of my career and for a number of side ventures. I have to say I have had a love-hate relationship with it.
I love everything people love about Rails (mentioned above). What I hate is how the speed and productivity comes back to bite you later.
The code eventually turns into a ball of mud and becomes near impossible to update. You have N-dependencies that depend on Y-dependencies of their own. Different Rails versions or module versions, and you can't update one without breaking something else.
You eventually live with it, and nothing gets updated but then you want security updates, and sometimes something terrible happens (like the mimemagic catastrophe) that forces you to ham fist updates together and live with some rails engines not working completely. But that's ok, because productivity right?
comment 5y ago · link · parent
I simply run "make deploy" and a new production build is made and rsync'd to production. Then the script executes a "deploy.sh" on the production server which reloads the system process to pick up the new binary.
Poof.