« first day (1914 days earlier)      last day (2929 days later) » 

4:00 PM
720*45-45+1
720*45 = 2*5*5*8*9*9
59*:*28**
 
@KennyLau: That is the same length as the long version
 
77*:9*:2/*+3/
59*:*28**59*-1+
lol
 
@orlp heading out now, if you've got further questions about it, I think Sp3000 should be able to answer them. :)
 
Er... nope, dunno about that part :P
 
720 = 2*5*8*9
77*:9*:2/*+3/
2589***1-59**1+
@TonHospel what is the same length?
 
4:04 PM
@EasterlyIrk :3
 
2589 720 0
 
@EasterlyIrk later
 
(Kenny, it's nice that you're trying but maybe open up a notepad or text editor or something?)
 
1234 24 8
 
@KennyLau: Your alternative decompositions all seem to end up as length 13 while the version using negative numbers has length 11
 
4:05 PM
I'm interested, is there a challenge that generates sequences like ^^?
 
@Sp3000 ok I'll shut up for now xd
 
btw @TonHospel dunno how easy it is for you to check, but would 0 happen to be necessary for anything? We weren't sure before because it'd have required negative numbers to be useful, but now that we know that negative numbers are useful maybe it might affect something?
 
@Sp3000: I can't imagine 0 being usefull, but it would be an easy check to add (once I hunted down and killed the bug)
 
Yeah, it's hard to imagine either, but just in case...
 
well, @TonHospel what is 32355?
 
4:13 PM
@KennyLau 32355: 19+6*:*5-9*
 
@orlp \o/ Great job.
Time to do formulae.
@Dames do some math
Or is it Emdas?
 
4:26 PM
@Sp3000: Ah, bug found. Now I can do a real check for negative solutions
 
:)
 
@TonHospel Make sure to have non-negative solutions override negative solutions :)
 
@KennyLau: That would force me to track if a temporary result was ever negative . A bit awkward
 
well...
as you like
 
Keeping track of how to construct a number is already terrible. Just stating the length of the solution would more than half my memory usage...
 
4:33 PM
alright
 
Surprisingly, my comp doesn't seem to use as much memory as it does on yours (side note)
 
@Sp3000: Mm, interesting. Probably the int_fast32_t ends up as 64 bits on my computer
I'll check that. Might be able to get to higher values if i make the limits tighter
@Sp3000: Minimum case needing negative numbers is:
30932: 98+::6*5+**9+
30932: 159*-:4*:*+
 
16n^2 - n, interesting...
 
0
A: Sandbox for Proposed Challenges

ZgarbHow compatible are my strings? code-golf string Introduction Consider two strings A and B of the same length, and an integer K ≥ 0. For the purposes of this challenge, we say that the strings are K-compatible, if there exists a string C of length K such that A is a contiguous substring of th...

 
def shl(n, i): return n << i if i > 0 else n >> -i
def rotl(n, i, w): return (shl(n, i%w) ^ shl(n, -(-i%w))) % 2**w

def lab(n):
    n = (n << 1) | 1
    w = n.bit_length()
    e = 0
    p = w - 1
    d = -1
    i = 1

    while True:
        if p == e: return i
        dr = (-1)**bool(n & (1 << p))
        n = rotl(n, dr, w)
        p = (p + dr) % w
        e = (e + dr) % w
        if [d, p] in [[-1, 0], [1, w-1]]:
            d = -d
        p += d
        i += 1
 
4:53 PM
@Sp3000: No number needs 0 as a temporary result at least up to 690382
 
Hmm interesting, thanks for checking
 
I could now also implement reaching numbers by 32-bit overflow...
 
Er... I don't think overflow's part of the spec :P
 
The spec is rather silent on the number range
 
I'd imagine Befunge interpreters to be pretty varied in this respect too, so I wouldn't be surprised
 
4:58 PM
I greatly simplified the labyrinth function
def lab(n):
    n = (n << 1) | 1
    w = n.bit_length()
    p = e = w - 1
    d = -1
    i = 1

    while True:
        if e == 0: return i
        dr = (-1)**bool(n & (1 << e))
        p += dr
        if [d, p] in [[-1, 0], [1, w-1]]: d = -d
        p = (p + d) % w
        e = (e + d) % w
        i += 1
not by reasoning, but by simple substitutions directly in the code that do not affect correctness
 
I come back here every once and a while not to chat, just to get a laugh from the starboard.
8
 
SFGITW'd /o\
 
What does the S stand for in SFGITW?
 
@Rainbolt Second.
 
FRUITW (Fastest Runner-Up In The West)
 
5:27 PM
-1
Q: Can someone translate this assembly to C code?

Jon00000000 < randomfunc>: 0: e92d40f8 push {r3, r4, r5, r6, r7, lr} 4: e1a04000 mov r4, r0 8: e1a05001 mov r5, r1 c: e1a00080 lsl r0, r0, #1 10: e2800001 add r0, r0, #1 14: e2846001 add r6, r4, #1 18: e1a06086 lsl r6, r6, #1 1c: e7913100 ldr r3, [r1, r0, lsl #2] 20: e3530000 cmp r3, #0 24...

 
5:38 PM
sighs
 
Who wants to try the nested programs ...STOP! challenge? :P
 
@zyabin101 "STOP! - pyth, pyke, seriously, 05ab1e, actually. scores 1.
 
@muddyfish 6 / 1 = 6
The program may only cover one language at a time. Either Pyth, Pyke, Seriously or 05AB1E.
 
So...
Write a program that outputs a program rhat outputs a program ...that prints "STOP!"?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Correct.
 
Also,
> rhat
 
thar
 
\o/ I finally returned to nested-programs after 2 months! And improved my score by 0.33.
 
I replied to an old message of your because for some reason I can't ping you otherwise
 
5:58 PM
@orlp Yep, come join us on #chez on freenode. :-D
 
@ChrisJester-Young I'm not a user, I just figured you'd be interested in the open sourcing of Chez :P
 
Phew, that was easily the most detailed explanation I've written for a CJam program...
 
@MartinBüttner Which explanation?
 
@MartinBüttner did you see my simplified Python program for generating the labyrinth numbers?
 
@orlp O_O Which program?
 
6:02 PM
@zyabin101 for Kronecker sum
@orlp yeah, but I haven't tried understanding it yet
 
p = e = w = p = e = w = p = e = w
 
pew pew!
 
@zyabin101 REPL's allowed?
 
6:06 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Nope. Must be full program.
 
@MartinBüttner I didn't make the program by reasoning about behavior, btw
 
@Lembik SiegelTheta bug confirmed
 
I just kept doing substitutions of equivalent code and removing the useless parts
 
@zyabin101:
Jolf: «STOP!
Vitsy: '!POTS«'Z
Foo: "'!POTS«'Z"
JavaScript: alert`"'!POTS«'Z"`
Python 3: print("""alert`"'!POTS«'Z"`""")
(bottom is full program)
 
6:09 PM
I'm going to make an infinite series of languages
I call them cat1, cat2, etc
they all behave like cat
then I can get an arbitrarily high score!
 
You can even make them actual programming languages by making them all work like ///
 
@CᴏɴᴏʀO'Bʀɪᴇɴ what is it?
 
?
 
Congrats @CᴏɴᴏʀO'Bʀɪᴇɴ! With an improvement of 3.47 over @zyabin101's score, you are the current winner of the Nest, nest, nest, ..., STOP!!
 
yay!
I made a pull request
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I'll decline the pull request.
I put in the program already.
 
6:24 PM
@zyabin101 is there a point?
it's pretty much instant for anything
 
@orlp Ah, okay.
 
for example lab(272348592374598237459823745982346928437529348752394758239465293486239485632‌​49856234985629348562394865293) completes instantly
(the answer is 345 btw)
guys
what about hyperdimensional brainfuck
where < and > go to left/right
but ^ and v rotate the world such that you're aligned with an orthogonal direction
 
@orlp Hyperdimensional Brainf**k? :O:O:O:O:
 
I think one of those exists
 
hey @Sp3000
 
we need to find more obscure sequences to put on IOES so we can claim the most sequences generated by a community
 
@zyabin101 Very closely related to codegolf.stackexchange.com/q/68820/42963
 
> OIES
 
Sorry, fixed.
:P
 
6:54 PM
> Old MacDonald had a sequence / O-E-I-S, oh / and on this sequence, he had some pi / O-E-I-S, oh / with a 3.14159265358979323846264338327950288419716939937510...
 
HAI
 
@CᴏɴᴏʀO'Bʀɪᴇɴ #fixfail
 
6:59 PM
Porpoise?
Porpoises are a group of fully aquatic marine mammals, that are sometimes referred to as mereswine, all of which are classified under the family Phocoenidae, parvorder Odontoceti (toothed whales). There are eight extant species of porpoise. They are small toothed whales that are very closely related to oceanic dolphins. The most obvious visible difference between the two groups is that porpoises have shorter beaks and flattened, spade-shaped teeth distinct from the conical teeth of dolphins. Porpoises, and other cetaceans, belong to the clade Cetartiodactyla with even-toed ungulates, and their...
 
No, purpOEIS
 
Where did the starboard go?
 
@AlexA. tried to juic it because it had a avocad on it.
@CᴏɴᴏʀO'Bʀɪᴇɴ how come epicTCK has written a FOG program and posted but you haven't....
 
@CᴏɴᴏʀO'Bʀɪᴇɴ My mistake. I have difficulty with accents sometimes. ;-)
 
7:02 PM
@EasterlyIrk On what?
@TimmyD Naw, that's good. A powershell user can't do anything wrong as far as I'm concerned.
 
Well, then ...
 
^_^
I'm a diehard windows user.
 
2
A: Count up folks!

epicTCKFuzzy-Octo-Guacamole, 8 bytes ^!_[+o;] Explanation: ^ get input to ToS ! set for loop to ToS _ pop [ start for loop + increment ToS (which aparently happens to be 0) o set temp variable to ToS ; print temp variable ] end for loop

 
Oh, that. I upvoted it.
I'm at bloody school, can't use python
 
Did you know that rm * -r is a polyglot in PowerShell and bash?
 
7:05 PM
I did not! Let me run it on my computer :P
 
rm is an alias for Remove-Item, and -r is distinct enough to expand to -Recurse in PowerShell.
 
whoa, that's cool
@EasterlyIrk did you see this?
 
yeha
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Have you seen this?
0
A: Watson-Crick palindromes

swellsJolf, 15 Bytes Try it! =~A_iγ"AGCT"_γi Explanation: _i Reverse the input ~A_iγ"AGCT"_γ DNA swap the reversed input =~A_iγ"AGCT"_γi Check if the new string is the same as the original input

 
7:09 PM
oooo
 
You got beaten by your own language :p
 
@Adnan holy crap, from a user I don't know
 
Pictographic representation of my upcoming nested programs challenge.
 
I wasn't trying to golf it
 
He just started
And his first answer is a Jolf answer
 
7:09 PM
he really just copied mine tho
10$ he doesn't know the lang :(
 
Hahahaha
 
@CᴏɴᴏʀO'Bʀɪᴇɴ He does.
 
Here's another one
 
@CᴏɴᴏʀO'Bʀɪᴇɴ put it on an usb shtick
 
heya
 
7:10 PM
@flawr heya
 
@Adnan wow
I'm touched
 
@flawr Why are you a flaw?
 
:p
 
@Adnan why do I always feel like your name is in reverse?
 
7:13 PM
Nanda
 
Hahahahahaha
 
@orlp I keep telling him to do that with FF, but python is good too.
 
@orlp I am a flaw?
 
@flawr Well, your username says so.
You're a flaw, I'm an orlp.
 
I'm a muddyfish
 
7:15 PM
I'm an unipants.
 
@orlp There is an r at the end.
@zyabin101 Unipants = a dress?
 
an unipants?
 
You can't believe it...
@CᴏɴᴏʀO'Bʀɪᴇɴ bai
 
7:16 PM
how do you pronounce unipants?
 
> My current avatar is Electric Unipants, an unicorn looking like pants and having electric superpowers! Yup, the black suit is his armour.
@muddyfish Yoo-nee-pants
 
@MartinBüttner @Dennis I'm having a problem with retina.tryitonline.net ... I'm trying to embed a literal carriage return (0x0D), but the Base64-encoded code isn't getting copied to the code box correctly for that character. It gets changed into a line feed (0x0A).
 
it's only 'an' if its pronounced like a vowel
 
@mbomb007 You're using the HTTPS protocol in the link.
 
@flawr Well, if slow -> slower, then flaw -> flawer...
 
7:18 PM
@zyabin101 And...?
 
@orlp I would read flawer as a verb rather than a superlative...
 
@mbomb007 Correct link to Retina: http://retina.tryitonline.net/
 
@trichoplax -er is a very dutch thing
 
Hahahaha, true
 
@orlp Just realised superlative is completely the wrong word... oops
 
7:19 PM
@zyabin101 Ok, fine. Doesn't apply to my problem.
 
@orlp English has influences from both Dutch and Latin. I find myself saying er and um a lot.
 
@MartinBüttner @Dennis I'm in the process of creating an improved ASCII to code-point program in Retina: repl.it/CJwV/1
 
@trichoplax er and um both occur in dumber
 
The base64 value changes if you paste into the URL for Tryitonline, then click "Save"
 
coincidence?
 
7:22 PM
ha ha
 
Hahahahhahahahahahaa
 
HHAAAAAAAAAAAAAAAAAHAHHAHHHHHAHAHAHHAAA
 
That made me laugh a bit too hard
 
I guess it's 4.5 times funnier if you're not the subject...
 
True
 
7:24 PM
>>> len("HHAAAAAAAAAAAAAAAAAHAHHAHHHHHAHAHAHHAAA") / len("ha ha")
7.8
 
@mbomb007 Stage configuration cannot contain both ( and )
 
@orlp There's no accounting for how funny it gets when it's your own joke :P
I was just counting Nanda's 9 "ha"s
 
Maybe that should be a PPCG challenge?
 
@El'endiaStarman So, what did you use to make your sprite comics? Just GIMP/Photoshop?
 
count the number of ha's?
e.g. ha is one, but so is hhhha or haaaaaaa
 
7:26 PM
@zyabin101 does it?
 
I have a joke on interactive proofs that's only one panel, I think I'll try that first
 
(h+a+)+
 
I have a joke on UDP, you might not get it though
18
 
What image do you need?
 
@RenderSettings ba dum tsss
 
7:29 PM
 
@zyabin101 You obviously have no idea what's going on. Just let Martin view it.
 
The program just dies with an unhandled exception.
 
@zyabin101 I KNOW. Because the carriage return became a new line!
That line should be part of the previous line!
 
:O
 
You need to view my generating program linked above, written in Python.
 
7:30 PM
@mbomb007 Can't help you with the input conversion there. I think that may be a limitation of the browser, but you'll have to wait until Dennis replies I guess.
can't you generate the string similarly to the alphabet though?
should be much shorter anyway and generalise for arbitrary Unicode ranges
 
Probably. I'm not golfing anything, though.
I'm doing it for fun.
Would it behave better that way?
 
well you wouldn't need a carriage return in the source code
and it would be more useful :P
 
Y'know what's frustrating? Getting better at golfing so that you find yourself posting pretty-well-golfed code, but that means you don't get the satisfaction of editing your post with some strikethrough formatting.
 
Whoa, so many people entered.
 
socks?
 
7:35 PM
@PhiNotPi shoes!
 
@TimmyD I know that feeling :D
 
@TimmyD Record your progress as you go, then make your first post with half a dozen struck out scores
6
 
XD
 
@TimmyD Make sure one of your progress steps has 44 bytes.
 
@trichoplax Hah, I like that.
 
7:37 PM
O_o socks = feet gloves
 
SFRUITW'd //o\\
 
Hello @trichoplax @TimmyD @flawr @Sherlock9 @everyone else... (sorry, I got tired of typing all this)
 
Good evening...
 
@MartinBüttner How do I change this to get it working? This is basically your original 24 byte alphabet program: retina.tryitonline.net/…
 
7:46 PM
Hello @R.Kap
 
Nov 30 '15 at 19:16, by TimmyD
> If you lose a foot, you now have twice as many socks.
 
If you lose a sock, you have twice as many feet.
 
guess you'll want retina.tryitonline.net/… to avoid the escape
 
7:47 PM
@MartinBüttner Ah, forgot about the blank
 
@R.Kap Cut off a foot and you're even again.
 
@mbomb007 also T can't be before {
 
@Sp3000 can i steal a minute of ur precious time ?
 
@MartinBüttner How would that be modified for the entire ASCII range?
Just use a char outside the range as the delimiter?
 
@mbomb007 start here: retina.tryitonline.net/…
then turn a into a null-byte and fix the range and negative character class accordingly
 
7:49 PM
4
A: Home improvement for the Minotaur

R. KapPython 3.5, 703 695 676 648 587 581 542 535 500 486 bytes: def j(r):B=r+r+2;q=[*zip(range(0,B-1,2),range(B-1,0,-2))];L=r+1;A=2+r;print('\n'.join(['| '*w+'+'+'-'*v+'+'+' |'*w for v,w in zip(range(4*L*4-3,0,-4),range(4*L))]+['| '*g+'+'*o+'-'*k+q.strip()+'-'*k+'+'*o+' |'*(g+1)for g,o,k,q in zip([*r...

 
@R.Kap That is a lot of bytes.
 
@flawr Have you looked at the challenge?
 
@R.Kap Once or twice, but I do not really get it.
 
@flawr Oh wait, it's your challenge...-.-
2
 
:D
 
7:52 PM
I tried my best in Python. At least it's not 700 anymore...
@flawr Now it's at 486, just 137 more than the Perl answer!
 
I was thinking of doing some kind of turtle graphic answer.
But I doubt I can get it any shorter.
 
@flawr Turtle graphics? You probably won't be able to get it any shorter than 486...
 
Better yet, program it in turtle graphics on a 486
 
@flawr I honestly think that's the shortest it can possible get in Python.
 
@R.Kap I don't think so, see my comment.
 
7:56 PM
@MartinBüttner What do I do if the base64 encoded version has a / in it?
 
@flawr Yeah, that's a good idea! Thanks! :)
 
> Esperanto
 
@mbomb007 I can't answer these questions, I don't operate TIO.
 
but no Lojban........ :P
 
k
 
7:58 PM
Dennis operates TIO.
 
I know. But Martin is online.
 
Just ping dennis if you need help, he'll get it eventually. Hell, he might be reading this right now, just logged out.
 
@mbomb007 Dennis seems present, too.
 

« first day (1914 days earlier)      last day (2929 days later) »