« first day (1841 days earlier)   

12:07 AM
how do you get a formula for this? i.imgur.com/XYgxN7D.png
that's the abacaba pattern
0s:  1 121 1213121 121312141213121 1213121412131215121312141213121
@somebody For the binary search question?
I can't think of anything shorter than on the answers already there.
a_1 = "1"
a_n = a_n-1 + n + a_n-1
wait what?
12:12 AM
where a₀ is the empty string
shoot I messed that up
@somebody Concatenation, not addition.
imagine the -1 with the n :P
my chat bugged out
oh well, I'm back
58 1073741822
59 120
12:14 AM
@Doorknob Do you know a better character than * for this?
@orlp I'm guessing that for n=60 the outcome is 2147483646
A: Sandbox for Proposed Challenges

Thomas KwaHow many buildings can I see? I'm at position (0, 0) of an infinite city, which is perfectly divided into blocks centered at each lattice point, some of which contain buildings. A building at a certain point (x, y) takes up the entire square from (x-.5, y-.5) to (x+.5, y+.5), inclusive. A build...

But I'm not sure about that
who wants to have a bit of fun?
12:18 AM
depending on what you mean by fun
python3 -m pip install --user pyglet
curl -s https://gist.githubusercontent.com/orlp/f32d158130259cbae0b0/raw/af4eb41c03d42a1‌​964e621890884d1455ef7866f/gistfile1.txt | python3
press -/+ as well
invalid syntax at doctype html?
hrm, for some reason when I copy paste the command from the chat it screws with the url
'Not Found' when opened
those two
should be identical
why does the chat botch the latter link?
@somebody oh well, use the blue link that I just wrote - that should work
12:22 AM
does it show the result?
curl -s -L https://goo.gl/Fa0XX4 | python3
there, that should also work
@somebody it opens an opengl application running an animation :)
did you do python3 -m pip install --user pyglet ?
but it doesn't show result? :(
I'm making a golfing language, name suggestions?
what kind of golfing language?
@somebody just a general purpose golfing language, it's syntax is mostly digits...
12:25 AM
Call it "Perl (+1 for -p)"
It's the best name and I want someone to use it
@Downgoat Figura?
@somebody I don't know, works here
@AlexA. What's the status on cs? I'm on mobile so can't see steam group chat
i know
@Adnan hm... that's a good name
12:29 AM
mostly digits? can you give an example program?
or maybe how it works
@somebody 71631 would be an example of a program
@Doorknob you here?
Call it 24601
was only 5 kills away from 40 bomb :(
@undergroundmonorail I don't think very many people will get the reference
12:37 AM
@Downgoat how short will it be?
comparable to Pyth/CJam/Jelly/MATL?
@somebody very short. Programs will be (hopefully) only arounds 5 characters
maybe you could call it Decimate?
@somebody that's good too...
you could (maybe) start a thread or something?
what about Putt?
12:41 AM
maybe Digital? Myriad (for 10000)?
@Dennis Whenever you can please give MATL a pull
@Downgoat only around 5 characters with only digits??
@LuisMendo hopefully
12:45 AM
@Downgoat meaning it's shorter than Jelly with 25x fewer chars?
Why Figura?
Adnan's suggestion
also, why not?
@LuisMendo I thought it was number in Latin
But I don't know if that is true
@somebody yeah, the goal of the language is to have a smarter interpreter so the interpreter can "figure out" what the source code wants to do
@Adnan nope, shape in latin, figure in spanish
12:47 AM
Oh, I see. Not sure about Latin. But in Spanish "Figura" means something else ("figure" as in picture, not as in digit)
@LuisMendo Pulled.
@Dennis Your promptness amazes me. Thanks!!
@somebody Yeah, I translated from Dutch, and that probably gives me a lot of trouble :p
@orlp Insane difference in magnitude.
how is Putt winning? D:
12:49 AM
@Adnan correct
60 2147483646
61 124
62 126
63 1
64 126
65 124
@Downgoat Let me guess, you're conserving entropy by being some of the way to enumerating all possible likely programs?
even Ace/Albatross/Eagle is better: en.wikipedia.org/wiki/Glossary_of_golf
Can someone link to the "requirements for a language" meta post, I can't find it
@El'endiaStarman even bigger difference in magnitude
@El'endiaStarman did you try out my animation?
@Downgoat why isn't your mom on this list? oh, right, golfing languages.
12:51 AM
I wonder when the next oddball will be...
@orlp Mmm? Where?
A: What are programming languages?

Peter TaylorMy previous answer was criticised for not drawing a line in a sand, so following some discussion on chat I propose a line. Executive Summary A purported programming language should be accepted as such if and only if it is capable of addition of natural numbers and primality testing of natural n...

Oh, was that the code you posted earlier?
python3 -m pip install --user pyglet
curl -s -L goo.gl/Fa0XX4 | python3
@somebody :D thanks
12:53 AM
@El'endiaStarman run those two lines and enjoy (you can press +/-)
@El'endiaStarman note: that's just an animation
I can't understand a word but I love it.
@orlp zomg :D
Huh, look at the animation for n=19. Makes me think it should have the same period as n=15.
Anyone know why this doesn't work? The if statement seems to be erroring...
what error?
No, of course it doesn't. n=15 kills every pattern.
1:05 AM
@El'endiaStarman n = 15 dies out for me
@somebody nevermind, it was indentation
@Downgoat Move the else statement back a bit. ;P
for the else?
Yeah, still, n=19 looks like it's a superset of a smaller pattern.
weird, my interpreter is auto-indenting the else: to that position, am I doing something wrong?
1:05 AM
2 hours ago, by orlp
0 1
1 1
2 2
3 1
4 6
5 4
6 14
7 1
8 14
9 12
10 62
11 8
12 126
13 28
14 30
15 1
16 30
17 28
18 1022
19 24
20 126
21 124
22 4094
23 16
24 2046
25 252
26 1022
27 56
28 32766
29 60
30 62
31 1
32 62
33 60
34 8190
35 56
36 174762
37 2044
38 8190
39 48
40 2046
41 252
42 254
43 248
44 8190
45 8188
those are all the numbers I have so far
awesome :D
I shall be submitting this to the OEIS.
@El'endiaStarman Waddat?
A: Sandbox for Proposed Challenges

El'endia StarmanElectrons bouncing in a wire Imagine a "wire" that has n spaces. Imagine further that there are "electrons" in that wire. These electrons only live for one unit of time. Any spaces in the wire that are adjacent to exactly one electron become an electron. In Game of Life terminology, this is B1/S...

@orlp Speaking of which, it's fun to watch any single starting seed die out on n=63. :P
1:14 AM
@El'endiaStarman \o/
@Mego Say operator [ begins capturing an array, and ] ends it. Is that still a literal?
@El'endiaStarman nope. the all alive one was especially boring ;)
haha :P
having horizontal torodial on is interesting
Huh, didn't think to investigate that.
Now that I've tried a few, I conclude they're nowhere near as interesting as the non-toroidal version. :P
That said, there might be a worthy sequence too.
Yeah, they all have a similarly short lifespan
1:24 AM
Short period, rather.
And if it were unbounded, that wouldn't be terribly interesting because that's equivalent to the CA that produces Sierpinski's triangle.
Ah, right
I added a ggg to it and it was very interesting, though it didn't last long.
Gosper Glider Gun
The permalink is too long ._.
1:29 AM
hehe, use goo.gl
You need to make a more efficient permalink syntax...
The permalink has (almost) all of the information on the page.
I honesty cried a little when I saw the 10 questions per day. That was awkward. That says something about my obsession with this site...
@El'endiaStarman Still, I feel like it could be shorter
1:30 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Hahaha, destroyed the glider gun. :P
@GamrCorps I get you :)
@El'endiaStarman yup!
Add a live cell translate function please
@AlexA. So is the CS thing happening or not happening
How do you mean?
Specify the vertices of a box, and a translate factor (x,y) to shift the area of live cells.
1:32 AM
I don't like manually moving the gun :P
Honestly, I'd like to be done with this project.
Like, stop working on it. The render-to-gif feature was the last one I really wanted to put in.
You don't have to, I'll just end up writing an extension for it ^_^
Feel free. :)
Is the code for it in GitHub?
@quartata Hmm. I don't think so.
Lemme make a repo real quick.
All you need is the HTML and JavaScript, right?
The render-to-gif button wouldn't work though.
Or rather, I can just take it out once it's on GitHub.
1:35 AM
Yup, really just the javascript stuff.
@quartata Happening?
Did you get the router stuff working?
If not we can try on an empty pub
I'm still confused on what router stuff I need to get working.
@El'endiaStarman @Cyoce @Quill @Roujo @quintopia
@AlexA. You need to figure out how to configure your router's firewall thing
Or whatever your gateway's firewall is
1:42 AM
It has a firewall I think
@El'endiaStarman thanks!
@AlexA. k
Looks like we don't have quite enough people with CSS yet.
We'll have to throw in some bots.
( ͡° ͜ʖ ͡°)
Does python have something like JavaScript's parseInt?
1:45 AM
@quartata what?
We're organizing a Counter-Strike game.
But we don't have 10 players I don't think so we'll need to have some bots.
1:45 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ I was wondering how long it would take for you to say something like that... :P
@El'endiaStarman I was working on object-ing my extension until just now :P
@CᴏɴᴏʀO'Bʀɪᴇɴ I like how you still lowercased the j.
@Downgoat use a unary or Number instead of parseInt
@VoteToClose I am better than jQuery and respect its initial capitalization. o^o
@quartata thou summonist me?
1:47 AM
ye prepare yourself
@VoteToClose Good spot. :P
@quartata I'll be on in a bit. Gonna finish this OEIS submission.
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah, haven't implemented that.
okai I'll work on it then
Not sure if I will, though I kinda want to.
1:49 AM
I literally just went out (lennyface)
I'll get on csgo if you need another person, but I suck
This is CS:S
let me see if I have that
oh wait I have to reboot on windows....
@El'endiaStarman glslsandbox.com/e#20527.10
hardcore forking:
1:50 AM
when sierpinski meets floating point
@orlp woooooaaaaahhhh....
@CᴏɴᴏʀO'Bʀɪᴇɴ character
You mean the J, not the Q
1:52 AM
What's the shortest way to chunk a string in python?
@Downgoat chunk?
@El'endiaStarman glslsandbox.com/e#30800.0
try changing P and Q
@Quill split a string into (1-N) sized pieces
I'm happy that there are generous, professional programmers on this website, whose aim is to help others. Instead of poking fun at the askers, or looking for their ponies. Thanks Jon. — Delphi.Boy Sep 6 '13 at 13:22
i cri 10/10
@Quill *initial uncapitalization then
@orlp I love it.
1:55 AM
D: cjam uses mercurial
@Downgoat I think this will work (untested): [s[i:i+k] for i in range(0,len(s),k)]
@El'endiaStarman sweet, thanks!
@El'endiaStarman but seriously
mess around with P and Q
I am.
Woah, check out P=1 and Q=50.
@CᴏɴᴏʀO'Bʀɪᴇɴ it's okay, buddy <3
@El'endiaStarman it's modular floating point sierpinski :)
@Quill <3 my first mention on twitter.
Maybe I should get twitter ¯\_(ツ)_/¯
plus something weird with Q
@orlp I really wish I had a lot more screen space.
Get moar screens
2:00 AM
All the screens
Moved the tab to the second monitor. :P
P = 0.95, Q = 400
can you even triforce?
@CᴏɴᴏʀO'Bʀɪᴇɴ it's good, there's lots of may mays on there
@orlp /\/\
@Quill "may mays"? o-o
2:01 AM
@El'endiaStarman look at the top left
@El'endiaStarman you see "2" right next to "hide code"?
put that to 1
Q: How to score adding a Perl library on the command line?

