Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 59 min 20 sec ago

React Router 7 is out

Fri, 11/22/2024 - 2:09pm

Article URL: https://reactrouter.com/7.0.1/home

Comments URL: https://news.ycombinator.com/item?id=42216539

Points: 1

# Comments: 1

Categories: Hacker News

How to build something people will pay you for, in 5 steps

Fri, 11/22/2024 - 2:07pm

1. Look at all the problems you experience yourself, pick a painful one.

2. Talk to people who experience the same problem through DMs or surveys.

3. Build MVP that solves problem.

4. Share MVP to the same people you talked to before.

5. Improve MVP based on their feedback.

Now you have a product worth paying for.

This is how I did it for my project Buildpad and it's now at 1800+ users + 50+ paying customers, so don't say it doesn't work.

Comments URL: https://news.ycombinator.com/item?id=42216533

Points: 2

# Comments: 1

Categories: Hacker News

Cloud Identity

Fri, 11/22/2024 - 2:06pm
Categories: Hacker News

Show HN: A data oriented TodoMVC using Replicant

Fri, 11/22/2024 - 1:02pm

Data oriented. It's been a theme throughout my rather long career. Especially the last five or so years, when I've been using Clojure in anger. But even with Clojure there are a lot of not fully data oriented ways of doing things. Building frontends (which I do for a living) has been particularly tricky to keep as data oriented as I wish. Enter Replicant https://github.com/cjohansen/replicant

Replicant is one of those libraries which make you say “I can't believe this is not React”. But it really isn't React. It brings 90% of the benefits of React, without bringing in that whole world of churn and not-so-data-oriented ways of doing things. Replicant has zero dependencies. It is created by Christian Johansen, a developer as data oriented as they come. To get where Replicant, and this TodoMVC example, comes from, have a watch at Christians JavaZone Oslo 2023 talk, Stateless Data-driven UIs https://2023.javazone.no/program/85f23370-440f-42b5-bf50-4cb...

As Replicant is a library, and not a framework, there are as many ways to use it to build TodoMVC as there are developers. This example takes inspiration from my previous favorite UI libraries, Reagent and re-frame, from which I use what I think are their best ideas. The example implements a tiny (less than 50 loc) framework and then leverages that to create perhaps the most data oriented TodoMVC ever (I am expecting to be shown a lot of examples that are as, or more, data oriented). The unit tests in the example take advantage of this and test things that you normally need to bring in browser drivers to test. The example is finished, but the tests are work in progress (about 30% done, I think).

I've tried to make the example super easy to clone and play with. And I've tried to make the README be clear and useful to understand the example and what's unique with it. Please give it a spin and tell me what you think! If you want to help with test coverage, that would be awesome too.

Comments URL: https://news.ycombinator.com/item?id=42215993

Points: 1

# Comments: 0

Categories: Hacker News

Dev Log #15 – Collisions

Fri, 11/22/2024 - 1:02pm
Categories: Hacker News

Show HN: Pull Request Reviewed by LLM

Fri, 11/22/2024 - 12:59pm

This year I’ve reviewed more than 1000 code changes. Most of the time was spent catching obvious mistakes rather than debating complex design decisions. If we estimate ~10 minutes per review, that’s 160+ hours spent reviewing code in just one year.

So I thought: could I get some of that time back using LLMs?

That's why I spent the last few weekends building an LLM-based prereviewer that should take a first pass before the actual human reviewer. The results so far are promising: I estimate it can reduce the review time by 50%, which in my case would mean I save 80hours (~10 working days) per year.

Linked above is an example of a PR where I'm testing the AI reviewer and it showcase how it can detect bugs, suggest best practices about token validity, generate summary and title, and even chat with me in review comments.

The AI reviewer is a simple Github action that runs everytime I open or synchronize a pull request and you can see the source code at https://github.com/presubmit/ai-reviewer.

Comments URL: https://news.ycombinator.com/item?id=42215963

Points: 2

# Comments: 0

Categories: Hacker News

The Faery Tale Adventure – Amiga

Fri, 11/22/2024 - 12:56pm
Categories: Hacker News

Pages