NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Sliding Window Technique Visualizer (sliding-window-visualizer-bryanneumann.replit.app)
materialpoint 18 hours ago [-]
I thought the point of a sliding window, especially a fixed one, is to add the next element and subtract the oldest one from a running sum, to achieve O(1) running time except the start cost. This is what an efficient constant-time median filter in image processing would do, such as Perreault and Hébert's Median Filtering in Constant Time, and Weiss' Fast Median and Bilateral Filtering do.

Edit: I can't see the visualizer explaining this part.

19 hours ago [-]
dvdhs 18 hours ago [-]
This just looks like more AI slop, and doesn't actually visualize the useful bits of a sliding window algorithm
materialpoint 18 hours ago [-]
I think you are right. Looking at the source code of the page there are the usual tell-tale signs of AI written code with overtly explaining comments, such as: <!-- Favicons --> <!-- Bootstrap CSS with Replit dark theme --> <!-- Custom CSS --> <!-- Bootstrap JavaScript Bundle --> <!-- Custom JavaScript -->
rickydroll 17 hours ago [-]
I'm coming to think of AI slop as the same thing you would get from a lazy or incompetent programmer.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 12:10:50 GMT+0000 (UTC) with Wasmer Edge.