Define your custom activity schema. For non-standard actions, use kind=30000 to kind=39999 (parameterized replaceable events).
let event =
kind: 31234, // custom app activity
created_at: Math.floor(Date.now() / 1000),
tags: [["business_id", "inv-9001"], ["status", "approved"]],
content: JSON.stringify( approval_level: 2, comment: "OK to ship" ),
pubkey: pk,
;
event.id = getEventHash(event);
event.sig = signEvent(event, sk);
Platforms like Damus, Snort, and Amethyst rely on nip-activity for every like, reply, and repost. Unlike Twitter or Facebook, your social activity is not owned by the platform. Your kind=1 text notes follow you, not the server. If you switch clients, your entire activity history moves with you.
NIP-activity provides a valuable integrative framework for studying the neural mechanisms of planned, voluntary action. By explicitly defining and isolating this activity from reflexive or unmotivated movements, researchers can advance our understanding of volition, motor cognition, and clinical disorders of action initiation. Standardized paradigms, such as the SPDT, along with cross-species neurophysiological methods, will further solidify NIP-activity as a foundational concept in cognitive and systems neuroscience.
import relayInit from 'nostr-tools';
const relay = relayInit('wss://relay.damus.io');
await relay.connect();
let pub = relay.publish(event);
pub.on('ok', () => console.log('Activity stored'));
pub.on('failed', (reason) => console.log('Error:', reason));
Understanding NIP-Activity: The Science of Native Insecticidal Proteins nip-activity
In the high-stakes world of agricultural biotechnology, the effectiveness of pest-resistant crops hinges on the "NIP-activity"—the potency and receptor-binding capability of Native Insecticidal Proteins. These naturally occurring proteins, primarily derived from Bacillus thuringiensis (Bt), are the backbone of sustainable pest management in crops like corn and soybeans. What is a Native Insecticidal Protein (NIP)?
A Native Insecticidal Protein is the original, unmodified version of a protein produced by soil-dwelling bacteria. These proteins work by binding to specific receptors in the midgut of target larvae (such as the soybean looper or corn earworm), creating pores that eventually lead to the insect's death.
In research and development, "NIP-activity" is used as the baseline for measuring how effective a specific protein is before scientists attempt to enhance it through domain swapping or targeted mutations. How NIP-Activity is Measured Define your custom activity schema
To determine the activity of these proteins, scientists perform insect diet bioassays, which typically follow these steps:
Concentration Setting: Researchers identify the LC90—the lethal concentration required to kill 90% of a target insect population.
Stunting Response: The activity is often scored based on a "stunting response." For example, a score of 3 indicates significant growth inhibition of the larvae. Platforms like Damus, Snort, and Amethyst rely on
DIP vs. NIP Comparison: Scientists often introduce Disabled Insecticidal Proteins (DIP)—versions of the protein that cannot form pores. By mixing NIPs with increasing concentrations of DIPs, researchers can see if they compete for the same receptors. If the DIP suppresses the NIP-activity, it confirms that both proteins are targeting the same "doorway" into the insect’s system. Why Measuring NIP-Activity Matters Monitoring NIP-activity is crucial for two primary reasons:
Resistance Management: Insects can evolve to become resistant to specific Bt traits. By understanding the native activity and the specific receptors involved, scientists can develop "pyramided" crops that use multiple proteins to attack the same pest in different ways, making it harder for resistance to develop.
Engineering New Traits: Research published in journals like PLOS ONE shows that by comparing NIP-activity to that of chimeric (hybrid) proteins, developers can create new variants with a broader "insecticidal spectrum," protecting crops against a wider variety of pests. The Future of NIP Research
As the agricultural industry moves toward second-generation Bt products, the focus on NIP-activity remains a cornerstone of food security. By precisely measuring how these proteins interact with insect biology, researchers can continue to reduce the need for chemical pesticides while ensuring robust crop yields for a growing global population.