« first day (2440 days earlier)      last day (2406 days later) » 

12:00 AM
@DJMcMayhem 24 in Perl s/^( *)/'.'x length$1/e
Too bad $# doesn't work
 
@DJMcMayhem v^r. is behaving differently in V and in vim, why?
 
you're trying to use Desmos for the challenge :c
 
the behaviour in vim is what I want
 
What challenge
My challenge answer -_-
 
like the self touching path
I'm using Jelly :P
 
12:00 AM
I swear to the code-golf gods if you steal my idea because my internet is slow I will find you and kill you downvote you
No offence
 
@HyperNeutrino Desmos is a great language :P
 
:P
@Christopher2EZ4RTZ nah I'm good :P
 
Oh forgot it needs -p
 
@Christopher2EZ4RTZ *proceeds to attempt using desmos*
 
@icrieverytim Again see above
I literally have been trying to load a google search for 3 min now -_-
 
12:02 AM
... That's nasty
 
@LeakyNun o_O what's different? There shouldn't be any difference
 
@DJMcMayhem this is so close to out-golfing you lol
 
@DJMcMayhem Python, no regex: lambda x:"\n".join(map(lambda z:(lambda y:"."*(len(z)-len(y))+y)(z.lstrip()),x.split("\n")))
actually, that takes out tabs too
 
While my google search was loading I loaded Dota 2 reddit checked the latest posts, laughed at a few jokes and it is still loading
 
> split
 
12:04 AM
lambda x:"\n".join(map(lambda z:(lambda y:"."*(len(z)-len(y))+y)(z.lstrip(" ")),x.split("\n")))
brb o/
 
@DJMcMayhem try input 4 blanks and {
" {"
without the quotation marks
 
Random question. Can someone google for me and link the desmos programming docs?
 
@LeakyNun Still not seeing the issue
 
@DJMcMayhem Outgolfed :D Î^hv0r. for 7 bytes
 
My internet is so bad that i actually need someone else to google it :P
 
12:07 AM
@DJMcMayhem vim gives "....{" and V gives " ."
 
@Christopher2EZ4RTZ pls google yourself... if your internet is that bad you wouldn't be able to access TNB
or Desmos for that matter
 
@LeakyNun Duh. Nicely done! :)
 
@Christopher2EZ4RTZ as in desmos syntax?
 
@DJMcMayhem it's coincidentally similar to your 8-byter
 
@ASCII-only For the programming
 
Yes google is not working but Reddit and TNB is working
 
@LeakyNun Ah, I figured it out. Would you happen to be starting your vim solution in column 0?
 
@DJMcMayhem sure
 
@ASCII-only see
 
@Christopher2EZ4RTZ for what programming...
 
12:10 AM
@LeakyNun You're testing it wrong. Both vim and V start on the first non-whitespace character on the first line
(when you open a new buffer at least)
 
@ASCII-only Nvm i am going crazy
 
@DJMcMayhem then why doesn't my earlier solution work?
 
ah that is it
thanks
 
Reading Worldbuilding.SE When
> Disposing of your females is not a good way to maintain your line. Guys have a hard time making babies with each other, even if they try very hard.
 
12:11 AM
Send link of answer. Must upvote
 
@LeakyNun Well.... :%norm (e.g. Î) starts on the first column, so technically Îv^hr. should work. No idea why it doesn't
 
5
A: How long could a race, making recourse of eugenics, survive while trying to keep "pure"

WillDisposing of your females is not a good way to maintain your line. Guys have a hard time making babies with each other, even if they try very hard. This aspect of their eugenics scheme betrays a stupidness which bodes poorly for this group. For animals, clearly selective breeding can and doe...

 
@DJMcMayhem oooh i borked V
 
I guess so haha
 
12:23 AM
What's a good spiral pun for a challenge title?
 
You thought this sentence was not circular check again
@HelkaHomba was my sentence not good enough? (Not even a pun :P)
 
@quartata I still haven't understood why > 0 is better than the correct test of == -1
 
@HelkaHomba This challenge is spiraling out of control
Or Spyro out of control
 
