#AdVENt of Code

1 messages · Page 2 of 1

delicate crane
#
const colors: Color[] = ['red', 'green', 'blue']
type Color = 'red' | 'green' | 'blue'

is there a better way to define colors and Color here so one is based off the other?

warped dust
#

hte lsp is so BAD

sullen fiber
#

what does the lsp do

warped dust
#

NOTHING

solemn python
sullen fiber
#

also i realize i can do this so much easier

delicate crane
#

ruby language server provider is dogshit

warped dust
#

IT MAKES MY VIM EXPLODE EVERY KEYSTROKE

steady fog
#

LOL

somber smelt
#

ah

solemn python
#

What's inferred type if you leave it out?

#

Just string[]?

proper totem
steady fog
#

OH

proper totem
#

oh i misread what you asked

steady fog
#

INDEX WAS OFFSET

delicate crane
#

won't be a problem once Color is based on the value of colors

sullen fiber
#

yea remove the annotation u shouldnt do both

#

but thats prob fine anyways

solemn python
#

Oh wait you could just use typeof to calculate Color based on the array right

delicate crane
#

oh yea, and there is the Cubes interface

const colors: Color[] = ['red', 'green', 'blue']
type Color = 'red' | 'green' | 'blue'
interface Cubes {
  red: number
  green: number
  blue: number
}
solemn python
#

try type Color = typeof colors[number]

#

With as const on the array

sullen fiber
#

yea

delicate crane
solemn python
#

And cubes can be Record<Color, number>

sullen fiber
#

yea

#

real

#

you just need to remove : Color[]

steady fog
#

rini going crazy blobcatcozy

sullen fiber
#

if you add as const

warped dust
#

THE LSP DOESNT DO ANYHGNG

solemn python
#

have you tried turning it off and on again

sullen fiber
#

time to golf it in uiua now

#

i realize i could do a lot better

#

||i dont really need to distinguish the different "subgames"||

steady fog
warped dust
#

fuck it all i need is uiua watch

steady fog
#

rininininin

#

wtf

#

oh

#

i forgot to offset index ugh

delicate crane
steady fog
#

it works

#

yay

#

i got part 1

delicate crane
#

part 2 is really quick once you have part one

#

thanks typescript people for helping me improve my types

solemn python
#

_. husk

delicate crane
solemn python
#

Do not the lodash

#

Use .reduce you coward

steady fog
#

tyminky

solemn python
#

Not sure what maxBy is but I'm sure it has a pure equivalent

delicate crane
# solemn python Use .reduce you coward

typing .reduce for sum is slow and dumb, same thing goes for the rest of lodash

I refuse to lose meaningless leaderboard points to someone's hatred of a js library

warped dust
#

you cant @ plus a newline

#

@sullen fiber

#

uiua is so bad

sullen fiber
#

@\n

warped dust
#

so baad

sullen fiber
#

do

#

@\0

#

DO

warped dust
#

nope

steady fog
#

kill rini NOW

warped dust
#

i will insert null byte

sullen fiber
#

WHAT ARE U DOING MINIFYING UR UIAU?!

warped dust
#

YOP

#

in vim u can just go to insert mode

#

press ctrl+v and type 0

#

instant null byte

steady fog
#

i did part 2

#

i win

solemn python
#

wrong. 23 more days.

steady fog
#

NO

solemn python
#

yop

fading mortar
#

I'm so close to doing this with ternaries and .map

steady fog
#

tunaries

fading mortar
#

Click for brain damage
||```ts
console.log(
input
.split("\n")
.map((game) => game.split(":"))
.map((x) => x.map((y) => y.replace(/\s/g, "")))
.map((x) => [+x[0].replace("Game", ""), x[1]])
.map((x) => [x[0], x[1].split(";")])
.map((x) => [x[0], x[1].map((y) => y.split(","))])
.map((x) => [
x[0],
x[1].map((y) =>
y.map((z) =>
z.includes("red")
? +z.replace("red", "") > avalible.red
? null
: z
: z.includes("blue")
? +z.replace("blue", "") > avalible.blue
? null
: z
: z.includes("green")
? +z.replace("green", "") > avalible.green
? null
: z
: z
)
),
])
.map((x) => [x[0], x[1].flat()])
.map((x) => [x[0], x[1].includes(null) ? false : x[1]])
.map((x) => x.flat(2))
.map((x) => (x[1] === false ? 0 : x[0]))
.reduce((a, b) => a + b)
);

steady fog
#

true

fading mortar
#

This is just for part one

solemn python
#

Horror

#

Help I'm trying to send messages but my cat keeps shoving his head into my hand and demanding pets

steady fog
#

pet

solemn python
#

I am

#

He is very soft

warped dust
#

find is so bad

#

@sullen fiber does find not work on boxes or sm

sullen fiber
#

what happened

#

no

#

well

warped dust
#

baaad

sullen fiber
#

depends on what u mean

#

like finding something in a boxed array?

warped dust
#

in an array of boxed strings

somber smelt
sullen fiber
#

oh yea you just have to box the string ur looking for

warped dust
#

not workin

sullen fiber
#

if u dumpid

#

after boxing

#

does it say that its unboxed

#

because i had this exact issue

warped dust
#

uuh

#

where the hell do i dumpid

#

oh dumpid

#

is two things

sullen fiber
#

after boxing

#

but before find

steady fog
warped dust
#
┌╴/home/rini/git/aoc/day02/./pt1.ua:3:3
├╴[⌜Game 1: nya⌟ ⌜Game 23: adjksdhf⌟]
├╴⌜: ⌟
└╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴
steady fog
#

im gonna use swift someday

#

hopefully its not too hard to set that up on linux

somber smelt
#

post aoc fn

somber smelt
steady fog
#

good

warped dust
#

wait im cooking ?!

#

@sullen fiber each under unbox drop 5

#

omg i love under now

somber smelt
#

btw guys

warped dust
#

DONT CARE

#

I WILL COMMIT MY INPUT

somber smelt
#

i doubt anything will come of it but optionally dont check in ur input

steady fog
#

I will add to gitignore tomorrow

sullen fiber
#

BLACK MAGIC

#

its actually the best

solemn python
#

I gitignored mine simply because I didn't want random text files in my repo lol

sullen fiber
#

@warped dust you love ⍜(⊡2)(4;) [0 0 0 0]

solemn python
#

But now it dynamically fetches it anyways so ¯\_(ツ)_/¯

warped dust
#

WTF IS THE OPPOSITE OF PICK

#

wait its

#

puttigng it bakc

#

HOLY SHIT

steady fog
#

can I add workflows to mine

solemn python
sullen fiber
warped dust
#

@sullen fiber fix ```
⌕ □": " "AGH: AJSH" # => [0 0 0 0 0 0 0]

