« first day (2281 days earlier)      last day (2858 days later) » 
00:00 - 15:0015:00 - 00:00

00:16
Can someone explain what this "team spirit" stuff is about?
@PhiNotPi One of the userscripts @ATaco wrote
I plan to do a writeup about it.
00:30
4
Q: Number triangle flip

xnorSay you list the positive integers in a triangle, then flip it left-to-right. Given a number, output the number it's sent to. This is a self-inverse mapping. 1 1 2 3 3 2 4 5 6 <---> 6 5 4 7 8 ...

talk.tryitonline.net has an intresting score distribution.
Almost everything starred is by Dennis, who's on the red team, but primo has 37 stars on a message and balances the score singlehandedly.
@ATaco : Don't count pins when calculating score.
00:53
I don't particularly feel like restricting pins, even though it's giving Blues a free 17 points.
I'm sure Mego's better than to cheat and give his team points.
@NewMainPosts @xnor Awesome challenge! I like the idea for it a lot! :)
@ATaco I'm sure it's not intentional, but I'm confident that message would have less stars if it wasn't pinned.
01:28
@ATaco what does bar below chat message box mean?
Points either team has, which is counted by stars in the star box.
Is the script fixed yet, BTW?
Regarding usenames?
Regarding stars not showing
That was fixed, if you install the update from the github
01:35
Thanks
As Meta bot will soon inform us, I created A writeup for TeamSpirit.
01:56
@ATaco is there a link to github anywhere in that post?
There is now.
I just got downvoted for having an answer that isn't according to the C spec smh
@ConorO'Brien 10/10 would violate C spec again?
@LeakyNun welcome back to ppcg!
02:11
-2
Q: Just what is "Team Spirit" anyway?

ATacoThose of you browsing The Nineteenth Byte have probably seen or heard about "Team Spirit" (Sometimes called "Team Wars"). It's become a bit inescapable, so this post will act as an explanation of what it is. This is not an official event. This is not managed by the Room Owners directly. This is ...

why am I in that picture
user165474
I'm Blue team?
user165474
Nope.
@RohanJhunjhunwala I thought you would be gone forever
user165474
Oh wait it's by chatID not userID
02:19
I'm almost never in this room
user165474
@LeakyNun I got a solution for the square root reduction thing; I sent it on Jelly Hypertraining
user165474
It's pretty much the same as yours but with concat instead of pair so ; rather than ,
@HyperNeutrino I saw it
user165474
Alright.
@LeakyNun I just wanted to thank you once again, you're beautiful optimizations on SIL still are going strong, and I have been able to add a few features including an actual parser, now you can say x = (10*y)+5^2
@LeakyNun there's also a standard library featuring trig functions and the such
02:22
0
Q: Sp|Lit wo(r)dS, S(P)lit wO|rds

Stephen SMy brain is weird. For the last five years or so, I have cut words in half when I see them. When I started doing it, it took a mental effort - but I almost couldn't not do it. Now, I do it in the back of my head, and hardly even notice it. However, I thought this would make a great challenge. De...

@RohanJhunjhunwala wow, that's a huge improvement
@LeakyNun thanks!
@LeakyNun also, we created an esolang ide, its got support for a few different esolangs so far, and adding one is as simple as downloading the interpreter and typing a couple lines.
I see
Well, I think it would be good if you can answer some challenges in SILOS
02:32
Turns out .bash_profile is broken in Fedora25 ;-;
Works if you use .bashrc or .profile, however.
@LeakyNun I've used it to do a couple here and there, but I'm really hoping someone tries the 2048 clone in SILOS I've even put up a bounty without a deadline if you might be interested. 500 rep for a command line solution and 700 for a gui based solution.
Link?
0
A: List of bounties with no deadline

Rohan Jhunjhunwala500 rep for a SILOS submission of a 2048 clone. I'll even throw in a bonus 250 rep bounty (and of course give a week of bonus visibility). for one that has gui output (this is harder than it sounds). Feel free to use the developer tools, which integrate into this language nicely. 50 rep for ou...

