« first day (2369 days earlier)      last day (2471 days later) » 

2:03 PM
$aight$
 
/(?<=\G)(.*?)((?<!\\)".*?(?<!\\)"|$)/gs captures code in group 1 and strings in group 2
 
I'm about to make the next sequence on the OEIS one a really really easy one
 
👍
we need that after partitions
 
@BusinessCat if you wait 10 minutes and tell me what it is I'll do it in taxi
 
partitions are real arses
 
2:08 PM
If I wait I might get ninja'd :(
 
@BusinessCat that's fine just do it then
 
post it
 
oh I can't do primes in Taxi anyway, nvm
I need 1,2,3,4... or something like that for taxi xD
Primes are pz in cQuents
 
That sequence is a disaster. Even with a partitions built-in it took me 40 bytes
 
Nearley is upsetting me
 
2:09 PM
@BusinessCat xD
 
it seems to be ignoring everything but my first grammar rule :(
 
You know there's probably a better way but whatever, I like making something easy for the next person
 
I see Röda's already been done
in the OEIS challenge
 
ya
 
Also feels bad when I do a 40-byte answer and the sequence I get from it is a 1 byte builtin ¯\_(ツ)_/¯
 
2:12 PM
":"+"D".repeat(9e9999999)
 
@BusinessCat yup
@Cowsquack what now
 
I'm just happy
 
@cairdcoinheringaahing is it ok if output is wrapped in []?
5 -> [7]
 
7 isn't the 5th prime number
 
it's the 4th
0-indexed
oh wait i'm an idiot
 
2:16 PM
it's the 4th 1-indexed
 
A40 has offset of 1
So it starts at 1
 
the question asks for 0-indexing
5 -> [13] my bad
 
Well that seems like a grey area to me
Because I did one before that had an offset of 4
Am I supposed to 0-index that instead?!
 
@totallyhuman your submission is the second submission to have 4 bytes
 
2:19 PM
agh
 
> The nearest is 16
 
so add 13 filler bytes :P
 
is 17 available?
 
Yes but isn't that the borked sequence
 
2:22 PM
oh yeah
 
oops, I meant 12
 
@totallyhuman use the stack snippet for crying out loud
 
i tried
 
@totallyhuman next available is 16 I believe
 
it doesn't show any results
but it says available 16 and 20
 
2:24 PM
@totallyhuman just put in a bytecount in the bytecount thing, and it'll tell you the next available
 
ik :P
try putting 17 in
anyways have fun with a000016
 
So I'm writing some Earley grammar rules for Verbosely, and apparently this is a valid if statement
if[[(3)r] or[KLsL  	(((3)e)O)]]{gT  (((3)x)	y	 (""))((7)	D	(a 	(b ((7)j))))	 I((4) u(5))	D ('@')(+52055) raCJ	((-9)B)}
 
@totallyhuman it has a maple example, I'm good :P
 
> It is not banned, but please try not to copy the code from the OEIS page, and actually try to solve it.
:P
 
2:29 PM
I'll try to add Processing in to the game
 
@totallyhuman :D besides, I'm saving Maple for #100
 
After poking around a little I managed to get this, which is much better while [[[(2) y]or[(4) E]]or[((5) h) m]]{("\u8FD8") z(O (3)) cDXp (((3) i) l)(M (3)) b ('\n3')(A (9)) P ((+58) h)((6) nki ((0) C (''))) XRr((8) M) Y ((-7) C)}
 
@Cowsquack isn't input in processing really difficult?
 
you can get input from command-line args
 
Hi all
 
2:30 PM
(for that you need command-line processing, you can't use the PDE)
 
@Mr.Xcoder hi
 
@cairdcoinheringaahing Sorry for leaving without saying "Bye!" yesterday
 
@Mr.Xcoder how dare you! No internet cookies for you!
 
@cairdcoinheringaahing Critical times, critical measures.
 
Is 50 rep the smallest bounty?
 
2:32 PM
@cairdcoinheringaahing On questions that are not yours and which you did not answer, yes
 
One upvote + accept == automatically awarded 50 rep bounty though
 
How's Jelly going?
 
@Mr.Xcoder we got someone else learning it :D
 
@cairdcoinheringaahing Who?
 
Noah Cristino
 
2:34 PM
Nice. We are 14 now IIRC
 
I should probably formally learn sometime instead of just pretending like I know things
 
15 hours ago, by caird coinheringaahing
@HyperNeutrino should we get Noah learning Jelly?
Just read through the next hour or so
 
@BusinessCat Haha, you joined hypertraining rn
 
@BusinessCat but the latter is awesome
 
Just wanted to browse the rules and such
 
2:36 PM
You get free stuff
 
@totallyhuman yeah but learning Jelly is free
 
I know a decent amount so I wouldn't have to start from the very beginning
 
@cairdcoinheringaahing Do you have a CMC for me?
 
CMC: Given an input n, output [1, 1+n, 1+2n, ... 1000]
 
@AdmBorkBork Why 1000?
 
2:37 PM
e.g., for n=3, output [1, 4, 7, 10 ...]
@Mr.Xcoder cuz
 
@AdmBorkBork what about [... 1000n+1]?
 
sure, whatever
I just don't want an infinite output
 
What about [1, 1+n, 1+2n, ..., 1+n*n]?
 
@Mr.Xcoder just pick one of them and do it
 
Wouldn't that make more sense ^^?
 
2:38 PM
y'all are reading too much into a CMC
 
Let me open 6 tabs now
 
@Mr.Xcoder already got them open, left over from yesterday :P
 
already got them open, *~10
 
how about 1 1+n 1+2n ... 1+(n-1)n?
 
@EriktheOutgolfer 10?
 
2:40 PM
yeah they're ~60 rn
but most of those are code golf
 
I have 3 bytes in Jelly, for the [1, n+1, 2n+1,..., n(n-1)+1] version
 
I have 9 open, with 1 being sandbox, 3 chat rooms and the other Jelly stuff
 
@AdmBorkBork for my version of the output (until 1+(n-1)n) I get 5 bytes in Dyalog APL, 1+⊢×⍳
 
@EriktheOutgolfer I have a question about your Pyth answer
 
2:42 PM
what pyth answer?
 
How does .t work?
 
@Mr.Xcoder dang, that's crazy
 
The binary wall
@AdmBorkBork That's easier in Jelly, because there's a built-in lowered range: [0...n)
 
@Mr.Xcoder [0...n-1)
 
2:43 PM
@Mr.Xcoder .t is transpose with filler and default is space, so .t.t would append spaces on reversed binary strings to account for leading zeroes
 
@cairdcoinheringaahing Nope, notice that the last bracket is ), which means exclusive. ( and ) excludes while [ and ] include
 
@cairdcoinheringaahing doesn't ) mean exclusive?
ninja'd
 
@Mr.Xcoder ಠ_ಠ I don't know maths
 
Oh, I see, that makes sense.
 
@EriktheOutgolfer Oh, clever usage of .t.t then
 
2:44 PM
the APL answer means "range times argument plus 1"
 
technically I could use C.t though...mainly because .t has already done its job
 
@Cowsquack The Jelly one has the exact same meaning, but in other order.
 
@EriktheOutgolfer if its shorter, then do it
 
@EriktheOutgolfer Would that actually work?
 
0
Q: Resolve Scheme operational syntax’s

KennyThe first programming language that I learned was Scheme. One of my first projects was to create an interpreter in Scheme that can take any basic arithmetic operation and translate it to Scheme. Back then, I couldn´t sleep for some days. The basic arithmetic operation in Scheme is like this: ...

 
2:46 PM
Oh thanks random person for upvoting my go quine
 
@totallyhuman the chances of them being in TNB are so low
 
@cairdcoinheringaahing already done
 
Question: should I say that we can reuse languages after 100 answers?
 
@Mr.Xcoder yep
 
2:47 PM
nope
let's challenge people
 
@cairdcoinheringaahing Yes :)
Let's be lazy and not learn new languages :)
 