#

FIX

solemn python
#

And GET

steady fog
#

does session cookie ever expire

warped dust
#

wait hte other isnt box

#

STILL DOESNT WORK

solemn python
sullen fiber
#

oh ur trying to make a mask

#

of substring

#

yea

solemn python
#

You can always just make a new one

warped dust
#

does it just not

sullen fiber
#

this is a thing that uiua guy says he wants to add

#

as an op

steady fog
#

I could store it in GitHub secret

sullen fiber
#

heres my code for it

warped dust
#

noPE

#

NOPE

steady fog
#

then make workflow run all my days

warped dust
#

let me cook

sullen fiber
#

||SubstrMask ← /↥≡↻⊙¤¯⇡⊃⧻⌕||

#

ok cook

true hatch
#

i got it to work on the test input but not the actual input (yet again.) so i'm just going to assume that these are intentionally ambiguous to make chatgpt users cry

#

||```rb
starting_config = {
"red" => 12,
"green" => 13,
"blue" => 14
}

puts File.read("input.txt").lines(chomp: true).filter_map {|line|
(id, game) = line[5..].split(": ")

results = game.split("; ").map {|set|
colors = starting_config.clone

set.split(", ").map{|c|c.split(" ")}.each {|(num, color)|
  colors[color] -= num.to_i
}

colors.values.all? { _1 > 0 }

}

id.to_i if results.all?
}.sum```||

#

what am i fucking up here? i don't get it

steady fog
#

is that ruby

true hatch
#

yes

solemn python
steady fog
#

different each day

solemn python
#

Ah

steady fog
#

yesterday python today csharp

solemn python
#

Fair enough then

#

Mine is just all rust so I fetch it in the program itself

steady fog
#

I'm using just to store the commands to run

#

I could make bash script that fetches

sullen fiber
#

i did that last year

#

