Instruction
stringclasses
133 values
Response
stringlengths
193
321
write Purr-Data code to show a message when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 40 43 Bang clicked!; #X obj 234 107 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write purr-data source code that should output the message "This is a different message" on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 491 225 This is a different message; #X obj 7 402 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write purr-data source code that should output the message ""Welcome!"" on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 122 420 Welcome!; #X obj 140 172 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays the message 'Hello there!' when you click the bang
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 291 402 Hello there!; #X obj 256 251 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data code snippet that prints 'Why did the scarecrow win an award?' on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 381 62 Why did the scarecrow win an award?; #X obj 93 48 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
can you make a Purr-Data patch that displays a funny message?
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 334 25 What do you call a fish with no eyes? Fsh!; #X obj 427 335 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch to display a greeting message
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 76 84 Hello!; #X obj 70 133 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data code to print a message that tells the user to click the bang
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 63 91 Click the bang to see something!; #X obj 318 355 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
can you make a Purr-Data patch that displays a random message?
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 143 94 Surprise! You clicked the bang.; #X obj 478 9 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display the message "Have a nice day!" when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 20 317 Have a nice day!; #X obj 128 467 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data code to display a motivational quote when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 199 18 Believe you can and you're halfway there.; #X obj 203 41 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch that displays a funny joke
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 285 18 Why can't a bicycle stand up by itself? It's two-tired!; #X obj 102 465 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data source code to display a random fun fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 253 410 Apples are more effective at waking you up in the morning than coffee.; #X obj 156 416 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display an inspirational message when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 108 444 You have the power to make your dreams come true.; #X obj 209 452 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints a thought-provoking question on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 164 40 What is the meaning of life?; #X obj 291 437 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a random Dad joke when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 188 304 Why can't a bicycle stand on its own? It's two-tired!; #X obj 443 258 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a famous movie quote on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 243 467 May the Force be with you.; #X obj 462 144 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a random trivia fact when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 246 130 Cats have fewer toes on their back paws than on their front paws.; #X obj 294 92 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data source code snippet to print a tongue twister on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 233 412 She sells sea-shells by the sea-shore.; #X obj 406 493 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data code to display a funny pun when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 475 238 I tried to catch some fog earlier. I mist.; #X obj 408 443 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch to print a random fun fact about animals on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 361 325 Giraffes only sleep around 4.6 hours per day.; #X obj 277 403 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to display an interesting historical fact when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 391 480 The first product to have a barcode was Wrigley's gum.; #X obj 391 265 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny message
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 305 239 Why can't a shoe be polished? It's a little loafer!; #X obj 297 159 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints an interesting science fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 462 467 The Earth's rotation is gradually slowing down due to the moon's gravitational pull.; #X obj 102 290 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a random inspiring quote when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 36 118 The only way to do great work is to love what you do. - Steve Jobs; #X obj 83 84 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a fun brain teaser on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 133 219 What gets wetter the more it dries?; #X obj 20 442 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a surprising statistical fact when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 84 250 There are more possible game positions in chess than atoms in the observable universe.; #X obj 301 431 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print a funny definition on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 442 270 Boomerang: A stick that keeps coming back to remind you how bad your throwing skills are.; #X obj 490 164 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a random fascinating fact about space when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 159 103 40 is a planet made of diamond, around 40 light-years from Earth.; #X obj 428 293 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints an interesting linguistic fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 402 439 The word 'Goodbye' comes from the phrase 'God be with you'.; #X obj 410 189 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny definition of a common word when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 96 479 Mosquito: An insect that was designed by God just to prove that he has a sense of humor.; #X obj 128 108 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a random interesting fact about the human body on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 226 262 Your stomach produces a new layer of mucus every two weeks to prevent itself from digesting itself.; #X obj 104 77 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny definition of a made-up word when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 142 134 Frumious: The state of being covered in breadcrumbs.; #X obj 412 399 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print a random fun fact about music when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 200 485 The song 'Happy Birthday' generates around $2 million per year in royalties.; #X obj 64 12 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a random interesting fact about words when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 201 443 The sentence 'The quick brown fox jumps over the lazy dog' uses every letter in the English language.; #X obj 246 330 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints a funny definition of a common phrase on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 216 154 'Once in a blue moon': An event that may never happen, since the moon is never actually blue.; #X obj 209 84 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a surprising math fact when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 111 12 There are infinitely many prime numbers, but the sum of all their reciprocals converges to a finite value.; #X obj 271 462 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print an interesting fact about colors on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 28 30 The color 'pink' was once called 'yellow-red'.; #X obj 160 54 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny fake vocabulary word definition when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 179 173 Snugglefudge (n): The act of falling asleep on the couch while watching TV.; #X obj 262 28 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print a random fun fact about animals on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 154 289 Hippos are born underwater.; #X obj 322 467 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display an interesting geographical fact when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 112 95 1 Sahara Desert is increasing by around 1 mile per year.; #X obj 452 168 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints a funny fake etymology for a common word on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 331 161 Pumpkin: From the Middle English 'pompe-kyn', meaning a child who constantly brags about themselves.; #X obj 73 289 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny made-up proverb when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 213 311 'An apple a day keeps anyone away, if you throw it hard enough.'; #X obj 347 316 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a random interesting fact about technology on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 90 356 The first computer mouse was made of wood.; #X obj 483 89 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny fake dictionary definition when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 6 115 Unkempt (adj.): Having a hair style you'd least expect from the dictionary.; #X obj 381 75 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a surprising fact about the economy on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 472 86 More Monopoly money is printed each year than real currency.; #X obj 155 159 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny fake acronym definition when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 168 369 DOGMA: Dissent, Obviously Generated by Maverick Agitators; #X obj 378 76 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print a surprising fact about the human mind on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 397 405 The human brain operates on the same amount of power as a 10-watt light bulb.; #X obj 59 311 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny made-up product name and tagline when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 326 372 SnoreAway Pillow: Finally, a good night's sleep for you AND your partner!; #X obj 222 255 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints an interesting fact about ancient civilizations on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 43 104 The ancient Egyptians used slabs of limestone as sun-heated baths.; #X obj 81 305 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny fake holiday when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 173 10 National Procrastination Day: A holiday you'll celebrate tomorrow.; #X obj 436 19 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a random fascinating fact about physics on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 86 364 If you traveled at the speed of light, time would appear to stand still.; #X obj 498 39 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny made-up movie title when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 381 105 'Lord of the Swing Sets: The Playground Menace'; #X obj 132 352 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print an interesting linguistic fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 98 192 The letter 'Q' does not appear in any U.S. state name.; #X obj 180 56 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny fake inspirational quote when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 194 130 'Shoot for the moon. Even if you miss, you'll land among the shooting stars.' - Delusional Optimist; #X obj 488 112 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints a random fascinating fact about chemistry on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 207 293 Humans share about 60% of their DNA with banana plants.; #X obj 324 229 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny made-up book title when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 109 393 'How to Avoid Huge Ships' by Miss Aimee Sayer; #X obj 276 167 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print an interesting fact about ancient mythology on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 123 325 In Greek myth, the Oracle of Delphi was a woman who inhaled toxic vapors to induce a trance-like state.; #X obj 405 334 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny fake public service announcement when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 353 110 This is a test of the Emergency Sandwich System. This is only a test.; #X obj 380 212 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print a random fascinating biological fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 331 99 Your body contains about 60,000 miles of blood vessels.; #X obj 22 198 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny made-up business name when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 261 481 Binge & Purge: We're a full service snacking solutions provider!; #X obj 177 406 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints an interesting historical fact about exploration on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 313 115 When Columbus arrived in the Bahamas in 1492, he thought he had reached East Asia.; #X obj 324 419 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny fake movie tagline when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 177 111 'Snakes on a Submarine' - An underwater thriller that's sure to make waves.; #X obj 112 79 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a random fascinating fact about Earth sciences on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 49 476 7 deepest point in the world's oceans is the Challenger Deep in the Mariana Trench, which extends nearly 7 miles below the surface.; #X obj 151 229 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny made-up proverb when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 472 461 'The squeaky wheel gets replaced.'; #X obj 474 310 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print an interesting psychological fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 98 403 Humans are born with a fear of falling and loud noises.; #X obj 268 161 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny fake warning label when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 498 146 WARNING: Oxygen may be habit-forming. Discontinue use if you experience shortness of breath.; #X obj 32 362 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints a random fascinating fact about meteorology on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 370 383 Snow is rain that has frozen before hitting the ground.; #X obj 437 14 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny made-up country name when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 83 119 The Republic of Crackedria: A nation divided by broken sidewalks.; #X obj 311 167 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print an interesting archaeological fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 407 50 The Great Pyramids of Giza are the only remaining wonder of the ancient world.; #X obj 272 135 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny fake ingredient when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 396 122 Ingredients: Artificial Flavors, Synthetic Happiness, Reconstituted Childlike Wonder; #X obj 83 53 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print a random fascinating botanical fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 5 266 3 is actually a type of grass, and can grow up to 3 feet in a single day.; #X obj 6 407 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny made-up law when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 491 398 It is illegal to leave a shopping cart roaming the streets after midnight.; #X obj 125 441 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints an interesting fact about ancient architecture on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 298 126 The Great Pyramid of Giza is the only remaining Wonder of the Ancient World.; #X obj 444 372 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny fake inspirational poster slogan when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 194 434 Limitations: The Endless Possibilities!; #X obj 255 267 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a random fascinating fact about the solar system on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 388 393 Venus is the only planet that spins clockwise on its axis.; #X obj 434 452 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny fake dictionary definition when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 259 173 Amnesia (n): A condition that enables you to forget the hilarious names you gave your kids.; #X obj 142 293 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print an interesting fact about ancient weapons on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 257 297 Ancient Persians invented the first hand grenades in the 7th century.; #X obj 18 355 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny fake dictionary word origin when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 485 332 Insomnia (n.): From the Latin 'in' meaning 'awake all darn' and 'somnia' meaning 'night'.; #X obj 259 244 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints a random fascinating zoological fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 152 295 Cows have a single stomach, but it has four different compartments.; #X obj 452 202 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny fake informercial product when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 313 270 The Sham-Wow 2000: It's a towel! It's a mop! It's a mediocre conversation starter!; #X obj 238 301 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print an interesting historical anecdote on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 224 45 Napoleon was once attacked by a herd of rabbits that leapt out of a bush.; #X obj 97 82 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny made-up assembly instruction when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 77 2 Step 1: Assemble parts A through Z in order. Step 2: Marvel at your life choices.; #X obj 98 221 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print a random fascinating ecological fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 273 264 Around 85% of the world's plant life is found in the oceans.; #X obj 214 426 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny fake principle for an -ology when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 310 450 Frisbeetology: The study of aerodynamic circular objects that seem to defy physics.; #X obj 27 295 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints an interesting fact about ancient philosophy on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 451 492 Ancient Greek philosophers thought the brain was just a radiator to cool the heart.; #X obj 289 58 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny fake government agency name when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 16 490 The Department of Redundancy Department; #X obj 93 63 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data source code to print a random fascinating astronomical fact on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 236 56 There are more trees on Earth than there are stars in the Milky Way galaxy.; #X obj 308 11 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data patch that displays a funny fake etymological origin for a word when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 309 117 Doughnut: From the Greek 'dough' meaning 'baked batter', and 'nought' meaning 'useless expenditure of calories'.; #X obj 377 240 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make Purr-Data source code to print an interesting fact about ancient trade routes on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 292 321 The ancient Silk Road connected China to the Mediterranean over 4,000 miles away.; #X obj 466 380 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display a funny fake charitable organization name when the bang is pressed
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 162 15 Pennies for Literally Anything (Just Give Us Pennies); #X obj 470 313 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create Purr-Data code that prints a fascinating historical fact about early aviation on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 238 378 The first aircraft engine powered by a rotating blade was designed in the late 18th century.; #X obj 50 70 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch to display a funny fake ad slogan when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 35 364 New Zig-Zag Paper Clips - They'll Never Straighten Out This Mystery!; #X obj 336 47 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display the message 'Hello, world!' on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 474 130 Hello, world!; #X obj 48 141 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data source code that prints 'Keep smiling!' when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 247 256 Keep smiling!; #X obj 330 416 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write Purr-Data code to show a motivational message on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 357 284 You can do it!; #X obj 96 59 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
make a Purr-Data patch that displays a funny message
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 488 393 Why can't a bicycle stand up by itself? It's two-tired!; #X obj 74 378 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data source code to show a random message on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 451 42 Did you hear about the claustrophobic astronaut? He just needed a little space!; #X obj 42 444 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
write a Purr-Data patch to display the message 'Good morning!' on bang click
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 343 197 Good morning!; #X obj 124 191 print; #X connect 0 0 1 0; #X connect 1 0 2 0;
create a Purr-Data source code that prints 'Have a wonderful day!' when the bang is clicked
#N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 364 354 Have a wonderful day!; #X obj 33 409 print; #X connect 0 0 1 0; #X connect 1 0 2 0;