@Cowsquack there are 278 languages on TIO, maybe that should be the limit :)
Are there any nominations for languages for it though?
 
@cairdcoinheringaahing If it wasn't used yet: Pip
Cthulhu, after it is finished
Gaia maybe?
 
@Mr.Xcoder Gaia's been used
 
pip?
neim?
java?
 
2:50 PM
@EriktheOutgolfer neim's been used
 
Neim and Gaia literally last two used
 
@EriktheOutgolfer Ninja'd
 
@Mr.Xcoder not sure what you mean by that message
 
Java's been used as well
 
@EriktheOutgolfer I already said Pip
1 min ago, by Mr. Xcoder
@cairdcoinheringaahing If it wasn't used yet: Pip
 
2:51 PM
@Cowsquack not all versions ;)
 
At the moment, I have: Malbolge, TrumpScript, Emojicode, Emoji, SNOBOL and Pip
 
PowerShell is great and does all things.
 
@AdmBorkBork should I add Powershell?
 
2:52 PM
Someone should use Powershell
 
@cairdcoinheringaahing I don't know what we're talking about, so, sure.
 
@AdmBorkBork You are really addicted to Powershell. Do you know any other languages?
 
VBScript, BATCH file, Java (kinda)
I can generally read Python, can't code in it very well
 
