« first day (2367 days earlier)      last day (2466 days later) » 

8:01 PM
@BlackCap I meant without builtins (as in in an esolang that's not designed for just that) :P
but sheesh that's short, curry's more powerful than I knew
 
I think there is a language extension that lets you not write the where part, so it assumes that undefined variables are free
 
8:13 PM
I would do trumpscript, but it cannot handle numbers smaller than 1 million
 
0
Q: Counting up and down while doubling the increments

Stewie GriffinInput: A non-empty list / vector where each element holds a value/character, indicating if you'll count up or down. I'll use 1 and -1, but you may choose whatever you like. You can only use two values, you can't use 1,2,3... and -1,-2,-3..., for up and down respectively. Challenge: You'll use...

 
Apparently I got super rusty after 2 weeks of not golfing. codegolf.stackexchange.com/a/135203/56721
 
It seems the comment-flagging reasons changed recently, does anyone know why?
 
@Mr.Xcoder beat you to it
 
0
A: Sandbox for Proposed Challenges

GryphonSecret Message Part 2, Roman Numeral Code Points code-golf string This is the second part of a series. Here is the first part. So, for the second step of your secret code, you are going to use ASCII code points, expressed in roman numerals, to replace the letters in a string. You will separ...

 
8:23 PM
@flawr it changed for me when I installed the userscript
 
@cairdcoinheringaahing Well done
CMC: n -> n, n-1, n-2, ..., 1
 
@Mr.Xcoder Jelly, 2 bytes: r1 (seemed appropriate :P)
 
@Mr.Xcoder cQuents, 10 bytes: #|A::A-$+1
 
@cairdcoinheringaahing 2 bytes: _Ḷ
@StepHen Lol
 
@Mr.Xcoder lambda n:[i+1for i in range(n)][::-1]
 
8:26 PM
@Mr.Xcoder It's not a golfing lang exactly :P or were you talking about the TIO markdown stuff
 
@Mr.Xcoder you need to use the builtin tho :D
 
@StepHen Tio markdown
@betseg You can do much better
 
@Mr.Xcoder spoiler, 22 bytes
 
@cairdcoinheringaahing That's Python 2, sorry
 
@Mr.Xcoder Python 2 is golfier
 
8:31 PM
what we would've done if python didn't allow \ at the end of the lines? +2 bytes for f= or just -2 bytes from TIO's byte counter?
 
@cairdcoinheringaahing Not when using sets
 
@betseg -2 bytes from TIO count
 
-2 bytes
 
Ok, I've actually gtg and work :(
 
@betseg You'd still use the same byte count, according to the rules
 
8:32 PM
Ok, I'll actually going to gtg and sleep :(
 
you just couldn't use the TIO bytecounter
 
@Mr.Xcoder oooh
 
@betseg Nice, right?
Hi anyway
 
@Mr.Xcoder APL: ⌽⍳
 
8:35 PM
@Adám The same as Jelly, golfy APL
@Adám Do you have a CMC (I want to do some Pyth training)?
 
@Mr.Xcoder Can't really be golfed any further. Two atomic concepts.
@Mr.Xcoder I was on my bicycle here and wondered if we ever had a simple flood fill challenge.
 
@Adám flood fill?
How would you incorporate that into a challenge?
 
@Mr.Xcoder As in given a matrix of three distinct values, e.g. A, B, C, change all B's that have C as neighbor into Cs.
I.e. As are borders.
Bs are empty
C is paint
 
Got it, I don't think we've ever had such thing
 
@Mr.Xcoder Should I main Main or CMC (or both)?
 
8:40 PM
@Adám I don't know how interesting that'd be (because MATL will probably win), but Main, too complex for a CMC
 
7
Q: Flood-fill a 2D grid

shooqieChallenge description Let's call a two-dimentional, rectangular array (meaning its every subarray has the same length), a grid. Every unit of a grid is either an empty space or a border. In a grid of characters, empty space is represented by a single whitespace; any other character is treated as...

 
@Adám So, we've had one :D
 
@Mr.Xcoder Go ahead, make a Pyth answer. Python is there. :-)
 
@Adám Nah, I really dislike matrices.
I love number-manipulation or String stuff
 
Hm. Then you shouldn't ask me for a challenge. I'm totally an array guy!
 
8:43 PM
@Adám 1D arrays are fine
I like 1 D array manipulation too
 
@Mr.Xcoder Which is the smallest positive integer which cannot be obtained in your language in 10 bytes?
 
@Adám In Pyth... Hmmmm
 