golfed in js
||```js
counts = input.split("\n").map(l => [...l.matchAll(/(\d+) (.)/g)].reduce((a, [,n,c]) => (a[c] = Math.max(a[c], n), a), {r:0,g:0,b:0}))
part1 = counts.map(({r,g,b}, i) => r<=12 && g<=13 && b<=14 ? i+1 : 0).reduce((a, b) => a + b)
part2 = counts.map(({r,g,b}) => rgb).reduce((a, b) => a + b)

#

uiua has restructured my brain

true hatch
#

i really wish there stopped being example inputs that succeed and edge cases in the main thing

#

really fucking annoying

steady fog
#

@true hatch

true hatch
#

:(

steady fog
#

hi

true hatch
#

hi

proper totem
#

what edge case did you run into tonight?

sullen fiber
#

what edge cases did u get?

steady fog
#

test and input worked for me

#

just straight away

warped dust
#

@sullen fiber you love ||fork(take)(drop)where find": "||

solemn python
#

The only real difference in reality vs examples was pick count I think

true hatch
#

first one is sum, second is successful games

#

works entirely on the example

glacial abyss
#

what do we do in two?

steady fog
#

do aoc challenges get progressively harder

true hatch
#

by day yes

steady fog
#

oh no

warped dust
#

sort of its not exactly linear

steady fog
#

maybe I should've done fortran early days

solemn python
sullen fiber
solemn python
#

Like if you pick 15 red you need at least 15 red in the game

sullen fiber
#

[dipdipid] pack 3 from stack into array

#

inv[dipdipid] pop three tuple into stack

steady fog
#

second was really easy

sullen fiber
#

idk why i replied to ur message treat it as a ping

glacial abyss
solemn python
#

Well if a game has 2 picks

#

One has 2 red the other is 4 red

#

Then the bag obviously has at least 4 red cubes

#

Repeat that for all colors

solemn python
#

And use that to get the minimum amount of cubes possible for each situation

sullen fiber
#

🔥

fading mortar
#

I didn’t think of math.max there

sullen fiber
#

212 chars minified

#

love

steady fog
#

for 2nd part

solemn python
#

I knew there was a better way than bad if blocks, I just didn't bother to find it because I didn't care

sullen fiber
#

ngl i didnt realize

fading mortar
sullen fiber
#

i was passing a string to math.max

#

and it parsed it for me

solemn python
#

Javascript literally refuses to throw an error it's so odd

steady fog
#

I just kinda guessed

sullen fiber
#

kinda based

fading mortar
#

I just did redMax and a bunch of if statements ¯_(ツ)_/¯

steady fog
#

I didn't need any if

#

funny

#

||```cs
private static void Part2()
{
var total = 0;

    foreach (var game in games)
    {
        var red = game.bags.Max(x => x.red);
        var green = game.bags.Max(x => x.green);
        var blue = game.bags.Max(x => x.blue);

        total += red * green * blue;
    }

    Console.WriteLine($"Total: {total}");
}

}```||

fading mortar
#

yeah I used if instead of math.max

sullen fiber
#
Math.max(a,b)
a>b?a:b
#

one is smaller

#

gotta add two chars if one is a string

steady fog
#

insane

sullen fiber
#

so sane

solemn python
sullen fiber
#

yea like +a>b?+a:b

solemn python
#

Oh yeah I guess you have to convert the return too

warped dust
#

how do i use each when i need something on the stack for each call

solemn python
#

Meh just convert it before the ternary and you only have one extra char

sullen fiber
#

i usually

#

put it behind the eachee

#

and then put it in front inside the each

warped dust
#

how

sullen fiber
#

uh give small example

warped dust
#

i have a string on the stack and i have an array i want to iterate

#

and use the string

sullen fiber
#

ok here

#

wait

#

are u sure u dont wanna do rows

warped dust
#

fold

sullen fiber
#

instead of each

warped dust
#

nngh

#

idk

sullen fiber
#
{"real" "fake" "sane"}
≡(□⊂∩⊔:) :□"not "
# {"not real" "not fake" "not sane"}
#

row is like map

warped dust
#

my array is an array of numbers

#

does that

#

[]cnu:

sullen fiber
#

i mean thats fine u just dont have to unbox the number

#

cnu?

warped dust
#

=([]cnu:) :[]"not "

#

what u jus typed

sullen fiber
#

waht the hel

#

box join both unbox :

tranquil vapor
#

i don't think you need to spoiler ur code let's be real

sullen fiber
#

LMAO

#

her ruby as unreadable as my uiua

warped dust
#

wdym its so idiomatic

warped dust
somber smelt
#

im with vee..

sullen fiber
warped dust
#
┌╴/home/rini/git/aoc/day02/./pt1.ua:13:6
├╴"3 blue, 4 red, 14 green"
├╴[6 13]
└╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴
Error: Cannot rows arrays with different number of rows 2 and 23
  at /home/rini/git/aoc/day02/./pt1.ua:13:1
13 | ≡(:) dump∘ ⊚⌕", ".
#

ghghg

#

okay i need to box the string

sullen fiber
#

row(:)?

solar tide
#

is this luau

warped dust
#

yeah i was trying to make it use two args

sullen fiber
#

u can manually

#

but real

#

acutally

#

i lied

warped dust
#

both each and rows work

sullen fiber
#

only if strings are boxed

#

or else each reaches down into the chars

warped dust
#

yu

#

that was the issue

sullen fiber
#

f

solar tide
#

yesterday's part 2 was fun

sullen fiber
#

FUN

steady fog
#

rini needs to be shocked

proper totem
#

thinking about day two in asm

#

both parts might be easier than day 1 part 2 in asm

glacial abyss
#

baby girls

#

im doing it

#

i dont care its supposed to be cubes

somber smelt
glacial abyss
#

im making the red green and blue cubes in discord

#

cant be bothered to make blue ngl

#

i dont have time to make a good thing

steady fog
#

insane

sullen fiber
#

jesus jesus

#

if i ever give up on uiua i will just reach for uiua regex

warped dust
#

uiua has regex

sullen fiber
#

yea but

#

its cheating

#

wouldnt be very array of me

solar tide
sullen fiber
#

duplicate code

#

real

solar tide
#

I will clean it up later

warped dust
#

uiua having a moment

#

wait thats correct i think its just

#

insane

sullen fiber
#

average uiua boxed tensor

warped dust
#

iokay im cooking

sullen fiber
#

it treats boxed arrays as items when printing

#

rather than rows

#

its scary

#

wait ur parsing asf

#

the .unwrap() of uiua:

warped dust
#

real

#

∵(□∵(⊃(;)(parse⊔⊢)S@ ⊔)S@,⊔)S@;

#

my brain dyinf

#

wtf theres a first but not a last

sullen fiber
#

firstrev

#

he pretty much only adds things that cant be done in like 4 or less ops

#

"uiuisms"

warped dust
#

if their impl is sane rev is O(1)

#

negative strides real

sullen fiber
#

TURE

#

TRUe

warped dust
#

how would i make a map of the

#

red green blue

native pewter
#

u 2 nerds still nerding

sullen fiber
#

u could make a list and indexof

warped dust
#

mnm

sullen fiber
warped dust
#

⊃(⊢)(⌕ :C ⊢⇌) {3 "blue"}

#

:C

sullen fiber
#

:C

#

real

#

wait

#

ur cooking

#

i didnt do this

#

i wonder if this makes it smaller

warped dust
#

trying to figure out how id make it so it returns [0 0 3] for that

sullen fiber
#

want me to tell u

#

its 2 ops

#

wait

#

sike

#

its 1

warped dust
#

yeah im guessing its v simple

#

which

sullen fiber
#

i was gonna say *unbox

warped dust
#

wait real

sullen fiber
#

but * will unbox for u

warped dust
#

oh god this is starting to work

sullen fiber
#

so good

warped dust
#

i know what to do but the way i wrote this thing got

#

damn

#

i love three nested eachs

sullen fiber
#

fear

tranquil vapor
#

got damn

warped dust
#

||```
C ← {"red" "green" "blue"}
S ← ⊜□≠,
I ← parse ↙
G ← (
↘+2

∵(□∵(×⊃(parse⊔⊢)(⌕:C⊢⇌)S@ ⊔)S@,⊔)S@;


)
P ← (

↘ 5

⊃I G ⊚⌕": ".
)

