4 ms·
Fuzz Map
- etwigg 2y agoPrompt LLM to explore UI concepts, use tools like this to explore the LLM's output. The dev loop is getting so fun!
- nico 2y agoGreat idea, would love to see that loop going
- dang 2y agoRelated: Show HN: Fuzz Map – a GUI fuzzer, interactive demo - https://news.ycombinator.com/item?id=32578311 https://news.ycombinator.com/item?id=32578311 - Aug 2022 (33 comments)
- nico 2y agoFascinating! Loved the video with the demo
- metayrnc 2y agoHas there been updates about this product? I want to try it out ever since it got posted here 2 years ago but haven’t heard anything since.
- causal 2y agoAppears to be a one shot PoC, don't see it on the author's Github, though @jonathanyc does appear to be active on HN still.
- theogravity 2y agoIt looks like a pure demo / exploration of a concept. There's no source code or libs that you can download to run it against your own files (the code area is editable, not sure if you can just paste a file into it, but for actual dev, this wouldn't be realistic since you'd have other imports). It's really cool to see in action, though.
- deleted 2y ago[deleted]
- mg 2y agoHow is it able to test code coverage in the browser? Can JavaScript step through JavaScript?
- podgorniy 2y agoI'll speculate. They add extra lines (most probably via AST, not lines of chars) to the code which register if code run. Can't confirm that with code or anything. I saw similar techniqies in test coverage tools.
- mg 2y agoTrue, if you rewrite the code, then that would even work via a simple injection of _cover(123); after each line, where 123 is the line number. Could be a fun project to write a bookmarklet that does this to the current page, then lets you use it and then tells you which parts of the code have not been used.
- csomar 2y agoIt's really sad most of the front-end community has moved from Redux. This could be coupled with Redux to give you possible transitions of interfaces or how a particular session has transitioned.
- BodyCulture 2y agoWhat are they using now?
- hobofan 2y agoIn early days React, which was also the time where SPAs were popular, Redux was popular, as with an SPA you usually have to manage a lot of local state, which is benefits a lot by having a central managed state. With SPAs becoming less popular, more state moving to the server again (trying to keep local state in sync with remote DB state for a long lived session is a PITA), and React hooks making medium-size state management more accessible, bigger frameworks such as Redux became less popular. Nowadays you have usually have a lot of individual sections of components with hooks-based state, rather than having everything connected to a central Redux store. You usually still have some form of global state management though, in the form of e.g. a shared react-query cache (used for data fetching). Besides that libraries like react-hook-form that handle state management for specific use cases have also become more popular.
- BodyCulture 2y agoThank you very much for your lovely explanation, interesting developments!
- talkingtab 2y agoI found the concept of redux - a single source of truth for the state of your app - compelling. But the implementation cost was horrendous. As a developer I am constantly aware of the cost benefit of tools, libs, etc. The benefit of redux was very high. It reduced the theoretical complexity of my apps tremendously. But the cost of implementation complexity was even higher. There was too much additional code, boiler plate, and implementation complexity. Later, I started using one single context wrapping the whole thing. This provided most of the benefit of redux - all the code was in DataProvider.js - at the cost of one file. I found that the organization provided (ha ha)less need to go down the whole immutable path. This was just a practical thing, but it has worked extremely well for me.
- kierenj 2y agoLooks great! Although with the example.. I couldn't get it to show the "you need to be 21.." message to appear as a state
- NooneAtAll3 2y agofascinating that ui-focused website has scrollbar overlapping with the X sign on the welcoming pop-up...