@AdmBorkBork I'm offering a bounty on languages that people use and nominate for the OEIS question
 
How about boolfuck? :P
 
2:53 PM
@BusinessCat I've banned that
 
Search oeis for 0, 1, 0, 1, 0, 1
 
Doesn't it only have 1 and 0 as numbers?
@totallyhuman search your python library
 
@BusinessCat that's a loophole anyways lol
 
OEIS has all 0's and all 1's sequence
 
@cairdcoinheringaahing am on mobile
 
2:54 PM
Also n^0
 
Yeah so voolfuck is not far off
 
@BusinessCat I think they've all been used
 
Yeah so boolfuck is not far off
 
It was a joke anyway but now I'm just playing devil's advocate and defending it
 
2:55 PM
do our submissions have to be efficient?
 
@Cowsquack they have to finish before the heat death of the universe
@totallyhuman oeis.org/A000035
 
Boolfuck may be used for that sequence only
The smallest that submissions can be now is 20 bytes :P
 
@cairdcoinheringaahing Ah, interesting. I haven't been paying attention to that challenge. But it looks like I could answer A000040 with PowerShell pretty easily.
 
They can be 17
 
2:57 PM
Searching for 0 0 0 0 0 0 0 0 on Oeis: Found 237844 results, too many to show. Please refine your search..
 
@BusinessCat use the snippet
 
@BusinessCat No, they cannot. It's a broken sequence
 
Aside from hardcoding it, you can't solve it
 
But that's the same as with A4147 and that got used
 
@AdmBorkBork the current sequence is oeis.org/A000016
 
2:58 PM
@Mr.Xcoder put commata
Spaces means it could be in any order
 
@cairdcoinheringaahing Oh, I see
 
Doesn't have to be consecutive
 
@cairdcoinheringaahing I think we have a winner
 
@BusinessCat I mean it can be used, but people will hate you so much
@Mr.Xcoder for what?
 
@cairdcoinheringaahing For the OEIS challenge itself. The one that is the second-last answerer rn. I don't think it will ever be solved.
 
3:00 PM
Can I have feedback on this:
0
A: Sandbox for Proposed Challenges

programmer5000code-challenge answer-chaining polyglot Output something! Your "challenge" is to write a program that outputs something. However, your program must output something in all the languages used before. Output rules: You must output / print something (empty output is forbidden) in an acceptable ...

 
(Unless Leaky finds a new language)
 
Maybe
 
@Mr.Xcoder there's still a week to go, and the OEIS page gives a maple solution, which we haven't had
 
@cairdcoinheringaahing Maple... ?
 
@Mr.Xcoder yeah, Its a maths based language. I've got it on my computer
 
3:01 PM
16 doesn't look too bad
 
@cairdcoinheringaahing No, are you sure we didn't have it?
 
@programmer5000 I'd VTC that as a dupe of the Add a Language to a Polyglot one
 
@programmer5000 ^
 
@Mr.Xcoder snippet says no
A new language was used: Go lang
 
Oh wow, Go hadn't been used
 
3:04 PM
Go is nice
 
The next sequence is even worse :P
 
Rip this one doesn't have formula
Or Maple code
 
@totallyhuman it has mathmetica though, so its possible
 
what even is a "ménage hit polynomial"
 
@Cowsquack Google
 
3:06 PM
@Mr.Xcoder oh wow I didn't know google had that nickname
 
@totallyhuman Google is the answer to everything
 
Inaccurate
 
@Mr.Xcoder actually the answer is 42
 
Does anyone want to Jelly now? (bad wording is intentional)
 
jelly is a verb?
 
3:08 PM
Yes
 
@cairdcoinheringaahing speaking of that challenge, what happened to ais523
 
@Poke he left
 
@Poke We wanted to leave and got his account deleted, because he hated SE. He loved code-golf, but hated SE, and didn't want SE to destroy his love for code-golf
 
