« first day (4233 days earlier)      last day (601 days later) » 
00:00 - 14:0014:00 - 00:00

att
12:00 AM
it's adding a new dimension, not joining
 
dont think i follow then /shrug :-)
oh wait wait
 
att
take R G B channels and combine into a RGB image
 
@SandboxPosts could u put a worked example, i cant understand at all
 
what does it look like for inputs that arent trivially nested? i dont really get what its for gfdsg
 
@thejonymyster its a list of arrays of the same dimension, so it probably will be trivially nested (not too sure what you mean by that)?
 
12:03 AM
like
why is [[[1,2]]] so deep lol
its just 1 and 2, no other dimensions are like.. represented
its.. what is that 4d?
but its like a straight line in 3d or something rather than a cube
 
att
I added a line to the sandbox post, see if it helps
 
oh theres a post? oh shoot
didnt realize the sandbox was relevant
 
@thejonymyster LMAO
 
:P ok reading it lol
...i didnt notice the first given example in chat wasnt [1,2] [3,4]
need to reread everything
or get synesthesia so the numbers can be color coded
Actually i think itd help if the numbers in the example were in order
to better get an idea of where the numbers are going
to me it looks like regular concatenation followed by some zip operation
1 2 3
4 5 6
7 8 9

a b c
d e f
g h i

~ ! @
# $ %
^ & *

  |
  v

1 a ~
2 b !
3 c @

4 d #
5 e $
6 f %

7 g ^
8 h &
9 i *
so this?
made myself a simpler example using distinct symbols instead of numbers so i could easier visualize it
 
att
12:21 AM
uh, stuff disappeared there
oh I can scroll
yeah that should be right
 
did u finish brute forcing the thing btw att
 
att
nop
 
att
might be easier to see like this
 
12:32 AM
is the thue interpreter on tio broken or what, this should work: tio.run/##K8koTf3/P9HKyrbOIzUnJ19HoTy/KCdFkQsowpX4/z8A
 
add a newline at the end
(no idea what thue is or why that works)
 
Thue is a pattern replacement language, similar to ///
 
@Steffan huh ig thats just a quirk of their interpreter
(also how did u think to do that???)
 
0
Q: Live a longer life

caird coinheringaahingConways' Game of Life is a well known cellular automaton "played" on an infinite grid, filled with cells that are either alive or dead. Once given an initial state, the board evolves according to rules indefinitely. Those rules are: Any live cell with 2 or 3 living neighbours (the 8 cells immedi...

 
12:43 AM
@cairdcoinheringaahing tf u doing lol
 
That typically produces the interpreter/compiler for a language on TIO
That, or something similar
 
thats fun lol
 
@NewPosts Waiting for @Bubbler to post his n = 3 answer he's been sat on :P
@thejonymyster Ye, it's super neat that TIO can read itself
 
@cairdcoinheringaahing maybe thats some compiled file or smth
 
@AidenChow Yeah, I suspect the Thue one is a compiler
 
12:48 AM
it seems like they are using this implementation: github.com/catseye/Thue/blob/master/src/thue.c
not entirely sure though
 
@NewPosts My first challenge since the end of May :D
 
att
@AidenChow I'm starting to think it's too unoptimized :)
 
@att :\ ok, im probably gonna post it soon in that case
unless anyone else got any feedback
 
@AidenChow i didn't, I clicked on the hello world example in TIO
 
att
bugfix in prod
 
12:58 AM
@Steffan what, they have a button like that??? never knew that
 
att
I never knew either lmao
wow -print cheating
 
@cairdcoinheringaahing dammit
was preparing a gist for n=3 but loopy wait did a very boring answer
 
thats seems like
hm
 
@cairdcoinheringaahing someone in chat suggested putting it in the box instead of asking a meta
 
1:07 AM
wait, do you win by posting last or by having the most generations
 
by definition, last post has the most generations
 
right ok
@Bubbler looks like its not valid though
 
