[Advent of Code 2025 Day 4 code uiua]
And, thanks to #uiua 's built in gif support, it just needed a small edit to keep the history of the grid and a &fwa "out.gif" gif 24 to output this animation of the sequence of barrels being removed:
[AoC 2025 Day 1 in Uiua]
I've completed "Secret Entrance" - Day 1 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/1
Doing this in #uiua and I'm rusty so this is probably inefficient for pt2 but I wanted to chunk it into logical pieces. Listing is the parser and took me […]
Doesn’t uiua #uiua just replace local variables with planets or, for macros, placeholders? I love the language’s radically functional vibe, but still, something just seems either unnecessary or insincere here
Doesn’t uiua #uiua just replace local variables with planets or, for macros, placeholders? I love the language’s radically functional vibe, but still, something just seems either unnecessary or insincere here
Doesn’t uiua #uiua just replace local variables with planets or, for macros, placeholders? I love the language’s radically functional vibe, but still, something just seems either unnecessary or insincere here
Doesn’t uiua #uiua just replace local variables with planets or, for macros, placeholders? I love the language’s radically functional vibe, but still, something just seems either unnecessary or insincere here
#Uiua Programming Language Expert | $150–300/hr | Worldwide Remote
Apply here: benture.io/job/uiua-programming-lan...
So this is my part one solution to AoC 2024 Day 2, written in Uiua. The whole thing is 18 characters long:
/+=∩/×⧈=⊃±(<4⌵)⧈-⍉
Having a blast learning about array languages. Shoutout to @kaikalii.bsky.social for creating one that’s this approachable and intuitive!
#uiua #arraylang #tacit
And yet the underlying implementation is almost a one-to-one match with the physical memory where the data is actually stored. Am I freaking out for no reason or am I right in thinking there’s something really inportant going on here?
#APL #Iverson #BQN #Uiua
A simple digit-rotation formula using modulo, explored across Julia, R, APL, and Uiua. Great for comparing basic operations across languages. jcarroll.com.au/2025/05/03/r...
#JuliaLang #RStats #APL #Uiua #ProgrammingLanguages #DevTips #MathInCode
# s = obverse ( # anti base 10 reverse sort base 10 # | anti base 10 sort base 10) # # k = join on do ( # duplicate absolute - un s on s # | != 6174) s ← ⌅( ⌝⊥10⇌⍆⊥10 | ⌝⊥10⍆⊥10) k ← ⊂⟜⍢( .⌵-°s⟜s | ≠6174) k3754
made that kaprekar's routine thing in #uiua (i really hope thats an actual hashtag)
Implementing small math problems can really help to cement your knowledge of fundamental operators...
jcarroll.com.au/2025/05/03/rotation-with...
I implemented a 'rotate digits with modulo' in #rstats :rstats: #julialang :julia: #apl :apl: and #uiua :uiua: and had a great time […]
Implement Uiua's 'tuples' function – codegolf.stackexchange.com In the programming ...
codegolf.stackexchange.com/questions/278403/impleme...
#code-golf #uiua
Event Attributes
Yow. I got to the bottom of the first major tutorial page with exercises on #Uiua and was really shocked at how my mind just broke on point-free tacit syntax.
That was cool.
**Output Comments** A comment that starts with additional `#` is an _output comment_. The formatter replaces the text of an output comment with as many values from the stack as there are extra `#`'s. Click Run to try it out! 1 2 3 #### 3 #### 2 #### 1 + ### 3 ### 3 + ## 6 ------ 6
#Uiua "output comments" strike me as an interesting way to inspect the stack while you're debugging formulae.
I wrote up my experience of using #uiua for 2024's #AdventOfCode. Many languages could learn a lesson or two from the frankly beautiful developer experience of Uiua's web repl.
blog.probablyfine.co.uk/2025/01/04/a...
I support full regex too of course, but the ability to just 'match' bits of a string directly into variables is waaaaay to convenient to leave out; I find it's what I want in most cases, but without the ceremony of unpacking matches/groups from a regex.
Props to #uiua for the idea there.
Essai de fusion de deux tableaux triés avec #Uiua sans utiliser ⍆ (sort).
Une fois fait, cette impression que c'était faisable en cinq/six symboles ne me quitte pas, à tel point que mon code serait risible. Je me demande si chaque code en #Uiua ne me donnera pas cette désagréable sensation. 🤔
Day 25 of #AdventOfCode using #uiua
🎄⭐🌟🎄
Friends, we've reached the end of the line.
I'll do a write-up in the new year of my experiences, but in the meantime here's a cute little one liner for day 25.
⧻⊚≤7◇⊞(/↥+)°⊟⊕□⍜⍉⊃(⊢⊢)/+↯∞_7_5⊜(=@#)⊸≠@\n
Day 20 of #AdventOfCode using #uiua
Big big shout out to the folks on the uiua discord and their solutions, which helped me out!
Parse ← ⊙:∩⊢∩₃⊚⊃(=@S|=@E|≠@#)⊜∘⊸≠@\n
Path ← ⊢path(▽⊸∊+A₂¤|≍⊙⋅∘)
Cheats ← ⟜-/+⌵∩(/-⍉⧅₂<):°⊏
PartOne ← /+≥100▽≤2 Cheats Path Parse
PartTwo ← /+≥100▽≤20 Cheats Path Parse
Day 18 of #AdventOfCode using #uiua
This is possibly some of my favourite uiua I've ever written - it makes part 1 a one-liner!
Part 2 I just did by hand because it was so easy to do it that way (iykyk)
Move ← ⧻⊢path(▽⊸∊+A₂¤)(≍⊙⋅∘)⊙⟜⊢⊸⊣⍜°⊚¬⋕↙⊙°csv
PartOne ← Move 1024
Day 13 of #AdventOfCode using #uiua
Recognised the simultaneous equations so I wasn't boomed by part 2.
Parse ← ↯∞_3_2⊜⋕×⊸⊃(≥@0|≤@9)
Solns ← (
⊃↙↘2
⊸(/-⧈/פ¤2↻1♭)⍜♭(×↻₁⊂⊸⌵¯1_¯1)≡⇌⇌
⊙≡(/+×)
÷
)
Cost ← /+×⟜=⟜⁅×3_1
PartOne ← /+ ≡(Cost Solns) Parse
PartTwo ← /+ ≡(Cost Solns ⍜⊣(+1e13)) Parse
Day 12 of #AdventOfCode using #uiua
I only got around to doing part 1 as I opted to rewrite it for speed, going from 45s to 0.025s!
Parse ← ⊜∘⊸≠@\n
Neighbours ← ¤/+≡(=⬚@.↻)⊟₄◡∩¯⟜⇌0_1.¤
Clusters ← ⊞⌕◴⊸♭
Cost ← /+⊜(×⊃⧻/+-⊙4)
PartOne ← /+ ≡Cost ⊃(Clusters|Neighbours) Parse
A screenshot from Star Wars: The Rise of Skywalker with Poe Dameron saying "Somehow, the lantern fish returned".
Day 11 of #AdventOfCode using #uiua
Well this was fun
Parse ← ⊕(⊟⊃⊢⧻)⊸⊛⋕°/$"_ _"
Blink ← ⨬(¤1|⨬(¤×2024|⍜°⋕(↯2_∞))⊸(◿₂⌊ₙ₁₀))⊸≠0
Split ← ⊕(⍜°⊟(⊓⊢/+)⍉)⊛⊸≡⊢↯∞_2⬚0≡(⍉⍜°⊟Blink)
PartOne ← /+⊣⍉⍥Split 25 Parse
PartTwo ← /+⊣⍉⍥Split 75 Parse
I am extremely behind on my #Exercism practice but I'm overjoyed to hear that they've added a #Uiua track
https://exercism.org/tracks/uiua
and a #Roc track
https://exercism.org/tracks/roc
I've joined both, which should gradually appear in my tracker of which problems I've solved in which […]
Day 3 of #AdventOfCode using #uiua
Digits ← ⋕⍜⍉↘₁
Markers ← +×2≡◇(∩≍"don't()","do()")⊢⍉
Toggles ← ↘₁⬚1\(⨬(∘|1|0):)
Parse ← ⬚@0regex $ mul\((\d+),(\d+)\)|do\(\)|don\'t\(\)
Mult₁ ← ≡/×Digits
PartOne ← /+Mult₁Parse
PartTwo ← /+×⊃(Toggles Markers|Mult₁) Parse
Day 2 of #AdventOfCode using #uiua
This would have been significantly simpler if every report had the same number of levels, and I brute-forced part 2 without much thought.
Answer in replies, full code and tests on GitHub.
the first part of day one of #AdventOfCode can be solved in #Uiua using a few well-placed flips. the actual challenge (for me at least) might turn out to be reading the actual file.
It’s been a long day. I forgot I did the #AdventOfCode puzzle this morning until just now.
This year I’m (a) resolving take it slowly because December is already busy enough (b) trying to learn #uiua (c) attempting to leave myself plenty of useful notes.
In spirit of (a) I only did the first […]