∵P S@\n&ru @� 0

#

null byte on the last line ofc

sullen fiber
#

yea my first solution is about the same level of nest

tranquil vapor
#

girl you genuinely don't need to spoiler that code 😭

somber smelt
#

i kinda want to try getting on global leaderboard 1 day

warped dust
#

its spoilered for comedic effect

#

u click and its uiua jumpscare

somber smelt
#

uaiaiau users on their way to spoiler illegible code

tranquil vapor
#

okay time to hop on pc and do aoc

#

what language should I use

sullen fiber
#

uiua is very legible

warped dust
sullen fiber
#
# eg: ParseStep "D3" -> [¯3 0]
ParseStep ← [⍘ℂ] ×⁅ⁿ:eℂ:0×η ⊓(⊗⊙"RULD")(-@0) ⍘⊟
somber smelt
solar tide
#

No.

somber smelt
#

actually

solar tide
#

do it in clojure

warped dust
#

sane

tranquil vapor
somber smelt
tranquil vapor
sullen fiber
#

inno setup aoc when

tranquil vapor
#

swift is pretty cool

sullen fiber
#

vee do it in qilang with me

solar tide
#

do it in clojure

tranquil vapor
#

NO

somber smelt
#

do it in the roku langauge.

tranquil vapor
#

wtf is qilang

solar tide
#

ok what about civet

tranquil vapor
#

i will never use lisps

solar tide
#

civet isn't so horrible

tranquil vapor
#

i already had a lisp as a kid i don't need more lisps in my life

solar tide
somber smelt
#

<x> non-mainstream language on their way to make the syntax whatever the fuck they want (their language will never take off)

#

brightscript

warped dust
#

the modern way to explode

solar tide
#

you guys just have no balls

tranquil vapor
somber smelt
#

NO these gays and their uaiu

sullen fiber
#

uaiu

#

true

#

(pronounced "why you")

warped dust
#

oh indexof is actually real

sullen fiber
#

lol silly

warped dust
#

i was doing where find

sullen fiber
#

i thought u did find to get like

#

the index and u could *

warped dust
#

yeah

#

theres one place i used where find for single index

sullen fiber
#

oo i see

warped dust
#

cuz its same

sullen fiber
#

the only difference is

#

no index -> array length

#

rather than failing to pull out first from where

warped dust
#

oh my god i think i did ti

#

how do i filter

#

HOW DO I FILTER

sullen fiber
#

?

warped dust
#

[0 0 2 2 0]
[1 2 3 4 5]

#

filter out >0

sullen fiber
#

oh

#

keep>0:

#

oh filter out

#

u get it

warped dust
#

wait i dont need to parse the game num

#

okay okay lemme

distant kindle
#

who up adventing of code

tranquil vapor
#

meeee

#

god so much text

warped dust
#

why is wehre

#

returning [2 2 3 3]

#

okay

#

how do i clamp [0 0 2 2 0] to [0 0 1 1 0]

tranquil vapor
#

just so bad

#

why does cd not work

warped dust
#

vap help

#

0

#

AAA

#

AAAAAAAAAAAAAa

#

That's not the right answer; your answer is too high. If you're stuck, make sure you're using the full input data; there are also some general tips on the about page, or you can ask for hints on the subreddit. Please wait one minute before trying again. [Return to Day 2]

somber smelt
tranquil vapor
#

malware

#

just doesnt keep state apparently?

#

terrible

#

i will make my own task runner

warped dust
#

oh im doing the opposite of the prompt

#

lol

#

AA

#

still doesnt owrk

#

someone debug this please ||```
S ← ⊜□≠,
G ← (
↘+2
/+>12_13_14/+∵(/+∵(×⊃(parse⊔⊢)(⌕:{"red""green""blue"}⊢⇌)S@ ⊔)S@,⊔)S@;
)
/++1⊚=0∵(G⊚⌕": ".↘5⊔)S@\n&ru @� 0

warped dust
#

Because you have guessed incorrectly 4 times on this puzzle, please wait 5 minutes before trying again.

#

oh wait

tranquil vapor
#

LOL ruby has a syntax for running shell cmds

sullen fiber
warped dust
#

i was doing like

sullen fiber
#

sorry i was figuring out how to draw 1s on a matrix

warped dust
#

checking if the sum of all games was higher

sullen fiber
#

look at my DrawRect

#

so good

warped dust
#

well each draw

warped dust
sullen fiber
#

yea i can make it fatter

warped dust
#

HOLY SHIt

sullen fiber
#

literally just

warped dust
#

huge

somber smelt
#

make a crewmate..

sullen fiber
#

take drop

warped dust
#

hop on planet syntax when

sullen fiber
#

crops the matrix

warped dust
#

(1;)

sullen fiber
#

wait

#

what is that in planet

#

gap1?

warped dust
#

yea i thnk

sullen fiber
#

omg it id

#

i need to planetpill more

sullen fiber
somber smelt
#

good.

sullen fiber
#

crewmate golf

somber smelt
#

There's a golfer among us

warped dust
#

>12_13_14 [6_3_1 1_2_2]

#

doesnt work

sullen fiber
#

fix

warped dust
#

nope

sullen fiber
#

WTF

#

row>fix

warped dust
#

yea

sullen fiber
#

real

warped dust
#

HEHEHE

#

I DID

#

I DID ITTTT

sullen fiber
#

YO

#

YO

#

RTEAL

#

REAL

#

SHOW

warped dust
#

||```
S ← ⊜□≠,
/++1⊚=0∵(/+/+∘≡>¤12_13_14∵(/+∵(×⊃(parse⊔⊢)(⌕:{"red""green""blue"}⊢⇌)S@ ⊔)S@,⊔)S@;↘+2⊚⌕": ".↘5⊔)S@\n&ru @� 0

