A collection of random generators for Dungeons & Dragons and other tabletop role-playing games.
https://donjon.bin.sh/
More resources at www.libresites.org
#collection #generators #random #DandD #games #roleplaying #RPG
#Coroutines in #PHP: Functions That Can Pause and Resume ⏸️
🔄 #Generators provide asymmetric, stackless coroutines - can pause execution with yield keyword and resume with next() method
🧵 👇
What if your PHP functions could pause, resume, and remember where they left off, like little self-aware scripts? ⏯️
That’s what coroutines are for, and PHP gives you two tools to use them: Generators (since 5.5) and Fibers (in PHP 8.1).
🥔 🔥 I break it all down with real code, plus a hot potato metaphor you won’t forget:
https://doeken.org/blog/coroutines-in-php?utm_source=mastodon
#Development #Techniques
CSS blob recipes · What’s the easiest way to make fun shapes? https://ilo.im/164zjl
_____
#Shapes #Blobs #Generators #Design #WebDesign #WebDev #Frontend #CSS #HTML #SVG
QEMU: Define policy forbidding use of AI code generators
https://github.com/qemu/qemu/commit/3d40db0efc22520fa6c399cf73960dced423b048
#HackerNews #QEMU #AI #Policy #AI #Code #Generators #Open #Source #Technology #Ethics
Just did a #jskata on `return` and `yield` inside #generators [1]. Now that I did it it makes sense, but in 1h I will have forgotten it again. Is it not that natural, or complicated or is it me?
One kata a day, pushes growth your way.
[1] https://jskatas.org/katas/es6/language/generator/return/
AI Video Tools: A New
Cybersecurity Threat?
Discover #how #AI #video #generators can be exploited by #hackers to breach your #computer and steal sensitive data. Stay #protected!, 🤖👇
https://www.hitnewslatest.com/2025/05/ai-video-tools-new-cybersecurity-threat.html