Menu

#Emit

7 posts

Feed·
7 of 7 posts
Build a tiny event emitter in 50 lines (and the one bug most versions have)
📰
0Read More

Build a tiny event emitter in 50 lines (and the one bug most versions have)

DEV Community: node·Rich Polo·about 2 hours ago
#SdNu3Rnd
#devtonodejs#devto#dev#event#const

Event emitters are everywhere: Node's EventEmitter, the DOM's addEventListener, every state library...

15s
Photon fluctuations offer new way to probe electron dynamics in crystals
📰
0Read More

Photon fluctuations offer new way to probe electron dynamics in crystals

#phys#science#laser#light#intense

Intense laser light can make a crystal emit new colors at frequencies many times higher than that of the original beam. This process, known as high-harmonic generation, provides a powerful way to investigate the rapid motion of electrons in solids.…

15s
Race, Queue, or Cancel: Choosing the Right flatMap for Your Kotlin Flow
🖼️
0Read More

Race, Queue, or Cancel: Choosing the Right flatMap for Your Kotlin Flow

DEV Community: android·Android Expert·8 days ago
#nC5RbOc6
#devtoandroid#devto#dev#flow#work

How flatMapMerge, flatMapConcat and flatMapLatest differ on the same input, and the production failure modes each one hides.

15s
Crow experiments suggest switching to vocal communication requires extra mental effort
📰
0Read More

Crow experiments suggest switching to vocal communication requires extra mental effort

#phys#science#sound#vocalizations#emit

For animals that can produce vocalizations, choosing to emit a sound involves various neural processes. For instance, it entails controlling when to emit a sound and how loud and high-pitched the sound will be, while also adaptively switching between…

15s
84Read More

Finite State Machines in Forth

Hacker News·3 months ago
#GxGZsIS5
#forth#bytes#err#state#ascii

Certain programming problems are difficult to solve procedurally even using structured code, but simple to solve using abstract finite state machines (FSMs) [1].…

15s