sullen fiber
#

jesus

#

SOTP

warped dust
#

:3333

#

each each each each drop drop dopr dorp drop

#

fire

sullen fiber
daring marlinBOT
# sullen fiber https://github.com/Vap0r1ze/aoc/blob/2023/02/solve.ua

**solve.ua: **

Lines ← ⊜□≠@\n. &fras "input.txt"
SubstrMask ← /↥≡↻⊙¤¯⇡⊃⧻⌕
Colors ← {"red" "green" "blue"}

ParseSubgame ← /+ ≡(⍜⊡; ⊙: ⍘[⊙∘]⇌) :¤[0 0 0]
⊐≡(⊐≡(⊜□¬SubstrMask", ".) ⊜□¬SubstrMask"; ". ↘+2⊗@:.) Lines
≡(□≡(ParseSubgame⊔ □≡([⊙∘] ⊙(⊗□:Colors) parse ∩⊔⍘[⊙∘] ⊜□≠@ .⊔)⊔)⊔)
Games ←

# Part 1
UpperBound ← [12 13 14]
/+ +1⊚ =3≡(/+) ≡(≤UpperBound) ⊐≡(/↥) Games

# Part 2
/+ ⊐≡(/×/↥) Games

sullen fiber
#

same

warped dust
sullen fiber
daring marlinBOT
# sullen fiber https://github.com/Vap0r1ze/aoc/blob/2023/02/golf.ua

**golf.ua: **

Input ← &fras "input.txt"
ParseCube ← [⊙∘] ⊃(parse↙)(⊗:"rgb" ⊡+1) ⊗@ .
ParseGame ← □⊜ParseCube¬+↻¯1.∊:",;". ↘+2⊗@:.
Games ← ⊜ParseGame≠@\n. Input
Counts ← ⊐≡(⊕(/↥) ⍘[⊙∘] ⇌⍉) Games

# Part 1
UpperBound ← [12 13 14]
/+ +1⊚ =3 ≡(/+ ≤UpperBound) Counts

# Part 2
/+ ≡(/×) Counts

sullen fiber
#

this is me redoing after cleaning it up

sullen fiber
somber smelt
sullen fiber
#

sys

warped dust
#

reshaping an array in uiua like

sullen fiber
#

TRUYE

warped dust
#

pt2 so easy my brain is dead though

#

reduce max

#

oh

#

i did it

somber smelt
#

I hope tmrw is easy

#

I wanna get one on the day leaderboard and I think I could do a easy one in under 5 min

sullen fiber
warped dust
#

oh u did just rgb

#

true

sullen fiber
#

group

#

group is real

tranquil vapor
#

wtf today was so easy

#

literally took me like 2 lines of changes to adapt my part 1 solution to part 2

warped dust
#

lmao codeberg thinks my uiua answer is a binary file

tranquil vapor
#

this was legit all i had to add for part 2

#

😭

#

today was so easy compared to yesterday

warped dust
tranquil vapor
#

WTF IS THAT

warped dust
#

uiua

tranquil vapor
#

i love ruby destructuring

warped dust
#

mb forgot to spoiler

tranquil vapor
#
left, right = line.split ":"
#

goes hard

sullen fiber
#

for putting a NULL BYTE

#

in your SOURCE CODE

tranquil vapor
#

kill

sullen fiber
tranquil vapor
#

i love ruby its fun to write

sullen fiber
#

oh sorry forgot to destructure

#

⍘[⊙∘] ⊜□≠:@:.

tranquil vapor
#

but i would never use ruby for an actual project

tranquil vapor
#

rate

#

i think u can tell codeburger its text

#

do @warped dust

# .gitattributes

*.ua text
warped dust
#

true

solar tide
#

codeberg lame

warped dust
#

nope

#

didnt work

sullen fiber
#

STOP

solar tide
#

yes

sullen fiber
#

DONE

#

DONT GIVE HER WORKAROUNDS

#

YOU DEMON

warped dust
tranquil vapor
#

it doesnt work

#

the horror

sullen fiber
#

GOOD

#

GOOd

#

REMOVE NULLPBYEH

solar tide
sullen fiber
#

i will fill your brain with petabytes of null

#

(you will die)

somber smelt
#

wtf!?

tranquil vapor
#

surely theres like a config file to override filetype

#

github has it

sullen fiber
#

nullbyte overrides it all

tranquil vapor
#

wait

warped dust
tranquil vapor
#

try

# .gitattributes

*.ua diff
sullen fiber
#

TRUe

tranquil vapor
#

A path to which the diff attribute is set is treated as text, even when they contain byte values that normally never appear in text files, such as NUL.

sullen fiber
#

oh got

tranquil vapor
#

still doesnt work

#

horror

#

shitea

warped dust
#

wdym

#

i didnt

somber smelt
#

I'm 8th on the swift lang leaderboard blobcatcozy

solar tide
#

codeberg try not to be unstable challenge

warped dust
#

vee ban taximachine

somber smelt
#

it's a big ass board wtf

#

100 users maybe

sullen fiber
#

me when displaying nullbytes is stability

