« first day (2293 days earlier)      last day (2846 days later) » 

15:00
anyways it's kind of cheaty
@programmer5000 Is there a better tie breaker than bytes, since fastest-algorithm is unrelated to golf?
I'd probably prefer first to post rather than least bytes in this case
I'm trying to think of something better than either, so it doesn't force people to golf a fastest-algorithm entry, but also allows incremental improvement rather than leaving the first to post unchallengeable
there are few questions here....
15:06
ahem 51 questions ahem
That's not actually so few anymore.
one per month is not good
IMO those aren't that interesting.
I have an idea... I may make it soon
@Dennis how do I compress the text for bubblegum?
I think he uses Zopfli.
15:11
TIL JS can multiple inheritance
TIL TIO doesn't/can't output null bytes
@KritixiLithos it's an OS limitation
@ASCII-only maybe we should have used Kotlin or some other real OO Lang to make VSL. (idk swift?)
@KritixiLithos it can
Swift we can use flex bison and Kotlin, the Java one
15:13
Then I can't copy the null bytes
@KritixiLithos you can't
the clipboard literally ends with a null byte
But I can from Vim
In your browser console:

copy("hi\0there")

copies hi
I'll stop pretending to be an expert
15:15
@KritixiLithos Try it online!
How do I give bubblegum my raw deflate stream? I have a file but don't know how to do it
@Adám that doesn't output anything on my machine, but having just an A works
is that on Chrome?
@KritixiLithos Yes. On Windows.
15:18
@Dennis I have a problem. I have a deflate stream that I opened in notepad but it contains unprintables... How to I get bubble gum to accept them on TIO?
if you try to move the blinking bar through the program with the arrow keys (or shift + arrows) you can see that there are characters that you are moving over that you can't see
I'm on macOS, that must explain it
Brainfart: How do you escape backticks within backticks? e.g., what would I need to type to wrap arr.join`` in backticks?
what's the easiest way to collapse a list of lists into a single list in python3?
What is the command to get a hexdump on bash?
15:19
hexdump
@Mayube is your list 2D?
@LeakyNun no it's just a list of lists
@KritixiLithos thanks
15:21
@LeakyNun oh hey that works perfectly, thanks!
So I have a deflate stream file and I need to get the hexdump but when I get it the output text is incorrect in bubblegum
Anonymous
@Shaggy Backslashes
Anonymous
arr.join`` is arr.join\`\`
Any ideas?
-3
A: Sandbox for Proposed Challenges

ChristopherYou make the challenge and the rules answer-chaining This is an open ended answer chaining challenge. The first answer adds two computations to do and two rules. Every answer after that removes one of each and adds two of each. Rules that are not changed ever Winner is last person to not brea...

15:26
Trash it?
@programmer5000 You just got that?
@Mego Doesn't seem to work - it outputs arr.join\ as code, followed by 2 backticks as text.
Didn't know it was a badge.
In answer previews, at least.
@Christopher yes. Wow.
man, some Project Euler challenges need like 30+ bytes of code in braingolf, while others take 2
I should add a 2 byte builtin for each project euler challenge
Anonymous
15:27
@Shaggy Oh in answers I think you need to do double backticks to escape them
@programmer5000 I got mine in march and as you joined way before me I was supprised
o0 I got mine a few days ago and I joined a few days ago
@Christopher he hasn't chatted as much as you
also, I think a powershell answer is winning
5
A: Martin vs Dennis - Round 1

ConnorLSWPowerShell, 147 123 Bytes Saved 24 bytes using true/false output instead of the names, names version included below. $a,$b=irm "api.stackexchange.com/users/12012;8478?site=codegolf"|% I*;if(($c=$a|% r*n)-eq($d=$b|% r*n)){"tie"}else{$c-gt$d} Version which returns names: $a,$b=irm "api.stackex...

@Riker I haven't finished yet! ;)
:p
23 more bytes to go
ovs's python one is also somewhat close
15:33
out-golf one python answer to face another o0
@Christopher I think 9/10 was from today's star eposide
@Riker I reiterate what I said in my answer's intro about fetch and its Promises!
:p
and there's no im golfing 42 bytes off 0o
15:38
@Riker True TNB is my life
3
which is a sad thing
3
@Riker You are here also :P
yes but I'm also working on an essay and making edits on AU
just because I'm in it doesn't mean I'm addicted ;P
@Riker The first sign of an addiction is saying you are not addicted
yes, but it's also the sign of not being addicted
¯\_(ツ)_/¯ imma go eat something now, see ya later
15:40
@Christopher The TIO interpreter expects an xxd-style hexdump, not a byte stream.
@Dennis Ok I can't seem to get it to work for me :(
I think I may not be getting the right result from compressing
k screw it I'm adding 2 byte builtins for every project euler challenge to braingolf
because why not
@Mayube So you'll have two prefix bytes?
ad score is inversely related to clicks per day... codegolf.meta.stackexchange.com/ads/display/11408
@Mayube Just have a single command that takes an integer for the number of the project euler problem.
@Adám I'm just using 2 byte printable characters, like ߹
Anonymous
15:54
@Mayube In that case you should also add a builtin for OEIS sequences
OEIS?
Anonymous
AKA the source of many PPCG challenges
Think that we can take numbers from random sequences and use them as the rules for a challenge instead of an output? We could generate infinite challenges at will.
Just add a builtin that takes an integer and runs the code of the PPCG answer with that ID.
15:57
But having too many specific builtins will make the language boring
The longer your language exists, the better it gets.
@mbomb007 lolwut that is madness, upvotes aren't used correctly.
@KritixiLithos Jelly, 05AB1E, ...
Mathematica
They're not that boring it seems.
@Mayube That's not a golfing language.
But specific builtins
15:58
Have it take all the answers and terminate when the first one is done. then, you always have the best speed, and will win all fastest-code challenges
Too sad that's a standard loophole :(
@tuskiomi answers and questions each have different IDs.
0
A: Turing complete language interpreter code golf

Christopherx86 assembly (Intel syntax/MASM) 2550 bytes. Being honest here this can be golfed a good amount. I have golfed a large amount of bytes off but variable can still be golfed. However trying to golf the different names is a pain but would save only a small amount of bytes. This won't win for size ...

I think I win for size :D
@EriktheOutgolfer it's a joke. running all answers would always be slower than running the fastest
It's irrelevant. You can't know which is the fastest. Anyways, my suggestion was to take an ID. And every answer has its own ID.
Also, PowerPoint is Turing Complete:
16:05
someone already ninja'd you
Yeah, I know
Thought I'd post it again.
Wait what? is that with VBS?
@tuskiomi No. PowerPoint.
Animations
Powerpoint has VBS macros builtin
only if the user helps
16:07
Anyone (else) willing to vote to undelete this question?
No, it's made with animations and punchcards.
@Shaggy It's a duplicate, though.
Why override the asker's will?
Why bother undeleting a dupe?
@mbomb007 That's why I'm looking to get it undeleted, so we can discuss whether or not it is a dupe, rather than just closely related.
@JanDvorak Given how quickly it was deleted after the dupe-hammer was swung, it seemed very like a rage-deletion.
It's "marked as duplicate"
16:11
OK, fair enough, consensus seems to be that it is a dupe - I'll leave it alone, so.
@mbomb007 It is a dupe, although I dunno if it should be deleted, since dupes often act as signposts. Nonetheless, it should never be reopened.
@Shaggy I voted, we need 1 more.
Does anyone know who runs ss64.com?
I think it should be closed but not deleted.
@tuskiomi See whois
Good idea.
16:18
@programmer5000 I'd definitely buy ss64.ninja...
Name: Simon Sheppard
Organization: Simon Sheppard (ss64)
Address: c/o pairNIC.com Whois Privacy PO Box 42319
City: Pittsburgh
State / ProvincePA
Postal Code: 15203
Country: US
Phone: +1.4123257437
Email: [email protected]
You'd want to email
Yeah, I'd probably use the one on the contact page, but no name was given there
On to my next question. For those familiar with JS Promises, is the function here an acceptable answer? I've seen one or 2 other answers take this approach but it seems to be that, as it requires an extra Promise after the function is called, then those bytes should be counted towards the total.
@Shaggy so it returns a promise that resolves with the output? Seems fine with me.
I don't think that should count twards the byte count.
Any .then(x=>console.log(x)) should be free.
Why does "(The other day) I met a bear" challenge have a reopen vote? It is a clear dupe of the rickroll challenge
16:25
@programmer5000 I can see an argument for that approach (not least because it would save me a few bytes on some answers!) but isn't it generally required that JS functions return or log/alert/whatever the output?
^
I'd say it's not allowed
if you want to make an i/o meta answer, I'd upvote it, but it's not allowed as of right now
@KritixiLithos Clear dupe? Explain.
I agree with Riker
Although I'll say that in what you linked there's no reason to do t=>console.log(t), you could just have console.log
@Riker You mean here?
@programmer5000 But it's already deleted. By the OP. No reason to undelete it.
16:32
@programmer5000 Well, the only difference, more or less, between the two is that the lyrics are slightly different.
@Riker Or here
^ there
CMC: print the following text (lowercase/uppercase, trailing space/newline)
A
BB
CCC
DDDD
EEEEE
FFFFFF
GGGGGGG
HHHHHHHH
IIIIIIIII
JJJJJJJJJJ
KKKKKKKKKKK
LLLLLLLLLLLL
MMMMMMMMMMMMM
NNNNNNNNNNNNNN
OOOOOOOOOOOOOOO
PPPPPPPPPPPPPPPP
QQQQQQQQQQQQQQQQQ
RRRRRRRRRRRRRRRRRR
SSSSSSSSSSSSSSSSSSS
TTTTTTTTTTTTTTTTTTTT
UUUUUUUUUUUUUUUUUUUUU
VVVVVVVVVVVVVVVVVVVVVV
WWWWWWWWWWWWWWWWWWWWWWW
XXXXXXXXXXXXXXXXXXXXXXXX
YYYYYYYYYYYYYYYYYYYYYYYYY
ZZZZZZZZZZZZZZZZZZZZZZZZZZ
@Riker Thanks
Dyalog APL, (↑(⊢⍴⎕A⌷⍨⊢)¨)⍳26
16:35
@mbomb007 APL: 1957-
@KritixiLithos ↑⎕A⍴¨⍨⍳26
@LeakyNun CJam, 14 bytes: 26{)_64+c*}%N*
I could save 1 if a trailing newline is allowed
@BusinessCat allowed
Then 26{)_64+c*N}% instead
Generalized function, takes string as arg: ↑⍳∘≢⍴¨⊢
Excel Drag: rept(char(row()+64),row()) 22 (Bytes:34)
16:38
@Adám So which two does swap?
@KritixiLithos ⍳26 and ⎕A. What else could it be? They are the only data.
@KritixiLithos Remember, operators take non-operators as argument(s). Period.
⍉⌽↑⌽,\⌽⎕A
same number of bytes
but no 26 :D
Wait, I'm a bit confused, how does the program know which letter of the alphabet to reshape?
@Adám is there right-to-left scan?
Anonymous
@LeakyNun Actually, 7 bytes: ú;ru♀*i
16:43
So , being monadic, looks to its left, sees ¨, which is a monadic operator, so ¨ has a go, and takes as argument. the derived function ⍴¨ becomes the argument to .
@LeakyNun Nope :-( on the to-do list.
@Adám alright
@Mego my new feature \o/
@LeakyNun We're slowly catching up to J.
Anonymous
@LeakyNun Yep, it's very helpful
@Adám J has both way scan?
Anonymous
16:45
I used it on the last CMC I answered also
Anonymous
2 hours ago, by Mego
@LeakyNun Actually, 4 bytes: ;r@░
@Adám I see
@Mego oh, I didn't notice
You really need a reduce @Mego
Anonymous
There's a pseudo-reduce
@LeakyNun Unfortunately, yours won't easily be a function..
@Mego how?
@Adám kek
Anonymous
16:47
@LeakyNun Y can be used like that
The most fun is going to be if we get inverse/obverse/perverse.
@Mego hmm...
Anonymous
Reduce stack with addition: 9Ri`+Y
I see
Anonymous
If you need to reduce a list without touching the rest of the stack, it can be used in tandem with R
16:48
CMC: Given N, create an N-dimensional array.
@Riker I've posted that proposal that we be allowed return Promises from JS functions here - feel free to edit it for clarity, if necessary.
Does it need to contain something or can it just be nested empty arrays?
Anonymous
@Adám Actually, 6 bytes: u⌠1╟⌡n
Mathematica has about 5000 built-ins, so they should be easily mappable to 2 bytes each.
@LeakyNun Brachylog, 13 bytes: Ạl⟦b;Ạzj₍ᵐ~ṇw
16:50
@Adám dup
@Adám Ah, doing ⎕A,¨⍨⍳26 clears everything up
@LeakyNun self-dup.
@Adám lol
@Christopher Sorry, I can't read compressed streams.
@Mego that's clever
@Mego Looks almost symmetrical across a SW-NE line
@mbomb007 How so?
@Adám CJam, 7 bytes: {_{a}*}
55 mins ago, by mbomb007
Just add a builtin that takes an integer and runs the code of the PPCG answer with that ID.
That's the context of the comment.
Anonymous
@LeakyNun Thanks :) I briefly stumbled over the fact that, without the u, it was N-1 deep and contained a 1. I was originally trying to make it nested empty arrays, but I realized this was better.
APL doesn't have that feature.
16:54
@mbomb007 You lost me. Of PPCG.SE lookups?
From version 16.0 (released beta 1 today – yay!) Dyalog APL comes with a built-in web browser.
@Mego CMC: Depth of an array.
Dyalog APL,
@KritixiLithos kind of.

« first day (2293 days earlier)      last day (2846 days later) »