@Mr.Xcoder How about 1D arrays where every element is a 1D array?
 
@Adám That's a 2D... array... ಠ_ಠ
 
@Mr.Xcoder Not in APL, it isn't.
 
8:45 PM
C'mon, you can leave the 2D space (or the nested 1D) for a second, can't you
@Adám Curiosity: What does ω do in APL?
 
CMC: Assuming there is a solution, and given a string (no duplicate chars) rearrange the letters so no letter is next to its neighbors in the original string.
@Mr.Xcoder Represents the right argument in dfns (lambdas). Omega, as in the rightmost letter of the Greek alphabet.
 
woah, i outgolfed all python/js/etc practical lang answers with C
 
@betseg challenge?
 
@Adám Working on it, though it will only work for small strings
 
11
Q: Is it a Sphenic Number?

GryphonA Sphenic Number is a number that is the product of exactly three distinct primes. The first few Sphenic numbers are 30, 42, 66, 70, 78, 102, 105, 110, 114. This is sequence A007304 in the OEIS. Your Task: Write a program or function to determine whether an inputted integer is a Sphenic numbe...

 
8:49 PM
E.g. ABCDEACEBD
 
@Adám My parents told me to go to bed, unfortunately (23:50 here).... Sorry, will ping you if I solve it tomorrow
 
codegolf.stackexchange.com/a/135218/56721 <-- perl isnt practical, its esoteric :P
 
Bye!
 
@betseg J?
 
@Adám by "practical" i meant languages that have more verbose and strict grammars, not langs like J that have single character "functions"
 
8:52 PM
@betseg By practical, I mean what's on the practical list of TIO.
@betseg C has single character functions.
@Uriel Will you do the APL Sphenic or shall I?
 
@Adám I'll take the honor
 
@Uriel Go ahead. I'll give golfing tips if needed.
 
has anyone here heard of the 'Operator Mono' font?
 
ooh monospace font with ligatures
many of those recently
 
9:09 PM
@Downgoat Italic looks messy imho.
 
wow italic looks bad
 
9:24 PM
@ConorO'Brien is this your blog?
> CONOR0B
wonder who this could be :P
 
@ConorO'Brien ???
Aug 15 '16 at 20:27, by Conor O'Brien
@Downgoat I am using comic fury, you should use that. (I do not use wordpress.)
Oct 18 '15 at 2:17, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
I loathe wordpress.
 
9
Q: Chopsticks mutated with points KoTH

ChristopherBasic rules (different from mine) Story It is the year 4579, humans now have 2 hands with 1001 fingers each. Chopsticks has become based off of points. And @Dennis has more rep the @Martin... Hand drawn red circles are now downvoted... Jon Skeet has hit 2 trillion rep on every SE site... Yeah s...

Guys answer that?
I put 100 rep on my KoTH and got no more answers
 
@Christopher Your explanation just looks so difficult to understand
I bet that's why
 
@StepHen It is simple
It is literally a summery in code terms
 
9:33 PM
@Christopher Doesn't matter, if I see two paragraphs of unformatted text I'm not taking the time to read it
 
I think everyone here should understand code terms
 
ugh
 
especially if I have to read it 3 times to understand it
 
it's not a matter of "code terms", @Christopher
it's a matter of what the average person wants to read :P
they see a wall of text and they go "urgh"
 
yup
 
9:34 PM
trust me, that's the standard on any of the SE sites.
 
@BlackCap emojicode, right?
 
I think everyone here is not an average person
 
@Christopher Trust me, it's hard to read. Painfully.
 
@betseg yes
 
@Christopher well, then you missed the point of how to post things. Because it really is hard to read. Less hard to understand but very hard to read.
 
9:35 PM
@Christopher I will answer :)
just give me answer text and I will post :P
 
kek
 
cake
 
@Downgoat kmn
 
O_O WAIT WHAT SINCE WHEN DOES DENNIS HAVE MORE REP THAN MARTIN THIS IS HISTORIC MOMENT
 
@Downgoat Since a week or two ago
 
9:36 PM
longer than that
 
@Downgoat Dennis' rep curve is sharper I believe, he just started a couple months after Martin
 
@StepHen I gave up and how did you find that
 
@Downgoat I knew that goats were slow
That was a while ago
I added formatting to that 2 paragraph section
 
@Christopher why don't we see who can climb up a vertical cliff the fastest and then see who is fastest ಠ_ಠ
4
 
@ConorO'Brien I was trying to find other places where you linked your blog to show @Downgoat that you had linked your blog before, but apparently the search bar doesn't include text in links, that was all that showed up :P
 