CJ DennisI know the Perl -p flag is counted as one byte. I've just added the Perl bignum library to my answer to make it shorter. I'm using it like this: perl -p -Mbignum filename.pl. How many bytes does it count as?

Oh that's wonderful.
@CᴏɴᴏʀO'Bʀɪᴇɴ knowyourmeme.com/memes/maymay
Might be of interest to you
2:03 AM
@Quill oh, lol
wait what
that's a downscale
@Sp3000 ?
Just pre-emptively, in case your golfing language is what I think it is
Does it count if the interpreter does it?
OK so we've found the CS:S pub server that we'll use (I think).
@Quill @quintopia @El'endiaStarman @Roujo @Cyoce
2:06 AM
ugh whatever
my machine is not co-operating
You can join by typing connect in your console or hitting join game on my thingy
are you guys golfing CS:S?
(And any suggestions on the post?)
Could someone clue me in on how you could accidentally write an algorithm that selects the first folder in / and deletes it?
2:08 AM
@Downgoat Even if it doesn't (I'd argue it would), it would still be invalid since the dependency that allows it to solve the problem wouldn't have existed before the challenge was posted
@Sp3000 What if the dependency does exist before the challenge was posted?
Hard to tell what you mean without knowing how your interpreter works exactly
@Sp3000 My first idea was doing an OEIS lookup
Q: Optimal compression for a large base 10 number contained in a string

Cᴏɴᴏʀ O'BʀɪᴇɴI am writing compression and decompression functions for strings containing base 10 digits. I figure that, since it is a mere 10 characters being acted upon, that there exists a much smaller string that can represent large strings. The compressed result is encoded in ISO-8859-7, so I can use 256 ...

Javascript doesn't have any bignum library you can use for manipulation?
2:15 AM
finally done: https://github.com/somebody1234/Digital-Golf-Course
i've probably left out half though
@Geobits I've made a very fast one but it's incomplete
For the record, I'm asking for Conor, not myself >_>
restart css I guess
@AlexA. You stare long enough into the abyss...it stares back.
2:20 AM
... O_O
@Downgoat Hmm not what I thought you were doing, that makes things a bit tricky to answer. Personally I'd still argue that it outsources the real answer, but I'll have a think about it and get back to you later.

Marky lives in southern Germany

4 mins ago, 3 minutes total – 21 messages, 2 users, 0 stars

Bookmarked 24 secs ago by Calvin's Hobbies

(cc @MartinBüttner)
I blame Martin's 40k+ chat messages for that :D
Let me guess, he's from Germany but lives in the UK, right?

« first day (1841 days earlier)