@thejonymyster Yes
@Bubbler Was your n = 3 answer this, where X is live?
 
lol why jelly
 
I have a Jelly TIO tab open at all times
 
1:10 AM
xxx
.x.
x.x
Huh, yours goes one step further
no, yours is 174, mine is 175
 
I like how your n = 4 solution produces an obvious glider, but very quickly gets rid of it :P
 
yeah, fortunately it heads right into another active area
I couldn't find n=5 by hand that nontrivially outlives the 4 without a diverging glider
 
I expect that this challenge will become substantially more interesting as it goes on
Brute force becomes substantially harder with each new answer
 
in the worst case, it'll be a game of finding predecessors until we hit a garden of eden, and the game is over
because it is just too easy to produce a glider for a longer life
 
strategy: make two symmetrical lifes, have the gliders crash somewhere in the middle
 
1:20 AM
Yeah, isn't there a pattern of placing a glider a specific number of steps away from a still life in order to produce a pattern?
 
it needs to be sufficiently far away though (which means high n)
 
Alephalpha's answer is interesting - parents could introduce a nice aspect to continuing the challenge
 
Yes, I meant precisely that
 
Ah right. Thought you meant "predecessors" as arbitrarily far away, not one away
 
Can you edit the position on copy.sh/life?
 
1:25 AM
@emanresuA Yes, change the x and y values in the rle file
 
well, parent of parent of parent of ... = arbitrarily far away
from a single seed answer
 
1:46 AM
I accidentally made a 7x7 grid with p = infinity (at least, I ran it for about 700,000,000 iterations and it was still going)
Is it invalid to post?
It just infinitely expands
 
i think it needs to reach a fixed state in a finite amount of generations, thats like the entire point of the challenge
 
invalid, unless you can verify that it stabilizes with zero gliders in the end
 
There's a glider heading southwest early on, which cannot interact with the rest
so it's invalid
 
ah
so it's invalid if there are multiple things going further away from each other?
 
1:50 AM
yes
 
yea, becuz its never gonna reach a fixed state
 
2:18 AM
After trying 100s of autogenerated random patterns, I found a n=5 with p=421
#C Generated by copy.sh/life
x = 5, y = 5, rule = B3/S23
4bo$3bo$3obo$2b2o$bo!
....#
...#.
###.#
..##.
.#...
... and a 389
now I think a random soup search might be actually feasible
 
whats a soup search
 
when you get stuck at soup
 
basically a bruteforce using randomly generated initial state
 
3:07 AM
Hello!
 
3:55 AM
@graffe hi!
@att yea i just realized that i have no idea how i got 22, just redid it and got 32 LOL
ok whatever im just gonna post it, its been in the sandbox for like a week at this point
 
okay, a random search actually found a 6x6 methuselah taking ~2300 steps to stabilize
except that it produces a bunch of escaping gliders so it's invalid for the challenge again
.#.#..
###.##
....##
.###..
#.#.#.
.....#
 
how da hell are there so many terms for game of life
 
well, people did do tons of research in GoL
it's kinda funny to see how gliders spawn out of a random mess, but it's disappointing at the same time
 
4:28 AM
2
Q: Optimally pop all the bubbles

Aiden ChowIn a given 2d grid of positive integers (representing different types of "bubbles"), there are one of two actions that you can do each "step". You can either: Pop an island (a connected group of bubbles) of the same type of bubbles, given that the island consists of at least 2 bubbles AND at le...

 
We may need some soup search tool like apgsearch.
 
Yeah maybe. I enjoyed running and watching the evolution by hand, but it's got tedious quickly
 
 
1 hour later…
att
6:00 AM
@AidenChow it's doable in 28
clear 3-wide columns down the middle
 
@att hmm how does that work
i post a tio link in my challenge where u can input steps manually, could u show me the steps in the format i specify in that link
(also could be bugged cuz its literally spaghetti code, idk lol)
 
For Pop operation, don't you just need the x coordinate?
 
att
^
 
