CypherDiscuss: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:CypherTech = Adding Divs = <syntaxhighlight lang="javascript"> var c = document.createDocumentFragment(); for (var i=0; i<10000; i++) { var e = document.createElement("div"); e.className = "test-div"; c.appendChild(e); } document.body.appendChild(c); </syntaxhighlight>") |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:CypherTech]] | [[Category:CypherTech]] | ||
= Nostr Event Mapping = | |||
* NIP 72: Communities: https://github.com/nostr-protocol/nips/blob/master/72.md | |||
* NIP 10: Threading: https://github.com/nostr-protocol/nips/blob/master/10.md | |||
* NIP 01: Basics: https://github.com/nostr-protocol/nips/blob/master/01.md | |||
While I am storing my Community in a replaceable event, I am not using them for comments. I will use NIP 10 style responses to mark revisions. This is to preserve the initial signed Note, which may already have responses from other users attached to it. | |||
= Adding Divs = | = Adding Divs = | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> |
Latest revision as of 19:11, 31 December 2023
Nostr Event Mapping
- NIP 72: Communities: https://github.com/nostr-protocol/nips/blob/master/72.md
- NIP 10: Threading: https://github.com/nostr-protocol/nips/blob/master/10.md
- NIP 01: Basics: https://github.com/nostr-protocol/nips/blob/master/01.md
While I am storing my Community in a replaceable event, I am not using them for comments. I will use NIP 10 style responses to mark revisions. This is to preserve the initial signed Note, which may already have responses from other users attached to it.
Adding Divs
var c = document.createDocumentFragment();
for (var i=0; i<10000; i++) {
var e = document.createElement("div");
e.className = "test-div";
c.appendChild(e);
}
document.body.appendChild(c);