News for hackers. Stuff that matters.

richstone_io

How to make your side project pivots more thoughtfully

Thoughtful side project pivotingDo you ever switch from one project to another spontaneously? It often happens when something new comes along, and you snag the chance to leave this thing alone that you were excited about just recently but came to view as a burden as time passed. It has a sour aftertaste of having left things undone that probably still had potential.I think what I have here is...

( Read More... | 1 comment | 2 points | on HN )
Re:Ask HN: How important is API integration for SaaS on Friday April 04, 2025 @03:31PM (#43586741)
You are spot on, if no one is asking for automations or API endpoints yet to make more use of your SaaS, then your business is not there yet with the amount of power users and partnership opportunities.

So, it most likely wouldn’t make sense at this point, investing your time and energy into guesses about what stuff API clients might use in the future. After all, all those integrations are dev and maintenance intensive.

I like your idea about getting feedback from customers and finding the simplest solution from there.

Also, it's not Sawgger UI but Stoplight ;)
Sweet. Love seeing those tiny cool APIs.

How did you ensure it's generating truly random numbers?

Sloth Finder helps you encounter the most amazing weekly Ruby articles around your favorite Ruby and Rails topics for the past decade sourced from [Ruby Weekly](https://rubyweekly.com/). This tool was made because the creator, a Sloth in human form, was interested in all the greatest articles around his favorite weird Ruby niche, so he built a primitive search and looked for:

``` api, openapi, automation, rest, graphql, rpc, soap, webhook, scrap, event-driven, serializ ```

What followed was a wealth of articles full of knowledge, understanding of his niche, and potential for connecting to potential leads and partners. Instead of calling it a day, he decided to share the tool with us, the people (which basically means his 100 minute hack turned into a 20 hour project if you include all the side quests and write-ups related to it).

https://slothfinder.apishop.io/

He has also open-sourced it on GitHub. Here are some reasons for you to look at the code:

- You want to see how to deploy a Rails project on the cheapest [render.com](http://render.com) non-free plan running on SQLite (making it cheaper than usual). After I already embarked on render.com, I found that [someone else documented how they experimented with something similar and ran Python on SQLite on fly.io for basically free](https://github.com/irskep/cheapo_website), so this might be another solution if you are interested in hosting your hobby projects. - You want a simple Ruby scraper template to scrape simply structured sites like xlcd.com/1, xkcd.com/2, etc. - You wanna see a logger that writes to STDOUT and logs (useful for local scraping if you want to watch progress but also write to logs for search purposes later). - You want to see a Turbo stream in action. - You want to see how a „first thing that came to mind search over a small ActiveRecord collection“ was implemented.

Ok writing first-person again. If you find the search useful, let me know if you would like something similar for the other publishings of cooperpress(https://cooperpress.com/publications/). They have top notch stuff on JavaScript, Postgres, and much more! I’ll also take suggestions for other scrapeable publishings that don’t have a search.

Enjoy

Re:Ruby on Rails is dead, long live Ruby on Rails on Thursday January 05, 2023 @04:20PM (#34266764)
This spontaneous headline makes me think that Rails did die one dead at the beginning of last year with Rails 6 webpack cruelty and resurrected with a whole new framework around handling JS (Hotwire/import-maps) as the default in Rails 7.
It's pretty step by step, so if you ever wanted to deploy an API with Ruby and a flexible document database quickly, backed by a test suite, here's your guide.

I'm planning to do a free workshop around it where we can talk your API idea and deploy it together tailored to your use case, so ping me if you are interested.