« first day (3916 days earlier)      last day (919 days later) » 
00:00 - 20:0020:00 - 00:00

8:00 PM
@Anush APL, 19: c/⍨∧⌿2≠⌿c←6⊥⍣¯1⍳6*5 – put on the far left for beautiful output: Try it online!
 
@Anush stupid and simple approach: ato.pxeger.com/…
 
@Anush APL, 16: c⌿⍨∧/2≠/c←↑,⍳5⍴6 – beautiful out of the box: Try it online!
 
@Anush aw that's too complex for LMBM, guess I'll do it in js instead
 
nice
anyone for python?
 
@Anush Probably shortest to use PynAPL and do it in APL :-Þ
 
8:08 PM
@Anush Pip, 26 bytes:
`(.)\1`NI_FI J*$CP:[,5]RL5
 
@Adám :)
 
@DLosc 24 bytes: Try it online!
 
@Anush Do you want an explanation?
 
damn I've not flexed my golfing muscles in far too long, I'm struggling
@Anush JS, 132 bytes: Try it online!
 
8:28 PM
@Anush Here's a first stab at it: Python3, 100 bytes
But itertools is never the answer [citation needed], so there may be a shorter way to do it.
 
@Anush JS, 125 bytes: Try it online!
I was trying to be too clever and didn't notice that 6**5-1 is longer than 7775
 
Darn, that significantly less than an order of magnitude longer than APL.
 
I'm pretty sure I can golf n.toString(6).padStart(5,0) further, I'm just not sure how
@Adám I can add 35 bytes of whitespace if it makes you feel better :P
 
:-D
 
8:43 PM
@Skidsdev I actually don't think so, the shortest I can get using a recursive function is around 10 bytes longer :/
And I doubt anything'd be shorter than doing it with recursion or with toString and padding
 
Darn. I know my usual solution for golfing .toString would be +"", but that doesn't work here because I need to pass the base
 
Oof, generator functions are not the way. 126 bytes: Try it online!
 
@DLosc nice although I agree about itertools
 
@RedwolfPrograms (g=(x,s="")=>s[4]?s:g(x/6|0,x%6+s))(n) is my current approach for (un)golfing it (38 bytes, vs. 27 for the original)
 
Does anyone know a closed form for the number of such arrays?
 
8:47 PM
@RedwolfPrograms Kind of ironic that it looks golfier just because it has short names and symbols
 
Yeah. At least there's no String.fromCodePoint needed here :p
 
hm, (+c)@&~|/=':c:!5#6 in ngn/k but I'm sure it can be improved
 
I was gunna try it in C# but y'know what? I value my sanity today
 
PSA: Tomorrow's BMG, so don't forget to draft.
Or today I guess, depending on your timezone.
 
@AaroneousMiller I don't know what that means
 
8:52 PM
It's a new chat event we started recently
 
Everyone posts a bunch of CMCs, and we all solve them
 
(CMC = Chat Mini Challenge)
 
that sounds awesome, unfortunately it falls right during my commute to work and morning standup :(
 
:/
We'd tried to rotate the time it took place more often, but it got too confusing and nobody would show up
 
8:55 PM
Being active in PPCG (or CGCC now I guess) was a lot easier when I lived in the UK
 
It's every other week, and on alternate weeks it swaps a.m. and p.m. So you may be able to make it on November 3rd. (That's when I can make it.)
 

First Mini-Golf

May 11 at 0:00, 1 hour 31 minutes total – 400 messages, 15 users, 19 stars

Bookmarked May 11 at 5:30 by hyper-neutrino

 
:/ I have D&D on wednesday evenings
 
^^ here's an example
 
Maybe we could try experimenting with either longer BMGs, or doing something like short 20m ones throughout the day?
 
8:57 PM
For me it's either 8 AM or 8 PM, so It's either in the evening when I'm doing nothing, or in the morning when I'm at work and I do it anyway.
 
I think the scheduling is a pretty big issue right now, a not insignificant number of people can never make it
 
yeah it's 8/8 for me too. I usually work from home on Wednesdays, tomorrow just happens to be an exception
 
But speaking of scheduling conflicts, I have to go now :p o/
 
so most of the time I should be able to make the 8am ones
 
8:59 PM
Likewise, time for the commute home. Feels good to be back though! Nice to see some familiar faces and some new ones.
 
@Skidsdev It's Tuesday evenings, actually
(Also: sounds fun!)
 
@DLosc I have D&D every other tuesday, so that might work, depending on where it falls in EST
 
@Anush Non-itertools, Python 3.8, 92 bytes
 
@DLosc very nice
 
And -1 byte to the itertools version if the digits are allowed to be strings
 
9:05 PM
I don't understand python. bpa.st/T7DQ solves my puzzle but how is prefix+(x,) allowed?
 
+ concatenates tuples, and (x,) is the syntax for a tuple that contains the single element x
The single-element tuple syntax couldn't be (x) because that's just a parenthesized expression
 
I thought you could concatenate lists but not tuples?
 
you can do both just not mixing them
 
ah..is it linear or constant time in python?
 
With that said, you can save the comma by... using lists instead of tuples ;)
@Anush With respect to which variable? The original challenge asks for constant output, so it's by definition constant time
Oh, you mean concatenation
 
9:08 PM
yes
 
I imagine it's linear, but I don't know
 
if I concatenate two tuples of length 1000 each does it take 2000 operations?
 
@pxeger would be the one to ask. He's dug into the internals of the CPython code far more than anyone else I know.
(The phrase "two tuples" sounds like it ought to be part of a tongue twister...)
 
@rak1507 thanks!
although it's confusing because the time doubles when you multiply the input length by 10
 
9:33 PM
I am trying to understand oeis.org/…
what does it mean by (1+x)/(1-4*x) ?
 
taylor series coefficients
(in other words it says "expansion of (1+x)/(1-4*x)" because it's the polynomial expansion of that rational function, albeit you can't really expand it to a polynomial because it'd have infinite terms)
 
9:53 PM
Protip: don't try to understand everything you see on oeis pages
 
10:47 PM
Every time someone tells me I put a no-no word in a comment, I'll just point this code out to them :P
 
GPT-3 has the ability to write somewhat agro comments in its code
I don't have the sample anymore, but it was when I was trying to solve Bubbler's animal river crossing challenge using AI
 
Nice, do you have examples?
 
> I don't have the sample anymore
I think that should answer your question.
 
Oh I sent my message before you sent that lol
Or maybe I just somehow skipped over that entirely
 
@user Just use the navy seal copypasta :P
 
11:02 PM
@user That code looks like it'd be controlling a robot of some sort...robot uprising coming soon?
If so, I'm not too worried with GPT-3 as their leader
 
Yeah, it's a rival team's code
Don't worry, looks like they suck at it though :P
 
11:27 PM
Why does this have an undelete vote? Doesn't seem to have been edited to become okay
 
possibly a misclick
 
11:50 PM
CMC: make a spooky qr code
 
 
QR codes are inherently spooky
 
@user Should be a rickroll
 
@lyxal you are now legally obligated to think a new thought in ~4 hours
 
@Wezl well it's not like I already do that for two discord servers every day
 
11:56 PM
Good, just reuse those thoughts and repost them here :P
 
I'm going to arrange a bunch of apples and slices of bread in a way that they can perform turing complete computation
I call it a food processor
 
@user that's what I did yesterday
I've been doing that sort of thing since March
 
00:00 - 20:0020:00 - 00:00

« first day (3916 days earlier)      last day (919 days later) »