@Bubbler yea but like idk how to do flood fill so i copy paste some code online, that code i copy paste need both x and y and im too lazy to check for the y coord lol
 
lol that's too bad
 
att
6:07 AM
```
D 1 2
P 0 1
D 1 1
P 1 1
D 1 2
P 2 1
D 1 1
P 3 1
D 1 2
P 4 1
D 1 1
P 5 1
D 1 2
P 6 1
D 4 1
P 0 4
D 4 2
P 1 4
D 4 1
P 2 4
D 4 2
P 3 4
D 4 1
P 4 4
D 4 2
P 5 4
D 4 1
P 6 4
```
 
@att dang nice, i gotta study and see how this works lol
maybe i shouldve made the challenge to be output these steps
 
att
it's as simple as you can get
drop pop repeat in columns 1&4
 
oh dang thats simple
should i post a separate challenge for outputting the actual moves, or is that too similar?
 
adds little and makes output complex
D 2 1
P 0 2
D 2 2
P 1 2
D 2 1
P 2 2
D 1 2
D 2 2
P 2 1
D 2 1
D 3 1
P 3 3
P 2 4
P 3 4
D 4 1
P 4 4
D 2 2
D 4 2
P 5 1
D 1 1
D 4 1
P 5 1
P 3 0
P 5 0
P 6 3
^ 25 moves
 
@Bubbler dang what the, how does that work
 
6:15 AM
dig into 3rd col (deleting cols 2-4), deleting some of non-top bubbles on cols 1 and 5 along the way
which groups some of the existing bubbles for free
 
@Bubbler ah yea thats kinda what i thought, wouldve been cool tho
 
att
```
D 1 2
P 0 1
D 1 1
P 1 1
D 1 2
P 2 1
D 1 1
P 3 1
D 1 2
P 4 1
D 1 1
P 5 1
D 1 2
P 6 1
D 2 1
P 6 2
D 2 2
P 6 2
P 2 4
P 3 4
P 4 4
P 5 4
P 6 4
```
23
 
what if i just go to puzzling se and ask about this lol, see what they come up with
@att bruh dang
ok thats actually smart tho
i feel like ive just created a new type of puzzle or smth :P
 
att
also can you please change it to P c r at least
it feels terrible changing which place c is in and r isn't important anyways
 
D 1 2
P 0 1
D 1 1
P 1 1
D 1 2
P 2 1
D 1 1
D 2 1
P 2 2
P 2 3
P 2 4
P 2 5
D 1 2
P 4 1
D 1 1
P 5 1
D 1 2
D 2 2
P 5 2
P 5 3
P 5 4
P 5 5
^ 22
 
6:25 AM
@Bubbler ayo wtf, dang
dude i swear this is actually a puzzle
 
@cairdcoinheringaahing Is there specs available for the Adapt language?
 
@att well i was doing it based on the index ordering, like P r c corresponded to grid[r][c]
it was more of a convenience thing
 
6:38 AM
Also what does a JHT rating mean?
 
There are some basic tasks under Jelly HyperTraining, and iirc caird uses them to test their esolangs
and "JHT rating" is how many of them caird solved using a lang, or something similar
 
7:12 AM
time for a new lotm right
 
Prolog right?
 
@mousetail certainly seems like it
 
Should be interesting
 
@mousetail hm maybe, idk anything about it tho lol
 
It's declarative so very different from any procedural, object oriented, or functional language
 
att
7:32 AM
i've been meaning to look at it
so, probably won't
 
whos gonna post the lotm meta post
and does anyone want to do bounty for it?
 
Good morning
For those for whom it is morning
@AidenChow lotm?
 
@graffe ya, its a new month
should be prolog this time
 
@AidenChow The meta post seems to state @Steffan should post the LOTM announcmenet since he suggested the language
 
7:52 AM
@mousetail thanks
 
8:41 AM
@NewPosts p8 >= 901
post coming soon (having dinner now)
 
@Bubbler alephalpha: p9 = 902
 