tranquil vapor
warped dust
#

maybe u have to commit again

somber smelt
#

@tranquil vapor bring back leaderboard

tranquil vapor
#

Unable to apply patch "Error: Stdout: Stderr: Falling back to direct application... error: cannot apply binary patch to 'day02/pt1.ua' without full index line error: day02/pt1.ua: patch does not apply Err: exit status 1"

#

jumpscare

somber smelt
#

wtf even 😭

#

how did the leaderboard work

#

Was it part of venbot

tranquil vapor
#

yes

#

i recommited and it still borked

#
  • This operation CANNOT be undone.
  • This operation will permanently delete the Ven/malware repository including code, issues, comments, wiki data and collaborator settings.
#

jumpscare

somber smelt
#

wtf ven malware? Real?

warped dust
#

still doesnt work :c

tranquil vapor
#

use github insteac

#

way better

warped dust
#

i can mirror to guhhub

tranquil vapor
#

nop

#

so bad

#

i should merge my aoc 22 and 23 repos and put on codeburger

somber smelt
#

Vee you call it code burger so much I feel like it's actually named that

#

😭😭

tranquil vapor
#

it is named that wdym

somber smelt
#

I will eat it.

tranquil vapor
#

i kinda wanna buy

warped dust
#

i removed the null byte 💔

#

now its 1 byte longer..

#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

somber smelt
warped dust
daring marlinBOT
warped dust
#

someone tell her

sullen fiber
#

what

#

that uiua exists??

#

true one sec

warped dust
#

rust for aoc

#

horrobe

sullen fiber
#

rate my hex to binary

#

♭⋯ -⊏:"70" ≤@9 .⇌

warped dust
#

vERUR

high lintel
#

rust for aoc so good

warped dust
#

VIRUS

sullen fiber
#

so good

#

fawna are u rusting

high lintel
#

im rusting

sullen fiber
high lintel
#

im unwraping im andthening im .parse::<u32>()ing im rusting

warped dust
#

@weary carbon GET IN THE LEADERBOARD :3

sullen fiber
#

xaev listener

tranquil vapor
weary carbon
#

HIII

tranquil vapor
#

hi hi mae

weary carbon
#

wait so what do i need to do?

high lintel
#

cool ass website god damn

warped dust
tranquil vapor
somber smelt
tranquil vapor
#

goes kinda hard

tranquil vapor
#

SO BAD

tranquil vapor
#

awesome website mae

warped dust
#

code pinned

weary carbon
#

thank u guys :,DDD

sullen fiber
#

hii

weary carbon
#

joined the lb!

sullen fiber
#

welcomee

weary carbon
#

still didnt finish day 1 tbh 😭

sullen fiber
#

@warped dust for future reference..

weary carbon
#

it was midnight and i couldnt be asked to do the words -> numbers

sullen fiber
#

if you need to dumpid inside an under condition

high lintel
#

that's oki take ur time

sullen fiber
#
Dump ← setinv(dump∘)()
⍜(↘:↙: Dump)(∵⋅1) ↯GridSize0
#

it doesnt know what the inverse of dump is 💔

warped dust
#

wtf..

#

also hop on trace

sullen fiber
#

naw

#

fake

tranquil vapor
#

wait where is auth token option

#

O.O

sullen fiber
#

thats only top value

tranquil vapor
#

surely i didnt put my shithub login int ocodeburger

weary carbon
#

"none of these words are in the bible"

tranquil vapor
#

oh

#

"If the repository needs authentication expand the Authorization section and fill in your authentication information. Note that the requested password can also be your access token."

high lintel
#

duuuu

weary carbon
#

oh yeah isnt password used as the auth token field

#

swear that happens at some point using github

tranquil vapor
#

now i have it mirrored to shithub

tranquil vapor
#

rust is too easy tho

#

do cobol instead

warped dust
#

parsing in rust so bad

sullen fiber
#

peg

#

peg

#

peg

#

peg

#

egp

tranquil vapor
native pewter
#

V

sullen fiber
#

i wanna do rust so bad

tranquil vapor
#

1nononbonono

#

u dont

sullen fiber
#

i dont wanna bother setting up cargo

native pewter
warped dust
sullen fiber
#

idk how i would like set up the crates

sullen fiber
warped dust
daring marlinBOT
sullen fiber
#

i need to install crates

warped dust
#

no you dont

sullen fiber
#

true

#

cheating

#

i need lsp

#

sike

#

i dont wanna do it anymore

weary carbon
sullen fiber
#

can i golf it

native pewter
#

uhhh

#

it looks like haskell

#

i think

sullen fiber
#

idk what htaitlooks lietkj

tranquil vapor
#

its joever

weary carbon
#

😔

#

im an underscores fangirl lmao

tranquil vapor
#

i think thats a prerequisite for being transfem

weary carbon
#

so true

weary carbon
tranquil vapor
weary carbon
#

wtf

#

latest release is NOT heck

#

that is the right artist tho wtf

high lintel
#

that's common lastfm is bad

sullen fiber
#

Heck [Explicit]

weary carbon
#

that six impala image goes hard

sullen fiber
#

where april actually says

#

whatever is bleeped i forgot

tranquil vapor
#

underscores is kinda terrible but thats what makes it good

sullen fiber
#

vee will not wake up tmr

tranquil vapor
#

MEAN

sullen fiber
#

i saw her live last month and cried

weary carbon
#

alright can someone get out the ven clone

sullen fiber
#

and you say THAT to ME

tranquil vapor
weary carbon
somber smelt
#

I feel like my Spotify wrapped would make you all recoil

