Learn #Miniscript with the #BuildOnL2 community launching next week.
---
RT @Blockstream
Wield #Bitcoin
http://www.buildonl2.com
https://twitter.com/Blockstream/status/1596979314100416512
#bitcoin #BuildOnL2 #miniscript
I combined Wolfram|Alpha with GPT-3 using #MiniScript and #MiniMicro!
https://dev.to/joestrout/combining-gpt-and-wolfram-alpha-ma2
I wrote an overview/summary of my write-ups for the 2022 #AdventOfCode challenges in #MiniScript:
I've completed "Full of Hot Air" - Day 25 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/25 in #MiniScript !
This was a delightfully simple challenge to cap off a month of fun.
Read the wrap-up at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-25-hl4
I've completed "Blizzard Basin" - Day 24 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/24 in #MiniScript !
This was a classic path-finding problem, but with a twist: the obstacles move on every step!
Read about it (and see cool animations!) at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-24-44fe
I've completed "Unstable Diffusion" - Day 23 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/23 in #MiniScript !
This was a fun simulation in which we help a couple thousand elves spread out to plant some seeds.
Details and visualizations at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-23-2hb6
I've completed "Monkey Map" - Day 22 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/22 in #MiniScript .
I did respectably on Part 1, but Part 2 foiled me until I had some sleep.
Details, sordid and otherwise, at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-22-669
It's not #MiniScript related... but it's still possibly the coolest thing I have ever seen.
I've completed "Monkey Math" - Day 21 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/21 in #MiniScript .
This was a fun challenge in which you need to first evaluate, and then solve, a giant expression tree.
Read all about it at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-21-155m
I've completed "Grove Positioning System" - Day 20 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/20 in #MiniScript .
It took an hour, but I finally found the problem in my program. It was located between the keyboard and chair.
Read all about it at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-20-4ca
I just completed "Not Enough Minerals" - Day 19 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/19 in #MiniScript .
See the ultimately unsatisfying solution at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-19-58d1
I've completed "Boiling Boulders" - Day 18 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/18 in #MiniScript !
This was a relatively easy challenge, but it led to some new ideas about working with 3D coordinates.
See all the details at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-18-3mn4
I've completed "Pyroclastic Flow" - Day 17 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/17 in #MiniScript
How high would a TRILLION Tetris(ish) blocks stack up?
Find out at https://dev.to/joestrout/advent-of-code-in-miniscript-day-17-2enf
I (finally) completed "Proboscidea Volcanium" - Day 16 - Advent of Code 2022 #AdventOfCode in #MiniScript https://adventofcode.com/2022/day/16
I had to admit defeat and go to bed last night after thrashing on this one for almost an hour. Only in the morning did I see the Way.
Lessons learned shared at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-16-29a
I've completed "Beacon Exclusion Zone" - Day 15 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/15 in #MiniScript.
This one was a beast! I had to search 4 million rows for a solution, and could only search about 1000 rows per second.
Code and cool pictures at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-15-faf
@AAKL @betanews “Continue learning other languages — practice in new environments” — may I recommend #miniscript and #minimicro for this purpose? https://miniscript.org
I've completed "Cathode-Ray Tube" - Day 10 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/10
This was a fun challenge in which we get to decode a display. I finished 183rd — my best ranking yet! See the details and #miniscript code at https://dev.to/joestrout/advent-of-code-in-miniscript-day-10-1fp8
Using a function `rand5` that returns an integer from 1 to 5 (inclusive) with uniform probability, implement a function `rand7` that returns an integer from 1 to 7 (inclusive), also with uniform probability?
Here's one (#miniscript) solution: https://miniscript.org/tryit/7485e8A3
...Can you think of any others?
I've completed "No Space Left On Device" - Day 7 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/7
This was the longest challenge yet! And I woke up with some morning-after regrets, so I coded up a second solution to compare.
See both #miniscript solutions at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-6-4om7
I've completed "Rucksack Reorganization" - Day 3 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/3
Read how I did it in #miniscript at: https://dev.to/joestrout/advent-of-code-in-miniscript-day-3-p44