Veritula – Meta
Showing only ideas leading to #4032 and its comments.
See full discussion·See most recent related ideasLog in or sign up to participate in this discussion.
With an account, you can revise, criticize, and comment on ideas.Discussions can branch out indefinitely. You may need to scroll sideways.
Dennis HackethalOP·#3950·
Code blocks need syntax highlighting.
Veritula used to have this feature but I removed it when diffing changed.
Criticism
Dennis HackethalOP·#3951·
Done as of cc1ab95.
Ruby example:
ruby
def criticized? ideapending_criticisms(idea).any?enddef pending_criticisms ideacriticisms(idea).filter { |c| pending_criticisms(c).none? }enddef criticisms ideachildren(idea).filter(&:criticism?)end
JS example (h/t ChatGPT):
javascript
function criticized(idea) {return pendingCriticisms(idea).length > 0;}function pendingCriticisms(idea) {return criticisms(idea).filter(c => pendingCriticisms(c).length === 0);}function criticisms(idea) {return children(idea).filter(c => c.isCriticism);}
Dennis HackethalOP·#4023·
Would be nice if the copy button was sticky-top so that it scrolled with the user.
Criticism of #3951
Dennis HackethalOP·#4033·
I spoke to soon. Rolling this back for now. Too jittery when scrolling on mobile. Non-trivial to implement. Need to see how other sites do it.
Criticism of #4032