Veritula – Meta

Showing only ideas leading to #5701.

See full discussion​·​See most recent related ideas
  Log 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 Hackethal’s avatar
Dennis HackethalOP​·​#3950​·​

Code blocks need syntax highlighting.

Veritula used to have this feature but I removed it when diffing changed.

CriticismCriticized1*Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#5703​·​
2nd of 2 versions leading to #5701 (2 total)

Done as of 65dba4b.

Ruby example:

ruby
def criticized? idea
pending_criticisms(idea).any?
end
def pending_criticisms idea
criticisms(idea).filter { |c| pending_criticisms(c).none? }
end
def criticisms idea
children(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);
}
Criticism of #3950 Battle-testedArchived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#4024​·​
Only version leading to #5701 (2 total)

The diff view can’t handle the removal/replacement of entire code blocks yet. The removed block looks broken, the new block doesn’t show at all. See activity 3207 in dev.

Criticism of #5703Criticized1*Archived
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#5701​·​

Fixed as of b2a2a32 at the latest.

Criticism of #4024Archived