They asked for their account to be deleted
 
@Poke sadly he left
@Mr.Xcoder s/W/H
 
3:09 PM
oh i guess i remember now
 
@cairdcoinheringaahing Why? Submissions in mine don't have to print anything specific, but there are strict rules on lev distance between programs. Also, I expect mine to go in a different direction, producing a vastly different program after a few answers.
 
@programmer5000 its too similar. Its essentially a KC answerchaining, which is the same as the other one.
 
man Nearley is really sexy for generating ASTs
 
3:13 PM
@Dennis xkcd to the rescue!
 
@Dennis dictionary entry?
 
Survey says no one likes TFS
 
@Dennis I just verbed "Jelly"
 
@Mr.Xcoder new verb: to Dennis, to outgolf and utterly destroy any competition in code golf
 
3:16 PM
dennis has been outgolfed too
 
New verb: to Leaky – FGITW a challenge and answer it in 10 different languages.
 
no it's 15 not 10
 
@Mr.Xcoder synonyms: to Erik
 
@cairdcoinheringaahing heh
but I keep it lower
 
3:17 PM
@EriktheOutgolfer Lower means only 7 languages?
 
Ah geez, what have I done.
 
New verb: to Hyper – Successfully answer a challenge even though most think it's impossible
 
@Dennis Nothing bad :)
 
@Dennis you don't know what you've started :D devil laugh
 
@EriktheOutgolfer next thing you know, he's answering tetris GoL
 
3:18 PM
@Mr.Xcoder sorta and I think that's way better than 15 (even I was traumatized back then)
> most
that's not most, that's all
 
@totallyhuman no that is going to be Elendil or PhiNotPi
 
New verb: To Xcoder – Answer a challenge in a newly-learned language, such as Pyth, and be immediately outgolfed by Erik.
 
@Mr.Xcoder hey! that's too localized
 
And y'all wonder why I golf in PowerShell -- it's because no one else is crazy stupid ambitious enough to do so, so I can freely answer questions.
 
@Mr.Xcoder wrong, thats "to be a new user at code golf"
 
3:19 PM
1
A: Reverse Array Sum

Mr. XcoderPyth, 5 bytes sMC_B Try it online!

 
> by Erik
 
@Mr.Xcoder 5 bytes?
 
@AdmBorkBork these days powershell can run arbitrary bash code, so you're basically golfing in bash half the time
 
I meant this part
 
thats my question lol
 
3:20 PM
3
A: Reverse Array Sum

Erik the OutgolferPyth, 3 bytes +V_ Try it here.

 
That's my challenge @Mr.Xcoder
 
Nice :)
 
49 answers lol
 
@Mr.Xcoder this is the newest Jellyer
 
yeah it's easy enough to have many answers
 
3:20 PM
Apr 17 at 14:42, by AdmBorkBork
@Riker Sure it is. You don't have to worry about other people answering in your language or upvotes. ;-)
 
I immediately got outgolfed to oblivion
@cairdcoinheringaahing I noticed
 
@Mayube Certainly possible
 
First successful challenge lol
 
@Mr.Xcoder how are you getting on with fizz buzz?
 
lol fizz buzz
good luck
 
3:21 PM
@Cowsquack hah, precisely!
 
@cairdcoinheringaahing Not really well
 
especially fizz buzz in jelly...that needs very good luck lol
 
@EriktheOutgolfer check Hypertraining
 
at least pyth might be easier on that
 
3:22 PM
that is the case for many Processing answers as well
 
@cairdcoinheringaahing yeah ik
 
not many people appreciate it ;_;
 
@EriktheOutgolfer I will solve it in Pyth after that too :)
 
@EriktheOutgolfer brb, checking the fizz buzz question for answer /s
Here comes the "Don't spoiler"
 
not if there's an "/s" in there
 
3:23 PM
@EriktheOutgolfer I actually don't know what it means, Hyper just told me to do it
 
@cairdcoinheringaahing I currently have this: ³R3,5ḍ€
Is there a built-in to get only the ones that generate 1 in an array of 0s and 1s?
 
@Mr.Xcoder 1?
 
@Mr.Xcoder T?
 
not just truthy?
 
@EriktheOutgolfer NVM
 
3:28 PM
@Cowsquack Yeah. It's a problem that PPCG has that I'm not sure the solution to. Jelly (or another language) uses a couple built-ins and gets lots of upvotes, but a really excellently golfed answer in a verbose language gets one or two.
3
 
