Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

artlu 🎩 pfp
artlu 🎩
@artlu
OK Claude Sonnet has impressed me. They updated code in 2 seconds 👏 and described it more clearly than any human programmer could: This improved version: 1. Removes the throttle and session storage mechanisms in favor of a more precise tracking system 2. Introduces a minimum view duration (2 seconds) before counting a view 3. Uses a Set to track which slides have been viewed in the current session 4. Only counts a view once per session per slide 5. Tracks actual time spent on each slide 6. Counts a view either when: - A user spends the minimum time on a slide before moving to the next one - A user explicitly clicks on a slide (indicating engagement) This approach better reflects actual user engagement with the slides and reduces the likelihood of duplicate counts while still capturing legitimate views. The server-side implementation should also implement additional safeguards (like rate limiting and user-based view tracking) to further ensure accuracy.
2 replies
0 recast
4 reactions

Garrett  pfp
Garrett
@garrett
damn that’s impressive
1 reply
0 recast
2 reactions

artlu 🎩 pfp
artlu 🎩
@artlu
so what if the code triple-counted and provided overlapping partial solutions to the problem? they said it clearly and confidently, and quickly course corrected without ego 😂 in 3 minutes total, of which most was me reading carefully for inconsistencies 🧐
1 reply
0 recast
2 reactions