...i could totally use some bull mathematica built-in for the challenge but i can't find one ><
 
@DJMcMayhem Retina, 10 bytes
 
12:34 AM
@Christopher2EZ4RTZ did not end up using
 
@DJMcMayhem Retina, 10 bytes: mT` `.`^ +
(different solution)
@quartata Use $&, then you can drop the ()s.
 
Ooh yes thanks
 
trying to fix charcoal but i have no idea what's going on >_>
 
try asking the author... wait
 
CMBet: Guess minute when NMP will post new challenges. I say 46 after the hour
 
12:43 AM
@Neil good idea looks for rubber duck
 
@HelkaHomba rip
 
(imho it was fine up until that last commit a couple of weeks ago)
 
@HelkaHomba 47 after
 
@ASCII-only oh is it InputNumber()?
 
@Neil did everything break
oh wait that's still broken? crap
broken testcase pls
 
12:45 AM
'cause i knew that worked a while ago, but i was trying recently and i gave up and used Cast(q) instead
 
:|||||||||||||| oops
 
0
Q: A Slashy Dashy Spiral

Helka HombaGiven a positive integer N, output the innermost N×N square of an ASCII art spiral made of -|/\ that spirals clockwise inward. The - is used for horizontal portions, | for vertical portions, and / and \ for corners. The first character is - and the spiral proceeds left and down. Specifically, w...

 
ok good that's fixed
also what .-. i wonder why it's translated to nothing on TIO
 
@HelkaHomba super off :P
 
@HelkaHomba close :P
 
Yeah 46 and 46 are close
so I think I really messed up my cursor positioning, it either messes up one thing or the other
 
@ASCII-only 46=46... close!= equal
 
Fixed this
 
@ASCII-only :| i thought that was a subtle way of saying your code is screwed up
 
12:50 AM
The problem was I'm an idiot basically :P
 
didn't know that was a bug in charcoal :|
 
@icrieverytim normally, but that's perfectly valid
 
@ASCII-only Print([InputNumber(), InputNumber()]);
 
:| wish esolangs had better errors
they're usually the ones that require errors the most
 
Esolangs don't have good errors because they are esolangs
 
12:52 AM
eh fair enough
but golflangs, there's no excuse :P
 
hmm
if you have suggestions on what errors should be like for Charcoal pls feel free
 
@ASCII-only isn't it usually
 
Yeah
 
there was one I don't remember which translated into ï¼³ for some reason
 
Yes >_> I think that was most of the problem
 
12:54 AM
@Neil Print(InputNumber())
 
Or the entire problem
@icrieverytim inputnumber
 
oh of course I should have realised when it printed 1
 
ok brb attempting slashy dashy spiral in charcoal
might be tricky... hmm
 
pls go to charcoal room if possible ty

 Charcoal

Discussion and design of Charcoal, a golfing language optimize...
 
@ASCII-only You are the entire problem sometimes -_-
That sounded mean, I meant it as a joke
 
12:56 AM
@Christopher2EZ4RTZ *all of the time
I wrote basically all of Charcoal lol how would I not be the problem
 
@Christopher2EZ4RTZ they took it as more of a joke than you did :P
 
@icrieverytim I mean my life is a joke
 
@Neil @icrieverytim should be fixed, pls test
 
i don't have it locally installed
 
12:58 AM
fixed on TIO I mean :P
 
oh wow that was fast
 
@Neil @icrieverytim Oh also should Charcoal have implicit input? e.g. would the program × take two inputs
 
$\frac{\left(me1-me2\right)}{Age1-Age2}=joke$
Derivative of my life is a joke
 
@Christopher2EZ4RTZ is that the gradient of your life isn't that $\frac{d}{dt}\textrm{life}$
 
1:00 AM
Yes but they are the same thing
 
what type would the inputs be? seems tricky
 
hmm
charcoal ins't stack-based so might be a little weird
 
That moment when you have a great joke but don't remember the definition of derivative -_-
Brb getting calc textbook
 
@Neil I'd just say try parsing as integer first but yeah that's a problem
@icrieverytim it would basically parse as times input() input(), like how ending angle brackets/brackets/braces are autocompleted rn
 
@Christopher2EZ4RTZ all calculus jokes are derivative
 
1:07 AM
$\lim_{h->0}\left(\frac{\left(f\left(me+h\right)-f\left(me\right)\right)}{h}\rig‌​ht)$
What
 
you messed up
 
No
@ATaco uhh userscript bork up
wth
omg
 
@Christopher2EZ4RTZ why the trailing backslash
 
Replace it with an image :P
 
1:08 AM
@Christopher2EZ4RTZ a-ta.co/generator
 
My calc jokes are being ruined by faulty programming
 
or /$$ IIRC?
 
Can't edit now
 
@Christopher2EZ4RTZ there are two unprintables...
@Christopher2EZ4RTZ \to not ->
 
Hang on
$\lim_{h\ \to0}\left(\frac{\left(f\left(me+h\right)-f\left(me\right)\right)}{h}\right)=jok‌​e$
@ASCII-only got my joke working
I just realized i just spent thirteen minutes debugging a joke. What am I doing with my life?
 
1:13 AM
@Christopher2EZ4RTZ the 0 is missing
 
Look how I messed with starboard
 
@Christopher2EZ4RTZ huh?
 
@ASCII-only I made it look like I had 32 stars
I fixed it because after 1 star it looks odd
 
CMC: Prove that a perfect power of a prime cannot be a perfect power of any other prime.
 
@ATaco perfect power?
 
1:17 AM
Where log(a,b) is a whole number.
 
@ATaco if it's a perfect power then the prime is the only prime factor QED
 
That's not a very complete proof, but I'm not a mathematician.
 
this is not a do your homework site
 
I'd be impressed if this was my homework.
 
@Neil you should be able to do a verbose version of this now
 
1:19 AM
Seeming as I'm working full time and have been out of school for years.
 
@Neil also last commit was like a month ago so this should be valid
@ATaco I'm well aware >_> just not everyone wants to spend time on a proof you're probably not even going to look at
 
:\ That's fair, although it's harsh to assume I wouldn't look at it, I was very much so curious as to how a proof for it would look.
 
@Neil I actually just assembled the two and they're pretty much the same so I'm not sure anymore either
 
actually hmm @Neil should I change AssignAtIndex to be §ï¼¡ instead to remove the ambiguity
 
Argh, my mouse sensitivity keeps increasing despite me keeping it at the lowest setting
~1000 ppi rn
 
1:34 AM
Is there any nice way to include math equations in my post?
Of course, I can't put TeX code
 
@JungHwanMin Yes, use a TeX-to-image converter and inline the image
 
Wouldn't the image expire after a period of time?
 
Nope
 
Oh, that's nice
 
1:39 AM
The URL just encodes the TeX code, so it can regenerate it as many times as it needs.
 
@ATaco btw can u add support for changing extension to .png which returns PNG so I can use on slack
 
You can.
(Unless i broke it)
 
this[atob(`bG${0b1001}jYXRpb${0b11000}`)]=[[..."8eed21139e0af15674cb"].map(e=>"./:bcdefhilnopty"[parseInt(e,36)])+[]][+[]].replace(/,/g,[])
 
Oh hey, I broke it.
 
@ConorO'Brien pong in game of life spoiler????
 
1:47 AM
CMC: output a string of length 10 (default output and output to STDERR don't count)
 
@ATaco Doesn't seem to be working
Is it a bad idea to store list of people in email list in database
 
@ConorO'Brien this actually works surprisingly well
 
like idk where else to store
 
I already said it's broken :\
 
@Adám Why do these two need to be mutually exclusive
 
1:50 AM
@Downgoat where else would you store >_>
 
@quartata yeah I was surprised too, it's pretty short for what the output is
 
Guess the language!
 
@ASCII-only in CSV
 
def factorial(0) = 1

@addpattern(factorial)
def factorial(n is int if n > 0) =
  n * factorial(n - 1)

temp = range(10) |> map$(factorial)
for a in temp: print(a)
 
most email program take CSV
 
1:51 AM
@Qwerp-Derp F#
 
@ConorO'Brien Wrong answer
 
@Qwerp-Derp terrible python derivative
 
IMO F# seems like just raw syntactic sugar over C# sometimes instead of being its own separate language
@ASCII-only Well you're not wrong
 
@Qwerp-Derp ??
 
Proton?
@Qwerp-Derp ... it's completely different unless you're using it wrong... it even has its own stdlib
 
1:52 AM
@ASCII-only Nope
 
If you said OCaml instead of C# you'd be right
 
Shit forgot a "sometimes"
 
although tbf all the .NET interface stuff sucks and is just like C#
 
@Qwerp-Derp Probably not Positron either
 
@ASCII-only Nup
@ASCII-only But sometimes the C# interface pulls me out of the magical world that is F# syntax and back in to C# (not that that's necessarily a bad thing)
 
1:55 AM
@Qwerp-Derp then try to avoid it at all costs :P
 
@ASCII-only Yeah good point :P
Functional languages are pretty cool :D but I've yet to find one that I really like...
 
whoa, thanks @MDXF @ATaco
Works nicely
 
Question: how much homework do you get on average from a CS course @ a community college
 
from my experience, not much
I had to spend only about 2-3 hrs a week
 
@Downgoat I'm taking an APCS class rn, it's at a max 2 hours, but usually 10 minutes
 
1:58 AM
Took CS courses at a local community college because my high school did not offer APCS.
 
@quartata do you know if it works on chrome ? I've only tested it on firefox and refuse to touch chrome
 
@Downgoat depends on the community college I guess
@ConorO'Brien hmmm I have Vivaldi but not Chrome on here actually
anyone with Chrome?
 
oh also @Neil what is the 25 byte thing here supposed to do
 
probably should work
 
@quartata yay Vivaldi
@quartata It's basically latest Chromium so yes it will work on Chrome
 
2:00 AM
Fixed the .png mode
 
@ASCII-only sometimes I've gotten weird differences and this appears to be UB anyways
 
Turns out I still had the windows version of the svg converter installed.
 
14 mins ago, by Conor O'Brien
this[atob(`bG${0b1001}jYXRpb${0b11000}`)]=[[..."8eed21139e0af15674cb"].map(e=>"./:bcdefhilnopty"[parseInt(e,36)])+[]][+[]].replace(/,/g,[])
I don't really get it
 
@Qwerp-Derp what is the answer o0
 
That's a really round about rickroll.
 
2:01 AM
ok we've been trying to set this up for like 15 minutes so thanks
 
...XD
 
2:21 AM
According to Google Trends, coders just stop caring about Text Editors on Christmas.
 
@icrieverytim Who are you? I don't know you sorry, do you have any previous usernames?
 
@Qwerp-Derp totallyhuman
 
@MDXF Ah
Cool beans
 
I generally disagree with username changing because of this exact problem
 
it'd be better if SE had aliases like steam
 
2:24 AM
Hmmmm...
No no, I definitely don't have enough bandwidth to do something like that...
 
My personal preference is using real names on semi-formal or formal fora.
That way you wouldn't change your alias unless you get your name changed.
 
My personal preference is complete anonymity on SE
 
I feel a username is an identity in of itself, and if someone wants to subvert that identity, it's their choice.
 
9 hours ago, by i cri everytim
@cairdcoinheringaahing why? anyways, i do intend to (after 9 friggin days) but the name was mostly to keep track of pings during my suspension and a little bit of rebellion against the suspension :P
I've no intention to keep this name
 
Why is waiting a period of time between changing names necessary for some users but not others?
 
2:33 AM
There's tricks with changing your parent profile
 
@MDXF Hence why many of us know your first, middle (one of them), and last name
:P
(also I abandoned Proton yet I just did a thing to it again today lol)
 
True :P yet that was by my choice, as opposed to publicly displaying it
 
@ATaco I wonder if anyone has tried to give a Visual Studio Pro license as a christmas gift, and if it ended well for them.
 
@HyperNeutrino Why on earth did you abandon it? It was a great language
 
^
Proton is awesome
 
2:41 AM
You should stop abandoning your langs :P
 
10/10 lang would rather use than Python
 
I'll stick with VSCode
 
Not really... I mostly abandoned it to remake it with a better parser and object representation (so I wouldn't really change the specs) but never got around because school
But I had a bug with division where dividing a bracketed expression by something twice would cause the content between the slashes to become a regular expression
 
Wasn't that already the point of Proton? To be a more well-writen Positron?
 
Right, and Neutron will be a more well written Proton
 
2:43 AM
So many languages....
Ok I've made more and they're even more pointless
 
RProgN! Yay!
 
SimpleStack was a great waste of 10 hours
 
@HyperNeutrino If it's going to have the same spec can't you just call it a refactor of the Proton code base instead of arbitrarily increasing the TIO lang count?
 
you should write it in C or C++ because optimizing a JS or python interpreter only yields sadness
(or a similar fast language)
 
I agree with ^^^
 
2:51 AM
@ConorO'Brien Call it CProton. Eventually, someone will write a compiler for it, and call it Croton, which would sound funny.
 
Or just .... release a new version of the language
I thought about making Cubically v2 a separate language, but I didn't. Cubically v1 is vastly different from Cubically v2, but I didn't want to waste time and energy making a new "language"
Just use GitHub's tag/release system and mark answers as "Proton 2"
Or, if you're only going to be adding to the language, just add to the language :P if you're not modifying existing functionality but only adding new functionality, no need for another language/version...
 
3:12 AM
The "add a language to a polyglot" challenge is an echo chamber at this point...
 
@Qwerp-Derp How so?
 
Well only two users are currently participating in the challenge - there aren't any answers created by users other than those two for quite a while, and there aren't any comments underneath the answers
 
0
A: Sandbox for Proposed Challenges

ETHproductionsDomino somethingorother code-golf ascii-art Given a single digit 1-9 as input, output the domino face with that many dots (sometimes called pips). The nine possible outputs look like this (separated by pipes): | o| o|o o|o o|o o o|o o o|o o o|o o o o | | o | | o ...

 
Ah that's true
 
3:36 AM
@Pavel I've wrapped equa.lua and a few other things into a standalone language named ARBLE
 
Golfing in Lua? Interesting
How does it compare to shortC which is (if you couldn't tell) for golfing in C?
 
I've not gotten much use out of it, but it very much so depends on what you do with it.
 
Hmm, seems like the case with most esoteric languages
 
At the very least, it is just a wrapper for lua, so you can do all your lua stuff.
 
Also look at all the things that are possible with only bitwise operators
 
But at the same time, function hyp(a,b)return math.sqrt(a^2+b^2)end can become hyp=sqrt(a^2+b^2)
 
Wow that's nice, also reminds me to add mathematical functions to shortC
4
A: Write a brain-flak classic interpreter!

NitrodonBrain-Flak Classic, 1271 bytes <>(()){<>((([][][][][])<(((({}){})(({})({}))[])({}(({})({}({})({}{}(<>)))))[])>{()<{}>}{})<{{}}{}>())}{}<>(<(({()(((<>))<>)}{}{<({}(([][][])((({})({}))[]{})){})>((){[]<({}{})((){[]<({}{}<>((({})({})){}{}){})(<>)>}{}){{}{}<>(<({}{}())>)(<>)}>}{}){(<{}{}{}((<>))<>>)}{}}

Oneboxing so it gets more attention
 
Also, because it's wrapper and not a precompiler it does SomeShenanigansâ„¢ to allow things like "Hello, World!" to be a full program.
 
s/gain/gan
 
@ATaco Cool, but how do you run it? None of the provided files have a #!
 
3:54 AM
13
Q: Write a brain-flak classic interpreter!

DJMcMayhemBrain-Flak (a cross between Brainf**k and Flack-Overstow) is a stack-based esoteric language. Since this challenge was posted, the language has evolved and updated, but this first revision of the language is known as "brain-flak classic". You must write a program or function that takes a string ...

 
I'm currently working on the README.md, but lua short.lua <filename> [arguments, ...]
 
@ATaco You should prepend #!/usr/bin/env lua to that file so it can be called with /path/to/short.lua <filename>
 
Lua doesn't allow for Shebangs.
 
What do you mean? Totally does
It just has to be on the first line
 
I don't know why lua is allowing for shebangs.
 
3:56 AM
(I knew Common Lisp has simmilar behaviour so I tried it and it worked)
@ATaco Obviously so you can call Lua scripts more conveniently on unix
 
Oh jesus, Lua allows for Shebangs.
I'm, kind of impressed?
The language is old.
 
@ATaco It was created in 1993
That's not old, relatively speaking.
Unix came from the 60s
 
I've added it to short.lua because it's not hurting anyone.
 
In fact, not many popular languages were written after Lua. Ruby, C#, what else?
 
Java, apparently.
 
4:00 AM
Does anyone think this is objective enough that it would not get closed? (I don't want to put it in the sandbox yet due to the inevitable downvotes once people see it's a pop-con... but you can't downvote a Gist :P)
 
Not sure, but it might be closed for too broad.
 
Huh
@ATaco I think you forgot to push that commit
 
@ATaco How come?
 
@Pavel Just because it's local doesn't mean it's public yet :P
@MDXF You didn't specify an exact spec, and people are trigger happy.
(Boop) Update pushed and published.
 
@ATaco The three level-3-headers are the spec
 
4:05 AM
Eh, It'll probably be good enough, what do I know, I'm a taco.
 
<-- just realized I need to download Lua to check out ARBLE
 
Fedora comes with lua tho.
 
Well right now I only have access to my work laptop, which runs Windows.
 
Oh, then you'll need to download a binary.
 
Which I'm trying to do but the Lua people insist that I'd be better off building from source
Wait, this is why we have Chocolatey
 
4:08 AM
I'd link you but finding lua binaries is impossible.
 
0
A: Sandbox for Proposed Challenges

FryAmTheEggmanA Conc-urn-ing Problem You have a mysterious urn, which contains 0 <= n <= 10 sets of k balls. Each set of balls shares a numeric label, from zero to n-1. You perform a repeated experiment, wherein you remove a ball from the urn, and note its number. If the number of balls in the urn with the sa...

 
@ATaco My point exactly. Fortunatly someone made a package.
 
Make sure you get Lua 5.3 :P
 
Downloading lua
  from 'https://github.com/rjpcomputing/luaforwindows/releases/download/v5.1.4-50/LuaForWindows_v5.1.4-50.exe'
> LuaForWindows_v5.1.4-50.exe
Dammit
 
@Pavel That would indeed be a better idea; once I've decided whether or not I'm going to continue with the idea of making a language all over again and whether or not I'm going to keep the specs from proton. If I decide to use the same specs then I'll probably just replace parts of the original code so I can keep it functional as I improve it, but if not, then I'd have to remake the whole thing and name it something different.
 
4:10 AM
@Pavel Lonk
 
Will 5.1 not work? I don't want to have 2 luas now
 
5.1 doesn't have bitwise functions, which will make equa.lua break.
 
Ah
TY for link, I guess
@ATaco what's the difference between lua53.exe, luac53.exe, and wlua53.exe?
 
No idea, I recommend running lua53.exe though.
 
Seems good
(kinda wish there was an installer to add it to PATH but oh well guess I have to do that myself)
(And also symlink lua.exe to lua53.exe)
 
4:21 AM
Welp posted the popcon in the sandbox, here goes
 
0
A: Sandbox for Proposed Challenges

MD XFDesign a One Instruction Set Computer language-design popularity-contest Yes, it's a popularity-contest. Please read the entire question before downvoting or close-voting. The three headers make up the spec, and the bullet points below them make up the rules. Your challenge is to design a o...

 
is a synonym already?
 

« first day (2440 days earlier)      last day (2406 days later) »