sullen fiber
#

only vee they are the music arbiter

sullen fiber
somber smelt
weary carbon
sullen fiber
tranquil vapor
#

there are no underscores fans on fed
LIEEE

sullen fiber
#

i know the top 4

weary carbon
#

okay theres like 1

#

😭

tranquil vapor
somber smelt
tranquil vapor
#

.g pov: indie

somber smelt
#

I knew my music was indie but pov: indie???

slender pythonBOT
#
Top 'Pov: Indie' artists for ⛧ sillyvee 🐸
  1. The Frights - 122 plays
  2. Mitski - 62 plays
  3. Weathers - 54 plays
  4. Cavetown - 51 plays
  5. grandson - 41 plays
  6. My Chemical Romance - 35 plays
  7. girl in red - 33 plays
  8. Mindless Self Indulgence - 23 plays
  9. Set It Off - 19 plays
  10. Eyedress - 15 plays
weary carbon
#

i cant believe they've classified "Dariacore" as an official genre now

tranquil vapor
#

the faggot band is pov: indie thats so real

sullen fiber
#

msi true

warped dust
#

wtf does a genre starting with pov: mean

somber smelt
#

LMAO THE LIVING TOMBSTONE

tranquil vapor
sullen fiber
#

its one of those playlist genres

warped dust
#

thats not how pov wokrs

somber smelt
tranquil vapor
sullen fiber
#

good song

tranquil vapor
#

i swear i was shuffling once and that song came on and first i was like wow this song slaps

high lintel
#

omg that song

warped dust
#

msi installer

tranquil vapor
#

then whe nthey started singing f slur i was like

#

vine boom

warped dust
#

VAP MUTED

#

omg fawn too

tranquil vapor
#

vap timed out i wonder what they said Clueless

somber smelt
#

Spotify told me that I've listened to 54 days of music

high lintel
#

nop

warped dust
high lintel
#

was though

somber smelt
#

and 1 day I listened to 12 hours of music

in that one day

weary carbon
sullen fiber
#

wait

#

did i untime myself out

high lintel
weary carbon
#

REAL

tranquil vapor
#

we need to make some algorithm that will detect whether someone is queer or not and if they are they wont get timed out for saying faggot

high lintel
#

just make a f role

weary carbon
#

pronoujnce in bio...

sullen fiber
#

oh

high lintel
#

(and give it to me)

tranquil vapor
somber smelt
#

add the gaydar to venbot...

tranquil vapor
#

wait thats kinda real

warped dust
#

give fabgot role to people and let automod bypass

weary carbon
#

THE GAYDAR

#

advent of code is cancelled we need to code the gaydar

warped dust
neon ore
high lintel
#

no u didnt

warped dust
#

idid

sullen fiber
neon ore
#

the best invention of the twenty first century

tranquil vapor
#

nah tbhi dont wantr f slur to become commonly used here

somber smelt
#

can I exchange mine it's broken

warped dust
#

laame

somber smelt
high lintel
#

rini ban ven

#

yea

weary carbon
#

i should

warped dust
#

do it so the actual homophobes try it and get muted

somber smelt
#

Need to keep this place appropriate for the kids shiggy

tranquil vapor
neon ore
sullen fiber
somber smelt
tranquil vapor
weary carbon
#

omg real

high lintel
#

i love drake memes

weary carbon
#

shared custody

tranquil vapor
weary carbon
#

namecheaps sister company

#

spaceship

tranquil vapor
#

how is it cheaper than porkbun

weary carbon
#

no clue 😭

#

on namecheap its more expensive too

somber smelt
tranquil vapor
#

nah

warped dust
#

i made a throwaway spaceship account to check things and you can only delete ur account by email

#

so good

sullen fiber
#

WTF Is SPACEship

tranquil vapor
#

8 pound sterling is like 9€

#

on porkbun its 10€

somber smelt
#

maybe true idk

#

German tax

tranquil vapor
#

i think UK has higher salex tax

weary carbon
#

honestly the frontpage scares me off a bit the fact that they say "Spaceship OS"

#

MF ITS A WEBSITE

somber smelt
#

I know I'm joking it's because you're German

weary carbon
#

WHAT OS??

sullen fiber
#

i need a website

#

soon

tranquil vapor
#

i just wanna make it rewrite requests to codeberg.rog

warped dust
#

mb

sullen fiber
#

codeberg proxy

high lintel
#

rini ban rini

tranquil vapor
#

the latter is probably funnier

#

or it could just rewrite codeberg -> codeburger in embeds

#

and redirectusers

weary carbon
sullen fiber
#

@weary carbon

weary carbon
#

w!!!!

tranquil vapor
#

O.O

#

is it really german tax

weary carbon
#

im looking at a price comparison site

warped dust
#

the german pay gap

weary carbon
#

¯_(ツ)_/¯

warped dust
#

truly a minority

high lintel
sullen fiber
#

someone told me they found me from jane remover radio

#

so this is true

high lintel
#

insaaaane

tranquil vapor
#

german politicians and news are so cringe i wanna kill them all (in minecraft)

sullen fiber
#

mort garson is crazy

tranquil vapor
#

tbf fox news is worse than german media but it's almost as bad as fox

sullen fiber
#

wait i know exactly which 3 people put mort garson on there

weary carbon
#

fox news is

#

😨

#

i have to deal with the uk equivilent of that shit in my house unfortunately 😭

tranquil vapor
#

some german politican told news they should promise to support israel

somber smelt
tranquil vapor
#

like buddy??????

sullen fiber
tranquil vapor
#

we have a term for news that support a specific political groups and it's "propaganda"

