Feed aggregator
Dyson's V11 Cordless Vac Just Dropped to an All-Time Low (by Far)
I Altered My Brain Waves for Better Sleep With the Somnee Smart Sleep Headband
Show HN: A data oriented TodoMVC using Replicant
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
Dev Log #15 – Collisions
Article URL: https://dev.to/antoniodev/dev-log-15-collisions-22hn
Comments URL: https://news.ycombinator.com/item?id=42215992
Points: 1
# Comments: 0
Big Changes are Coming to Fortnite Crew; Here's What You Should Know
OnlineOrNot Diaries 22 – on successfully leaving AWS Lambda
Article URL: https://maxrozen.com/onlineornot-diaries-22
Comments URL: https://news.ycombinator.com/item?id=42215987
Points: 1
# Comments: 0
US FDA finds widely used asthma drug impacts the brain
Help encourage GitHub CTO to provide updates on IPv6
Article URL: https://github.com/orgs/community/discussions/10539
Comments URL: https://news.ycombinator.com/item?id=42215974
Points: 1
# Comments: 0
Microsoft's 'Time Machine' Recall Tool for Windows Enters Preview Phase
You can finally test Microsoft's controversial Recall feature - here's how
Best T-Mobile Plans: How to Choose and Which Ones to Pick in November 2024
Show HN: Pull Request Reviewed by LLM
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
Open Holiday Packages With Ease: This Safety Box Cutter Pack Hit a New Low Price for Black Friday
In the Quantum World, Even Points of View Are Uncertain
Article URL: https://www.quantamagazine.org/in-the-quantum-world-even-points-of-view-are-uncertain-20241122/
Comments URL: https://news.ycombinator.com/item?id=42215957
Points: 1
# Comments: 0
How to create psychedelics' benefits without the 'trip'
Article URL: https://www.nature.com/articles/d41586-024-03800-9
Comments URL: https://news.ycombinator.com/item?id=42215951
Points: 1
# Comments: 0
The Faery Tale Adventure – Amiga
Article URL: https://github.com/viridia/faery-tale-amiga
Comments URL: https://news.ycombinator.com/item?id=42215948
Points: 1
# Comments: 0
ChatGPT Has No Place in the Classroom
Article URL: https://buttondown.com/maiht3k/archive/chatgpt-has-no-place-in-the-classroom/
Comments URL: https://news.ycombinator.com/item?id=42215939
Points: 2
# Comments: 0
Private School Labeler on Bluesky
Article URL: https://simonwillison.net/2024/Nov/22/private-school-labeler-on-bluesky/
Comments URL: https://news.ycombinator.com/item?id=42215932
Points: 2
# Comments: 0
Soo, Suno V4 has been out of a few days, and I found it really bad.
Lurking around, you'll find so many people around praising it, but my experience has been extremely bad so far. I'll wait before submitting my theory about why they had to downgrade it. Anyone willing to comment with their own experience in a honest and unbiased way?
Comments URL: https://news.ycombinator.com/item?id=42215919
Points: 1
# Comments: 0