lol probably
spamming random runs, clearly the best way to utilize the mealtime
 
I suggest you startt searching for p10 :p
 
I'm wonder what the minimum size is so that the optimal answer is probably uncompatable
AKA smallest pattern for which if it terminates is undecidable
 
direct reduction from turing machine is likely at least 10000s away
 
9:45 AM
Pro tip for overly strict password requirements: Simply paste in the password requirements list
 
@emanresuA What if the requirement is "must contain a uppercase letter, a lowercase letter, number, and a symbol" which itself doesn't contain a number or uppercase letter or symbol.
 
Most that I've seen say "number (0-9)"
 
Dammit, a promising 10x10 went going for so long, only to produce a free glider at ~1500 steps
 
That's pretty impressive still
 
#C Generated by copy.sh/life
x = 10, y = 10, rule = B3/S23
bo2bo4bo$o3b4obo$o2bobo$o3bob2o$b3obo2bo$5ob3o$bo3bob3o$o3b2ob2o$9bo$
6bo!
 
9:57 AM
0
Q: Generate pronouncable word in Excel (2019 and higher)

WillemHow to generate a pronouncable word (Dutch lookalike) using randomized combination of alfabetic characters. Characters: BCDFGHJKLMNPQRSTVWXZ Vowels: AEIOUY If neccessary also Digrams and Trigrams can be used, see an explanation of dutch variatios on: https://www.sttmedia.com/syllablefrequency-dutch

 
Random fact: There is a recurring subpattern that fires two gliders in two different directions. If you see it coming, you can be almost certain that it's not an answer to caird's challenge.
 
10:14 AM
Could probably use a hashlife variant to deal with that
 
11:00 AM
 
Should I share my intended solution for codegolf.stackexchange.com/a/251486/91213 ?
 