sullen fiber
#

SCALA??

somber smelt
sullen fiber
#

DO NOT

somber smelt
#

what about it

#

I've never been to a concert especially not uk 😭

sullen fiber
#

you are gonna turn into jvm

#

💔

somber smelt
#

How

sullen fiber
#

i'll give oyu a few minutes to think about this

somber smelt
#

idk man it's 6 am

#

It's the only one I think I could make it to

warped dust
#

scala the python bytecode langauge

#

get t

#

iy

#

the

somber smelt
#

I'm in the uk some point late march to early April

sullen fiber
#

Scala is a strong statically typed high-level general-purpose programming language that supports both object-oriented programming and functional programming. Designed to be concise, many of Scala's design decisions are intended to address criticisms of Java. Wikipedia

warped dust
#

scalascribt

somber smelt
#

soo we'll see

warped dust
#

i will put you on a scala

somber smelt
#

noooo

sullen fiber
#

what the scala p

high lintel
#

scala that compiles to beam

somber smelt
#

I wanna go to concerts but I swear every time mfs play im not near

#

they'll go to New York while I'm in the uk 😭

weary carbon
#

maybe i should just do aoc in an easier language 😭

warped dust
#

you should do it in uiua

weary carbon
#

rust killing me rn

warped dust
#

trust

sullen fiber
#

trie

#

true

#

do

sullen fiber
#

uiua

weary carbon
somber smelt
warped dust
#

hop on vesktop when

#

does it even work on mac

somber smelt
#

I'm doing mine in swift

somber smelt
weary carbon
#

i have vesktop on my pc but i just never use it

somber smelt
#

@sullen fiber real...

sullen fiber
#

so good

somber smelt
#

True

warped dust
#

i should sleep like just maybe

sullen fiber
#

hop on

high lintel
#

carly peaked w E•MO•TION

sullen fiber
#

true now i must listen

#

to run away with me

#

and explode

#

a lot

high lintel
#

boy problems who's got them

native pewter
native pewter
sullen fiber
#

fawn has them too!

high lintel
#

la la la la lala

sullen fiber
#

hemlocke springs

#

springlock

#

uhhh

#

🟪

native pewter
#

????

high lintel
#

.wk

slender pythonBOT
#

👑  ⁦ajg⁩ - 1770 plays
 2.  ⁦SanderNL⁩ - 1566 plays
 3.  ⁦Avery⁩ - 1317 plays
 4.  ⁦zis :)⁩ - 1238 plays
 5.  ⁦maxic⁩ - 696 plays
 6.  ⁦philharmonic⁩ - 537 plays
 7.  ⁦Noel⁩ - 503 plays
 8.  ⁦Meiyou⁩ - 419 plays
 9.  ⁦canas!⁩ - 345 plays
 10. ⁦٭(•_•)٭⁩ - 341 plays
 11.  ⁦jay !?⁩ - 327 plays
 12.  ⁦ʚ kaestral ɞ⁩ - 281 plays
 13.  ⁦leo⁩ - 240 plays
 14.  ⁦Yuno⁩ - 235 plays
** 18.  ⁦fwjfiqwjiijqdqkdjodqadjioqw)⁩** - 157 plays

warped dust
native pewter
#

you people are not sane anymore

high lintel
#

:c

sullen fiber
#

.WK

slender pythonBOT
#

👑  ⁦ajg⁩ - 1770 plays
 2.  ⁦SanderNL⁩ - 1566 plays
 3.  ⁦Avery⁩ - 1317 plays
 4.  ⁦zis :)⁩ - 1238 plays
 5.  ⁦maxic⁩ - 696 plays
 6.  ⁦philharmonic⁩ - 537 plays
 7.  ⁦Noel⁩ - 503 plays
 8.  ⁦Meiyou⁩ - 419 plays
 9.  ⁦canas!⁩ - 345 plays
 10. ⁦٭(•_•)٭⁩ - 341 plays
 11.  ⁦jay !?⁩ - 327 plays
 12.  ⁦ʚ kaestral ɞ⁩ - 281 plays
 13.  ⁦leo⁩ - 240 plays
 14.  ⁦Yuno⁩ - 235 plays
** 24.  ⁦vap⁩** - 125 plays

high lintel
#

c:

weary carbon
#

i. need to stop

sullen fiber
#

rel

#

omg take

#

like↙

warped dust
#

string[index..] == i.0

high lintel
#

girl what the hel

somber smelt
#

.wk Olivia Rodrigo

slender pythonBOT
#

👑  ⁦escar⁩ - 4081 plays
 2.  ⁦mosdzx⁩ - 2901 plays
 3.  ⁦lyndsey!!⁩ - 1987 plays
 4.  ⁦Blueberry Bubble Tea⁩ - 1218 plays
 5.  ⁦kie⁩ - 1143 plays
 6.  ⁦Bananas⁩ - 1082 plays
 7.  ⁦Pitachu⁩ - 1025 plays
 8.  ⁦Clyde⁩ - 1007 plays
 9.  ⁦Amyrian⁩ - 943 plays
 10. ⁦maxic⁩ - 786 plays
 11.  ⁦papito⁩ - 753 plays
 12.  ⁦Hazel⁩ - 667 plays
 13.  ⁦notwally(¿)⁩ - 601 plays
 14.  ⁦ajg⁩ - 598 plays
** 545.  ⁦fieryplace 🎄🪵🔥⁩** - 0 plays

sullen fiber
#

fake fan

somber smelt
#

fym 0 plays

weary carbon
somber smelt
#

she's literally in my wrapped