« first day (4029 days earlier)      last day (1110 days later) » 
00:00 - 14:0014:00 - 00:00

00:14
can i post my cubax folding problem?
razetime gave his advice
0
Q: Cubax Folding Game

DialFrostYour task is to solve a new puzzle called Cubax. This toy is actually a Chinese puzzle whose expected “final” state is a simple cube. During the festivities, Cubax unfolded, because it cannot move when folded. Cubax is composed of N³ smaller cubes (elements) linked together in a kind of doubly li...

Idk what I find so funny about the fact that there's a picture of Göring, the general of the Luftwaffe, posing in front of a Texas flag after he was captured by the Texas National Guard in 1945
00:47
@pxeger min can't do that because it accepts a variable number of arguments, so handles [undefined] and [] differently, but for a function that accepts a single argument, it just sees [undefined][0] or [][0], which are the same
@DLosc void
01:00
Sandbox posts last active a week ago: Workout Numbers, Play a chess-like game, Where is the line
01:10
@thejonymyster it turns out the idea was a dupe
now he's looking right at you
That looks very memeable
i'll go post the full gif in the meme room in the interest of not clogging tnb
02:30
0
A: Sandbox for Proposed Challenges

Parcly TaxelScore a curling end code-golfgeometrygame Curling is a sport where two teams aim to place stones as close to the centre of a target as possible. The winner of a curling end is the team whose stone is closest to the centre – they score as many points as the number of their stones closer to the cen...

someone to review this please?
Looks like a fun challenge
@ParclyTaxel so a stone has to be closer to the origin than all of the other team's stones to be counted for a point?
03:04
hi, could someone review this: codegolf.meta.stackexchange.com/questions/2140/… i know its a little on the long side but its been a week already. thanks
@taRadvylfsriksushilani should i post on main?
Sure. Maybe wait 5m or so in case anyone else is reading the sandbox post, but it's got two upvotes and you've waited a week
@AidenChow Looks good. Also, any feedback?
03:21
0
Q: Can I wall glitch to there?

Aiden ChowBackground In a 2d game that I play, each screen is a 2d grid of tiles with walls and walkable tiles, with the player only able to travel on walkable tiles, and being stopped by walls. When the player walks past the edge of the screen, he will travel to the adjacent screen on the map, with the pl...

03:35
0
Q: Answer without voting buttons

Gerardo Furtadolong time SO user, first time on CG. I just noticed a bug that I had never seen before: this question has an answer (from the user ths) without voting buttons: What's going on here?

rip
i was confused by that at first ngl
It's not a bug, it's a feature
04:01
0
A: Sandbox for Proposed Challenges

loopy waltReal-world progress bar Backstory, skip if you like Generating high quality pseudo random numbers is a tricky business but the fine engineers at < enter company you love to hate > have mastered it. Their progress bars effortlessly rise above the primitive notion of linearly passing time and add a...

04:15
shld i post mahjong checker?
anyone?
@Razetime yes
@DialFrost yes
I read that as mahjong chicken and I was like heck yeah that sounds delicious
Not sure what mahjong chicken would taste like, actually
so i post it?
the challenge
@DialFrost yah
pracly taxel thinks i should
wat about u @taRadvylfsriksushilani
any comments?
04:27
0
Q: Mahjong Checker

DialFrostMahjong is a tabletop game played using tiles. It features three "number" suits (pins, sous, mans, represented as p, s and m) from 1 to 9, and one "honor" suit z of seven distinct tiles. Note that contrary to western card games, tiles are not unique. To complete a hand and win, the 13 tiles in y...