9:37 PM
@Downgoat I took the stairs
 
@Christopher it wasn't on the starboard ¯\_(ツ)_/¯ so it never happened :P
 
I can never get great items into stardom
 
@Christopher opls there are no stairs
 
@Downgoat Yeah there are.
 
@Downgoat Are we in the US? Because if it's a newish public building in the US, it has an elevator
 
9:39 PM
I said import stairs and python found a way
 
@Christopher from __future__ import stairs
 
@StepHen preeetttyyy sure vertical cliffs are not buildings in an urban city
 
@StepHen why would you look for that if you didn't know I had
 
I must be missing out on a inside joke
4 days my KoTH is up and have 4 answers
And the ant koth has so much more
@trichoplax how do you do it?
 
9:42 PM
@Christopher ants are just kewl
 
@Downgoat look who is laughing now
 
@Christopher Just compare how easy it is to understand
 
@StepHen I think mine is easier. AND PYTHON
 
@Christopher not to understand your explanation, at least how it was
 
@StepHen *was
 
9:43 PM
and most of his answers are from when people worked on it was in Sandbox anyway
@Christopher that's what I said
 
@StepHen :O
Damn, sandbox KoTH still is more answered then my KoTH
 
@Christopher I like to think it's the GIF
 
@trichoplax WAIT so a GIF is better then my KoTH?
 
@trichoplax tbh the gif is really catchy....
 
Thanks :)
 
9:47 PM
@Christopher his koth has a gif of a queen disco ant thing, and your koth doens't.. simple as that :)
4
 
@StepHen TIL island in middle of uninhabited area is 'urban city'
 
@trichoplax Dis is war
 
1
A: Is it a Sphenic Number?

Miguel Isla05AB1E, 4 bytes First try in PCG fg3Q Try it online! Explanation: fg3Q f Push list of prime factors (no duplicates) g Push leng of list 3 Number 3 Q True if equal to 3

wow, first answer that outgolfed every other answer
 
@Christopher It's not too late to add a GIF... :P
 
I am actually doing that
@trichoplax answer my KoTH? :D
 
9:50 PM
@Christopher Are you proposing a swap?
 
@trichoplax Yours is substantially more difficult to write a competitive solution in :P
 
@Christopher I'll try and answer... but I can't answer @trichoplax cuz I don't know JavaScript :(
 
@SocraticPhoenix but... JS is so simple if you know any remotely similar language
at least the amount you need to answer
 
@trichoplax dude idk even what your koth is. Idk how to answer, but if you answer with a good bot I will do my best
Ok got message. no goat gif in TNB
@Downgoat (sorry :_( )
 
:(
 
9:54 PM
@SocraticPhoenix I added gif
@Downgoat So sad. No goat gif in here
 
@Christopher what will be the finger count if the hand is out? 0?
 
@SocraticPhoenix y
 
@Christopher nvm it'll be 1001 im overthinking this
just trying to figure out how to tell if a hand is out or not
 
@SocraticPhoenix y
 
0
A: Sandbox for Proposed Challenges

Conor O'BrienKotH: Atom Bomb Chess (Draft. I'll flesh it out some more later. It will probably be implemented in JavaScript or maybe C++.) king-of-the-hill chess Atom Bomb Chess is a variant of chess played much the same as regular chess. The only differences are: The game ends when one or both players h...

 
10:02 PM
@Christopher bcuz I'm trying to make an answer
 
@SocraticPhoenix y= yes
 
@Christopher umm... I knew that!
;)
 
@SocraticPhoenix y
I feel like my last 4 messages were way too simple
 
10:30 PM
0
A: Sandbox for Proposed Challenges

musicman523What letters are those? (Part 1) code-golf Recently I ran a command on my laptop that returned a bunch of characters - some printable, some non-printable. I'm having trouble figuring out what those characters are, so I could use some help. Unfortunately, I'm running low on disk space, so you'll ...

 
10:47 PM
Hey! For those of you that know Python, is there any way to shorten the below, without changing functionality?
builtins = {
    "\\0": lambda inter, node: builtin_helper.get_line(inter, node, lines, 0),
    "\\1": lambda inter, node: builtin_helper.get_line(inter, node, lines, 1),
    "\\2": lambda inter, node: builtin_helper.get_line(inter, node, lines, 2),
    "\\3": lambda inter, node: builtin_helper.get_line(inter, node, lines, 3),
    "\\4": lambda inter, node: builtin_helper.get_line(inter, node, lines, 4),
    "\\5": lambda inter, node: builtin_helper.get_line(inter, node, lines, 5),
    "\\6": lambda inter, node: builtin_helper.get_line(inter, node, lines, 6),
 
A for loop, probably.
 
@ATaco I'm an idiot 0.o
@ATaco Forgot I could update the dict and not just build it all at once
Anyway thanks :)
 
