Advertisement · 728 × 90
#
Hashtag
#uiua
Advertisement · 728 × 90
Video

[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:

0 0 0 0
Original post on hachyderm.io

[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 […]

1 0 1 0

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

0 0 0 0

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

0 0 0 0

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

0 0 0 0

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

0 0 0 0
Preview
Uiua Programming Language Expert at Mercor - Benture Mercor is hiring a remote Uiua Programming Language Expert. Apply now on Mercor for the Uiua Programming Language Expert position.

#Uiua Programming Language Expert | $150–300/hr | Worldwide Remote

Apply here: benture.io/job/uiua-programming-lan...

0 0 1 0

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

0 0 0 0

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

0 0 0 0
Preview
Rotation with Modulo How well do you know your fundamental operators in different languages? ‘Easy’ examples help to fortify that knowledge, and comparing across languages makes for some neat implementation detail discove...

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

3 0 0 0
# 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

# 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)

1 0 0 0
Original post on fosstodon.org

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 […]

3 4 0 0
Preview
Implement Uiua's 'tuples' function In the programming language Uiua, there is a higher-order function called tuples which is a generalization of getting the permutations or combinations of an array. Tuples takes a list \$ a \$, a sa...

Implement Uiua's 'tuples' function – codegolf.stackexchange.com In the programming ...

codegolf.stackexchange.com/questions/278403/impleme...

#code-golf #uiua

Event Attributes

0 0 0 0

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.

1 0 1 0
**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

**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.

1 0 0 0
Preview
Uiua A stack-based array programming language

https://uiua.org #uiua

0 0 0 0
Attempting Advent of Code 2024 using Uiua

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...

0 1 0 0

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.

4 0 2 0
Post image

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. 🤔

3 1 1 0

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

2 0 0 0

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

3 0 0 0

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

4 0 0 0

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

2 0 0 0

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

2 0 0 0
A screenshot from Star Wars: The Rise of Skywalker with Poe Dameron saying "Somehow, the lantern fish returned".

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

5 1 0 0
Original post on fosstodon.org

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 […]

0 1 0 0
Preview
advent-of-code-2024/03/day_03.ua at main · mrwilson/advent-of-code-2024 Wee-woo, wee-woo. Contribute to mrwilson/advent-of-code-2024 development by creating an account on GitHub.

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

5 0 0 0
advent-of-code-2024/02/day_02.ua at main · mrwilson/advent-of-code-2024 Wee-woo, wee-woo. Contribute to mrwilson/advent-of-code-2024 development by creating an account on GitHub.

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.

1 0 1 0

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.

1 0 1 0
Original post on 500.social

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 […]

1 0 1 0