Purr-Data Patch Source Code Dataset:

  • This dataset is designed for training language models to generate source code for Purr-Data patches. It focuses specifically on patches that output a particular message when a "bang" object is clicked.

Dataset Creation:

  • The dataset was created with the goal of evaluating the ability of large language models like Google's 2B GEMMA to be fine-tuned for Purr-Data source code generation.

Dataset Characteristics:

  • Content: Each data point consists of two parts:

  • Instruction: A textual description of the desired Purr-Data patch functionality. This description focuses on the message the patch should output. example instruction => "can you make a Purr-Data patch that displays a funny message?

  • Response: The corresponding Purr-Data source code that fulfills the given instruction: example response => #N canvas 761 0 768 809 10; #X obj 260 170 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X msg 334 25 What do you call a fish with no eyes? Fsh!; #X obj 427 335 print; #X connect 0 0 1 0; #X connect 1 0 2 0;

  • Focus: The dataset is restricted to examples where the patch functionality centers around printing a specific message on a bang click.

Potential Uses: This dataset can be used for various purposes, including:

  • Fine-tuning large language models like GEMMA for Purr-Data source code generation.
  • Research on text-to-code techniques for visual programming languages.
  • Development of code generation tools for Purr-Data.

Note: This dataset provides a starting point for training, and can be further expanded to include more complex Purr-Data functionalities beyond basic message printing.

Downloads last month
2
Edit dataset card