04:52
Ugh why is cmake so huge
05:09
@ParclyTaxel will 0 be a possible output
oops didnt realise i wasnt focused in vim
05:34
what is that polygon
@UnrelatedString the cursor
> i just like messing with cursor settings
06:08
@Razetime By the assumptionn of no ties between distances of opposing stones, no. But would it be better if I allowed ties for the closest stone to correspond to an output of 0 and ties for farther-away stones to be broken in favour of the winning team?
(In that case it would be possible to have no stones at all in input, with corresponding output 0)
sorry, ties for farther-away stones are broken against the winning team, so [(1,0),(2,0)],[(-2,0)] -> 1, not 2
...actually that seems like a great way to beef up the challenge
07:21
Wow two weird changes in one day. What happened to the question page!
oh no
the questions page is the same as the main page
yes
2
it looks terrible on mobile
i like it NOOOOO
anyways 1+1=2 2=1+1 (because APL)
actually both work lol
      1+1=2 ⋄ 2=1+1
1
1
07:46
@ThisFieldIsRequired What? I don't care at all
Already used to it from search results
fair enough, I respect your opinion
0
Q: Score a curling end

Parcly TaxelCurling is a sport where two teams aim to place stones as close to the centre of a target as possible. The winner of a curling end is the team whose stone is closest to the centre – they score as many points as the number of their stones closer to the centre than any of their opponents. Task Give...

08:08
Have y'all ever seen/heard of those tire tubes that people use as pool toys?
Like that sort of thing.
If so, have you ever been stuck in one of them?
I have
It's not fun and lowkey embarrassing having to get unstuck
You walk out of the pool in shame as people see your misfortune
And they say "how'd you manage to get it up to your shoulders?"
I was a dumb 19 year old sometimes.
up to your shoulders over or under your arm
(s)
@lyxal no,
@UnrelatedString under
Just under
BTW this happened 2 weeks ago
heres is how to get "unstuck":
- go near a spike wall
- hug it
- now you are free!
that's a relief lol
08:18
or alternatively:
@PyGamer0 there's a distinct lack of spikes at my cousins house
@lyxal i was about to follow up with "wait how old are you"
- be a rock star
- get one of those spike bands
- rip the tube apart with them
- now you are free!
best out of context quote of the day:
> now you are free!
examples:
> now you are free to buy on ebay!
> now you are free to mak avocad juic!
08:44
Are we still doing BMG?
when is BMG?
because of @lyxal its just AIBMG now
or BMGBWPGBAI
CMQ: Opinions on ?
IMO it's a metatag - the questions are all pretty different. Some are just outputting numbers / text, some are time-based, some are questions with years inserted in, etc.
If you're ever feeling sad, go look at Lyxal's youtube. It's hilarious.
TIL Aaronical is a word in Jelly's dictionary
09:27
0
A: Sandbox for Proposed Challenges

AnttiPRagged index Your input is a ragged list of positive integers and a positive integer. Your task is to find that positive integer and return it's index, or if the positive integer doesn't exist, indicate it's nonexistence. How are indices in ragged lists defined? They are simply lists of indices t...

09:58
@emanresuA thank you. I have finally achieved comedy.
Me: *looks at a computer*
Also me: Hey thats just a pile of switches ... a lot of switches.
My friend: destroys his computer with an axe.
Me: "HOLY SWITCHES"
0
A: Sandbox for Proposed Challenges

AnttiPWill the dominoes topple? Your input contains a list of positive integers representing the height of a row of dominoes. As many of us know, when you have a row of dominoes and push the first one, the rest will topple in a chain reaction. But if the next domino is too big, it will not fall. This d...

10:20
@PyGamer0 My father hand-built Denmark's number 2 computer, entirely from electrically (not electronically) operated switches (i.e. relays).
What's the difference between a piano, a tuna fish and a pot of glue?
you can tune a piano, but you can't tuna fish
that's the name of an alabum
album
@lyxal vtc as unclear
Why?
Is it the glue that's confusing you?
I thought you'd get stuck on that! :p
10:39
@Adám ooh nice, (how many bits?)
10:56
I don't think he ever told me.
11:23
@lyxal are you going to host bmg?
maybe
yea ok i am drafting
@lyxal ok i drafted
i got a (probably) good problem in there
posted on February 09, 2022 by Razetime‭