12:07 PM
@Neil >:(
 
@Neil dang how'd I miss this. Well played!
 
>:(
 
yo mod election
 
I would like to nominate everyone
 
12:11 PM
There will be a moderator election on PPCG with user nominations beginning on September 26th and voting beginning on October 3rd.
11
 
Was it asked for by the mod team or was it forced by SE?
 
I'd bet SE
 
@lyxal We asked for it.
 
Out of curiosity: why? Is the current moderator workload too heavy for 3 mods?
 
We are currently not resolving flags quick enough.
 
12:17 PM
Fair enough
 
we're all somewhat busy irl, and a fourth mod would help with the flags + as an extra hand in case one of us gets pulled away on a more permanent basis
 
I wonder who this mod will be
probably @Adám tbh
if he runs
 
caird
definitely caird
 
not as if i will run for mod, but can i say this is my granny's account?
@lyxal agree @cairdcoinheringaahing
 
Mods typically have 10K + rep
plus a bunch of required badges
 
12:19 PM
true, altho it says "300+" lol
 
@NumberBasher I'm my own Grandma...
 
Yea it's a bit of a joke, I don't think any mod in the entire network has less than 5K
 
Any feedback for SunSip?
 
@NumberBasher you need to be 18+ too
 
@mousetail Maybe on beta sites
 
12:20 PM
@lyxal why?
 
Yea except area 51
 
@NumberBasher EU regulations
 
hi all
 
area 51 is not really a SE site
it looks like one and acts like one but it's not really one
 
@lyxal if this is actually my granny's account and i am mod (which is not) am i not allowed to look?
 
12:20 PM
just like meta
 
would anyone like to give my new sandboxed challenge a go? codegolf.meta.stackexchange.com/a/25077/108721
 
@Ginger It really doesn't look like one
 
@NumberBasher Then you might be in trouble for account sharing
 
it would be great to have a starter score for people to try to beat
 
well I don't visit it very often so
 
12:21 PM
but it does have a meta site
 
@NumberBasher essentially if you are sub-18 years of age then you cannot be a mod, regardless of other factors
 
@lyxal looking
 
Can I nominate the new posts bot?
 
or peaking
@mousetail i'm going to nominate the sandbox bot
 
please do not do that
 
12:25 PM
0
A: Do [tips] questions need an objective winning criterion?

Number BasherTips should be on Meta I understand that currently they can be posted on both places. However, I think that: It makes it harder to find tips because they are scattered It doesn't fit as a "Code Golf or Coding Challenge" It is more related to "how this site works" Questions "should" have an objec...

 
I don't want them to become sentient and then have mod powers
 
you can't nominate someone else btw
 
Hack the new posts bot to nominate itself
 
12:29 PM
nO
cmon you're just giving the bots god-mode! that's the Number One Thing You DO NOT DO! have you seen the terminator?
 
no we're not giving it god mode
 
@NumberBasher it's a slightly odd question as winners are rarely chosen these days
I think what is meant is a way of measuring and comparing answers
 
@Ginger quote the fault in our stars, "its a metaphor: you put the killing thing in your mouth but you don't give it the power to kill you". we're just nominating it, we are not even voting it
@graffe true, how about just make it a popcorn
 
@NumberBasher I am happy with that
about to post the challenge in case anyone has any concerns/comments
 
12:44 PM
posted!
I am intrigued, as ever, to see the answers from the many ccgc geniuses
 
0
Q: Strategy: The cunning cousin witch

graffeThe wizard has a cunning cousin who is a witch. She looks down on the wizard, regarding him and his puzzles as mathematically naive. On reading his latest puzzle, she scorned him for always asking discrete problems with what she (unfairly) characterises as simple solutions, where the real, prope...

 
@NewPosts i don't think this is a coding problem?
 
12:59 PM
@JoKing it is!
we have lots of questions of this sort over the years
you can write some code that tries something and measure the score it gives
sure it potentially involves some thinking too but that's ok isn't it?
 
i'm kinda confused about "the witch will tell you the number of points on the number line with value less than or equal to y" and "There is no input in this challenge"
 
@JoKing the witch chooses a random integer from 0 to 10 then puts that number of points on the line
 
i got that, doesn't really help the confusion
 
Maybe include some psuedocode that simulates the which? Make it easier to visualize
 
so you could implement that by this random code
import random
x=random.randint(0,10)
 
1:05 PM
yeah, i also don't understand why the answerer has to also implement the witch
 
points = []
 
it could also make sense if you just allow users to assume theyre going to be given input of a bunch of random numbers to work through
 
for _ in range(x):
...: points.append(random.uniform(0,10))
you can't evaluate your answer without implementing the witch
@JoKing you only do that to evaluate your answer
 
Implementing the which once would limit your langauge choice
 
@mousetail how do you mean?
 
1:06 PM
languages without randomness cant simulate the witch for one :P
 
why though? just run the two programs in tandem
 
@thejonymyster sort of.. you can implement your own prng easily
 
In most languages writing the which is much easier than interfacing with a external prgram
maybe in a few that lack randomness a external controller is shorter
 
@graffe seeded by input? :P
 
@JoKing to report your score you will need to test your code on thousands on instances
@thejonymyster :) I use 7 as a seed
 
1:08 PM
i still don't get the "no input" rule btw
 
@mousetail you don't really need to interface with anything. It can all be merged into one piece of code
@JoKing randomness is the input :)
 
Exactly, the challenge would be more difficult if you provided a which program we'd need to interface with
which is why you decided not to provide one, right?
 
@mousetail ah yes. I agree
 
i think theres some confusion on what our ideas of input are here,
sure theres no *user* input, but there is a random number that our program is expected to receive to do calculations on
generating it within the function itself seems weird, its like playing catch with yourself
 
@thejonymyster yes exactly. But it's all wrapped up into the code so there is no external input
 
1:10 PM
@graffe yes but why :P
 
Since it's easier to implement that way
 
you could easily write a witch controller ala koth
 
@JoKing I just think that makes the code harder
it's a hard enough problem already!
 