Taco saves the day again!
🎉
 
You up for more? Because the next question is, how do I crowdsource the writing of a lot of OEIS sequences in my language
 
Somehow parse mathematica, then scrape the solutions off the OEIS pages.
 
11:00 PM
233
Q: Python Dictionary Comprehension

Rushy PanchalIs it possible to create a dictionary comprehension in Python (for the keys)? Without list comprehensions, you can use something like this: l = [] for n in range(1, 11): l.append(n) We can shorten this to a list comprehension: l = [n for n in range(1, 11)]. However, say I want to set a d...

@ATaco brb making charcoal parse mathematica
@StepHen builtins = {"\\" + str(n): lambda inter, node: builtin_helper.get_line(inter, node, lines, n) for n in range(10)}
 
@ASCII-only Thanks :) that's basically what I just wrote, good to know I understood it
 
You
Wait a second, I just noticed something:

I don't know what a koth is.
 
@You King of the Hill - basically a bunch of bots are run via a controller, the bot that scores highest/lowest depending on criterion wins
 
You
Oh.
I don't understand the relationship between this and queen disco ants.
 
@ASCII-only I have basically the same thing and it's passing 9 as line_number for each of them
builtins.update({EXTRA_BUILTINS_START + str(line_number): lambda inter, node: builtin_helper.get_line(inter, node, lines, line_number) for line_number in range(10)})
@You KotH means a bunch of bots that fight and one wins
 
You
11:11 PM
@StepHen But how do queen disco ant gifs impact a bot's possibility to win?
It seems so random.
 
I think the disco part is so you keep reading, there's no disco in the actual challenge
 
Is this that ants Koth?
 
@StepHen oh yeah scoping issues sorry builtins.update({EXTRA_BUILTINS_START + str(line_number): lambda inter, node, line_number=line_number: builtin_helper.get_line(inter, node, lines, line_number) for line_number in range(10)})
 
You
@ATaco I guess?
 
11:15 PM
@ASCII-only Perfect, thanks :) I shouldn't have chosen to wrote an interpreter as my first Python program
 
anyone know how to fix eduroam authentication problems?
@StepHen well my first serious python program was an interpreter too
Just my command dictionaries are all manually generated :P
 
@ASCII-only :P well I really didn't like the dupes... it just grates on me
 
@StepHen yeah i'd do that too i'm just saying i didn't have dupes so no problems for me :P
 
@ASCII-only ah gotcha
@ASCII-only Mine are otherwise it's just that those 10 will do the same thing, I decided not the line number as a parameter
 
Plus I would have made `\` a function taking an integer
Maybe your language doesn't have integer literals though, idk
 
11:19 PM
@ASCII-only No, it's that \0 to \9 are for that but \<rest of ASCII> is something else, and my parser is not equipped to read \ separately from \<char>
And \f1, is a lot longer than \1
 
@StepHen Oh
 
My functions are wierd
 
You
@StepHen Is that not the bane of everyone's programming? :P
 
@You well, my functions are really wierd
1+\11
what do you think that does?
 
is there a way to make a scrolling window in Stack Exchange markdown?
@ASCII-only make sure you're using @your_university_domain_here.edu, use PEAP, MSCHAPv2, leave anonymous identity blank
 
11:29 PM
@musicman523 Australia, my uni tells me to leave Phase-2 as None, I guess I'll try later (connected to the uni network rn)
 
Gotcha. My US university says to use MSCHAPv2 for Phase 2. do make sure you're using PEAP though
TIL eduroam exists in other countries
 
@musicman523 Yeah did that didn't work :(
 
And boom, it's pouring and storming, I love weather
 
looks outside Sunny as always, I love the weather ehre :P
 
I have an interpreter class called "HelperInterpreter", and it does the interpreting for everything except the main program
 
11:37 PM
@StepHen ok what
 
You
@StepHen I think you have created a new bane of programming...
 
@ASCII-only Here's its code:
class HelperInterpreter(Interpreter):
    pass
(it just returns the values instead of printing them with an ininstance in Interpreter)
I dunno I think I need to get my code on CodeReview at some point
 
11:57 PM
15 messages moved to Trash
 

« first day (2367 days earlier)      last day (2466 days later) »