Challenge idea taken from: Eliseo D'Annunzio Task Provide code...

w...why is the absolute value of 1 - j in python sqrt(2)?
nvm I just remembered that complex numbers have their own definition of abs
that moment when BMG
11:37
@Razetime when BMG?
supposed to be now
according to my email
but uhh
i say BMG and @BgilMidol arrives so i guess BMG is "Bgil Midol GComes"
> Starts in 21 minutes
will start in 5:30pm
12:01
uh rn its bmg
nope.
Welcome to the 20th Biweekly Mini Golf. During this event, we'll post some CMCs (Chat Mini Challenges) for you all to solve. A new one will be added every 5 to 10 minutes. Feel free to keep suggesting drafts during the event. If you have any questions, don't be afraid to ask. Good luck!
ninja'd, nerd.
or you can lol
@lyxal well you changed your pfp so i didnt recognise you lol
0
A: Sandbox for Proposed Challenges

AnttiPBigger regex? decision-problemcode-golfregex You are given two regexes and your task is to determine if the strings matched by the first regex are a subset of the strings matched by the second regex. For this we are going to use a limited mathematical definition of a regex. A regex is defined rec...

AICMC: Harshad primes, find the Nth number that is a harshard prime.
what
12:06
In mathematics, a harshad number (or Niven number) in a given number base is an integer that is divisible by the sum of its digits when written in that base. Harshad numbers in base n are also known as n-harshad (or n-Niven) numbers. Harshad numbers were defined by D. R. Kaprekar, a mathematician from India. The word "harshad" comes from the Sanskrit harṣa (joy) + da (give), meaning joy-giver. The term "Niven number" arose from a paper delivered by Ivan M. Niven at a conference on number theory in 1977. == Definition == Stated mathematically, let X be a positive integer with m digits when written...
but also prime
oh
in BMG Drafts, 38 mins ago, by PyGamer0
Draft: Find the point closest to the origin (0, 0) from a list of points. [[3,4], [2,1], [5,6]] -> [2,1]
@lyxal oh boy harshad numbers give me joy! :p
@lyxal wait shouldnt that be illegal?
@PyGamer0 Can we take input as complex? What if there are multiple closest?
@PyGamer0 not necessarily
@Adám 1 ok. 2 output any of them.
APL: ⊃∘⍋∘|⊃⊢ Try it online!
12:12
0
Q: Find a factorial with n trailing zeros, quickly

Wheat WizardProblem A fact you may have noticed about factorials is that as \$n\$ gets larger \$n!\$ will have an increasing number of \$0\$s at the end of it's base \$10\$ representation. In fact this is true for any base. In this challenge you will be given a base \$b > 1\$ and an integer \$n > 0\$ and yo...

AICMC: Given a string, sort each substring under the lexicographic order.
@lyxal what does AI stand for?
AI literally means AI
I used codex to generate the CMC
Ah
That explains why I thought that CMC was not well specified
yeah, I'm resetting the prompt I use
seeing if a better set of CMCs will produce more helpful stuff more often.
12:18
@lyxal That's almost well specified. Question is if a substring is consecutive or not.
I'll say that it is consecutive
AICMC: Convert an integer to textual form (e.g., 42 = "forty-two")
@lyxal Extended Dyalog APL: ∧¨¨⍳∘≢,/¨⊂ Try it online!
@Adám What about substrings that don’t have the same lengths?
What? Don't have same lengths as what?
I'm finding every possible substring, then sorting each substring.
yeah I’m stupid
I read it as "sort the word by sorting each substring" which wasn’t well specified
12:25
That makes no sense. Surely the AI didn't mean that ;-)
I don't know if it even knows what it means half the time ;p
for example
AICMC: "Divide by two" (integer or decimal) and return the result rounded down to largest integer. You can assume -9,223,372,036 is already 45
which is why I sometimes edit the output to get rid of confusing details
@lyxal I'm pretty sure it doesn't know what it means — all the time.
NAICMC: Implement basic arithmetics with the catch that -9,223,372,036 means 45.
Or should it be "ANICMC"‽
AICMC: Find second largest item in array (list, really)
@lyxal Did you add the paren?
12:29
@Adám no
it decided to place it there
I italicise any additions of mine
Hm, so I guess we only have to deal with simple lists.
What does "find" mean? Return index of or return value of?
If index, then it is 2⊃⍒ in APL.
@Adám I would say return value of, but either is fine
If value of, then it is 2⊃∨ in Extended Dyalog APL.
AICMC: find the next smallest palindrome after a positive integer n
help my cat is yelling at me and gyrating violently what do I do
@GingerIndustries yell back at it and gyrate harder
establish dominance
one second
she ran away
told you it'd work
@GingerIndustries It is probably yelling due to the oscillations. Strap some stabilisers on it.
12:33
dominance = True
assert dominance
4
@lyxal wait, is it find the first palindrome after a given n, or find the second palindrome after a given n
@Fatalize first
ok so my answer is correct
btw I made a chatroom for highlighting some of the weirder/nonsensical stuff codex generates

 AICMC cutting room floor.