@JoKing or @WheatWizard could a mod unfreeze chat.stackexchange.com/rooms/136444/lambda-chat please?
 
done
 
1:11 PM
thanks!
 
please do give it a go and report the score you get!
 
if i write in js witch=math.random() (or whatever it needs to be) and then my solution calls witch, i might as well take witch as input :P
if that makes sense
 
I would then be accused of having two separate challenges. One to get a good score and one to do the interfacing
 
but the interfacing isnt really hard at all right :P
 
@thejonymyster That would require a input of 10,000 numbers
 
1:12 PM
its not like you have to golf it
@mousetail no you just call it 10,000 times
witch is a function
 
in what language?
 
not every language would it work but like
 
@thejonymyster Well then you have the problem of restriction the problem to only 1 language again
 
Allowing it to be that way wouldnt be unsensible
 
@thejonymyster if you submit an answer coded like that other people could use it
 
1:13 PM
The cost for choosing a floating point number ℓ is 2ℓ dollars, i actually only choose integers, so they are all free
 
@JoKing no... In this game, you can at each step choose a floating point number y
 
(that was a joke)
 
You were (and still are) JoKing
 
:)
I fixed the question nonetheless :)
thanks
an upvote! :)
now I just need the first answer
please someone give it a go. You only have to beat 16152.4 at the moment
 
i guess to put it another way; you are relying on some random function to exist somewhere within your code, that is the witch. it is an equivalent problem if the witch exists outside your code, and her values are taken as input. Since the challenge is just about the strategy, implementation details like that dont seem super important, and its the solver's responsibility to figure out how to test it for all the iterations necessary
 
1:17 PM
@thejonymyster yes. I am hoping you will give it a go!
 
oh im not smart enough for this :P i just have loud opinions
ill ponder it
 
@thejonymyster cool. You can just experiment and see what scores you get
no need to try to solve it optimally
 
i have a silly idea i want to try :P let me see if i can figure out how to program this
 
@thejonymyster do it!
 
1:44 PM
i may have implemented something wrong; the naive strategy (always pick 9) is giving me a mean cost of ~$550 :P
 
@thejonymyster hmmm... so let's work through it
how often does it find 10 points?
you need two things to happen.. first x has to equal 10 and second all ten points have to be 9 or less
is that what you have?
 
i think thats what my code is doing
ill have to do more debugging and ill get back to u
 
ok
 
👀 mod election?
 
@cairdcoinheringaahing now's your chance to be a code golf mod
 
1:53 PM
yep
 
@thejonymyster This is def wrong, in only 1/10 cases are there even 10 things to guess. So minimum score is at least 5,000
 
@lyxal Might sit this one out tbh, never really wanted to be a mod :P
 
ah well that's a shame
I really think you'd be good at being a mod
but if you think not, that's okay
I take the spot then
 
@mousetail I added a comment. Thank you for the answer!
 
@mousetail maybe im just really really lucky
 
1:54 PM
@lyxal lol, but iirc youre not even 18? my memory sucks
 
@mousetail no yeah clearly theres an error, my number is way too low, but i dont have any idea how to see whats wrong with my code, it looks fine to me <: |
 
@thejonymyster if you just count how often there are 10 points less than 9 what does your code give you?
 
i can write that rq
 
@mousetail I was commenting on "Guesses each number 1-10"
 
or actually;
would "always guess 10" give a similar result?
im just trying to modify my code as little as possible dx
 
1:56 PM
@thejonymyster no :)
 
lol ok hm
 
@graffe is my answer valid? I don't think I ever guess over 9
 
@mousetail what do you mean by "Guesses each number 1-10"?
 
@graffe Oh right, the description is wrong. The code is correct though
 
ah ok
@mousetail and when you say abort do you mean it asks the witch for a new set of points?
 
1:59 PM
Yes
 
then it looks good to me
:)
can you do better?
 
Probably
Just setting a benchmark to beat
 
00:00 - 14:0014:00 - 00:00

« first day (4233 days earlier)      last day (601 days later) »