@LeakyNun does this sound interesting, it might be a bit too time consuming?
I don't really know how to do it...
@LeakyNun there is a good it of documentation on the readme (github.com/rjhunjhunwala/S.I.L.O.S) essentially quite a few more commands have been added, while maintaining backwards compatability. There are queues and stacks, and if you are interested, the nibbles.txt example (snake clone I slapped together) might be a good source on how to emulate arrays with SILOS. essentially the heap is your friend
02:54
@isaacg should pyth.herokuapp.com have an anti-crashing mechanism?
@RohanJhunjhunwala you have taken AP CS A test right?
@Downgoat yes, you would get a 5 even if you wrote Jelly code on the exam
I wouldn't stress to much about the comp sci exams, stress about the other ones (looks at spanish book and cries)
Essentially the hardest parts are when they trie to catch you on so OOP technicalities within inheritance
@RohanJhunjhunwala what's the full mark?
@LeakyNun so It's fgraded from 1-5 and you need about a 75 to get a 5
I see
03:05
@RohanJhunjhunwala I once took a serious exam that said I could answer the question in any programming language
I thought that was a fairly unwise thing to write, as I already knew some fairly obscure languages (hadn't discovered esolangs yet, but I knew, e.g., a little-used asm variant)
in the end, though, I answered in pseudo-BASIC (which arguably isn't even a real language by PPCG's definition) on the basis that it would be easy to mark
@RohanJhunjhunwala How this the hand tracing though? Where they give you a random unlabeled loop and you have to solve something?
@ais523 unfortunately I was being somewhat sarcastic when I said you could get away with writing jelly on the exam. However, there is an AP CS Principles which can be taken in any language one sees fit (including brainfuck one would conclude). They do unfortunately explicitly require java :(
many fundamental CS concepts don't really exist in BF unless you embed an interpreter into it
that can handle them
@Downgoat not too bad, it generally does something standard like print a pyramid with increasing numbers. Just pretend to be a computer and run the code on the paper if you can't see an obvious pattern at first
@ais523 yeah, essentially you have to roll every data structure for yourself and standard efficiency metrics don't quite work (adding numbers is in linear time) etc... but unfortunately CS principles is more of a class on working as a developer than actually learning code (you can take it in scratch too)
Idea: C to BF compiler :D
(just syntax stuff)
03:11
@RohanJhunjhunwala BF can actually add numbers in O((log n)²) if you use an appropriate representaiton
that's still worse than most practical languages, though (which add in O(log n))
@Downgoat I spent quite some time working on one of those
@ais523 what sort of representation do you use? a bit table?
I eventually gave up when it came to represent multiplication
@RohanJhunjhunwala yes
store in binary on the tape, probably on alternate cells so that you can use the other alternate cells to record the length of the number
@Downgoat I do believe one does exist... esolangs.org/wiki/C2BF not sure how good it is.
I had played around with a compiler to compile some kind of low level assembly to bf, essentially all i managed to implement was a cat function and a function to print a given string n times...
Next Step: Create CPU taking BF as instruction
oh, I was writing a backend to gcc
@Downgoat those are fairly easy to write I think; not sure if anyone's actually done it on hardware but a simulation wouldn't take long to write in VHDL/Verilog
03:15
ah, I was thinking hardware
I'm curious about performance and how such could be optimized
well, VHDL and Verilog are what most people use to write hardware descriptions
:O I just found out Cee-Lo Green was on a band
you can literally just send them off to a semiconductor manufacturing company and have them built if you have a few million dollars to spare (which isn't much for large companies)
@Downgoat i think I saw one of them somewhere... robos.org/sections/electronics/bfcomp
you can also run them on simulators, which can be highly accurate to the real world if you want them to be
or you can run them on FPGAs, which are basically reconfigurable hardware
a decent FPGA costs a few hundred dollars, a cheap one is tens of dollars
and can turn into basically any piece of digital hardware you want that isn't too complex
such as, e.g., a BF-running CPU
(also they're reusable many times, so you can reconfigure them to something else when you're done)
FPGAs exist that are powerful enough to compete with modern CPUs (i.e. can mimic them, pretty much), although those are rare
03:22
huh, I thought FPGA are used for highly specialized tasks but I suppose it works for this :P
it's more that you can use them for anything, but if your task isn't highly specialised there are probably other options you can use instead, and those other options are probably cheaper
if it is highly specialised, then often you won't have any alternative
they're good for hobbyist stuff, though, along the same lines of reasoning (especially if you're just using a simulator, which is free and lets you see how your CPU design or whatever would work)
Any idea why 0202+"" in JS becomes 130?
user165474
Octal?
user165474
0202 -> 202 base 8 -> 2 * 64 + 2 -> 130
Yeah; jS defaults to Octal.
No idea why, but it's a thing it does.
03:33
to be precise, it's the leading 0 that triggers octal interpretation
that's a method of specifying octal in many languages
but it's confusing, so many more recent languages use some other syntax (e.g. 0o)
I'm not sure why you'd need the leading 0.
like, a leading 0 is just the syntax for a number being in octal
Hm, ok. Thanks guys.
just like 0x is used for hexadecimal
and the only reason it's confusing is that a leading 0 is meaningful in decimal too
(it's a common obfuscated code trick to stick a few octal constants in the middle of a mostly decimal array)
I can't think of a situation in which a leading 0 won't be clipped, unless it's 0.11...
03:34
That JS quirk is totally making it hard to golf my Japt answer :/ ethproductions.github.io/japt/…
if you've got it as a string, such as "0202", than Number("0202") works considerably better than "0202"+0
@obarakon AFAIK it was dropped in ES6?
browers likely support it because of backwards comptaibilty
However, I'm pretty sure the +0 trick only works in lua.
@ATaco you can delete a leading zero before a decimal point in most languages
Most, but not all.
03:37
@ATaco +0 would work in Perl too to numify something, there just isn't normally much point unless you care specifically about the string representation of the number that's represented by a string
Lua strings do some weird things, it's usually better to numberfy your numbers.
I actually like the way Perl does strings vs. integers
blue team 4 eva
user165474
Hello.
03:38
for i=1, "3" do end errors. But for i=1, math.sin("12312") do end is perfectly fine.
Thanks lua.
that's the sort of thing that would never happen in Perl
the vast majority of the language semantics are designed such that '3' and 3 are indistinguishable
(and internally, there are actually three relevant storage formats: string, integer, and "both string and integer"; this isn't counting things like floats)
An issue with Lua's string-number usage is that strings are ever-consuming.
a = 3
b = "2"
a = a + b
Would make a a string.
CMC: create a Perl value that is both a 3 and a "4"
I can do it in Lua..?
@JanDvorak wat
03:41
Kind of.
@JanDvorak off the top of my head, use Scalar::Util "dualvar"; $x = dualvar 3, 4
I might have the arguments to that backwards
this is also obviously golfable
In RProgN2, `4`3= makes 3 into the string "4".
I'm not aware of a way to create arbitrary combinations without reaching into the internals and tweaking them manually (which is what dualvar does)
user165474
So wait, then 3+3 after than would give "44"?
(The value of 3 is left the same, it's just the command 3)
03:43
@HyperNeutrino I would think it's 6, "44"
user165474
Oh, okay.
user165474
Thanks.
Perl has different operators for working on string values and on integer values
but I haven't touched Perl in ages
if you add with + you get 6, which stringifies to "6"
03:44
I'm not even confident to say I understand perl.
if you add with . (string concat), you get "44", which intifies to 44
few people understand Perl
If somebody says they understand Perl, don't listen to them.
I know Jelly better than I know Perl. And no-one knows Jelly.
I've gone several layers deep into the internals and have a fairly good idea of what I'm doing, but even then I still don't understand why many of the choices were made
my favourite identifier from the Perl internals (which is used in quite a few places) is SV_CHECK_THINKFIRST_COW_DROP
user165474
Um... WAT
03:48
@JanDvorak :(
it makes more sense in context
still better than T_PAAMAYIM_NEKUDOTAYIM
I could explain what it does but it's more fun to laugh at the absurdity of the name
(also this is never visible to user code unless you want to screw around in Perl's internals directly)
I'm curious what it's for
@JanDvorak the only thing wrong with that is that it's in a non-English language for no obvious reason
IIRC if you translate it into English it makes sense
03:50
perlguts is truly terrifying
@ais523 it's to pay respects to one of the devs.
@JanDvorak well, let's see: an SV is Perl's name for what I call a "scalar container" (which is less confusing than the official name of "scalar value")
it's something that can contain one scalar, such as a scalar variable or an array element
COW = copy on write?
yep, COW means copy on write
it's funnier if taken literally. Worms, anyone?
03:51
and "THINKFIRST" is basically a collective name for all the properties that stop you just outright changing a value directly in memory
O_O I peeked into perlguts and this is worse than the time I peeked into sheep pen
@ais523 <3
so this is saying, given a scalar container, see if there's some reason its contents can't be edited directly (e.g. because it's a copy-on-write value or because there's something else going on)
if that is the case, make a copy of it (i.e. drop the copy-on-write property) and use that instead
@Downgoat It works and it's very fast so we can't complain too much
03:53
I prefer Cheese to Cow Droppings TYVM :P
But embedding Perl is usually rather unfun
@quartata we can still complain about the memory usage though
I wrote a build system in Perl
That's true
and ended up needing to write my own profiler to work out why on earth it was using > 1GB of memory
(even so, it doesn't seem plausible to get it much below a few hundred megabytes, which is just ridiculous)
wait what how does perl do prime so fast what
03:59
Perl has a really good set of libraries, basically because it's been accumulating them for so long
actually omitting startup time it's about the same as cheddar
many of which are highly optimized, and which don't necessarily have to use Perl for their calculations
Perl has a commonly used FFI to C
and can also interface with basically anything, that's one of its biggest strengths
it's an excellent language for gluing unrelated systems together
Also, for building the Universe.
Source: xkcd.com/224
2
@MartinEnder how close are you to archeologist?
@ais523 lol, I remember when flawr was sad he got it
he was the highest rep user without any gold badge
 
2 hours later…
06:09
Why does libre office have an option in settings titled "Basic IDE Options"
Is Reddit down
06:29
@Riker not very close
Only 17/100
@MartinEnder do you think Retina would be good at this challenge?
Certainly doable, but probably not "good"
06:44
I think ^ applies to pretty much everything we do on this site, so go ahead and try.
06:56
@MartinEnder I can't get this to work
it should match triangle numbers
@LeakyNun I think you need a $ at the end
I want to match the triangular numbers inside
so 14 should give 4 matches (one for 1, one for 3, one for 6, and one for 10)
well you've anchored the match to the beginning of the string, so this can produce at most one match
but I used &
so? that just attempts a match from every starting position, but ^ can still only match the beginning of the string.
07:05
you're right, but I tried this as well, which should theoretically work.
no, because lookbehinds are matched from right to left
I have a write-up on this here: stackoverflow.com/q/36047988/1633117
this works, but I'm not sure whether it's the shortest: tio.run/nexus/retina#@68RY6hXE6enqa2nxaWibPj/vyEKAAA
here's a solution with & at the same byte count, but it gets a byte longer if your program has further stages: tio.run/nexus/retina#@6@WoKFhr2GoGWOoqaeprfL/vyEKAAA
07:21
Hello!
07:59
Good morning
08:51
I don't really like IntelliJ :(
^ me too
It takes too damn long to load, and it really eats up your battery
it takes over 5 minutes to start for me
@KritixiLithos You want to move the EssentialGUI project to a default thing?
what do you mean by a "default thing"?
08:52
Like a folder without the IntelliJ stuff
Just a normal package
okay, but I don't know how to run the project then
@Qwerp-Derp DO you know how to run the project from the command-line without IntelliJ?
0
A: Sandbox for Proposed Challenges

Sherlock9Draw a Simple Chaos Game code-golf fractal random Chaos games are a method of drawing fractals using an initial point and a fractal. At random, a vertex of the polygon is chosen and a new point is drawn a given fraction between the initial point and that vertex. Repeat the process for long enou...

CMC: given eg. "c", print:
c
cc
ccc
cccc
ccccc
->x{puts"*\n**\n***\n****\n*****".tr ?*,x}
Naive approach, Carrot, 19 bytes, replace all the cs with #s and you get the code
09:07
->x{5.times{|i|puts x*(i+1)}}
Anonymous
@LeakyNun Actually, 4 bytes: 5r*i
->x{1.upto(5){|i|puts x*i}}
Ruby, 27 bytes
Anonymous
Ack, should be 5R*i. I transcribed it incorrectly.
@LeakyNun Brachylog, 6 bytes: j₅a₀ẉ⊥
09:30
@Fatalize that was nice
CMC: do the above CMC in Pyth
Anonymous
09:53
@LeakyNun 6 bytes: V5*hNQ
You can omit the final Q
Anonymous
Huh, TIL
Anonymous
I'm still not very good with Pyth
Practice makes perfect
@LeakyNun Brainfuck, 39 bytes: ++++++++++>,.<.>..<.>...<.>....<.>.....
Anonymous
09:57
VS5*N also works for 5, and is arguably cleaner
@KritixiLithos Hang on, I'm figuring it out
Does anyone know any Java?
Anonymous
10:17
Nope, literally nobody
I have a problem: so I have a file directory like so:
Anonymous
Nobody learned Java in high school or college
@Mego That's a weird directory layout
src
  - TestPackage
    - builtins
      - Derp.java
    - Main.java
test
  - Test.java
How do I import Derp.java inside builtins from Test.java?
Anonymous
@mınxomaτ That's what you get when you don't learn Java
Anonymous
10:19
@Qwerp-Derp import TestPackage.builtins.Derp;?
Whoops made a mistake
test is meant to be on the same level as src
Anonymous
Well there's your problem
Anonymous
The directory layout should look like this:
Anonymous
TestPackage
  src
    - builtins
      - Derp.java
    - Main.java
  test
    - Test.java
Anonymous
With the packages TestPackage, TestPackage.builtins, and TestPackage.test
10:23
On the same note, is anyone using Rust for linux programming here? I'm a bit confused by the libc binding. On the one hand, Rust sells itself as a systems programming language, but every system call (and everything else in libc for that matter) requires an unsafe {} block. I mean, it works, but it's a bit clunky - there has to be a better way.
@Mego But there's a src there, why is the package still TestPackage.builtins?
Shouldn't it be TestPackage.src.builtins?
Anonymous
@Qwerp-Derp No, src is just the directory where you put your source files (as opposed to bin).
Anonymous
It's not part of the package tree's name because it's implicit
10:48
@Qwerp-Derp Have you already figured out how to run Java with Processing as a library from the command-line?
@KritixiLithos Not yet
11:08
A few years ago I Google'd an error message and the only thing showed was the source code of the program ;_;
11:21
@betseg That's really unlucky
@betseg Thanks for the star
@Fatalize Which star
@betseg The github one
0
Q: Find how many alphanumeric characters that can be made up of a single number

Stewie GriffinThe alphanumeric characters have ASCII-values: 0-9 -> 48-57 A-Z -> 65-90 a-z -> 97-122 Your challenge is to take an integer as input, and output how many characters can be made using consecutive digits of that number. The character codes may be overlapping. 666 should result in 2, since ...

 
1 hour later…
12:25
4
Q: Rational decomposition a = xyz(x+y+z)

orlpWrite functions x(a), y(a) and z(a) such that for any rational a all functions return rational numbers and x(a)*y(a)*z(a)*(x(a) + y(a) + z(a)) == a. You do not need to use rational types or operations in your program, as long as your program is mathematically sound. E.g. if you use a square root...

12:36
CMC: determine if a number is an Achilles number
Interesting class of numbers
@LeakyNun I think you'll like my challenge :)
user165474
I'm trying to make x(a) * y(a) * z(a) = 1
Ruby, longer than desirable: require'prime';->x{d=x.prime_division;d.size>1&&d.all?{|_,n|n>1}}
s/require/load/
@HyperNeutrino I added an example to my challenge for a = 1
user165474
12:51
Alright, thanks.
user165474
Yay I made something cool in Stacked: Try it online!
user165474
What does this do?
user165474
Oh I see.
It took a while to make
user165474
12:55
Nice! I see. That's interesting.
I should comment it to make it fully readable
@MartinEnder Does that come with the design?
Anonymous
@LeakyNun Actually, 20 bytes: w;⌠iX1<⌡Mπ@⌠iX⌡Mg1=*
Anonymous
Translates to "are all exponents greater than 1 and is the GCD of all exponents 1?"
This is the fully readable program with comments:
(* Wraps every item in `list` in an extra list:
 * ( 1 2 3 ) listify => ( ( 1 ) ( 2 ) ( 3 ) ) *)
{ list :
  { i :
    list i get wrap @temp
    list i temp setprop
  } 0 list size 1- for

  list
} @:listify

(* Given two lists, returns the vector product of
 * the two lists.
 *    ( 1 2 ) ( 3 4 ) product
 * => ( ( 1 3 ) ( 1 4 ) ( 2 3 ) ( 2 4 ) ) *)
{ list1 list2 :
  ( ) @prodout

  { i :
    { j :
      list1 i get @templist
      list2 j get @tempel

      prodout templist tempel ++ push
    } 0 list2 size 1- for
Sorry if this seems long
The link is too long to paste here
user165474
Anonymous
You could minify the link via goo.gl
user165474
^ Or that :P
Or you can go here for a prettified version of the code
13:18
0
Q: From Programming Puzzles to Code Golf

programmer5000Your task is to write a program that outputs the exact string "Programming Puzzles" (trailing newline optional), but when it is golfed (all spaces, tabs, and newlines removed) it outputs "Code Golf" (trailing newline optional.) Good luck!

is it a good sign that people repeatedly ask on my challenges whether it's possible at all?
Without looking at it, you might want to include a reasoning why it is possible from the start.
@Downgoat Stop comparing trial division in Perl to calling a prime number sieve in C++
:P
@mınxomaτ I thought they had fixed that?
@mınxomaτ the proofs I'm aware of are constructive
13:26
No, they didn't.
therefore they'd spoil the solution
I assume you don't want to show a proof because it would give away a solution, but your word is not really a proof. — Fatalize 1 min ago
I don't really like this challenge because it's more of a math challenge than a programming challenge
@Fatalize there are infinite solutions
some can be golfed much better than others
it's a very interesting golfing challenge IMO
also if you don't like math challenges you can blacklist the math tag and they will no longer show up for you
@orlp Well, too bad. IMO code golf is about the implementation. Maybe someone comes up with an entirely different solution (however unlikely). If you challenge is only challenging because of it's obscurity (missing information), it's not a very good PPCG challenge IMO.
The point is that finding a solution is a math problem, and golfing it after that is trivial, so really the hard part is finding a soution
13:28
Basically that
I think choosing the right algorithm is more important than the right implementation, and this still holds true for code golf
almost always the shortest answers do something in a clever way
Also are bruteforce methods allowed? I don't know if your post implies that x, y and z should work independently from each other, because you say a single program is allowed
that goes beyond just changing the implementation
@Fatalize what do you mean 'work independently from eachother'
I forgot to disallow bruteforcing though, hold on
Well I can just build a program that looks for x,y,z such that it works in a bruteforce way, and return x,y,z
but I can't get a value for x, y or z from the input without the other ones
@Fatalize that's not true
lets say in Python I have some magical function f(a) that returns x, y, z through whatever means (e.g. it could be bruteforce)
then x = lambda a: f(a)[0], y = lambda a: f(a)[1], z = lambda a: f(a)[2]
13:39
@NathanMerrill it gets unlocked when the top 40 tags have at least 200 questions each
Sure but you still compute y and z to get x
my point is: do you have to be able to compute x independently from y and z (and vice-versa), or is it fine if you always compute the three at the same time
@Fatalize that's fine
user165474
@Martin Wait what is this?
the Generalist badge
user165474
Oh I see.
user165474
13:43
So wait, it's not achievable right now?
correct
user165474
I see. What is the Generalist badge and how does one achieve it once it's unlocked?
score 15 in 20 of those 40 tags
user165474
Oh I see.
user165474
Time to start asking questions ^-^ :D
user165474
13:49

 Contact

For playing the game Contact, where one person tries to "defend"...
user165474
Anyone interested? We need more people for a game.
The rules are in the room
14:10
Is anyone here familiar with Ruby?
Nevermind, I figured out what I needed
user165474
Haha yes I remember that. I was reading through 4xx HTTP status codes and I came across this :P
Anonymous
Anonymous
If you go to it on mobile and tilt your device, the teapot pours
i know that too. also click the teapot, or on mobile...ninja'd
Anonymous
You can also click it but that's boring
14:30
double ninja'ed lol
user165474
ninja'ception
Anonymous
Cross-ninja'd
14:49
@Adnan I was looking at this answer of yours. Why does it get the right answer for [([]{})<{[()<()>]}()>{}], but not for [({})<{[()<()>]}()>{}]. The only thing I changed was removing [] from the input.
Weird, it doesn't work for [({})] either. Try it online!
0
Q: Write a mutating, replicating program

called2voyageThis is a variant on the self-replicating program, defined here as a program that outputs its source (or a quine). Below is an example of a self-replicating program in Python: with open(__file__) as f: print f.read() When run from a file, this script should output itself. Instead of a self-re...

It only infinitely recurses over each replacement string once. Not the whole list of replacements.
Why does it work for that long one then?
[([]{})<{[()<()>]}()>{}]
Check this for example.
14:58
I don't understand that at all
00:00 - 15:0015:00 - 00:00

« first day (2281 days earlier)      last day (2858 days later) »