For AICMCs that really don't make sense.
12:35
the thing that powers github copilot
ah
so that's how you're getting these?
yep
but not using copilot
using the OpenAI playground
it gives greater control over settings
lemme try that
12:35
haha no.
you need to be accepted into the private beta
that's where the magic happens
that's my prompt I use and the settings I have
why the hell does it want my phone number
AICMC: Return an array of all the integers from 0 to n that share no common factors with n
give me a reason why I should give this thing my phone number and not the Rickroll Hotline
12:37
@GingerIndustries verification purposes probably. They make sure that they know who's accessing their text generation tools
also, just in case you need to contact support like I did once
fahk
maybe some other day
AICMC: given a list of email addresses, rename the domain to 'bob.com'
._.
these are startlingly good
AICMC: Given a string and number, return the same string with that repeated (e.g. waterbottle 2 -> "waterbottlewaterbottle")
12:39
@GingerIndustries only because I'm cherrypicking the best
@lyxal python: lambda s,n:s*n
as you can see in the chat room I made, it only hits a good CMC every one in 10 generated CMCs or so
AICMC: Compute the number of digits in a number
@lyxal l
AICMC: return true if the given string contains balanced (), [], and {}s.
@lyxal I won’t answer CMC that take me more than 10 bytes :p
12:43
@lyxal Is ([)] balanced?
Cursed is what it is
@lyxal you didn't say "if and only if", so Python, 11 bytes: lambda:True
@Fatalize what a nerd using a language that can't do it in 2 bytes ;p
@pxeger Fails on "abc"
AICMC: fibonacci, but return only odd numbers
@pxeger In that case I submit the empty program in Brachylog, 0 bytes, always outputs true.
AICMC: count the length of every word in a sentence. Words are separated by spaces - yes! no. is two words: ["yes!", "no."]
AICMC: Convert kilometers per hour to meters per second
@lyxal QuadR, 30 bytes. Try it online!
@lyxal Extended Dyalog APL: ≢¨≠⊆⊢
@lyxal 3.6.__mul__
@lyxal str.__mul__
@lyxal dzaima/APL: 3.6×
AICMC: return (n + k/2) * [k % 2 == 0 ? 1 : -1].
@lyxal ≢⍕ (assuming printable integer)
@lyxal Uh, isn't that the answer then?
@Fmbalbuena ?
@Adám I suppose it wants you to implement it in your own language
also, allegedly, "[t]his gives the next-to-last digit of n."
12:52
@lyxal QuadR, 12 bytes: Try it online!
@lyxal I doubt that.
I do too
Wait, what is k?
a second argument
AICMC: Return all positive integers less than n whose digits are in strictly ascending order
AICMC: Find n factorial without recursion (don't worry about handling > 1000), assume input is also nonnegative
@lyxal APL: (⊣+2÷⍨⊢)ׯ1*⊢ taking n as left argument and k as right argument.
12:56
@lyxal "without recursion" heavy sweating
@lyxal !
In a shock twist of events, the AI has claimed there's no repeated digits in the square root of 2
in AICMC cutting room floor., 30 secs ago, by lyxal
AICMC: There are no repeated digits in the square root of 2: https://math.stackexchange.com/questions/793084/why-the-square-root
If "recursion" means self-calling for a sub-case, what does "cursion" mean?
@lyxal 3 bytes
@Adám calling for a case
AICMC: Given a string, compress all runs of identical characters (e.g., RRRRccc -> R4c3)
13:00
@Fatalize So a non-recursive piece-wise definition is cursive?
the example it gave was (e.g., RrrrCccc -> R4C3), which is kinda close, but not correct
@lyxal What is the result of 33322?
3322
I’m assuming 3322
damn it
I think that's enough AICMCs for the day
Codex just had a stroke
so I think it's done too
user image
3
I haven't the slightest frick what it was trying to say
13:03
Did you train it with spam?
No
11 CMCs from here
Or with TNB off-topic discussions maybe
@lyxal I don't know either, but it kinda sounds like something Trump would say.
@lyxal what kind of bitwise f***ery is that?!!!
what does aicmc stand for?
13:05
AI CMC
@BgilMidol artificial intelligence chat mini challenge
the cmcs are generated by codex
@Fatalize I gave it 11 CMCs from people like Adám, caird, redwolf and leaky nun, and this it what it gives me
@lyxal That explains it
@lyxal oh give it my cmcs pls
wtf is a wackernoggin
13:06
@PyGamer0 I gave it one of yours
@lyxal which one o-t
@Fatalize my new favourite word
@PyGamer0 "Find the point closest to the origin (0, 0) from a list of points."
update: My pakidge has been "Loaded on Delivery Vehicle"
what exactly is a "possong ni bong"
@GingerIndustries I have no idea
@lyxal WR: possong ni bong (intj): What the rgksp
13:14
@lyxal new pfp!
@mathcat *[pipis]
what exactly is your new [pipis]?
that's probably some undertale character
right?
one sec
google says Deltarune C2
google also says "an edible Australian wedge shell (Plebidonax deltoides)"
13:18
@mathcat .~.
wait
@lyxal did you eat a wedge shell?
sus
> Australian
yes
more sus
@mathcat no, I'm just a man of the [pipis], a real [pipis], person
13:19
I do not understand
@lyxal no, you're lyxal
@GingerIndustries That's not very big shot of you, kid.
@lyxal oh dear
how do I become [big shot]? Do I get [kromer]?
or am I mangling the reference?
lemme download undertale real quick
@GingerIndustries That's [closed for good] enough you [little sponge]
hmmmmmm
@lyxal [503 server error] while processing reference
more details?
13:25
Just search for EV3RY BUDDY 'S FAVORITE [[Number 1 Rated Salesman1997]]
I will add that to my queue
And then you won't be the [little sponge] who hates its [$4.99] life
Anyhow I have to [go so soon] and sleep [buy now!!]
Later, nerds.
13:27
o/
@lyxal thank you for the complement
o/
You're the second one calling me a nerd today
@AaroneousMiller ඞ
very sus
Why is your head under your hand?
13:30
sideways facepalm
hmm
still sus but ok
Australian wave
You're on the sus list now and you're being monitored every second
ah
santa uses the [Sus List] to determine which children to [vote off]
@mathcat you call it monitoring, I call it involuntary friendship
∘-∘
○-○ is valid APL. As a function, it always gives 0, but as a snippet/phrase it gives −nπ²
13:54
of course
the true name of Ba'Al the Soul-Eater is probably valid APL
@PyGamer0 Can be valid too, if _ is a monadic operator. Try it online!
00:00 - 14:0014:00 - 00:00

« first day (4029 days earlier)      last day (1110 days later) »