@cairdcoinheringaahing more jelly?
 
@NoahCristino what have you done so far? Simplify fraction?
 
@NoahCristino We are already there
 
@flawr
 
3:30 PM
Simplify fraction was last
 
@NoahCristino try this one:
Draw a right triangle with equal perpendicular sides of length N. You must use a not necessarily consistent non-whitespace char. Example for f(5):
#
##
###
####
#####
####
###
##
#
 
oh dear
one sec
 
@NoahCristino want to be a jelly student?
 
yea
caird is teaching me
 
I'm a teacher there
 
3:31 PM
@NoahCristino Request Join here:

 Jelly Hypertraining

Practice your Jelly :) Rules and stuff are here: golfingsucces...
 
(but I don't always have time)
 
@EriktheOutgolfer get rid of "too", I'm not a teacher :P
 
I got accepted
 
@cairdcoinheringaahing ok but "too" was used in a sense that "apart from X, Y is true too"
 
@cairdcoinheringaahing PowerShell, 32 bytes
 
3:33 PM
@cairdcoinheringaahing Untested, but it should be super short in V: Àñ2Ùá
 
@cairdcoinheringaahing Braingolf, 21 bytes Try it online!
 
@AdmBorkBork I'm just gonna nod my head and say yeah
Don't know what its doing but yep, it works
 
That really takes advantage of flexible rules
 
@DJMcMayhem its a beginner Jelly problem, not a main problem
 
How short is it in Jelly?
@cairdcoinheringaahing I know
 
3:34 PM
same as V lol
(btw that's copied directly from jelly hypertraining)
 
@cairdcoinheringaahing The .. is the range operator to construct a range. So for $n=5 this forms 1..5 + 4..1 or 1,2,3,4,5,4,3,2,1. Then |%{} is a ForEach loop. Each iteration we're string multiplying.
 
@AdmBorkBork nods head, like I underrstand
 
@cairdcoinheringaahing What's the target length in Jelly? I have 9 bytes
 
@EriktheOutgolfer Nice, I'm glad they compete, lol
 
But that seems long
 
3:36 PM
I need to add a "Palindromize" function to braingolf
 
If the rules were more strict, it would have to be at least 9 in V
 
@BusinessCat 5 bytes
 
Oh, not necessarily consistent char
Yeah no problem then
 
@BusinessCat every character has to be the same, but you decide the character
 
@cairdcoinheringaahing Aww, I am sad now. :( I always try to explain my submissions enough so that someone who isn't familiar with PowerShell but understands programming can at least follow along.
 
3:38 PM
@AdmBorkBork I vaguely understand, but I use macs so Powershell is sort of impossible (not TIO)
 
You can install PowerShell on a Mac now.
 
@cairdcoinheringaahing APL, 15 bytes: (↑⊢,1↓⌽)'#'⍴¨⍨⍳
 
@AdmBorkBork this always happens. I say I don't understand a language and than people try to teach me it. It happened with Jelly, APL and now Powershell :P
 
@cairdcoinheringaahing APL, save one byte with strange non-whitespace char: (↑⊢,1↓⌽)⍳⍴¨⊃∘⍕
 
3:41 PM
@cairdcoinheringaahing :D Learn all the languages!
 
@AdmBorkBork I'm caird, not Leaky :P
 
no Leaky's the math guy
 
@Mayube he also knows all the languages
 
To be fair he learned braingolf and me and him had a lil golf-off for an ASCII art challenge
it was the asterisk batman logo I believe
 
@Mayube the Adam West tribute?
 
3:43 PM
yeah
 
@cairdcoinheringaahing I don't think I've seen Leaky answer in PowerShell. #justsayin
 
@LeakyNun CMC: answer anything in Powershell
 
Is there anyway to know who created a tag?
I would like to thank the user who just created
 
@WheatWizard that was MD XF
 
He's not in the room so I won't ping him but, Thanks MD XF
 
3:53 PM
@WheatWizard thank him by upvoting his segfaults ;)
 
@cairdcoinheringaahing 2. Get suspended. 3. ??? 4. Profit!
 
@Dennis I have no idea what the joke is
 
It's a South Park reference. It's also not a joke.
 
@Dennis I understand the reference, I just don't get how it links in with segfaults and upvotes
 

« first day (2369 days earlier)      last day (2471 days later) »